Suspicious Lsass Process Access

edit

Identifies access attempts to LSASS handle, this may indicate an attempt to dump credentials from Lsass memory.

Rule type: eql

Rule indices:

  • winlogbeat-*
  • logs-windows.*

Severity: medium

Risk score: 47

Runs every: 5m

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
  • Sysmon Only

Version: 1

Rule authors:

  • Elastic

Rule license: Elastic License v2

Investigation guide

edit
## Setup

Rule query

edit
process where event.code == "10" and
  winlog.event_data.TargetImage : "?:\\WINDOWS\\system32\\lsass.exe" and
  not winlog.event_data.GrantedAccess :
                ("0x1000", "0x1400", "0x101400", "0x101000", "0x101001", "0x100000", "0x100040", "0x3200", "0x40", "0x3200") and
  not process.name : ("procexp64.exe", "procmon.exe", "procexp.exe", "Microsoft.Identity.AadConnect.Health.AadSync.Host.ex") and
  not process.executable :
            ("?:\\Windows\\System32\\lsm.exe",
             "?:\\Program Files\\*",
             "?:\\Program Files (x86)\\*",
             "?:\\Windows\\System32\\msiexec.exe",
             "?:\\Windows\\CCM\\CcmExec.exe",
             "?:\\Windows\\system32\\csrss.exe",
             "?:\\Windows\\system32\\wininit.exe",
             "?:\\Windows\\system32\\wbem\\wmiprvse.exe",
             "?:\\Windows\\system32\\MRT.exe",
             "?:\\ProgramData\\Microsoft\\Windows Defender\\platform\\*",
             "?:\\ProgramData\\WebEx\\webex\\*",
             "?:\\Windows\\LTSvc\\LTSVC.exe") and
   not winlog.event_data.CallTrace : ("*mpengine.dll*", "*appresolver.dll*", "*sysmain.dll*")

Framework: MITRE ATT&CKTM