A web-based AI-powered threat detection system that integrates PE header analysis for .exe
files, URL threat checks, file hash lookups, and extension verification. Designed for fast, reliable detection to support cybersecurity analysis and threat mitigation.
PE Header-Based .exe
File Analysis
Detects malicious Windows executable files using a machine learning model (Random Forest) trained on PE header features.
URL Safety Checker
Analyzes URLs for phishing, malware, or suspicious behavior using the VirusTotal API.
File Hash Analysis
Checks file hashes against known malware databases (like VirusTotal).
File Extension Verification
Identifies spoofed or mismatched file extensions to catch hidden threats.
git clone https://github.com/pathik5/AI-Based-Threat-Detection-System.git
cd AI-Based-Threat-Detection-System
pip install -r requirements.txt
Make sure MalwareDataSet.csv
is present in the project directory.
python app.py
The app will be available at http://localhost:5000.
AI-Based-Threat-Detection-System/
â
âââ app.py # Main Flask application
âââ MalwareDataSet.csv # Dataset for training the ML model
âââ static/ # Static files (images, CSS, JS)
âââ templates/ # HTML templates
âââ requirements.txt
âââ README.md
âââ .gitignore
MalwareDataSet.csv
.This project is open-source and available under the MIT License.
A static project landing page is available at:
https://pathik5.github.io/AI-Based-Threat-Detection-System/
Note:
This page is for informational/demo purposes only. The full application (with all features) runs locally using Python/Flask.