Latest / CyberSecurity Summary / Distributed Denial of Service Attacks: Real-world Detection and Mitigation
Transcript
- 0:00Speaker 1: Hey there, and welcome to the deep dive. This is
- 0:02Speaker 1: where we take complex topics and well really dive into
- 0:06Speaker 1: them for you. We try to bring you the most
- 0:08Speaker 1: crucial insights, maybe some surprising facts along the way. Today
- 0:12Speaker 1: we're tackling something that can bring entire online services just
- 0:16Speaker 1: grinding to a halt. You can disrupt critical infrastructure and
- 0:19Speaker 1: it's even used in believe it or not, cyber warfare.
- 0:23Speaker 1: We're talking distributed denial of service ATTACKSS.
- 0:27Speaker 2: Yeah, it's a phenomenon that's really evolved dramatically since the
- 0:30Speaker 2: early Internet days. It's become this persistent threat and honestly
- 0:33Speaker 2: a pretty financially impactful one too. For this deep dive,
- 0:37Speaker 2: our insights are coming from a really comprehensive source, the
- 0:39Speaker 2: textbook Distributed Denial of Service Attacks, Real World Detection and
- 0:43Speaker 2: Mitigation by A. Luker Esselek and Richard Arbrooks.
- 0:46Speaker 1: Right, So, our mission today is to truly unpack what
- 0:49Speaker 1: DEAs attacks actually are. You know, why there's still such
- 0:52Speaker 1: a big problem. We'll get into how these attacks are
- 0:55Speaker 1: executed and maybe more importantly, what cutting edge strategies are
- 0:58Speaker 1: out there to detect and mitigate them. Hopefully you'll walk
- 1:01Speaker 1: away from this well informed, maybe ready to understand those
- 1:04Speaker 1: headlines a bit better and perhaps with a new appreciation
- 1:07Speaker 1: for just how complex our digital world is under the hood. Okay,
- 1:12Speaker 1: so let's unpack this core idea first. When we talk
- 1:15Speaker 1: about Adidas attack, it's way more than just a website
- 1:18Speaker 1: crashing temporarily. It's about deliberately denying you, the legitimate user
- 1:23Speaker 1: access access to an online service or a system. Think
- 1:26Speaker 1: of it maybe like a digital sit in. Instead of
- 1:28Speaker 1: blocking a physical door, attackers or just flooding the digital
- 1:31Speaker 1: entrance to a server making it impossible for anyone else.
- 1:34Speaker 2: To get in exactly. That's a great analogy. The core
- 1:37Speaker 2: goal is what we call resource saturation. Attackers basically try
- 1:41Speaker 2: to consume as much of a victim's critical resources as
- 1:44Speaker 2: they possibly can. That could be system resources think CPU memory,
- 1:48Speaker 2: disk space, or network resources like bandwidth, just overwhelming them.
- 1:52Speaker 2: And what's really striking, I think, is how the motivations
- 1:55Speaker 2: behind these attacks have changed over time. You know, initially
- 1:58Speaker 2: it might have just been curiosity pranks even but today
- 2:01Speaker 2: we're seeing highly organized criminal enterprises, geopolitical aims, even nation
- 2:07Speaker 2: states getting involved.
- 2:08Speaker 1: That evolution is pretty stark, isn't it. From like you
- 2:10Speaker 1: said pranks to actual cyber warfare between nations. It really
- 2:13Speaker 1: makes you wonder, with how much we rely on the internet. Now,
- 2:16Speaker 1: why is this still such an ongoing issue. Why is
- 2:18Speaker 1: it so impactful economically socially? What makes DDAs so hard
- 2:22Speaker 1: to stop?
- 2:23Speaker 2: Well, the sources point to three sort of fundamental reasons. First,
- 2:27Speaker 2: they're relatively easy for attackers to actually pull off. The
- 2:30Speaker 2: tools and resources are unfortunately quite available. Second, it's incredibly
- 2:35Speaker 2: difficult to identify and trace the actual attackers. They have
- 2:38Speaker 2: a lot of anonymity. And Third, despite all the cybersecurity
- 2:41Speaker 2: advancements we've made, it's still profoundly challenging for organizations to
- 2:46Speaker 2: fully protect themselves against a really determined, large scale DDoS attack.
- 2:52Speaker 1: It's interesting too, thinking about the history. The whole idea
- 2:55Speaker 1: of denial of service actually goes way back, even before computers.
- 2:59Speaker 1: Groups like the leddie sabotaging automated looms right or civil
- 3:02Speaker 1: rights movements using sit ins to physically block spaces to disrupt
- 3:06Speaker 1: normal activities. Digital didas attacks feel almost like a translation
- 3:10Speaker 1: of that into the network world.
- 3:12Speaker 2: Indeed, it's a modern echo of those older tactics. The
- 3:15Speaker 2: first widely documented digital denial of service attack was Back
- 3:18Speaker 2: in nineteen ninety six, an ISP in New York called
- 3:21Speaker 2: Panics got hit with something called a syn flood for
- 3:24Speaker 2: several days.
- 3:25Speaker 1: S yn flood, what's that exactly?
- 3:27Speaker 2: Ah right? It exploits the way computers start a connection.
- 3:30Speaker 2: It's called the TCP three way handshake. The attacker sends
- 3:34Speaker 2: tons of initial connection requests but never finishes the process,
- 3:37Speaker 2: so the server gets overwhelmed holding all these half open connections.
- 3:40Speaker 1: Okay, so just clogging the pipes from the very start exactly.
- 3:44Speaker 2: And in Panics's case, it was apparently retaliation because they
- 3:47Speaker 2: installed one of the first spam filters on their email system.
- 3:50Speaker 1: Wow. So even back then it was about digital disruption
- 3:55Speaker 1: as a response. But then things got really interesting, didn't they.
- 3:58Speaker 1: The event that sort of shifted public perception you're.
- 4:01Speaker 2: Probably thinking of February two thousand. Yeah, that's when DIDOS
- 4:04Speaker 2: really entered a new era. A fifteen year old from Montreal,
- 4:08Speaker 2: Michael Calcea, alias Mafia Boy, launched attacks that took down
- 4:12Speaker 2: huge names Yahoo, Amazon, Dell, eBay, CNN.
- 4:16Speaker 1: Fifteen years old.
- 4:17Speaker 2: Yeah, and the estimated damage was just staggering. Figures ranged
- 4:20Speaker 2: from like seven point five million dollars up to maybe
- 4:24Speaker 2: one point seven billion dollars.
- 4:25Speaker 1: Incredible. That must have been a massive wake up call.
- 4:27Speaker 2: Oh, it absolutely was. The Mafia Boy attack wasn't just big.
- 4:31Speaker 2: It showed how one person, not even particularly sophisticated technically,
- 4:36Speaker 2: could cripple Internet giants. It permanently shifted cybersecurity from being
- 4:41Speaker 2: this niche. It worry to well a national imperative. Funding spiked,
- 4:46Speaker 2: awareness grew, and the reason we see so many large
- 4:49Speaker 2: scale attacks today, that's largely down to the rise of botanets.
- 4:52Speaker 1: Right. Botanets those sound ominous, What are they exactly?
- 4:55Speaker 2: They're essentially privately run networks of compromised machines, hacked computers, servers,
- 5:01Speaker 2: even IoT devices now all acting as bots, and the
- 5:05Speaker 2: services of these botnets, the ability to launch attacks using
- 5:08Speaker 2: them are often sold online for profit.
- 5:10Speaker 1: So it's a whole criminal ecosystem built around these things,
- 5:12Speaker 1: It really is.
- 5:13Speaker 2: The life cycle usually starts with an initial infection, maybe
- 5:15Speaker 2: your click a bad link, download something sketchy from a
- 5:17Speaker 2: P to P network, or open a malicious email attachment.
- 5:21Speaker 2: Then there's a secondary step where the compromise machine downloads
- 5:24Speaker 2: the actual botnet software, turns into a functioning bot ready
- 5:28Speaker 2: to take commands.
- 5:29Speaker 1: In these networks, they can be set up differently, right
- 5:31Speaker 1: the command and control, the C and C structure exactly.
- 5:35Speaker 2: You have different topologies. Some are centralized, with one main
- 5:38Speaker 2: server calling the shots, easy to manage but also a
- 5:41Speaker 2: single point of failure. Others use multiple servers, maybe spread
- 5:45Speaker 2: out geographically or across different legal jurisdictions to make them
- 5:48Speaker 2: harder to take down. Then you've got decentralized ones using
- 5:51Speaker 2: peer to peer protocols much harder to disrupt, and even
- 5:53Speaker 2: hybrid models combining approaches.
- 5:55Speaker 1: It's quite sophisticated, which leads right into this idea of
- 5:58Speaker 1: d dos for hire, a service people can buy.
- 6:01Speaker 2: Disturbingly, yes, there's a thriving market. Back in twenty seventeen,
- 6:05Speaker 2: you could reportedly buy five minutes of a massive one
- 6:08Speaker 2: hundred and twenty five gigabits per second attack for just
- 6:11Speaker 2: five euros.
- 6:12Speaker 1: Five euros. That's alarmingly accessible, it is.
- 6:15Speaker 2: And the price for renting these botnets has actually been
- 6:17Speaker 2: falling by about five percent each year since around twenty fourteen.
- 6:20Speaker 2: It's just widespread availability competition among the bothereders, the people
- 6:24Speaker 2: who run the botnets. A really notable example was the
- 6:27Speaker 2: attack on spam House in March twenty thirteen. Spam House
- 6:31Speaker 2: tracks spam servers, so they made enemies. That attack hit
- 6:35Speaker 2: three hundred gbps, which was huge at the time, and
- 6:38Speaker 2: it was amplified partly by exploiting vulnerabilities in DNS, the
- 6:41Speaker 2: Internet's phone book, and even by infecting home routers.
- 6:44Speaker 1: Wow. So beyond just making MONEYDIDOS has also become a
- 6:47Speaker 1: political weapon, right This activism.
- 6:49Speaker 2: Phenomenon absolutely Groups like the Electronic Disturbance Theater or EDT.
- 6:54Speaker 2: They sort of pioneered the idea of virtual sit in
- 6:57Speaker 2: with a tool called flubnet, basically encouraging online line protests
- 7:00Speaker 2: via flooding.
- 7:01Speaker 1: Websites, which raises a tricky question, doesn't it. Where's the
- 7:04Speaker 1: line between legitimate digital protest, maybe civil disobedience, and just
- 7:08Speaker 1: illegal destruction.
- 7:09Speaker 2: That's a critical point and often a blurry line. Legally
- 7:12Speaker 2: and ethically, you had groups like Anonymous using DDoS their
- 7:16Speaker 2: project Schnology against Scientology, Operation Titstorm against the Australian Parliament
- 7:21Speaker 2: over Internet filtering plans, and Operation Payback targeting credit card
- 7:25Speaker 2: companies because they blocked donations to wiki leagues. From a
- 7:29Speaker 2: purely legal standpoint, though participating in a DDoS attack is
- 7:33Speaker 2: considered illegal pretty much everywhere in the US. You have
- 7:36Speaker 2: the Computer Fraud and Abuse Act. Internationally, the Convention on
- 7:40Speaker 2: Cybercrime covers.
- 7:41Speaker 1: It, and then the stakes get even higher when actual
- 7:44Speaker 1: nation states use these tactics. That really blurs the line
- 7:47Speaker 1: between cybercrime and well war.
- 7:49Speaker 2: Definitely. The conflict between Russia and Estonia back in April
- 7:52Speaker 2: two thousand and seven is often cited as maybe the
- 7:55Speaker 2: first real cyber war involving DDoS. Then in two thousand
- 7:58Speaker 2: and eight, Russia launched large scale adido's floods against Georgian
- 8:01Speaker 2: news and government sites right as a military invasion was happening.
- 8:04Speaker 2: In Ukraine, there were ddo's attacks in two thousand and
- 8:07Speaker 2: eight linked to anti NATO feelings, and in twenty fifteen,
- 8:10Speaker 2: a major hacking incident, likely involving denial of service elements,
- 8:13Speaker 2: knocked parts of the Ukrainian power grid offline power grids.
- 8:16Speaker 1: Wow, that's way beyond.
- 8:17Speaker 2: Websites exactly, and beyond direct attacks. We also see the
- 8:20Speaker 2: Internet used for widespread censorship, sometimes through related techniques, things
- 8:25Speaker 2: like BGP hijacking, which messes with the Internet's core routing.
- 8:29Speaker 2: Remember Pakistan trying to block YouTube in two thousand and eight.
- 8:31Speaker 1: Vaguely yeah, what happened there?
- 8:33Speaker 2: They accidentally re routed YouTube traffic globally, making it unavailable
- 8:37Speaker 2: worldwide for about two hours, a mistake with massive consequences. Similarly,
- 8:42Speaker 2: Iranian sensors trying to block pornography sites accidentally blocked access
- 8:46Speaker 2: for users in India, Russia, Indonesia, Hong Kong. And then
- 8:50Speaker 2: you have the really alarming Internet blackouts where entire countries
- 8:53Speaker 2: or regions just go dark online, often done by authoritarian
- 8:57Speaker 2: governments trying to control information flow during protests or unrest.
- 9:01Speaker 2: Just in twenty fifteen alone, these kinds of Internet shutdowns
- 9:04Speaker 2: were estimated to cost the global economy something like two
- 9:06Speaker 2: point four billion dollars.
- 9:08Speaker 1: Just dat it's cleared the Internet, which was designed for openness,
- 9:12Speaker 1: for connection, can easily be twisted into this powerful tool
- 9:16Speaker 1: for control and disruption. We've seen the impact silencing descent
- 9:20Speaker 1: global outages. It's huge. But to really grasp how these
- 9:25Speaker 1: attacks cause such chaos, we probably need to dive deeper
- 9:28Speaker 1: into the technical side. How do they actually work?
- 9:32Speaker 2: Let's do it so fundamentally, when attackers go for resource saturation,
- 9:36Speaker 2: they're just trying to use up all the victims computing
- 9:38Speaker 2: power or network capacity, simple brute force. Really, these are
- 9:41Speaker 2: often easy to launch, but notoriously hard to stop once
- 9:44Speaker 2: they get going. Examples include things like HTTP floods, just
- 9:47Speaker 2: sending way too many web page requests to exhaust the server,
- 9:50Speaker 2: or what are called layer seven protocol floods. These are
- 9:53Speaker 2: a bit more targeted, going after specific weaknesses and applications
- 9:56Speaker 2: running on the server.
- 9:57Speaker 1: Layer seven that's the application layer, right, the server software.
- 10:00Speaker 2: Itself exactly, So instead of just flooding the network pipes,
- 10:04Speaker 2: they might exploit how the application handles connections, things like
- 10:08Speaker 2: database connection pool exhaustion making the application run out of
- 10:11Speaker 2: ways to talk to its database, or SSL exhaustion overwhelming
- 10:15Speaker 2: the server's ability to handle secure encrypted connections. They're more subtle,
- 10:20Speaker 2: but can be just as effective.
- 10:22Speaker 1: Okay, and you mentioned earlier. These volume based attacks fall
- 10:25Speaker 1: into two main types, symmetric and asymmetric.
- 10:28Speaker 2: That's right. In a symmetric DDoS attack, the attacker, usually
- 10:32Speaker 2: using a botnet, directly sends a massive flood of basically
- 10:35Speaker 2: junk traffic street at the victim. You generally need a
- 10:38Speaker 2: lot of compromise machines hundreds or thousands to generate enough
- 10:42Speaker 2: volume to overwhelm the target's network connection.
- 10:45Speaker 1: Okay, direct fire, what about asymmetric You said that was
- 10:47Speaker 1: more insidious.
- 10:48Speaker 2: It really is. Asymmetric didas attacks are also known as
- 10:51Speaker 2: reflection and amplification attacks. This is where it gets clever
- 10:55Speaker 2: and dangerous. Here. The attacker doesn't send traffic directly from
- 10:59Speaker 2: their box to the victim. Instead, they abuse other innocent
- 11:03Speaker 2: servers on the Internet, things like public DNS servers, NTP
- 11:07Speaker 2: time servers, or memcash servers that aren't properly secured or configured.
- 11:12Speaker 1: How do they abuse them?
- 11:12Speaker 2: They send small requests to these third party servers, but
- 11:15Speaker 2: they spoofed the return address, making it look like the
- 11:17Speaker 2: request came from the victim. These servers then send back
- 11:21Speaker 2: much larger responses to the victim. That's the reflection part.
- 11:24Speaker 2: The amplification comes because the response is often many times
- 11:27Speaker 2: larger than the initial spoofed request.
- 11:29Speaker 1: Ah So a small effort from the attacker triggers a
- 11:32Speaker 1: huge flood aimed at the victim, bounced off unsuspecting servers.
- 11:36Speaker 2: Precisely, this means just a few attacker resources maybe a
- 11:40Speaker 2: small botnet, can generate absolutely massive amounts of attack traffic.
- 11:44Speaker 2: Like that attack in March twenty eighteen, they used misconfigured
- 11:47Speaker 2: mem cased servers. The amplification factor there is huge. That
- 11:51Speaker 2: attack reached a staggering one point seven terabits per second,
- 11:54Speaker 2: one of the biggest single attacks ever recorded.
- 11:57Speaker 1: One point seven terabits. Yeah, that's an unamis adgable amount
- 12:00Speaker 1: of data.
- 12:01Speaker 2: It really is. And attackers also exploit fundamental weaknesses in
- 12:05Speaker 2: core Internet protocols. You mentioned TCP earlier.
- 12:07Speaker 1: Yeah, this is yn flood thing, exploiting the handshake.
- 12:10Speaker 2: Right, that's a classic TCP based attack. The attacker sends
- 12:14Speaker 2: loads of initial syn packets, making the server open connections
- 12:17Speaker 2: and weight, but the attacker uses fake source addresses and
- 12:20Speaker 2: never sends the final acknowledgment to complete the handshake. So
- 12:24Speaker 2: the server just sits there with all these half open connections,
- 12:26Speaker 2: using up resources until eventually legitimate users can't connect anymore.
- 12:30Speaker 1: So they're weaponizing the protocol itself exactly.
- 12:33Speaker 2: And it's not just about flooding networks or protocols. Attackers
- 12:37Speaker 2: can also use specially crafted packets or applications to hit
- 12:40Speaker 2: specific software bugs. Remember back in twenty eleven, a security
- 12:44Speaker 2: researcher released a simple Perl script kill apatch dot pl vaguely. Yeah,
- 12:49Speaker 2: it's sent very specific types of HTTP requests that could
- 12:52Speaker 2: basically crash certain versions of the Apache Web server by
- 12:55Speaker 2: making them consume all the CPU and memory a targeted
- 12:59Speaker 2: software vulnerable exploit.
- 13:00Speaker 1: Okay, and beyond traffic and software bugs, there's also this
- 13:03Speaker 1: idea of filtering based denial of service, right.
- 13:07Speaker 2: That's a bit broader. It can even include things like
- 13:10Speaker 2: legal action, maybe authorities demanding a server be taken down.
- 13:13Speaker 2: That is denying service technically, but technically it also includes
- 13:17Speaker 2: things like DNS tampering. If an attacker can hijack control
- 13:20Speaker 2: of your DNS servers or poison the cash of other
- 13:22Speaker 2: DNS servers.
- 13:23Speaker 1: They can redirect your users anywhere or nowhere, denying access that.
- 13:27Speaker 2: Way exactly, or they can misdirect traffic. There are also
- 13:31Speaker 2: more refined filtering methods, like URL filtering that could be
- 13:35Speaker 2: based on simple blacklists or whitelists, or it could be
- 13:39Speaker 2: more analysis based using deep packet inspection, looking inside the
- 13:42Speaker 2: data packets for specific keywords or content types to block.
- 13:46Speaker 1: So lots of ways to deny service digitally, but you
- 13:49Speaker 1: mentioned earlier, it can even extend into the physical realm.
- 13:51Speaker 2: Yeah, and This is where it gets particularly chilling. We've
- 13:54Speaker 2: seen how attackers can overwhelm networks or manipulate data flows,
- 13:58Speaker 2: but denial of service isn't just digital. It can involve
- 14:02Speaker 2: physical destruction triggered remotely using digital tools. The most famous
- 14:06Speaker 2: or infamous example is probably the stucks networm back in
- 14:10Speaker 2: twenty ten, ah.
- 14:11Speaker 1: Stucks net that targeted Eran's nuclear program. Right it did.
- 14:14Speaker 2: It's spread through Windows networks, but specifically targeted Siemens industrial
- 14:18Speaker 2: control software Step seven. It's estimated to have physically destroyed
- 14:22Speaker 2: over nine hundred uranium enrichment centrifuges in Iranian facilities by
- 14:26Speaker 2: subtlely manipulating their speeds, cause something like a thirty percent
- 14:30Speaker 2: efficiency loss.
- 14:31Speaker 1: Physically destroying hardware through software.
- 14:33Speaker 2: It shows how these threats evolved, blurring the lines between
- 14:36Speaker 2: cyber and physical. Attackers are constantly finding new angles, new weaknesses.
- 14:41Speaker 1: And to launch all these different types of attacks, they've
- 14:42Speaker 1: got a whole toolkit.
- 14:43Speaker 2: Right, Oh, absolutely, a whole arsenal. Historically, back in ninety nine,
- 14:47Speaker 2: you had tools like TRINDS zero and Tribe Flood Network
- 14:50Speaker 2: or TFN. They exploited common vulnerabilities like buffer overflows to
- 14:55Speaker 2: launch various flood attacks. More recently, you've seen tools like
- 14:59Speaker 2: GoldenEye from around twenty twelve. That one focused on HTTP
- 15:02Speaker 2: and HTTPS doss testing. It cleverly exploited things like HTB
- 15:07Speaker 2: keep Alive and no cash settings to make servers exhaust
- 15:09Speaker 2: their resources keeping connections open. Then there's hoechule K, also
- 15:14Speaker 2: from twenty twelve. That's an application layered doss tool designed
- 15:17Speaker 2: to be sneaky. It generates unique requests each time and
- 15:21Speaker 2: can randomize source IP addresses to try and bypass detection systems.
- 15:25Speaker 2: And of course, for simpler attacks often used in those
- 15:27Speaker 2: activist campaigns, there's the well known low orbit Ion canon
- 15:31Speaker 2: or LOIC. Pretty basic but can be effective in numbers.
- 15:34Speaker 1: So arrange from simple flutters to quite sophisticated.
- 15:37Speaker 2: Tools definitely, and tools like H and three are like
- 15:40Speaker 2: Swiss army knives for network packets. They let users craft
- 15:44Speaker 2: custom TCPIP packets to launch all sorts of layer three
- 15:48Speaker 2: or layer four floods hitting the network in transport layers.
- 15:52Speaker 2: And for those reflection amplification attacks we talked about, there
- 15:55Speaker 2: are specific tools too, like the Saddam d DOS tool.
- 15:58Speaker 2: It can be configured to use d or NTP servers
- 16:01Speaker 2: for that amplification effect. You can actually see it working.
- 16:03Speaker 2: If you capture the network traffic on the victims in
- 16:06Speaker 2: you'll see all the DNS or NTP replies flooding in.
- 16:09Speaker 1: It's kind of amazing and scary how many tools are
- 16:11Speaker 1: out there.
- 16:12Speaker 2: It is, and it raises that crucial question of again,
- 16:15Speaker 2: what's the shared vulnerability? Why are so many different protocols
- 16:19Speaker 2: DNS ANDTP, memecash, even TCP itself seemingly so easy to
- 16:23Speaker 2: exploit for these attacks. Why haven't we fixed these fundamental issues.
- 16:27Speaker 1: That's a great question, and it really speaks to the
- 16:29Speaker 1: scale of this challenge. Okay, so we know the attacks
- 16:32Speaker 1: are very sophisticated and the tools are available. How on
- 16:35Speaker 1: earth do we defend against all this? It must start
- 16:37Speaker 1: with just knowing you're under attack, right detection exactly.
- 16:41Speaker 2: Detection is the first critical step, and generally detection methods
- 16:45Speaker 2: fall into three main categories. First is signature detection. This
- 16:49Speaker 2: works kind of like your antivirus software. It looks for
- 16:52Speaker 2: known patterns or signatures of DDoS attack traffic. Good for
- 16:56Speaker 2: known threats, but useless against new ones.
- 16:58Speaker 1: Right it needs to have seen the attack precisely.
- 17:01Speaker 2: Second is anomaly detection. This approach doesn't look for specific signatures. Instead,
- 17:07Speaker 2: it establishes a baseline of what your normal network traffic
- 17:10Speaker 2: looks like and then watches for significant deviations from that baseline.
- 17:14Speaker 2: It looks at statistics like sudden spikes in packet arrival rates,
- 17:18Speaker 2: or changes in the distribution of source IP addresses, or
- 17:21Speaker 2: even the randomness of certain data fields in the packet headers.
- 17:24Speaker 2: And the third type hybrid systems. As the name suggests,
- 17:27Speaker 2: these try to combine the strength of both signature and
- 17:29Speaker 2: anomaly detection. Use signatures for known attacks, anomaly detection to
- 17:34Speaker 2: catch the unknown ones.
- 17:35Speaker 1: Anomaly detection sounds really powerful, especially for those zero day attacks,
- 17:40Speaker 1: the brand new ones. You mentioned entropy earlier. Can you
- 17:43Speaker 1: break that down a bit more? How does measuring randomness
- 17:47Speaker 1: help spot and attack?
- 17:48Speaker 2: Sure? So, anomaly detection is crucial for zero days, even
- 17:51Speaker 2: though it can sometimes generate more false positives. Flagging normal
- 17:54Speaker 2: traffic is bad. One common statistical method used is cumulative
- 17:58Speaker 2: sum or CUS. It's good at detecting small but persistent
- 18:02Speaker 2: increases in traffic volume that might get lost in the
- 18:05Speaker 2: usual noisy bursts of Internet traffic. Then there's entropy. This
- 18:08Speaker 2: comes from information theory, and basically it's a measure of
- 18:11Speaker 2: disorder or unpredictability in data. Think about source IP addresses
- 18:16Speaker 2: in normal traffic. They tend to come from all over
- 18:18Speaker 2: the place, fairly randomly distributed, high entropy. But during many
- 18:22Speaker 2: types of DEDOS attacks, especially from botanets, you might suddenly
- 18:25Speaker 2: see a huge flood of traffic coming from a relatively
- 18:28Speaker 2: small predictable set of source ips.
- 18:30Speaker 1: The randomness drops, ah, so the entropy the source iepiece goes.
- 18:33Speaker 2: Way down exactly. That sudden drop in entropy is a
- 18:37Speaker 2: strong signal that something unnatural, something non random, is happening,
- 18:40Speaker 2: like an attack. The tricky part with detection, though, is
- 18:43Speaker 2: where you do it. It's most accurate closer to the target
- 18:46Speaker 2: where you see the traffic consolidation, but by then.
- 18:50Speaker 1: It might be too late to actually stop it effectively.
- 18:52Speaker 2: Right the flood might already be overwhelming your connection or
- 18:56Speaker 2: your servers.
- 18:57Speaker 1: Which leads us straight into mitigation. Once you detect that attack,
- 19:01Speaker 1: what can you actually do and how do you balance
- 19:04Speaker 1: needing strong defenses with the cost and complexity of it all.
- 19:08Speaker 2: That's the million dollar question. Mitigation strategies get classified in
- 19:12Speaker 2: lots of ways. You can think about when they happen.
- 19:14Speaker 2: Are they preventative, do they react during an attack or
- 19:17Speaker 2: is it clean up after? Or how they're deployed centralized
- 19:21Speaker 2: defense or distributed, or where they're located protecting at the
- 19:25Speaker 2: source of the traffic near the destination, somewhere in the
- 19:28Speaker 2: network core or a hybrid, and increasingly where the reaction happens.
- 19:33Speaker 2: Is it equipment on your own premises where services running
- 19:35Speaker 2: in the cloud. A lot of modern mitigation heavily leverages
- 19:38Speaker 2: the cloud. Content delivery networks CDNs are a big one.
- 19:42Speaker 1: CDNs yeah, like Akamaine cloud Flare are those guys. They're
- 19:46Speaker 1: used for speeding up websites.
- 19:47Speaker 2: Mostly right primarily, Yes, their main job is to cache
- 19:50Speaker 2: website content on servers all around the world closer to
- 19:52Speaker 2: users to improve load times and performance. But that distributed
- 19:55Speaker 2: architecture inherently makes them pretty good at absorbing DEDOS attacks too.
- 20:00Speaker 2: Running the incoming traffic across this huge network of servers,
- 20:03Speaker 2: they can dissipate the effect of an attack. It makes
- 20:05Speaker 2: it much harder for an attacker to overwhelm any single point.
- 20:08Speaker 1: So their structure provides a kind of built in resilience.
- 20:11Speaker 1: Even if that wasn't the primary goal exactly.
- 20:13Speaker 2: They offer significant d'dos protection as a side benefit, and
- 20:17Speaker 2: now many CDNs offer specific DIDOS mitigation services too.
- 20:21Speaker 1: But I seem to remember hearing about cases where even
- 20:24Speaker 1: big CDNs struggled or maybe even dropped clients during massive
- 20:27Speaker 1: attacks because it was just too much or too expensive.
- 20:30Speaker 2: That's a valid point and a real challenge. CDN's specially
- 20:33Speaker 2: robust DEDOS protection from them can be expensive, and relying
- 20:37Speaker 2: solely on one CDN provider does create a potential single
- 20:41Speaker 2: point of failure, or at least a single point of
- 20:43Speaker 2: financial pain. You mentioned Krebs on security Brian Krebb's security
- 20:47Speaker 2: news site back in twenty sixteen. It got hit by
- 20:50Speaker 2: a massive DIDAS attack, largely from the Maria botnet. Akamai.
- 20:54Speaker 2: His CDM provider at the time was mitigating it, but
- 20:56Speaker 2: the sheer scale and costs led them to eventually drop
- 20:59Speaker 2: his site from their free to protection. It highlighted the
- 21:02Speaker 2: economic limits, right, So.
- 21:03Speaker 1: Relying on one provider, even a big one, isn't foolproof.
- 21:06Speaker 2: It forces organizations to think about more complex strategies, maybe
- 21:10Speaker 2: using multiple CDMs or combining cloud protection with some defenses
- 21:14Speaker 2: on their own premises. It adds layers, but also complexity and.
- 21:17Speaker 1: Cost, and this challenge, I guess, spurred development of other
- 21:21Speaker 1: approaches like dynamic dios mitigation or DDM.
- 21:24Speaker 2: What's the idea there exactly? DDM tries to address those
- 21:28Speaker 2: single provider limitations and cost issues. The core idea is
- 21:32Speaker 2: to leverage resources from multiple different cloud service providers dynamically,
- 21:36Speaker 2: so when an attack hits, the system can automatically scale
- 21:40Speaker 2: up defenses, distributing the attack traffic across a much wider
- 21:43Speaker 2: surface area, maybe using capacity from AWS, Azure, Google Cloud
- 21:48Speaker 2: and specialized scrubbing centers, simultaneously.
- 21:51Speaker 1: Spreading the load even further right.
- 21:53Speaker 2: To dissipate the effect more effectively, and crucially, when the
- 21:56Speaker 2: attack subsides, it can scale those resources back down on
- 21:59Speaker 2: amadically to reduce the operational costs. It aims for more
- 22:03Speaker 2: flexibility and resilience.
- 22:04Speaker 1: Okay, that makes sense. Another defense concept that sounds really interesting,
- 22:08Speaker 1: almost futuristic is moving target defense or MTD. What's that about?
- 22:13Speaker 2: MTD is a fascinating area. The basic philosophy is if
- 22:17Speaker 2: the target is constantly changing, it's much harder for an
- 22:20Speaker 2: attacker to hit it successfully. Instead of building static fortress
- 22:24Speaker 2: like defenses, you make the system itself dynamic and unpredictable.
- 22:28Speaker 1: How do you do that? Like constantly changing IP addresses.
- 22:31Speaker 2: That's one example. Yeah, Dynamically mutating IP addresses makes it
- 22:35Speaker 2: harder for attackers to even find the target, let alone
- 22:37Speaker 2: sustain an attack against it. Other MTD techniques might involve
- 22:41Speaker 2: frequently changing network paths, randomizing system configurations, or even presenting
- 22:46Speaker 2: attackers with deceptive fake views of the network topology to
- 22:50Speaker 2: confuse their reconnaissance efforts.
- 22:52Speaker 1: It's about creating uncertainty for the attacker, Yeah, making their
- 22:55Speaker 1: planning and execution much more difficult.
- 22:57Speaker 2: Precisely, it aims to increase the attack workload and reduce
- 23:01Speaker 2: their window of opportunity. While it adds complexity to your
- 23:04Speaker 2: own system management, it can be very effective, especially against
- 23:08Speaker 2: automated attack tools that rely on static information.
- 23:11Speaker 1: Okay, shifting gears a bit. Software defined networking SDN. This
- 23:15Speaker 1: is a pretty major change in how networks are built
- 23:18Speaker 1: and managed. How does SDN impact DDoS defense? Is it
- 23:22Speaker 1: good news or bad news?
- 23:24Speaker 2: Well, it's both. SDN definitely presents huge opportunities, but also
- 23:27Speaker 2: new challenges. The big change with SDN is that it
- 23:31Speaker 2: separates the network's control logic the brain from the actual
- 23:34Speaker 2: hardware that forwards traffic the muscle you get the centralized
- 23:38Speaker 2: software controller that manages the entire network.
- 23:41Speaker 1: Centralized control sounds powerful.
- 23:43Speaker 2: It is, and it's programmable. This gives you incredible flexibility
- 23:46Speaker 2: to create adaptive security solutions. You could, for instance, use
- 23:49Speaker 2: the SDN controller to implement MTD techniques like that dynamic
- 23:53Speaker 2: IP mutation we just talked about, or you could program
- 23:56Speaker 2: it to quickly reroute traffic around attack points, or even
- 23:59Speaker 2: generate fake networks to deceive attackers trying to map your infrastructure.
- 24:03Speaker 2: The potential for dynamic defense is.
- 24:05Speaker 1: Huge, but that centralization sounds like it could also be
- 24:07Speaker 1: a weakness, right, A single target for attackers.
- 24:10Speaker 2: Absolutely, that's the flip side. The SDN controller itself becomes
- 24:14Speaker 2: a very attractive, high value target. A successful DIDOS attack
- 24:18Speaker 2: against the controller could potentially paralyze the entire network. It's
- 24:21Speaker 2: a single point of failure and the programmability.
- 24:24Speaker 1: Could that be misused?
- 24:25Speaker 2: Yes, If an attacker could somehow compromise the controller or
- 24:29Speaker 2: exploit its programming interfaces, they could potentially reconfigure the network maliciously,
- 24:35Speaker 2: causing widespread disruption. A different kind of denial of service Also,
- 24:39Speaker 2: SDN often goes hand in hand with network function virtualization,
- 24:43Speaker 2: running things like firewalls and routers as software on scattered servers.
- 24:48Speaker 2: This softization means you might have multiple critical network functions
- 24:51Speaker 2: running on the same physical box that creates high value
- 24:54Speaker 2: targets and potentially a broader attack surface if one component
- 24:57Speaker 2: gets compromised.
- 24:58Speaker 1: So powerful potential, but also new risks to manage.
- 25:01Speaker 2: Exactly it requires careful design and robust security for the
- 25:04Speaker 2: SDN components themselves.
- 25:06Speaker 1: And we've touched on this, but it bears repeating. This
- 25:09Speaker 1: isn't just about websites or corporate networks anymore. DDAs is
- 25:12Speaker 1: increasingly threat to cyberphysical systems cps.
- 25:16Speaker 2: Absolutely. Cps are systems that integrate computing and networking with
- 25:20Speaker 2: physical processes. Think smart manufacturing, smart buildings, intelligent transportation systems.
- 25:25Speaker 1: And the big one, the smart grid.
- 25:28Speaker 2: The smart grid is a prime example. It relies heavily
- 25:31Speaker 2: on real time data flowing over networks from sensors out
- 25:34Speaker 2: in the field, things like phaser measurement units or pmus,
- 25:38Speaker 2: which monitor the health of the power grid.
- 25:40Speaker 1: So if you disrupt that data flow.
- 25:42Speaker 2: You can cause serious problems. Studies have shown that even
- 25:45Speaker 2: if the communication is encrypted, say, using VPN tunnels, attackers
- 25:50Speaker 2: might still be able to disrupt things using side channel attacks.
- 25:53Speaker 1: Side channel what does that mean here?
- 25:55Speaker 2: It means looking at characteristics other than the encrypted data itself,
- 25:59Speaker 2: like analyzing the size of the packets being sent or
- 26:01Speaker 2: the timing between packets. Even without decrypting the data, attackers
- 26:05Speaker 2: might be able to identify which data streams belong to
- 26:08Speaker 2: specific critical pmus just based on these patterns.
- 26:11Speaker 1: And then what block just those specific packets.
- 26:14Speaker 2: Potentially, yes, they could selectively drop or delay just the
- 26:18Speaker 2: data from crucial pmus. This could make the control center
- 26:22Speaker 2: think the PMU is still online and connected, but it's
- 26:25Speaker 2: not receiving the vital real time measurements about grid stability.
- 26:29Speaker 2: If that happens, the system operators might not see an
- 26:31Speaker 2: impending problem, potentially leading to instability or even blackouts.
- 26:36Speaker 1: That is genuinely unsettling. It really drives home that the
- 26:39Speaker 1: lines are blurring. It's not just about data loss anymore.
- 26:41Speaker 1: It's about potentially catastrophic physical consequences.
- 26:45Speaker 2: Right and think about those BGP hijacking or DNS poisoning
- 26:48Speaker 2: attacks we mentioned earlier. If attackers can redirect Internet traffic,
- 26:52Speaker 2: they could potentially intercept or block communication for financial services,
- 26:56Speaker 2: government agencies, even theoretically systems involved in manage critical national
- 27:00Speaker 2: security assets. The potential impact is enormous.
- 27:04Speaker 1: Wow, Okay, we have covered a ton of ground in
- 27:07Speaker 1: this deep dive. It's really quite a journey. We went
- 27:10Speaker 1: from the earliest sort of conceptual denial of service, the
- 27:13Speaker 1: Luddites and sit ins, all the way to these massive
- 27:16Speaker 1: global DEDOS attacks we see today impacting everything. We've looked
- 27:20Speaker 1: at the motivations from just messing around to organized crime,
- 27:24Speaker 1: political anctivism, and even full blown state sponsored cyber warfare.
- 27:28Speaker 2: Yeah, and we unpacked the tech behind it too, the
- 27:30Speaker 2: simple symmetric floods, the much sneakier reflection and amplification attacks,
- 27:35Speaker 2: exploiting protocol weaknesses, software bugs, even extending into the physical
- 27:39Speaker 2: realm with things like stucksnet.
- 27:41Speaker 1: And then the defense side, the detection methods using signatures,
- 27:44Speaker 1: looking for anomalies with stats like entropy, and the mitigation
- 27:47Speaker 1: strategies leveraging CDNs, the cloud elasticity with DDM trying to
- 27:51Speaker 1: be unpredictable, with moving target defense and navigating the complexities
- 27:55Speaker 1: of SDN.
- 27:56Speaker 2: It truly is an ongoing arms race. Attacker constantly innovate,
- 28:01Speaker 2: finding new vulnerabilities, new ways to cause disruption, and defenders
- 28:05Speaker 2: are racing to keep up, developing new techniques to protect
- 28:08Speaker 2: our digital lives and increasingly, our critical physical infrastructure. The
- 28:13Speaker 2: stakes just keep getting higher.
- 28:14Speaker 1: They really do it touches almost everything now. Okay, before
- 28:17Speaker 1: we wrap up, let's leave our listeners with a final
- 28:20Speaker 1: provocative thought to chew on. Considering everything we've discussed and
- 28:23Speaker 1: how reliant we're becoming on interconnected smart systems, smart homes,
- 28:27Speaker 1: smart cities, smart grids, how might the very nature of
- 28:31Speaker 1: denial of service attacks change in the coming years as
- 28:33Speaker 1: everything gets connected? What new kinds of vulnerabilities might emerge
- 28:37Speaker 1: when your fridge, your car, the traffic lights, the power
- 28:39Speaker 1: grid are all talking to each other. And how will
- 28:42Speaker 1: our defenses need to evolve to protect these incredibly complex,
- 28:45Speaker 1: interconnective next generation targets