T1547.008 Sumo Logic CSE · Sumo

Detect LSASS Driver in Sumo Logic CSE

Adversaries may modify or add LSASS drivers to obtain persistence on compromised systems. The Windows security subsystem is a set of components that manage and enforce the security policy for a computer or domain. The Local Security Authority (LSA) is the main component responsible for local security policy and user authentication. The LSA includes multiple DLLs associated with various security functions, all running in the context of the LSASS process (lsass.exe). Adversaries may target LSASS drivers to obtain persistence. By either replacing or adding illegitimate drivers, an adversary can use LSA operations to continuously execute malicious payloads. Known examples include Wingbird (which drops sspisrv.dll alongside lsass.exe) and Pasam (which infects the SAM DLL).

MITRE ATT&CK

Tactic
Persistence Privilege Escalation
Technique
T1547 Boot or Logon Autostart Execution
Sub-technique
T1547.008 LSASS Driver
Canonical reference
https://attack.mitre.org/techniques/T1547/008/

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=windows/sysmon
| where EventID = "7"
| where Image matches "*\\lsass.exe"
| where !(ImageLoaded matches "C:\\Windows\\System32\\*") and !(ImageLoaded matches "C:\\Windows\\SysWOW64\\*") and !(ImageLoaded matches "C:\\Windows\\WinSxS\\*")
| parse field=ImageLoaded "*\\*" as dll_path, dll_name
| where dll_name != "msv1_0.dll"
  and dll_name != "kerberos.dll"
  and dll_name != "wdigest.dll"
  and dll_name != "tspkg.dll"
  and dll_name != "schannel.dll"
  and dll_name != "pku2u.dll"
  and dll_name != "cloudAP.dll"
  and dll_name != "negoexts.dll"
  and dll_name != "msprivs.dll"
  and dll_name != "lsasrv.dll"
  and dll_name != "samsrv.dll"
  and dll_name != "ntdsai.dll"
| fields _messageTime, Computer, Image, ImageLoaded, dll_name, Hashes, Signed, SignatureStatus
| sort by _messageTime desc
critical severity high confidence

Detects non-standard DLL image loads by lsass.exe sourced from outside trusted Windows system paths using Sysmon Event ID 7 (Image Load). Parses the loaded image filename and filters known legitimate LSA provider DLLs to identify potential LSASS driver implants (T1547.008).

Data Sources

Windows Sysmon logs via Sumo Logic Installed Collector with Windows Event Log source

Required Tables

Windows Sysmon Event ID 7 (Image Loaded)

False Positives & Tuning

  • Legitimate custom SSPI providers or Kerberos extension DLLs installed by enterprise identity management solutions (e.g., Okta, Duo, RSA) from non-System32 install directories
  • Antivirus or EDR products that load hooking DLLs into LSASS for credential protection telemetry from vendor-specific program directories
  • Windows patches or updates in progress that temporarily stage DLLs in non-standard paths before moving them to System32 — correlate with Windows Update activity
Download portable Sigma rule (.yml)

Other platforms for T1547.008


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Drop DLL Alongside LSASS Copy (Wingbird Pattern)

    Expected signal: Sysmon Event ID 11: FileCreate for both lsass.exe and sspisrv.dll in C:\Windows\Temp\. The co-location of these files in a non-standard path is the indicator.

  2. Test 2Enumerate LSASS Loaded Modules

    Expected signal: Sysmon Event ID 1: Process creation for tasklist with /m /fi flags targeting lsass.exe.

  3. Test 3Check LSA Protection Status

    Expected signal: Sysmon Event ID 1: Process creation for reg.exe querying the LSA key.

Unlock Pro Content

Get the full detection package for T1547.008 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections