Short answer: disconnect from the internet, quit and delete the suspicious app, remove its login items and background items, delete related files in the LaunchAgents and LaunchDaemons folders, revoke privacy permissions (Accessibility, Full Disk Access, Screen Recording, Input Monitoring), remove unknown configuration profiles, update macOS and run a reputable scanner. Then change important passwords from another device, because many Mac trojans are info-stealers that grab browser passwords, cookies, crypto wallets and Keychain data.
Mac trojans usually arrive disguised as something useful: cracked apps, fake browser or video player updates, “free” utilities, fake meeting apps sent during social engineering, or malicious search ads for popular software. Recent macOS info-stealer families, documented by security researchers, have been sold as a service and often ask the victim to type their Mac password into a fake dialog, which then lets them access Keychain items.

Signs of a Mac trojan
Watch for an app you do not remember installing, unexpected password prompts from apps (especially right after opening a download), new login items, browser changes, accounts being accessed or crypto wallets drained, high CPU or fan activity, or macOS warnings from XProtect that malware was detected.
Step 1: Disconnect and protect accounts
Turn off Wi-Fi to stop data being sent. From a different device, change passwords for email, Apple Account, banking and any account saved in your browser, then sign out of all sessions to invalidate stolen cookies. Move any cryptocurrency to a new wallet created on a clean device if wallets were on the Mac.
Step 2: Quit and delete the app
Open Activity Monitor, find processes belonging to the suspicious app and quit them. Delete the app from Applications and empty the Trash. If you opened a disk image (.dmg) or installer recently, delete it from Downloads too.
Step 3: Remove persistence
Go to System Settings > General > Login Items & Extensions, remove unknown items under Open at Login and switch off unknown items under Allow in the Background. In Finder, use Go > Go to Folder to check ~/Library/LaunchAgents, /Library/LaunchAgents and /Library/LaunchDaemons, and move suspicious .plist files to the Trash. Also look in ~/Library/Application Support for folders with unfamiliar names. Do not delete com.apple items or files from software you trust.
Step 4: Revoke privacy permissions
In System Settings > Privacy & Security, review Accessibility, Full Disk Access, Screen & System Audio Recording, Input Monitoring, Automation and Files and Folders. Remove apps you do not recognise. Trojans request these permissions to spy, control the Mac or read your files.
Step 5: Check profiles and sharing
Remove unknown configuration profiles under Privacy & Security > Profiles (on personal Macs). In General > Sharing, turn off Remote Login, Remote Management and Screen Sharing unless you use them.

