ClickFix attacks are evolving from simple malware delivery into multi-stage intrusion chains that can lead to persistence, lateral movement, domain compromise, and long-term remote access.
Traditionally, ClickFix relies on social engineering to convince users to paste and execute a malicious command in PowerShell, Windows Terminal, or the Run dialog. Recent campaigns show attackers increasingly using that initial execution step as a launch point for broader network compromise.
Malvertising and Compromised Websites Deliver ClickFix Lures
Recent ClickFix campaigns have relied heavily on malvertising, typosquatted domains, and compromised legitimate websites.
In one case, a user searching Bing for the legal research service Westlaw clicked a sponsored ad and was redirected through multiple domains before reaching a fake Westlaw page containing ClickFix instructions.
Other campaigns used search terms related to LinkedIn and real estate, while compromised websites were also modified to display fake verification prompts.
One compromised dental practice website presented visitors with a fake Cloudflare “Verify that you are human” challenge after they interacted with a consent pop-up or clicked elsewhere on the page.
Fake Verification Prompts Are Becoming More Convincing
Attackers are also improving the visual quality of ClickFix lures.
After a victim completes a fake verification step, the malicious command is automatically copied to the clipboard. The user is then instructed to paste it into PowerShell or another Windows interface.
Researchers observed campaigns that added colored terminal output and progress messages to make malicious execution appear like a legitimate verification process.
In one case, the PowerShell command created an entire fake Cloudflare Security Challenge window with progress bars that changed state as the malware downloaded and executed.
ClickFix Used for Lateral Movement
One recent intrusion demonstrated how ClickFix can be used to progress from a single compromised workstation to critical Windows infrastructure.
After initial execution, attackers:
- Enumerated Active Directory using built-in Windows utilities.
- Established a reverse SSH tunnel to external infrastructure.
- Used Windows Remote Management (WinRM) for lateral movement.
- Reached a primary domain controller.
- Created a new user account.
- Attempted to add the account to a local administrators group.
Other observed ClickFix campaigns have spread across multiple systems, including Windows servers and domain controllers, before defenders interrupted the activity.
DuskDesk RAT Disguised as Legitimate IT Software
In separate incidents, ClickFix delivered a malicious MSI package that installed DuskDesk, a Node.js-based remote access trojan.
The malware was named to resemble RustDesk, a legitimate remote administration tool, likely to reduce suspicion.
Persistence was established through a Windows Run key, allowing the RAT to restart automatically when the user logged in.
Once active, the compromised host connected to attacker-controlled infrastructure, potentially giving operators persistent remote access.
Malware Hidden Inside Image Files
Attackers have also combined ClickFix with steganography to conceal executable payloads inside PNG images.
During one campaign, a fake Cloudflare verification ran while the pasted command extracted a ZIP archive and launched a script that downloaded image files.
Those images contained complete executables embedded within their data. The script reconstructed the programs on disk and executed them.
Persistence was then established through:
- Scheduled tasks.
- Windows Run keys.
This technique can help malicious payloads evade basic file inspection and network security controls because the downloaded content initially appears to be ordinary image data.
Browser Cache Used to Stage Malware
Another ClickFix chain used the browser cache to place a payload on the target system before the user executed the pasted command.
When a compromised website loaded, it stored a specifically sized file inside the browser cache.
The ClickFix command then searched the cache for a file matching that size, copied it into the Windows Temp directory as a batch file, and executed it.
This allowed the attackers to stage the payload before the user completed the social-engineering step and then trigger multiple secondary components afterward.
Defending Against ClickFix Attacks
Organizations should treat ClickFix as more than a malware-delivery technique because successful execution can quickly develop into a broader intrusion.
Key defensive measures include:
- Train users never to paste commands into PowerShell, Windows Terminal, or the Run dialog at a website’s request.
- Use application control and allowlisting to restrict execution of untrusted binaries and scripts.
- Monitor for browsers spawning
cmd.exe, PowerShell, or Windows Terminal. - Detect encoded PowerShell commands and execution-policy bypasses.
- Watch for unexpected scheduled tasks and new Run keys.
- Investigate unusual outbound SSH connections.
- Monitor WinRM activity and unexpected Active Directory enumeration.
- Correlate behavioral sequences instead of relying only on file hashes or domains.
The most effective detection strategy is to monitor the full attack chain — from browser interaction and command execution through persistence and lateral movement — because ClickFix payloads, domains, and filenames can change rapidly between campaigns.

Leave a Reply