Terms

ClickFix

ClickFix is a social engineering technique that tricks users into executing a malicious command themselves, often by copying and pasting it into system tools. Available materials show its use in fake verification pages and campaigns that exploit trust in well-known services or domains to run PowerShell or download malware.

ClickFix is a social engineering technique that persuades users to execute a malicious command themselves rather than downloading a malicious file directly. The trick often involves displaying a seemingly legitimate verification message or page, then asking the victim to copy and paste a command into Windows or another system tool.

How does ClickFix work?

In documented cases, the page displays a fake security check or a message asking the user to prove they are human. It then copies a command to the clipboard and asks the user to open the Run dialog, paste the command, and execute it. The command may launch PowerShell or download an MSI file, ZIP archive, or additional payload.

Documented examples of its use

  • A page associated with a domain commonly used in developer documentation displayed a fake Cloudflare message to copy a PowerShell command to the Windows clipboard, then asked the user to press Windows+R and Ctrl+V to execute it.
  • Another campaign used customized versions of ChatGPT to direct users to a fake page that asked them to run PowerShell. In the cases observed by Huntress, this resulted in the installation of remote-control software.
  • MacSync malware was observed being distributed in ClickFix campaigns targeting macOS devices, alongside fake tools and applications.

What distinguishes the technique?

ClickFix shifts a key part of execution to the victim. Instead of relying on the automatic execution of an attachment, the attacker exploits the user's trust in a page, brand, or familiar domain to persuade them to run the command themselves. Therefore, domain reputation or the presence of a digital signature alone is not enough to determine whether instructions are safe.

Practical indicators and warnings

  • A verification page asks the user to open the Run dialog or a system terminal and manually paste a command.
  • PowerShell or msiexec.exe commands are executed after visiting a web page or from a temporary path.
  • The user is asked to download a file or archive after executing a command copied from the clipboard.
  • Instructions claim that copying and pasting is required to complete a security check or fix a problem.

Prevention

  • Do not execute commands requested by a web page through the Run dialog or PowerShell merely to pass a check or fix an error.
  • Verify messages and instructions through independent channels, and do not treat an apparently legitimate domain as sufficient evidence of safety.
  • Developers should replace registrable hostnames in examples with domains reserved for documentation and review code that makes network requests.
  • Security teams can monitor PowerShell or msiexec.exe execution in unusual contexts, along with scheduled tasks and Registry values that appear after suspicious instructions are executed.

Limits of the available information

The supplied materials establish the existence of ClickFix campaigns and its use to direct users to execute local commands, but they do not provide a comprehensive measurement of the number of victims or its overall prevalence. Some cases also did not confirm successful final infection.