WeCyberYou! Unlocked Podcast
The WeCyberYou! Unlocked Podcast breaks down cyber security, online safety and digital risks into clear, practical conversations anyone can understand.
Each episode is designed for a specific audience, ensuring the advice is relevant, accessible and grounded in real-world scenarios - not technical jargon.
WeCyberYou! Unlocked Podcast
Cyber Security Controls Demystified Part 3 - Web Application Firewall
Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.
In this episode, we break down what a Web Application Firewall (WAF) is, how it works and why it has become one of the most critical security technologies for protecting modern websites, web applications and APIs from increasingly sophisticated cyber threats.
Duration: 0:11:20
Visit https://www.wecyberyou.com for more cyber security education, resources and awareness content like this.
Thank you for listening.
WeCyberYou! Team
Like and follow us to be notified when a new episode is released on this channel.
Welcome in everybody. You are listening to the WeCyberU Unlocked podcast.
SPEAKER_01Glad to be here.
SPEAKER_00Yeah. And uh, real quick before we jump into today's deep dive, make sure you follow the channel so you never miss an update.
SPEAKER_01Absolutely.
SPEAKER_00And of course, you know, head over to weCyberU.com for more content just like this.
SPEAKER_01Lots of good stuff there.
SPEAKER_00For sure. So, okay, let's just get right into it. Today's mission is all about WFs.
SPEAKER_01Right. Web application firewalls.
SPEAKER_00Yeah, exactly. And we're going to unpack what a Wii F is, how it works, and really why it's basically this critical shield for the entire digital economy right now.
SPEAKER_01Aaron Ross Powell Because I mean web apps are everywhere.
SPEAKER_00Aaron Ross Powell Oh, totally. Online banking, social media, your company's sauce platforms. They're all just constantly exposed to the open internet.
SPEAKER_01Trevor Burrus, Jr.: Constantly under attack.
SPEAKER_00Trevor Burrus, Right. So okay, let's unpack this with an analogy. A traditional network firewall is sort of like a bouncer checking IDs at the door of a nightclub.
SPEAKER_01Yeah, that's a good way to look at it.
SPEAKER_00Trevor Burrus, Like they're only really looking at the outside, the IP addresses, ports, you know, the protocols.
SPEAKER_01Trevor Burrus, Jr.: Making sure you have an ID.
SPEAKER_00Trevor Burrus, Jr.: Exactly. But a wave, a waif is more like having an undercover security guard actually inside the club. Trevor Burrus, Jr.: Right.
SPEAKER_01Mingling with the crowd.
SPEAKER_00Trevor Burrus, Yeah. Watching what people are actually saying, what they're doing, their behavior.
SPEAKER_01Trevor Burrus, Jr.: Which is a huge distinction because uh technically speaking, unlike those traditional firewalls, WEFs are operating at the application layer.
SPEAKER_00Aaron Powell So that's layer seven, right, of the OSI model.
SPEAKER_01Aaron Powell Spot on, layer seven. And that's crucial because it allows the WAF to actually inspect the real content of the HTTP and you know HTTPS web requests. Trevor Burrus, Jr.
SPEAKER_00Before it even hits the server.
SPEAKER_01Aaron Powell Exactly. It's looking at the actual responses and requests before the server has to deal with them.
SPEAKER_00Aaron Powell Okay. So let's get into the how-to of that. What exactly is this undercover guard evaluating?
SPEAKER_01Aaron Powell Oh man, it's looking at everything URLs, the headers, uh cookies, queries, strings.
SPEAKER_00Forms, I'm guessing.
SPEAKER_01Yep. Forms, API calls, any uploaded files, session info, even just like overall behavioral patterns.
SPEAKER_00Aaron Powell Wow. Okay. So based on all that, the WMA makes a call.
SPEAKER_01Right. It follows its rule set. So it might allow the request, it might block it, maybe challenge it with a cap DCHA.
SPEAKER_00Aaron Powell Or just log it.
SPEAKER_01Yeah, log it or rate limit it if it's suspicious but not overtly malicious.
SPEAKER_00Aaron Powell But wait, let me push back on that for a second. Aaron Powell Sure.
SPEAKER_01Go ahead.
SPEAKER_00Because if a web request is really just mostly a string of text, how does the wave actually know that a specific text string is an attack?
SPEAKER_01Aaron Powell Like how does it know it's not just normal user input?
SPEAKER_00Right. Because I type weird stuff into search bars all the time.
SPEAKER_01Aaron Powell Yeah. No, it's a great question. And it really speaks to how waifs have had to evolve.
SPEAKER_00Okay.
SPEAKER_01So first generation waifs, they relied almost completely on manual rules.
SPEAKER_00Aaron Ross Powell Like hard-coded stuff.
SPEAKER_01Aaron Ross Powell Yeah, what we call signature-based detection.
SPEAKER_00Okay, got it.
SPEAKER_01Trevor Burrus, it's highly accurate for known attacks. Like if a waif sees a very specific malicious script that causes uh cross-site scripting or XSS. Right. Or token manipulation that leads to cross-site request forgery. Exactly. Or patterns that look like a remote file inclusion, which can trigger remote code execution. That sounds bad. It's very bad. Or, you know, direct retraversal, where attackers literally just try to read sensitive server files by using dot dot slash patterns.
SPEAKER_00Aaron Powell Oh, wow. So if it matches the signature, boom, it's blocked.
SPEAKER_01Right. But the problem is it's completely blind to zero days. If it's a brand new attack, there's no signature.
SPEAKER_00Ah, okay. So is this essentially the difference between having a VIP guest list and a do not fly list?
SPEAKER_01That is, yeah, that's exactly what it is. Those are the two core security models.
SPEAKER_00Aaron Powell Okay, break that down for me.
SPEAKER_01So your VIP list is the positive security model. We also call it a whitelist.
SPEAKER_00Gotcha.
SPEAKER_01Only known, explicitly good traffic is allowed in. It's incredibly secure, but man, it requires intense tuning.
SPEAKER_00Aaron Powell Because if you forget to put a good guy on the list, they're blocked.
SPEAKER_01Exactly. Legitimate users get dropped all the time if it's not tuned perfectly.
SPEAKER_00Right. And the other one?
SPEAKER_01The negative security model, that's your blacklist, or the do not fly list.
SPEAKER_00Okay.
SPEAKER_01Known malicious patterns get blocked. It's way easier to deploy, but like we said, unknown attacks just slip right past it.
SPEAKER_00Aaron Powell So obviously neither of those is perfect on its own.
SPEAKER_01Aaron Powell No, not at all. And what's fascinating here is how we've upgraded. Modern waves don't just rely on lists anymore.
SPEAKER_00They're smarter now.
SPEAKER_01Much smarter. They use behavioral analysis to basically baseline what normal behavior looks like.
SPEAKER_00Aaron Powell Like typical login rates or where the user is geographical.
SPEAKER_01Aaron Ross Powell Exactly. And they use machine learning to detect emerging threats and fraudulent transactions based on anomalies in that baseline.
SPEAKER_00Aaron Powell Okay. Here's where it gets really interesting to me, though.
SPEAKER_01Yeah.
SPEAKER_00Because we're talking about web pages, but what about mobile apps? Or modern software that doesn't even use a standard website.
SPEAKER_01Aaron Powell Oh, that's the big shift. Aaron Powell Right.
SPEAKER_00Because my banking app on my phone doesn't look or act like a normal web page to a server, does it?
SPEAKER_01Aaron Powell No, not at all. And that is where API security comes into the picture.
SPEAKER_00Aaron Powell Okay.
SPEAKER_01Almost all modern apps run on REST or GraphQL APIs.
SPEAKER_00Aaron Powell Basically just raw data streams, right?
SPEAKER_01Aaron Ross Powell Exactly. And attackers love targeting APIs because they expose so much sensitive business logic and it's heavily, heavily automated.
SPEAKER_00Aaron Powell So how does a modern WAF handle an API if it's not a web page?
SPEAKER_01Aaron Powell It has to do things like API schema validation. It actually has to understand the structure of the JSON payload.
SPEAKER_00Oh wow. So it's looking at the actual code structure. Trevor Burrus, Jr.
SPEAKER_01Yeah, and doing deep token inspection. Plus, a huge part of modern WAFs is discovering shadow APIs.
SPEAKER_00Aaron Powell Wait, shadow APIs.
SPEAKER_01Yeah. Endpoints that developers spun up for testing, maybe forgot about and never told the security team about.
SPEAKER_00Yikes. That sounds like a massive backdoor.
SPEAKER_01It is. And connecting back to that automation piece, you have to realize a massive amount of internet traffic is just bots.
SPEAKER_00Aaron Powell I mean, I know search engines use bots to index sites, right?
SPEAKER_01Right. Googlebot is good. We want Googlebot. But a WAF has to identify and block the bad ones.
SPEAKER_00Like what what are the bad ones doing?
SPEAKER_01Aaron Ross Powell Malicious scrapers stealing content, uh credentials stuffing bots just hammering login pages with stolen passwords.
SPEAKER_00Aaron Powell Oh, trying thousands of passwords a second.
SPEAKER_01Aaron Powell Exactly. Or inventory hoarders. You know, when concert tickets sell out in two seconds.
SPEAKER_00Yes. Oh my gosh, that is the worst.
SPEAKER_01Bots. So the Warf has to use really advanced client fingerprinting and you know kept TCHA challenges to shut them down.
SPEAKER_00Aaron Ross Powell Okay, so physically speaking, where is this all happening?
SPEAKER_01Aaron Powell What do you mean?
SPEAKER_00Like, are we talking about a big metal box sitting in a server room somewhere, or is this just code floating around the cloud?
SPEAKER_01Oh, I see. Well, it depends. There are really four main deployment models for OAF.
SPEAKER_00Okay, run through them for me.
SPEAKER_01Sure. So first, you have cloud-based. Think of like Cloudflare or AWS.
SPEAKER_00Oh, sure. Super common.
SPEAKER_01Very common. It offers massive global coverage and it's easy to scale. Then you have the reverse proxy model, which sits in front of the web servers and does really deep inspection.
SPEAKER_00Got it. What's the third one?
SPEAKER_01Host-based. Something like mod security. It's installed directly on the web server itself.
SPEAKER_00That sounds like it would give you a lot of control.
SPEAKER_01Aaron Powell Very granular control, yeah. But the trade-off is it eats up your actual server resources, CPU, memory, all of that.
SPEAKER_00Uh right. It competes with your actual app. And the last one.
SPEAKER_01Hardware.
SPEAKER_00Yeah.
SPEAKER_01Literal data center appliances.
SPEAKER_00Okay. The metal box.
SPEAKER_01Yep. The metal box. Huge throughput, very fast, but definitely less flexibility than cloud models.
SPEAKER_00Makes sense. Now let me ask about DDoS attacks. Because I feel like people confuse Wafus and DDoS protection all the time.
SPEAKER_01Oh, constantly. It's a huge point of confusion.
SPEAKER_00A WAF doesn't stop a massive DDoS attack, does it?
SPEAKER_01Aaron Powell Well, it mitigates layer seven HTTP, and API floods the really complex application layer stuff.
SPEAKER_00Aaron Powell But if someone just throws a terabyte of garbage traffic at your IP.
SPEAKER_01Right. Massive volumetric DDoS attacks. A WAFE can't handle that alone. Your internet pipe will just choke.
SPEAKER_00Aaron Powell So what do you do?
SPEAKER_01You still need content delivery networks, CDNs, and dedicated scrubbing centers to absorb that kind of brute force.
SPEAKER_00Aaron Powell Gotcha. Okay, I want to go back to something we touched on earlier. Sure. The tuning part. Because to me, it sounds a lot like an overzealous spam filter.
SPEAKER_01Aaron Powell That's a great analogy, actually.
SPEAKER_00Aaron Ross Powell Like if a user types something really weird in a search bar, maybe they're searching for code snippets. Couldn't the WAF just block them thinking it's a SQL injection?
SPEAKER_01Yes. False positives are the main of every security engineer's existence.
SPEAKER_00I bet.
SPEAKER_01And that's why the WAF management lifecycle is so critical. You don't just turn it on and walk away.
SPEAKER_00So what's the life cycle?
SPEAKER_01You start with planning, obviously. But the big one is deployment in monitor mode.
SPEAKER_00Monitor mode. Meaning it's watching but not acting.
SPEAKER_01Exactly. It logs what it would have blocked, but lets the traffic through so you can see if it's breaking legitimate stuff.
SPEAKER_00Oh, that's smart.
SPEAKER_01Then you move into the tuning phase, fixing those false positives. And finally, it's just continuous improvement.
SPEAKER_00Constant threat hunting, I assume.
SPEAKER_01Yeah, because the threats never stop evolving, so your wave rules can't either. You have to constantly balance security with usability.
SPEAKER_00Right. Because if your app is perfectly secure, but legitimate users can't buy anything, you're out of business anyway.
SPEAKER_01Exactly. And you know, if we connect this to the bigger picture.
SPEAKER_00Please do.
SPEAKER_01A waif is not a silver bullet. I want to make that very clear.
SPEAKER_00It's just one piece of the puzzle.
SPEAKER_01Right. It absolutely cannot fix inherently insecure code. If your developers write bad code, the WAFA is just a band-aid. Organizations really must view it as one layer of a defense in-depth strategy.
SPEAKER_00Makes total sense.
SPEAKER_01And honestly, today, the platforms from the top vendors, you know, Cloudflare, Akamai, F5, Palo Alto Networks, Imperva.
SPEAKER_00The big players.
SPEAKER_01Yeah. They've evolved way beyond simple appliances. They're these unified application security platforms now.
SPEAKER_00Encompassing all the stuff we talked about.
SPEAKER_01Exactly. Bot management, API security, and all these zero trust capabilities built in.
SPEAKER_00Wow. Okay. So what does this all mean for you, the listener?
SPEAKER_01Aaron Powell Yeah. Why does it matter to the everyday user?
SPEAKER_00Aaron Powell Well, as long as we rely on the cloud and mobile apps for literally everything, the WAF is really that foundational digital shield.
SPEAKER_01It really is.
SPEAKER_00It's the thing actively protecting your personal data, your finances, your privacy every time you tap a screen.
SPEAKER_01Working quietly in the background.
SPEAKER_00Exactly. But I want to leave you with a kind of provocative thought here. Based on something we brought up earlier.
SPEAKER_01Oh, okay. Let's hear it.
SPEAKER_00So modern wave is use machine learning to learn, you know, normal human behavior, right?
SPEAKER_01Trevor Burrus, Right. The baseline we talked about.
SPEAKER_00Aaron Powell But as attackers start using generative AI to perfectly mimic human browsing habits, like adding little pauses or erratic mouse movements.
SPEAKER_01Oh, wow. Yeah.
SPEAKER_00How will a WAF tell the difference? Like are we rapidly heading toward a future where our WAVs are literally just our AIs fighting their AIs in milliseconds?
SPEAKER_01That is wow. That's kind of terrifying, but probably true.
SPEAKER_00Aaron Powell Right. Just machines, fighting machines while we try to buy concert tickets.
SPEAKER_01Yeah, that's a wild thought to end on.
SPEAKER_00Yeah. Well, I think it's a good place to wrap up today's deep dive. Thank you so much for joining us, everyone.
SPEAKER_01Thanks for having me.
SPEAKER_00And remember, head over to waysyber you.com for more deep dives and definitely follow the WeCyberU unlocked podcast channel. We'll see you on the next one.