👉 Master your Security+ skills with Pluralsight here: Pluralsight
You’ll learn what a distributed denial-of-service (DDoS) attack is, how it disrupts availability, and how to tell it apart from a normal traffic spike. This beginner-friendly CompTIA Security+ guide covers the three main attack types and how defenders use traffic scrubbing and rate limiting to keep services online.
Chapters: 0:00 Intro 0:13 What makes a DDoS attack distributed? 1:08 What are the three main types of DDoS attacks? 1:49 How can you tell a DDoS attack from a traffic spike? 2:42 How do defenders reduce the impact of a DDoS attack? 3:39 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
A distributed denial-of-service (DDoS) attack overwhelms a service with traffic from multiple sources. It primarily targets availability; an outage alone doesn’t mean data was stolen or altered.
Identify what runs out first: Volumetric attacks exhaust bandwidth, protocol attacks strain packet or connection processing, and application-layer attacks overload features or backends.
A traffic spike isn’t proof of an attack. Compare request patterns, errors, and resource usage with a normal baseline to find what stopped legitimate users from getting through.
Match the defense to the bottleneck. Upstream traffic scrubbing can protect a saturated link, connection protections can ease firewall strain, and rate limiting or caching can reduce backend load. See CISA’s DDoS response guide.
Verify recovery by testing what users couldn’t do, such as completing checkout. A drop in traffic doesn’t prove the service is working again.
👉 Put your Security+ knowledge to work with guided labs, feedback, and practice exams on Pluralsight.
A distributed denial-of-service (DDoS) attack is a deliberate attempt to slow down or take an online service offline by overwhelming a resource with traffic from multiple sources. The resource might be an internet connection, a firewall’s ability to track connections, or the database behind a website. When that resource reaches its limit, legitimate users may see slow pages, failed transactions, or timeouts.
A traffic spike alone doesn’t prove there’s an attack. To tell the difference, start by finding what stopped users from getting through, then compare the traffic and errors with what’s normal for the service.
What makes a DDoS attack distributed?
A single-source denial-of-service (DoS) attack can cause the same outage as a DDoS attack. The word refers to where the traffic comes from, not how big the attack is or how many people are behind it.
FAQ
Quick answers to the questions people usually ask about this topic.
Can a DDoS attack take down a website without using up all its bandwidth?
Yes. A firewall can run out of capacity to track connections, or an application can run out of database connections, even when the internet link has room to spare. If some pages still load but search or checkout times out, check the resources those features depend on rather than relying on bandwidth alone.
Why can the same website load for some users but not others during a DDoS incident?
Different users may depend on different parts of the service. During a DNS disruption, users whose resolvers still have a valid cached address may reach the site while others can't look it up. If the backend is overloaded, cached pages may still load through a CDN while actions like signing in or checking out fail.
What information should you share with your provider during a suspected DDoS attack?
Share when the disruption started, including the time zone, which services or endpoints are affected, and what users are seeing. Include any available traffic and error metrics. If several services are timing out but your application logs show little traffic, flag that mismatch so the provider can check for saturation upstream. See CISA’s DDoS response guide for more defensive guidance.
Why can't you compare DDoS attack records using a single number?
The numbers can measure different kinds of load. Bits per second measures bandwidth, packets per second reflects packet-processing demand, and requests per second measures request rate. GitHub’s 1.35-terabit-per-second report and Google’s 398-million-requests-per-second report aren't directly comparable, and neither peak alone tells you how long users were affected.
How can I get hands-on cybersecurity practice after learning the DDoS basics?
Once you can explain which resource is overloaded and what evidence supports that conclusion, try guided security labs on Pluralsight to build practical skills and get feedback. Use its assessments and practice exams to spot gaps and decide what to review next for CompTIA Security+.
Some links may earn a commission. Thanks for your support.
Watch in the video playerOpen the dedicated player for this course.
distributed
One common source of distributed traffic is a botnet, a group of devices controlled together, often without their owners’ knowledge. Compromised computers, routers, and internet-connected devices such as security cameras can all be part of one. But a botnet isn’t required: in a reflection attack, traffic reaching the victim can come from third-party servers that haven’t been compromised. Amplification is a separate concept: it means the replies are larger than the requests that prompted them.
Think of a store with a jammed entrance. Customers can’t get in, but nothing has to be stolen or changed. In the CIA triad, confidentiality, integrity, and availability, a DDoS attack primarily targets availability. An outage alone isn’t evidence of data theft or tampering. A separate intrusion can happen at the same time, so restoring access and investigating other suspicious activity are distinct tasks.
The three main types of DDoS attacks
The simplest way to distinguish the three types is to ask: What runs out first?
DDoS attack type
What reaches its limit
What defenders might see
Volumetric
Network bandwidth
The inbound internet link fills up, and several services that share it start timing out.
Protocol (network or transport layer)
The ability to process packets or track connections
A firewall can’t track more connections, so new ones fail even though the internet link isn’t full.
Application layer (Layer 7)
The ability to handle application requests
The homepage still loads, but search requests time out because the database is overloaded.
An attack can put pressure on more than one resource at once. That’s why looking only at bandwidth can be misleading. Bits per second measures traffic volume, packets per second helps show packet-processing demand, and requests per second measures request rate. None of these measurements, on its own, proves malicious intent.
The bottleneck can also be outside the application. A website may be healthy but unreachable if the Domain Name System (DNS) service that translates its name into an address is unavailable.
How to tell a DDoS attack from a normal traffic spike
Imagine checkout starts timing out right after a big sale goes live. It could be an attack, or it could be more shoppers than the site can handle. A bad deployment or a failing dependency can also produce similar symptoms.
Start with a baseline: what traffic, errors, and resource use normally look like for that service. If possible, compare the surge with a similar event, such as a previous sale. Then check:
Which requests increased? Familiar browsing and checkout patterns make a legitimate rush plausible. A surge concentrated on one endpoint is worth investigating, but it isn’t proof of an attack.
When did users start seeing errors? Compare the timing of timeouts and failed requests with traffic and resource metrics. Check whether the trouble affects one feature or several services at once.
What hit its limit? Check link utilization, connection counts, and backend metrics. If several services are timing out but application logs show little traffic, ask the network provider what it sees upstream.
Lots of source IP addresses don’t prove a DDoS attack: a legitimate crowd also comes from many addresses. In a reflection attack, visible addresses may belong to legitimate third-party servers. Blocking one address rarely resolves a distributed event, while a broad block can lock out real users.
How traffic scrubbing and rate limiting reduce DDoS impact
The right defense depends on where traffic can be handled before it overwhelms the constrained resource.
If the bottleneck is…
A defense that addresses it
A saturated internet link
An internet service provider or DDoS mitigation provider can scrub traffic upstream, filtering likely attack traffic and forwarding traffic classified as legitimate. An on-site firewall can’t free up bandwidth that traffic has already consumed on the way in.
Connection-processing capacity
Network-layer mitigation and connection protections can reduce the load on firewalls, load balancers, and servers. Check device health and connection counts rather than relying on bandwidth figures alone.
An overloaded application or database
A web application firewall (WAF) can use rate limiting to cap how many matching requests get through in a given time. A content delivery network (CDN) can serve cached content without involving the backend, though dynamic requests may still need it. Limits that are too strict can turn away legitimate users.
Prepare before an outage by recording normal traffic patterns and keeping provider contacts in your incident response plan. During an incident, preserve relevant logs and coordinate with the provider handling mitigation. Afterward, verify that users can complete affected tasks, such as checking out, rather than assuming recovery just because traffic has dropped. See CISA’s guide to understanding and responding to DDoS attacks for additional defensive guidance.
Real-world DDoS attack examples
Dyn, 2016: An attack involving the Mirai botnet hit Dyn’s DNS service, temporarily disrupting access to major sites that depended on it. The incident showed how an outage at one shared provider can affect many otherwise separate services.
Practice DDoS analysis for CompTIA Security+
Knowing the three attack types is a start. The practical skill is looking at an outage, identifying the resource under pressure, and explaining what evidence supports your diagnosis. If you’re ready to move beyond the explanation, Pluralsight offers guided security labs with feedback, assessments to identify study gaps, and practice exams to help focus your certification prep.
GitHub, 2018:GitHub reported that a reflected amplification attack peaked at 1.35 terabits per second. GitHub.com was fully unavailable for about five minutes and intermittently unavailable for about four more. GitHub said data confidentiality and integrity were not at risk.
Google, disclosed in 2023:Google reported mitigating a series of HTTP/2 attacks that peaked at 398 million requests per second. That figure measures request rate, so it isn’t directly comparable to GitHub’s bandwidth figure.
Affiliate link — I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn understanding into hands-on confidence
You've built the foundations. Pluralsight adds opportunities to practice in guided security labs, get feedback, and check your knowledge with assessments and practice exams, so your next step is more than another video.
đź› Put concepts to workBuild practical skills with guided security labs and feedback.
🎯Find your weak spotsUse assessments to focus on what needs more work.
📝Check your understandingUse practice exams to guide your certification preparation.
đź§Give study sessions directionOrganize further learning with curated paths and progress tracking.