Microsoft has discovered a threat campaign utilizing a new ClickFix attack variant designed to deploy reverse tunnels, providing attackers with unauthorized access to victims' internal networks.
The attack, dubbed 'TerminalFix' by researchers, begins with a fake CAPTCHA prompt displayed on compromised websites. Victims are instructed to execute a PowerShell command that has been pre-loaded into their clipboard as part of a purported verification process. Unlike typical ClickFix attacks that often lead to infostealer malware infections, this campaign directs users to Windows Terminal or PowerShell, enabling the execution of more complex, multi-line scripts.
The initial command downloads a ZIP archive containing a legitimate signed executable and a malicious DLL file. The DLL decodes and launches an obfuscated payload directly in memory. For the second stage, attackers employ steganography to hide executables and DLL fragments within the pixel data of three PNG images. The script downloads these images from a command-and-control (C2) server and reassembles the embedded payloads on disk.
Persistence is established through a scheduled task and a Registry Run key, configured to execute every hour. Once active, the malware performs reconnaissance by probing for domain controllers, databases, backup servers, gateways, and mail systems, while also collecting system information and enumerating Active Directory.
A core component of the attack is a custom Python reverse-tunnel module that connects to an outbound address over an encrypted WebSocket. This module supports SOCKS5-style arbitrary TCP proxying, allowing the attackers to instruct the compromised machine to connect to internal IPs, hostnames, and ports reachable from the victim. The reverse tunnel also supports multiplexing for multiple concurrent connections.
Microsoft has cautioned that while hands-on activity was not directly observed, access obtained through this method could be leveraged for lateral movement, privilege escalation, credential theft, disabling security tools, data exfiltration, or deploying ransomware.