Microsoft reports a real malware campaign (“TerminalFix”) that uses a fake Cloudflare CAPTCHA to trick people into running a malicious command copied to their clipboard. Victims are told to paste the command into Run/PowerShell to “prove they are human,” which starts a multi-stage infection. The end goal is a hidden reverse tunnel that can give attackers remote access into the victim’s network through encrypted traffic over port 443.
How the Attack Worked
TerminalFix is a malware campaign reported by Microsoft that disguises itself as a routine Cloudflare CAPTCHA check. When a visitor clicks the fake verification box, a malicious command is secretly copied to their clipboard without any visible action on the page. The site then tells the visitor to paste and execute that command in Run, Terminal, Command Prompt, or PowerShell to 'prove they are human.' In reality, running that command kicks off a multi-stage infection chain.
Once executed, the malware retrieves payloads hidden inside PNG image files and reconstructs executables and DLLs directly on the victim's disk. The end result is a custom multiplexed reverse TCP tunnel, a hidden remote-access pathway into the victim's network that communicates over encrypted traffic on port 443, making it harder to distinguish from normal web activity.
Why It Succeeded
This technique works because it borrows the visual language of a familiar, trusted interaction, the CAPTCHA, and repurposes it to push a technical action that most people would never think to question. Non-technical staff in particular may not recognize that a genuine CAPTCHA never requires opening a system terminal or pasting a command. The instructions frame the action as necessary to complete a normal task, lowering suspicion at the exact moment a red flag should appear.
Sophisticated versions of this style of attack add countdowns, user counters, or other pressure tactics designed to push people into acting before they think it through. Attackers rely on urgency to discourage careful thought, which is precisely what allows a fake verification step to slip past someone's usual caution.
What to Watch For
- A CAPTCHA or webpage asking you to open Run, Terminal, Command Prompt, or PowerShell and paste a command
- Clipboard content changing or something being copied without you choosing to copy it
- Countdown timers, visitor counters, or other urgency cues on a verification page
- Any instruction framed as required to 'prove you are human' beyond clicking boxes or selecting images
Building Resistance
Organizations can reduce the risk of this style of attack by reinforcing a few concrete habits across all employees, not just technical staff:
- Treat any CAPTCHA or webpage that asks you to paste or run commands as malicious and stop immediately
- Never run code or commands copied from websites, emails, or messages unless you trust the source and fully understand what the command does
- Slow down when a page uses urgency tactics like countdowns or pressure to act quickly
- Verify unusual technical instructions through official documentation or by contacting support before proceeding
Because TerminalFix targets Windows endpoints across any organization, awareness training and helpdesk reporting channels both play a role in catching this pattern early, before a pasted command turns into a persistent remote-access foothold.
Key findings
- Victims are shown a fake Cloudflare CAPTCHA that copies a malicious command to the clipboard when clicked.
- The page then instructs the user to paste/execute the copied command to “prove they are human,” which launches the infection.
- The malware retrieves payloads hidden inside PNG images and reconstructs executables/DLLs on disk.
- TerminalFix’s end goal is a custom “multiplexed reverse TCP tunnel” that creates a hidden remote-access pathway into the victim’s network over port 443.
Who’s being targeted
- Commonly targeted roles: All employees, Helpdesk/IT support (for user reporting and triage), Security awareness training audience, Teams handling endpoint protection and web filtering.
- Affected industries: Cross-industry (organizations with Windows endpoints and corporate networks).
- Attack channels: website.
- Impersonated: Cloudflare CAPTCHA / website verification prompt.
Red flags to watch for
- A CAPTCHA asking you to open Run/Terminal/PowerShell and paste a command
- Unexpected clipboard behavior (something copied without you choosing copy)
- Webpage creates urgency/pressure to act quickly
Frequently asked questions
What is TerminalFix?
TerminalFix is a malware campaign identified by Microsoft that uses a fake Cloudflare CAPTCHA to trick victims into copying and running a malicious command, which starts a multi-stage infection.
How does the fake CAPTCHA trick work?
When a visitor clicks the fake CAPTCHA, a malicious command is secretly copied to their clipboard, and the page instructs them to paste and run it in Run, Terminal, or PowerShell to 'prove they are human.'
What happens after the command is run?
The malware retrieves payloads hidden inside PNG images, reconstructs executables and DLLs on disk, and ultimately builds a custom multiplexed reverse TCP tunnel giving attackers hidden remote access over port 443.
How can someone tell a CAPTCHA is fake?
A real CAPTCHA asks users to click boxes or select images, it will never instruct someone to open Run, Terminal, Command Prompt, or PowerShell and paste a command.
Read the video transcript
You click a Cloudflare CAPTCHA, and suddenly a page says: “To prove you are human, paste this command into PowerShell.” This is TerminalFix malware. That fake Cloudflare CAPTCHA secretly copied a command to your clipboard and tells you to run it in Run or PowerShell, which kicks off a multi‑stage infection and builds a hidden reverse TCP tunnel over port 443. Here’s the giveaway: real CAPTCHAs might ask you to click boxes or pick traffic lights, but they will never tell you to open Run, Command Prompt, Terminal, or PowerShell and paste a command from your clipboard. If any webpage or CAPTCHA tells you to paste or run a command, stop right there and close the page, do not run the command.