
أداة قائمة على بايثون لاكتشاف إصابات برامج الفدية والكود الخبيث في حالات MySQL. تقوم بالاستطلاع، وتعداد المستخدمين، والمسح العميق لقواعد البيانات المخترقة.


يُسيء المهاجمون استخدام مثيلات MySQL لتنفيذ عمليات خبيثة على الإنترنت. يستهدف مجرمو الإنترنت مثيلات MySQL المكشوفة ويُحدثون إصابات على نطاق واسع لسرقة البيانات وتدميرها وابتزاز الأموال عن طريق الفدية. على سبيل المثال، أحد التهديدات الكبيرة التي تواجه نشرات MySQL هو برامج الفدية. قمنا بتأليف أداة باسم "MELEE" لكشف الإصابات المحتملة في مثيلات MySQL. تسمح الأداة لباحثي الأمن ومختبري الاختراق وخبراء استخبارات التهديدات باكتشاف مثيلات MySQL المخترقة والمصابة التي تُشغِّل كودًا خبيثًا. كما تمكنك الأداة من إجراء بحث فعّال في مجال البرامج الضارة التي تستهدف قواعد البيانات السحابية. في هذا الإصدار من الأداة، يتم دعم الوحدات التالية:
$ python3 melee.py
--------------------------------------------------------------------
__ ___________ ____________
/ |/ / ____/ / / ____/ ____/
/ /|_/ / __/ / / / __/ / __/
/ / / / /___/ /___/ /___/ /___
/_/ /_/_____/_____/_____/_____/
MELEE (may-lay): A Tool to Detect Potential Infections in MySQL Deployments!
Authored by: Aditya K Sood {https://adityaksood.com}
--------------------------------------------------------------------
[*] { MELEE } Tool Usage:
[*] { MELEE } - MySQLDB Ransomware Infection Detector .....
[*] usage: melee.py <mysql host (local or remote)> <mysql service port> <mysql username> <mysql password> <module>
[*] MELEE supported modules:
- map_mysql_geoip: map the GeoIP presence of the MySQL host
- check_anonymous_access: verify if the remote MySQL host has anonymous access
- enum_mysql_db_names: enumerate all the available MySQL databases
- enum_mysql_db_tables: enumerate all the tables in active databases
- enum_mysql_db_users: enumerate all the user names related to MySQL database (MySQL user) only
- enum_active_users: enumerate all the logged-in users (information_schema.process list) only
- check_ransomware_infection: detect a potential ransomware infection
- deep_scan_ransomware_infection: launch a deep scan to extract infected resources and a ransom message
[*] example: melee.py 99.34.123.xxx 3306 root root check_ransomware_infection
[*] example: melee.py 89.34.451.xxx 3306 root "" deep_scan_ransomware_infection
[*] tool considerations:
- for ransom message analysis, the file is dumped to the local directory with <mysql_host>_ransom_message.txt
- for the anonymous access module, do not supply any password with a username
- for weak authentication credentials, use combinations such as <root:root>, or other combinations
تم البحث والتطوير بواسطة Aditya K Sood و Rohit Bansal