Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: windows
detection:
selection_reg_img:
- Image|endswith: '\reg.exe'
- OriginalFileName: 'reg.exe'
selection_reg_cli:
CommandLine|contains: ' add '
selection_currentversion_explorer_system_root:
CommandLine|contains:
- 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer'
- 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
- 'SOFTWARE\Policies\Microsoft\Windows\Explorer'
- 'SOFTWARE\Policies\Microsoft\Windows\System'
selection_currentversion_explorer_system_key:
CommandLine|contains:
- 'ConsentPromptBehaviorAdmin'
- 'DisableChangePassword'
- 'DisableCMD'
- 'DisableLockWorkstation'
- 'DisableNotificationCenter'
- 'DisableRegistryTools'
- 'DisableTaskmgr'
- 'HideSCAHealth'
- 'HideSCANetwork'
- 'HideSCAVolume'
- 'InactivityTimeoutSecs'
- 'NoClose'
- 'NoControlPanel'
- 'NoDesktop'
- 'NoDispBackgroundPage'
- 'NoDispCPL'
- 'NoDrives'
- 'NoFileMenu'
- 'NoFind'
- 'NoLogOff'
- 'NoPropertiesMyDocuments'
- 'NoRun'
- 'NoSetTaskbar'
- 'NoTrayContextMenu'
- 'StartMenuLogOff'
- 'shutdownwithoutlogon'
condition: all of selection_*
falsepositives:
- Legitimate use of reg.exe to change system settings