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

What we can learn from the best collegiate cyber defenders

3 min read - This year marked the 19th season of the National Collegiate Cyber Defense Competition (NCCDC). For those unfamiliar, CCDC is a competition that puts student teams in charge of managing IT for a fictitious company as the network is undergoing a fundamental transformation. This year the challenge involved a common scenario: a merger. Ten finalist teams were tasked with managing IT infrastructure during this migrational period and, as an added bonus, the networks were simultaneously attacked by a group of red…

A spotlight on Akira ransomware from X-Force Incident Response and Threat Intelligence

7 min read - This article was made possible thanks to contributions from Aaron Gdanski.IBM X-Force Incident Response and Threat Intelligence teams have investigated several Akira ransomware attacks since this threat actor group emerged in March 2023. This blog will share X-Force’s unique perspective on Akira gained while observing the threat actors behind this ransomware, including commands used to deploy the ransomware, active exploitation of CVE-2023-20269 and analysis of the ransomware binary.The Akira ransomware group has gained notoriety in the current cybersecurity landscape, underscored…

New proposed federal data privacy law suggests big changes

3 min read - After years of work and unsuccessful attempts at legislation, a draft of a federal data privacy law was recently released. The United States House Committee on Energy and Commerce released the American Privacy Rights Act on April 7, 2024. Several issues stood in the way of passing legislation in the past, such as whether states could issue tougher rules and if individuals could sue companies for privacy violations. With the American Privacy Rights Act of 2024, the U.S. government established…

Topic updates

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