Potential Credential Access via LSASS Memory Dumpedit

Identifies suspicious access to LSASS handle from a call trace pointing to DBGHelp.dll or DBGCore.dll, which both export the MiniDumpWriteDump method that can be used to dump LSASS memory content in preparation for credential access.

Rule type: eql

Rule indices:

  • winlogbeat-*
  • logs-windows.*

Severity: high

Risk score: 73

Runs every: 5 minutes

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References:

Tags:

  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Credential Access

Version: 100 (version history)

Added (Elastic Stack release): 8.0.0

Last modified (Elastic Stack release): 8.5.0

Rule authors: Elastic

Rule license: Elastic License v2

Investigation guideedit


Rule queryedit

process where event.code == "10" and winlog.event_data.TargetImage :
"?:\\WINDOWS\\system32\\lsass.exe" and /* DLLs exporting
MiniDumpWriteDump API to create an lsass mdmp*/
winlog.event_data.CallTrace : ("*dbghelp*", "*dbgcore*") and /*
case of lsass crashing */ not process.executable :
("?:\\Windows\\System32\\WerFault.exe",
"?:\\Windows\\System32\\WerFaultSecure.exe")

Threat mappingedit

Framework: MITRE ATT&CKTM

Rule version historyedit

Version 100 (8.5.0 release)
  • Formatting only
Version 6 (8.4.0 release)
  • Updated query, changed from:

    process where event.code == "10" and winlog.event_data.TargetImage :
    "?:\\WINDOWS\\system32\\lsass.exe" and /* DLLs exporting
    MiniDumpWriteDump API to create an lsass mdmp*/
    winlog.event_data.CallTrace : ("*dbghelp*", "*dbgcore*") and /*
    case of lsass crashing */ not process.executable :
    ("?:\\Windows\\System32\\WerFault.exe",
    "?:\\Windows\\System32\\WerFaultSecure.exe")
Version 4 (8.2.0 release)
  • Formatting only
Version 3 (8.1.0 release)
  • Updated query, changed from:

    process where event.code == "10" and winlog.event_data.TargetImage :
    "?:\\WINDOWS\\system32\\lsass.exe" and /* DLLs exporting
    MiniDumpWriteDump API to create an lsass mdmp*/
    winlog.event_data.CallTrace : ("*dbhelp*", "*dbgcore*") and /*
    case of lsass crashing */ not process.executable :
    ("?:\\Windows\\System32\\WerFault.exe",
    "?:\\Windows\\System32\\WerFaultSecure.exe")