Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Researchers Build Configuration Extractor for Locky Ransomware

Researchers from Cisco Talos have created a new tool that allows users to extract the configuration of the Locky ransomware.

Researchers from Cisco Talos have created a new tool that allows users to extract the configuration of the Locky ransomware.

Dubbed LockyDump, the open source utility comes with support for all known Locky variants (those using the .locky, .zepto and .odin extensions). With the help of the tool, researchers can run Locky samples in virtualized environments and dump the configuration parameters for it, including the AffilID associated with the sample.

First seen in February this year, Locky has become one of the most active ransomware families out there, thanks mainly to frequent switching between different types of malicious attachments in spam emails. Cybercriminals have used Office documents with malicious macros, JavaScript attachments, Windows Script Files (WSF), and even DLLs to avoid detection.

According to the security researchers, the data that can be extracted with this tool includes the Affiliate ID in the Locky binary; the seed value that relies on a Domain Generation Algorithm (DGA) for command and control (C&C) communication; and the flags used to save on the infected machine, achieve persistence, or terminate the process on systems using the Russian language pack.

Moreover, LockyDump can be used to extract the URI path used to send requests to the C&C server; the hardcoded IPs of C&C used to retrieve DGA information; the RSA key used for encryption, along with its size and prime number; the ransom note displayed after encryption; and the ransom payment gateway address (which are located on the Tor network).

“Obtaining the affiliate information for individual samples allows the historical tracking of Locky affiliates to identify trends and other characteristics on an individual affiliate basis such as their primary distribution method of choice e.g. through the use of Exploit Kits (EKs) or spam/phishing email,” Talos security researchers explain.

Because Locky has been distributed as both Win32 executables and DLLs, LockyDump has been designed to use two separate analysis methods. Built as a PE32 Windows binary application that requires the execution of the malware for a successful extraction process, the tool is limited to Windows systems and only to those that can be compromised by Locky, Talos explains.

The tool can be set to extract the Verbose Output and Locky Unpacking from the Locky sample, and these options can be configured using Windows environment variables prior to the execution of LockyDump. The first option will print the ransom note image and ransom note HTML to stdout, while the second saves the unpacked Locky file as DUMPED_IMAGE.DLL in the current working directory.

Advertisement. Scroll to continue reading.

Cisco Talos researchers highly recommend the use of a virtualized environment when running both Locky and LockyDump for the extraction of the configuration information from memory. The extractor, which is available via GitHub, is executed via command line, and the optional features can be set using command line as well.

“The release of this tool coincides with a large downturn in spam-based Locky distribution that we have observed over the last week. With this in mind be aware that the ever evolving Locky could come back sooner or later with a different method of configuration inclusion which would potentially prevent this tool from working. In that instance we will aim to release an updated version that can continue to operate correctly and as intended,” Talos concludes.

Related: Locky Ransomware Switches to DLLs for Distribution

Related: Locky Ransomware Drops Offline Mode

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.