Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 2.79 KB

word-macros.md

File metadata and controls

44 lines (28 loc) · 2.79 KB

Word Macros

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}

Junk Code

It's very common to find junk code that is never used to make the reversing of the macro more difficult.
For example, in the following image you can see that and If that is never going to be true is used to execute some junk and useless code.

Macro Forms

Using the GetObject function it's possible to obtain data from forms of the macro. This can be used to difficult the analysis. The following is a photo of a macro form used to hide data inside text boxes (a text box can be hiding other text boxes):

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}