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") and
not file.path like "/private/var/folders/*"
Install detection rules in Elastic Security
Detect Quarantine Attrib Removed by Unsigned or Untrusted Process in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).