registry where host.os.type == "windows" and event.type == "change" and
registry.path : (
"HKLM\\SYSTEM\\*ControlSet*\\Control\\Lsa\\Authentication Packages",
"\\REGISTRY\\MACHINE\\SYSTEM\\*ControlSet*\\Control\\Lsa\\Authentication Packages"
) and
/* exclude SYSTEM SID - look for changes by non-SYSTEM user */
not user.id : "S-1-5-18"
Install detection rules in Elastic Security
Detect Potential LSA Authentication Package Abuse in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).