Sigma rule: Potential Persistence Attempt Via Run Keys Using Reg.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-05db7c9c0f80, updated 2025-02-17T00:00:00.000Z.

Rule

Title
Potential Persistence Attempt Via Run Keys Using Reg.EXE
Status
test
Level
medium
Author
Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2021-06-28
Modified
2025-02-17
File
rules/windows/process_creation/proc_creation_win_reg_add_run_key.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious command line reg.exe tool adding key to RUN key in Registry

Log source

product
windows
category
process_creation

Detection

selection:
    Image|endswith: '\reg.exe'
    CommandLine|contains|all:
        - 'reg'
        - ' add '
    CommandLine|contains:
        - 'Software\Microsoft\Windows\CurrentVersion\Run'
        - '\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run'
        - '\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'
condition: selection

False positives (as the rule lists them)

  • Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reasons.
  • Legitimate administrator sets up autorun keys for legitimate reasons.
  • Discord

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.t1547.001

MITRE ATT&CK ids this rule names

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_reg_add_run_key.yml

Sources and licences

  • SigmaHQ

    "Potential Persistence Attempt Via Run Keys Using Reg.EXE" by Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_reg_add_run_key.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: Potential Persistence Attempt Via Run Keys Using Reg.EXE",
entity page, dataset version ref-05db7c9c0f80, updated 2025-02-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/de587dce-915e-4218-aac4-835ca6af6f70 (accessed 2026-11-03).
Underlying source: SigmaHQ rule de587dce-915e-4218-aac4-835ca6af6f70, 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.