Saturday, January 11, 2025
HomeCyber Security NewsRussian BlueAlpha APT Exploits Cloudflare Tunnels to Distribute Custom Malware

Russian BlueAlpha APT Exploits Cloudflare Tunnels to Distribute Custom Malware

Published on

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
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Latest articles

QSC: Multi-Plugin Malware Framework Installs Backdoor on Windows

The QSC Loader service DLL named "loader.dll" leverages two distinct methods to obtain the...

Weaponized LDAP Exploit Deploys Information-Stealing Malware

Cybercriminals are exploiting the recent critical LDAP vulnerabilities (CVE-2024-49112 and CVE-2024-49113) by distributing fake...

New NonEuclid RAT Evades Antivirus and Encrypts Critical Files

A NonEuclid sophisticated C# Remote Access Trojan (RAT) designed for the.NET Framework 4.8 has...

Hackers Targeting Users Who Lodged Complaints On Government portal To Steal Credit Card Data

Fraudsters in the Middle East are exploiting a vulnerability in the government services portal....

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

QSC: Multi-Plugin Malware Framework Installs Backdoor on Windows

The QSC Loader service DLL named "loader.dll" leverages two distinct methods to obtain the...

Weaponized LDAP Exploit Deploys Information-Stealing Malware

Cybercriminals are exploiting the recent critical LDAP vulnerabilities (CVE-2024-49112 and CVE-2024-49113) by distributing fake...

New NonEuclid RAT Evades Antivirus and Encrypts Critical Files

A NonEuclid sophisticated C# Remote Access Trojan (RAT) designed for the.NET Framework 4.8 has...