Dumping Account Hashes via Built-In Commands
Elastic Stack Serverless Security
Identifies the execution of macOS built-in commands used to dump user account hashes. Adversaries may attempt to dump credentials to obtain account login information in the form of a hash. These hashes can be cracked or leveraged for lateral movement.
Rule type: query
Rule indices:
- auditbeat-*
- logs-endpoint.events.*
Severity: high
Risk score: 73
Runs every: 5m
Searches indices from: now-9m (https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math[Date Math format], see also Additional look-back time
)
Maximum alerts per execution: 100
References:
- https://apple.stackexchange.com/questions/186893/os-x-10-9-where-are-password-hashes-stored
- https://www.unix.com/man-page/osx/8/mkpassdb/
Tags:
- Elastic
- Host
- macOS
- Threat Detection
- Credential Access
Version: 101
Rule authors:
- Elastic
Rule license: Elastic License v2
event.category:process and event.type:start and
process.name:(defaults or mkpassdb) and process.args:(ShadowHashData or "-dump")
Framework: MITRE ATT&CKTM
Tactic:
- Name: Credential Access
- ID: TA0006
- Reference URL: https://attack.mitre.org/tactics/TA0006/
Technique:
- Name: OS Credential Dumping
- ID: T1003
- Reference URL: https://attack.mitre.org/techniques/T1003/