Detectionhightest

Reg Add Suspicious Paths

Detects when an adversary uses the reg.exe utility to add or modify new keys or subkeys

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François Hubaut, Nasreddine Bencherchali (Nextron Systems)Created Fri Aug 19Updated Mon Oct 10b7e2a8d4-74bb-4b78-adc9-3f92af2d4829windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_reg:
        - Image|endswith: '\reg.exe'
        - OriginalFileName: 'reg.exe'
    selection_path:
        CommandLine|contains:
            # Add more suspicious registry locations below
            - '\AppDataLow\Software\Microsoft\'
            - '\Policies\Microsoft\Windows\OOBE'
            - '\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon'
            - '\SOFTWARE\Microsoft\Windows NT\Currentversion\Winlogon'
            - '\CurrentControlSet\Control\SecurityProviders\WDigest'
            - '\Microsoft\Windows Defender\'
    condition: all of selection_*
False Positives

Rare legitimate add to registry via cli (to these locations)

Rule Metadata
Rule ID
b7e2a8d4-74bb-4b78-adc9-3f92af2d4829
Status
test
Level
high
Type
Detection
Created
Fri Aug 19
Modified
Mon Oct 10
Path
rules/windows/process_creation/proc_creation_win_reg_susp_paths.yml
Raw Tags
attack.persistenceattack.defense-evasionattack.t1112attack.t1562.001
View on GitHub