WarzoneRAT
- Type
- RAT
- Capabilities
- Credential theftPrivilege escalationProcess injectionDefense evasionPost exploitation
- Delivery
- PhishingMalspamLure
- Platforms
- Windows
WarzoneRAT, also known as Ave Maria, is a C++ remote access trojan targeting Microsoft Windows that has been active since approximately 2018. Distributed as an off-the-shelf tool, it has been used by cybercriminal and targeted intrusion actors, including VasyGrek, also known as Fluffy Wolf, and APT-C-36, also known as Blind Eagle.
The malware supports interactive control of infected computers through RDP and hidden VNC sessions, allowing operators to access the desktop with reduced visibility to the user. It can steal saved passwords from multiple web browsers and from Outlook and Thunderbird email clients. It also supports PowerShell-based file downloads and command execution, communicates with command-and-control infrastructure over TCP, and can retrieve additional malware. VasyGrek has used it in an infection chain that downloaded BurnsRAT.
WarzoneRAT can inject malicious DLLs into another process for privilege escalation. Its User Account Control bypass mechanisms include Control Panel execution hijacking on Windows 10 and abuse of the IFileOperation COM interface on older Windows versions. These mechanisms allow malicious code to execute with elevated privileges without the normal UAC prompt.
Delivery methods include phishing emails and malicious archive attachments. COVID-19-themed spam campaigns distributed WarzoneRAT through documents exploiting CVE-2017-11882 in Microsoft Office Equation Editor. Its use by multiple actors makes it a shared criminal and intrusion capability rather than a tool exclusive to one organization or campaign.
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.
Associated threat actors
8 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
A November 19, 2020 phishing message delivered WarzoneRAT, which subsequently obtained a URL for downloading BurnsRAT.TV. The report documents VasyGrek using WarzoneRAT from 2019.
WarZone RAT is named among VasyGrek's off-the-shelf stealers and trojans.
“In the past, we have observed that APT-C-36 makes use of RATs such as: ... Warzone RAT ...”
Cisco Talos recently discovered a malicious campaign targeting government employees and military personnel in the Indian sub-continent with two commercial and commodity RAT families known as NetwireRAT (aka NetwireRC) and WarzoneRAT (aka Ave Maria).
In some cases, the final stage PowerShell script contained up to seven various RATs. These are typically NjRat, BitRat, Nanocore RAT, QuasarRat, LimeRat, and Warzone.
To give an overview, here is a list of all observed tools and malware types the actor has been using in recent years: Warzone RAT / AveMaria RAT
+2 more in the app. View in Mallory
Techniques & procedures
82 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
The majority of the emails contained links to a malicious file hosted on Google Drive... the use of a legitimate web platform for hosting the malicious content may provide another way for the attacker to evade various protections
Initial Access
5 techniques
Initial Access
This malware, used by the mentioned groups, can infiltrate the infrastructure in various ways, from exploiting Spear-Phishing to compromising websites where it is downloaded.
This report details a specific phishing campaign used to distribute the Agent Tesla RAT. The lure in the emails is centered around updates to COVID-specific PPE.
[WarzoneRAT](https://attack.mitre.org/software/S0670) has been distributed as a malicious attachment within an email.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Confucius APT Jan 2021)
В некоторых атаках вместо вложенного архива используется URL-адрес, при переходе по которому будет загружен архив.
"He then sent phishing emails impersonating the Chief Executive Officer... and directed recipients to a Dropbox link... that, when clicked, silently installed the malware on their systems."
Execution
15 techniques
Execution
"Windows Management Instrumentation" (listed under Agent Tesla, jRAT, WarzoneRAT)
The back.htm executed via ddond.com, runs powershell command to download another powershell script later executing it via Invoke-Expression. And schedules a task using schtasks.exe for persistence.
It can also download and execute additional malware, giving attackers even more control over the victim’s system.
[WarzoneRAT](https://attack.mitre.org/software/S0670) can use PowerShell to download files and execute commands.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Warzone UAC Bypass November 2020)
[WarzoneRAT](https://attack.mitre.org/software/S0670) can use `cmd.exe` to execute malicious code.(Citation: Check Point Warzone Feb 2020)
These maldocs contain malicious VBA macros that download and execute the next stage of the infection — the malware loader. | The macro in the maldoc downloads and executes a VBScript (VBS) instead of directly downloading the malware payload.
The malicious document launches EXCEL.exe and executes wscript.exe to run Update.js javascript which is embedded in the macro itself and copy the Update.js to Startup Folder.
[WarzoneRAT](https://attack.mitre.org/software/S0670) can use a variety of API calls on a compromised host.(Citation: Uptycs Warzone UAC Bypass November 2020)
createtoolhelp32snapshot_module_enumeration Enumerates the modules from a process (may be used to locate base addresses in process injection)
The malicious spam messages were crafted to exploit CVE-2017-11882. The remote code execution flaw is specific to Microsoft Word Equation Editor.
Warzone RAT is typically spread through phishing emails or other social engineering techniques, where attackers trick victims into downloading and installing the malware on their systems.
Annotations ID Technique Tactic T1204.001 Malicious Link Execution
[WarzoneRAT](https://attack.mitre.org/software/S0670) has relied on a victim to open a malicious attachment within an email for execution.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Confucius APT Jan 2021)
AveMaria uses RdpWrapper instead of the RDP provided by default in Windows. In order to do this, it first drops the RdpWrapper DLL onto the infected PC and registers it as a service.
the privilege escalation used by the malware is an old fashion elevated PkgMgr->DISM Dll hijacking vulnerability for UAC bypass
Persistence
6 techniques
Persistence
The back.htm executed via ddond.com, runs powershell command to download another powershell script later executing it via Invoke-Expression. And schedules a task using schtasks.exe for persistence.
[WarzoneRAT](https://attack.mitre.org/software/S0670) can create `HKCU\Software\Classes\Folder\shell\open\command` as a new registry key during privilege escalation.(Citation: Uptycs Warzone UAC Bypass November 2020)(Citation: Check Point Warzone Feb 2020)
multiple cases have been found recently where new users were added to infected systems, which were then used to gain access. Through this method, attackers can maintain persistence and access the infected system anytime.
Annotations ID Technique Tactic T1543 Create or Modify System Process Persistence
[WarzoneRAT](https://attack.mitre.org/software/S0670) can perform COM hijacking by setting the path to itself to the `HKCU\Software\Classes\Folder\shell\open\command` key with a `DelegateExecute` parameter.(Citation: Check Point Warzone Feb 2020)
[WarzoneRAT](https://attack.mitre.org/software/S0670) can add itself to the `HKCU\Software\Microsoft\Windows\CurrentVersion\Run` and `HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UIF2IS20VK` Registry keys.(Citation: Check Point Warzone Feb 2020)
Privilege Escalation
9 techniques
Privilege Escalation
The back.htm executed via ddond.com, runs powershell command to download another powershell script later executing it via Invoke-Expression. And schedules a task using schtasks.exe for persistence.
[WarzoneRAT](https://attack.mitre.org/software/S0670) has the ability to inject malicious DLLs into a specific process for privilege escalation.(Citation: Check Point Warzone Feb 2020)
Silence has injected a DLL library containing a Trojan into the fwmain32.exe process. WarzoneRAT has the ability to inject malicious DLLs into a specific process for privilege escalation. COATHANGER includes a binary labeled authd that can inject a library into a running process and then hook an existing function within that process with a new function from that library.
The powershell script executed via Invoke-Expression executes embedded WarzoneRat and other .Net binary payloads via process hollowing technique... The “Execute” Function then uses process hollowing technique to inject malicious code into legit processes such as aspnet_compiler.exe, aspnet_regbrowsers.exe, CasPol.exe, RegAsm.exe and MSBuild.exe.
Annotations ID Technique Tactic T1543 Create or Modify System Process Persistence
[WarzoneRAT](https://attack.mitre.org/software/S0670) can perform COM hijacking by setting the path to itself to the `HKCU\Software\Classes\Folder\shell\open\command` key with a `DelegateExecute` parameter.(Citation: Check Point Warzone Feb 2020)
[WarzoneRAT](https://attack.mitre.org/software/S0670) can add itself to the `HKCU\Software\Microsoft\Windows\CurrentVersion\Run` and `HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UIF2IS20VK` Registry keys.(Citation: Check Point Warzone Feb 2020)
the privilege escalation used by the malware is an old fashion elevated PkgMgr->DISM Dll hijacking vulnerability for UAC bypass
[WarzoneRAT](https://attack.mitre.org/software/S0670) can use `sdclt.exe` to bypass UAC in Windows 10 to escalate privileges; for older Windows versions [WarzoneRAT](https://attack.mitre.org/software/S0670) can use the IFileOperation exploit to bypass the UAC module.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Warzone UAC Bypass November 2020)
Stealth
19 techniques
Stealth
[WarzoneRAT](https://attack.mitre.org/software/S0670) can include a rootkit to hide processes, files, and startup.(Citation: Check Point Warzone Feb 2020)
The Downloader is obfuscated by automatic tools and can easily be de-obfuscated by de4dot.
the initial malware payloads used the same crypter, which obfuscates the malicious contents present in the binary executable and make analysis more difficult.
Later the JS script copies the mshta from C:\Windows\System32 to C:\ProgramData\ and names it as ‘ddond.com’. It then launches ddond.com(masqueraded mshta)...
[WarzoneRAT](https://attack.mitre.org/software/S0670) has the ability to inject malicious DLLs into a specific process for privilege escalation.(Citation: Check Point Warzone Feb 2020)
Silence has injected a DLL library containing a Trojan into the fwmain32.exe process. WarzoneRAT has the ability to inject malicious DLLs into a specific process for privilege escalation. COATHANGER includes a binary labeled authd that can inject a library into a running process and then hook an existing function within that process with a new function from that library.
The powershell script executed via Invoke-Expression executes embedded WarzoneRat and other .Net binary payloads via process hollowing technique... The “Execute” Function then uses process hollowing technique to inject malicious code into legit processes such as aspnet_compiler.exe, aspnet_regbrowsers.exe, CasPol.exe, RegAsm.exe and MSBuild.exe.
The PowerShell downloads a malicious archive and an unzip utility such as 7-Zip from a remote location. This utility unzips and runs the malware payload from the archive file.
[WarzoneRAT](https://attack.mitre.org/software/S0670) can use XOR 0x45 to decrypt obfuscated code.(Citation: Check Point Warzone Feb 2020)
[WarzoneRAT](https://attack.mitre.org/software/S0670) has been install via template injection through a malicious DLL embedded within a template RTF in a Word document.(Citation: Uptycs Confucius APT Jan 2021)
antivm_generic_system Checks the system manufacturer, likely for anti-virtualization ... antisandbox_sboxie_libs Detects Sandboxie through the presence of a library ... antivm_generic_diskreg Checks the presence of disk drives in the registry, possibly for anti-virtualization ... antivm_checks_available_memory Checks available memory
The executions vary greatly depending on the version, but typically it tries to determine if it is already running on the machine using a Mutex After that, it can perform anti-dbg/Anti-VM tasks or directly check for security software that may be installed on the system
[WarzoneRAT](https://attack.mitre.org/software/S0670) can masquerade the Process Environment Block on a compromised host to hide its attempts to elevate privileges through `IFileOperation`.(Citation: Check Point Warzone Feb 2020)
The malware then registers the added user account to the SpecialAccounts registry key so that the user cannot know that an account has been added in the login screen.
WarzoneRAT has the ability of performing remote desktop access via a hVNC window for decreased visibility.(Citation: Bitdefender Trickbot VNC module Whitepaper 2021)
persistence_ads Attempts to interact with an Alternate Data Stream (ADS)
the privilege escalation used by the malware is an old fashion elevated PkgMgr->DISM Dll hijacking vulnerability for UAC bypass
It fills these allocated buffers with helper functions which are used for further self modifications or unpacking procedures of the payload. The last allocated buffer is then finally filled with the unpacked malware payload.
During the analysis of different samples, I notice the consistent use of various anti-debugging techniques along with frequent sleep commands that significantly slow down debugging.
Defense Impairment
5 techniques
Defense Impairment
[WarzoneRAT](https://attack.mitre.org/software/S0670) can create `HKCU\Software\Classes\Folder\shell\open\command` as a new registry key during privilege escalation.(Citation: Uptycs Warzone UAC Bypass November 2020)(Citation: Check Point Warzone Feb 2020)
It is common to launch them in a folder like Documents or Downloads and modify the attributes to point to another location, such as ApplicationData or ProgramData.
removes_zoneid_ads Attempts to remove evidence of file being downloaded from the Internet
[WarzoneRAT](https://attack.mitre.org/software/S0670) can disarm Windows Defender during the UAC process to evade detection.(Citation: Check Point Warzone Feb 2020)
WarzoneRAT 'can disarm Windows Defender during the UAC process to evade detection.'
Credential Access
5 techniques
Credential Access
[WarzoneRAT](https://attack.mitre.org/software/S0670) has the capability to install a live and offline keylogger, including through the use of the `GetAsyncKeyState` Windows API.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Warzone UAC Bypass November 2020)
CAPE detected injection into a browser process, likely for Man-In-Browser (MITB) infostealing
Scattered Spider also conducts phishing attacks to install malware like the WarZone RAT, Raccoon Stealer, and Vidar Stealer, to steal from compromised systems login credentials, cookies, and other data useful in the attack.
Netwire is a highly versatile RAT consisting of multiple capabilities including: Stealing credentials from browsers.
[WarzoneRAT](https://attack.mitre.org/software/S0670) has the capability to grab passwords from numerous web browsers as well as from Outlook and Thunderbird email clients.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Warzone UAC Bypass November 2020)
Discovery
8 techniques
Discovery
The malware first get value of ServiceDll registry inside the SYSTEM\CurrentControlSet\Services\TermService\Parameters... After that, the malware will add a new user account special properties or behaviors such as hiding the user account from login screen.
[WarzoneRAT](https://attack.mitre.org/software/S0670) can obtain a list of processes on a compromised host.(Citation: Check Point Warzone Feb 2020)
[WarzoneRAT](https://attack.mitre.org/software/S0670) can collect compromised host information, including OS version, PC name, RAM size, and CPU details.(Citation: Check Point Warzone Feb 2020)
[WarzoneRAT](https://attack.mitre.org/software/S0670) can enumerate directories on a compromise host.(Citation: Check Point Warzone Feb 2020)
antivm_generic_system Checks the system manufacturer, likely for anti-virtualization ... antisandbox_sboxie_libs Detects Sandboxie through the presence of a library ... antivm_generic_diskreg Checks the presence of disk drives in the registry, possibly for anti-virtualization ... antivm_checks_available_memory Checks available memory
The executions vary greatly depending on the version, but typically it tries to determine if it is already running on the machine using a Mutex After that, it can perform anti-dbg/Anti-VM tasks or directly check for security software that may be installed on the system
At this point, the most common action is to gather relevant information about the device and/or the user, such as the operating system type, machine name, language used, etc.
During the analysis of different samples, I notice the consistent use of various anti-debugging techniques along with frequent sleep commands that significantly slow down debugging.
Lateral Movement
2 techniques
Lateral Movement
[WarzoneRAT](https://attack.mitre.org/software/S0670) has the ability to control an infected PC using RDP.(Citation: Check Point Warzone Feb 2020)
“Secondo MITRE ATT&CK questa funzionalità è abusata da APT come FIN7, Gamaredon e Fox Kitten, ma anche altri gruppi criminali come TrickBot e WarzoneRAT.”
Collection
8 techniques
Collection
[WarzoneRAT](https://attack.mitre.org/software/S0670) can collect data from a compromised host.(Citation: Check Point Warzone Feb 2020)
[WarzoneRAT](https://attack.mitre.org/software/S0670) has the capability to install a live and offline keylogger, including through the use of the `GetAsyncKeyState` Windows API.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Warzone UAC Bypass November 2020)
CAPE detected injection into a browser process, likely for Man-In-Browser (MITB) infostealing
Once the malware is installed, it can perform a variety of malicious actions, including stealing passwords, taking screenshots, and logging keystrokes.
Inside the w_mw_get_clipboard_data_keyboard_in ( sub_40ADCA ) function, we will know that the malware will try to grab the clipboard data inside the mw_get_clipboard_data ( sub_4174BA ). Then encrypte the data and send to the C2 server if it’s the live keylogger or write the grabbed data to a file then encrypted it and send to the C2 server if it’s offline keylogger.
The RAT has two functions for recording audio... waveInOpen API Opens the audio input device for recording... save the record in a time-based .wav file... after recording audio and save the .wav file, it encrypt and send it to the C2 server.
[WarzoneRAT](https://attack.mitre.org/software/S0670) can access the webcam on a victim's machine.(Citation: Check Point Warzone Feb 2020)(Citation: Uptycs Warzone UAC Bypass November 2020)
The malware will try to compress one directory or more than one directory using powershell to a .zip file while hiding the PowerShell window using the command powershell.exe -windowstyle hidden -Command "Compress-Archive -Path 'C:\Path\To\Your\Directory' -DestinationPath 'C:\Path\To\Your\Archive.zip'"
Command and Control
10 techniques
Command and Control
The malware communicates to its C2 server via TCP using sockets, through the port 1990 in this case.
http_request Performs HTTP requests potentially not found in PCAP ... recon_beacon A process sent information about the computer to a remote location.
[WarzoneRAT](https://attack.mitre.org/software/S0670) has the capability to act as a reverse proxy.(Citation: Check Point Warzone Feb 2020)
"APT41 used a tool called CLASSFON to covertly proxy network communications." / "BADCALL functions as a proxy server between the victim and C2 server." / "Sandworm Team's BCS-server tool can create an internal proxy server to redirect traffic..."
[WarzoneRAT](https://attack.mitre.org/software/S0670) can communicate with its C2 server via TCP over port 5200.(Citation: Check Point Warzone Feb 2020)
We also discovered infection chains that deliver multiple payloads to a single victim as part of a multi-stage infection process.
dwl — Выполняет загрузку файла на зараженную систему. ... dwlr ... помимо загрузки, выполняет запуск загруженного файла.
Useful starting points are MITRE ATT&CK techniques for remote access software (T1219)
The use of dynamic DNS domains for C2 communications is a central technique in the arsenal of the DDGroup actor.
[WarzoneRAT](https://attack.mitre.org/software/S0670) can encrypt its C2 with RC4 with the password `warzone160\x00`.(Citation: Check Point Warzone Feb 2020)
Exfiltration
1 technique
Exfiltration
[WarzoneRAT](https://attack.mitre.org/software/S0670) can send collected victim data to its C2 server.(Citation: Check Point Warzone Feb 2020)
Impact
3 techniques
Impact
The malware will get the currently running processes, and terminate any process the attacker wants.
there is two methods to restart the device: using command shutdown.exe /r /t 00 to restart the computer or force the restart using shutdown.exe /r /f /t 00 command while hiding the execution window using WinExec function.
enumerates_physical_drives Enumerates physical drives ... physical_drive_access Attempted to write directly to a physical drive
Observables
470 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
159 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.