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