Cyber Security News

Hackers Use Fake Cloudflare CAPTCHA to Deploy TerminalFix Reverse Tunnel

A newly documented TerminalFix campaign is using fake Cloudflare CAPTCHA prompts to trick users into manually executing malicious PowerShell commands, ultimately turning compromised Windows devices into reverse-tunnel pivot points for attackers.

Microsoft said the activity targets organizations through compromised websites that replace legitimate content with a convincing Cloudflare Turnstile-style “Verify you are human” overlay.

Rather than exploiting a browser vulnerability, the campaign relies on social engineering to persuade victims to copy and run attacker-provided commands.

Hackers Use Fake Cloudflare CAPTCHA

The technique is a variation of ClickFix, a growing social engineering method in which victims are instructed to execute commands to resolve a fake browser error, CAPTCHA, or security error.

Microsoft calls this variant TerminalFix because it moves the execution step away from the Windows Run dialog and into Windows Terminal or PowerShell.

After a victim clicks the fraudulent CAPTCHA prompt, the site copies a malicious command to the clipboard and tells the user to open Windows Terminal or PowerShell and paste it.

TerminalFix attack chain (Source: Microsoft)

The command downloads a ZIP archive, extracts its contents into a concealed directory under ProgramData, and starts a batch file in the background.

The downloaded archive includes the legitimate Microsoft-signed LockScreenContentServer.exe binary and a malicious dui70.dll library.

Attackers abuse DLL sideloading by placing the rogue DLL in the executable’s application directory, causing the trusted Windows binary to load and execute the malicious code. The DLL decodes an obfuscated resource in memory before launching a second-stage PowerShell payload.

That payload retrieves apparently harmless PNG images from attacker-controlled infrastructure, then extracts hidden payload data from their pixel channels. It reconstructs a portable executable and DLL from the image files before deleting the original downloaded components.

The malware also establishes persistence through a Registry Run key and a scheduled task configured to relaunch LockScreenContentServer.exe every 60 minutes.

The attackers further conceal their staging folder by applying system and hidden attributes to the ProgramData directory. Microsoft observed the campaign gathering system information and conducting extensive Active Directory reconnaissance.

Fake Cloudflare  (Source: Microsoft)

The malware enumerates users, computers, trusts, domain administrators, and potentially valuable internal services, including domain controllers, databases, backup systems, gateways, and mail servers.

Most significantly, the operation deploys an embeddable Python runtime and a custom client.py implant launched through pythonw.exe. The implant connects to gitnow[.]dev over TLS on port 443, upgrades the connection to WebSocket, and relays arbitrary TCP traffic.

Its SOCKS5-style handling enables operators to reach internal IPv4, IPv6, or hostname-based targets accessible from the infected endpoint.

Although Microsoft did not observe follow-on intrusion actions in the analyzed chain, the combination of internal reconnaissance and reverse tunneling makes infected systems potential footholds for lateral movement, credential theft, data exfiltration, or ransomware deployment.

Defenders should investigate users who interacted with suspicious CAPTCHA prompts or executed unusual PowerShell commands.

Priority indicators include LockScreenContentServer.exe running outside C:\Windows\SystemApps, hidden ProgramData folders, dui70.dll beside the executable, suspicious Run keys or scheduled tasks, pythonw.exe activity, and outbound connections to suspected tunnel infrastructure.

Organizations should restrict unnecessary use of PowerShell and Windows Terminal, enable script block logging, and apply application control policies. User training should reinforce one rule: legitimate CAPTCHA pages never ask users to paste commands into a terminal.

Give your security team the visibility and context to investigate suspicious activity faster and contain threats before business impact grows. Strengthen Your Investigations with ANY.RUN

Eswar

Eswar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

2 days ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

2 days ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

2 days ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago