Latest / Blue Security / DDoS Protection
Transcript
- 0:06Welcome to the blue security podcast, a weekly podcast for
- 0:10information security Defenders, where we bring you two sessions
- 0:13on best practices, tools and implementation for Enterprise
- 0:17security. Now here are your hosts for
- 0:19today's show, Andy jaw and Adam Brewer.
- 0:22Welcome to another episode of the blue security podcast.
- 0:24I'm Andy your host. Adam your co-host.
- 0:27We're pre-recording this one and so you'll hear Or it right after
- 0:31our Microsoft, digital defense report tonight.
- 0:34We're going to be talking about DDOS defense and this is really
- 0:38for folks who are hosting external applications that are
- 0:42exposed to the internet. Like for example we had talked
- 0:45about mastodons and my Macedon server is actually exposed to
- 0:48the internet. It has an external IP address
- 0:50for 43 is exposed the internet. When you type in the domain into
- 0:55a web browser, it will resolve and talk to my server.
- 0:59Now I We don't need DDOS defense because it's one tiny little
- 1:03server with one application on it.
- 1:05But if you are a larger company, you have applications that are
- 1:08hosted, you have some importance in the industry.
- 1:12It might be ripe for attackers to launch a DDOS attack against
- 1:16you. Then this is something that
- 1:18you're going to want to pay attention to or if you just want
- 1:20to learn. So seasick published some DDOS
- 1:22guidance on October 28th 2022. So just a few weeks ago and it
- 1:28was a joint guide from Um, sisa FBI and a multi-state
- 1:32information, sharing and Analysis Center, or MSI, SEC.
- 1:36And the goal was to reduce the likelihood and impact of a
- 1:39distributed denial-of-service attack, or otherwise known as
- 1:43DDOS. So we're just going to go
- 1:45through some of the basics because we may have some folks
- 1:48who are listening, who don't know what a denial of service or
- 1:51distributed denial of service attack is so Adam.
- 1:54Can you walk us through? What a Dos attack in a DDOS
- 1:58attack? Our yeah, let's start.
- 2:00Basics. So a Dos attack or
- 2:03denial-of-service. DDOS is a type of Cyber attack,
- 2:07where the attackers goal is to exhaust all the resources of an
- 2:11application or website to make it inaccessible to the normal
- 2:15day-to-day usage of said, application or website.
- 2:19And this can be done through a variety of means, simplest one,
- 2:22and probably the most common is overwhelming network resources,
- 2:25flooding it with so much data, that legitimate information
- 2:29can't. Get through protocol resource
- 2:31overload is taking advantage of specific peculiarities within a
- 2:35protocol and leveraging that to run out of that.
- 2:38So you know if you think of like if you have Network address
- 2:40translation on your home network, which you probably do,
- 2:43there's only so many ports that are available to map a network
- 2:47address translation to. And if you had a whole bunch of
- 2:49attempts to use those in a short period of time, you could
- 2:52potentially exhaust, all of the ports, available for connections
- 2:56and no for their connections, could be established or
- 2:58application resource. Could be things like the CPU,
- 3:02its ability to process new requests or the memories ability
- 3:06to store new requests in memory and then execute upon them.
- 3:10So it doesn't really matter for the purposes of a denial of
- 3:14service attack which one it is. It could be any one of those.
- 3:17The key thing to understand is really the end result which is
- 3:20you can't do the thing that it's meant to do whatever that might
- 3:23be, then we talked about DDOS or distributed denial-of-service
- 3:28attack. Now, what's interesting?
- 3:29Interesting about those, are they originated from multiple
- 3:33locations? The attack does.
- 3:35So, typically, what happens is an attacker will leverage a
- 3:39botnet and you know what? As long as we're explaining
- 3:41things, what's a botnet? Well, a botnet is say your G is
- 3:45PC and my grandpa's PC and my mom's Mac.
- 3:48And, you know, a whole set of computers where people have
- 3:51downloaded and run malicious software and now they're
- 3:54controlled by attackers. And that way they can be
- 3:57distributed geographically, they can Distributed across different
- 4:01isps and different connection points.
- 4:03And all of them start flooding that same host with say again,
- 4:08like Network requests and because it's coming from, so
- 4:10many different places, it's hard to track down the original
- 4:13source of where it came from. Because again, I might be
- 4:16orchestrating all of these Bots to run in unison.
- 4:19However, you know, me as the attacker, I'm not actually
- 4:22involved in the actual attack. It's all these Bots that I
- 4:25control these zombies, and I remember there was a really big
- 4:28distributed denial of service. Tack a couple years ago, that
- 4:31was mostly perpetrated with what we'd consider iot devices or OT
- 4:35devices. The attackers had taken over
- 4:37things like, smart cameras, like home cameras, security, cameras,
- 4:42smart refrigerators, you know, take your pick here, smart
- 4:45washing machines and had compromised all them and use
- 4:48them to perpetrate the attack. And probably also like OT
- 4:51devices inside of manufacturing environments and other
- 4:54commercial instances as well. But it's not just Macs and PCs
- 4:58that are part of these attacks that Other things to anything
- 5:01that has internet connectivity and runs any sort of operating
- 5:04system, which is almost everything today, that is a
- 5:07network connection, potentially part of a botnet and, you know,
- 5:10the impact of them could really be negligible.
- 5:12Sometimes a DDOS attack, where, you know, maybe a service goes
- 5:15down for a little bit or maybe it's just degradation for a
- 5:18little bit. That might not be a huge deal,
- 5:21but they can be severe. We're a service is down for a
- 5:25long period of time. There's a lot of remediation
- 5:27involved in trying to fix it. It could be A critical service
- 5:31that your business. Relies on to generate Revenue
- 5:33that could be reputational damage where hey company X, this
- 5:37service went down that we rely on and was down for two days.
- 5:41I don't trust them anymore. I'm going to a competitor so
- 5:43they can be not that big of a deal to a very big deal and if
- 5:47you think of the three legs of the stool of security being CIA,
- 5:51confidentiality integrity and availability, this doesn't
- 5:55really affect the Sea and the I portions of it, it doesn't
- 5:58affect the confidentiality of data.
- 5:59Or the Integrity of data or Integrity of the system, but it
- 6:03definitely affects the availability of it and that's
- 6:05why we as cybersecurity professionals care about it so
- 6:08much. And one thing to think of as
- 6:10well, just like in the movies, a DDOS attack could be used as a
- 6:14way to distract, you think of sleight of hand with a magician,
- 6:17who does something very elaborate.
- 6:19With one hand, while they're secretly palming something with
- 6:22another hand. This could be a way to divert
- 6:24your response, your attention elsewhere while under the covers
- 6:29and An attacker slips in and you don't notice the alerts coming
- 6:32from your intrusion detection system or something like that,
- 6:35because everyone's focused on fixing the DDOS attack for your
- 6:37public facing website as an example.
- 6:39So, the more we can defend against these in the first place
- 6:42and be able to fend them off all of these negative Downstream
- 6:46impacts. I just talked about can be
- 6:49mitigated as well. So Andy what do the Microsoft
- 6:52digital defense report have to say about DDOS attacks.
- 6:55Yeah, so I mentioned, we release that episode the week before so
- 6:59you should have Listen to that. And what I found was interesting
- 7:02was when that digital defense report was released around the
- 7:05same time. Sisa released his guidance.
- 7:07And so, there was some overlap in this DDOS discussion.
- 7:11So I'm thinking that this is actually something that is
- 7:14important. And if you read through the
- 7:15defense report, if you just kind of skim through it, you may have
- 7:17missed this part. You may not think about the DDOS
- 7:20stuff, but in the report it does talk about that.
- 7:22The world has essentially experienced unprecedented DDOS
- 7:26activity in this last year. That's what Microsoft is seeing
- 7:29NG and it's mostly driven by the nation state attacks and the
- 7:33continued proliferation of low-cost DDOS For Hire Services,
- 7:37which is interesting, right? I can just hire someone for
- 7:40very, very low cost and say I want to Target this organization
- 7:45and bring down their services just because and, like Adam
- 7:48said, that could be a diversion or could just be, I want to, you
- 7:52know, make them suffer. But some numbers Microsoft has
- 7:55mitigated on average about 1900 attacks per day.
- 7:59For DDOS, which is a 40 percent increase from the previous year.
- 8:03So definitely something that both Microsoft and the federal
- 8:06government is seeing what you know reason why they're putting
- 8:09out this whole guide previously though what was interesting is
- 8:12that the attacks normally peaked around the end of your holiday
- 8:15season but then in 2021 the most recorded DDOS attack was on
- 8:20August 10th. And so they're thinking that
- 8:23there may be a shift towards a more year-round attack which
- 8:27highlights the more importance of having an ongoing.
- 8:29Going protection Beyond just Peak traffic seasons.
- 8:32And, you know, as far as duration, goes most tax or
- 8:35short-lived, approximately 28%, of the attacks were less than 10
- 8:39minutes. Twenty six percent, were 10 to
- 8:4130 minutes and 14 percent were about 31 to 60 Minutes only. 32%
- 8:47of the attacks were more than an hour attack.
- 8:49Vectors most common were UDP protocol using simple service
- 8:54Discovery protocol or ssdp connection lists, lightweight
- 8:57directory access protocol or see.
- 8:59Ldap DNS and ntp which network time protocol.
- 9:04They also saw an increase in application layer.
- 9:06DDOS attacks targeting websites with sixteen point.
- 9:10Three million requests per second or nine point eight, nine
- 9:15Theta, B of peak traffic. I don't even know how much a
- 9:17Theta B is. It seems like a lot.
- 9:19There's a nice graphical chart in the report, which shows the
- 9:23DDOS attack destinations or what nations are getting attacked.
- 9:27Most often and this is Or threat intelligence for the folks
- 9:31listening, but 54% of the DDOS attacks were against targets
- 9:37within the United States. So, that was number one.
- 9:40And then the next biggest chunk, was India at 23% and Southeast.
- 9:45Asia, was 3%, East Asia, 8% and what Microsoft is saying is that
- 9:50they found a high volume of attacks in Asia, due to the
- 9:53Region's large gaming footprint, especially in China, Japan,
- 9:56South Korea, and India. And I thought that was
- 9:58interesting because if you listen, To the show, you know,
- 10:00that I'm a gamer. And I've played a lot of online
- 10:03games World of Warcraft, famously gets ddosed all the
- 10:06time, whenever they run like a new expansion and they launched
- 10:10a new feature and it's super frustrating for users like me
- 10:13when I try to authenticate and I can't get authenticated to their
- 10:16services because they're under a DDOS attack and like Microsoft
- 10:19found most of the tax are fairly short but it is super
- 10:23frustrating for the companies and the users themselves.
- 10:26So let's talk about how to protect against it now in, In
- 10:29the CC guidance, there is a lot of information on it, so I'll go
- 10:34through some of them here. I would recommend reading
- 10:37through it. Of course, we'll have the link
- 10:38in the show notes, first and foremost, just like anything in
- 10:42cybersecurity. You want to do an inventory.
- 10:44You want to understand what your critical assets and your
- 10:46services are these are the things that, you know, if it
- 10:48goes down, we are in big trouble.
- 10:51We need to have redundancy. We need to have figure out how
- 10:53to bring this back up. So identify those services that
- 10:55you have exposed to the public internet and any vulnerabilities
- 10:58to those services and you want Prioritize those and then
- 11:01Implement ways to reduce the risk by server hardening or
- 11:04patching or something like that. There's two main things, you
- 11:07know, if you have externally exposed assets that are kind of
- 11:11critical Beyond just having the basics, which is a web
- 11:15application firewall, or commonly known as a laugh, and
- 11:17then also DDOS protection. Now, most isps will include DDOS
- 11:21protection as part of it, but you can also purchase services
- 11:25that specifically can put DDOS protection in front of your
- 11:28application. With wax and DDOS protection.
- 11:31They often go together as two separate things but it's
- 11:34technically two different services but a lot of vendors
- 11:36will kind of lump those together and there's a lot of vendors
- 11:39that have them out there. If you host your stuff with in
- 11:42Azure, of course, Azure has a natural laugh and DDOS
- 11:45protection, AWS has the same thing and then there's other
- 11:48vendors like, Akamai impervia, Fortinet F5, they're all like
- 11:52separate services that you can buy to put in front of your
- 11:54application and they would handle both your application
- 11:57firewall on DDOS protection. If you do Purchase something
- 12:01from a vendor you want to engage with them to make sure what
- 12:04actually they're protecting. So look at your service
- 12:07agreements and understand what protections they're offering to
- 12:10assist in mitigating DDOS attacks and then any risks that
- 12:13are posed by gaps and limitations in that coverage,
- 12:15you can also speak with them to figure out what best practices
- 12:19are for hosting. Any type of web servers as they
- 12:21obviously have a lot of experience in protecting against
- 12:24them. So they might have some
- 12:25suggestions in configurations and server hardening.
- 12:28You can also look Look at your dedicated Edge Network.
- 12:31Defense has talked to a managed service provider an MSP about
- 12:35some managed services that can guard against DDOS attacks.
- 12:38There are a lot of msps that offers some Edge technologies
- 12:41that can assist with like customizing Edge defenses and
- 12:45that can reduce the downtime caused by DDOS attacks.
- 12:48And this is something that for folks from smaller companies who
- 12:52are small applications may not know.
- 12:53But once you get into scaled applications, scaled
- 12:57infrastructure, especially in the cloud, you want to look High
- 13:00availability and load balancing or even collocation of your
- 13:03resources into designing when you're like looking at signing
- 13:06infrastructure and architecture. So most of the time when people
- 13:10stand up a server they think oh I'm just going to stand up a
- 13:12server with an application. It's good to go.
- 13:14But if you design it with high availability, I mean not only if
- 13:17something goes wrong you know in the case of like you overload
- 13:20the memory on one or the storage is full like you design it for
- 13:23high availability, then it can be redundant across multiple
- 13:27different servers. And so if one goes down, then
- 13:29your service. Is still up.
- 13:30Just like I talked about with our Mastodon episode, Jerry had
- 13:33six different servers that were working in concert to keep that
- 13:37instance up. If one were to go down,
- 13:39obviously the service would be effective but it wouldn't be
- 13:42downed completely versus like if you were to host it on one
- 13:45server. If the server goes down, it's
- 13:47down. Like for me, I have one server
- 13:49and when the storage was full, I didn't have the service up
- 13:51anymore. I went to the website and it
- 13:53just didn't resolve because it was down.
- 13:55So look at high availability and load balancing, when you're
- 13:58doing your architecture, if it's a critical, All service, having
- 14:00it slow is better than having it, not accessible at all.
- 14:04Exactly. And then of course with
- 14:05everything a DDOS response plan, should be part of your Dr. Or
- 14:09Disaster Recovery plan. Your plan should guide you
- 14:12through identifying mitigating recovering from DDOS attacks.
- 14:16It should Loop in your internal stakeholders, service providers,
- 14:19and let them know what their responsibilities are during a
- 14:23DDOS attack. And then at a minimum, the plan
- 14:25should include understanding the nature of a DDOS.
- 14:27Attack confirming, DDOS attack, mitigation Nations monitoring
- 14:30and recovery. And then you want a business
- 14:32continuity, plan, or BCP in the plan that should identify like
- 14:36alternatives for your critical applications specifically
- 14:40Communications. And then it should include a way
- 14:43for leadership to communicate decisions to internal Network
- 14:46Defenders and external service providers, if a DDOS attack
- 14:50would overwhelm your network and then, of course, conduct
- 14:52tabletop exercises to test your DDOS, response plan.
- 14:56If you review the Cecil guidance, you know, this is like
- 14:59Out of the things that they talk about on how to defend and
- 15:02prepare for it but they also go through in the report on what to
- 15:05do during an attack and then what to do after an attack.
- 15:08So if DDOS is something that you're worried about because you
- 15:12have external applications and you want to protect against
- 15:14them. I would highly recommend at
- 15:16least reading through the seasick guidance, because it is
- 15:19very very good. And then at the bottom, there's
- 15:21a link for bunch of resources and one of them stuck out to me
- 15:26which I clicked on and went to and I got to tell you like see
- 15:29Lisa is really stepping up their game.
- 15:31They have a ton of really good resources, this one specifically
- 15:35was tabletop exercise packages. So they already have packages
- 15:39that you can just download and use as tabletop exercises.
- 15:42If you don't know where to start, click on this link and go
- 15:45to it and download some of their packages and run your table top.
- 15:48So you don't need to come up with you on exercises.
- 15:51They have them for you. So I'm going to try to get one
- 15:53of the cisa folks on our call at some point in our podcast,
- 15:57because I know several including One for Wisconsin.
- 16:00Who's the Cecil liaison? It just takes a little bit to,
- 16:03you know, for their red tape and communication to get through to
- 16:07be on a podcast. But I got to tell you.
- 16:09If you haven't spent some time on their site, definitely go,
- 16:12they have some great resources, lot of good information here on
- 16:16the steps, you can take to protect yourself.
- 16:19This is one where I will make a plug for cloud providers and say
- 16:23they are really the best equipped to help you run a
- 16:27public facing whatever. Tatian website and protected
- 16:31against DDOS attacks. I can't speak to the other
- 16:33providers. Although, I know it's very big
- 16:35business for them as well, but at Microsoft, we have so much
- 16:40fiber, so much connectivity. So many different points of
- 16:44presence that we have a unique ability to really absorb and
- 16:48manage a DDOS attack and keep you operational through it.
- 16:51I think you mentioned it earlier in the show Andy but Microsoft
- 16:53successfully fended off like a a multiple terabit per second
- 16:57attack and kept a customer operation.
- 16:59With the DDOS protection that's part of azure.
- 17:01And again I'm confident that the other guys like AWS and gcp have
- 17:06comparable capabilities to. But either way, this is
- 17:08something that's really hard to manage on your own in your own
- 17:12data center. Your ISP may be able to help
- 17:14some, but it just might not be, you know, quite the same thing
- 17:17so worth checking out. But I think again, this is
- 17:19another place where Cloud, scale and Cloud capabilities.
- 17:23I think the cloud vendors really do a good job with this, so
- 17:26that's probably one direction to go.
- 17:28But again, you need to Plan for it happening, you need to plan
- 17:31for it, impacting your operations and how you come out
- 17:34the other side of it and all of those resources especially some
- 17:37of the materials provided by seesaw can really, really help
- 17:40you be prepared for the worst and then you can hope for the
- 17:43best as called there Adam. And that's our show for this
- 17:46week. Thanks for watching and
- 17:48listening. As always, our contact
- 17:49information will be in the show notes.
- 17:51If you have any questions or topics you want to talk on the
- 17:53future. Thanks will talk to you guys
- 17:55next week. Thank you for listening to the
- 17:57blue security podcast. Please check out the show.
- 17:59Notes catch up on episodes, you may have missed and subscribe so
- 18:02you don't miss any future episodes.
- 18:04Find Andy, on Twitter at age 0, 0, and Adam at AJ Brewer.
- 18:09See you at our next episode?