A Guide to macOS’s Built-In Security and Malware-Removal Tools

Summary
The guide explains how macOS tools—TCC, File Quarantine, Gatekeeper, XProtect, MRT and XProtect Remediator—control access, check downloaded apps, block malware and remediate threats, while discussing their limits and when businesses may need additional coverage.
Key points
- TCC prompts users about app access to protected services and records permissions, including Full Disk Access, in system and user databases.
- File Quarantine tracks downloaded applications and prompts before their first opening; Gatekeeper checks items such as signatures and notarization.
- Users can override Gatekeeper by right-clicking an app and choosing Open, a behavior the article says malware such as Shlayer has abused through social engineering.
- XProtect uses YARA rules and other checks to detect malware and potentially malicious plugins or extensions, and alerts users when it blocks a file.
- The article describes MRT as a system scanner that removes objects found at specific paths and says it appears to be retiring.
- XProtect Remediator, introduced with macOS 12.3, runs malware-family-specific scans on a regular cadence and exposes activity through unified logs.
- The author says Apple’s built-in tools may be sufficient for personal use, while businesses may benefit from additional security coverage.
Article Details
- Topic
- Built-in macOS security tools and how they check, block, and remediate threats
MITRE ATT&CK
Malware
OSX.ATG2.AAccording to NixHacker, if we drop the MRT executable into a disassembler, we can see some of the different paths it looks for. For example, the OSX.ATG2.A malware looks for four different paths.Shlayerwhich I know are safe, and without this override ability, I wouldn't be able to open it. Malware like Shlayer uses this ability to skirt around Apple's security mechanisms and social engineers users into openingXCSSETwhere MRT scans on reboot and login, XProtect Remediator scans on a regular cadence, with a scan for the XCSSET (OSX.DUBROBBER) malware running the most frequently - every hour or two.
Vendors
Products
Tools
File QuarantineWe'll start at the top with Gatekeeper, but, before we do, we'd be remiss to not discuss a fundamental preemptive step of Gatekeeper, called File Quarantine.GatekeeperWe'll start at the top with Gatekeeper, but, before we do, we'd be remiss to not discuss a fundamental preemptive step of Gatekeeper, called File Quarantine.Malware Removal Tool (MRT)The Malware Removal Tool (MRT) is a system scanner that looks for specific file paths. If it detects any object at that path, it will remove that object. Unlike some of the other tools we talked about, MRT is laid outTCCTCC, which stands for Transparency, Consent, and Control is a collection of databases that lives on the macOS system.XProtectXProtect Remediator (XPR)XProtect Remediator (XPR)In the release of macOS 12.3, Apple also released a new tool to macOS called XProtect Remediator (XPR). XProtect Remediator is reminiscent of MRT in the sense that it is an app bundle, but instead of just two binaries,