Detection of DDoS Attacks in Software-Defined Networks Using Random Forest Classifier

Authors

  • M. Gandhi Dhaanish Ahmed College of Engineering, Chennai, Tamil Nadu, India.
  • J. Jayaprakash Dhaanish Ahmed College of Engineering, Chennai, Tamil Nadu, India.
  • P. Mahendran Dhaanish Ahmed College of Engineering, Chennai, Tamil Nadu, India.
  • K. Lachimipriya Dhaanish Ahmed College of Engineering, Chennai, Tamil Nadu, India.

DOI:

https://doi.org/10.31150/ajshr.v6i4.3443

Keywords:

enterprise, Distributed denial of service (DDoS); Comprising network; Streamlit framework; Cyber threats; Fortifying network; Dynamic web environments.

Abstract

Distributed Denial of Service (DDoS) attacks are a major concern in today's linked world because they can compromise the availability and security of networks.  We offer a new method for detecting DDoS attacks in real-time by utilising machine learning, more especially the Random Forest algorithm, to counter this threat.  Our solution is designed to be easily integrated into web settings using the widely used Streamlit framework. It offers users a user-friendly and interactive platform to keep an eye out for and deal with any risks.  Our first step is to compile a large dataset that includes characteristics of network traffic that have been retrieved from both legitimate and malicious sources.  The data is prepared for training and evaluation through feature engineering and careful preparation.  We build a prediction model that can distinguish between typical traffic patterns and abnormal ones that indicate DDoS attacks using the Random Forest algorithm, which is known for being robust and scalable.  To prove its effectiveness in identifying and categorising DDoS attacks with little false positives, the created model is subjected to thorough testing using well-established performance measures.  In addition, we improve the model's accessibility and usability by integrating it easily into a web application that is built on Streamlit.  With the model displaying great accuracy and efficiency in real-time circumstances, our testing results demonstrate promising detecting capabilities.  In ever-changing web environments, our solution helps to strengthen network resilience and protects against disruptive cyber threats by giving stakeholders proactive DDoS mitigation capabilities. 

References

D. Kodi and S. Chundru, "Unlocking new possibilities: How advanced API integration enhances green innovation and equity," in Advances in Environmental Engineering and Green Technologies, IGI Global, 2025, pp. 437–460.

B. C. C. Marella and A. Palakurti, "Harnessing Python for AI and machine learning: Techniques, tools, and green solutions," in Advances in Environmental Engineering and Green Technologies, IGI Global, 2025, pp. 237–250.

B. C. C. Marella and D. Kodi, "Generative AI for fraud prevention: A new frontier in productivity and green innovation," in Advances in Environmental Engineering and Green Technologies, IGI Global, 2025, pp. 185–200.

S. A. Milu et al., "Design and Implementation of hand gesture detection system using HM model for sign language recognition development," J. Data Anal. Inf. Process., vol. 12, no. 2, pp. 139–150, 2024.

S. S. Mahtab et al., "Etching Technologies in Semiconductor Manufacturing: A Short Review," in Proc. Int. Conf. Emerg. Appl. Mater. Sci. Technol., Cham: Springer Nature Switzerland, 2024, pp. 319–324.

Vashisth, B. Singh, and R. S. Batth, "QMRNB: Design of an Efficient Q-Learning Model to Improve Routing Efficiency of UAV Networks via Bioinspired Optimizations," Int. J. Comput. Netw. Appl., vol. 10, no. 2, pp. 256–256, 2023.

Z. H. Ahmed et al., "An Enhanced Ant Colony System Algorithm Based on Subpaths for Solving the Capacitated Vehicle Routing Problem," Symmetry, vol. 15, no. 11, p. 2020, 2023.

M. L. Mutar et al., "Multi-objectives ant colony system for solving multi-objectives capacitated vehicle routing problem," J. Theor. Appl. Inf. Technol., vol. 98, no. 24, 2020.

M. F. Alrifaie et al., "Using machine learning technologies to classify and predict heart disease," Int. J. Adv. Comput. Sci. Appl., vol. 12, no. 3, 2021.

A. S. Hameed et al., "Review on the methods to solve combinatorial optimization problems particularly: quadratic assignment model," Int. J. Eng. Technol., vol. 7, no. 3.20, pp. 15–20, 2018.

M. L. Mutar, B. M. Aboobaider, and A. S. Hameed, "Rev Vehicle Routing Problem and Future Research Trend," Int. J. Appl. Eng. Res., vol. 12, pp. 4562–4570, 2017.

