Skip to content

Instantly share code, notes, and snippets.

@andriitishchenko
Created March 15, 2023 11:54
Show Gist options
  • Save andriitishchenko/6589b88cb4346818259a990bf08a22d1 to your computer and use it in GitHub Desktop.
Save andriitishchenko/6589b88cb4346818259a990bf08a22d1 to your computer and use it in GitHub Desktop.
Check Versions of Anti Malware Tools for macOS

Gatekeeper

$ /usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" /private/var/db/gkopaque.bundle/Contents/Info.plist

XProtect

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

MRT (Malware Removal Tool)

$ defaults read /Library/Apple/System/Library/CoreServices/MRT.app/Contents/Info.plist CFBundleShortVersionString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment