Back to search

Rochester Institute of Technology

Machine Learning Framework for Detecting LDAP Injection Attacks

Abstract

dc:description.abstract

LDAP injection attacks have posed a growing danger to web application security, utilizing directory service vulnerabilities to obtain unauthorized access or tamper with sensitive information in recent times. In this thesis, a comprehensive method is developed for detecting and preventing LDAP injection attacks by utilizing a role-based access control approach to generate a unique dataset. Various categories and variations of LDAP queries that mimic real attack situations, as well as legitimate benign queries representing typical LDAP operations, are included in the dataset to further classify them based on user roles. Four different machine learning algorithms, including XGBoost, Logistic Regression, Support Vector Machines (SVM) and Random Forest, are used to identify malicious injection attempts. Each model is trained on the dataset and thoroughly evaluated using performance metrics like accuracy, precision, recall and F1-score to establish the most effective model in detecting LDAP injection attacks. While all models demonstrated strong performance in detecting LDAP injection attacks, XGBoost achieved the highest accuracy and demonstrated exceptional effectiveness, making it the most reliable choice for real-time detection. The best-performing model was integrated into a live web application without standard input validation for real-time testing. Results demonstrated the model’s ability to accurately detect and prevent LDAP injection attempts, highlighting its practicality as a robust solution for securing web applications. This thesis is distinct in its focus, as no prior research has specifically addressed LDAP injection detection and prevention using machine learning. While a comparative analysis with state-of-the-art LDAP security solutions was not possible due to the absence of existing research in this domain, the findings highlight the effectiveness of the proposed framework and its significant contribution to advancing the security of LDAP-enabled systems.

Degree

thesis:*
Name thesis:degree_name
Cybersecurity (MS)
Level thesis:degree_level
Thesis
Discipline thesis:degree_discipline
Electrical Engineering

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Nair, Rahul
Contributors dc:contributor
  • Wesam Almobaideen

Subjects

dc:subject × 6

Identifiers

dc:identifier.*
Repository record dc:identifier
https://repository.rit.edu/theses/12001

Chain of custody

source
Harvested from
Rochester Institute of Technology
Base URL
repository.rit.edu/do/oai/
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Nair, Rahul. Machine Learning Framework for Detecting LDAP Injection Attacks. Thesis thesis, https://repository.rit.edu/theses/12001