ClickFix is a social engineering technique in which an attacker shows a user a fake error message, CAPTCHA, or verification prompt and instructs them to "fix" it by opening a Windows Run dialog or Terminal on a Mac or Linux, pasting a command, and pressing Enter. The attacker has already copied a malicious command to the user's clipboard, so the user unknowingly executes it themselves.
Unlike a traditional phishing attack, a ClickFix attack doesn't require the user to open an attachment or select a malicious link in the conventional sense. Instead, the user runs the payload, allowing the attack to bypass many email and endpoint security controls that look for malicious files or links. ClickFix has become one of the most common social engineering techniques, so your users must be aware of it.
How a ClickFix attack works
A typical ClickFix attack follows the same basic pattern:
- The lure: The user lands on a page, often reached through a phishing email, malicious ad, or compromised website, that displays a familiar-looking obstacle, such as a "Verify you are human" CAPTCHA, a browser or Cloudflare error, a document that "failed to load," or a prompt to update software.
- The "fix”: The page tells the user to press Windows key + R to open the Run dialog or open Terminal on macOS or Linux, paste a command, and press Enter to resolve the issue.
- The clipboard hijack: When the user selects a button on the page, often labeled something like "Verify" or "Fix,” JavaScript on the page silently copies an attacker-controlled command to the user's clipboard.
- The payload: The user pastes and runs a command that downloads and executes malware, all without ever opening a file or seeing a security warning.
How KnowBe4 Simulates ClickFix
KnowBe4 supports ClickFix as a named attack vector in simulated phishing security tests (PSTs), so you can safely test whether your users would fall for this technique.
ClickFix landing pages are available in several familiar lure formats, including:
- Fake browser error pages (for example, a Chrome update error)
- Cloudflare CAPTCHA verification pages
- Word or Office document update prompts
- Microsoft 365 (M365) verification pages
- GitHub authentication pages
ClickFix landing pages detect the user's operating system (Windows, macOS, or Linux) and display the matching command. When a user on a ClickFix simulated test opens the Run dialog or Terminal and pastes the simulated command, running the command is tracked as a distinct failure event, separate from a simple link click. Copying the command, or opening the Run dialog or Terminal without running it, does not count as a failure.
You'll see this ClickFix activity reflected in a few places across your console:
- Reporting: ClickFix appears as its own failure type in the Failure Types, Failure Type Counts, and Failures by Phishing Template reports, and ClickFix failures count toward Phish-prone Percentage.
- Smart Groups: You can build Smart Groups using criteria such as executed a ClickFix command or executed ClickFix commands to automatically enroll or flag users who fail this test type.
- Landing pages: Because a ClickFix command is now a valid trigger for a Secondary Landing Page, in addition to a form-action attribute, you may see updated tooltip text when editing landing pages.
- Webhooks and account timelines: In webhooks, ClickFix failures are reported as Executed ClickFix Command. In the account activity timeline, they are reported as ClickFix Command Executed.
Using ClickFix in Phishing Campaigns
ClickFix is a landing page category, not a separate type of campaign, so you create a ClickFix phishing campaign the same way you create any other phishing campaign. When you choose the landing page for your test, select a landing page from the System > ClickFix category. You can deliver the test by email or by QR code. For the full steps, see our Create and Manage Phishing Campaigns article.