Sigma rule: New RUN Key Pointing to Suspicious Folder

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-278b6bd7272b, updated 2025-10-06T00:00:00.000Z.

Rule

Title
New RUN Key Pointing to Suspicious Folder
Status
experimental
Level
high
Author
Florian Roth (Nextron Systems), Markus Neis, Sander Wiebing, Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2018-08-25
Modified
2025-10-06
File
rules/windows/registry/registry_set/registry_set_susp_run_key_img_folder.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious new RUN key element pointing to an executable in a suspicious folder

Log source

product
windows
category
registry_set

Detection

selection_target:
    TargetObject|contains:
        - '\Software\Microsoft\Windows\CurrentVersion\Run'
        - '\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run'
        - '\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'
selection_suspicious_paths_1:
    Details|contains:
        - ':\Perflogs'
        - :\ProgramData'
        - ':\Windows\Temp'
        - ':\Temp'
        - '\AppData\Local\Temp'
        - '\AppData\Roaming'
        - ':\$Recycle.bin'
        - ':\Users\Default'
        - ':\Users\public'
        - '%temp%'
        - '%tmp%'
        - '%Public%'
        - '%AppData%'
selection_suspicious_paths_user_1:
    Details|contains: ':\Users\'
selection_suspicious_paths_user_2:
    Details|contains:
        - '\Favorites'
        - '\Favourites'
        - '\Contacts'
        - '\Music'
        - '\Pictures'
        - '\Documents'
        - '\Photos'
filter_main_windows_update:
    TargetObject|contains: '\Microsoft\Windows\CurrentVersion\RunOnce\'
    Image|startswith: 'C:\Windows\SoftwareDistribution\Download\'
    Details|contains|all:
        - 'rundll32.exe '
        - 'C:\WINDOWS\system32\advpack.dll,DelNodeRunDLL32'
    Details|contains:
        - '\AppData\Local\Temp\'
        - 'C:\Windows\Temp\'
filter_optional_spotify:
    Image|endswith:
        - 'C:\Program Files\Spotify\Spotify.exe'
        - 'C:\Program Files (x86)\Spotify\Spotify.exe'
        - '\AppData\Roaming\Spotify\Spotify.exe'
    TargetObject|endswith: 'SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Spotify'
    Details|endswith: 'Spotify.exe --autostart --minimized'
condition: selection_target and (selection_suspicious_paths_1 or (all of selection_suspicious_paths_user_* )) and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Software using weird folders for updates

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/registry/registry_set/registry_set_susp_run_key_img_folder.yml

Sources and licences

  • SigmaHQ

    "New RUN Key Pointing to Suspicious Folder" by Florian Roth (Nextron Systems), Markus Neis, Sander Wiebing, Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_susp_run_key_img_folder.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: New RUN Key Pointing to Suspicious Folder",
entity page, dataset version ref-278b6bd7272b, updated 2025-10-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/02ee49e2-e294-4d0f-9278-f5b3212fc588 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 02ee49e2-e294-4d0f-9278-f5b3212fc588, 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.