M. Faisal et al., "Determining rural development priorities using a hybrid clustering approach: A case study of South Sulawesi, Indonesia," Int. J. Adv. Technol. Eng. Explor., vol. 10, no. 103, 2023.

M. Faisal et al., "A novelty decision-making based on hybrid indexing, clustering, and classification methodologies: An application to map the relevant experts against the rural problem," Decis. Mak. Appl. Manag. Eng., vol. 7, no. 2, pp. 132–171, 2024.

M. Faisal et al., "A hybrid MOO, MCGDM, and sentiment analysis methodologies for enhancing regional expansion planning: A case study Luwu - Indonesia," Int. J. Math. Eng. Manag. Sci., vol. 10, no. 1, pp. 163–188, 2025.

M. Faisal and T. K. A. Rahman, "Optimally enhancement rural development support using hybrid multy object optimization (MOO) and clustering methodologies: A case South Sulawesi - Indonesia," Int. J. Sustain. Dev. Plan., vol. 18, no. 6, pp. 1659–1669, 2023.

I. Mulyadi et al., "A hybrid model for palm sugar type classification: Advancing image-based analysis for industry applications," Ingén. Syst. Inf., vol. 29, no. 5, pp. 1937–1948, 2024.

S. Palaniappan et al., "Additive manufacturing of FeCrAl alloys for nuclear applications—A focused review," Nucl. Mater. Energy, vol. 101702, 2024.

J. Kumar et al., "Cr content dependent lattice distortion and solid solution strengthening in additively manufactured CoFeNiCrx complex concentrated alloys—A first principles approach," Mater. Today Commun., vol. 109485, 2024.

S. Palaniappan et al., "Thermokinetics driven microstructure and phase evolution in laser-based additive manufacturing of Ti-25wt.% Nb and its performance in physiological solution," Materialia, vol. 37, p. 102190, 2024.

M. Radhakrishnan et al., "Evolution of microstructures in laser additive manufactured HT-9 ferritic martensitic steel," Mater. Charact., vol. 218, p. 114551, 2024.

M. Radhakrishnan et al., "Influence of thermal conductivity on evolution of grain morphology during laser-based directed energy deposition of CoCrxFeNi high entropy alloys," Addit. Manuf., vol. 92, p. 104387, 2024.

S. Panyaram, "Digital Twins & IoT: A New Era for Predictive Maintenance in Manufacturing," Int. J. Innov. Electron. Electr. Eng., vol. 10, no. 1, pp. 1–9, 2024.

L. N. R. Mudunuri and V. Attaluri, "Urban development challenges and the role of cloud AI-powered blue-green solutions," in Advances in Public Policy and Administration, IGI Global, 2024, pp. 507–522.

V. Attaluri, "Secure and Scalable Machine-to-Machine Secrets Management Solutions," Int. J. Mach. Learn. Artif. Intell., vol. 5, no. 5, pp. 1–13, Jul. 2024.

V. Attaluri, "Dynamic User Permission Locking Based on Database Role Changes," Int. J. Adv. Eng. Res., vol. 27, no. 1, pp. 1–9, 2024.

C. Koneti et al., "End-to-End Visibility in Global Supply Chains: Blockchain and AI Integration," Eur. Econ. Lett., vol. 14, no. 4, pp. 545–555, 2024.

C. Koneti et al., "Human-Machine Collaboration in Supply Chain Management: The Impact of AI on Workforce Dynamics," J. Informatics Educ. Res., vol. 4, no. 3, pp. 934–943, 2024.

C. Koneti et al., "Understanding the supply chain efficiency in e-commerce using the blockchain technology," Library Prog. - Library Sci. Inf. Technol. Comput., vol. 44, no. 3, pp. 3147–3152, 2024.

M. T. Espinosa-Jaramillo et al., "Digital Twins in Supply Chain Operations Bridging the Physical and Digital Worlds using AI," J. Electr. Syst., vol. 20, no. 10s, pp. 1764–1774, 2024.

M. Madanan et al., "Security Challenges in Multi-Cloud Environments: Solutions and Best Practices," in Proc. 2024 7th Int. Conf. Contemp. Comput. Informat. (IC3I), Greater Noida, India, 2024, pp. 1608–1614.

P. Agrawal et al., Machine Learning: Application and Challenges, Chhetak Puri, Gwalior: Xoffencer Int. Book Publ. House, 2024, p. 222.

