HackPath
BootcampCoursesRoadmapPracticePricing
Log inStart learning
Back to courses

Course

Foundations of Information Security

0%
Introduction2 lessons
01The Architecture of Information Security
20m
02Fundamental Security Principles
25m
InfoSec Domains8 lessons
03Network Security Fundamentals
25m
04Application Security Principles
25m
05Operational Security (OpSec) Concepts
25m
06Business Continuity and Disaster Recovery
25m
07Cloud Security Essentials
25m
08Physical Security Mechanisms
25m
09Mobile Device Security Foundations
25m
10Security in Internet of Things (IoT) Environments
25m
Threats5 lessons
11Distributed Denial-of-Service (DDoS) Attacks
25m
12Ransomware Threat Landscape
25m
13Social Engineering Tactics
25m
14Internal Threat Actors
25m
15Advanced Persistent Threat (APT) Campaigns
25m
Cybersecurity Teams4 lessons
16Adversaries and Threat Profiles
25m
17Red Team Operations & Offensive Security
25m
18Blue Team Defensive Operations
25m
19Purple Team Collaboration Framework
25m
Lesson 11·11 / 19·25 min

Distributed Denial-of-Service (DDoS) Attacks

Interpret traffic and failure records without equating an outage with an attack. Compare DDoS mechanisms and propose measured responses with owners and limits.

EnglishFrançaisDeutschالعربيةहिन्दी

Quick recap.

In IS-I10, two views of R42 remained one measurement. A gateway's acceptance did not prove a physical result. A declared rule was not verified protection.

The school website reports more failures. Does a traffic increase from many addresses prove a DDoS attack? Review the fictional IS-D11 dossier on paper or in notes. No request, traffic generator, scan or live load test is needed.

Learning objectives.

Distinguish service failure from an established attack, calculate scoped failure percentages, compare three attack families and write IS-D11-R with proposed protection, owner, tradeoff and verification.

Name the service and the constrained resource.

Availability means legitimate users can obtain the service they need. Capacity is what a component can handle under specified conditions: network data, pending connections or application work. A bottleneck is a limiting resource in that path. Spare network bandwidth does not prove spare application capacity.

DoS (Denial of Service) is disruption of legitimate service use. A malicious DoS attack deliberately causes such disruption. DDoS (Distributed Denial of Service) uses distributed sources or infrastructure. DDoS is a form of DoS; DoS does not universally mean exactly one source. A fault or legitimate popularity can also cause unavailability without an attack.

A botnet is a collection of compromised devices under remote control. Computers, servers and IoT objects may be involved through malicious software, exploitable weaknesses or stolen access. A botnet need not contain thousands of devices. Not every DDoS requires one, and source addresses do not count devices or attackers.

Reflection redirects replies from intermediary services towards a target, often through a forged source address. Amplification increases the response traffic relative to requests. A reflector need not be compromised. These mechanisms are distinct from a botnet; no attack recipe is needed to recognise the distinction.

Read the supplied dossier.

These are constructed records, not a capture or downloadable dataset. A request asks a service for an action; a timeout means no timely response was obtained, not necessarily that the request never arrived. Counts below concern selected request outcomes in equal one-minute windows.

SourceSupplied information
S1, school scopeSCHOOL-WEB provides public lessons. For these selected counts, failed means a timeout or HTTP 503 response. Coverage of all users, cause and intent are not established.
B1, window 09:00–09:01SCHOOL-WEB: 1000 selected requests, 20 failed.
E1, window 09:10–09:11Same selection method: 5000 requests, 1500 failed, 200 distinct recorded source IP addresses. Devices, people and intent are not identified.
N1, window 09:10–09:11Reported average link traffic 80 Mbps against declared capacity 100 Mbps. Peaks, other bottlenecks and effective capacity are not supplied. Mbps means megabits per second.
A1, analyst alert at 09:12Label “possible DDoS”. No confirmed botnet, method, perpetrator or independent classification is supplied.
M1, ticket at 09:13A per-IP request limit is proposed. Approval, deployment and effects are not supplied.
V1, window 09:20–09:21Same selection method: 1000 requests, 50 failed. No causal link to M1 or whole-service recovery is established.

