Sigma rule: Regsvr32 Execution From Potential Suspicious Location

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-193e558840c0, updated 2023-05-26T00:00:00.000Z.

Rule

Title
Regsvr32 Execution From Potential Suspicious Location
Status
test
Level
medium
Author
Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
Date
2023-05-26
File
rules/windows/process_creation/proc_creation_win_regsvr32_susp_exec_path_1.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects execution of regsvr32 where the DLL is located in a potentially suspicious location.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\regsvr32.exe'
    - OriginalFileName: 'REGSVR32.EXE'
selection_cli:
    CommandLine|contains:
        - ':\ProgramData\'
        - ':\Temp\'
        - ':\Users\Public\'
        - ':\Windows\Temp\'
        - '\AppData\Local\Temp\'
        - '\AppData\Roaming\'
condition: all of selection_*

False positives (as the rule lists them)

  • Some installers might execute "regsvr32" with DLLs located in %TEMP% or in %PROGRAMDATA%. Apply additional filters if necessary.

Tags

  • attack.stealth
  • attack.t1218.010

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

Sources and licences

  • SigmaHQ

    "Regsvr32 Execution From Potential Suspicious Location" by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_regsvr32_susp_exec_path_1.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: Regsvr32 Execution From Potential Suspicious Location",
entity page, dataset version ref-193e558840c0, updated 2023-05-26T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9525dc73-0327-438c-8c04-13c0e037e9da (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9525dc73-0327-438c-8c04-13c0e037e9da, 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.