Potential Configuration And Service Reconnaissance Via Reg.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the usage of "reg.exe" in order to query reconnaissance information from the registry. Adversaries may interact with the Windows registry to gather information about credentials, the system, configuration, and installed software.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\reg.exe" OR ORIGINALFILENAME = "reg.exe") AND COMMANDLINE contains "query" AND COMMANDLINE contains "currentVersion\windows,winlogon\,currentVersion\shellServiceObjectDelayLoad,currentVersion\run,currentVersion\policies\explorer\run,currentcontrolset\services" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Timur Zinniatullin, oscd.community