Guide

Cloudflare Human Verification Type CMD Scam: What to Do If a Command Ran

A Cloudflare human verification screen that says “Type CMD” is trying to take you out of the browser and into Windows Command Prompt.

What you do next depends on where you stopped, because opening Command Prompt alone is different from letting unfamiliar text run inside it.

A human verification page behind an empty Windows Command Prompt window

Overview

  • Warning sign: the verification page asks to move from the browser to Command Prompt
  • Browser-only exposure: close the tab and undo only permissions you actually granted
  • Possible command execution: disconnect the PC, scan for Trojans and review your accounts

Why a verification page asks for CMD

CMD is the name Windows uses for its Command Prompt program, which can run instructions outside of the browser.

The fake check borrows the appearance of an anti-bot service to make that switch seem like a normal part of opening a webpage.

Microsoft calls this method ClickFix and has documented fake CAPTCHA pages that put attacker-controlled text on the clipboard without displaying it first.

An apparently routine paste can therefore bring in something different from what a short label on the page suggests.

How genuine Cloudflare checks differ

Cloudflare describes several browser-based challenges, including checks that run automatically and widgets that a website can display.

None of those variants needs you to enter a command in Windows or approve an operating system prompt.

The original website can legitimately remain in the browser address bar during a challenge, so you cannot decide from the domain alone.

Pay more attention to whether verification remains in the webpage or suddenly asks you to leave it to run software.

When the situation becomes a malware concern

The main concern is not the letters CMD but the unknown text the page wants you to run after opening the program.

If you only reached the point where a blank Command Prompt window appeared, that alone is not evidence that malware started.

If you placed the text into a Windows command window and the prompt changed or disappeared, you may not be able to tell from memory what ran.

Take the recovery path if you are uncertain rather than repeating the command to see what happens.

Decide What Happened Before You Start Cleaning Windows

Where you stopped What to do now
Saw the check, then left Close the tab and return through a trusted address.
Clicked the page, but never pasted anything Close the page, clear the clipboard and review permissions you granted.
Opened a blank Command Prompt only Close the window without pasting; opening the Windows tool is not execution.
Pasted, ran text or cannot remember Isolate the PC and follow the Trojan removal and account recovery steps.

Use the most cautious matching row if there were several things on screen and you are not sure which window had focus.

This matters because a pasted command containing line breaks may be processed by some command windows without a separate confirmation.

An antivirus alert, an unfamiliar download or a request to approve Windows changes provides useful additional context after a fake check.

The absence of those signs is not enough to rule out execution when you remember pasting the page’s text into a command window.

A file that just appeared in Downloads is different from a file you opened, and either can be unrelated to the prompt.

Leave suspicious downloads unopened and note their names for anyone helping you, rather than double-clicking them to identify what they contain.

The question is different again if you entered a password into the webpage itself, without using any Windows tools.

Change that password from a trusted device, review sessions immediately, and use the malware steps as well if a suspicious command may have run.

What to Do After the Cloudflare Type CMD Scam

  1. Close the page without continuing its check.

    If you had a real reason to visit the website you started from, open it later through a trusted bookmark.

    Do not retry a link that already sent you to a fake verification screen.

  2. Clear copied text if you clicked but never used it.

    In Windows, open Settings > System > Clipboard and select Clear in the section labeled Clear clipboard data.

    If a related item was pinned in clipboard history, delete it through its item menu, because clearing the list leaves pinned items.

  3. Check notifications if the browser now shows more pop-ups.

    In Chrome, go to Settings, Privacy and security, Site settings and Notifications, then block the site you allowed.

    In Edge, search Settings for Notifications and remove the matching website from the allowed list.

  4. Disconnect the PC if the text may have run.

    Turn off Wi-Fi or unplug the Ethernet cable, and stop using the affected computer to sign into accounts.

    Ask your organization’s IT team for instructions first if the computer is managed by work or school.

Microsoft’s clipboard help describes the Windows controls for removing general history and individual items from the list.

Clearing data is useful before the text runs, but it does not reverse anything Windows already executed.

