Elastic medium stable kql

First Time Python Accessed Sensitive Credential Files

Detects the first time a Python process accesses sensitive credential files on a given host. This behavior may indicate post-exploitation credential theft via a malicious Python script, compromised dependency, or malicious model file deserialization. Legitimate Python processes do not typically access credential files such as SSH keys, AWS credentials, browser cookies, Kerberos tickets, or keychain databases, so a first occurrence is a strong indicator of compromise.

View Source

Detection Logic

event.category:file and host.os.type:macos and event.action:open and
process.name:python*

Field Validations

Loading…

Comments (0)

Loading comments...