You visit a website and see what looks like a normal “I’m not a robot” check. But instead of clicking pictures of traffic lights, it asks you to:
- Press Windows + R
- Press Ctrl + V
- Press Enter
If you do, you’ve just run a command that installs malware. This is a ClickFix attack, and it has quickly become one of the most common ways attackers get into business networks.
At Microsoft Ignite 2026, Microsoft said ClickFix accounted for 12.8% of all intrusions that Microsoft Defender observed between June 2025 and June 2026, and announced a new Defender feature to block it.
How a ClickFix attack works
- The lure. You land on a malicious or hacked web page, often from a search result, an email link, a fake invoice or a malicious ad.
- The fake problem. The page shows a fake CAPTCHA, a fake browser or Word error (“the document can’t be displayed, click Fix”), or a fake Teams or Zoom “update”.
- The hidden copy. When you click the button, the page silently copies a command to your clipboard.
- The instructions. The page tells you to open the Run box (Windows + R), PowerShell or Terminal, paste and press Enter. On Mac, it asks you to paste into Terminal.
- The payload. The command downloads and runs malware, typically an information stealer that grabs saved passwords, browser cookies and session tokens, or a remote access tool.
Why it works: you run the command yourself, so it bypasses many security controls that block downloaded files and email attachments. And the instructions look like a quick, harmless fix.
Warning signs
Be suspicious of any website, email or pop-up that asks you to:
- Press Windows + R, Windows + X or open PowerShell, Command Prompt or Terminal
- Paste something into any of those
- “Prove you’re human” by doing anything other than ticking a box or clicking images
- Fix a document, browser or meeting app by running a command
No real CAPTCHA, website or software update will ever ask you to paste a command into Windows.
How to protect your business
1. Teach one simple rule
The most effective defence is a single sentence everyone can remember:
Never paste a command that a website, email or pop-up asks you to run.
If staff aren’t sure, they should close the page and ask IT. Add ClickFix examples to your phishing awareness training. See our guide to spotting phishing scams.
2. Keep Microsoft Defender up to date
Microsoft’s new clipboard monitor in Defender Antivirus detects malicious commands copied from web content and clears them from the clipboard before they can be run. It’s rolling out to devices running Defender Antivirus. Make sure Defender is on and receiving updates, or that your third-party antivirus or EDR has equivalent protection. See EDR vs antivirus.
3. Remove local admin rights
Many ClickFix payloads do more damage when the user is a local administrator. Standard user accounts limit what the malware can change.
4. Restrict PowerShell and the Run box for most users
For staff who never need them, IT can:
- Use Attack Surface Reduction (ASR) rules in Defender to block obfuscated scripts and executables launched by scripts
- Use AppLocker or App Control for Business to restrict PowerShell and script hosts
- Hide or disable the Run dialog with Group Policy or Intune for non-technical users
Test these on a small group first, because some line-of-business apps rely on scripts.
5. Protect passwords and sessions
Information stealers go after saved browser passwords and logged-in sessions. Use a business password manager instead of saving passwords in the browser, and use phishing-resistant MFA so stolen passwords alone aren’t enough.
What to do if someone ran the command
- Disconnect the computer from the network (unplug or turn off Wi-Fi). Don’t turn it off.
- Tell IT immediately. Note the website and the time.
- From a different, clean device, change the user’s passwords, starting with email, Microsoft 365, banking and the password manager.
- Sign the user out of all sessions (in Microsoft 365: revoke sessions in the Entra admin center), because stolen session cookies can bypass passwords and MFA.
- Have IT scan or rebuild the device before it’s used again.
For more on the first steps after an incident, see you’ve been hacked: the first 5 minutes matter most.
Quick checklist
| Defence | Done? |
|---|---|
| Staff know: never paste commands a website asks for | |
| ClickFix examples in security training | |
| Defender (or EDR) on and up to date | |
| No local admin rights for everyday users | |
| ASR rules / PowerShell restrictions tested and enabled | |
| Passwords in a password manager, not the browser | |
| Incident steps known: disconnect, tell IT, reset, revoke sessions |
ClickFix works because it turns the user into the installer. A clear rule, up-to-date Defender and a few technical controls take most of that power away.
Sources: Microsoft Ignite 2026 Book of News and Microsoft Tech Community endpoint security announcements (November 2026).

