Skip to content
30 November 2026 An independent technology publication
Explainer

Mac malware in 2027: 7 warning signs of fake Terminal fixes

Mac malware now tricks you into running it yourself. Learn 7 warning signs of ClickFix Terminal scams, how AMOS steals passwords, and what to do if you ran one.

Mac malware in 2027: 7 warning signs of fake Terminal fixes, DevQuarry featured image

The most common Mac malware of 2026 did not exploit a bug in macOS. It asked people to install it. In attacks known as ClickFix, a web page shows a fake CAPTCHA or a fake troubleshooting guide and tells the visitor to open Terminal and paste a command. That command downloads an infostealer such as Atomic macOS Stealer (AMOS), which empties the Mac’s saved passwords and crypto wallets within minutes.

At least four security firms, Microsoft among them, published research on this kind of Mac malware between April and June 2026. Microsoft found lures on popular blogging and site-building platforms that posed as guides to freeing disk space (Microsoft Security). Apple responded in macOS 26.4 with a “Paste blocked” warning in Terminal, and attackers responded by moving to Script Editor within weeks.

Below: how these attacks work step by step, seven warning signs with annotated screenshots, a small script I wrote and tested that flags dangerous commands before you run them, and what to do if you already pasted one.

Mac malware in 2027: 7 warning signs of fake Terminal fixes, DevQuarry featured image

The short version

  • ClickFix pages trick you into running Mac malware yourself, usually by pasting a command into Terminal.
  • Lures include fake CAPTCHAs (“verify you are human”), fake disk cleanup guides and fake update pages.
  • The payloads are infostealers such as AMOS. They take Keychain passwords and browser logins, plus crypto wallets.
  • Many ask for your Mac password through a fake dialog that will not close until you type it.
  • macOS 26.4 and later show a “Paste blocked” warning for suspicious commands, but attackers now use Script Editor links to get around it.
  • If you ran one, disconnect first. Then change passwords from another device and move any crypto.

How a ClickFix Mac malware attack works

Mac malware ClickFix attack chain: lure page, pasted command, hidden download, fake password prompt, data theft

The pattern is the same across the 2026 campaigns, with small variations:

  1. You land on a page from a search result, an ad, a compromised site or a post on a blogging platform.
  2. The page shows a fake check (“Verify you are human”) or a fake fix (“Free up 25 GB on your Mac”).
  3. It tells you to press Command + Space, type Terminal, and paste with Command + V. The page has already copied the command to your clipboard.
  4. The command, often Base64-encoded so it looks like gibberish, downloads a script or a disk image and runs it out of sight.
  5. A dialog that looks like a system prompt asks for your password. In the campaign Netskope analysed, the dialog had a single button with no way to close it. It kept reappearing until the password was correct (Netskope).
  6. With the password, the Mac malware copies your login Keychain and browser data into a ZIP archive along with wallet files. It uploads the archive, then deletes its traces.

Some variants of this Mac malware also install persistence. Microsoft found a LaunchAgent disguised as Google’s updater (com.google.keystone.agent.plist) and a LaunchDaemon named com.finder.helper.plist that kept a backdoor running.

What Mac malware like AMOS steals

The 2026 reports list the same targets again and again:

DataWhy attackers want it
Login Keychainsaved passwords for websites and Wi-Fi networks
Browser cookies and sessionslets attackers sign in as you without a password or 2FA code
Saved browser passwords and cardsdirect account and payment access
Crypto wallets (MetaMask, Phantom, Exodus, Electrum)funds can be moved in minutes
Notes and chat app datapersonal messages and saved secrets
Documents (PDF, TXT, DOCX, files named “wallet” or “seed”)recovery phrases and private keys

Netskope’s sample alone targeted 12 Chromium-based browsers, more than 200 browser extensions and 16 desktop wallets. Microsoft and Unit 42 also saw campaigns replace popular wallet apps such as Ledger Live with trojanised versions, so that later transactions went to the attacker.

7 warning signs of a fake Terminal fix

1. A website asks you to open Terminal

No legitimate CAPTCHA or browser update needs Terminal, and neither does a file download. If a web page tells you to open it, close the page. This single rule stops almost every ClickFix attack.

Mac malware lure: a fake verify-you-are-human page with Terminal instructions, the warning signs circled

