The Emotet malware operation is again spamming malicious emails after almost a four-month “vacation” that saw little activity from the notorious cybercrime operation.
Emotet is a malware infection distributed through phishing campaigns containing malicious Excel or Word documents. When users open these documents and enable macros, the Emotet DLL will be downloaded and loaded into memory.
Once loaded, the malware will search for and steal emails to use in future spam campaigns and drop additional payloads such as Cobalt Strike or other malware that commonly leads to ransomware attacks.
While Emotet was considered the most distributed malware in the past, it suddenly stopped spamming on July 13th, 2022.
Emotet returns
Researchers from the Emotet research group Cryptolaemus reported that at approximately 4:00 AM ET on November 2nd, the Emotet operation suddenly came alive again, spamming email addresses worldwide.
Emotet back in Distro Mode – As of 0800 UTC E4 began spamming and as of 0930 UTC E5 began spamming again. Looks like Ivan is in need of some cash again so he went back to work. Be on the lookout for direct attached XLS files and zipped and password protected XLS. 1/x
Proofpoint threat researcher, and Cryptolaemus member, Tommy Madjar, told BleepingComputer that today’s Emotet email campaigns are using stolen email reply chains to distribute malicious Excel attachments.
From samples uploaded to VirusTotal, BleepingComputer has seen attachments targeted at users worldwide under various languages and file names, pretending to be invoices, scans, electronic forms, and other lures.
A partial listing of example file names can be seen below:
When a file is downloaded from the Internet, including as an email attachment, Microsoft will add a special Mark-of-the-Web (MoTW) flag to the file.
When a user opens a Microsoft Office document containing a MoTW flag, Microsoft Office will open it in Protected View, preventing macros that install malware from being executed.
However, in the new Emotet Excel attachment, you can see that the threat actors are instructing users to copy the file into the trusted ‘Templates’ folders, as doing this will bypass Microsoft Office’s Protected View, even for files containing a MoTW flag.
"RELAUNCH REQUIRED In accordance with the requirements of your security policy, to display the contents of the document, you need to copy the file to the following folder and run it again:
for Microsoft Office 2013 x32 and earlier - C:\Program Files\Microsoft Office (x86)\Templates
for Microsoft Office 2013 x64 and earlier - C:\Program Files\Microsoft Office\Templates
for Microsoft Office 2016 x32 and later - C:\Program Files (x86)\Microsoft Office\root\Templates
for Microsoft Office 2016 x64 and later - C:\Program Files\Microsoft Office\root\Templates"
While Windows will warn users that copying a file into the ‘Templates’ folder requires ‘administrators’ permissions, the fact that a user is attempting to copy the file indicates that there is a good chance they will also press the ‘Continue’ button.
When the attachment is launched from the ‘Templates’ folder, it will simply open and immediately execute macros that download the Emotet malware.
Bypassing Microsoft Office Protected View Source: BleepingComputer
The Emotet malware is downloaded as a DLL into multiple random-named folders under %UserProfile%\AppData\Local, as shown below.
Emotet stored in a random folder in %LocalAppData% Source: BleepingComputer
The macros will then launch the DLL using the legitimate regsvr32.exe command.
Emotet DLL running via Regsvr32.exe Source: BleepingComputer
Once downloaded, the malware will quietly run in the background while connecting to the Command and Control server for further instructions or to install additional payloads.
Madjar told BleepingComputer that today’s Emotet infections have not begun dropping additional malware payloads on infected devices.
These Cobalt Strike beacons are then used for initial access by ransomware gangs who spread laterally on the network, steal data, and ultimately encrypt devices.