Tech

Velvet Tempest Hackers Deploy DonutLoader & CastleRAT via ClickFix Technique

Velvet Tempest Hackers Deploy DonutLoader & CastleRAT via ClickFix Technique - News Directory 3

Termite Ransomware Attacks Leverage ClickFix Technique, Deploy CastleRAT Backdoor

Ransomware threat actors, tracked as Velvet Tempest (also known as DEV-0504), are employing a novel technique called ClickFix alongside legitimate Windows utilities to deploy the DonutLoader malware and the CastleRAT backdoor. The attacks, observed by cyber-deception firm MalBeacon over a 12-day period in a simulated environment mirroring a U.S.-based non-profit organization with over 3,000 endpoints and 2,500 users, highlight an evolving sophistication in ransomware deployment strategies.

Velvet Tempest has a documented history of affiliate activity in the ransomware landscape, spanning at least five years. The group has been linked to the deployment of several prominent ransomware strains, including Ryuk (2018-2020), REvil (2019-2022), Conti (2019-2022), BlackMatter, BlackCat/ALPHV (2021-2024), LockBit, and RansomHub. This broad association suggests a flexible and adaptable operation, willing to partner with developers of various ransomware-as-a-service (RaaS) offerings.

The initial access vector in these recent attacks centers around a malvertising campaign that directs victims to a ClickFix and CAPTCHA combination. This lures users into pasting an obfuscated command into the Windows Run dialog. ClickFix, a social engineering technique, relies on presenting users with a seemingly harmless task – often involving copying and pasting a command – that ultimately initiates a malicious chain of events. The pasted command triggers a series of nested cmd.exe processes, utilizing the finger.exe utility to retrieve initial malware loaders.

One of the first payloads delivered is an archive file disguised as a PDF document. This demonstrates a common tactic of threat actors: leveraging file type associations to bypass initial security checks and trick users into executing malicious code. Following this, PowerShell is used to download and execute further commands, compiling .NET components using csc.exe in temporary directories and deploying Python-based components for establishing persistence within the C:ProgramData directory.

The ultimate goal of this multi-stage process is the deployment of DonutLoader and the CastleRAT backdoor. CastleRAT is a remote access trojan (RAT) associated with the CastleLoader malware loader, which is known for distributing a variety of RATs and information stealers, such as LummaStealer. RATs provide attackers with persistent, remote control over compromised systems, enabling them to steal data, deploy further malware, and move laterally within a network.

While Velvet Tempest is often associated with double-extortion ransomware attacks – where data is both encrypted and exfiltrated for ransom – MalBeacon’s report indicates that the Termite ransomware itself was not deployed during the observed intrusion. This suggests that the observed activity may have been a reconnaissance or staging phase, preparing for a future ransomware deployment, or that the group is diversifying its tactics beyond solely ransomware attacks.

Termite ransomware has previously targeted high-profile organizations, including SaaS provider Blue Yonder and Australian IVF giant Genea, demonstrating its potential for significant disruption and data compromise.

The ClickFix technique is not unique to Velvet Tempest. Sekoia reported in April 2025 that the Interlock ransomware gang also utilized this social engineering method to gain access to corporate networks. This indicates a growing trend of threat actors adopting this technique, highlighting the importance of user awareness and robust security training.

The observed attack chain demonstrates a sophisticated understanding of Windows internals and a willingness to leverage legitimate system tools for malicious purposes. The use of nested cmd.exe chains, finger.exe, csc.exe, and PowerShell, combined with the social engineering aspect of ClickFix, creates a complex and challenging threat landscape for security professionals. Organizations should prioritize user education, endpoint detection and response (EDR) solutions, and robust network segmentation to mitigate the risk of falling victim to these types of attacks.