This study addresses the persistent challenge of intrusion detection as a long-term cybersecurity issue. Investigating the efficacy of machine learning algorithms in anomaly and misuse detection. Research employs supervised learning for misuse detection and explain anomaly detection. Focused on adaptability and continual evolution the study explores the application of ensemble learning models AdaBoost, LightGBM, and XGBoost. Applying these algorithms in the context of intrusion detection. Utilizing the KDD Cup 99 dataset as a benchmark the paper assesses and compares the performance of these models. Besides, illuminating their effectiveness particularly in identifying smurf attacks within the cybersecurity landscape.