This repository contains a unsupervised machine learning algorithm designed to detect brute force attacks. The project aims to leverage the power of unsupervised machine learning model to analyze network traffic patterns and identify potential brute force attacks in real-time.
The primary goal of this project is to develop a robust and efficient system capable of identifying brute force attacks on network systems. By utilizing unsupervised machine learning algorithm techniques, we aim to enhance the accuracy and speed of attack detection, thereby improving overall network security.
When an abnormality is detected, the model sends an alert, allowing the administrator to take appropriate action. The administrator can block the attacker's IP address, making it a reliable option for real-world brute-force attack detection.
keys.py
: Contains the twilio keys used for alert messaging mechanism.main.py
: The main script that runs the unsupervised machine learning model for detecting brute force attacks.
train.csv
: Contains training data for the unsupervised machine learning model.test.csv
: Contains test data to evaluate the performance of the trained model.
To get started with the project, follow these steps:
- Clone the repository:
git clone https://github.com/GlenMue/BRUTE_FORCE_DETECTOR
- Navigate to the project directory:
cd BRUTE_FORCE_DETECTOR
- Install required Python packages:
pip install -r requirements.txt
- For the Nextjs frontend:
cd frontend
npm install
npm run dev
After setting up the environment, you can run the main script to start detecting brute force attacks. Use the following command:
python main.py
This script will initiate the deep learning model and begin monitoring network traffic for signs of brute force attacks.
Contributions to this project are welcome If you find a bug, have a feature request, or would like to contribute to the development of the model, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.