Sigma rule: WScript or CScript Dropper - File

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

Rule

Title
WScript or CScript Dropper - File
Status
test
Level
high
Author
Tim Shelton
Date
2022-01-10
Modified
2026-02-17
File
rules/windows/file/file_event/file_event_win_cscript_wscript_dropper.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a file ending in jse, vbe, js, vba, vbs, wsf, wsh written by cscript.exe or wscript.exe

Log source

product
windows
category
file_event

Detection

selection:
    Image|endswith:
        - '\wscript.exe'
        - '\cscript.exe'
    TargetFilename|contains:
        - ':\Perflogs\'
        - ':\ProgramData\'
        - ':\Temp\'
        - ':\Tmp\'
        - ':\Users\'
        - ':\Windows\Temp\'
        - '\AppData\Local\Temp'
        - '\AppData\Roaming\Temp'
        - '\Start Menu\Programs\Startup\'
        - '\Temporary Internet'
    TargetFilename|endswith:
        - '.js'
        - '.jse'
        - '.vba'
        - '.vbe'
        - '.vbs'
        - '.wsf'
        - '.wsh'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.t1059.005
  • attack.t1059.007

MITRE ATT&CK ids this rule names

Related rules

References

  • WScript or CScript Dropper (cea72823-df4d-4567-950c-0b579eaf0846)

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

Sources and licences

  • SigmaHQ

    "WScript or CScript Dropper - File" by Tim Shelton (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_cscript_wscript_dropper.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: WScript or CScript Dropper - File",
entity page, dataset version ref-6cf913eb7035, updated 2026-02-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/002bdb95-0cf1-46a6-9e08-d38c128a6127 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 002bdb95-0cf1-46a6-9e08-d38c128a6127, 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.