2. Keyboard steps as a “verification”

Real CAPTCHAs ask you to click images or tick a box. A page that asks you to open Spotlight and paste something is running a script on you, not checking whether you are human.

3. The command is unreadable

Long strings of random-looking letters ending in = are usually Base64. Attackers encode commands so you cannot see what they do. Look also for curl followed by | sh, | bash or | zsh, which downloads a script and runs it without saving it anywhere you can inspect.

Mac malware command in Terminal: a Base64-encoded paste with curl and zsh, annotated to show what each part does

To see what an encoded string really says without running it, decode it in Terminal. The output is printed, not executed:

echo 'PASTE-THE-ENCODED-TEXT-HERE' | base64 -d

In my test, a harmless command encoded this way turned into ZWNobyAiSWYgdGhpcyB3ZXJlIG1hbHdhcmUsIGl0IHdvdWxkIGFscmVhZHkgYmUgcnVubmluZyI=, which is impossible to read until you decode it.

After Apple added Terminal warnings, attackers switched to applescript:// links, which open Script Editor with a script already filled in. Malwarebytes described a lure titled “Reclaim Disk Space on your Mac” that did exactly this, then showed a fake “Freed 24.7 GB” message while the stealer ran (Malwarebytes). If Script Editor opens because of a website, quit it without running anything.

5. A password prompt you did not expect

macOS asks for your password when you install software or change settings you started yourself. A prompt that appears right after you pasted a command, that cannot be closed, or that says it is from “System Preferences” on a Mac that calls it System Settings, is almost certainly malware. Press Command + Q on the app that owns it, or force-quit with Option + Command + Esc.

Mac malware fake password prompt next to Terminal, with the warning signs annotated

6. Pressure and countdowns

Lures often add urgency: a timer, a warning that your disk is almost full, or a counter of how many people “verified” today. Malwarebytes listed countdowns and user counters as common pressure tactics. Slow down whenever a page hurries you.

7. Help from strangers on content platforms

Microsoft’s research found fake macOS troubleshooting guides on free blogging and site-building platforms. A guide there can be written by anyone. For Mac fixes, prefer Apple Support or well-known publications, and still read every command before running it.

Mac malware families to know in 2027

Three stealer families appear most often in the 2026 reports. They are sold or shared among criminal groups, so the same family can arrive through very different lures.

FamilyWhat researchers sawTypical delivery
AMOS (Atomic macOS Stealer)the most widely reported Mac infostealer; fake password prompts, Keychain and wallet theftClickFix commands, fake app downloads, disk images
MacsyncMicrosoft’s loader campaign; in-memory AppleScript payloadBase64 commands on fake troubleshooting pages
SHub (Shub Stealer)browser and wallet theft with remote command executionClickFix script variant

The names matter less than the pattern. Every family in this table needs you to run something first, which is why the warning signs in this guide apply to all of them.

Mac malware in downloads, not just Terminal

ClickFix is the newest delivery method, but older tricks still work. Fake download sites buy search ads for popular apps and serve a disk image that contains Mac malware instead of the real program. Pirated “cracked” apps are another common source.

Watch for these signs when installing anything:

  • The download comes from a site whose address is slightly different from the developer’s real domain.
  • The disk image contains instructions telling you how to get around a security warning.
  • macOS says it could not verify the app is free of malware, and the page you came from told you to expect that.
  • The app asks for your password immediately on first launch, before you have done anything.

Since macOS Sequoia, the old Control-click shortcut for opening unverified apps no longer works; you have to approve them under System Settings, Privacy & Security, Open Anyway. If a download’s instructions walk you through that screen, stop and check the developer’s real website first. Legitimate apps from established developers are signed and notarised and open without it.

Apple’s Terminal paste protection

macOS 26.4 added a safeguard. When you paste a command that looks dangerous into Terminal, macOS can block the paste and show a “Paste blocked” warning instead of running it. Apple also updates XProtect, the built-in malware scanner, with signatures for known stealers.

Mac malware protection: Terminal showing the Paste blocked warning added in macOS 26.4, annotated

These protections help, but they are not a guarantee. Within weeks, attackers were using Script Editor links to avoid Terminal entirely, and Unit 42 later found a campaign whose single pasted command silently downloaded and mounted a disk image, then launched the app inside it (BleepingComputer). Keep macOS updated so you have the newest checks, and treat the warning as a last line of defence, not the first.

