ClickFix Targets Mac Users: How macOS 26.4 Protects Terminal and What to Do After Running a Command

Microsoft has documented a ClickFix campaign that shows Mac users a counterfeit download and tells them to run a Terminal command. Here is how macOS 26.4 responds and what to do after execution.

Counterfeit Mac download page beside a macOS warning about a dangerous command pasted into Terminal

ClickFix is now actively targeting Mac users. Instead of delivering a conventional installer, a deceptive page presents a supposed macOS download and persuades the visitor to paste text into Terminal. Microsoft has documented a campaign using that route to deliver the MacSync and Atomic Stealer (AMOS) information stealers. Apple added dedicated protections for pasted commands and malicious scripts in macOS 26.4, but those controls do not make an unknown command safe to run.

This guide separates what happens when you merely visit the page, copy its text, encounter a macOS block, or actually execute the command. It also provides a practical response plan after execution. We intentionally do not reproduce campaign domains, the working command, or loader code: none is necessary for protection, and the infrastructure changes quickly.

This article was checked on August 6, 2026 against Microsoft and Apple documentation. The features described below apply to a Mac running macOS 26.4 or later; warning designs and detection details can change.

What Microsoft observed

Microsoft Threat Intelligence confirmed more than 250 ClickFix front-end domains during its tracking window. Earlier, the lure and concealed command were embedded in the page and visible to ordinary scanners. The operators later added a server-side gate that evaluated browser, display, graphics, time-zone, and runtime characteristics before deciding what to return.

A session resembling a real Mac browser might receive a counterfeit “Download for macOS” page, while Windows, a crawler, or a research environment received a blank or harmless-looking decoy. A one-time check by a scanning service therefore cannot prove the address is safe: its request may receive a different response.

After the victim manually ran the supplied text, the chain fetched further stages from remote infrastructure and ultimately launched an information stealer. Microsoft says AMOS targets credentials, browser stores, cryptocurrency-wallet data, authentication keys, and other sensitive files. This does not mean every page visit caused an infection. The decisive question is whether the user reached execution.

Visiting, copying, pasting, and executing are different events

StageWhat may have happenedHow to assess it
You only opened the pageThe site may have collected a browser fingerprint and displayed the lureThis alone does not confirm malware execution; close the tab and do not download anything from it
You clicked CopyText entered the clipboardCopying is not execution; do not paste it into Terminal or another console
macOS blocked the paste or scriptA protection interrupted that specific actionDo not override it; Apple says the Mac was not harmed by the action when the block occurs
You pasted and ran the commandA multistage download and theft chain may have begunTreat the Mac and secrets available to it as potentially compromised and begin incident response

Why ClickFix changes the normal app-security path

For a conventional app, installer package, or plug-in, macOS uses Gatekeeper, Developer ID checks, notarization, and first-launch approval. Apple outlines those controls in its guide to safely opening apps on a Mac. They are especially relevant when a user downloads a normal application file.

ClickFix changes the route: the user opens the trusted system Terminal and starts the instruction. Microsoft explains that this can avoid parts of the trust path applied to a downloaded app bundle, including normal quarantine handling, signing evaluation, and notarization checks. It is not a complete macOS bypass: XProtect, network controls, permissions, and other safeguards can still intervene.

The three Terminal protections in macOS 26.4

Apple Platform Security describes three independent mechanisms. They form layers: not seeing the first warning does not mean the later protections are disabled, while seeing a warning does not necessarily prove the clipboard text matches known malware.

1. A warning when pasting into Terminal

Terminal can warn about a potentially dangerous paste regardless of its contents. It appears only when the relevant conditions are met: Terminal has not been opened for more than 30 days; no common development tooling such as Xcode or a third-party IDE is detected; and the text comes from a covered browser, Messages, Mail, Preview, or messaging app. A 24-hour grace period follows the Mac’s initial setup.

This is therefore not a universal command filter. A developer, a frequent Terminal user, someone on an older macOS release, or a person who transferred the text through a different route may not see the dialog. An option such as “Paste Anyway” exists for deliberate work, but it should never be selected merely because a website says it is required to finish a download.

2. Pasteboard command blocking

The second mechanism has broader reach, including third-party terminal emulators. When activity originates from pasted terminal text, XProtect traces the resulting process tree, checks related network artifacts against Apple’s Safe Browsing service, and evaluates behavior. A known malicious source or activity consistent with known malware techniques can be blocked and reported to the user.

3. AppleScript and JXA scanning

