Detectionlowtest
Exports Registry Key To a File
Detects the export of the target 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 Wed Oct 07Updated Wed Mar 13f0e53e89-8d22-46ea-9db5-9d4796ee2f8awindows
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|windash: ' -E '
filter_1: # filters to avoid intersection with critical keys rule
CommandLine|contains:
- 'hklm'
- 'hkey_local_machine'
filter_2:
CommandLine|endswith:
- '\system'
- '\sam'
- '\security'
condition: all of selection_* and not all of filter_*False Positives
Legitimate export of keys
MITRE ATT&CK
Techniques
Rule Metadata
Rule ID
f0e53e89-8d22-46ea-9db5-9d4796ee2f8a
Status
test
Level
low
Type
Detection
Created
Wed Oct 07
Modified
Wed Mar 13
Author
Path
rules/windows/process_creation/proc_creation_win_regedit_export_keys.yml
Raw Tags
attack.exfiltrationattack.discoveryattack.t1012