Sigma rule: Wscript Execution from Non C Drive

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

SigmaHQ marks this rule as deprecated.

Rule

Title
Wscript Execution from Non C Drive
Status
deprecated
Level
medium
Author
Aaron Herman
Date
2022/10/01
Modified
2023/08/29
File
deprecated/windows/proc_creation_win_susp_lolbin_non_c_drive.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects Wscript or Cscript executing from a drive other than C. This has been observed with Qakbot executing from within a mounted ISO file.

Log source

product
windows
category
process_creation

Detection

selection_lolbin:
    Image|endswith:
        - '\wscript.exe'
        - '\cscript.exe'
selection_exetensions:
    CommandLine|contains:
        - '.js'
        - '.vbs'
        - '.vbe'
selection_drive_path:
    CommandLine|contains: ':\'
filter_drive_path:
    CommandLine|contains:
        - ' C:\\'
        - " 'C:\\"
        - ' "C:\\'
filter_env_vars:
    CommandLine|contains: '%'
filter_unc_paths:
    CommandLine|contains: ' \\\\'
condition: all of selection_* and not 1 of filter_*

False positives (as the rule lists them)

  • Legitimate scripts located on other partitions such as "D:"

Tags

  • attack.execution
  • attack.t1059

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/deprecated/windows/proc_creation_win_susp_lolbin_non_c_drive.yml

Sources and licences

  • SigmaHQ

    "Wscript Execution from Non C Drive" by Aaron Herman (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/deprecated/windows/proc_creation_win_susp_lolbin_non_c_drive.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 Execution from Non C Drive",
entity page, dataset version ref-b62e79805af1, updated 2023-08-29T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5b80cf53-3a46-4adc-960b-05ec19348d74 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5b80cf53-3a46-4adc-960b-05ec19348d74, 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.