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"
5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
6min_stack_version = "8.3.0"
7updated_date = "2024/03/28"
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-*"]
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 = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Credential Access", "Data Source: Elastic Defend", "Data Source: Elastic Endgame", "Data Source: Sysmon"]
32timestamp_override = "event.ingested"
33type = "eql"
34
35query = '''
36registry where host.os.type == "windows" and
37 registry.path : (
38 "HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\LocalDumps\\DumpType",
39 "\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\LocalDumps\\DumpType"
40 ) and
41 registry.data.strings : ("2", "0x00000002") and
42 not (process.executable : "?:\\Windows\\system32\\svchost.exe" and user.id : ("S-1-5-18", "S-1-5-19", "S-1-5-20"))
43'''
44
45
46[[rule.threat]]
47framework = "MITRE ATT&CK"
48[[rule.threat.technique]]
49id = "T1003"
50name = "OS Credential Dumping"
51reference = "https://attack.mitre.org/techniques/T1003/"
52[[rule.threat.technique.subtechnique]]
53id = "T1003.001"
54name = "LSASS Memory"
55reference = "https://attack.mitre.org/techniques/T1003/001/"
56
57
58
59[rule.threat.tactic]
60id = "TA0006"
61name = "Credential Access"
62reference = "https://attack.mitre.org/tactics/TA0006/"
63[[rule.threat]]
64framework = "MITRE ATT&CK"
65[[rule.threat.technique]]
66id = "T1112"
67name = "Modify Registry"
68reference = "https://attack.mitre.org/techniques/T1112/"
69
70
71[rule.threat.tactic]
72id = "TA0005"
73name = "Defense Evasion"
74reference = "https://attack.mitre.org/tactics/TA0005/"
References
Related rules
- Command Shell Activity Started via RunDLL32
- Creation or Modification of Domain Backup DPAPI private key
- LSASS Memory Dump Creation
- Mimikatz Memssp Log File Detected
- Modification of WDigest Security Provider