EconPapers    
Economics at your fingertips  
 

Real-Time DDoS Attack Detection System Using Big Data Approach

Mazhar Javed Awan, Umar Farooq, Hafiz Muhammad Aqeel Babar, Awais Yasin, Haitham Nobanee, Muzammil Hussain, Owais Hakeem and Azlan Mohd Zain
Additional contact information
Mazhar Javed Awan: Department of Software Engineering, University of Management and Technology, Lahore 54770, Pakistan
Umar Farooq: Department of Software Engineering, University of Management and Technology, Lahore 54770, Pakistan
Hafiz Muhammad Aqeel Babar: Department of Software Engineering, University of Management and Technology, Lahore 54770, Pakistan
Awais Yasin: Department of Computer Engineering, National University of Technology, Islamabad 44000, Pakistan
Muzammil Hussain: Department of Computer Science, University of Management and Technology, Lahore 54770, Pakistan
Owais Hakeem: Department of Computer Science, University of Management and Technology, Lahore 54770, Pakistan
Azlan Mohd Zain: UTM Big Data Centre, School of Computing, Universiti Teknologi Malaysia, Skudai Johor 81310, Malaysia

Sustainability, 2021, vol. 13, issue 19, 1-19

Abstract: Currently, the Distributed Denial of Service (DDoS) attack has become rampant, and shows up in various shapes and patterns, therefore it is not easy to detect and solve with previous solutions. Classification algorithms have been used in many studies and have aimed to detect and solve the DDoS attack. DDoS attacks are performed easily by using the weaknesses of networks and by generating requests for services for software. Real-time detection of DDoS attacks is difficult to detect and mitigate, but this solution holds significant value as these attacks can cause big issues. This paper addresses the prediction of application layer DDoS attacks in real-time with different machine learning models. We applied the two machine learning approaches Random Forest (RF) and Multi-Layer Perceptron (MLP) through the Scikit ML library and big data framework Spark ML library for the detection of Denial of Service (DoS) attacks. In addition to the detection of DoS attacks, we optimized the performance of the models by minimizing the prediction time as compared with other existing approaches using big data framework (Spark ML). We achieved a mean accuracy of 99.5% of the models both with and without big data approaches. However, in training and testing time, the big data approach outperforms the non-big data approach due to that the Spark computations in memory are in a distributed manner. The minimum average training and testing time in minutes was 14.08 and 0.04, respectively. Using a big data tool (Apache Spark), the maximum intermediate training and testing time in minutes was 34.11 and 0.46, respectively, using a non-big data approach. We also achieved these results using the big data approach. We can detect an attack in real-time in few milliseconds.

Keywords: DoS attack; Apache Spark; big data; privacy; sustainability; machine learning; real-time; DDoS detection (search for similar items in EconPapers)
JEL-codes: O13 Q Q0 Q2 Q3 Q5 Q56 (search for similar items in EconPapers)
Date: 2021
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
https://www.mdpi.com/2071-1050/13/19/10743/pdf (application/pdf)
https://www.mdpi.com/2071-1050/13/19/10743/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jsusta:v:13:y:2021:i:19:p:10743-:d:644522

Access Statistics for this article

Sustainability is currently edited by Ms. Alexandra Wu

More articles in Sustainability from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jsusta:v:13:y:2021:i:19:p:10743-:d:644522