Monitor icon
Monitor
Network Visibility

The AI Arms Race in DDoS: Offensive vs. Defensive Strategies

February 17, 2025
 The AI Arms Race in DDoS: Offensive vs. Defensive Strategies

Introduction

In the evolving landscape of cybersecurity, the interplay between offensive and defensive Artificial Intelligence (AI) has become a focal point, including in Distributed Denial of Service (DDoS) attacks. Advanced AI adoption, such as the emerging Agentic AI, which create autonomous agents has the potential to escalate this “AI Warfare”, this post examines some of the offensive and defensive DDoS AI techniques and peeks into the potential future in which agentic AI is adopted by both sides.

Offensive AI: Enhancing DDoS Attack Sophistication

Cybercriminals are now leveraging AI to launch attacks with greater precision. Machine learning algorithms can analyze vast amounts of network traffic data to identify optimal times and methods for launching attacks, resulting in highly efficient DDoS campaigns capable of overwhelming targeted systems. AI also allows attackers to adjust their tactics in real-time, making it difficult for traditional defenses to keep pace

AI-driven botnets have further amplified the threat of DDoS attacks. These botnets leverage AI algorithms to autonomously control large networks of compromised devices, executing coordinated attacks and dynamically adjusting their behavior to evade detection and maintain attack intensity.

