Blog

Tax Season Alert: Beware of GuLoader and Remcos RAT

BY eSentire Threat Response Unit (TRU)

April 10, 2024 | 4 MINS READ

Attacks/Breaches

Threat Intelligence

Threat Response Unit

TRU Positive/Bulletin

Want to learn more on how to achieve Cyber Resilience?

TALK TO AN EXPERT

Adversaries don’t work 9-5 and neither do we. At eSentire, our 24/7 SOCs are staffed with Elite Threat Hunters and Cyber Analysts who hunt, investigate, contain and respond to threats within minutes.

We have discovered some of the most dangerous threats and nation state attacks in our space – including the Kaseya MSP breach and the more_eggs malware.

Our Security Operations Centers are supported with Threat Intelligence, Tactical Threat Response and Advanced Threat Analytics driven by our Threat Response Unit – the TRU team.

In TRU Positives, eSentire’s Threat Response Unit (TRU) provides a summary of a recent threat investigation. We outline how we responded to the confirmed threat and what recommendations we have going forward.

Here’s the latest from our TRU Team…

What did we find?

In February and March 2024, the eSentire Threat Response Unit (TRU) observed multiple tax-themed threats, one of which involved a Java-based RAT and another of which involved an XWorm RAT.

In early March 2024, we observed a series of tax-themed phishing emails delivering the Remcos RAT as the final payload through GuLoader, an advanced malware loader.

The phishing email contained the link to the password-protected ZIP archive hosted on Adobe Document Cloud.

Figure 1: Phishing email

While investigating this threat, the link to the document was removed. However, an example of what the document would look like is depicted in Figure 2.

Figure 2: Acrobat Adobe document

The download ZIP archive contains a document file named 2023clearance.doc (MD5: 35b78f9b4f1122f4a347c1ce37367278) that is encrypted, and a shortcut file named BurkeDocuments.pdf.lnk (MD5: 6213ff411cd8625c632de49cd6fe46c6).

Figure 3: Shortcut file in LECmd

Upon execution, the shortcut file initiates a PowerShell command to download a file from the specified URL hxxps://jantickee[.]com/wp-content/Stanles2.png (which, despite its PNG image extension, contains malicious content). It saves it as a VBS file (Fjoua.vbs) in the Public user directory before being executed. Additionally, a decoy PDF file, Shl3Dfdr.pdf (Figure 5), is placed in the Public folder.

At the time of writing this report, the original URL was offline, but we managed to obtain payloads like those from an alternative URL with a similar infection chain, as shown in Figure 4.

Figure 4: The command launched from the shortcut file
Figure 5: Decoy PDF file

The retrieved VBS file spawns the heavily obfuscated PowerShell script (Figure 5). The PowerShell script manipulates strings by selectively concatenating characters based on their positions. Specifically, it starts from the 4th character and then skips 5 characters, appending each selected character to form a new string.

The PowerShell script is responsible for retrieving the GuLoader payload via the BitTransfer module in PowerShell and launching the payload itself. The GuLoader payload (Startvrdier.Fre) is dropped under the %AppData% folder in Base64-encoded format.

Figure 6: Obfuscated PowerShell script

One of the decrypted lines in the script “$Stadholder=$Regaliernes2.substring(315836,26965)” extracts a blob from the base64-decoded GuLoader payload, starting at character index 315836 with a length of 26965 characters. The extracted blob appears to be another layer of GuLoader similar to the one we have mentioned here.

The persistence is achieved via the Registry Run Key to execute the obfuscated PowerShell script.

Figure 7: Persistence via Registry Run Key

What can you learn from this TRU positive?

What did we do?

Our 24/7 SOC Cyber Analysts investigated the suspicious activities, notified the clients, and isolated the affected devices.

Recommendations from our Threat Response Unit (TRU) Team:

Indicators of Compromise

You can access the indicators of compromise here.

References

eSentire Unit
eSentire Threat Response Unit (TRU)

The eSentire Threat Response Unit (TRU) is an industry-leading threat research team committed to helping your organization become more resilient. TRU is an elite team of threat hunters and researchers that supports our 24/7 Security Operations Centers (SOCs), builds threat detection models across the eSentire XDR Cloud Platform, and works as an extension of your security team to continuously improve our Managed Detection and Response service. By providing complete visibility across your attack surface and performing global threat sweeps and proactive hypothesis-driven threat hunts augmented by original threat research, we are laser-focused on defending your organization against known and unknown threats.

Read the Latest from eSentire