TL;DR: ClickFix attacks trick users into launching system commands through fake verification or update prompts, according to Hoxhunt, turning routine troubleshooting into malware execution and bypassing controls that focus on files or links. Training has to separate browser-based verification from operating-system actions, because the user becomes the installer.
At a glance
What this is: ClickFix is a social engineering attack that turns fake verification pages into prompts for users to run malicious system commands.
Why it matters: It matters because the attack exploits legitimate tools and user behaviour, so identity and endpoint teams need training, reporting, and execution controls that account for human-initiated malware execution.
Context
ClickFix attacks sit at the intersection of phishing, endpoint abuse, and user trust. The page looks like a normal verification, update, or access-error flow, but the real objective is to push the user out of the browser and into an operating-system command path. That shift matters because many security models still assume malicious code arrives as a file, link, or exploit, not as an instruction the user is persuaded to execute.
For identity and access teams, the governance gap is behavioural rather than purely technical. Browser-based challenge flows are familiar, but system-level actions like opening Run, PowerShell, or Terminal belong to controlled administrative processes, not public websites. ClickFix shows why user training, device execution policy, and reporting paths need to be treated as one control set rather than separate programmes.
Key questions
Q: What breaks when a website tells users to run a command to verify access?
A: The trust boundary breaks, because the browser is no longer the only place where verification happens. Once a user is asked to launch PowerShell or Terminal, the attacker has converted a normal-looking prompt into local code execution. That shift bypasses many phishing controls and can lead directly to credential theft, persistence, or additional malware on the endpoint.
Q: Why do ClickFix attacks bypass many traditional phishing controls?
A: They often arrive through search, malvertising, or compromised websites rather than email, so email-centric filters never see them. Because the lure is delivered in a browser and the code is pasted locally, the attack can evade the security stack that assumes suspicious activity will originate from email attachments or links.
Q: How should security teams stop ClickFix attacks before the user reaches the endpoint?
A: Teams should focus on browser-layer controls that detect suspicious paste events, fake verification pages, and malicious command prompts before execution begins. That approach reduces dependence on EDR alone and gives defenders a chance to intervene before the user runs code that the browser and endpoint may interpret as legitimate interaction.
Q: Should organisations block PowerShell and Terminal for all users?
A: Not necessarily, but they should block unnecessary access for users whose roles do not require it and tightly scope where those tools can be launched. The decision is about reducing the chance that a fraudulent browser prompt can turn into execution. The right balance depends on role, device policy, and how much local administration the user group actually needs.
Technical breakdown
How ClickFix turns trust into code execution
ClickFix works by replacing a normal verification flow with a prompt that tells the user to take a system-level action. The page may claim a session expired, a security check failed, or a document needs validation, then instructs the user to open Run, PowerShell, or Terminal and paste a command. That command usually pulls a second-stage payload from the internet or launches built-in tooling. The key mechanic is social engineering, not exploit delivery. The user is convinced to execute code, which means the malicious activity starts inside trusted local tools rather than in a suspicious attachment or download.
Practical implication: Treat browser exits into system commands as an execution alert, not a user convenience issue.
Why legitimate admin tools evade simple detection
PowerShell, Windows Run, and Terminal are legitimate administrative interfaces, so their use is not inherently malicious. Detection rules that only look for unknown executables, macro abuse, or attachment-based malware often miss these sessions because the command interpreter itself is allowed. The attacker benefits from the fact that the command originates from a browser interaction, which can look like normal user work unless the security stack correlates the web prompt with the local process launch. This is why ClickFix can blend into environments where scripting and local command execution are already common.
Practical implication: Correlate browser activity with local process launches and tighten execution rules for standard users.
Why ClickFix is a human-risk and access problem
ClickFix succeeds because it exploits the point where human judgment, endpoint controls, and access workflows overlap. The prompt looks like a verification or access issue, but the underlying aim is to create a path for credential theft, remote access tooling, persistence, or additional malware. In identity terms, the user is manipulated into authorising an action that no legitimate website should require. That makes the attack relevant to awareness, privilege boundaries, and reporting design, not just endpoint hardening.
Practical implication: Define a policy that any web page asking for local command execution is treated as malicious and reportable.
Threat narrative
Attacker objective: The attacker wants the user to execute malicious code locally so the device can be used for credential theft, persistence, and follow-on compromise.
- Entry begins when the user reaches a phishing email, malicious ad, or compromised website that presents a fake verification or access issue.
- Credential or execution abuse follows when the page persuades the user to open Run, PowerShell, or Terminal and paste a command.
- Escalation occurs when the command retrieves additional code, installs remote access tooling, or sets up persistence on the device.
- Impact is achieved when the attacker uses the resulting foothold to steal credentials, deliver more malware, or maintain access on the endpoint.
Breaches seen in the wild
- Meta Muse agent hijack 2026: An undocumented Muse setting let local malware hijack Meta's personal AI agent, steal its authentication material and abuse user access.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
ClickFix is best understood as execution phishing, not ordinary phishing. The attacker is not trying to hand the user a file or obvious payload. Instead, the page persuades the user to perform the final malicious step themselves, which collapses the distinction between social engineering and code execution. That matters because many organisations still train for suspicious links and attachments while leaving the browser-to-shell boundary under-governed. Practitioners should treat any website instruction to run local commands as a control failure in progress.
Browser-based verification and operating-system actions are different trust domains. A page that asks for a checkbox, challenge, or reauthentication step remains inside the browser trust zone. A page that tells the user to open Run, PowerShell, or Terminal has crossed into endpoint execution territory. The governance mistake is allowing that boundary to remain implicit. Security teams should define and communicate that boundary clearly, because the attack works only when users see the transition as normal.
ClickFix exposes a standing assumption that users can safely self-remediate access problems. That assumption is increasingly wrong in environments where adversaries weaponise urgency, familiarity, and legitimate admin tools. The named failure mode is human-initiated malware execution, where the user is trusted to interpret a prompt that should never have reached the endpoint in the first place. The practical conclusion is that reporting, training, and execution policy must be aligned around the same behavioural pattern.
Security awareness needs to shift from examples to patterns. Teaching users to recognise a specific phishing template is less effective than teaching them that no public website should require local command execution. This is especially relevant where identity and device policies assume the user can distinguish harmless troubleshooting from malicious instruction. The programme objective should be to stop the action before the command is run, not to analyse the payload after execution.
ClickFix also shows why endpoint and identity controls have to share a human-risk model. The user’s decision creates the execution path, but the downstream impact lands on credentials, sessions, and device trust. That makes this a governance issue for IAM, SOC, and awareness teams together. Practitioners should view ClickFix as a test of whether the organisation can prevent a user’s trusted action from becoming an attacker’s execution primitive.
What this signals
ClickFix is a reminder that identity and endpoint governance now meet at the point of user execution. When a user is persuaded to run a local command, the problem is no longer just deception. The programme response has to join awareness, device policy, and privilege boundaries so that public webpages cannot become execution triggers.
Browser prompts that cross into local command execution create a behavioural control gap. That gap is more important than the specific lure because the same pattern can be reused across verification, update, and access-error themes. Practitioners should watch for whether their training and technical controls are aligned on one simple rule: browser verification stays in the browser.
Execution phishing will keep expanding wherever users are rewarded for self-service troubleshooting. The more an environment depends on quick local fixes, the more attractive these prompts become to attackers. Teams should prepare for this as a repeatable social engineering pattern, not a one-off Windows shortcut trick.
For practitioners
- Train for the browser-to-shell boundary Teach users that a legitimate website should never require Run, PowerShell, or Terminal to verify access, update a browser, or continue a session.
- Block unnecessary local command execution Restrict standard users from launching scripting tools or command shells that are not required for their role, especially where the browser can trigger them.
- Correlate web prompts with process launches Tune detections to join browser-originated activity with local command execution so a fake verification page is visible as a chained event.
- Simplify reporting for suspicious prompts Give users a low-friction way to report any page that tells them to leave the browser and run a command, then reinforce that pausing is expected.
- Review scripting allowances for common workflows Check whether PowerShell or Terminal access is broadly permitted where those tools are not essential, and narrow permissions to the smallest practical group.
Key takeaways
- ClickFix turns a fake browser verification into user-initiated code execution, which makes the attack harder to catch than attachment-based phishing.
- The core weakness is the trust gap between browser prompts and local command shells, not a specific operating system shortcut.
- Reducing risk depends on clear user guidance, tighter execution rights, and reporting paths that let users pause before they paste or run anything.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | TA0001; TA0002; TA0006 — Initial Access; Execution; Credential Access | ClickFix uses social engineering for initial access and user-run commands for execution and follow-on credential theft. |
| Recommendation — Map ClickFix detections to TA0001, TA0002, and TA0006, then hunt for browser-to-shell execution chains. | ||
| NIST CSF 2.0 | PR.AT-01 — Awareness and Training | The article is explicitly about teaching users to recognise and report fake verification prompts. |
| Recommendation — Use PR.AT-01 to build training that distinguishes browser verification from local command execution. | ||
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | Limiting standard users' access to scripting tools reduces the impact of ClickFix-style execution abuse. |
| IA-5 — Authenticator Management | The attack can lead to credential theft and session abuse after the user runs the command. | |
| Recommendation — Apply AC-6 to restrict shell and scripting access to the smallest set of users who truly need it. Use IA-5 to strengthen credential handling and reduce exposure if the endpoint is compromised. | ||
| CIS Controls v8 | CIS-5 — Account Management | The attack often relies on over-broad user capabilities and unmanaged local tool access. |
| Recommendation — Use CIS-5 to review who can run local command tools and remove unnecessary access. | ||
Key terms
- ClickFix-Style Attack: A ClickFix-style attack uses social engineering to persuade a user to copy and paste malicious content into a browser or application workflow. The danger is not the prompt alone but the execution path it triggers, which can bypass traditional email and login controls.
- Execution phishing: Execution phishing is a lure designed to make the victim execute code or a command rather than merely click a link or open a file. It shifts the security problem from delivery to persuasion, so the defender must protect the boundary between human instruction and local code execution.
- Browser-to-shell transition: The browser-to-shell transition is the point where a web interaction pushes a user out of the browser and into a system command environment such as PowerShell or Terminal. That boundary is important because it converts a web-based prompt into endpoint execution, which changes both the risk and the controls required.
- Human-initiated malware execution: Human-initiated malware execution occurs when a person, usually through deception, runs malicious code on their own device. The malicious payload is not simply delivered to the endpoint, but activated by the user, which often makes the behaviour look legitimate to both the person and the security stack.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and human identity risk in practical terms. It helps security and identity teams connect user behaviour, access controls, and governance across real-world attack paths.
Published by the NHIMG editorial team on October 16, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org