Skip to content

Commit

Permalink
Add XProtect definitions for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreen27 committed Feb 9, 2024
1 parent 687078b commit cd440b2
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
32 changes: 32 additions & 0 deletions definitions/MacOS_XProtect_Detections.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Name: MacOS XProtect Detections
Author: Matt Green - @mgreen27
Description: |
This artifact provides details about XProtect detections on macOS.
macOS includes built-in antivirus technology called XProtect for
the signature-based detection and removal of malware. The system
uses YARA and behavorial signatures.
Reference: https://www.huntress.com/blog/dmxprotect-stop-drop-shut-malware-down-before-it-opens-up-shop

SQLiteIdentifyQuery: |
SELECT count(*) AS `Check`
FROM sqlite_master
WHERE type='table'
AND name='events';
SQLiteIdentifyValue: 1

Categories:
- MacOS

FilenameRegex: "XPdb"
Globs:
- "/private/var/protected/xprotect/XPdb"

Sources:
- VQL: |
SELECT *
FROM Rows
SQL: |
SELECT * FROM events
Loading

0 comments on commit cd440b2

Please sign in to comment.