Suspicious LSASS Access via MalSecLogonedit

Identifies suspicious access to LSASS handle from a call trace pointing to seclogon.dll and with a suspicious access rights value. This may indicate an attempt to leak an LSASS handle via abusing the Secondary Logon service 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.4.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 /* seclogon service
accessing lsass */ winlog.event_data.CallTrace : "*seclogon.dll*"
and process.name : "svchost.exe" and /* PROCESS_CREATE_PROCESS &
PROCESS_DUP_HANDLE & PROCESS_QUERY_INFORMATION */
winlog.event_data.GrantedAccess == "0x14c0"

Threat mappingedit

Framework: MITRE ATT&CKTM

Rule version historyedit

Version 100 (8.5.0 release)
  • Formatting only