Follow the steps below to test the XProtectDetection analytic.
Warning:
Only test this detection using a virtual machine snapshot.
Requirements
On your virtual machine, download Gimmick from Objective-See's macOS Malware Collection (https://github.com/objective-see/Malware/raw/main/Gimmick.zip). This file contains an executable which triggers an XProtect detection for Gimmick malware.