Security & Privacy

ClickFix malvertising campaigns use fake CAPTCHAs to deliver malware

Threat actors use ClickFix malvertising to trick users into executing PowerShell commands via fake CAPTCHA prompts. These multi-stage intrusions have reached high severity in Huntress EDR nearly 99% of the time, allowing attackers to deploy RATs like DuskDesk and access domain controllers.

ClickFix malvertising campaigns use fake CAPTCHAs to deliver malware

Lures and fake checks

I find the shift from simple script downloads to complex, multi-stage network intrusions using ClickFix a significant escalation in threat actor tradecraft. Attackers use malvertising to direct users to fake sites via Bing searches for Westlaw or LinkedIn. After a couple of redirects, including a typosquatted domain, a user searching for Westlaw might land on a fake site containing malicious ClickFix instructions. In another campaign, searches for LinkedIn or real estate led to deceptive, malicious sites. A compromised dental practice website also used the fake Cloudflare "Verify that you are human" check to lure users. When a user clicks "Accept" or anywhere else on the page, a fake CAPTCHA instructs them to press two keys and paste a PowerShell command. To deceive users, attackers have added colored terminal messages or fake progress bars that turn green to simulate a successful verification. This year, ClickFix reached high severity in Huntress EDR nearly 99% of the time. On a specific dental site, the page saved a 17,635-byte file into the browser cache before the user even executed the pasted command. The ClickFix command then searched the cache for that exact file size, moved it to the Temp folder as a batch file, and launched several second-stage payloads.

Evolving execution methods

Attackers have moved beyond dropping single loaders to executing longer sequences of activity. In an incident from early September, one attacker used ClickFix to move from an infected computer to a domain controller. The attacker mapped Active Directory with built-in Windows tools, opened a reverse SSH tunnel to attacker-controlled infrastructure, and used Windows Remote Management to reach the primary domain controller. This allowed them to create a new user account and attempt to add it to the local administrators group. Older incidents also spread through networks. One February case reached a Windows server and two domain controllers, while a May incident reached 11 hosts before defenders stopped it.

I find the use of legitimate-looking software to be a clever way to hide malicious intent. In two separate incidents, a ClickFix campaign delivered an MSI package that installed DuskDesk, a Node.js-based RAT whose name echoes the legitimate RustDesk tool. This malware uses a Windows Run key to stay active after restarts and connects to a remote IP address to give attackers control. The attackers also use steganography to hide executables within the pixel data of PNG images to bypass network monitoring. The command unpacks a ZIP file and runs a script that downloads these images, which the malware then rebuilt on the disk to run and set up a scheduled task for long-term persistence. Defenders should watch for signs such as a browser-launched process spawning cmd.exe or Windows Terminal, and encoded PowerShell or execution-policy bypasses.