-
Notifications
You must be signed in to change notification settings - Fork 25
インストール
1.MalConfScanのインストール
2.MalConfScan-with-Cuckooのインストール
MalConfScan と MalConfScan-with-Cuckoo のインストール は
virtualenv
のPython仮想環境下で行うことを推奨します。
以下のページを参考にMalConfScan を Cuckoo サーバへインストールする。
GitHub - JPCERTCC/MalConfScan - インストール
MalConfScan-with-Cuckoo のインストール手順は以下のドキュメントを参考にして作成してます。
Development with the Python Package | Cuckoo Sandbox Docs
$ git clone https://github.com/jpcertcc/malconfscan-with-cuckoo.git
$ git clone -b 2.0.6 https://github.com/cuckoosandbox/cuckoo.git
Cuckoo で MalConfScan を使えるようにパッチを適用します。
Cuckoo のリポジトリルートへ移動
$ cd cuckoo
malconfscan.patch でCukcooにパッチ適用
$ patch -p1 < ../MalConfScan-with-Cuckoo/malconfscan.patch
以下のCuckooの公式ドキュメントを参考に進めてください。
Requirements | Cuckoo Sandbox Docs
Cuckooのリポジトリルートへ移動
$ cd [git-root-of-Cuckoo]
Cuckooのインストール実行
$ python stuff/monitor.py
$ python setup.py sdist develop
$ cuckoo --cwd /opt/cuckoo
Cuckoo Working Directoryの詳細は以下の公式ドキュメントを参照ください。
Create Cuckoo Working Directory | Cuckoo Sandbox Docs
以下通り、Cuckooの設定ファイルを編集することで MalConfScan-with-Cuckoo を使用できるようになります。
- /opt/cuckoo/conf/memory.conf
[malconfscan]
enabled = yes
filter = no
- /opt/cuckoo/conf/processing.conf
[memory]
# Create a Memory dump of the entire Virtual Muchine. This memory dump will
# then be analyzed using Volatility to locate interesting events that can be
# extract from memory.
enabled = yes
サンドボックスのホストOSのプロファイルを以下のVolatility公式ドキュメントから選択し、設定します。
Profile List | Volatility wiki - GitHub
- /opt/cuckoo/conf/[your_vm_software].conf
osprofile = [your_sandbox_machine's_OS_profile]
または、
- /opt/cuckoo/conf/memory.conf
[basic]
# profile to avoid wasting time identifying it
guest_profile = [your_sandbox_machine's_OS_profile]
Cuckooに関わる以降の設定については、Cuckooの公式ドキュメントを参考にしてください。