a52751494e
* Convert config header to setup in note field * Parse note field into separate setup and note field with marko gfm * only validate and parse note on elastic authored rules and add CLI description for new DR_BYPASS_NOTE_VALIDATION_AND_PARSE environment variable Co-authored-by: brokensound77 <brokensound77@users.noreply.github.com>
53 lines
1.7 KiB
TOML
53 lines
1.7 KiB
TOML
[metadata]
|
|
creation_date = "2021/01/04"
|
|
maturity = "production"
|
|
updated_date = "2022/03/31"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Adversaries may dump the content of the keychain storage data from a system to acquire credentials. Keychains are the
|
|
built-in way for macOS to keep track of users' passwords and credentials for many services and features, including Wi-Fi
|
|
and website passwords, secure notes, certificates, and Kerberos.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["auditbeat-*", "logs-endpoint.events.*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Dumping of Keychain Content via Security Command"
|
|
note = """## Setup
|
|
|
|
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2, events will not define `event.ingested` and default fallback for EQL rules was not added until 8.2, so you will need to add a custom pipeline to populate `event.ingested` to @timestamp for this rule to work.
|
|
"""
|
|
references = ["https://ss64.com/osx/security.html"]
|
|
risk_score = 73
|
|
rule_id = "565d6ca5-75ba-4c82-9b13-add25353471c"
|
|
severity = "high"
|
|
tags = ["Elastic", "Host", "macOS", "Threat Detection", "Credential Access"]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
process where event.type in ("start", "process_started") and process.args : "dump-keychain" and process.args : "-d"
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1555"
|
|
name = "Credentials from Password Stores"
|
|
reference = "https://attack.mitre.org/techniques/T1555/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1555.001"
|
|
name = "Keychain"
|
|
reference = "https://attack.mitre.org/techniques/T1555/001/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0006"
|
|
name = "Credential Access"
|
|
reference = "https://attack.mitre.org/tactics/TA0006/"
|
|
|