What macOS still does for you

Apple’s built-in layers do not stop someone who runs a command willingly, but they catch a lot around the edges, and one of them is an excellent early warning.

ProtectionWhat it does
Gatekeeper and notarisationblocks apps that are unsigned or not checked by Apple, unless you approve them in Privacy & Security
XProtectscans apps for known Mac malware signatures; Apple updates it silently
XProtect Remediatorruns periodic background scans and removes known infections
Background Items Added notificationsince macOS Ventura, macOS tells you when software adds a login item or background task
Terminal paste warningsince macOS 26.4, can block suspicious pasted commands

That notification deserves attention. If you see “Background Items Added” right after running a command from a website, the software has just tried to make itself start automatically. Open System Settings, General, Login Items & Extensions, switch off anything you do not recognise, and follow the cleanup steps above.

How Mac malware lures find you

Nobody goes looking for a fake CAPTCHA. The pages reach people through ordinary browsing: a search result for a common Mac problem, an ad above the real result, a link in a forum reply, or a legitimate website that attackers have compromised. Netskope found that the landing pages check the visitor’s browser first, ignore phones, and serve a Mac or Windows command depending on the computer. To a casual visitor, the page looks tailored and official.

That targeting is why the warning signs focus on what the page asks you to do rather than how it looks. A polished design proves nothing; a request to open Terminal proves a lot.

A Mac malware check you can run before pasting anything

I wrote a short script, paste_check.sh, that reads a command from the clipboard and flags the patterns documented in the 2026 Mac malware reports. It never runs the command. I tested it against harmless look-alikes of each documented technique, plus two ordinary commands:

Test command (harmless look-alike)Result
curl ... \| zsh (script variant)2 warnings
echo ... \| base64 -d \| gunzip \| zsh (loader variant)3 warnings
curl ... -o /tmp/x.dmg && hdiutil attach -nobrowse ... (DMG dropper)2 warnings
curl -s -X POST ... \| osascript (AppleScript variant)1 warning
tmutil listlocalsnapshotdates /no warnings
brew info --sizesno warnings
Official Homebrew installer from brew.sh1 warning
Mac malware check: paste_check.sh flagging a pasted command in Terminal, with the warnings annotated

That last row is useful rather than embarrassing. Homebrew’s real installer also downloads a script with curl and runs it, so the pattern alone does not prove malice. The difference is where it came from: copy it from brew.sh itself, never from a third-party page. The script is in this article’s download package; on a Mac you would run pbpaste | ./paste_check.sh.

What to do if you already ran the command

Act quickly, in this order:

  1. Disconnect the Mac from the internet (turn off Wi-Fi, unplug Ethernet) to stop further uploads.
  2. Move crypto funds from any wallet that was on the Mac to a new wallet created on a different, clean device.
  3. Change passwords from another device, starting with email and your Apple Account, then banking and anything saved in your browser.
  4. Sign out of all sessions. Most big services offer “sign out everywhere”; use it, because stolen cookies work even after a password change until the session ends.
  5. Check for persistence with the command below and look for recently added items you do not recognise.
  6. Scan the Mac with an up-to-date security tool such as Malwarebytes for Mac.
  7. Erase and reinstall macOS if you are not sure the Mac is clean, then restore files (not apps) from a backup made before the incident.
ls -lt ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemons | head -30
Mac malware cleanup: Terminal listing LaunchAgents and LaunchDaemons, with a suspicious recent item circled

The -lt flags sort by modification time, so anything added on the day of the incident appears near the top. Names that imitate Google, Apple or Finder are common; com.google.keystone.agent.plist is a real Google file on many Macs, so judge by the date and the program it launches, not the name alone. If in doubt, ask a professional before deleting system items.

Protecting a Mac against Mac malware stealers

HabitWhy it helps
Never paste commands from websites you do not truststops ClickFix at step one
Keep macOS and Safari updatednewest XProtect signatures and Terminal checks
Use a standard (non-admin) account for daily workmalware gets less without an admin password
Store crypto in a hardware wallet, and keep the seed phrase offlinea stealer cannot copy what is not on the Mac
Use passkeys and app-based 2FAstolen passwords alone stop working
Install software only from the Mac App Store or developers’ own sitesavoids trojanised downloads
Read every command before running it, and type short ones yourselfyou notice what you are doing

