Sigma rule: SafeBoot Registry Key Deleted Via Reg.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-fc1a60876be2, updated 2023-02-04T00:00:00.000Z.

Rule

Title
SafeBoot Registry Key Deleted Via Reg.EXE
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems), Tim Shelton
Date
2022-08-08
Modified
2023-02-04
File
rules/windows/process_creation/proc_creation_win_reg_delete_safeboot.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects execution of "reg.exe" commands with the "delete" flag on safe boot registry keys. Often used by attacker to prevent safeboot execution of security products

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: 'reg.exe'
    - OriginalFileName: 'reg.exe'
selection_delete:
    CommandLine|contains|all:
        - ' delete '
        - '\SYSTEM\CurrentControlSet\Control\SafeBoot'
condition: all of selection_*

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.defense-impairment
  • attack.t1685

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

Sources and licences

  • SigmaHQ

    "SafeBoot Registry Key Deleted Via Reg.EXE" by Nasreddine Bencherchali (Nextron Systems), Tim Shelton (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_reg_delete_safeboot.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: SafeBoot Registry Key Deleted Via Reg.EXE",
entity page, dataset version ref-fc1a60876be2, updated 2023-02-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/fc0e89b5-adb0-43c1-b749-c12a10ec37de (accessed 2026-11-03).
Underlying source: SigmaHQ rule fc0e89b5-adb0-43c1-b749-c12a10ec37de, 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.