
Pythonベースのツールで、MySQLインスタンス内のランサムウェア感染や悪意のあるコードを検出します。偵察、ユーザー列挙、侵害されたデータベースの深層スキャンを実行します。


攻撃者は、インターネット上で悪質な活動を行うためにMySQLインスタンスを悪用しています。サイバー犯罪者は露出したMySQLインスタンスを標的にし、データの窃取、破壊、身代金による金銭要求のために大規模な感染を引き起こしています。例えば、MySQL導入が直面する重大な脅威の一つがランサムウェアです。我々は、MySQLインスタンス内の潜在的な感染を検出するために「MELEE」というツールを作成しました。このツールにより、セキュリティ研究者、ペネトレーションテスター、脅威インテリジェンス専門家は、悪意のあるコードを実行している侵害された感染済み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