CmdID / Techniques / T1059
T1059.005 Command and Scripting Interpreter: Visual Basic
Adversaries may abuse Visual Basic (VB) for execution. MITRE ATT&CK
6 programs on CmdID 18 Sigma rules T1059.005 on attack.mitre.org
Part of
Programs for it
Sigma rules tagged with it
Command lines CmdID reads as it
Run a script on the page for cscript.exe
cscript path\to\script.vbsIdentifyRun script in the interactive or batch mode (enable or suppress alerts, prompts, and scripting errors) on the page for cscript.exe
cscript //i path\to\script.vbsIdentifyRun a script on the page for wscript.exe
wscript path\to\script.vbsIdentifyRun script in the interactive or batch mode (enable or suppress alerts, prompts, and scripting errors) on the page for wscript.exe
wscript //i path\to\script.vbsIdentifyInstall a product key (Note: It replaces the existing key) on the page for ospp.vbs
cscript ospp.vbs /inpkey:product_keyIdentifyUninstall an installed product key with the last five digits of the product key on the page for ospp.vbs
cscript ospp.vbs /unpkey:product_key_digitsIdentifyDisplay license information for installed product keys on the page for ospp.vbs
cscript ospp.vbs /dstatusIdentifydisplay the current Windows license information on the page for slmgr.vbs
cscript slmgr.vbs /dliIdentifydisplay the installation iD for the current device. Useful for offline license activation on the page for slmgr.vbs
cscript slmgr.vbs /dtiIdentifyAnd 6 more examples on CmdID’s program pages.
An example is here when CmdID’s reading of it names T1059.005: a Sigma rule it trips is tagged with it, or its abuse is documented as it.