Full User-Mode Dumps Enabled System-Wide

Identifies the enable of the full user-mode dumps feature system-wide. This feature allows Windows Error Reporting (WER) to collect data after an application crashes. This setting is a requirement for the LSASS Shtinkering attack, which fakes the communication of a crash on LSASS, generating a dump of the process memory, which gives the attacker access to the credentials present on the system without having to bring malware to the system. This setting is not enabled by default, and applications must create their registry subkeys to hold settings that enable them to collect dumps.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2022/08/28"
 3integration = ["endpoint", "windows"]
 4maturity = "production"
 5updated_date = "2024/05/21"
 6
 7[rule]
 8author = ["Elastic"]
 9description = """
10Identifies the enable of the full user-mode dumps feature system-wide. This feature allows Windows Error Reporting (WER)
11to collect data after an application crashes. This setting is a requirement for the LSASS Shtinkering attack, which
12fakes the communication of a crash on LSASS, generating a dump of the process memory, which gives the attacker access to
13the credentials present on the system without having to bring malware to the system. This setting is not enabled by
14default, and applications must create their registry subkeys to hold settings that enable them to collect dumps.
15"""
16from = "now-9m"
17index = ["winlogbeat-*", "logs-endpoint.events.registry-*", "logs-windows.sysmon_operational-*", "endgame-*"]
18language = "eql"
19license = "Elastic License v2"
20name = "Full User-Mode Dumps Enabled System-Wide"
21references = [
22    "https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps",
23    "https://github.com/deepinstinct/Lsass-Shtinkering",
24    "https://media.defcon.org/DEF%20CON%2030/DEF%20CON%2030%20presentations/Asaf%20Gilboa%20-%20LSASS%20Shtinkering%20Abusing%20Windows%20Error%20Reporting%20to%20Dump%20LSASS.pdf",
25]
26risk_score = 47
27rule_id = "220be143-5c67-4fdb-b6ce-dd6826d024fd"
28severity = "medium"
29tags = [
30    "Domain: Endpoint",
31    "OS: Windows",
32    "Use Case: Threat Detection",
33    "Tactic: Credential Access",
34    "Data Source: Elastic Defend",
35    "Data Source: Elastic Endgame",
36    "Data Source: Sysmon",
37]
38timestamp_override = "event.ingested"
39type = "eql"
40
41query = '''
42registry where host.os.type == "windows" and
43    registry.path : (
44        "HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\LocalDumps\\DumpType",
45        "\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\LocalDumps\\DumpType"
46    ) and
47    registry.data.strings : ("2", "0x00000002") and
48    not (process.executable : "?:\\Windows\\system32\\svchost.exe" and user.id : ("S-1-5-18", "S-1-5-19", "S-1-5-20"))
49'''
50
51
52[[rule.threat]]
53framework = "MITRE ATT&CK"
54[[rule.threat.technique]]
55id = "T1003"
56name = "OS Credential Dumping"
57reference = "https://attack.mitre.org/techniques/T1003/"
58[[rule.threat.technique.subtechnique]]
59id = "T1003.001"
60name = "LSASS Memory"
61reference = "https://attack.mitre.org/techniques/T1003/001/"
62
63
64
65[rule.threat.tactic]
66id = "TA0006"
67name = "Credential Access"
68reference = "https://attack.mitre.org/tactics/TA0006/"
69[[rule.threat]]
70framework = "MITRE ATT&CK"
71[[rule.threat.technique]]
72id = "T1112"
73name = "Modify Registry"
74reference = "https://attack.mitre.org/techniques/T1112/"
75
76
77[rule.threat.tactic]
78id = "TA0005"
79name = "Defense Evasion"
80reference = "https://attack.mitre.org/tactics/TA0005/"

References

Related rules

to-top