Detectionmediumtest
Imports Registry Key From a File
Detects the import of the specified file to the registry with regedit.exe.
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 Wed Oct 07Updated Wed Mar 1373bba97f-a82d-42ce-b315-9182e76c57b1windows
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:
CommandLine|contains:
- ' /i '
- ' /s '
- '.reg'
filter_1:
CommandLine|contains|windash:
- ' -e '
- ' -a '
- ' -c '
filter_2:
CommandLine|re: ':[^ \\]' # to avoid intersection with ADS rule
condition: all of selection_* and not all of filter_*False Positives
Legitimate import of keys
Evernote
MITRE ATT&CK
Techniques
Rule Metadata
Rule ID
73bba97f-a82d-42ce-b315-9182e76c57b1
Status
test
Level
medium
Type
Detection
Created
Wed Oct 07
Modified
Wed Mar 13
Author
Path
rules/windows/process_creation/proc_creation_win_regedit_import_keys.yml
Raw Tags
attack.persistenceattack.t1112attack.defense-evasion