Experts analyzed the evolution of the Emotet supply chain

Pierluigi Paganini October 11, 2022

Threat actors behind the Emotet bot are continually improving their tactics, techniques, and procedures to avoid detection.

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.

The Emotet banking trojan has been active at least since 2014, the botnet is operated by a threat actor tracked as TA542.

The infamous banking trojan was also used to deliver other malicious code, such as Trickbot and QBot trojans, or ransomware such as ContiProLockRyuk, and Egregor.

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

Emotet evolution

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.

  • Credential stealing modules, specifically MailPassView and WebBrowserPassView, to harvest credentials from web browsers and mail clients.
  • The spam module.
  • The email harvesting module exfiltrates email credentials, contact lists, and email contents from infected PCs to the C2 server.
  • Other modules seen in early versions of Emotet included a distributed denial-of-service (DDoS) module and a banking module.

WMware observed the following eight modules in the attacks they have analyzed:

  1. The core module (the Emotet payload)
  2. A spamming module
  3. A Thunderbird email client
    account stealer
  4. An Outlook email client account stealer
  5. A credit card information stealer
  6. A spreader that leverages the SMB protocol32
  7. A module with an embedded MailPassView application
  8. A module with an embedded WebBrowserPassView application

“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.

Follow me on Twitter: @securityaffairs and Facebook

[adrotate banner=”9″][adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – hacking, Emotet)

[adrotate banner=”5″]

[adrotate banner=”13″]



you might also like

leave a comment