LSASS Process Access via Windows API

edit

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

Rule type: eql

Rule indices:

  • logs-endpoint.events.*

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:

  • Domain: Endpoint
  • OS: Windows
  • Use Case: Threat Detection
  • Tactic: Credential Access
  • Data Source: Elastic Defend

Version: 3

Rule authors:

  • Elastic

Rule license: Elastic License v2

Rule query

edit
api where host.os.type == "windows" and
 process.Ext.api.name in ("OpenProcess", "OpenThread") and Target.process.name : "lsass.exe" and
 not process.executable :
             ("?:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MsMpEng.exe",
              "?:\\Program Files\\Microsoft Security Client\\MsMpEng.exe",
              "?:\\Program Files*\\Windows Defender\\MsMpEng.exe",
              "?:\\Program Files (x86)\\N-able Technologies\\Windows Agent\\bin\\agent.exe",
              "?:\\Windows\\System32\\wbem\\WmiPrvSE.exe",
              "?:\\Windows\\SysWOW64\\wbem\\WmiPrvSE.exe",
              "?:\\Program Files\\VMware\\VMware Tools\\vmtoolsd.exe",
              "?:\\Program Files (x86)\\N-able Technologies\\Reactive\\bin\\NableReactiveManagement.exe",
              "?:\\Program Files\\EA\\AC\\EAAntiCheat.GameService.exe",
              "?:\\Program Files\\Cisco\\AMP\\*\\sfc.exe",
              "?:\\Program Files\\TDAgent\\ossec-agent\\ossec-agent.exe",
              "?:\\Windows\\System32\\MRT.exe",
              "?:\\Program Files\\Elastic\\Agent\\data\\elastic-agent-*\\components\\metricbeat.exe",
              "?:\\Program Files\\Elastic\\Agent\\data\\elastic-agent-*\\components\\osqueryd.exe",
              "?:\\Windows\\System32\\msiexec.exe",
              "?:\\Program Files\\Common Files\\McAfee\\AVSolution\\mcshield.exe",
              "?:\\Program Files\\Fortinet\\FortiClient\\FortiProxy.exe",
              "?:\\Program Files\\LogicMonitor\\Agent\\bin\\sbshutdown.exe",
              "?:\\Program Files (x86)\\Google\\Update\\GoogleUpdate.exe",
              "?:\\Program Files (x86)\\Blackpoint\\SnapAgent\\SnapAgent.exe",
              "?:\\Program Files\\ESET\\ESET Security\\ekrn.exe",
              "?:\\Program Files\\Huntress\\HuntressAgent.exe",
              "?:\\Program Files (x86)\\eScan\\reload.exe",
              "?:\\Program Files\\Topaz OFD\\Warsaw\\core.exe")

Framework: MITRE ATT&CKTM