Locky
- Type
- Ransomware
- Capabilities
- ExtortionDefense evasion
- Delivery
- PhishingMalspamLanding pageExploit kit
- Platforms
- Windows
Locky is a file-encrypting ransomware family targeting Windows systems, widely distributed through large-scale malicious email campaigns from 2016 onward. It encrypts victim files, changes their names and extensions, and presents ransom instructions demanding cryptocurrency payment for decryption. Variants include Zepto, Osiris, and a version distinguished by the Lukitus extension. Observed versions attempt to delete Windows Volume Shadow Copies to impede recovery; the Lukitus variant also deletes its downloaded executable after encryption and directs victims to a Tor-hosted payment service.
Locky delivery chains include phishing links to ransomware-serving pages, malicious Office attachments, and compressed archives containing JavaScript downloaders. An October 2017 campaign used a Word document abusing Dynamic Data Exchange to launch PowerShell and install QtLoader, which subsequently delivered Locky. Locky has also been distributed through exploit kits, including campaigns exploiting the Adobe Flash Player vulnerability CVE-2016-1019. The family uses a domain generation algorithm to support its infrastructure communications.
Locky is associated with financially motivated TA505 campaigns and distribution through the Necurs spam botnet. Attackers have used shared botnet infrastructure and similar downloader techniques to distribute both Locky and the Dridex banking trojan, sometimes simultaneously. These distribution relationships do not make Dridex's credential-stealing capabilities features of Locky.
Associated vulnerabilities
5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
TA505 has used a wide variety of ransomware, such as Clop, Locky, Jaff, Bart, Philadelphia, and GlobeImposter, to encrypt victim files and demand a ransom payment.
Attackers also use the same botnets to deliver both Dridex and Locky ransomware, sometimes simultaneously.
A cybercriminal gang have been arrested for spreading the Locky ransomware among hospitals... They used “social engineering by sending a malicious executable application, from the ‘Locky’ or ‘BadRabbit’ (computer virus) families, hidden in an e-mail...”
If this check failed, Locky would be served instead... Thus, we expect to see a different download location and likely a Locky payload.
...as well as several ransomware strains including Locky, BitPaymer, Philadelphia, GlobeImposter, and Jaff on their targets' computers...
Techniques & procedures
28 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
We also see 1-click exploit used in malvertising (malicious ads) mostly by cyber crime/FIN actors. In the scenario where 1-click exploits are integrated into a chain of redirects like we see everyday in malicious advertising attack
The Necurs botnet is the largest spam botnet in the world... Talos recently identified a significant increase in the amount of spam emails originating from the Necurs botnet.
Initial Access
3 techniques
Initial Access
本マルウェアはメールに添付される形で配布されており、メールの差出人アドレスは企業ドメインであり社員を装っています。
不審メールにはWordファイルが添付されており…最終的にランサムウェア「Locky」を感染させる不正ファイルが添付されたメールであることがわかりました。
Attachment and hyperlink names vary from random sets of numbers or imitation automatic filenames from scanners to filenames purporting to reference financial records.
Execution
6 techniques
Execution
These messages will usually come with an attached Microsoft Office file or a ZIP attachment, which both contain malicious scripts.
Ces pièces jointes pouvaient notamment être des archives zip ou 7zip contenant des scripts VBS ou Javascript à faire exécuter par ses victimes.
Ces pièces jointes pouvaient notamment être des archives zip ou 7zip contenant des scripts VBS ou Javascript... Ce dernier redirige la victime vers une URL d’un site légitime mais compromis.
It therefore distributed bugged Office documents via the DDE mechanism less than a month after the potential abuse of this feature became common knowledge.
This initial ZIP file contains another ZIP file, which in turns contains an EXE file that runs Locky when executed.
The e-mail body may contain no text at all... relying on the subject line and victim curiosity to coerce the opening of the malicious file.
Privilege Escalation
3 techniques
Privilege Escalation
Process injection is a widespread defense evasion technique employed often within malware and fileless adversary tradecraft, and entails running custom code within the address space of another process.
HOOK INJECTION VIA SETWINDOWSHOOKEX... Malware can leverage hooking functionality to have their malicious DLL loaded upon an event getting triggered in a specific thread.
All of the exploits that we found related to this actor were 1-Day exploits for Local Privilege Escalation (LPE) vulnerabilities in Windows.
Stealth
7 techniques
Stealth
In addition to the use of Rockloader, threat actors distributing Locky have been using an array of obfuscation techniques... Increasingly convoluted JavaScript obfuscation... The specific JavaScript that downloads Locky uses obfuscation techniques including character substitution, string concatenation, dead code, integer to character conversion, and other tricks.
Although it tries to pass off as Locky in its ransom note, PyLocky is unrelated to Locky.
Process injection is a widespread defense evasion technique employed often within malware and fileless adversary tradecraft, and entails running custom code within the address space of another process.
HOOK INJECTION VIA SETWINDOWSHOOKEX... Malware can leverage hooking functionality to have their malicious DLL loaded upon an event getting triggered in a specific thread.
this Locky version also added some anti-debugging protections that prevent the ransomware from running in virtual machines and other debug environments
"...detection-avoiding techniques, such as detecting whether it is running within a virtual machine..."
this Locky version also added some anti-debugging protections that prevent the ransomware from running in virtual machines and other debug environments
Credential Access
1 technique
Credential Access
HOOK INJECTION VIA SETWINDOWSHOOKEX Hooking is a technique used to intercept function calls. Malware can leverage hooking functionality to have their malicious DLL loaded upon an event getting triggered in a specific thread.
Discovery
4 techniques
Discovery
this Locky version also added some anti-debugging protections that prevent the ransomware from running in virtual machines and other debug environments
"...detection-avoiding techniques, such as detecting whether it is running within a virtual machine..."
This new downloader is responsible for loading the final payload, either Locky or Trickbot, again based on GeoIP.
this Locky version also added some anti-debugging protections that prevent the ransomware from running in virtual machines and other debug environments
Collection
2 techniques
Collection
HOOK INJECTION VIA SETWINDOWSHOOKEX Hooking is a technique used to intercept function calls. Malware can leverage hooking functionality to have their malicious DLL loaded upon an event getting triggered in a specific thread.
The malware is being transmitted via email using an .exe file encapsulated within two compressed .zip archives.
Command and Control
4 techniques
Command and Control
接続試行に問題がないと判断すると、「svchost.exe」は以下のドメインに接続します。
接続可能ないずれかのURLからダウンロードされたファイルは「rekakva32.exe」として一時領域へ保存され実行されます。
Locky DGA C2s (20th/21st June - DGA seed 65123)
README.md ... Domain Generation Algorithms (DGAs) of Malware reimplemented in Python.
Impact
2 techniques
Impact
Once downloaded and active, Dridex has a wide range of capabilities, from downloading additional software to establishing a virtual network to deletion of files.
Tracking Ransomware End-to-end Cerber Locky WannaCryptor
Observables
109 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
107 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.