Network Intrusion Detection System for SQL Injection
SQL injection (SQL) attacks pose a serious threat to web applications by allowing attackers to manipulate database queries and gain unauthorized access to sensitive data. Traditional security mechanisms, such as signature-based detection and rule-based firewalls, often fail to detect evolving SQL patterns. This paper presents a real-time Network Intrusion Detection System (NIDS) that leverages machine learning techniques to accurately identify and mitigate SQL injection attempts. The proposed system continuously monitors user input, extracts relevant SQL query features, and classifies them as either legitimate or malicious using a trained machine learning model. The methodology involves the preprocessing of SQL queries, feature engineering for enhanced classification accuracy, and training a machine learning model using a dataset containing both normal and SQL injection queries. The performance of the system is evaluated based on multiple metrics, including accuracy, false positive rate, and real-time processing efficiency. Experimental results demonstrate that the proposed NIDS achieves high detection accuracy while significantly reducing false positives compared to conventional methods. The system is designed to operate efficiently in real-time environments, making it a valuable addition to existing cybersecurity frameworks for protecting web applications against SQL injection attacks. Key Words: Network Intrusion Detection, SQL Injection, Machine Learning, Cybersecurity, Web Security.
Authors
- Chitanshu Chauhan
- Ranjan Raut
- S. Y. Raut (ORCID: https://orcid.org/0009-0000-3209-2008)
- Kunal Wadhai
- Aditya Nikode
- Vaibhav Pachbhai
Publication Details
- Journal
- INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
- Published
- 2025-04-03
- DOI
- https://doi.org/10.55041/ijsrem43662
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00