If notifications are the only change, a targeted site permission adjustment is more useful than wiping the whole browser.

Check for an extension only if you installed one or the browser behavior changed in other ways, and leave unrelated extensions and profiles alone.

For an incident report, describe where the prompt appeared, what you clicked, and the last action you remember in Windows.

Keep any warning already on screen, but do not save or share the suspicious command merely to show someone exactly what it said.

Windows Trojan Removal Guide

Follow these Windows cleanup steps if you ran text from the fake check or might have executed it by pasting.

Do not treat them as required maintenance for anyone who only saw the overlay or accidentally opened an empty Command Prompt window.

Prepare for recovery without exposing more accounts

Use a separate device to read the next steps and get support while the potentially affected PC stays offline.

A workplace responder may want the machine left on but disconnected, so report what happened before scanning, deleting files or changing the setup.

On a personal PC, use the reputable scanners below rather than going back to the page for a suggested repair.

Obtain tools through trusted routes and limit any necessary online time to updates and scanning while you investigate the possible compromise.

Scan Windows with Malwarebytes

Start with Malwarebytes when you need to check a personal Windows computer that might have executed text from the fake verification page.

Its manual Threat Scan and quarantine are available without buying Premium, and the scan report gives you a record of what it found.

Malwarebytes Free for WindowsManual scan and quarantine

Download Malwarebytes

  1. Install Malwarebytes from its own download page.

    If you already have Malwarebytes installed and can update it safely, open the existing copy rather than downloading a second installer.

    For a fresh install, check the publisher shown by Windows and cancel if it does not match the vendor.

    Malwarebytes Setup window with the Install button highlighted

    Follow the setup screens and skip any optional browser extension or paid upgrade that you do not want.

    You do not need to turn on extra features just to check the computer and quarantine confirmed threats.

  2. Open the dashboard and select Scan.

    The Scan button starts a Threat Scan without having to change the advanced settings or schedule a future scan.

    Allow the application to use current detection updates when it is safe to connect the personal machine for that task.

    Malwarebytes dashboard with the Scan button on the Scanner tile highlighted

    Let the scan finish before opening more applications, and keep sensitive accounts closed during the checks.

    If malware prevents installation or repeatedly shuts the scanner down, do not disable your security tools to force the scan.

  3. Review the scan report and quarantine threats.

    Look at the names and paths in the report, then select confirmed threats and choose Quarantine if the program has not done so automatically.

    If you cannot identify a detection that appears connected to important business software, ask for help rather than restoring or running it.

    Malwarebytes Threat Scan results with the Quarantine button highlighted

    Keep a copy of the report before closing the scanner, and restart the personal PC if Malwarebytes requests it to finish quarantine.

    A report showing no detections is useful information, but it does not rule out an earlier account compromise.

Scan with HitmanPro for a second opinion

Run HitmanPro after the Malwarebytes scan finishes, rather than asking two scanners to examine or quarantine the same files at once.

The second scan can help when a command ran without an obvious download or you still have symptoms after the first cleanup.

HitmanPro for WindowsSecond-opinion scanner from Sophos

Download HitmanPro

  1. Download HitmanPro, not HitmanPro.Alert.

    On the download page, choose the HitmanPro version that matches the PC, generally Download 64-bit on Windows 11.

    If you need to check your system type first, go to Settings > System > About and look under device specifications.

    Open the file you intentionally downloaded and check that the publisher shown by Windows matches software from Sophos or SurfRight.

    Do not approve a Windows permission prompt for a file that came from the fake verification page.

    HitmanPro start screen with the Next button highlighted
  2. Start the scan and wait for the results.

    After opening HitmanPro, select Next on the welcome screen and review its terms before you continue.

    Use the one-time scan option if offered and you do not need to keep a copy installed.

    HitmanPro scanning the computer for malware remnants

    HitmanPro uses cloud checks, which is why it may need connectivity during scanning even after the installer opens.

    Finish the scan without returning to the suspicious site or opening accounts that were signed in before the incident.

  3. Review what the second scan found.

    HitmanPro can scan without payment, but it requires an eligible trial or an existing license to remove threats.

    If the trial is unavailable, you can keep the report and ask for help instead of paying to continue with that tool.

    HitmanPro No threats found summary

    If HitmanPro detects a threat and offers removal, review the results, select Next, and activate the free license only if it is available.

    If you see no threats, use Save Log to keep the result without treating it as proof the computer was never compromised.

    When a detection returns or you have evidence of a stolen account session, continue investigating even if the latest scan shows nothing.

