Advanced Binary Analysis Tool
Project description
NusantaraScan
"An open-source binary analysis tool for modern security workflows."
Tentang Proyek
NusantaraScan adalah tool open-source untuk analisis binary, mencakup malware analysis, deteksi RAT (Remote Access Trojan), dan reverse engineering.
Dirancang agar:
- Powerful untuk analis profesional
- Tetap simpel untuk pemula
Fitur v0.2.0
- Static Analysis (PE, ELF, Mach-O)
- RAT Detection (DarkComet, NanoCore, NjRAT, Gh0st, dll)
- String Extraction (URL, IP, API calls)
- Entropy Analysis
- Section Analysis
- YARA Integration
- Disassembly (x86/x64/ARM/ARM64)
- Multi-format Export (JSON, HTML)
- Packer Detection (UPX, ASPack, MPRESS)
- Entropy Visualization
- Multi-File Scanning
- VirusTotal Integration
Instalasi
git clone https://github.com/Lutfifakee-Project/NusantaraScan.git
cd NusantaraScan
pip install -r requirements.txt
python main.py --help
Install dari PyPI
pip install nusantarascan
Deteksi RAT (Remote Access Trojan)
python main.py file_curiga.exe --yara nusantarascan/signatures/yara_rules/rat_rules
python main.py file_curiga.exe --deep --yara nusantarascan/signatures/yara_rules/rat_rules
Contoh Penggunaan
# Analisis dasar
python main.py notepad.exe
# Deteksi packer
python main.py malware.exe --packer
# Visualisasi entropy graph
python main.py malware.exe --graph
# Full disassembly
python main.py malware.exe --full-disasm
# Scan semua file dalam folder
python main.py ./malware_samples/ --recursive
# Cek ke VirusTotal (perlu API key)
python main.py malware.exe --vt --vt-api-key YOUR_API_KEY
# Kombinasi semua fitur
python main.py malware.exe --deep --packer --graph --vt
# Export ke HTML/JSON
python main.py file.exe --output report.html --format html
๐ Contoh Output
_ _ _ ____
| \ | |_ _ ___ __ _ _ __ | |_ __ _ _ __ __ _/ ___| ___ __ _ _ __
| \| | | | / __|/ _` | '_ \| __/ _` | '__/ _` \___ \ / __/ _` | '_ \
| |\ | |_| \__ \ (_| | | | | || (_| | | | (_| |___) | (_| (_| | | | |
|_| \_|\__,_|___/\__,_|_| |_|\__\__,_|_| \__,_|____/ \___\__,_|_| |_| 0.2.0
https://github.com/Lutfifakee-Project/
[+] Target : malware_simulator.exe
[+] Size : 8,456,064 bytes (8.06 MB)
[+] MD5 : 1a2b3c4d5e6f7g8h9i0j
[+] Entropy : 6.8521
[*] Section Analysis:
โโโโโโโโโโณโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโณโโโโโโโโโโโณโโโโโโโโโโ
โ Name โ Virtual Address โ Virtual Size โ Raw Size โ Entropy โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ .text โ 0x1000 โ 0x2448f โ 0x24600 โ 6.2747 โ
โ .rdata โ 0x26000 โ 0x9288 โ 0x9400 โ 5.9296 โ
โโโโโโโโโโดโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโ
[+] Imported Functions:
KERNEL32.dll
โโ CreateRemoteThread โ Indikasi RAT!
โโ VirtualAllocEx
โโ WriteProcessMemory
โโ RegSetValueExW
[+] String Analysis:
[!] String mencurigakan ditemukan:
โข DarkComet โ Indikasi RAT DarkComet!
โข CreateRemoteThread
โข VirtualAllocEx
[!] YARA Scan:
[!] 2 YARA rule(s) matched:
โข DarkComet_RAT โ RAT Terdeteksi!
โข Suspicious_RAT_APIs
[+] Scan completed!v
๐ฆ Requirements
- Python 3.8 atau lebih baru
Install dependencies:
pip install -r requirements.txt
Dependencies:
pefileโ Analisis file PE Windowspyelftoolsโ Analisis file ELF Linuxcapstoneโ Disassembly engineyara-pythonโ YARA integrationrichโ CLI output formattingrequestsโ VirusTotal API
๐ Struktur Proyek
NusantaraScan/
โโโ main.py # Entry point utama
โโโ requirements.txt # Dependencies
โโโ setup.py # Installer
โโโ README.md # Dokumentasi
โโโ nusantarascan/
โโโ cli.py # CLI handler
โโโ analyzers/ # Binary analyzers (PE, ELF, Mach-O)
โโโ visualizers/ # Entropy graph visualization
โโโ integrations/ # VirusTotal API
โโโ scanners/ # Multi-file scanner
โโโ utils/ # Utilities (hash, entropy)
โโโ signatures/ # YARA scanner & rules
โ โโโ yara_rules/
โ โโโ rat_rules/ # YARA rules untuk deteksi RAT
โโโ formatters/ # JSON/HTML export
Menggunakan Koleksi Rules Komunitas (Yara-Rules)
Untuk meningkatkan kemampuan deteksi secara signifikan, Anda dapat mengintegrasikan koleksi rules dari repositori Yara-Rules/rules. Repositori ini berisi ribuan signature YARA untuk mendeteksi berbagai ancaman, termasuk malware, exploit kit, dokumen berbahaya, dan teknik anti-debug.
Langkah-langkah Mengintegrasikan:
Clone repositori ke dalam direktori signatures tool ini: git clone https://github.com/Yara-Rules/rules.git nusantarascan/signatures/yara_rules/community
Struktur Direktori: Setelah berhasil, Anda akan memiliki struktur seperti ini: nusantarascan/signatures/yara_rules/ โโโ rat_rules/ # Rules khusus RAT Anda โโโ community/ # Rules dari Yara-Rules โโโ malware/ # Rules untuk deteksi malware umum โโโ packers/ # Rules untuk deteksi packer (UPX, dll) โโโ maldocs/ # Rules untuk dokumen berbahaya โโโ ...
Gunakan Rules Komunitas: Anda bisa langsung memindai file dengan semua rules komunitas atau kategori spesifik.
Memindai dengan semua rules dari repositori komunitas
python main.py file_curiga.exe --yara nusantarascan/signatures/yara_rules/community
Memindai dengan rules dari kategori 'malware' saja
python main.py file_curiga.exe --yara nusantarascan/signatures/yara_rules/community/malware
Memindai dengan rules RAT Anda sendiri ditambah rules malware komunitas
python main.py file_curiga.exe --yara nusantarascan/signatures/yara_rules/rat_rules --yara nusantarascan/signatures/yara_rules/community/malware
Lisensi
Proyek ini menggunakan lisensi GNU General Public License v3.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nusantarascan-0.2.0.tar.gz.
File metadata
- Download URL: nusantarascan-0.2.0.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8781dc34349fae9d67e40bf3f79af9ef2ff261a99a135450ca0b174cf6a584df
|
|
| MD5 |
91a259239f5f436033f0fad686cd59f9
|
|
| BLAKE2b-256 |
1fe00180bdb5d3e371d377cf302c995aba5e86cbd87536fb2fb344da94dc4f27
|
File details
Details for the file nusantarascan-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nusantarascan-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e7174a804685a0b0467754f449e1f0bf35c9020b462015e7730c63ed0514d8c
|
|
| MD5 |
72c91fda3edf1fc434c19fa8a68230b6
|
|
| BLAKE2b-256 |
a26703226136f2610cfe52b4a0fbb61a8fefe08c2e58b64b19a9da472eced791
|