Sigma rule: Imports Registry Key From a File

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-abacb327a26c, updated 2024-03-13T00:00:00.000Z.

Rule

Title
Imports Registry Key From a File
Status
test
Level
medium
Author
Oddvar Moe, Sander Wiebing, oscd.community
Date
2020-10-07
Modified
2024-03-13
File
rules/windows/process_creation/proc_creation_win_regedit_import_keys.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the import of the specified file to the registry with regedit.exe.

Log source

product
windows
category
process_creation

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 (as the rule lists them)

  • Legitimate import of keys
  • Evernote

Tags

  • attack.persistence
  • attack.defense-impairment
  • attack.t1112

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_regedit_import_keys.yml

Sources and licences

  • SigmaHQ

    "Imports Registry Key From a File" by Oddvar Moe, Sander Wiebing, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_regedit_import_keys.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Imports Registry Key From a File",
entity page, dataset version ref-abacb327a26c, updated 2024-03-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/73bba97f-a82d-42ce-b315-9182e76c57b1 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 73bba97f-a82d-42ce-b315-9182e76c57b1, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.