Review the reports before making bigger changes

Keep a copy of each scan report so you can see which detections were quarantined and whether they return later.

If software survives a requested restart or security features repeatedly turn off, pause normal use and contact a reputable repair professional.

When there is serious or persistent compromise, ask whether reinstalling Windows from trusted Microsoft installation media is the right option.

Confirm you have working backups, important recovery keys and access to your accounts before deciding whether to erase anything.

Protect the Accounts You Used on the PC

A working browser login can still be useful to an attacker after you scan the device, especially if a program copied session data.

Use a known-good phone or computer for recovery, and make sure you can still access your primary email before changing other services.

Review the account’s signed-in devices, recovery choices and mail forwarding rules, then remove unfamiliar entries before moving on.

For services that offer it, revoke session tokens by signing out other devices rather than relying solely on a new password.

For work accounts, tell your security team which services were open and let them decide which sessions or credentials should be reset.

For personal banking, use the contact information on your card or in the genuine app if you see transactions you did not make.

If everything works after cleanup, review the account activity once more from a trusted device before using the affected PC for payments.

Save the recovery records where you can reach them later, because some unusual account changes are not obvious on the same day.

Frequently Asked Questions

Is a Cloudflare screen that says “Type CMD” always fake?

A genuine Cloudflare challenge does not require opening Command Prompt or entering text into Windows to verify a visitor.

Close the page instead of trying to decide whether its logo, progress indicator or reference number looks authentic enough.

I typed only CMD before I stopped, so am I infected?

Typing CMD to open the existing Windows program is not itself the execution of a harmful command.

If you closed the empty window without pasting or running anything else, clear the unwanted clipboard contents and close the webpage.

What if I pasted but never pressed Enter?

Some command windows may process pasted text that contains line breaks, so not pressing Enter is not a reliable distinction.

If you cannot confirm that nothing executed, isolate Windows and use the cleanup path rather than trying the paste again.

Will these steps work on a Mac?

The two scanners and the Command Prompt instructions here are for Windows, so do not try to translate them into Mac terminal commands.

If a separate lure persuaded you to run something on a Mac, disconnect it and seek help for that device.

Does closing the browser stop something Windows already ran?

Closing the tab stops your interaction with the webpage, but it does not reliably stop a separate process already started by Windows.

If you may have executed the text, isolate the computer and continue with the investigation rather than assuming the risk ended.

Do I need to pay to start checking the computer?

No purchase is required to start scanning with these tools, and the free mode of Malwarebytes can quarantine detections.

HitmanPro can scan without payment, but removing what it finds requires an available trial or a license.

The Bottom Line

Treat a site that wants you to type CMD for human verification as a reason to close the page immediately.

If a command ran or you cannot tell, disconnect the PC and work through the Trojan removal and account checks before resuming normal use.

Join the discussion

0 comments

Share your experience or ask a question about this article.

Discussion

Start the conversation

Have a question or something useful to share? Add the first comment.

Written by

Lapain Epuran

Lapain Epuran investigates product scams, from supplements sold with miracle-cure claims to gadgets pushed through misleading ads. She has more than 10 years of experience in investigations and checks each product's claims, seller and refund terms before giving a verdict.

5,993 articlesWriting since 2024
More from Lapain →

MalwareTips community · since 2010

Stuck on a step? 75,000+ members can help you for free.

Post your question on the forum and our volunteer malware removal experts will walk you through it, step by step.

75K+members
999K+forum messages
100K+forum topics
16+years online

Previous

Davibriar.com EXPOSED – Store Scam or Legit? What We Found

Next

Bronzefuturedev.surf Malware Removal: Fake Cloudflare Verification Scam