Cyber Security News

Russian BlueAlpha APT Exploits Cloudflare Tunnels to Distribute Custom Malware

BlueAlpha, a Russian state-sponsored group, is actively targeting Ukrainian individuals and organizations by using spearphishing emails with malicious HTML attachments to deliver GammaLoad malware. 

To evade detection, BlueAlpha is leveraging Cloudflare Tunnels to conceal their infrastructure and using DNS fast-fluxing for their C2 servers, as this ongoing campaign, active since early 2024, highlights the persistent threat posed by Russian cyber actors.

Researchers discovered BlueAlpha abusing free Cloudflare Tunnels to hide their GammaDrop malware staging infrastructure, which is created using randomly generated subdomains and acts as proxies to the actual server. 

GammaLoad infection chain

This technique is gaining popularity among attackers due to its ease of use and low cost. BlueAlpha leverages tunnels to deliver GammaDrop malware via malicious .lnk files, which highlights a recent trend of attackers using Cloudflare Tunnels to evade detection, as previously observed with RATs like AsyncRAT

Free Webinar on Best Practices for API vulnerability & Penetration Testing:  Free Registration

Attackers switched from using the onmousemove event to the onerror event in an img tag to trigger deobfuscation of malicious JavaScript within an XHTML attachment and also added a message indicating file download completion. 

Contents of smuggled 7zip archive containing shortcut file

The JavaScript checks the OS, decodes a smuggled archive, downloads it, and fetches a tracking pixel from a different location than the GammaDrop staging server, potentially revealing an IP address. 

A malicious HTA file is downloaded and executed from the staging server using a shortcut file that is contained within the archive, which makes use of the mshta.exe program. 

BlueAlpha attackers use GammaDrop, an obfuscated HTA payload, to deploy GammaLoad, a custom VBScript backdoor, where GammaDrop writes GammaLoad to the user profile directory and sets persistence using a run key unless specific security software is running. 

Main function of GammaLoad

It also opens a blank Word document and stores a C2 IP address in a hidden file. GammaLoad then beacons to the C2 server, sending victim information and retrieving encoded VBScript for further malicious actions. 

Several different methods, such as plain text HTTP, fast-flux DNS, and DNS over HTTPS (DoH), are utilized for communication between the two computers in order to avoid detection. 

According to Insikt Group, to defend against HTML smuggling attacks with embedded JavaScript, users should implement email security solutions that inspect and block suspicious HTML with events like “onerror” and “onmousemove.” 

Application control policies should restrict execution of “mshta.exe” and untrusted “.lnk” files. Endpoint detection should monitor “mshta.exe” activity for suspicious command-line arguments. 

Network traffic to TryCloudflare subdomains and unauthorized DoH connections should be flagged for review, while leveraging threat intelligence platforms to analyze suspicious files, monitor real-time network activity for targeted attacks and stay updated on attacker tactics and indicators of compromise.

Analyse Real-World Malware & Phishing Attacks With ANY.RUN - Get up to 3 Free Licenses

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Antidot Malware Attacking Employees Android Devices To Inject Malicious Payloads

Researchers discovered a new variant of the AntiDot banking trojan targeting Android mobile devices through…

15 minutes ago

Triad Nexus, Chinese Hackers Using 200,000 Domains For Widespread Cyber Attack

Researchers identified FUNNULL, a Chinese CDN, as hosting malicious content, which includes fake trading apps…

27 minutes ago

Malicious ESLint Package Let Attackers Steal Data And Inject Remote Code

Cybercriminals exploited typosquatting to deploy a malicious npm package, `@typescript_eslinter/eslint`, targeting developers seeking the legitimate…

29 minutes ago

New Chinese Surveillance Tool Attack Android Users Since 2017

Wuhan Chinasoft Token Information Technology Co., Ltd. developed EagleMsgSpy, a surveillance tool operational since 2017,…

31 minutes ago

ConvoC2 – A Red Teamers Tool To Execute Commands on Hacked Hosts Via Microsoft Teams

A stealthy Command-and-Control (C2) infrastructure Red Team tool named ConvoC2 showcases how cyber attackers can…

2 hours ago

Cleo 0-day Vulnerability Exploited to Deploy Malichus Malware

Cybersecurity researchers have uncovered a sophisticated exploitation campaign involving a zero-day (0-day) vulnerability in Cleo…

2 hours ago