59da2da474
* add unit tests to ensure host type and platform are included * add host.os.name 'linux' to all linux rules * add host.os.name macos to mac rules * add host.os.name to windows rules; fix linux dates * update from host.os.name to host.os.type Co-authored-by: brokensound77 <brokensound77@users.noreply.github.com> Co-authored-by: Jonhnathan <26856693+w0rk3r@users.noreply.github.com>
51 lines
1.5 KiB
TOML
51 lines
1.5 KiB
TOML
[metadata]
|
|
creation_date = "2021/01/25"
|
|
integration = ["endpoint"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2023/02/22"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
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.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["auditbeat-*", "logs-endpoint.events.*"]
|
|
language = "kuery"
|
|
license = "Elastic License v2"
|
|
name = "Dumping Account Hashes via Built-In Commands"
|
|
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/",
|
|
]
|
|
risk_score = 73
|
|
rule_id = "02ea4563-ec10-4974-b7de-12e65aa4f9b3"
|
|
severity = "high"
|
|
tags = ["Elastic", "Host", "macOS", "Threat Detection", "Credential Access"]
|
|
timestamp_override = "event.ingested"
|
|
type = "query"
|
|
|
|
query = '''
|
|
event.category:process and host.os.type:macos and event.type:start and
|
|
process.name:(defaults or mkpassdb) and process.args:(ShadowHashData or "-dump")
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1003"
|
|
name = "OS Credential Dumping"
|
|
reference = "https://attack.mitre.org/techniques/T1003/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0006"
|
|
name = "Credential Access"
|
|
reference = "https://attack.mitre.org/tactics/TA0006/"
|
|
|