In addition the barrier to entry for adversaries is low, taking into account the following services and tools:

  1. DDoS-as-a-Service with AI Automation
    • The commercialization of DDoS-as-a-Service platforms has been enhanced by AI. These platforms now offer automated tools that allow even non-technical users to launch sophisticated attacks.
  2. Generation of Obfuscated Malicious Code with Large Language models (LLMs)
    • Threat actors have been using "dark LLMs" such as FraudGPT and DarkBart, which are tailored for malicious purposes. These models bypass safety restrictions found in mainstream LLMs like ChatGPT or Google Gemini. They have been used to generate malicious scripts, including DDoS attack tools.
    • These dark LLMs assist attackers in coding custom DDoS scripts, automating botnet management, and even troubleshooting issues during an attack. For example, FraudGPT and DarkBart can generate Python scripts for launching HTTP floods or SYN floods while also providing step-by-step instructions for setting up botnets (https://cloud.google.com/blog/topics/threat-intelligence/adversarial-misuse-generative-ai)

This results in more potent and adaptive DDoS campaigns that can overwhelm targeted systems with unprecedented efficiency.

Real-World Example - Record-Breaking 5.6 Tbps DDoS Attack on an East Asian ISP (Oct 29th 2024)

  • Attack Details: This unprecedented attack, launched using a Mirai botnet variant, reached a peak of 5.6 terabits per second (Tbps). It originated from over 13,000 IoT devices and targeted an internet service provider (ISP) in Eastern Asia. The attack leveraged UDP traffic to overwhelm the ISP’s servers, aiming to disrupt operations within just 80 seconds
  • AI's Role: On the offensive side, AI was likely used to optimize the Mirai botnet’s behavior, automate the exploitation of IoT device vulnerabilities,

Defensive AI: Strengthening DDoS Mitigation

While AI is being exploited for malicious purposes, it is also proving to be a valuable asset in bolstering DDoS defenses. AI-driven security solutions are emerging as a critical line of defense against increasingly sophisticated attacks.

AI algorithms can analyze network traffic in real-time to identify patterns that deviate from the norm, signaling potential DDoS attacks. This allows security systems to respond quickly and effectively, minimizing the impact of an attack. AI can also distinguish between legitimate user behavior and malicious activities, helping to filter out bot traffic and prevent attacks.

Furthermore, AI systems can automatically trigger mitigation measures, such as blocking malicious traffic or rerouting legitimate traffic, minimizing downtime and disruption. By automating these responses, AI-powered defenses can react faster than traditional methods, preventing attacks from escalating and causing significant damage.

AI can also be used to predict potential DDoS attacks before they happen. By analyzing trends, threat intelligence and historical data, AI systems can identify vulnerabilities and suggest proactive measures to strengthen defenses.

This proactive approach helps organizations and service providers like ISP / CSP companies prepare for potential threats rather than simply reacting to them.

The Agentic AI Revolution: A Glimpse into the Future

Agentic AI, a more advanced form of AI, possesses the ability to operate autonomously, learn from its environment, and make decisions without human intervention. This raises both exciting possibilities and potential concerns for the future of DDoS attacks and defense.

On the offensive side, agentic AI could potentially automate target selection by analyzing vast amounts of data to identify vulnerable targets and prioritize attacks based on their potential impact. Imagine an AI system that can scan the internet for systems with known vulnerabilities, assess their value as targets, and then launch DDoS attacks autonomously. This could lead to a significant increase in the number and severity of attacks, as attackers could target a wider range of systems with greater efficiency.

Agentic AI could also be used to develop new attack vectors by learning from past attacks and defenses. By analyzing successful and unsuccessful attacks, an AI system could identify patterns and develop novel strategies to bypass existing security measures. This could escalate the "AI arms race" in DDoS, where both attackers and defenders leverage more advanced AI to gain an advantage.

Furthermore, Agentic AI could launch highly complex coordinated attacks that target multiple vulnerabilities simultaneously, overwhelming defenses. For example, an AI system could orchestrate a multi-vector attack that combines volumetric attacks with application-layer attacks, making it more difficult for defenders to mitigate the threat.

On the defensive side, agentic AI could potentially proactively and more efficiently identify and mitigate threats before they cause significant damage. Defensive AI agents can continuously monitor networks and systems identifying anomalies and unusual behavior that malicious AI agents are trying to hide, using advanced and adaptable logic.

Agentic AI could also adapt defenses in real-time, learning from attack patterns and adjusting defenses dynamically. This would allow security systems to stay ahead of evolving threats, making it more difficult for attackers to succeed.

Moreover, agentic AI can automate the entire incident response process, from detection to mitigation and recovery. This would minimize downtime and disruption, allowing organizations to quickly recover from attacks and maintain business continuity.

Some of the threats and mitigation options exist today, using currently available AI, but Agentic AI will take each one of those threats and defense capabilities to a whole new level, with more autonomous decisions, more complexity and constant adaptation to adversarial and defensive techniques. In addition, the volumes of potential future attacks can increase even further, a trend already visible today with larger volumetric attacks.

The Essential Human Role in AI-Powered DDoS Defense

While AI is crucial in modern DDoS defense, human expertise remains vital for a comprehensive and adaptive strategy.

  1. Real-Time Adaptation: AI detects patterns, but experts interpret them, adjusting defenses to counter evolving DDoS tactics effectively.
  2. Reducing False Positives & AI Hallucinations: AI may mistakenly block legitimate traffic or misinterpret attack patterns (hallucinations). Security engineers validate AI insights, correcting errors to maintain business continuity.
  3. Collaboration & Communication: coordination between security teams, ISPs, and mitigation providers is essential for effective response and tailored defenses.
  4. Proactive Security & Training: Experts strengthen infrastructure, conduct vulnerability scans, and educate employees to recognize and report DDoS threats.
  5. Ethical Oversight & AI Monitoring: Experts ensure AI-driven defense aligns with ethical standards, regulatory compliance, and organizational policies while identifying biases or inaccurate AI decisions.

Conclusion

The rapid advancement of Artificial Intelligence (AI) in both offensive and defensive cybersecurity measures has led to a continuous "cat and mouse" dynamic, where attackers and defenders perpetually adapt to each other's innovations. As AI technologies evolve, this interplay intensifies, with each side striving to outpace the other by enhancing their AI capabilities. This ongoing escalation underscores the necessity for continuous vigilance and innovation in cybersecurity strategies.

To stay ahead in this escalating battle, organizations must invest in AI-powered defenses while maintaining human oversight, collaborate on global threat intelligence sharing, and develop ethical frameworks to ensure responsible AI security practices.

As Marco Pereira, Global Head for Cybersecurity at Capgemini said “The use of AI and Gen AI has so far proved to be a double-edged sword. While it introduces unprecedented risks, organizations are increasingly relying on AI for faster and more accurate detection of cyber incidents.” (https://www.fastcompany.com/91232928/ai-is-the-latest-tool-in-the-cybersecurity-cat-and-mouse-game)

Contact Us

    Flowsec Ltd.

    Flowsec provides cutting-edge SaaS DDoS protection solutions for ISPs, CSPs, enterprises, MSSPs, and the national security sector. With multi-tenant and global shield technology, Flowsec enables communication service providers to offer advanced DDoS protection services to their customers.

    Accessibility Toolbar