TY - EJOU AU - Nadeem, Muhammad AU - Arshad, Ali AU - Riaz, Saman AU - Zahra, SyedaWajiha AU - Rashid, Muhammad AU - Band, Shahab S. AU - Mosavi, Amir TI - Preventing Cloud Network from Spamming Attacks Using Cloudflare and KNN T2 - Computers, Materials \& Continua PY - 2023 VL - 74 IS - 2 SN - 1546-2226 AB - Cloud computing is one of the most attractive and cost-saving models, which provides online services to end-users. Cloud computing allows the user to access data directly from any node. But nowadays, cloud security is one of the biggest issues that arise. Different types of malware are wreaking havoc on the clouds. Attacks on the cloud server are happening from both internal and external sides. This paper has developed a tool to prevent the cloud server from spamming attacks. When an attacker attempts to use different spamming techniques on a cloud server, the attacker will be intercepted through two effective techniques: Cloudflare and K-nearest neighbors (KNN) classification. Cloudflare will block those IP addresses that the attacker will use and prevent spamming attacks. However, the KNN classifiers will determine which area the spammer belongs to. At the end of the article, various prevention techniques for securing cloud servers will be discussed, a comparison will be made with different papers, a conclusion will be drawn based on different results. KW - Intrusion prevention system; spamming; KNN classification; spam; cyber security; botnet DO - 10.32604/cmc.2023.028796