Sigma rule: Wscript Shell Run In CommandLine
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-70390c4f5501, updated 2023-05-15T00:00:00.000Z.
Rule
- Title
- Wscript Shell Run In CommandLine
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-08-31
- Modified
- 2023-05-15
- File
- rules/windows/process_creation/proc_creation_win_mshta_inline_vbscript.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the presence of the keywords "Wscript", "Shell" and "Run" in the command, which could indicate a suspicious activity
Log source
- product
- windows
- category
- process_creation
Detection
selection:
CommandLine|contains|all:
- 'Wscript.'
- '.Shell'
- '.Run'
condition: selectionFalse positives (as the rule lists them)
- Inline scripting can be used by some rare third party applications or administrators. Investigate and apply additional filters accordingly
Tags
- attack.execution
- attack.t1059
MITRE ATT&CK ids this rule names
References
- https://web.archive.org/web/20220830122045/http://blog.talosintelligence.com/2022/08/modernloader-delivers-multiple-stealers.html
- https://blog.talosintelligence.com/modernloader-delivers-multiple-stealers-cryptominers-and-rats/
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_mshta_inline_vbscript.yml
Sources and licences
SigmaHQ
"Wscript Shell Run In CommandLine" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_mshta_inline_vbscript.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Wscript Shell Run In CommandLine",
entity page, dataset version ref-70390c4f5501, updated 2023-05-15T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/2c28c248-7f50-417a-9186-a85b223010ee (accessed 2026-11-03).
Underlying source: SigmaHQ rule 2c28c248-7f50-417a-9186-a85b223010ee, 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.