Overview
Last scan: 2 min ago · 6 checks
Security Score
Risky command line: reverse shell
bash connecting out to port 4444
Unsigned item in LaunchAgents
How to Check for Malware on Mac for Free
Quick answer: You can check a Mac for malware for free with what macOS already has: keep it updated so XProtect stays current, review Login Items & Extensions and the LaunchAgents folders, and look in Activity Monitor for unknown apps using a lot of CPU. For a second opinion, Malwarebytes scans free on demand, and CoreLock's free scan (CoreLock is my product) checks running apps, network, permissions, startup items, AI agents and Downloads with no account.
Below: eight free checks in order, the commands for each, and what free tools can't do.
- Make sure macOS, XProtect and Gatekeeper are current and on.
- Look through Activity Monitor for apps you don't recognize.
- List your LaunchAgents and LaunchDaemons.
- Remove browser extensions you didn't install.
- Review Login Items & Extensions.
- Run a free on-demand scan.
- Use a few Terminal commands for a closer look.
- Review Privacy & Security permissions.
The free tools, side by side
| Tool | What it checks | Cost |
|---|---|---|
| XProtect and Gatekeeper (built into macOS) | XProtect looks for known malware; Gatekeeper checks apps from the internet before they open | Free, built in |
| Malwarebytes for Mac | On-demand malware scan | Free scan; its always-on protection is paid |
| LuLu and KnockKnock (Objective-See) | LuLu lets you allow or block outgoing connections; KnockKnock lists what's set to launch automatically | Free; LuLu is open source |
| CoreLock (ours) | Running apps, network, app permissions, startup items, AI agents, and the Downloads folder against known-bad hashes and 19 YARA rules | Free scan, no account |
Of seven paid Mac security suites checked on 2026-10-20, six offer their on-demand malware scan only as a trial; Malwarebytes scans free.
Start With XProtect and Gatekeeper
Apple's built-in defenses come first. Gatekeeper checks apps you download before they open, XProtect looks for known malware, and Apple can revoke an app it later finds to be malicious (Apple Platform Security: Protecting against malware). They only help if they're up to date.
Open System Settings > General > Software Update, click the info button next to Automatic Updates, and make sure "Install Security Responses and system files" is on. That's how XProtect's data stays current.
On macOS 15 or later, you can see which XProtect data your Mac is using:
xprotect version
It prints a version number and the date it was installed (how XProtect changed in macOS Sequoia). On macOS 13 and 14, the install history lists XProtect updates with their dates:
system_profiler SPInstallHistoryDataType | grep -A 4 XProtect
Gatekeeper prevents apps that aren't signed and notarized from opening without your say-so. Check its status:
spctl --status
It should say "assessments enabled". If it doesn't and you didn't turn it off, turn it back on.
These systems aren't perfect. They catch known malware, but they're slower with brand-new threats and with software that's unwanted rather than malicious, like adware bundled into an installer.
Look Through Activity Monitor
Activity Monitor is in Applications > Utilities. It won't tell you whether a process is malicious, but it shows what's running, and that's where the detective work starts.
- Open the CPU tab and sort by % CPU. Look for processes you don't recognize using a lot of processor time. Cryptominers, for example, keep the CPU busy by design.
- Open the Memory tab. An unfamiliar process holding a lot of memory is worth a search.
- Open the Network tab and sort by Sent Bytes. A simple utility that keeps sending data deserves a closer look.
- Double-click any process you don't recognize, then click Open Files and Ports to see where it runs from.
Real Apple processes run from system locations such as /System and /usr. A process with an Apple-looking name that runs from your home folder or /tmp is worth investigating.
Dig into Launch Agents and Daemons
Malware often installs itself as a launch agent or daemon so it starts automatically. Open Terminal (Applications > Utilities) and run these commands:
ls -la ~/Library/LaunchAgents/
This shows launch agents for your user account. Look for .plist files you don't recognize. Names made of random letters, or a "search" or "update" helper for an app you don't have, are worth a closer look.
ls -la /Library/LaunchAgents/
This checks launch agents for every user on the Mac. Same deal: look for names you can't explain.
ls -la /Library/LaunchDaemons/
Daemons run as root, so anything unexplained here matters more.
If you find something suspicious, look at what it runs:
cat ~/Library/LaunchAgents/suspicious-file.plist
Check the ProgramArguments key. Legitimate items usually point inside an app in /Applications, or to a helper in /Library/Application Support or /Library/PrivilegedHelperTools. Programs that launch from /tmp, a hidden folder or a folder with a random name are a red flag. Before deleting anything, search the file's name: plenty of legitimate apps install agents with odd names.
Check Your Browser Extensions
Browser hijackers change your search engine, homepage or new tab page, and they often arrive bundled with free downloads.
- Chrome: go to chrome://extensions/ in the address bar. Look for extensions you didn't install, especially ones that mention search, homepage or new tab.
- Safari: open Safari > Settings > Extensions. Anything you don't remember installing should go.
- Firefox: type about:addons in the address bar.
Remove anything suspicious rather than just turning it off. If an extension comes back after you remove it, look in System Settings > General > Device Management for a profile you didn't install, since a profile can force an extension onto a browser. Our guide to finding hidden apps on your Mac covers more places unwanted software hides.
Examine Login Items and Background Apps
Open System Settings > General > Login Items & Extensions (called Login Items on macOS 13 and 14). It has two lists: "Open at Login" and "Allow in the Background" (Apple: open items automatically when you log in). Remove anything you don't recognize or don't need starting automatically.
To see every login and background item macOS has recorded, including ones the lists group under a developer's name, run this in Terminal (macOS 13 or later):
sudo sfltool dumpbtm
The output is long. Search it for names you don't recognize and note the path of each.
Run a Free Malwarebytes Scan
Malwarebytes for Mac scans for malware free on demand. Its always-on protection is a paid feature, but the free scan looks for Mac malware, adware and potentially unwanted programs (PUPs), and can remove what it finds.
Download it only from malwarebytes.com, not from another site, then run a scan.
Terminal Commands for Deeper Investigation
These are optional and read-only:
sudo lsof -i -P -n | grep LISTEN
This shows processes listening for network connections. Look for ports you don't recognize or processes that shouldn't be acting as servers.
ps aux -r | head -20
This lists the 20 processes using the most CPU right now, with the full path of each. It's a different view from Activity Monitor.
ls -la /Applications
This lists the apps in your Applications folder. Look for apps you don't remember installing.
sudo fs_usage -w -f network | head -50
This shows network activity as it happens, process by process. It's a lot of output, but it shows which apps are busy on the network.
Most people won't need these commands. They help if you're chasing something specific or want to understand what your Mac is doing.
Review Privacy & Security Permissions
Open System Settings > Privacy & Security > Full Disk Access. Full Disk Access lets an app read data macOS normally protects, such as Mail, Messages, Safari history and Time Machine backups. Backup, security and some developer tools need it; turn it off for any app you don't recognize or no longer use.
While you're there, check Screen & System Audio Recording (Screen Recording before macOS 15), Accessibility, Input Monitoring, Camera and Microphone. A switch that's on means macOS allowed the app, not that the app is using it right now. Turn off anything you don't recognize.
To watch which apps connect to the internet, LuLu is a free, open-source outbound firewall that lets you allow or block connections. Little Snitch is a paid network monitor and application firewall.
Run a Free CoreLock Scan
CoreLock's free scan runs a lot of these checks in one go: running apps, network, app permissions, startup items, AI agents, and your Downloads folder against a built-in list of known-bad hashes and 19 YARA rules. It runs on your Mac with no account, as often as you like. A match in Downloads is shown as worth a look, with what matched; CoreLock never quarantines a file on its own.
CoreLock is my product, so I'm biased, but the free scan saves time if you want a quick check without running every command above by hand.
When Free Methods Aren't Enough
Free tools have limits. They're good at spotting known threats and obvious leftovers, but none of them catches everything.
Some malware disguises itself as a system process or deletes its own files after it starts. And if someone is targeting you specifically with custom malware, free tools may not catch it.
If problems keep coming back after you've worked through these checks, such as unexplained network activity, settings that change themselves or browser redirects, consider a paid security tool with always-on protection, or ask a professional to look at the Mac.
Regular Maintenance is Key
Checking for malware isn't a one-time job. Running through these checks every month or two, or whenever your Mac starts acting oddly, is a reasonable habit.
Keep your system updated. macOS updates patch security holes, and the security data files keep XProtect current.
Be careful what you download. "Free" copies of paid software from unofficial sites are a common way adware and malware get onto Macs.
Back up your important files regularly. Even if you never run into malware, hardware fails, and Time Machine or a cloud backup will save you a lot of trouble.
If your Mac feels slower, your browser keeps redirecting to strange sites, or you're seeing pop-ups you didn't see before, run through the checks above. Most of the time the cause is something mundane, but these steps tell you either way, without spending anything.