macOS Keychain Credential Dump via security find-certificate/export and dump-keychain

Alerts on /usr/bin/security usage indicative of Keychain export/dump activity on macOS.

FreeReviewedSigma · Medium · v2
Product
macos
Category
process_creation
Author
Tim Ismilyaev, oscd.community, Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2020-10-19
Updated
2026-07-31

ATT&CK techniques

Cred Access
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies macOS process executions of /usr/bin/security where the command line contains elements associated with exporting certificates and dumping keychain contents. Attackers may use these capabilities to extract stored credentials from local password stores for subsequent access. The detection relies on process creation telemetry, specifically the executable path and substring matches within the command line.

Related detections5 linkedT1555.001 — drag to rearrange
Uncommon macOS Keychain Credential Access via Security Utility (via process_creation)
Malicious Keychain Credential Extraction via security Utility
Malicious Keychain Credential Theft via security find-generic-password by ClickLock macOS Stealer (via process_creation)
Malicious macOS Credential Verification via dscl authonly
Suspicious macOS Keychain Credential Dump via security Utility (via process_creation)
macOS Keychain Credential Dump via security find-certificate/export and dump-keychain
Pivot detection · T1555.001 · 5 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.