Detectionmediumtest

Potential Suspicious Registry File Imported Via Reg.EXE

Detects the import of '.reg' files from suspicious paths using the 'reg.exe' utility

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 Mon Aug 01Updated Sun Feb 0562e0298b-e994-4189-bc87-bc699aa62d97windows
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 Logic3 selectors
detection:
    selection_img:
        - Image|endswith: '\reg.exe'
        - OriginalFileName: 'reg.exe'
    selection_cli:
        CommandLine|contains: ' import '
    selection_paths:
        CommandLine|contains:
            - 'C:\Users\'
            - '%temp%'
            - '%tmp%'
            - '%appdata%'
            - '\AppData\Local\Temp\'
            - 'C:\Windows\Temp\'
            - 'C:\ProgramData\'
    condition: all of selection_*
False Positives

Legitimate import of keys

Rule Metadata
Rule ID
62e0298b-e994-4189-bc87-bc699aa62d97
Status
test
Level
medium
Type
Detection
Created
Mon Aug 01
Modified
Sun Feb 05
Path
rules/windows/process_creation/proc_creation_win_reg_import_from_suspicious_paths.yml
Raw Tags
attack.persistenceattack.t1112attack.defense-evasion
View on GitHub