VMware researchers have analyzed the supply chain behind the Emotet malware reporting that its operators are continually shifting their tactics, techniques, and procedures to avoid detection.
In April, the operators of the infamous Emotet botnet started testing new attack techniques in response to Microsoft’s move to disable Visual Basic for Applications (VBA) macros by default.
In June, Proofpoint experts spotted a new variant of the Emotet bot that uses a new module to steal credit card information stored in the Chrome web browser.
Over time, Emotet operators have enhanced their attack chain by employing multiple attack vectors to remain under the radar.
“Based on a new similarity metric, the VMware Threat Analysis Unit’s clustering analysis identified various stages of Emotet attacks with several initial infection waves that change how the malware is delivered.” reads the report published by VMware’s Threat Analysis Unit (TAU). “The ongoing adaptation of Emotet’s execution chain is one reason the malware has been successful for so long.”
The attack chain used in recent Emotet campaigns leverages on spam emails to deliver weaponized Microsoft documents. The content of the messages is crafted to trick users into enabling malicious macros, which results in a series of PowerShell commands being executed to download the Emotet payload. Threat actors use Emotet to deliver additional modules, such as TrickBot and QakBot.
On January 2022, VMware Threat Analysis researchers observed new Emotet attacks that used weaponized Excel attachments.
The experts classified the attacks into three waves:
• A – Emotet payload via an XL4 macro directly
• B – Emotet payload via an XL4 macro with PowerShell
• C – Emotet payload via a Visual Basic Application (VBA) macro with PowerShell
In late January 2022, a wave of attacks introduced the use of the Windows-native utility mshta.exe used to execute Microsoft HTML Application (HTA) files.
Experts pointed out that the mshta tool, like PowerShell, are living-off-the-land binaries (LOLBINs).
LOLBINs are commonly used by threat actors because they are signed by Microsoft and trusted by Windows.
Emotet has been known to use a modular structure, it relies on a few core modules:
The core module (the Emotet payload) downloads additional payloads from the C2 server.
WMware observed the following eight modules in the attacks they have analyzed:
“In addition to known modules and functionality seen in the past, the list highlights two updated modules that we were able to intercept.” continues the report. “These were a module that steals credit card information, specifically targeting Google Chrome browsers, and a spreading module that leverages the SMB protocol.”
The researchers also tracked the evolution of Emotet’s C2 infrastructure by using custom techniques and
tools that allow them to extract the configuration files used by the samples.
The dataset used by the experts contained 24,276 unique Emotet DLL payloads, 26.7 percent of the them were dropped by Excel documents.
VMware experts tracked multiple clusters and related C2 infrastructure over the time. The operators were recently spotted operating two new botnet clusters tracked as Epochs 4 and 5.
The largest botnet cluster (cluster 0) contains 10,235 samples, which is more than 40 percent of the whole dataset, and spans a time horizon of almost three months (March 15, 2022, and June 18, 2022), reused C2 servers belonging to Epoch 5.
The researchers also analyzed the geographic distribution of the IP addresses of the servers used to host the Emotet modules. Most of the modules were hosted in India (more than 26 percent), followed by Korea, Thailand, and Ghana.
The experts recommend to promote awareness and training programs, implement network segmentation, adopt network detection and response (NDR), enforce a Zero Trust model, scan network artifacts, and implement robust password policies and best practices.
(SecurityAffairs – hacking, Emotet)