Potential Persistence Via LSA Extensions

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects when an attacker modifies the "REG_MULTI_SZ" value named "Extensions" to include a custom DLL to achieve persistence via lsass. The "Extensions" list contains filenames of DLLs being automatically loaded by lsass.exe. Each DLL has its InitializeLsaExtension() method called after loading.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND OBJECTNAME contains "\SYSTEM\CurrentControlSet\Control\LsaExtensionConfig\LsaSrv\Extensions" OR (OBJECTNAME endswith "\SYSTEM\CurrentControlSet\Control\LsaExtensionConfig\LsaSrv" AND OBJECTVALUENAME startswith "Extensions") select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)