windows enabled community medium v1.0.0

cscript

Binary used to execute scripts in Windows Located at: C:\Windows\System32\cscript.exe; C:\Windows\SysWOW64\cscript.exe.

📋 Live Preview
cscript
cscript

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.alternate-data-stream

Contract

Outputs

process.output

Command execution output

Side effects: filesystem_write

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Use cscript.exe to exectute a Visual Basic script stored in an Alternate Data Stream (ADS). (Can be used to evade defensive countermeasures or to hide as a persistence mechanism)

cscript //e:vbscript {PATH_ABSOLUTE}:script.vbs

Detection

Documentation

cscript

cscript is a Windows LOLBin. Binary used to execute scripts in Windows Located at: C:\Windows\System32\cscript.exe; C:\Windows\SysWOW64\cscript.exe.

References