A machine learning-based tool to detect phishing and malicious URLs.
This project uses deep learning to classify URLs as either safe or malicious. It employs a convolutional neural network model trained on a large dataset of labeled URLs to identify potential phishing attempts and malware distribution sites.
- URL safety classification using deep learning
- Real-time URL checking functionality
- Simple GUI interface for URL input
- Command line interface for batch processing
- Supports both single URL and text with multiple URLs
- Returns probability scores for malicious classification
- Python
- TensorFlow/Keras
- Tkinter (for GUI)
- NumPy
- Pandas
- Input: URLs encoded as sequences of characters
- Architecture: Convolutional Neural Network with 3 convolutional layers
- Output: Binary classification (Safe/Malicious) with probability score
- Training accuracy: ~95%
- Validation accuracy: ~94%
python URL_Checker.ipynb
Enter a URL in the input field and click "Check URL" to get the classification result.
python tool.py
Input text containing URLs when prompted. The script will extract and check all URLs found.
- Clone this repository
- Install required packages:
pip install tensorflow numpy pandas string
- Download the pre-trained model file (
model_40.keras
) - Run either the GUI or command line interface
URL_Checker.ipynb
- Main notebooktest2.py
- Command line interfacemodels/
- Directory containing trained modeldataset/
- Training data (CSV format)
This project is licensed under the MIT License - see the LICENSE file for details.
Dataset and base architecture inspired by various phishing detection research papers and implementations.