What is happening
ClickFix is a trick. A visitor lands on your page and sees a fake CAPTCHA, browser error or "fix this problem" box. The page quietly copies a command to their clipboard, then tells them to press Windows+R (or open a terminal), paste, and press Enter. If they do, they install password-stealing software on their own computer.
Your website is only the delivery vehicle. Attackers get in through an out-of-date plugin or theme, a stolen or weak admin password, or a compromised hosting account, and then add a small piece of JavaScript to your pages. It usually does not change how your site looks to you, and it is often shown only to some visitors, which is why owners rarely notice.
Before you start
- Do not open the infected page on a computer you care about, and never paste or run anything a page asks you to. To inspect it safely, use "View page source" (Ctrl+U) instead of letting the page run.
- Make a full copy (files and database) of the site as it is now. You will want it as evidence and in case something goes wrong during cleanup.
- If you or anyone on your team did follow a "verify you are human" instruction on a Windows computer, treat that computer as compromised. See the last section.
Find the injected code
- Open your home page, press Ctrl+U to view the source, then use Ctrl+F to search for the domain our listing shows (we show it with brackets like example[.]com; remove the brackets when searching).
- Search the source for other warning signs: a <script src="..."> that points to a domain you do not recognize, long unreadable strings, "atob(" (hides code), "clipboard" or "execCommand" (copies text to the visitor), or a page that adds an overlay with "verify".
- If you use WordPress, the code is often in your theme (header.php, footer.php, functions.php), in a plugin, in a "custom HTML" widget or header/footer scripts setting, or stored in the database (the options table and post content). Search all of them for the same domain.
- Check for files you did not add, especially recently changed .js and .php files in uploads, theme and plugin folders. Your host's file manager can sort by date modified.
- Look for administrator accounts you did not create, and for changes to .htaccess.
Clean it up
- Best option: restore a backup from before the problem started. The listing shows when it was first reported, so choose a backup earlier than that.
- Update everything immediately: WordPress or your CMS, every plugin and every theme. Delete plugins and themes you do not use. Old, unpatched plugins are the most common way in.
- Remove the injected code from every place you found it. If you are not certain you found all of it, restore from a backup instead of editing by hand.
- Change every password and key that could have been exposed: hosting account, CMS administrators, database, FTP/SFTP, and any API keys stored on the site. Do this from a computer you trust. Turn on two-factor sign-in wherever it is offered.
- Remove unknown administrator users and rogue files. Ask your hosting provider to scan the account and to check their logs for how the attacker got in.
- Reload your pages in a private window and view the source again to confirm the code is gone. Check from more than one device, since the code may only show to some visitors.
After cleanup
- If Google or a browser shows a red "deceptive site" warning, open Google Search Console, find "Security issues", and request a review once the site is clean.
- Set up automatic updates and daily backups kept somewhere other than the web server.
- Threat lists are not always updated quickly. Do not be surprised if your domain still appears here for a while after you fix it.
When to call a professional
- You cannot find the code, or it comes back within a few days. That means the attacker still has a way in.
- Your site takes payments or holds customer accounts or personal data. You may have legal duties to notify people, and a specialist can tell you what applies.
- You have no clean backup.
- Your hosting provider will not help. A web security or incident-response firm can do a one-off cleanup. Ask for a fixed price.
If someone ran the pasted command
Assume that computer is infected with software that steals saved passwords and sessions. From a different, clean device: change the passwords for email, banking, your website and hosting, and anything else used on the infected machine, and sign out all sessions. Then have the infected computer scanned and, ideally, wiped and reinstalled. Tell your bank if financial accounts were used on it.
This is general guidance, not legal or professional advice. Check a site again after you make changes.