Skip to content

Detect and classify malicious HTTP requests using Machine Learning. Includes dataset preprocessing, model training (Random Forest, SVM, LSTM), and an API for real-time prediction to protect against SQL injection, XSS, and other web attacks.

Notifications You must be signed in to change notification settings

glorynino/smart-HTTP-attack-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Intelligent Detection of Malicious HTTP Requests

This project was developed during my internship.
The goal is to design and implement a system capable of detecting malicious HTTP requests using machine learning.


πŸ“Œ Objectives

  • Analyze common web attacks (e.g., SQL Injection, XSS).
  • Collect and preprocess datasets of annotated HTTP requests.
  • Train and compare multiple ML models (RandomForest, SVM, LSTM).
  • Develop an API (Flask/FastAPI) for real-time detection.
  • Provide a synthetic report with results and comparisons.

πŸ”‘ Features

  • Preprocessing of HTTP requests (tokenization, feature extraction).
  • Machine learning model training and evaluation (accuracy, precision, recall, F1-score).
  • REST API to classify requests as malicious or legitimate.
  • Modular design β†’ easily extendable with new datasets/models.

πŸ›  Tech Stack

  • Languages: Python
  • Frameworks/Libraries: Scikit-learn, TensorFlow/PyTorch, Flask/FastAPI
  • Tools: Jupyter Notebook, Git

πŸ“‚ Dataset

The dataset used in this project is not stored in this repository.
You can download it from the following source:

πŸ”— Dataset URL

After downloading, place the files inside the data/ folder:

About

Detect and classify malicious HTTP requests using Machine Learning. Includes dataset preprocessing, model training (Random Forest, SVM, LSTM), and an API for real-time prediction to protect against SQL injection, XSS, and other web attacks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages