March 14, 2016 By Security Intelligence Staff 3 min read

Authored by George Boulos.

What You Need to Know

Recently, a new ransomware has been discovered. Called Locky, the malware encrypts data using AES encryption and then demands 0.5 to 1 bitcoin ($210–$420) to decrypt files.

To better understand why these kinds of attacks are on the rise, you should take a closer look at the financial return for cybercriminals. It was estimated that around 250,000 to 300,000 infections happened in the first three days of this campaign. With a 10 percent payout rate, ROI for an attacker can be conservatively estimated at $500,000. Even if you stress-test the ROI model, it seems to be a good investment for the criminal side.

How to Get Infected

Like recent ransomware attacks, Locky’s reach goes beyond the infected user desktop. It contains code to spread across network drives, allowing the potential impact to extend into an enterprise’s shared files outside of individual desktops.

Let’s take a closer look at how to defend against these attacks. A good starting place is the attack chain.

Locky is currently being distributed via a phishing email that contains Word document attachments with malicious macros. According to BleepingComputer, the email message will contain a subject similar to “ATTN: Invoice X-XXX” and a message with verbiage like, “Please see the attached invoice (Microsoft Word Document) and remit payment according to the terms listed at the bottom.”

Follow these steps and you might end up with a payment demand from a cybercriminal!

Is Locky an Exploit Attack?

The attacker is not exploiting a vulnerability in the system but rather exploiting human curiosity. Macros are disabled by default, so when the document is opened, the text will be scrambled and Word will provide a security warning message with the option to enable the macros. Once the victim enables the macros, it will download Locky from a remote server.

Locky comes with a hard-coded command-and-control (C&C) IP address that it uses for its encryption key exchange and reporting infection. It also uses a domain generation algorithm as part of its C&C infrastructure.


Source :
X-Force Exchange

Locky will then scan all local drives and unmapped network shares for data files to encrypt. To ensure success, Locky will also delete all the shadow volume copies on the computer so they cannot be used to restore files.

The last step here will be the ransom notes called _Locky_recover_instructions.txt. This ransom note contains information about what happened to the victim’s files and links to the decrypter page as well as a personal identification number for the victim.

The team behind Locky ensured that victims received all required details to make the payment, including how to purchase bitcoins and where to send payment. Once a victim sends payment, the attacker will provide information on how to decrypt the files.

What Can Be Done to Disrupt This Attack?

An educated user would think twice before allowing the macro to run. However, curiosity may have gotten the best of some to join the victims’ club, though in some cases, the shell script run by the macro to download the malware can be interpreted by security software as a malicious action, thus preventing the infection.

Furthermore, we can look at the communication aspect of the malware behavior in the attack chain to prevent said communication, block encryption key exchanges and prevent the malware from obtaining victim-specific keys to start the encryption process. While other options to eliminate or minimize the impact of such attacks may be viable, as well, we cannot stress enough the value of having a strong backup strategy to ensure damage is limited when all other options fail.

Locky and many other ransomware attacks have been on the rise. The immediate financial return is too good for cybercriminals to ignore. There is no reason not to expect an increase in numbers and sophistication — all emphasizing the value of including prevention strategies in your endpoint security.

More from

FYSA — VMware Critical Vulnerabilities Patched

< 1 min read - SummaryBroadcom has released a security bulletin, VMSA-2025-0004, addressing and remediating three vulnerabilities that, if exploited, could lead to system compromise. Products affected include vCenter Server, vRealize Operations Manager, and vCloud Director.Threat TopographyThreat Type: Critical VulnerabilitiesIndustry: VirtualizationGeolocation: GlobalOverviewX-Force Incident Command is monitoring activity surrounding Broadcom’s Security Bulletin (VMSA-2025-0004) for three potentially critical vulnerabilities in VMware products. These vulnerabilities, identified as CVE-2025-22224, CVE-2025-22225, and CVE-2025-22226, have reportedly been exploited in attacks. X-Force has not been able to validate those claims. The vulnerabilities…

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today