Setup: Linux environment(Attacker) Metasploit Python 2. Windows environment(Target) Disabled windows defender MS Office 1. Developing a Malicious Document (MalDoc): Techniques and Considerations First, we will create a document containing an embedded macro. When the document is opened, the macro will automatically execute, initiating the download of a malicious Meterpreter payload and subsequently executing it.