XProtect is also integrated into OpenScripting for local inspection of AppleScript and JavaScript for Automation. It covers scripts loaded from a file or from memory. When a script matches a known malicious signature, macOS blocks execution. A file-backed script can, in defined circumstances, be deliberately overridden through Finder; an in-memory script cannot be overridden unless it is first saved. An ordinary user should not bypass either block at the direction of an unfamiliar site.

The practical conclusion: macOS 26.4 or later adds meaningful friction to the ClickFix workflow, but protection depends on OS version, paste context, current intelligence, and user choice. It does not replace checking the source.

What to do when macOS displays a warning

  • “Possible malware, Paste blocked.” Cancel the action. This is a contextual warning, not necessarily a verdict on the exact contents.
  • “Malware Detected, Paste Blocked” or “Malicious Script Blocked.” Do not try to run the text or script another way. This indicates a known malicious match or related behavior was blocked.
  • The site tells you to disable protection. Close it. A legitimate CAPTCHA, browser update, or download button does not require pasting a command into Terminal.

If the action was stopped before execution, do not “test” the command by running it again. Clear the clipboard, close the tab, update macOS and the browser, and return to the needed software through the App Store or a developer site you navigate to independently.

What to do if you already ran the command

  1. Stop using that Mac. Do not sign in to email, banking, cloud services, or a wallet, and do not enter new passwords on it.
  2. Disconnect the network. Turn off Wi-Fi and unplug Ethernet. This may interrupt later downloads or exfiltration, but cannot recover data already sent.
  3. Record the context. Note the time, browser, source of the link, and actions taken. Photograph the tab with another device if useful; do not revisit the address or forward the command.
  4. For a work Mac, contact IT or security immediately. Do not delete evidence; logs and current device state can matter.
  5. From a clean device, secure high-value accounts. Prioritize primary email, Apple Account, work identity, banking, and the password manager. Change unique passwords, terminate sessions, revoke app tokens, and verify recovery methods and MFA.
  6. Treat accessible wallet secrets as exposed. Contact the wallet’s official support from a clean device. A seed phrase or private key stored on the Mac may require urgent movement to a new wallet. Never type it on the suspect Mac.
  7. Update macOS and approved security tools before scanning. Check for known malware. Review unknown Login Items, management profiles, browser extensions, and new apps, but their absence does not prove the system is clean.
  8. For high assurance, consider erasing and reinstalling macOS. This matters especially for business secrets, financial records, or crypto keys. Restore documents from a known-good backup, not suspect apps or scripts, and involve a professional when possible.
  9. Notify a bank or service if abuse appears. Monitor sign-ins, forwarding rules, added devices, payments, and account-recovery alerts.

We have a separate guide for the Windows variant of the same social-engineering technique: what to do after running a ClickFix command associated with ACR Stealer. The response principles overlap, but do not apply Windows cleanup commands or file paths to a Mac.

How to reduce the risk next time

  • Keep macOS and the browser current, and never disable XProtect or Gatekeeper because a website tells you to.
  • Get software from the App Store or the developer’s official domain that you reached independently.
  • Treat any CAPTCHA, verification, download error, or support chat that requests a Terminal paste as a scam signal.
  • Use a password manager and unique passwords. This limits password reuse, although it cannot prevent theft of an active session.
  • Maintain tested copies under the 3-2-1 backup rule so recovery does not depend on the suspect Mac itself.
  • Evaluate the message’s context rather than polished visuals; our guide explains how to recognize AI-assisted phishing and other persuasive lures.

Quick answers

Is opening a ClickFix page enough to infect a Mac?

In the campaign Microsoft documented, the main chain required the user to copy and execute the supplied text in Terminal. A visit could expose browser-fingerprint data, but it was not equivalent to malware execution. Other web threats can behave differently, so keeping the OS and browser updated still matters.

Bottom line

ClickFix succeeds through persuasion, not technical magic: it tries to turn the user into the execution step. macOS 26.4 adds a valuable contextual warning, process-tree and network checks, and AppleScript/JXA scanning. The best response to an unfamiliar instruction is to leave the block in place and never run the text. If execution already occurred, isolate the Mac, secure accounts from a clean device, and choose a recovery method that provides confidence proportional to the value of the data.

Discussion

Join the conversation

Stay on topic and respect other readers. Your first comment may appear after editorial review.

Leave a comment

Your email address will not be published. Required fields are marked with an asterisk.

By submitting a comment, you agree to moderation and to the storage of the information you provide under our privacy policy.