k-mean clustering and its real use-case in the security domain : detecting a ddos attack on apache server live

What is a DDoS Attack? — DDoS Meaning

How a DDoS attack works

  • The response to requests will be much slower than normal.
  • Some — or all — users’ requests may be totally ignored

What our objective will be:

  • Pull the log file and put it to any centralized storage like aws s3
  • create, analyse and the put the code to the SCM tool like GitHub
  • further we can use automation tools like jenkins to pull the code and the log file and then find the vulnerable IPs which may cause D-DOS attack and take necessary actions like mailing, using the AWS API to further block the IP address by updating the firewall or any other research work
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
from sklearn.cluster import KMeans
from datetime import datetime
import pytz
import re

What’s Next ?





Technical Writer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Unreal Engine 4 Rendering Part 4: The Deferred Shading Pipeline

Solving the Travelling Salesman Problem for Germany using NetworkX in Python

Custom Calculators in MediaPipe

Mail rules/forms to get a shell

Keep the user logged in android app.

Understanding __init__ Method in Python

Dominic Monn: DL Practitioner Interview #1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gagan Kumar Mahto

Gagan Kumar Mahto

Technical Writer

More from Medium

Call for Entries: ‘Throne’ | International Challenge to reimagine the Iron Throne Hosted by UNI

Nodejs Event loop bottlenecks as a server and solution to scale it!

Fbi — Quadwealth Founder Guilty In Multi-million-dollar …

¡Los tres gringos en Ecuador!