Skip to content

PowerShell script generates Word document containing macro code.

Notifications You must be signed in to change notification settings

cyb3rw01f/wordDocGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

wordDocGenerator

PowerShell script that will generate an Word document that contains a macro.

This script is for security control testing purposes or malware analysis research only. Malicious use of this script is prohibitted.

DESCRIPTION

Script generates a Microsoft Word document containing a macro. The macro vba code can be customzed. Simply replace the informastion in the $code variable secion of the script.

Look for this section, $code = @" @" Just place your code between the @" and "@ section and execute the script to generate your word document file"

The PS1 script contains code that generates random data to insure each file generated is forensicly unique.

Notes

Macro enabled Word Document generater requires Microsoft Word to be installed on the syestem that the scipt will be executed.

Some anti malware programs detect the word file when its generated so you may need to supress detection while the script is in use.

How to use wordDocGenerator

To generate a Word document with a unique MD5sum simply execute the PS1 script.

PS C:\Users\cyb3rw01f\> .\wordDocGenerator.ps1

About

PowerShell script generates Word document containing macro code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published