← Back to SOC feed Coverage →

Keychain dumping utility.

yara LOW signature-base
florian-roth
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-05-28T11:00:00Z · Confidence: medium

Hunt Hypothesis

Adversaries may use a keychain dumping utility to extract sensitive credentials from macOS systems, potentially granting access to encrypted data and services. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify and mitigate early-stage credential theft attempts that may evade traditional detection methods.

YARA Rule

rule hacktool_macos_ptoomey3_keychain_dumper
{
    meta:
        description = "Keychain dumping utility."
        reference = "https://github.com/ptoomey3/Keychain-Dumper"
        author = "@mimeframe"
        id = "7be4b137-619d-5d19-ac31-5c0148a3a77a"
    strings:
        $a1 = "keychain_dumper" wide ascii
        $a2 = "/var/Keychains/keychain-2.db" wide ascii
        $a3 = "<key>keychain-access-groups</key>" wide ascii
        $a4 = "SELECT DISTINCT agrp FROM genp UNION SELECT DISTINCT agrp FROM inet" wide ascii
        $a5 = "dumpEntitlements" wide ascii
    condition:
        all of ($a*)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 5 string patterns in its detection logic.

References

False Positive Guidance

Original source: https://github.com/Neo23x0/signature-base/blob/main/vendor/yara/airbnb_binaryalert.yar