Microsoft warns of TerminalFix attacks deploying reverse tunnels
Description
TerminalFix is a new variant of the ClickFix attack that tricks victims into running malicious PowerShell commands via fake Cloudflare CAPTCHA prompts on compromised websites. This attack uses Windows Terminal or PowerShell to execute complex multi-line scripts that download and deploy a multi-stage payload. The payload includes steganographically hidden components and establishes persistence via scheduled tasks and Registry keys. It performs network reconnaissance and deploys a custom Python reverse tunnel over encrypted WebSocket, enabling attackers to pivot into internal networks. Microsoft discovered these attacks in the wild but has not observed active hands-on exploitation. The attack could facilitate lateral movement, privilege escalation, credential theft, disabling security tools, data exfiltration, or ransomware deployment. Recommended mitigations include restricting PowerShell execution, monitoring suspicious processes, hardening endpoints, and investigating lateral movement if compromise is suspected.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
TerminalFix is a ClickFix variant that uses fake Cloudflare CAPTCHA prompts on compromised websites to lure victims into executing malicious PowerShell commands in Windows Terminal. The initial command downloads a ZIP archive containing a legitimate signed executable and a malicious DLL that launches an obfuscated payload in memory. The second stage uses steganography to hide executables and DLL fragments in PNG images downloaded from the attacker’s C2 server, which are reassembled on disk. Persistence is maintained via scheduled tasks and Registry Run keys. The malware performs reconnaissance targeting domain controllers, databases, backup servers, gateways, mail systems, and Active Directory. A custom Python reverse tunnel module connects outbound over an encrypted WebSocket to a remote server, supporting SOCKS5 proxying and multiplexing multiple connections. This tunnel enables attackers to pivot into internal networks discovered during reconnaissance. Microsoft discovered these attacks but did not observe active exploitation. The attack chain enables attackers to potentially perform lateral movement, privilege escalation, credential theft, disabling security tools, data exfiltration, or ransomware deployment.
Potential Impact
If successfully executed, TerminalFix can provide attackers with a reverse tunnel into the victim’s internal network, enabling network pivoting and access to internal resources. This access could be leveraged for lateral movement, privilege escalation, credential theft, disabling security tools, data exfiltration, or ransomware deployment. The attack bypasses typical endpoint protections by using legitimate signed executables and obfuscated payloads loaded in memory. The persistence mechanisms and reconnaissance capabilities increase the risk of prolonged undetected compromise.
Defensive Guidance
Microsoft recommends restricting and logging PowerShell execution to prevent unauthorized script execution. Monitoring for the process 'LockScreenContentServer.exe' running outside its normal path is advised. Hardening browsers and endpoint protections can reduce exposure. If compromise is suspected, investigate for lateral movement and rotate all credentials, including domain administrator credentials accessible from the infected host. These steps align with Microsoft's guidance and address the specific attack techniques used by TerminalFix.
Technical Details
- Classification
- {"confidence":0.3,"severitySource":"heuristic","classifier":"rss-v2"}
Threat ID: 6a95cd61acd9273b49762cdb
Added to database: 08/31/2026, 18:52:17 UTC
Last enriched: 09/08/2026, 16:09:31 UTC
Last updated: 10/04/2026, 03:12:11 UTC
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.