Skip to content

Tricks the target into enabling content (macros) with fake messages. Once enabled, uses macros to reduce the risk of suspision from target user via verious methods.

Notifications You must be signed in to change notification settings

martinsohn/Office-phish-templates

Repository files navigation

Office phish templates and defense recommendations

Tricks the target into enabling content (macros) with fake messages. Once enabled, uses macros to reduce the risk of suspision from target user via verious methods.

Templates are available with a example macro code or without (macro code for each template can be seen in screenshots below):

  • With macros
    • .xlsm
    • .docm
  • Without macros
    • .xlsx
    • .docx

Notes to defend against macro attacks

Notes to increase phishing success

  • Saving as 97-2003 document (eg. .xls) gives an old-style icon without the small script icon that you will see for e.g. .xlsm.
  • Clear unwanted meta-data via Info -> Check for Issues -> Inspect Document
  • Add wanted meta-data to reduce risk of suspicion

Methods

Excel

Hide the sheet containing the fake message, show a legitimate-looking sheet, and opens calc.exe

  1. Add macro code to 'ThisWorkbook' function 'WorkbookOpen()' (Developer tab -> Visual Basic).
  2. Fill 'Sheet1' with legitimate-looking data
  3. Hide 'Sheet1'
  4. Protect sheet 'Excel version mismatch'. Uncheck 'Select (un)locked cells'

If you change sheet names, you must do so too in the code that switches sheets!

Demonstration

Document presented to user

Code to perform method

Word

Fake error message popup, which when closed opens notepad.exe

  1. Add macro code to 'ThisDocument' function 'MessageClosed()' (Developer tab -> Visual Basic).
  2. Edit popup failure code to a unique identifier. Can be used to e.g. verify that the target enabled macros.
  3. Review -> Restrict Editing: Allow only 'Filling in forms'.

Demonstration

Document presented to user

Code to perform method

About

Tricks the target into enabling content (macros) with fake messages. Once enabled, uses macros to reduce the risk of suspision from target user via verious methods.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published