"An open-source binary analysis tool for modern security workflows."
NusantaraScan is an open-source binary analysis tool designed for modern malware analysis and reverse engineering workflows.
It supports:
- Malware analysis
- RAT (Remote Access Trojan) detection
- Binary reverse engineering
- Packer detection
- Entropy visualization
- Multi-platform executable analysis
Designed to be:
- Powerful for professional analysts
- Simple enough for beginners
- Static Analysis (PE, ELF, Mach-O)
- RAT Detection (DarkComet, NanoCore, NjRAT, Gh0st, etc.)
- String Extraction (URLs, IPs, 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
git clone https://github.com/Lutfifakee-Project/NusantaraScan.git
cd NusantaraScan
pip install -r requirements.txt
python main.py --helppip install nusantarascanpython main.py suspicious_file.exe --yara nusantarascan/signatures/yara_rules/rat_rules
python main.py suspicious_file.exe --deep \
--yara nusantarascan/signatures/yara_rules/rat_rules# Basic analysis
python main.py notepad.exe
# Detect packers
python main.py malware.exe --packer
# Entropy graph visualization
python main.py malware.exe --graph
# Full disassembly
python main.py malware.exe --full-disasm
# Scan all files recursively
python main.py ./malware_samples/ --recursive
# Check file on VirusTotal (requires API key)
python main.py malware.exe --vt --vt-api-key YOUR_API_KEY
# Combine multiple features
python main.py malware.exe --deep --packer --graph --vt
# Export report to HTML/JSON
python main.py file.exe --output report.html --format html _ _ _ ____
| \ | |_ _ ___ __ _ _ __ | |_ __ _ _ __ __ _/ ___| ___ __ _ _ __
| \| | | | / __|/ _` | '_ \| __/ _` | '__/ _` \___ \ / __/ _` | '_ \
| |\ | |_| \__ \ (_| | | | | || (_| | | | (_| |___) | (_| (_| | | | |
|_| \_|\__,_|___/\__,_|_| |_|\__\__,_|_| \__,_|____/ \___\__,_|_| |_| 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
ββ VirtualAllocEx
ββ WriteProcessMemory
ββ RegSetValueExW
[+] String Analysis:
[!] Suspicious strings detected:
β’ DarkComet
β’ CreateRemoteThread
β’ VirtualAllocEx
[!] YARA Scan:
[!] 2 YARA rule(s) matched:
β’ DarkComet_RAT
β’ Suspicious_RAT_APIs
[+] Scan completed!
- Python 3.8 or newer
pip install -r requirements.txtpefileβ Windows PE analysispyelftoolsβ Linux ELF analysiscapstoneβ Disassembly engineyara-pythonβ YARA integrationrichβ CLI formattingrequestsβ VirusTotal API integration
NusantaraScan/
βββ main.py # Main entry point
βββ requirements.txt # Python dependencies
βββ setup.py # Package installer
βββ README.md # Documentation
βββ nusantarascan/
βββ cli.py # CLI handler
βββ analyzers/ # Binary analyzers (PE, ELF, Mach-O)
βββ visualizers/ # Entropy graph visualization
βββ integrations/ # VirusTotal integration
βββ scanners/ # Multi-file scanner
βββ utils/ # Utilities (hashing, entropy, etc.)
βββ signatures/ # YARA scanner & rules
β βββ yara_rules/
β βββ rat_rules/ # RAT detection rules
βββ formatters/ # JSON/HTML exporters
To significantly improve detection capabilities, you can integrate community-maintained YARA rules from the Yara-Rules/rules repository.
This repository contains thousands of signatures for:
- Malware detection
- Packer detection
- Exploit kits
- Malicious documents
- Anti-debugging techniques
- Threat actor indicators
git clone https://github.com/Yara-Rules/rules.git \
nusantarascan/signatures/yara_rules/communitynusantarascan/signatures/yara_rules/
βββ rat_rules/ # Custom RAT rules
βββ community/ # Community YARA rules
βββ malware/
βββ packers/
βββ maldocs/
βββ ...
python main.py suspicious_file.exe \
--yara nusantarascan/signatures/yara_rules/communitypython main.py suspicious_file.exe \
--yara nusantarascan/signatures/yara_rules/community/malwarepython main.py suspicious_file.exe \
--yara nusantarascan/signatures/yara_rules/This project is intended for:
- Security research
- Malware analysis
- Educational purposes
- Authorized penetration testing
The developer is not responsible for:
- Illegal activities
- Unauthorized system access
- Misuse of this software
- Damage caused by improper usage
Use this tool responsibly and only in environments where you have explicit permission.
This project is licensed under the GNU General Public License v3.0 (GPLv3).
See the LICENSE file for more information.