Mac infostealer: what it steals and what to do first

What a Mac infostealer takes, how it usually gets in, the signs that one ran, and the order to change things in if you think it did. Nothing to download.

On this page
  1. How a stealer gets onto a Mac
  2. What a stealer takes
  3. Signs one ran
  4. What to do first if you think one ran
  5. How to avoid one
  6. Spy Check in Aegisrook
  7. Frequently asked questions
  8. Sources

A Mac infostealer is malware that collects your saved passwords, browser cookies and files, packs them up and sends them to someone else, often within a minute of running. It doesn’t damage your Mac, so there’s usually nothing to see afterwards. If you think one ran, the order matters: change your passwords from another device first, then clean up the Mac.

What a Mac infostealer takes, and what to change for each thing
What a Mac infostealer takes, and what to change for each thing

How a stealer gets onto a Mac

Most stealers need you to run them. They rarely break in. The common routes are:

  • A fake or cracked app. A download from a search ad, a “free” copy of paid software or a fake update. Our guide on how to tell if your Mac has a virus covers other ways malware gets in.
  • A command you paste into Terminal. A page says “verify you’re human” or “fix this error” and asks you to copy a line into Terminal. This trick is called ClickFix. Because you typed it, macOS treats it as something you chose to run.
  • A fake password window. The malware shows a window that looks like a macOS prompt and asks for your Mac password. Your Mac password unlocks the keychain, which holds many of your other passwords.

Names you may see in reports are AMOS (Atomic Stealer), Banshee and Odyssey. They are sold to criminals as a service, so they change often. What they do is the same, so the signs below matter more than the name. The glossary entry for an infostealer has the short version.

What a stealer takes

  • Saved passwords from your browsers.
  • Cookies, which keep you signed in. With a cookie, someone can use your account without the password.
  • Your login keychain, where macOS keeps Wi-Fi and app passwords. Our guide to the Mac keychain explains what’s in it.
  • Documents and your Notes, because people keep passwords in them.

It can’t take what isn’t on your Mac. A password you never saved in a browser isn’t in the list.

Signs one ran

A stealer is built to leave little behind, so check these.

  1. A password window you didn’t expect. A real macOS prompt appears when you install or change something. One that appeared right after opening a download isn’t.
  2. A command a website told you to paste. If you did, assume it ran.
  3. A new item you didn’t add. Some stealers add a login item so they run again after a restart. Open System Settings > General > Login Items & Extensions and read the list. To look at the folders where a startup item is stored, run this in Terminal. It lists names and changes nothing:
Terminal
ls ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemons

Entries from apps you installed are normal, such as a browser updater. A name you don’t recognize is worth searching before you remove it. Our guide on Mac startup items has the full steps.

If you pasted something and want to check what it was, search your shell history for downloads piped into a shell. It prints a count of matching lines and changes nothing:

Terminal
grep -cE 'curl .*\| *(sh|bash|zsh)' ~/.zsh_history

0 means no such line is in your history. It isn’t proof, because a command can also run without going into the history.

What to do first if you think one ran

Work from another device for the first three steps. A stealer still on your Mac can read what you type on it.

  1. Change the passwords that matter most, starting with your Apple Account, your email and your bank.
  2. Sign out of all sessions. Most accounts have a “sign out everywhere” option. This makes stolen cookies useless. For Apple, remove unknown devices as in our guide on an Apple Account that may be hacked.
  3. Check your bank and payment accounts for activity you don’t recognise, and tell your bank if you see any.
  4. Disconnect your Mac from the internet and remove what you found. Our guide on how to remove malware from a Mac has the steps.
  5. Change your Mac password, then your keychain password if it’s different. Apple’s page on updating your keychain password shows how.

If you can’t be sure the Mac is clean, back up your documents (not apps) and erase and reinstall macOS. Apple’s page on erasing your Mac has the steps.

How to avoid one

  • Don’t paste commands from a web page unless you know what they do and where they came from. Apple has a page on Terminal and script protections that explains what macOS does and doesn’t check.
  • Install from the Mac App Store or the developer’s own site, not from a search ad or a “cracked” copy.
  • Keep passwords in a password manager that asks before it fills them, and turn on two-factor authentication.
  • Keep macOS updated. XProtect, the malware check built into your Mac, learns new stealers. See our guide to XProtect.

Spy Check in Aegisrook

Frequently asked questions

What is an infostealer?

An infostealer is malware that collects saved passwords, cookies and files from a computer and sends them to the attacker.

Can a Mac get an infostealer?

Yes. Stealers such as AMOS, Banshee and Odyssey target macOS. They usually arrive as fake apps or as a command you’re tricked into pasting into Terminal.

How do I know if an infostealer ran on my Mac?

Often you can’t tell from the Mac alone. Look for a password window you didn’t expect, a command you pasted, or a login item you didn’t add. If any of those happened, act as if it ran.

What should I do if I ran a stealer?

From another device, change your Apple Account, email and bank passwords, sign out of all sessions and check your bank accounts. Then remove what you found on the Mac and change your Mac password.

Does changing my password stop an infostealer?

It stops the stolen password working. It doesn’t stop a stolen cookie, so sign out of all sessions too.

Does Mac antivirus catch infostealers?

Sometimes. XProtect blocks stealers Apple has seen, and other tools can too. A new one may not be listed yet, which is why changing passwords matters after a suspected run.

Sources

  1. Apple Support, Protecting against malware in macOS.
  2. Apple Support, Terminal and script protections.
  3. Apple Support, If you need to update your keychain password on Mac.
  4. Apple Support, If you think your Apple Account has been compromised.
  5. Apple Support, Erase and reinstall macOS.
  6. Terminal commands and setting names checked on macOS 26.0.1 (25A362), 11 November 2026. The Aegisrook description comes from its detection rules, which are written from public research on stealers.

How we tested. Every step was checked on macOS 26.0.1 (25A362), MacBook Pro (16-inch, 2021, Apple M1 Pro), 11 November 2026. Menus and wording can differ on other versions of macOS.

See what your Mac is really doing

Aegisrook shows every app, connection and permission on your Mac, and tells you when something changes. Pay once and keep it for good.

Notarized by Apple · Built on Apple's Endpoint Security
30-day money-back guarantee