A web-based PCAP analyzer that detects malicious network traffic using YARA rules and MD5 hash matching.
- Upload and analyze
.pcap/.pcapngfiles - Extract MD5 hashes from packet payloads
- YARA-based malware detection with 200+ signatures
- Interactive web dashboard with scan statistics
Cerberus-Hash/
├── app.py # Flask web application
├── pcap_parser.py # PCAP processing & hash extraction
├── yara_scanner.py # YARA malware detection
├── requirements.txt # Dependencies
├── templates/ # HTML templates
├── uploads/ # Uploaded PCAP files
└── yara_rules/ # Malware detection rules
git clone https://github.com/pradeeshl/Cerberus-Hash.git
cd Cerberus-Hash
pip install -r requirements.txt
python app.pyAccess at: http://localhost:5000
Dependencies: Flask, Scapy, YARA-Python
- Upload a PCAP file via the web interface
- System extracts packets and generates MD5 hashes
- Scans hashes against YARA malware rules
- View detailed results and statistics
- Packet Extraction - Scapy parses PCAP files
- Hash Generation - MD5 hashes computed for payloads
- Signature Matching - Hashes compared against YARA rules
- Result Display - Bootstrap web interface shows detections
Add custom YARA rules to yara_rules/malware_rules.yar for new threat patterns.
PRADEESH L - @pradeeshl
For cybersecurity research purposes. Analyze PCAP files in isolated environments and comply with applicable laws.
Cerberus-Hash - Network threat detection through packet analysis 🛡️