DDoS assaults pose a serious threat to enterprises, inflicting damage and disruption, thus improving the speed and accuracy of DDoS detection and mitigation is critical. The combination of Network Behavior Analysis (NBA) with the algorithms K-Nearest Neighbor (KNN) and Naive Bayes (NB) was evaluated to detect DDoS attacks (Distributed Denial of Service). Using the CICDDoS2019 dataset, KNN was f…