An IP (Internet Protocol) address is a network address, not a person. Shared exits can make several users appear under one address; addresses can also change or be forged in some traffic.

An observation states E1's counts. An interpretation compares windows. An attack is a hypothesis consistent with the alert, not a verified conclusion. Coverage, causes and intent remain unknowns. Geography, similar packets or many addresses can guide investigation without proving maliciousness.

Failure percentage = failed requests ÷ selected requests × 100. B1 gives 20 ÷ 1000 × 100 = 2 %; E1 gives 1500 ÷ 5000 × 100 = 30 %. The increase is 28 percentage points, not 28 percent relative growth. V1 gives 50 ÷ 1000 × 100 = 5 %, still above B1.

N1's ratio is 80 ÷ 100 × 100 = 80 % of the declared capacity on average. This neither proves saturation nor rules out brief peaks or an application bottleneck.

Compare mechanisms by what they exhaust.

HTTP (Hypertext Transfer Protocol) carries web requests and responses; 503 reports service unavailability, not its cause. DNS (Domain Name System) supplies naming information needed by many services. TCP (Transmission Control Protocol) establishes connections; UDP (User Datagram Protocol) carries datagrams without that connection setup. ICMP (Internet Control Message Protocol) carries network control information.

FamilyMechanism examplesEvidence and limit
VolumetricUDP or ICMP floods; reflected/amplified DNS responses can consume bandwidth.Measure the relevant path and its limits. A high request count alone proves no bandwidth saturation.
Protocol/stateA SYN flood pressures pending TCP connection state; fragment handling can consume resources. Historical Ping of Death attacks exploited malformed oversized traffic in vulnerable implementations.SYN is TCP's synchronisation flag. Implementation and protections matter; ordinary fragments or ping do not automatically crash systems.
ApplicationHTTP floods, slow incomplete requests such as Slowloris, or requests triggering expensive database work.CPU means Central Processing Unit; database work or connection pools can be limiting. Lower traffic can matter, but this family is not universally more dangerous or impossible to filter.

These categories overlap. One incident may affect several resources. Valid-looking requests can still be abusive; the firewall's ability depends on its function and context.

A conceptual attack may involve coordination, distributed traffic, resource pressure and service effects. Neither an instruction being issued nor traffic stopping guarantees the next stage or immediate recovery. Criminal rental services exist, but this lesson supplies no provider or operational instructions.

Plan protection and measure its effects.

Proposed measureOwner and purposeLimit or cost to check
Upstream filtering/scrubbingNetwork team and existing connectivity provider review filtering before a congested link.Local filtering cannot restore bandwidth already consumed upstream; coordination and capacity matter.
Capacity planningOperations reviews spare resources and dependency limits.More bandwidth does not fix every application or database bottleneck.
Rate limitingApplication team proposes scoped request limits.Shared addresses can include legitimate users; M1 is only a proposal. Monitor blocked legitimate actions.
Distributed deliveryNetwork/application teams review anycast, CDN and caching where appropriate.Anycast routes an address to one of several sites; CDN means Content Delivery Network; caching reuses stored responses. Origins, dynamic data and shared dependencies can remain exposed.
Application filteringApplication/security teams review a WAF, Web Application Firewall, and resource-aware rules.False positives, cost and bypass paths require review; no universal blocking guarantee.
Response and recoveryIncident lead coordinates evidence, owners, teaching continuity and status messages.Verify legitimate use after changes and keep unrelated security monitoring active.

Device updates, suitable initial credentials, limited services and endpoint monitoring reduce opportunities for botnet recruitment; they do not guarantee prevention. Preserve logs within approved scope. No new service is selected or purchased here.

