Back to all lessons
Awareness Lessons
last week

ClickFix Social Engineering Delivers Phexia macOS Infostealer via Terminal Trick

Written by AI from the linked story. Not reviewed by an editor. How this works

Phexia spreads by convincing Mac users to manually paste malicious commands into Terminal — a technique called ClickFix that bypasses most traditional security controls because the user themselves executes the payload. Once installed, the malware harvests login credentials, browser data, keychain files, and password manager extensions, giving attackers broad access to a victim's digital life. The use of Polygon blockchain smart contracts to obscure the command-and-control server makes detection and takedown significantly harder. This attack succeeds entirely because users are not trained to recognize that pasting commands into a terminal is equivalent to running arbitrary malware, and because macOS environments often lack endpoint monitoring controls. The malware's modular design and criminal marketplace availability signals a scalable threat with a growing victim pool.

Tactical Insight

Immediate actions

  • Train all Mac users to never paste commands into Terminal from web pages, pop-ups, or unsolicited instructions, regardless of how legitimate the prompt appears.
  • Deploy endpoint detection and response (EDR) tools on all macOS devices to flag unauthorized Terminal executions and suspicious process chains.

Long-term improvements

  • Implement application whitelisting or macOS system extension policies to restrict which scripts and binaries can execute in user contexts.
  • Enforce a privileged access model so that standard user accounts cannot install software or run elevated Terminal commands without MFA-gated approval.
  • Conduct regular phishing and social engineering simulation exercises that specifically include ClickFix-style scenarios targeting macOS users.

Detection measures

  • Enable centralized logging of Terminal and shell activity across all endpoints and ship logs to a SIEM for anomaly alerting.
  • Monitor outbound network connections for traffic to blockchain RPC endpoints or unusual DNS lookups that may indicate C2 communication over decentralized infrastructure.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.