cs.CRAug 22, 2026

Autonomous Cyber Defense: Real-Time Attack Detection and Mitigation in Software-Defined Networks Using Machine Learning

Authors: Alexandre Amaral, Fernando Moro, Ana Malheiro

Organizations: Department of Informatics Instituto Federal Catarinense Camboriú, Brazil · Department of Mathematics Instituto Federal Catarinense Camboriú, Brazil

Abstract

Autonomous response has evolved into a timing-critical challenge rather than solely a matter of detection accuracy. In recent intrusions, the interval between initial access and the first lateral movement has been observed to be as short as 27 seconds, a window that precludes any human-in-the-loop workflow. This paper presents a closed-loop framework that detects and blocks attacks in software-defined networks without operator involvement, evaluating its performance against this stringent temporal constraint rather than relying exclusively on detection accuracy. An automated data pipeline collects IP flows and aggregates them into labeled training data, while a prevention module selects and trains candidate classifiers and issues blocking rules directly to the SDN controller. In a SYN flooding denial of service case study, the deployed K-Nearest Neighbors classifier achieved an F1 score of 96.7% and the cycle from flow availability to enforced block completed in 21 seconds, below the fastest breakout time reported to date.

Figures & tables

Explore similar work

CardsList
  1. Machine Learning-Based Cyber Defense for Cloud Infrastructure: An Adaptive Deep Q-Network Architecture for Intelligent Intrusion Detection and Automated Threat Mitigation

    Aug 12, 2026Md Yassir Mottalib, Md Yousuf, Eklachur Rahman Bhuiyan +5Autonomous Cyber DefenseDeep Q-Learning

  2. XAI-SDN: An Explainable Entropy-Guided Machine Learning Framework for Real-Time DDoS Detection in Software Defined Networks

    Sep 4, 2026Adeel Ahmad, Ali Akarma, Ahmad Ali +2Network Intrusion DetectionCybersecurity

  3. SDNGuardStack: An Explainable Ensemble Learning Framework for High-Accuracy Intrusion Detection in Software-Defined Networks

    Apr 22, 2026Ashikuzzaman, Md. Saifuzzaman Abhi, Mahabubur Rahman +3Ensemble LearningNetwork Intrusion Detection