Three Shapes of Denial Attack - .ng Academy Learning Management System
Securing the Internet: DNS, Threats & Cyber Defense
Three Shapes of Denial Attack
Securing the Internet: DNS, Threats & Cyber Defense
0% Completed
Module 1 – The bank that was never breached.
On a Tuesday morning, customers of a mid-sized bank typed the correct web address, saw the correct name in the address bar, and entered their credentials into a page that was not the bank’s.
The bank’s systems were never touched, no server was compromised, no database was accessed, no firewall was bypassed. An attacker had changed where the name pointed and every customer’s computer obediently went to the new address, because that is exactly what DNS is designed to do.
Every system behaved correctly. The attacker changed an answer, and DNS has no way to tell a changed answer from a correct one. Certificates prove you reached the named site. If the attacker also obtains a certificate for that name, the warning never appears.
Security controls mostly ask, should this be allowed? DNS answers a different question: where should this go? An attacker who controls the answer does not need to defeat your defences, because the traffic simply never arrives at the thing you defended.
This story is a composite of a pattern that has happened repeatedly to real organisations, and it opens the course because it reframes what DNS security is for. Most security thinking is about permission, who may access what. DNS is about direction, and direction sits upstream of permission.
Encryption and certificates prove that you are talking to the site named in the certificate. They do not prove that the name points where it should. If an attacker controls the DNS answer for long enough, they can often obtain a valid certificate for that name too, because certificate issuance itself frequently verifies control by checking DNS and that is why domain control is such a high-value target.
Another angle is about visibility, and it recurs throughout the course. The bank’s monitoring watched the bank’s systems. The attack took place in the naming layer, which the bank did not own, did not monitor, and had never included in its threat model.
The resolver that believed a stranger: Understand what cache poisoning achieves and why it scales.
This module deals with deception, the first of the four families. The description here is deliberately conceptual, the point is to understand what the attack achieves and why the defences take the shape they do, not to provide a recipe.
The crucial property is amplification through caching. Attacks on individual users are expensive and slow.
An attack on a resolver is efficient, because one successful forgery is served to everyone behind it for the lifetime of the cache entry. That is why the resolver, not the user, has always been the target of choice, and why large public resolvers receive constant attention.
The classic form of this attack was substantially mitigated by changes made across the industry following high-profile research in 2008, and by DNSSEC where it is deployed. Mitigated means made impractical when correctly configured, and the audit at the end of this module exists because configuration drifts, defaults vary, and validation is frequently not switched on.
The day a DNS outage broke the front page: Understand why DNS availability failures propagate so widely.
This module deals with denial attacks whose goal is simply to make you unreachable. The 2016 event is used because it is thoroughly documented in peer-reviewed research and because it illustrates three lessons at once.
The first is concentration. A large number of organisations discovered simultaneously that they shared a single DNS dependency. Anycast and multiple data centres protect against site failure, they do not protect against provider-level failure, and many organisations conflate the two.
The second is the distinctive character of DNS outages. Every application server involved remained healthy throughout. The services were unreachable because the naming layer in front of them was unavailable, which is why DNS availability deserves separate treatment from application availability in your resilience planning.
The third is that caching acts as a shock absorber. Users whose resolvers held unexpired answers continued working. That means the cache lifetimes you publish are in effect, a resilience setting, a point developed later in this module.
Understand why attackers use the namespace as disposable infrastructure.
This module covers exploitation where the naming system itself becomes criminal infrastructure. Your position changes, and it is worth pausing on that shift. You are no longer defending a service against an attacker aimed at you; you are looking for evidence of abuse among your own users and within the namespace you help operate.
The technique described is a domain generation algorithm, and the economics behind it explain why it exists.
Fixed addresses are single points of failure for the attacker. Generating thousands of candidate names cheaply moves the advantage back to them, because defenders must find and block continuously while the attacker registers one name a day.
The contains the defensive opening, and it is the basis for everything in this module. Because almost every generated name is never registered, an infected machine produces a distinctive pattern of failed lookups.
Behaviour is much harder for an attacker to disguise than appearance, so behaviour is what you watch.