Fake Captcha Scams That Ask You to Paste a Command
A neighbour called me last spring because her laptop had started behaving oddly. She had been trying to watch a film on a streaming site she had used before, hit a page saying she needed to verify she was human, and followed the three...

A neighbour called me last spring because her laptop had started behaving oddly. She had been trying to watch a film on a streaming site she had used before, hit a page saying she needed to verify she was human, and followed the three steps it gave her. Press one key combination. Press another. Press enter. Nothing visibly happened, the film never played, and four days later her email account was sending messages she had not written.
She had not clicked a bad link or opened an attachment. She had typed the attack in herself, which is exactly the point of it. This family of scams is usually called ClickFix, and it has spread fast over the last two years because it sidesteps nearly every defence built around tricking a user into downloading something. There is no download. The victim is the delivery mechanism.
What the page looks like and what it is really doing
The page imitates a verification screen. Sometimes it is a captcha with a tick box, sometimes a message saying your browser needs to be updated to view the content, sometimes a fake error claiming the document failed to load. The styling is usually good, because it has been copied from a real service.
The instructions are the part that should stop you cold. They ask you to press the Windows key together with R, then press Control and V, then press Enter. On a Mac the equivalent asks you to open Terminal and paste. Those three steps do something very specific: the Windows key with R opens the Run dialog, which hands anything typed into it straight to the operating system. Control and V pastes whatever is on your clipboard. Enter runs it.
What is on your clipboard was put there by the web page. A line of JavaScript on the page copied a command to your clipboard the moment you clicked the tick box, without asking and without any visible sign. You then paste a command you have never seen and run it with your own user account's permissions.
The command itself is usually built to be unreadable. It starts with something harmless looking, often a fake verification code or a long run of spaces so that the real content sits off the visible edge of the Run box, and it ends by calling a Windows tool that is already on the machine. Common choices are the PowerShell interpreter, the script host, or mshta, all of which are legitimate programs that happen to be able to fetch and execute code from a remote address.
Why the usual advice does not catch this one
Three defences people rely on fail here, and it is worth understanding why rather than simply adding another rule.
Checking the address bar often does not help. These pages regularly sit on genuine websites that have been compromised, or on advertising networks loaded inside a legitimate page. My neighbour's streaming site was a real site she had used for two years. The padlock was there, the certificate was valid, and none of that says anything about whether a page has hostile script on it.
Antivirus has a hard time too. Nothing arrives as a file at first. The initial step is a command typed by the authorised user of the machine, calling a signed Microsoft program, which is the sort of activity that generates a great deal of noise in normal use. Some security tools now watch for the specific pattern of a script interpreter launched from the Run dialog, and that is a genuinely useful detection, but plenty of consumer products still do not.
And the advice to avoid suspicious downloads misses the mechanism entirely. There is nothing to decline. The dialog that would normally ask whether you want to allow an app to make changes may never appear, because the first stage runs with the permissions you already have, which on most home computers is enough to read your browser profile.
What usually lands is an infostealer. Within roughly thirty seconds of running the command it copies saved browser passwords, session cookies, autofill data, cryptocurrency wallet files and sometimes a list of installed software, then sends them out and often deletes itself. The session cookies are the part people underestimate, because a stolen session cookie lets someone into an account without needing the password or the two factor code.
The one rule that does catch it
No legitimate website has ever needed you to press a keyboard shortcut to prove you are human. Not one. Verification happens inside the page, by clicking, dragging a slider, or picking images. The moment a page gives you instructions involving the Windows key, the Run dialog, Terminal, or PowerShell, you are looking at an attack regardless of how convincing the rest of it is.
That rule is narrow enough to teach to anyone in a single sentence, which is why I prefer it to a general warning about suspicious pages. It is also durable, because the attack cannot work without asking the victim to run something, so the tell cannot be designed out.
The same families of pages show up in other wrappers. Fake meeting invitations claiming your conferencing client needs a fix, fake document previews on file sharing links, comments under video posts offering a tool for downloading, and automated replies on code hosting sites pointing developers at a page with setup instructions. The wrapper changes constantly and the three step instruction does not. If you want the broader version of this skill, the piece on spotting a fake site that copies a real one covers the visual side of the same problem.
If you already ran it
Assume the browser passwords and sessions are gone and work from there. Speed matters more than thoroughness in the first hour, and the order below is the one I used with my neighbour.
- Disconnect the machine from the network. Pull the ethernet cable or turn off the wireless adapter. Leave the computer switched on, because some of what you need to look at later lives only in memory and in temporary files.
- From a different device, change the passwords that matter most. Email first, because it controls password resets for everything else, then banking, then anything holding money or customer data. Doing this from the infected machine simply hands over the new passwords too.
- Sign out of all sessions everywhere. Every major provider has a security page with an option to end all active sessions or log out of all devices. This is the step that defeats stolen cookies, and skipping it means the password change achieves very little.
- Check what the command left behind. Press the Windows key with R on the affected machine and look at the drop down history, which still holds the pasted line and tells you what ran. Then look at Task Scheduler and at the list of programs set to start with Windows for anything added that day.
- Rebuild rather than clean, if the machine holds anything valuable. A full reinstall from a known good source is the only answer I am confident in after an infostealer. A scan that finds nothing is not reassuring, because many of these payloads remove themselves once the data is sent.
Afterwards, turn on two factor authentication on every account that offers it, and prefer an authenticator app or a hardware key over text messages. Then stop storing passwords in the browser, since the browser profile is the single file this whole class of malware is designed to read. A separate password manager with its own encryption and a locked vault is a meaningfully harder target, and the options are set out in the passwords and accounts section.
One more thing for anyone looking after a family or a small team. Teach the rule rather than the story. People remember a short prohibition far better than a description of an attack, and the prohibition here is genuinely simple: nothing on the internet needs you to open the Run box. Other current attack patterns and how to recognise them are collected in the threats and attacks section.
FAQ
Does this attack work on a Mac or a phone?
On a Mac, yes, with a version that asks you to open Terminal and paste a line, usually framed as a fix for a playback problem. Phones are largely safe from this particular trick, because neither Android nor iOS gives a web page a route to a command prompt. The same pages often show phone users a fake app store prompt instead.
I pasted the command but did not press Enter. Am I affected?
Almost certainly not, as nothing runs until Enter. Close the Run dialog, copy some harmless text to clear your clipboard, and close the page. If you want to be careful, run a full antivirus scan and check your Run history to confirm nothing executed.
Will a VPN protect me from a fake captcha page?
No. A VPN encrypts traffic between you and the VPN provider, which does nothing about a page you visit willingly or a command you type yourself. Treat it as a privacy tool rather than a defence against this.
How can I tell whether a real captcha is genuine?
Genuine verification stays inside the browser window and asks only for mouse or touch input. It never references your operating system, never names a key combination, and never asks you to leave the page. Anything beyond clicking inside the frame is a reason to close the tab.
More in Threats and Attacks
Threats and Attacks
Evil Twin Wi-Fi Attacks and How to Spot the Fake
You sit down in an airport with forty minutes to kill and your phone has already joined something called Airport Free WiFi.
Threats and Attacks
SIM Swap Attacks and How to Protect Your Number
Your phone drops to no service in the middle of a Tuesday afternoon.
Threats and Attacks
How Credential Stuffing Attacks Work and How to Stop Them
You get an email saying someone logged into your food delivery account from another country, and you never shared the password...