A Distributed Denial of Service (DDoS) attack is a type of cyber attack where the attacker makes a service or network unavailable to users by sending a large amount of fake traffic to the server, overloading the target with the intent to stop the service. In this research, the K-Nearest Neighbor (KNN) method is used to detect attacks in the dataset. The dataset used in this study is from the CO…