Elastic medium stable eql
Quarantine Attrib Removed by Unsigned or Untrusted Process
Detects deletion of the quarantine attribute by an unusual process (xattr). In macOS, when applications or programs are downloaded from the internet, there is a quarantine flag set on the file. This attribute is read by Apple's Gatekeeper defense program at execution time. An adversary may disable this attribute to evade defenses.
Detection Logic
file where event.action == "extended_attributes_delete" and host.os.type == "macos" and process.executable != null and
(process.code_signature.trusted == false or process.code_signature.exists == false) and
not process.executable like ("/usr/bin/xattr",
"/System/*",
"/private/tmp/KSInstallAction.*/*/Install Google Software Update.app/Contents/Helpers/ksinstall",
"/Applications/CEWE Fotoschau.app/Contents/MacOS/FotoPlus",
"/Applications/.com.bomgar.scc.*/Remote Support Customer Client.app/Contents/MacOS/sdcust",
"/opt/homebrew/Library/Homebrew/vendor/portable-ruby/*/bin/ruby",
"/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/*/bin/ruby") and
not file.path like "/private/var/folders/*" Field Validations
Loading…
Comments (0)
Loading comments...