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_cmd_reg:
Image|endswith: '\reg.exe'
CommandLine|contains: 'query'
CommandLine|contains|windash: '-v'
selection_cmd_powershell:
Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
CommandLine|contains:
- 'Get-ItemPropertyValue'
- 'gpv'
selection_keys:
CommandLine|contains:
- '\SOFTWARE\Microsoft\Windows Defender' # Details about defender state
- '\SOFTWARE\Microsoft\Windows NT\CurrentVersion' # Provides details about the OS
- '\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall' # Lists installed programs
- '\SYSTEM\CurrentControlSet\Control\TimeZoneInformation' # Contains time zone details
- '\SYSTEM\CurrentControlSet\Services' # Details about existing services
condition: 1 of selection_cmd_* and selection_keys
falsepositives:
- Unlikely