
CVE-2017-8570生成脚本(CVE-2017-0199另一种利用方式)
使用方法:python packager_composite_moniker.py -s calc.sct -o example.rtf
This repo contains a Proof of Concept exploit for CVE-2017-8570, a.k.a the "Composite Moniker" vulnerability. This demonstrates using the Packager.dll trick to drop an sct file into the %TEMP% directory, and then execute it using the primitive that the vulnerability provides.
A few reasons.
Simply run the script, providing an Sct file to execute, and an output name for your RTF file:
python packager_composite_moniker.py -s calc.sct -o example.rtf
[+] RTF file written to: example.rtf
I have included a Yara rule to detect attempts to exploit this vulnerability via RTF.