Step 6: Update and scan
Install the latest macOS updates; Apple’s XProtect and its malware removal engine are updated automatically and can remove many known trojans. Run a scan with a well-known Mac security tool downloaded from the vendor’s official website as a second opinion.
Step 7: Reinstall macOS if needed
If the trojan was sophisticated, kept returning, or you are unsure you removed everything, back up personal files (not apps), then erase the Mac. On Apple silicon and T2 Macs, use System Settings > General > Transfer or Reset > Erase All Content and Settings, then set up as new and reinstall apps from trusted sources.
Prevent Mac trojans
Download apps from the Mac App Store or developers’ official sites, be wary of search ads for software downloads, never bypass Gatekeeper warnings for apps you are not sure about, never type your Mac password into a dialog that appears after opening an unexpected file, and keep macOS updated. Be suspicious of anyone, including “recruiters” or meeting contacts, who asks you to install an app or run a Terminal command.
How Mac trojans actually get in today
Most Mac infections still require the victim to run something. Security researchers at Sophos, Palo Alto Networks Unit 42 and Microsoft have documented Atomic macOS Stealer (AMOS) and similar infostealers being sold to criminals as a service and spread through a handful of repeatable tricks. Knowing which one fooled you tells you what to look for.
| Delivery trick | What you saw | What it usually means |
|---|---|---|
| Cracked or “free” app, or a search ad for popular software | A .dmg asking you to right-click or drag an icon, sometimes with on-screen instructions to bypass a warning | An unsigned stealer disguised as the app; often asks for your Mac password |
| Fake CAPTCHA or “fix” page (ClickFix) | A web page telling you to open Terminal and paste a command to “verify you are human” or fix an error | The command downloads and runs malware directly, skipping Gatekeeper |
| Fake browser or video player update | A pop-up on a website saying your browser is out of date | Browsers update themselves; this is a trojan installer |
| “Job interview” or meeting app | A recruiter or contact asks you to install a specific meeting or coding app | Targeted stealer, often after crypto wallets |
If you pasted a Terminal command from a web page, treat the Mac as compromised even if nothing visible happened.
Terminal checks to confirm what is running
These read-only commands show persistence and app signatures. They do not change anything.
- Background items macOS knows about:
sudo sfltool dumpbtmlists every login item, launch agent and daemon registered with Background Task Management, including the path to each executable. Look for items pointing into/tmp,/Users/Shared, hidden folders (names starting with a dot) or random-named files. - Loaded non-Apple jobs:
launchctl list | grep -v com.appleshows jobs currently loaded in your user session. - Is an app genuinely signed?
codesign -dv --verbose=4 /Applications/AppName.appshows the developer and Team ID;spctl -a -vv /Applications/AppName.appshows whether Gatekeeper accepts it and whether it is notarized. An app claiming to be from a well-known company but signed by someone else, or not signed at all, is a red flag. - Where did a file come from?
xattr -l ~/Downloads/file.dmgmay show a quarantine attribute recording which app downloaded it.
Write down suspicious paths before deleting anything, so you can check the same locations again after a reboot.
Gatekeeper changed in macOS Sequoia, and attackers adapted
Older guides tell you to Control-click an app and choose Open to bypass a Gatekeeper warning. Since macOS Sequoia (15), that shortcut no longer overrides the warning; you have to go to System Settings > Privacy & Security and choose Open Anyway. That is why many fake installers now include step-by-step screenshots telling you to do exactly that, or skip apps altogether and ask you to paste a Terminal command. Any download that comes with instructions for getting past a security warning should be treated as hostile.
Contain the stolen data: a priority list
Infostealers typically grab everything at once within seconds of running, so cleaning the Mac does not undo the theft. Work through this from a different, clean device:
- Email accounts: change passwords, sign out all sessions, check forwarding rules and recovery details.
- Crypto wallets: create a new wallet on a clean device and move funds; treat the old seed phrase as known to the attacker.
- Banking and payment: change passwords and watch for new payees or cards.
- Apple Account: change the password and review signed-in devices.
- Everything saved in the browser: stealers take saved passwords and session cookies, so sign out of all sessions as well as changing passwords; a new password alone does not kill a stolen cookie.
- Work accounts: tell your IT team, because stolen work sessions are often sold on to ransomware groups.
Frequently asked questions
Can Macs get trojans?
Yes. Trojans and info-stealers targeting macOS have grown in recent years, usually through user-installed software.
Does XProtect remove trojans automatically?
It detects and removes many known families, but new variants may slip through, so manual checks help.
What data do Mac info-stealers take?
Browser passwords and cookies, Keychain items, crypto wallets, documents and system information.
Should I change my Mac’s login password?
Yes, especially if you typed it into a suspicious prompt.
Related: remove spyware from Mac, remove a keylogger from Mac, remove a rootkit from Mac.
Sources
- Apple Platform Security: Protecting against malware in macOS
- Apple Support: Safely open apps on your Mac
- FTC: How to recognize, remove and avoid malware
- Sophos: Why AMOS matters, the macOS malware stealing data at scale
- Palo Alto Networks Unit 42: Atomic macOS (AMOS) stealer activity
- Microsoft Security: ClickFix campaign uses fake macOS utilities to deliver infostealers



