The paper presents a study on using machine learning techniques for detecting web attacks within the context of intrusion detection systems, emphasizing the inadequacies of traditional methods in identifying advanced attacks. Various machine learning algorithms, including decision trees, random forests, and logistic regression, were evaluated using the CIC-IDS-2017 dataset to identify anomalous network behavior. The study highlights the need for optimized machine learning models through hyperparameter tuning to improve accuracy and reduce false alarms in intrusion detection systems.