System Information Discovery via Registry Queries

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects attempts to gather system information directly from Windows Registry paths.

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (((( PROCESSNAME endswith "reg.exe" OR ORIGINALFILENAME = "reg.exe" ) AND ( COMMANDLINE contains "Query" )) OR (( PROCESSNAME = "\powershell.exe,\pwsh.exe" OR ORIGINALFILENAME = "PowerShell.EXE,pwsh.dll" ) AND ( COMMANDLINE contains "Get-ItemPropertyValue,gpv" ))) AND (( COMMANDLINE contains "\SOFTWARE\Microsoft\Windows Defender,\SOFTWARE\Microsoft\Windows NT\CurrentVersion,\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" ) OR ( COMMANDLINE contains "\system" AND COMMANDLINE contains "Control\TimeZoneInformation,Services" ))) 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

@lazarg