Windows Credential Guard Registry Tampering Via CommandLine

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects attempts to add, modify, or delete Windows Credential Guard related registry keys or values via command line tools such as Reg.exe or PowerShell.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ( PROCESSNAME endswith "\powershell.exe,\pwsh.exe,\reg.exe" OR ORIGINALFILENAME = "PowerShell.EXE,pwsh.dll,reg.exe" ) AND ( COMMANDLINE contains "add ,New-ItemProperty ,Set-ItemProperty ,si ,delete ,del ,Remove-ItemProperty ,rp " AND COMMANDLINE contains "\Control\DeviceGuard ,\Control\LSA ,Software\Policies\Microsoft\Windows\DeviceGuard " AND COMMANDLINE contains "EnableVirtualizationBasedSecurity,RequirePlatformSecurityFeatures,LsaCfgFlags" ) select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME,Action1.DOMAIN,Action1.ORIGINALFILENAME,Action1.PARENTPROCESSID,Action1.PROCESSID,Action1.PRODUCT_NAME,Action1.SECURITYID

Detection

Execution Mode

realtime

Log Sources

Windows

Author

@Swachchhanda Shrawan Poudel (Nextron Systems)