Consequences can include interrupted teaching, lost sales, response costs and reduced trust; amounts need business evidence. DNS dependencies can affect access to otherwise running applications, not necessarily the whole Internet. A DDoS can accompany another intrusion, but disruption does not prove theft, a cover operation or attribution. Trends and future attacks are not guaranteed for every organisation.

Keep history separate from the school.

Dyn's DNS service was attacked on 21 October 2016; Merit's measurements show effects from its own observation points.

The Mirai study reports a 600000 infection peak over months, not Dyn's attacker count. Weak credentials mattered; variants differed. Do not turn source IPs into device counts.

Worked example: IS-D11-R.

SourcesBounded conclusionProposed follow-up
B1 09:00–09:01; E1/N1 09:10–09:11; A1 09:12Selected failure share rises 2 % to 30 %, or 28 percentage points. N1 averages 80 % of declared link capacity. DDoS remains unconfirmed.Network and application teams review scoped load, failure causes and coverage before choosing a mechanism-specific response.
M1 09:13; V1 09:20–09:21Rate limiting was proposed; V1 is 5 % failed. This proves neither deployment nor its causal benefit or full recovery.Incident lead obtains change evidence and representative legitimate-use results, including shared-address users.

Exercises

Exercise 1: correct the attack verdict, 2 to 5 minutes.

IS-D11 gives B1 at 09:00–09:01: SCHOOL-WEB has 1000 selected requests, 20 failed. E1 at 09:10–09:11 uses the same method: 5000 requests, 1500 failed and 200 recorded source IP addresses. A1 at 09:12 says “possible DDoS”. Failure means timeout or HTTP 503; coverage of all users and intent are unknown.

Calculate both failure percentages and their percentage-point difference. Correct “200 attackers took down the whole school”. Write one IS-D11-R row with an unknown and a proposed evidence review with an owner. Send no requests.

Exercise 2: choose protections without claiming success.

N1 at 09:10–09:11 reports average 80 Mbps against declared 100 Mbps, without peaks or application capacity. M1 at 09:13 proposes a per-IP limit without deployment evidence. V1 at 09:20–09:21 reports SCHOOL-WEB 1000 selected requests, 50 failed, versus B1's 20 of 1000 at 09:00–09:01. Source IPs can be shared by legitimate users.

Calculate N1's ratio and V1's failure percentage. Propose one upstream and one application measure with owner, tradeoff and required verification. Explain why V1 does not prove M1 worked.

Open questions

Question 1: can one local filter guarantee recovery?.

N1 at 09:10–09:11 gives 80 Mbps average and declared 100 Mbps without peak data. A1 at 09:12 labels possible DDoS; M1 at 09:13 merely proposes per-IP limits for SCHOOL-WEB. Explain why neither “the link is definitely full” nor “one local filter will stop everything” follows. Give an owner and two missing evidence items.

Expected evidence and common mistakes.

IS-D11-R keeps windows, denominators, 2 %, 30 %, 28 percentage points, 80 % and 5 % with their limits. Proposed, applied and verified remain different. Neither botnet membership, amplification nor perpetrator identity is proved here.

Availability protection requires evidence about the actual bottleneck and legitimate users. Select measures by that evidence, then verify effects and unintended blocking.

Flashcards

Flashcards · 1/10
0001
0001
Unseen

How do DoS and DDoS relate?

0001
0001

Answer

DDoS is distributed denial of service, a form of DoS; DoS does not universally mean one source.

Next comes Ransomware Threat Landscape. Malicious encryption and extortion can affect availability, integrity and sometimes confidentiality; those effects require separate evidence.

Chapter challenge

Follow the activity instructions and keep your own results.

Open challenge →

You're on a free lesson

Ready to go further?

Unlock all courses, exercises, real-world scenarios and flashcards — everything to build real skills.

Unlock full access →

No commitment · Cancel anytime

Sign in to track your progress.

Sign in to validate →

200+ lessons · Challenges · Flashcards

$99/year — save 31% vs monthly

Unlock full access →