XProtect on Mac: what it scans and how to check it

Where XProtect lives on a Mac, what it checks and when, how to see its version and status, what XprotectService and XProtect Remediator are, and what it can't do.

On this page
  1. What XProtect does
  2. Check that XProtect is up to date
    1. Make sure updates keep arriving
  3. Where XProtect is on your Mac
  4. XprotectService, XProtect Remediator and other names
  5. What XProtect doesn’t do
  6. Frequently asked questions
  7. Sources

XProtect is the antivirus built into every Mac. It compares apps against a list of known Mac malware, blocks a match, and moves it to the Trash. You can’t open it like an app, and you don’t need to: it runs on its own, and Apple updates its rules without a macOS update.

To see whether it’s working on your Mac, open Terminal and run xprotect version. The steps below show what the output means, where XProtect’s files are, and what it can’t catch.

What XProtect does

Where XProtect lives on a Mac: the rules in XProtect.bundle, the checks when an app opens or changes, and the remediators in XProtect.app
Where XProtect lives on a Mac: the rules in XProtect.bundle, the checks when an app opens or changes, and the remediators in XProtect.app

Apple’s security guide describes XProtect as built-in antivirus technology that uses YARA signatures. A signature describes something a piece of known malware contains. XProtect has two jobs:

  • Block known malware. It checks an app when it first opens, when the app has changed, and when XProtect’s rules update. If it finds known malware, it blocks it, moves it to the Trash and shows an alert in the Finder.
  • Remove malware that already ran. If malware gets past the first check, XProtect also looks for it in the background and removes it. Writers often call this part XProtect Remediator.

Apple says XProtect’s rules are more general than a file fingerprint, so they can catch variants Apple hasn’t seen. Its first check runs when an app opens or changes. The background scanner looks for malware families Apple has described, not every file on the disk.

Gatekeeper and notarization work alongside it. Our guide Do Macs need antivirus software? explains how the three fit together.

Check that XProtect is up to date

Terminal
xprotect version

This prints the rules version and the date it was installed, such as Version: 5368 Installed: 2026-10-22. A date within the last few weeks means updates are arriving.

To check what’s switched on, run:

Terminal
xprotect status

On our test Mac it printed XProtect launch scans: disabled and XProtect background scans: enabled. Apple doesn’t document the first line, and there’s no switch for it in System Settings.

Make sure updates keep arriving

  1. Open System Settings > General > Software Update.
  2. Click the info button next to Automatic updates.
  3. Make sure Install Security Responses and system files is on.

XProtect’s rules arrive through this setting, separately from macOS updates.

Where XProtect is on your Mac

You won’t find XProtect in the Applications folder. Its files are in a system folder:

Terminal
ls /Library/Apple/System/Library/CoreServices/

On macOS 26 this shows XProtect.bundle and XProtect.app, along with MRT.app and CoreTypes.bundle.

Name What it is
XProtect.bundle The rules. It holds XProtect.yara, the file of YARA rules, and its version number is the one xprotect version shows
XProtect.app The programs that remove malware. It holds one small program per malware family, such as XProtectRemediatorAdload and XProtectRemediatorPirrit
MRT.app The Malware Removal Tool, the older removal program. Newer versions of macOS do this job with XProtect

To read the rules version straight from the file, run:

Terminal
defaults read /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Info.plist CFBundleShortVersionString

The number matches xprotect version. Don’t edit or delete anything in these folders.

XprotectService, XProtect Remediator and other names

If you see an XProtect process in Activity Monitor, it belongs to Apple. The names you may meet are:

  • XprotectService: part of XProtect.
  • XProtectRemediator followed by a name (such as XProtectRemediatorPirrit): a program that looks for one family of known Mac malware.
  • XProtectPluginService: starts those programs. To list what’s registered with macOS, run launchctl list | grep -i xprotect.

They’re expected to appear now and then. A process with one of these names that doesn’t live in /Library/Apple/System/Library/CoreServices/ or /System/ is worth a closer look, because malware sometimes borrows system names.

What XProtect doesn’t do

  • It doesn’t scan on demand. macOS has no command that runs XProtect on a file you choose. To scan something yourself, see how to scan your Mac for viruses and malware for free.
  • It only knows what Apple has described. New malware, or malware written for one target, can pass until the rules catch up.
  • It doesn’t judge behavior. A remote-control app you were talked into installing, or a browser extension that spies, isn’t malware XProtect can see.
  • It can’t tell you what else is wrong. Startup items, device profiles and apps with special permissions are outside its checks. Our guide on how to tell if your Mac has a virus covers them.

Frequently asked questions

How do I check if XProtect is running?

Run xprotect status in Terminal. It prints whether background scans are enabled. Run xprotect version as well to see when the rules last updated.

Where is XProtect on my Mac?

In /Library/Apple/System/Library/CoreServices/. The rules are in XProtect.bundle and the removal programs are in XProtect.app. It isn’t in your Applications folder.

Does Apple recommend antivirus for a MacBook?

Apple’s security guide describes XProtect as the built-in antivirus technology in macOS, and doesn’t say you need to add another. Whether a second scanner is worth it depends on what you do. Our guide Do Macs need antivirus software? goes through it.

What is XprotectService on a Mac?

It’s a part of XProtect, Apple’s built-in malware scanner, and it belongs to macOS. It may show up in Activity Monitor while XProtect works.

Can I turn XProtect off?

There’s no switch for it in System Settings. You can choose whether XProtect’s rules install automatically under General > Software Update > Automatic updates, but turning that off leaves your Mac with old rules.

Is XProtect enough on its own?

For known malware in apps you download, it’s a solid first layer. It doesn’t cover new malware, scams that talk you into installing something, or settings that someone changed. Use it with the checks in our guide on scanning your Mac.

Sources

  1. Apple Platform Security, Protecting against malware in macOS.
  2. Apple Platform Security, Gatekeeper and runtime protection in macOS.
  3. Apple Support, Safely open apps on your Mac.
  4. Terminal commands and file locations checked on macOS 26.0.1 (25A362), XProtect version 5368, 3 November 2026.

How we tested. Every step was checked on macOS 26.0.1 (25A362), MacBook Pro (16-inch, 2021), 3 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