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

Hive0137 and AI-supplemented malware distribution

12 min read - IBM X-Force tracks dozens of threat actor groups. One group in particular, tracked by X-Force as Hive0137, has been a highly active malware distributor since at least October 2023. Nominated by X-Force as having the “Most Complex Infection Chain” in a campaign in 2023, Hive0137 campaigns deliver DarkGate, NetSupport, T34-Loader and Pikabot malware payloads, some of which are likely used for initial access in ransomware attacks. The crypters used in the infection chains also suggest a close relationship with former…

Unveiling the latest banking trojan threats in LATAM

9 min read - This post was made possible through the research contributions of Amir Gendler.In our most recent research in the Latin American (LATAM) region, we at IBM Security Lab have observed a surge in campaigns linked with malicious Chrome extensions. These campaigns primarily target Latin America, with a particular emphasis on its financial institutions.In this blog post, we’ll shed light on the group responsible for disseminating this campaign. We’ll delve into the method of web injects and Man in the Browser, and…

Crisis communication: What NOT to do

4 min read - Read the 1st blog in this series, Cybersecurity crisis communication: What to doWhen an organization experiences a cyberattack, tensions are high, customers are concerned and the business is typically not operating at full capacity. Every move you make at this point makes a difference to your company’s future, and even a seemingly small mistake can cause permanent reputational damage.Because of the stress and many moving parts that are involved, businesses often fall short when it comes to communication in a crisis.…

Topic updates

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