
SMBGhost (CVE-2020-0796) أتمتة الاستغلال والكشف
هذا البرنامج بلغة بايثون هو غلاف لثغرة SMBGhost الخاصة بـ RCE. كل الفضل يعود في الاستغلال العملي إلى chompie1337. وكل الفضل في الماسح الضوئي يعود إلى ioncodes.
أنا فقط قمت بأتمتة هذه الوظائف في برنامج واحد. يجب أن تضع في اعتبارك بنية الهدف الذي يعمل بنظام Windows عند إنشاء الـ reverse shell.
هذا الاستغلال ليس مستقرًا، استخدمه على مسؤوليتك الخاصة. أحيانًا لا يعمل من المحاولة الأولى، ولهذا أضفت محاولة ثانية.
إذا كنت ستضع الـ shellcode الخاص بك، ضع في اعتبارك أن الحجم الأقصى للـ shellcode هو 600 بايت.
ISO ويندوز (x64) عرضة للثغرة لاختبار الاستغلال: تحميل MEGA
1º Stageless reverse shell (x64) تم إنشاؤه من msfvenom.

2º محاولة استخدام shellcode مخصص لإضافة المستخدم "di.security" كمسؤول في الهدف. الفضل في الـ shellcode يعود إلى rastating

usage: Smb_Ghost.py [-h] -i IP [-p PORT] [--check] [-e] [--lhost LHOST]
[--lport LPORT] [--arch ARCH] [--silent] [--shellcode]
[--load-shellcode LOAD_SHELLCODE]
SMBGhost Detection and Exploitation
optional arguments:
-h, --help show this help message and exit
-i IP, --ip IP IP address
-p PORT, --port PORT SMB Port
--check Check SMBGhost Vulnerability
-e Directly exploit SMBGhost
--lhost LHOST Lhost for the reverse shell
--lport LPORT Lport for the reverse shell
--arch ARCH Architecture of the target Windows Machine
--silent Silent mode for the scanner
--shellcode Shellcode Menu to import your shell
--load-shellcode LOAD_SHELLCODE
Load shellcode directly from file
أي استخدام خاطئ لهذا البرنامج لن يكون من مسؤولية المؤلف. استخدمه على شبكاتك الخاصة و/أو بإذن من مالك الشبكة.