This Prelude-developed test uses a popular payload-generating software known as Msfvenom to record a macro into an .xlsm file, which is then dropped to disk.
Copy and paste the command above into any Linux, Mac or Windows terminal to safely test your defenses against dropping a malicious file.