Advanced Email Threat Analysis & Header Intelligence Platform
Analyze email headers, trace routing paths, detect phishing indicators, and generate structured forensic insights.
The Email Header Forensics & Threat Traceback Portal is designed to perform structured analysis of raw email headers to uncover hidden routing paths, detect authentication failures, and trace sender origins.
This project replicates real-world email investigation workflows used in cybersecurity and digital forensics.
- Extracts
Receivedchain - Identifies sender IP addresses
- Parses timestamps and mail servers
- Maps IP addresses to physical locations
- Visualizes global email routing paths
- SPF result extraction
- DKIM presence detection
- Rule-based anomaly detection
- Flags suspicious headers
- Generates risk levels
- Stores previous analyses
- Export results as CSV / PDF
- User login system
- Admin dashboard functionality
flowchart LR
A[Email Header Input] --> B[Parser Engine]
B --> C[IP Extraction]
C --> D[Geo Lookup]
B --> E[SPF/DKIM Analysis]
D --> F[Risk Engine]
E --> F
F --> G[Results Dashboard]
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript |
| Backend | Python (Flask) |
| Database | SQLite |
| Visualization | JavaScript Maps |
| Deployment | Render |
backend/
βββ app.py
βββ parser.py
βββ geo.py
βββ risk.py
βββ models.py
βββ auth.py
βββ auth_utils.py
βββ static/
βββ templates/git clone https://github.com/your-username/email-forensics.git
cd email-forensicspython -m venv venv
venv\Scripts\activatepip install -r requirements.txtCreate .env file:
SECRET_KEY=your_secret_keypython backend/app.py- Sensitive data stored using environment variables
.envand secret files excluded via.gitignore- No credentials exposed in repository
- Integration with threat intelligence APIs
- Advanced anomaly detection techniques
- Cloud database (PostgreSQL)
- Enhanced analytics dashboard
Anoop Shivadas B.Sc IT | Cybersecurity
This project demonstrates practical implementation of:
- Email header forensic analysis
- Threat tracing techniques
- Backend data processing
- Secure web application development
β Star this repository if you find it useful!
