@Article{cmc.2023.028796, AUTHOR = {Muhammad Nadeem, Ali Arshad, Saman Riaz, SyedaWajiha Zahra, Muhammad Rashid, Shahab S. Band, Amir Mosavi}, TITLE = {Preventing Cloud Network from Spamming Attacks Using Cloudflare and KNN}, JOURNAL = {Computers, Materials \& Continua}, VOLUME = {74}, YEAR = {2023}, NUMBER = {2}, PAGES = {2641--2659}, URL = {http://www.techscience.com/cmc/v74n2/50201}, ISSN = {1546-2226}, ABSTRACT = {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.}, DOI = {10.32604/cmc.2023.028796} }