A web-based PCAP forensic analysis tool for detecting suspicious network activity, intrusion indicators, and attack patterns from packet capture files.
This tool performs automated forensic analysis of network traffic to identify:
- DNS anomalies
- Malicious infrastructure communication
- Beaconing behaviour
- Lateral movement indicators
- Threat intelligence matches
- Intrusion kill chain stages
The project is designed for cybersecurity learning, digital forensics, incident response, and threat hunting use cases.
- PCAP / PCAPNG / CAP file analysis
- Packet metadata extraction
- Network behaviour profiling
- Suspicious domain detection
- DGA-like subdomain entropy analysis
- Beaconing / periodic DNS timing anomaly detection
- Victim identifier decoding from encoded DNS patterns
- Known malicious IP cross-referencing
- Threat intelligence matching
- HTTP masquerading detection
- Command-and-control (C2) communication identification
- SMB activity detection
- RDP connection analysis
- WMI behaviour indicators
- Port scanning detection
- Chronological attack timeline
- Kill chain stage mapping
- Risk score generation
- Verdict classification:
- Clean
- Suspicious
- Likely Compromised
The tool incorporates detection logic inspired by real-world attack patterns including:
- SolarWinds / SUNBURST
- DNS beaconing malware
- C2 infrastructure communication
- Internal lateral movement behaviour
Threat intelligence sources include public IoCs and advisories from:
- Microsoft Security Response Center
- FireEye / Mandiant
- CISA
- CrowdStrike
- Python
- Flask
- Scapy / Packet Analysis Libraries
- HTML / CSS / JavaScript
network-intrusion-forensics-tool/
│
├── app.py
├── requirements.txt
├── README.md
│
├── modules/
│ ├── analyser.py
│ ├── dns_analyser.py
│ ├── network_analyser.py
│ └── threat_intel.py
│
└── templates/
└── index.htmlgit clone https://github.com/your-username/network-intrusion-forensics-tool.git
cd network-intrusion-forensics-toolpip install -r requirements.txtpython app.pyOpen in browser:
http://localhost:5000
- Launch application
- Upload a
.pcap,.pcapng, or.capfile - Start analysis
- Review generated forensic report
The report includes:
- Suspicious indicators
- Threat matches
- Timeline
- Kill chain mapping
- Final risk verdict
You can test the tool using publicly available packet captures from:
- Malware Traffic Analysis
- Wireshark Sample Captures
- NETRESEC Public PCAP Repository
Recommended:
- SUNBURST-related DNS traffic
- Malware beaconing traffic
- Lateral movement traffic samples
Built as a Digital Forensics and Cybersecurity project to demonstrate practical network forensic analysis techniques used in incident response and threat hunting.
- ML-based anomaly detection
- MITRE ATT&CK mapping
- SIEM integration
- PDF forensic report export
- Live packet capture support