This IDS focuses on detecting intrusion attempts by matching patterns in network data (such as suspicious strings in payloads or requests). It integrates the Knuth-Morris-Pratt (KMP) string-search algorithm for efficient pattern matching while also using auxiliary methods such as hashing and tries for indexing or rule-based detection.
This is an ongoing project and will be updated as I work on it.
- Efficient Pattern Matching: Utilizes the Knuth-Morris-Pratt (KMP) algorithm for fast and efficient string searching.
- Auxiliary Methods: Incorporates hashing and tries for indexing and rule-based detection.
- Real-time Detection: Capable of analyzing network data in real-time to detect intrusion attempts.
- Modular Design: Easy to extend and integrate with other systems.
- Clone the repository:
git clone https://github.com/yourusername/KMP-Intrusion-Detection-System.git
- Navigate to the project directory:
cd KMP-Intrusion-Detection-System
- Install the required dependencies:
pip install -r requirements.txt
- Run the main script to start the IDS:
python main.py
- Configure the IDS by editing the
config.json
file to specify patterns and rules.
This is a personal project and as such, no contributions are welcome at the moment.
This project is licensed under the MIT License. See the LICENSE file for details. (to be added)
For any questions or suggestions, please raise a new discussion.