Families and small offices benefit most from the second account habit. Mac malware that needs your password to read the Keychain gets nothing when the daily account is not an administrator and nobody types an admin password into random prompts.

Mac malware on work Macs

If the Mac belongs to your employer, tell your IT or security team before you do anything else, even before changing passwords. Stolen session cookies can give attackers access to company email and cloud accounts, and the security team can revoke those sessions centrally and check other machines for the same indicators. Do not try to clean a managed Mac yourself; erasing it can destroy evidence they need.

For IT teams, Microsoft’s guidance is to alert on Terminal or shell processes started by browsers or installers, and on unusual use of curl, base64, osascript and dscl, combined with a ZIP archive followed by an upload. Endpoint security tools for macOS can block much of this chain.

A rule card for family and colleagues

Most people who run Mac malware are not careless; they are busy and the page looked official. Sharing three plain rules does more than any tool:

RuleExample
A website never needs Terminal“Verify you are human: press Command + Space…” is always fake
Never type your Mac password because a web page askedreal macOS prompts come from actions you started
When in doubt, ask before you pastea 30-second message saves a stolen bank login

Printing this for an older relative’s desk, or pinning it in a team chat, is a small effort with a real payoff.

Why Mac malware moved to social engineering

macOS has strong built-in defences against classic malware. Gatekeeper checks that apps are signed and notarised, System Integrity Protection guards system files, and apps need your permission to access protected folders. Exploiting the operating system directly is expensive. Persuading the user to run a command is cheap, and a pasted Terminal command runs with the user’s own permissions, outside most of those checks.

That is also why ClickFix spread across platforms: the same pages serve PowerShell commands to Windows visitors and shell commands to Mac visitors, as Netskope observed. The defence is the same everywhere: a website should never need you to run a command.

FAQ

Can Macs get malware?

Yes. Macs have strong built-in protections, but Mac malware such as the AMOS infostealer spread widely in 2026 by tricking people into running them through fake CAPTCHAs and fake troubleshooting pages.

What is ClickFix?

ClickFix is a social-engineering technique where a web page tells you to copy and run a command, presented as a CAPTCHA check or a fix for a problem. The command installs malware.

Does macOS block ClickFix attacks?

Partly. macOS 26.4 and later can block suspicious pastes into Terminal with a “Paste blocked” warning, and XProtect detects known stealers. Attackers have found ways around both, so caution is still the main defence.

How do I know if my Mac has an infostealer?

Signs include an unexpected password prompt after running a command, new items in your LaunchAgents or LaunchDaemons folders, unknown logins to your accounts, and missing crypto. A security scan can confirm known families.

Is it safe to run Terminal commands from tutorials?

Only when you understand them and the source is trustworthy. Read the command and avoid encoded text. Be careful with anything that pipes curl into a shell. Our guide to useful Mac Terminal commands explains what common commands do.

Can Mac malware steal my iCloud and Keychain passwords?

Yes, if you give it your Mac password. Microsoft’s analysis lists Keychain entries and iCloud data among what these stealers take. Change your Apple Account password from another device and review your trusted devices if you think you ran one.

Does Mac malware affect Apple silicon Macs?

Yes. The 2026 campaigns targeted Macs regardless of chip, because the attack relies on scripts and on the user’s own permissions rather than on exploits for a particular processor. A new M-series Mac is as exposed as an old Intel one.

Do I need antivirus on a Mac?

Not for everyone, but a reputable tool adds web protection and faster detection of new stealers. Keeping macOS updated and refusing to run commands from websites matter more.

The one rule

Mac malware in 2027 depends on your cooperation. A CAPTCHA, a storage fix or a browser update never needs Terminal or Script Editor, and a real macOS password prompt never appears because a website asked for it. Close the page, and if you have already pasted something, follow the steps above today. If you were looking for a genuine way to free up space, our System Data on Mac guide does it without a single encoded command.

About the author Aradhya Chaudhary

Data Scientist | Freelancer | Speaker & Writer skilled in programming, development and building AI/ML backed systems.

More from Aradhya
Keep reading

More in Operating Systems

All of Operating Systems →