Detectionhightest

Exports Critical Registry Keys To a File

Detects the export of a crital Registry key to a file.

Convert In Phoenix Studio

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

Launch
Oddvar Moe, Sander Wiebing, oscd.communityCreated Mon Oct 12Updated Wed Mar 1382880171-b475-4201-b811-e9c826cd5eaawindows
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 Logic4 selectors
detection:
    selection_img:
        - Image|endswith: '\regedit.exe'
        - OriginalFileName: 'REGEDIT.EXE'
    selection_cli_1:
        CommandLine|contains|windash: ' -E '
    selection_cli_2:
        CommandLine|contains:
            - 'hklm'
            - 'hkey_local_machine'
    selection_cli_3:
        CommandLine|endswith:
            - '\system'
            - '\sam'
            - '\security'
    condition: all of selection_*
False Positives

Dumping hives for legitimate purpouse i.e. backup or forensic investigation

Rule Metadata
Rule ID
82880171-b475-4201-b811-e9c826cd5eaa
Status
test
Level
high
Type
Detection
Created
Mon Oct 12
Modified
Wed Mar 13
Path
rules/windows/process_creation/proc_creation_win_regedit_export_critical_keys.yml
Raw Tags
attack.exfiltrationattack.discoveryattack.t1012
View on GitHub