Maze Ransomware
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
51 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
the attackers created a fake Abra cryptocurrency site to buy ad network traffic which was later used to redirect visitors to the exploit kit landing page under certain conditions.
"Most recently, the malvertising-based Fallout exploit kit chain has been used to deliver instances of Maze ransomware"
Initial Access
7 techniques
Initial Access
Weak RDP credentials on machines accessible from the internet also pose a threat as the operators of Maze may use this flaw as well.
Past Maze infections have been traced back to exploit kits, unsecured remote desktop connections, impersonation emails and compromised email accounts via malicious Word documents.
The distribution tactic of the Maze ransomware initially involved infections via exploit kits (namely, Fallout EK and Spelevo EK), as well as via spam with malicious attachments.
Maze tends to use known vulnerabilities like the Pulse VPN CVE-2019-11510 to break in
Maze Ransomware usually deploy phishing emails with MS Office attachments and fake/phishing websites laced with Exploit Kits.
Maze Ransomware usually deploy phishing emails with MS Office attachments
The threat actor group APT28 leverages TTPs like obfuscated files or information, PowerShell, exploitation of remote services for lateral movement, credential stealing through spear-phishing links
Execution
6 techniques
Execution
For the first two attempts, the Maze attacker attempted to launch various ransomware executables using scheduled tasks named 'Windows Update Security,' or 'Windows Update Security Patches,' or 'Google Chrome Security Update.'
The threat actor group APT28 leverages TTPs like obfuscated files or information, PowerShell
Once the virtual machine was started... a batch file called startup_vrun.bat batch file would be executed that preps the machine with the Maze executables.
If they fall for it, the malicious macro contained inside the document will execute, which in turn will result in the victim’s PC being infected with Maze ransomware.
Past Maze infections have been traced back to exploit kits, unsecured remote desktop connections, impersonation emails and compromised email accounts via malicious Word documents.
compromised email accounts via malicious Word documents
Persistence
4 techniques
Persistence
For the first two attempts, the Maze attacker attempted to launch various ransomware executables using scheduled tasks named 'Windows Update Security,' or 'Windows Update Security Patches,' or 'Google Chrome Security Update.'
Weak RDP credentials on machines accessible from the internet also pose a threat as the operators of Maze may use this flaw as well.
Past Maze infections have been traced back to exploit kits, unsecured remote desktop connections, impersonation emails and compromised email accounts via malicious Word documents.
The Maze binary creates persistence by adding itself to Windows’ autorun registry.
Privilege Escalation
5 techniques
Privilege Escalation
For the first two attempts, the Maze attacker attempted to launch various ransomware executables using scheduled tasks named 'Windows Update Security,' or 'Windows Update Security Patches,' or 'Google Chrome Security Update.'
The IP addresses <Details Masked> mentioned in Cognizant attack vector was seen exploiting two old vulnerabilities CVE-2016-7255 and CVE-2018-8453. Both these Win32k Elevations of Privilege Vulnerabilities
Weak RDP credentials on machines accessible from the internet also pose a threat as the operators of Maze may use this flaw as well.
The Maze binary creates persistence by adding itself to Windows’ autorun registry.
once admin privileges are achieved the groups exfiltrates information and deploy the maze ransomware
Stealth
12 techniques
Stealth
The threat actor group APT28 leverages TTPs like obfuscated files or information
The Maze ransomware is typically distributed as a PE binary (EXE or DLL depending on the specific scenario) which is developed in C/C++ and obfuscated by a custom protector.
Necessary API names are hashed, and compared with the hash of the DLL function names, then the matched functions are resolved dynamically with the usual LoadLibrary and GetProcAddress functions.
These email spoofs are notable for using convincing stolen branding and lookalike domains of European taxation agencies and other public-facing entities such as Internet service providers. Most recently, the actor has attacked US organizations spoofing the United States Postal Service.
Of particular note is the use of stolen branding as well as the use of lookalike .icu domains used for the sender email address in order to craft effective lures.
To counter dynamic analysis, this Trojan will also terminate processes typically used by researchers, e.g. procmon, procexp, ida, x32dbg, etc.
As with most ransomware, it deletes shadow copies with the Windows Management Instrumentation command line utility WMIC.exe.
Weak RDP credentials on machines accessible from the internet also pose a threat as the operators of Maze may use this flaw as well.
In their third attack, Maze deployed an MSI file that installed the VirtualBox VM software on the server along with a customized Windows 7 virtual machine.
The Maze ransomware operators have adopted a tactic previously used by the Ragnar Locker gang; to encrypt a computer from within a virtual machine.
The code enumerates the running processes present, checks processes’ names against the hashed list, and terminates itself if any are detected.
Aside from the obfuscation, the Maze main binary’s authors applied a number of anti-analysis techniques to the malware. It checks debugging environment in multiple ways. In addition to using the IsDebuggerPresent API and PEB.BeingDebuggedFlag check...
Credential Access
1 technique
Credential Access
During these stages, the use of the following tools has been observed: mimikatz, procdump, Cobalt Strike, Advanced IP Scanner, Bloodhound, PowerSploit, and others.
Discovery
9 techniques
Discovery
During these stages, the use of the following tools has been observed: mimikatz, procdump, Cobalt Strike, Advanced IP Scanner, Bloodhound, PowerSploit, and others.
When executing on a machine, Maze ransomware will also attempt to determine what kind of PC it has infected. It tries to distinguish between different types of system (‘backup server’, ‘domain controller’, ‘standalone server’, etc.).
Information about the local network its target is connected is also gathered by the malware, by creating a null session connection and enumerating network resources.
During these stages, the use of the following tools has been observed: mimikatz, procdump, Cobalt Strike, Advanced IP Scanner, Bloodhound, PowerSploit, and others.
The Maze ransomware operators have adopted a tactic previously used by the Ragnar Locker gang; to encrypt a computer from within a virtual machine.
The code enumerates the running processes present, checks processes’ names against the hashed list, and terminates itself if any are detected.
The binary also uses the WMI interface to query for antivirus information, executing the Windows Management Instrumentation Query Language (WQL) command “Select * from AntiVirusProduct” within WMI namespace root\SecurityCenter2.
As with some other ransomware, Maze will terminate without encrypting files if certain languages are detected (such as those used in Commonwealth of Independent States nations).
Aside from the obfuscation, the Maze main binary’s authors applied a number of anti-analysis techniques to the malware. It checks debugging environment in multiple ways. In addition to using the IsDebuggerPresent API and PEB.BeingDebuggedFlag check...
Lateral Movement
3 techniques
Lateral Movement
Weak RDP credentials on machines accessible from the internet also pose a threat as the operators of Maze may use this flaw as well.
Since then, Maze has been delivered by multiple means: exploit kits, spam emails, and—as the group’s operations have become more targeted—Remote Desktop Protocol attacks and other network exploitation.
The threat actor group APT28 leverages TTPs like obfuscated files or information, PowerShell, exploitation of remote services for lateral movement
Collection
3 techniques
Collection
Cybercriminals are embracing data-theft extortion by creating dark web marketplaces that exist solely to sell stolen data.
The threat actor group APT28 leverages TTPs like obfuscated files or information, PowerShell, exploitation of remote services for lateral movement, credential stealing through spear-phishing links and data-staged techniques.
During these intermediate stages, the threat actors attempt to identify valuable data stored on the servers and workstations in the compromised network.
Command and Control
1 technique
Command and Control
...executes a PowerShell script, which downloads and installs the Maze ransomware payload onto the victim’s system... which in turn downloads and installs the IcedID payload onto the victim’s system.
Exfiltration
6 techniques
Exfiltration
"...stole 40GB of source code..." and "we downloaded 40GB of Python source codes from Lg"
Before encrypting a victim's network, most network-targeting ransomware operations will steal a victim's unencrypted files.
threat actors who employed the Maze ransomware published stolen data if they did not succeed in getting the ransom money.
This information is exfiltrated back to the command and control server using a standard port 80 HTTP POST method, connecting using Windows’ socket library, WS2_32.dll.
Maze ransomware operators are known to launch their attack under the surface and have a history of first stealing the data before locking their target devices.
Researchers said that Maze’s operators have since created a dedicated web page, which lists the identities of their non-cooperative victims and regularly publishes samples of the stolen data.
Impact
2 techniques
Impact
Maze ransomware operators are known to launch their attack under the surface and have a history of first stealing the data before locking their target devices.
The modus operandi of Maze hackers would entail releasing threats of data dump on public forum if ransom is not paid.
Observables
102 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.