
このスクリプトを使用すると、Malshare、Malcode、Google、Cymon - vxvault、cybercrime tracker、Pony用のC2などのオープンソースプラットフォームから悪意のあるソフトウェアやC&Cサーバーを収集できます。
DDOM(Daily Dose of Malware)は、オープンソースインテリジェンスからマルウェアやC&Cを収集することを可能にします。
情報を表示したり、結果をテキストファイルにエクスポートしたり、悪意のあるソフトウェアをダウンロードしたりできます。
できるだけ新しい情報を提供したいため、すべてのマルウェアは数日前の日付が付けられています。
Cymonは最新の10件のレコードを表示し、Googleは最初のページのみ、Malcodeはメインページのみを表示します。
Malshare APIは、新しいサンプルが出現すると更新されます。
サポートされているプラットフォーム:
Malcode
Malshare (APIキーを取得する必要があります)
Google dorks
Cymon
-Vx vault
-CyberCrime tracker
-Ponyマルウェア用のCyberCrimeトラッカー(主にC2サーバー)
-Malcode
まずこのリポジトリをクローンします
git clone
Google dorksの場合:
pip install selenium
pip install pyvirtualdisplay
そして、Mozilla Geckodriverが必要です https://github.com/mozilla/geckodriver/releases
Malcodeの場合:
pip install bs4
ツールは python ddom.py で実行できます。
usage: ddom.py [-h] [-s [[...]]] [-cs [[...]]] [-d | -o | -e]
Daily dose of malware
optional arguments:
-h, --help show this help message and exit
-s [ [ ...]], --source [ [ ...]]
source of feed. Allowed values are cymon, malshare,
malcode, google
-cs [ [ ...]], --cymonsource [ [ ...]]
Additional source for Cymon. Allowed values are
vxvault,malcode,cct,ponyc2
-d, --download download malware
-o, --output print to console
-e, --export export to text file
malcodeとmalshareからの情報を表示
dom.py -s malcode malshare --output
++++++++++++++++++++++++++++++++++++
Brought to you by Malc0de
https://twitter.com/malc0de
http://malc0de.com
++++++++++++++++++++++++++++++++++++
------------------
2018-01-10
aba2d86ed17f587eb6d57e6c75f64f05
xxx.xxx.xxx.xxx/Photo.scr
-----------------
2018-01-10
6c29b80a61ff5ca7f5d8db8b002e9631
xxx.xxx/32nP30h187Z
[...]
++++++++++++++++++++++++++++++++++++
Brought to you by Malshare
A free Malware repository providing researchers access to samples, malicous feeds, and Yara results.
http://malshare.com
++++++++++++++++++++++++++++++++++++
http://xxx.xxx/kjdfhg874
http://xxx.xxx/error/error/tc.exe
http://xxx.xxx/images/rn.php
http://xxx.xxx.xxx.xxx/bprocess.exe
http://xxx.xxx.xxx.xxx/64Kilences.exe
[..]
vxvaultとmalcodeからファイルをダウンロード(--downloadはmalshare、malcode、vxvaultで動作します)(悪意のあるサイトに接続します、注意してください)
ddom.py -s cymon -cs vxvault malcode --download
Cymon is the largest open tracker of malware, phishing, botnets, spam, and more. Brought to you by eSentire.
Downloading file http://xxx.xxx/rn.php
Downloaded malcode2018-01-13/rn.php
---------------------------
Downloading file http://xxx.xxx.xxx.xxx/32Kilences.exe
Downloaded malcode2018-01-13/32Kilences.exe
---------------------------
Downloading file http://xxx.xxx/dfjkgy7
Downloaded malcode2018-01-13/dfjkgy7
' source + timestamp ' という名前のディレクトリを作成し、その中にマルウェアをダウンロードします。
google dorksからの結果をエクスポート:
ddom.py -s google --export
++++++++++++++++++++++++++++++++++
Google dorks
++++++++++++++++++++++++++++++++++
Exported to google2018-01-13.txt
' source + timestamp ' という名前のテキストファイルを作成し、情報を保存します。
このツールは好きなように使用してください。
開発方法を知っている、またはアイデアがあれば、教えてください。