Distributed denial-of-service (DDoS) attacks have been around for over 20 years. Unfortunately, they will continue to haunt chief information security officers (CISOs), chief information officers (CIOs) — and pretty much anyone involved with IT for the foreseeable future.

These attacks are only growing in scope and size: While an attack comprised of only 150 requests per second would’ve been sufficient to zap many systems back in the day, DDoS attacks of 1,000 Gbps or greater are now common. And as Internet of Things (IoT) devices continue to proliferate, attacks will only intensify.

If the Mirai botnet taught us anything, it’s that the IoT magnifies the devastating blow of a DDoS attack. With the rise of artificial intelligence (AI), machine learning is already beginning to play an active role in detecting and stopping these attacks.

On the other hand, malicious actors can leverage this technology to mount attacks as well.

Launching DDoS Attacks Is Easy in the Age of AI

The complexities surrounding this topic are numerous. Rod Soto, director of security research at security software provider JASK, said launching a DDoS is (unfortunately) far too simple. Anybody can download a free tool capable of taking a company down.

“If you’re a small business and you have a generic website or shopping cart without additional protection, you are vulnerable,” Soto said.

While the simple-to-use tools can’t generate a massive volume of traffic, a knowledgeable malicious actor can leverage the IoT to create a botnet like Mirai. A large-scale campaign using an army of compromised IoT devices can easily scale up to 1 terabyte of data to engulf any system or service.

“Any kind of connected device that [a cybercriminal] can use to bounce or reflect off, they can command to attack a target that will add onto an existing attack,” Soto said.

Download the X-Force research report: Weaponizing the Internet of Things

Good vs. Evil: Who Wins the AI Battle?

To counteract these epic waves of traffic, Soto is counting on AI to play a critical role. In its most basic definition, he explained, machine learning is a way of teaching a computer to build an algorithm based on data. The algorithm learns what is normal and what is abnormal — and if it comes across something abnormal, it takes action.

“It’s a process that is best when working with data scientists, statistics and with as much data as possible,” Soto said. “You train it, it learns and extrapolates things that aren’t clear and can eventually make judgments on activity that you didn’t even train it to do.”

If the AI could talk (granted, some forms of AI actually do talk), it would say something like, “Hey, I know you didn’t train me to do this, but based on what I’m seeing, it appears that X, Y and Z — and I suggest you do A or B.”

On the dark side of the coin: Just as we can make machines think like humans, humans can learn as well. In many instances, malicious actors can figure out how to bypass the algorithm. This reality is where the problem lies for defenders of sensitive systems. According to Soto, once malicious actors figure out your algorithm, they can shift or skew the way the target defends itself and theoretically remove the barriers. When the DDoS comes in, the target goes down.

This point brings us back to the question of who wins out. If defenders and attackers can benefit equally from AI to serve their respective purposes, the one with the most resources will usually prevail.

“If your adversary has the resources, the money, the time, the machinery to process the data against a known target, then there’s a good chance they will be successful,” Soto said. “On the defending end, it’s basically the same story: You need the skill and resources. Until AI is commoditized, unfortunately, you will need the financial resources to use the technology.”

Addressing the Inevitable IoT Onslaught

Let’s face it: The type of AI that could be used to defend a DDoS attack is expensive, but hiring a third-party security company to assist in prevention efforts is money well spent. When engaging a third party, don’t wait until you are under attack before bringing in help. Like anything in the security world today, proactivity is critical.

Ultimately, not all the responsibility for preventing these large-scale attacks lies with the enterprise. The IoT industry must address the security issues inherent in connected devices before threat actors hijack them to attack vulnerable targets and cause significant damage. More robust defenses, such as distributor processing and machine learning, will be critical to deal with attacks of that magnitude.

“You can’t just manufacturer stuff that connects to the internet without any security consideration,” Soto said. “What’s scary is we buy these devices, we put it on at home or at work, and we forget about it.”

If there’s anything we have learned about DDoS, it’s that it’s profitable. As long as that’s the case, malicious actors will continue to wreak havoc. While malicious actors are always an enemy, make no mistake: Complacency can be an equally harmful adversary.

More from Artificial Intelligence

Data Privacy: How the Growing Field of Regulations Impacts Businesses

The proposed rules over artificial intelligence (AI) in the European Union (EU) are a harbinger of things to come. Data privacy laws are becoming more complex and growing in number and relevance. So, businesses that seek to become — and stay — compliant must find a solution that can do more than just respond to current challenges. Take a look at upcoming trends when it comes to data privacy regulations and how to follow them. Today's AI Solutions On April…

Tackling Today’s Attacks and Preparing for Tomorrow’s Threats: A Leader in 2022 Gartner® Magic Quadrant™ for SIEM

Get the latest on IBM Security QRadar SIEM, recognized as a Leader in the 2022 Gartner Magic Quadrant. As I talk to security leaders across the globe, four main themes teams constantly struggle to keep up with are: The ever-evolving and increasing threat landscape Access to and retaining skilled security analysts Learning and managing increasingly complex IT environments and subsequent security tooling The ability to act on the insights from their security tools including security information and event management software…

4 Ways AI Capabilities Transform Security

Many industries have had to tighten belts in the "new normal". In cybersecurity, artificial intelligence (AI) can help.   Every day of the new normal we learn how the pandemic sped up digital transformation, as reflected in the new opportunities and new risks. For many, organizational complexity and legacy infrastructure and support processes are the leading barriers to the effectiveness of their security.   Adding to the dynamics, short-handed teams are overwhelmed with too much data from disparate sources and…

What’s New in the 2022 Cost of a Data Breach Report

The average cost of a data breach reached an all-time high of $4.35 million this year, according to newly published 2022 Cost of a Data Breach Report, an increase of 2.6% from a year ago and 12.7% since 2020. New research in this year’s report also reveals for the first time that 83% of organizations in the study have experienced more than one data breach and just 17% said this was their first data breach. And at a time when…