Md S. Miah and Md S. Islam, "Big Data Analytics Architectural Data Cut-Off Tactics for Cyber Security and Its Implication in Digital Forensic," in Proc. Int. Conf. Futur. Technol. (INCOFT), Belgaum, India, 2022, pp. 1–6.

M. A. Obaida et al., "Random Early Discard (RED-AQM) Performance Analysis in Terms of TCP Variants and Network Parameters: Instability in High-Bandwidth-Delay Network," Int. J. Comput. Appl., vol. 27, no. 8, pp. 40–44, 2011.

L. N. R. Mudunuri et al., "AI-powered leadership: Shaping the future of management," in Advances in Business Strategy and Competitive Advantage, IGI Global, 2024, pp. 127–152.

M. Hullurappa and M. Kommineni, "Integrating blue-Green Infrastructure into urban development: A data-driven approach using AI-enhanced ETL systems," in Advances in Public Policy and Administration, IGI Global, 2024, pp. 373–396.

M. Hullurappa, "Uniting Quantum Computing and Artificial Intelligence: Exploring New Frontiers," FMDB Trans. Sustain. Comput. Lett., vol. 2, no. 2, pp. 120–130, 2024.

M. Hullurappa, "Fairness-Aware Machine Learning: Techniques for Ensuring Equitable Outcomes in Automated Decision-Making Systems," Int. J. Adv. Eng. Res., vol. 28, no. 5, p. 9, 2024.

M. Hullurappa, "Natural Language Processing in Data Governance: Enhancing Metadata Management and Data Catalogs," Int. Sci. J. Res., vol. 6, no. 6, pp. 1–22, 2024.

M. Hullurappa, "Exploring Regulatory Dimensions in Computing and Artificial Intelligence through Comprehensive Analysis," FMDB Trans. Sustain. Comput. Syst., vol. 2, no. 2, pp. 74–83, 2024.

M. Hullurappa, "Intelligent Data Masking: Using GANs to Generate Synthetic Data for Privacy-Preserving Analytics," Int. J. Inventions Eng. Sci. Technol., vol. 9, no. 1, p. 9, 2023.

M. Hullurappa, "Anomaly Detection in Real-Time Data Streams: A Comparative Study of Machine Learning Techniques for Ensuring Data Quality in Cloud ETL," Int. J. Innov. Sci. Eng., vol. 17, no. 1, p. 9, 2023.

M. Hullurappa, "The Role of Explainable AI in Building Public Trust: A Study of AI-Driven Public Policy Decisions," Int. Trans. Artif. Intell., vol. 6, no. 6, pp. 1–17, 2022.

P. Agrawal et al., "Method, system, and computer program product for implementing automated worklists," U.S. Patent 8,326,864, Dec. 4, 2012.

R. Ingle et al., "Fake news detection in social media management using deep learning and AI," Indian Patent Application 202441050770, 2024.

V. S. N. Praba et al., "Data security and privacy concerns in cloud-based HRM systems," J. Informatics Educ. Res., vol. 4, no. 3, pp. 1374–1380, 2024.

P. K. Aggarwal et al., "Chatbots and virtual assistants: Revolutionizing customer service and engagement in marketing," J. Informatics Educ. Res., vol. 4, no. 3, pp. 2044–2049, 2024.

C. Koneti et al., "The impact of artificial intelligence and machine learning in digital marketing strategies," Eur. Econ. Lett., vol. 13, no. 3, pp. 982–992, 2023.

A. Garg et al., "AI-Based Demand Sensing: Improving Forecast Accuracy in Supply Chains," J. Informatics Educ. Res., vol. 4, no. 2, pp. 2903–2913, 2024.

M. Manikandan et al., "Blockchain Technology as a Decentralized Solution for Data Security and Privacy: Applications Beyond Cryptocurrencies in Supply Chain Management and Healthcare," Library Prog. Int., vol. 44, no. 3, pp. 5634–5643, 2024.

A. Garg et al., "AI-based demand sensing: Improving forecast accuracy in supply chains," J. Informatics Educ. Res., vol. 4, no. 2, pp. 2903–2913, 2024.

Downloads

Published

2025-04-07

How to Cite

M. Gandhi, J. Jayaprakash, P. Mahendran, & K. Lachimipriya. (2025). Detection of DDoS Attacks in Software-Defined Networks Using Random Forest Classifier. American Journal of Social and Humanitarian Research, 6(4), 704–716. https://doi.org/10.31150/ajshr.v6i4.3443

Issue

Section

Articles