Created on 13th December 2020
•
DDoS & DoS Attacks have been the notorious attack since the discovery of it. During the pandemic, the business has moved digitally exponentially. Doing so, they have increased the attack surface for such an attack. It causes huge losses in terms of the financial and image of a company in the market. This is a kind of attack that can't be solved at once and for all but, we can for most of the time because it's always a rotating attack among Layer 7,3,4. So, our solution is a combination of ML (Machine Learning), DevOps, and Security. It can be classified as MLDevSecOps. It will solve all three-layer attacks from a single web server log file. We can rely on this solution because it uses the K-Means Clustering algorithm to separate the blacklist IPs. We have used Jenkins to automate this architecture to run every two minutes of two pipelines. One to fetch code and others to take the log file, data cleaning/ data pre-processing, and then running cluster algorithm comparing the number of requests and the status code from a single IP. This will cover all the pages under attack also, hence effective and fast at the same time.
NOTE: Youtube video is bigger hence start it at 2:33 minutes.
Technologies used