Skip to content

Badr-117/Machine-learning-for-DDos-attack-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine-learning-for-DDos-attack-detection

Project description

The detection of DDoS attacks in network communication streams using various learning algorithms that learn the normal pattern of network traffic, behavior of network protocols, and identifies compromised network flows.

Experiment plan

There is two types of experiments, the first one is a binary classification where my model was just trying to identify if an attack took place or not and so I had 2 classes, benign (which means no attack) and non_benign (which means that there has been an attack).

In the second one the classification was multi-class, once again I had a benign class (i.e. no attack), but also several other classes which said that there was an attack and specified what kind of DDoS attack it was, for example if it was (MSSQL, Portmap, UDP, UDPLag, ect ...)

Each of my experiments consisted of 3 steps: the first is the feature selection, the second is the classification using various supervised classification algorithms, and the third is the evaluation of these same algorithms using different metrics.

Results

Binary classification

image

multiclass classification

image image

Conclusion

To conclude, we can see that different methods and algorithms were used in order to solve our attack detection problem. So for the binary classification we saw that the best algorithm used was the random forest combined with the k fold cross validation method. While for multi-class classification we can either use the random forest or the decision tree combined with the stratified k fold cross validation method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published