Sigma rule: Suspicious Startup Folder Persistence

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

Rule

Title
Suspicious Startup Folder Persistence
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2022-08-10
Modified
2025-10-12
File
rules/windows/file/file_event/file_event_win_susp_startup_folder_persistence.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the creation of potentially malicious script and executable files in Windows startup folders, which is a common persistence technique used by threat actors.
These files (.ps1, .vbs, .js, .bat, etc.) are automatically executed when a user logs in, making the Startup folder an attractive target for attackers.
This technique is frequently observed in malvertising campaigns and malware distribution where attackers attempt to maintain long-term access to compromised systems.

Log source

product
windows
category
file_event

Detection

selection:
    TargetFilename|contains: '\Windows\Start Menu\Programs\Startup\'
    TargetFilename|endswith:
        # Add or remove suspicious extensions according to your env needs
        - '.bat'
        - '.cmd'
        - '.dll'
        - '.hta'
        - '.jar'
        - '.js'
        - '.jse'
        - '.msi'
        - '.ps1'
        - '.psd1'
        - '.psm1'
        - '.scr'
        - '.url'
        - '.vba'
        - '.vbe'
        - '.vbs'
        - '.wsf'
condition: selection

False positives (as the rule lists them)

  • Rare legitimate usage of some of the extensions mentioned in the rule

Tags

  • attack.privilege-escalation
  • attack.execution
  • attack.t1204.002
  • attack.persistence
  • attack.t1547.001

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/file/file_event/file_event_win_susp_startup_folder_persistence.yml

Sources and licences

  • SigmaHQ

    "Suspicious Startup Folder Persistence" by Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_startup_folder_persistence.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: Suspicious Startup Folder Persistence",
entity page, dataset version ref-615544d2737b, updated 2025-10-12T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/28208707-fe31-437f-9a7f-4b1108b94d2e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 28208707-fe31-437f-9a7f-4b1108b94d2e, 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.