Research Article
A Novel Real-Time DDoS Attack Detection Mechanism Based on MDRA Algorithm in Big Data
Algorithm 1
Algorithm for DDoS attack detection based on MDRA.
) Input a set of training data of normal network traffic records , where, . | () Extract the principal components of to reach 70% for the accumulative contribution rate based on PCA, and obtain the | principal component data set . | () Calculate and of . | () Calculate the covariance matrices between the areas of every two triangles in . | () for to do | () Input and | () Calculate between and | () Output | () end for | () Calculate by . | () Calculate by and . | () Input a fresh incoming traffic record . | () Reduce the dimensions of the features for based on PCA, then get the records which include the principal components . | () Calculate of . | () Calculate between and . | () Input the threshold value . | () If then | () return Normal | () else | () return Attack | () end if |
|