IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v13y2021i19p10743-d644522.html
   My bibliography  Save this article

Real-Time DDoS Attack Detection System Using Big Data Approach

Author

Listed:
  • 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)

  • Haitham Nobanee

    (College of Business, Abu Dhabi University, Abu Dhabi 59911, United Arab Emirates
    Oxford Centre for Islamic Studies, University of Oxford, Marston Rd, Headington, Oxford OX3 0EE, UK
    Faculty of Humanities & Social Sciences, University of Liverpool, 12 Abercromby Square, Liverpool L69 7WZ, UK)

  • 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)

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.

Suggested Citation

  • Mazhar Javed Awan & Umar Farooq & Hafiz Muhammad Aqeel Babar & Awais Yasin & Haitham Nobanee & Muzammil Hussain & Owais Hakeem & Azlan Mohd Zain, 2021. "Real-Time DDoS Attack Detection System Using Big Data Approach," Sustainability, MDPI, vol. 13(19), pages 1-19, September.
  • Handle: RePEc:gam:jsusta:v:13:y:2021:i:19:p:10743-:d:644522
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/13/19/10743/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/13/19/10743/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Raja Majid Ali Ujjan & Zeeshan Pervez & Keshav Dahal & Wajahat Ali Khan & Asad Masood Khattak & Bashir Hayat, 2021. "Entropy Based Features Distribution for Anti-DDoS Model in SDN," Sustainability, MDPI, vol. 13(3), pages 1-27, February.
    2. Jungsuk Song & Younsu Lee & Jang-Won Choi & Joon-Min Gil & Jaekyung Han & Sang-Soo Choi, 2017. "Practical In-Depth Analysis of IDS Alerts for Tracing and Identifying Potential Attackers on Darknet," Sustainability, MDPI, vol. 9(2), pages 1-18, February.
    3. Huseyin Polat & Onur Polat & Aydin Cetin, 2020. "Detecting DDoS Attacks in Software-Defined Networks Through Feature Selection Methods and Machine Learning Models," Sustainability, MDPI, vol. 12(3), pages 1-16, February.
    4. Andres Munoz-Arcentales & Sonsoles López-Pernas & Alejandro Pozo & Álvaro Alonso & Joaquín Salvachúa & Gabriel Huecas, 2020. "Data Usage and Access Control in Industrial Data Spaces: Implementation Using FIWARE," Sustainability, MDPI, vol. 12(9), pages 1-25, May.
    5. Kwang O. Park, 2020. "A Study on Sustainable Usage Intention of Blockchain in the Big Data Era: Logistics and Supply Chain Management Companies," Sustainability, MDPI, vol. 12(24), pages 1-15, December.
    6. Andrey Privalov & Vera Lukicheva & Igor Kotenko & Igor Saenko, 2019. "Method of Early Detection of Cyber-Attacks on Telecommunication Networks Based on Traffic Analysis by Extreme Filtering," Energies, MDPI, vol. 12(24), pages 1-14, December.
    7. Jahoon Koo & Giluk Kang & Young-Gab Kim, 2020. "Security and Privacy in Big Data Life Cycle: A Survey and Open Challenges," Sustainability, MDPI, vol. 12(24), pages 1-32, December.
    8. Fahao Wang & Weidong Lu & Jingyun Zheng & Shicheng Li & Xuezhen Zhang, 2020. "Spatially Explicit Mapping of Historical Population Density with Random Forest Regression: A Case Study of Gansu Province, China, in 1820 and 2000," Sustainability, MDPI, vol. 12(3), pages 1-16, February.
    9. Nir Kshetri & Diana Carolina Rojas Torres & Hany Besada & Maria Andreina Moros Ochoa, 2020. "Big Data as a Tool to Monitor and Deter Environmental Offenders in the Global South: A Multiple Case Study," Sustainability, MDPI, vol. 12(24), pages 1-12, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Muzammil Hussain & Waheed Javed & Owais Hakeem & Abdullah Yousafzai & Alisha Younas & Mazhar Javed Awan & Haitham Nobanee & Azlan Mohd Zain, 2021. "Blockchain-Based IoT Devices in Supply Chain Management: A Systematic Literature Review," Sustainability, MDPI, vol. 13(24), pages 1-23, December.
    2. You-Shyang Chen & Jerome Chih-Lung Chou & Yu-Sheng Lin & Ying-Hsun Hung & Xuan-Han Chen, 2023. "Identification of SMEs in the Critical Factors of an IS Backup System Using a Three-Stage Advanced Hybrid MDM–AHP Model," Sustainability, MDPI, vol. 15(4), pages 1-29, February.
    3. Shafaq Khan & Mohammed Shael & Munir Majdalawieh & Nishara Nizamuddin & Mathew Nicho, 2022. "Blockchain for Governments: The Case of the Dubai Government," Sustainability, MDPI, vol. 14(11), pages 1-22, May.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Mehrdad Aslani & Hamed Hashemi-Dezaki & Abbas Ketabi, 2021. "Reliability Evaluation of Smart Microgrids Considering Cyber Failures and Disturbances under Various Cyber Network Topologies and Distributed Generation’s Scenarios," Sustainability, MDPI, vol. 13(10), pages 1-30, May.
    2. Fatima Rafiq & Mazhar Javed Awan & Awais Yasin & Haitham Nobanee & Azlan Mohd Zain & Saeed Ali Bahaj, 2022. "Privacy Prevention of Big Data Applications: A Systematic Literature Review," SAGE Open, , vol. 12(2), pages 21582440221, May.
    3. Andrey Privalov & Vera Lukicheva & Igor Kotenko & Igor Saenko, 2020. "Increasing the Sensitivity of the Method of Early Detection of Cyber-Attacks in Telecommunication Networks Based on Traffic Analysis by Extreme Filtering," Energies, MDPI, vol. 13(11), pages 1-18, June.
    4. Kazeem B. Adedeji & Yskandar Hamam, 2020. "Cyber-Physical Systems for Water Supply Network Management: Basics, Challenges, and Roadmap," Sustainability, MDPI, vol. 12(22), pages 1-30, November.
    5. Ammar AL-Ashmori & P. D. D. Dominic & Narinderjit Singh Sawaran Singh, 2022. "Items and Constructs of Blockchain Adoption in Software Development Industry: Experts Perspective," Sustainability, MDPI, vol. 14(16), pages 1-18, August.
    6. Jie Liu & Qingshan Yang & Jian Liu & Yu Zhang & Xiaojun Jiang & Yangmeina Yang, 2020. "Study on the Spatial Differentiation of the Populations on Both Sides of the “Qinling-Huaihe Line” in China," Sustainability, MDPI, vol. 12(11), pages 1-25, June.
    7. Seungjin Baek & Young-Gab Kim, 2021. "C4I System Security Architecture: A Perspective on Big Data Lifecycle in a Military Environment," Sustainability, MDPI, vol. 13(24), pages 1-19, December.
    8. Babangida Isyaku & Mohd Soperi Mohd Zahid & Maznah Bte Kamat & Kamalrulnizam Abu Bakar & Fuad A. Ghaleb, 2020. "Software Defined Networking Flow Table Management of OpenFlow Switches Performance and Security Challenges: A Survey," Future Internet, MDPI, vol. 12(9), pages 1-30, August.
    9. Hang Yu & Senlai Zhu & Jie Yang, 2021. "The Quality Control System of Green Composite Wind Turbine Blade Supply Chain Based on Blockchain Technology," Sustainability, MDPI, vol. 13(15), pages 1-18, July.
    10. Ebrahim A. A. Ghaleb & P. D. D. Dominic & Suliman Mohamed Fati & Amgad Muneer & Rao Faizan Ali, 2021. "The Assessment of Big Data Adoption Readiness with a Technology–Organization–Environment Framework: A Perspective towards Healthcare Employees," Sustainability, MDPI, vol. 13(15), pages 1-33, July.
    11. Hubert Szczepaniuk & Edyta Karolina Szczepaniuk, 2022. "Applications of Artificial Intelligence Algorithms in the Energy Sector," Energies, MDPI, vol. 16(1), pages 1-24, December.
    12. Ammar AL-Ashmori & Shuib Bin Basri & P. D. D. Dominic & Luiz Fernando Capretz & Amgad Muneer & Abdullateef Oluwagbemiga Balogun & Abdul Rehman Gilal & Rao Faizan Ali, 2022. "Classifications of Sustainable Factors in Blockchain Adoption: A Literature Review and Bibliometric Analysis," Sustainability, MDPI, vol. 14(9), pages 1-30, April.
    13. Chang-Tang Chiang & Tun-Chih Kou & Tian-Lih Koo, 2021. "A Systematic Literature Review of the IT-Based Supply Chain Management System: Towards a Sustainable Supply Chain Management Model," Sustainability, MDPI, vol. 13(5), pages 1-18, February.
    14. Athapol Ruangkanjanases & Eissa Mohammed Ali Qhal & Khaled Mofawiz Alfawaz & Taqwa Hariguna, 2023. "Examining the Antecedents of Blockchain Usage Intention: An Integrated Research Framework," Sustainability, MDPI, vol. 15(4), pages 1-16, February.
    15. Jong Hyuk Park & Han-Chieh Chao, 2017. "Advanced IT-Based Future Sustainable Computing," Sustainability, MDPI, vol. 9(5), pages 1-4, May.
    16. Igor Kotenko & Igor Saenko & Oleg Lauta & Aleksander Kribel, 2020. "An Approach to Detecting Cyber Attacks against Smart Power Grids Based on the Analysis of Network Traffic Self-Similarity," Energies, MDPI, vol. 13(19), pages 1-24, September.
    17. Ammar AL-Ashmori & Gunasekar Thangarasu & P. D. D. Dominic & Al-Baraa Abdulrahman Al-Mekhlafi, 2023. "A Readiness Model and Factors Influencing Blockchain Adoption in Malaysia’s Software Sector: A Survey Study," Sustainability, MDPI, vol. 15(16), pages 1-28, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:13:y:2021:i:19:p:10743-:d:644522. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.