

Based on the information received from xprotect, coreservicesuiagent creates an alert for user and move the application to Bin. Xprotect tags the file with value XprotectMalwareType even if the file is clean and signed.The xprotect service scan for the malicious content in main executable and return the classification of the executable from this list in a parameter named XprotectMalwareType and send the information back to CoreServicesUIAgent.CoreServicesUIAgent than call a xpc service XprotectService.xpc which is part of XProtectFramework located at /System/Library/PrivateFrameworks/amework.


The main XProtect related data is present in a loadable bundle located at /Library/Apple/System/Library/CoreServices/XProtect.bundle. XProtect checks for known malicious content whenever:Īn app has been changed (in the file system)īut in recent MacOS, it checks the executable code of every app and command tool whenever it’s run, regardless of whether it's quarantine flag is set. Xprotect is a signature based malware detection solution available in MacOS, that scan for malicious content when a bundle or individual binary is executed.
