Latest / CyberCode Academy / Course 46 - CompTIA Cybersecurity Analyst | Episode 2: Mastering Risk Assessment: Frameworks, Threats, and Vulnerabilities
Transcript
- 0:00Speaker 1: Imagine realizing that the supposedly unbreakable encryption protecting your entire
- 0:06Speaker 1: enterprise today, that it already has a definitive expiration date.
- 0:09Speaker 2: Yeah, that is a terrifying thought.
- 0:11Speaker 1: Right. Like, the data you are ratting right now, assuming
- 0:14Speaker 1: it's totally secure, could literally just be waiting for the
- 0:17Speaker 1: quantum computing horizon to catch up.
- 0:19Speaker 2: Just sitting there waiting to be unlocked.
- 0:21Speaker 1: Exactly. Okay. It completely changes how you view your whole
- 0:25Speaker 1: defensive posture. We talk a lot about managing complex tech stacks,
- 0:29Speaker 1: but How do you mathematically quantify the danger to those
- 0:33Speaker 1: systems when all the variables are constantly shifting?
- 0:36Speaker 2: That is the big question. It's really hard to do.
- 0:39Speaker 1: It is. So today we're doing a deep dive into
- 0:42Speaker 1: some recent threat intelligence reports, and we're looking really closely
- 0:46Speaker 1: at the NIST Special Publication 830 framework.
- 0:49Speaker 2: A very catchy title, I know.
- 0:50Speaker 1: Oh, yeah. Totally rolls off the tongue. But honestly, our
- 0:53Speaker 1: mission in this deep dive is to, you know, demystify
- 0:57Speaker 1: the actual mechanics of risk assessment.
- 0:59Speaker 2: Right. Getting into the weeds of how it actually works.
- 1:02Speaker 1: Yeah. We want to look at how modern organizations move
- 1:05Speaker 1: beyond just like reacting to incidents and instead systematically calculate
- 1:12Speaker 1: what could go wrong, the statistical likelihood of it happening
- 1:14Speaker 1: and what they could actually do about it.
- 1:16Speaker 2: Which is a massive shift in mindset because a lot
- 1:20Speaker 2: of engineering teams, they just treat security as this reactive discipline.
- 1:24Speaker 1: Yeah, just. Putting out fires.
- 1:26Speaker 2: Right. Patching things as they drop.
- 1:28Speaker 1: Yeah.
- 1:28Speaker 2: Blocking malicious IPs. But when you looked at the NIST 830,
- 1:32Speaker 2: you're stepping into the realm of quantitative and qualitative forecasting.
- 1:36Speaker 1: OK, let's unpack this.
- 1:37Speaker 2: Sure.
- 1:38Speaker 1: Because that equation, that forecasting, is where a lot of
- 1:40Speaker 1: organizations just lose the plot. We throw around terms like
- 1:44Speaker 1: threats and vulnerabilities interchangeably all the time.
- 1:46Speaker 2: Constantly. In stand-up meetings, in emails. Right.
- 1:50Speaker 1: But mathematically, they are completely distinct variables.
- 1:52Speaker 2: Entirely distinct. A threat is an external force. It's, you know,
- 1:56Speaker 2: an actor or an event out in the wild that
- 1:59Speaker 2: has the potential to cause harm.
- 2:00Speaker 1: Okay. Something trying to get in.
- 2:02Speaker 2: Exactly. A vulnerability, on the other hand, is an internal
- 2:06Speaker 2: predisposing condition. It's a specific flaw or a A configuration
- 2:12Speaker 2: weakness in your own architecture.
- 2:15Speaker 1: Ah, okay. So the flaw is on your end.
- 2:17Speaker 2: Right. And risk only manifests in the overlap. Risk exists
- 2:21Speaker 2: specifically in that sweet spot right between threats and vulnerabilities.
- 2:25Speaker 1: So it's the product of a threat exploiting a vulnerability.
- 2:27Speaker 2: You got it. If you don't have both, the equation
- 2:30Speaker 2: zeroes out. The whole NIST framework revolves around mapping out
- 2:33Speaker 2: that specific overlap.
- 2:35Speaker 1: Which means we need a methodology that actually scales. Like,
- 2:38Speaker 1: whether you're evaluating a single microservice or a globally distributed
- 2:42Speaker 1: cloud environment.
- 2:43Speaker 2: You need a structured way to measure it. You can't
- 2:45Speaker 2: just guess. Right.
- 2:47Speaker 1: And if we look at the framework, it dictates this
- 2:48Speaker 1: four-phase lifecycle. So it's prepare, conduct, communicate, and maintain.
- 2:53Speaker 2: Those are the four pillars, yeah.
- 2:55Speaker 1: But, I mean, if I'm a system architect, preparing for
- 2:58Speaker 1: an assessment across thousands of containers sounds completely impossible. By
- 3:02Speaker 1: the time I map the architecture, the development pipeline has
- 3:04Speaker 1: already changed it.
- 3:05Speaker 2: Yeah, that's a huge friction point in the preparation phase.
- 3:09Speaker 2: But you can't boil the ocean.
- 3:11Speaker 1: Right.
- 3:11Speaker 2: The goal of preparation isn't to, like, freeze your infrastructure
- 3:15Speaker 2: in time. It's just to define the scope and the
- 3:17Speaker 2: assumptions of the assessment.
- 3:19Speaker 1: Okay, so drawing boundaries.
- 3:20Speaker 2: Exactly. You're deciding, are we assessing the risk to our
- 3:25Speaker 2: payment gateway or are we looking at the employee identity
- 3:29Speaker 2: management system?
- 3:30Speaker 1: Making it manageable.
- 3:31Speaker 2: Right. Once you have that context, then you move into
- 3:35Speaker 2: conducting the assessment, which is where the actual math happens.
- 3:38Speaker 1: This is step two.
- 3:39Speaker 2: Yep. You identify the specific threats. You identify your internal vulnerabilities.
- 3:43Speaker 2: And then you determine the likelihood of an event occurring
- 3:47Speaker 2: against the impact if it does. Likelihood play impact gives
- 3:51Speaker 2: you your risk.
- 3:52Speaker 1: I always think of this whole four-step process like owning
- 3:54Speaker 1: a car.
- 3:55Speaker 2: Okay. I like that. Let's hear it.
- 3:56Speaker 1: So you prepare for a road trip. Okay. That's phase one.
- 3:59Speaker 2: Yeah.
- 3:59Speaker 1: You figure out where you're going. Phase two, you conduct
- 4:01Speaker 1: an assessment by checking the tire tread.
- 4:03Speaker 2: Which is the vulnerability.
- 4:05Speaker 1: Exactly. And you check the weather forecast, which is the threat.
- 4:08Speaker 1: Are we driving into a blizzard?
- 4:10Speaker 2: Right, right.
- 4:10Speaker 1: Then phase three, you communicate the results. You tell your family,
- 4:15Speaker 1: you know, whether you should delay the trip or maybe
- 4:18Speaker 1: go buy snow tires to lower the risk.
- 4:20Speaker 2: Putting controls in place, yeah.
- 4:22Speaker 1: And finally, phase four, you maintain the assessment by just
- 4:25Speaker 1: watching the check engine light as you drive.
- 4:28Speaker 2: That's actually a perfect analogy. It hits every step. And
- 4:31Speaker 2: it highlights how phase two, the conduct phase, relies heavily
- 4:35Speaker 2: on knowing what the actual danger is. Right.
- 4:38Speaker 1: We have to zoom in on that because the first
- 4:40Speaker 1: half of that risk equation is identifying what is actually
- 4:44Speaker 1: out to get you. Right. The threats.
- 4:46Speaker 2: Exactly. And the NIST framework breaks these threats down into
- 4:50Speaker 2: four major categories. The one everyone thinks about is the
- 4:53Speaker 2: adversarial threat.
- 4:55Speaker 1: The bad guys. Yes.
- 4:56Speaker 2: Right, the human element with malicious intent. And this requires
- 4:59Speaker 2: evaluating their capability, their intent, and the likelihood of them attacking.
- 5:02Speaker 1: So this is like hackers in a basement, right?
- 5:04Speaker 2: Well, yes, but it's also nation states or advanced persistent threats, APTs.
- 5:09Speaker 1: Oh, right, the really sophisticated groups.
- 5:11Speaker 2: Yeah, but adversarial threats also include, you know, trusted insiders
- 5:15Speaker 2: or competitors, suppliers, anyone acting maliciously.
- 5:18Speaker 1: Wow. Okay, so that's category one. What's next?
- 5:20Speaker 2: The second one is accidental threats.
- 5:23Speaker 1: Okay, I have to push back here.
- 5:25Speaker 2: Oh.
- 5:25Speaker 1: Yeah, I mean, surely highly paid system administrators don't make
- 5:30Speaker 1: massive catastrophic mistakes, right? We have enterprise-grade guardrails for a reason.
- 5:35Speaker 2: What's fascinating here is let me tell you about February 2017. Uh-oh.
- 5:40Speaker 1: What happened in 2017?
- 5:41Speaker 2: There was a massive Amazon Web Services outage. We're talking
- 5:45Speaker 2: about AWS US East 1, one of the most critical
- 5:49Speaker 2: data center regions in the world.
- 5:50Speaker 1: Oh, I remember this. Half the internet went down.
- 5:53Speaker 2: Basically, yeah. Countless businesses relied on their S3 services, and
- 5:57Speaker 2: it wasn't a malicious attack. It wasn't an APT.
- 5:59Speaker 1: It was an accident.
- 6:00Speaker 2: A technician was just following standard operating procedures. They were
- 6:03Speaker 2: trying to debug an issue, and they made a typo
- 6:06Speaker 2: in the command prompt.
- 6:07Speaker 1: Wait, really? A typo?
- 6:08Speaker 2: Just a syntax error. Instead of taking a few servers offline,
- 6:12Speaker 2: they accidentally took down a massive number of servers.
- 6:15Speaker 1: Wow. It wasn't malicious at all. Just a human mistake,
- 6:18Speaker 1: but the impact score was astronomical.
- 6:20Speaker 2: That is wild. Just a simple typo causing that much chaos.
- 6:24Speaker 2: So that's accidental threats. What's the third pillar?
- 6:26Speaker 1: Structural threats. This is when your equipment or your software
- 6:30Speaker 1: just fails. Hard drives die. Cooling systems break. Software has bugs.
- 6:35Speaker 2: Entropy, basically.
- 6:36Speaker 1: Exactly. Assessors usually look at internal threats like these first
- 6:40Speaker 1: because they're easier to control. You can plan for backups.
- 6:42Speaker 1: You can buy generators if the AC fails and servers
- 6:45Speaker 1: start overheating. Right, right.
- 6:47Speaker 2: Which brings us to the final category, which you definitely
- 6:49Speaker 2: can't control. Environmental threats.
- 6:52Speaker 1: Mother Nature. Natural or man-made disasters. Fires, floods, earthquakes, tornadoes.
- 6:58Speaker 2: Or a construction crew severing a fiber line down the street.
- 7:01Speaker 1: Oh, happens all the time. And for these, you can't
- 7:03Speaker 1: prevent them, so your strategy has to be disaster recovery
- 7:06Speaker 1: and business continuity plans.
- 7:08Speaker 2: Okay, so we've looked at the threats out in the world.
- 7:10Speaker 2: The adversaries, the accidents, the structural failures, and the environment.
- 7:14Speaker 1: Right.
- 7:15Speaker 2: But a threat floating out in the ether means absolutely
- 7:18Speaker 2: nothing if it can't actually touch you.
- 7:20Speaker 1: Ah. Which brings us to vulnerabilities.
- 7:23Speaker 2: Exactly. Vulnerabilities are entirely internally focused.
- 7:27Speaker 1: Here's where it gets really interesting, because this is the
- 7:30Speaker 1: golden rule of risk. We said it before, but a
- 7:33Speaker 1: threat without a vulnerability is not a risk.
- 7:36Speaker 2: Zero risk.
- 7:37Speaker 1: Let's use the geography of risk to picture this. Say
- 7:40Speaker 1: you have a server farm in Puerto Rico, right? Major
- 7:42Speaker 1: storms hit there every five years. The threat is the hurricane,
- 7:46Speaker 1: and it meets the vulnerability, which is the physical location.
- 7:49Speaker 2: Right. So that's a very high risk.
- 7:51Speaker 1: But what about a hurricane in, like, landlocked Kansas or
- 7:56Speaker 1: a snow avalanche in Miami?
- 7:58Speaker 2: Exactly. The threat of a hurricane still exists globally, but
- 8:01Speaker 2: without the vulnerability, the predisposing condition of being on the coast,
- 8:06Speaker 2: there is zero risk to that Kansas data center.
- 8:09Speaker 1: And we can apply this directly to technology, right?
- 8:11Speaker 2: Oh, absolutely. Say hackers develop this nasty zero-day exploit for
- 8:15Speaker 2: Windows XP. It's a huge threat. But if your entire
- 8:18Speaker 2: organization only uses Macintosh computers.
- 8:20Speaker 1: You don't have the vulnerability.
- 8:21Speaker 2: Exactly. It's not a vulnerability for you. However, if a
- 8:25Speaker 2: massive iOS attack drops and your whole team uses iPhones.
- 8:29Speaker 1: Then the threat and the vulnerability have matched.
- 8:31Speaker 2: And boom, you have risk.
- 8:33Speaker 1: Okay, I have a philosophical pushback for you on this one.
- 8:36Speaker 2: Let's hear it.
- 8:37Speaker 1: Wait, what if I have a glaring vulnerability, like a
- 8:40Speaker 1: totally unpatched operating system on a legacy server, but hackers
- 8:44Speaker 1: simply haven't found the coding error yet? Ah. Like, nobody
- 8:49Speaker 1: knows it exists. Am I technically at zero risk?
- 8:52Speaker 2: It's like Schrodinger's vulnerability.
- 8:54Speaker 1: That's a great question. And technically, yes. If the threat
- 8:58Speaker 1: doesn't exist yet, if no one has the capability to
- 9:00Speaker 1: exploit it, there is no risk at that exact moment.
- 9:04Speaker 1: So I don't need to patch it. Well, hold on.
- 9:06Speaker 2: As an assessor, I have to emphasize that compensating controls
- 9:09Speaker 2: must be put in place because that status is inevitably
- 9:11Speaker 2: going to change.
- 9:12Speaker 1: Right. Someone will eventually find it. Always.
- 9:14Speaker 2: Always. Automated scanning is relentless. The threat will materialize. This
- 9:18Speaker 2: idea that a threat could be discovered tomorrow perfectly illustrates
- 9:21Speaker 2: why risk is a moving target.
- 9:22Speaker 1: Which brings us to the fourth and final step of
- 9:25Speaker 1: the NIST framework, maintaining the assessment.
- 9:29Speaker 2: Yes, the continuous review process.
- 9:31Speaker 1: Because you can't just do a risk assessment once and
- 9:33Speaker 1: put it in a drawer, right?
- 9:34Speaker 2: Exactly. The landscape changes too fast. New software, new servers.
- 9:39Speaker 1: But you don't have to start from scratch every time.
- 9:42Speaker 1: I always say, steal like an assessor.
- 9:44Speaker 2: Oh, definitely. It's best practice to look at baseline risk
- 9:47Speaker 2: assessments from similar organizations. Look at templates from NIST or SANS.
- 9:52Speaker 2: You take those baselines and you just customize them for
- 9:55Speaker 2: your own needs.
- 9:56Speaker 1: It saves so much time. But if we connect this
- 9:59Speaker 1: to the bigger picture, maintenance isn't just about catching the
- 10:01Speaker 1: next software bug.
- 10:03Speaker 2: No, it's about paradigm shifts. Because what was a risk
- 10:06Speaker 2: five years ago might not be today.
- 10:08Speaker 1: And vice versa.
- 10:09Speaker 2: Right. Let's look at the ultimate example of this. AES-128 encryption.
- 10:14Speaker 1: Okay, the current de facto standard for web security.
- 10:16Speaker 2: Exactly. It protects basically everything. And right now, there is
- 10:19Speaker 2: no threat to it. The math is too hard for
- 10:21Speaker 2: normal computers to crack.
- 10:22Speaker 1: So today, the risk is zero.
- 10:24Speaker 2: Today, yes. But in 5 to 15 years, when quantum
- 10:28Speaker 2: computing is fully developed, a quantum computer will be able
- 10:32Speaker 2: to crack AES-128 in seconds.
- 10:36Speaker 1: Seconds. That's insane.
- 10:37Speaker 2: It fundamentally changes the math. Now, the technology is mostly
- 10:40Speaker 2: theoretical right now, so it's not a risk today.
- 10:44Speaker 1: But adversaries know it's coming.
- 10:45Speaker 2: Right. They're doing harvest now, decrypt later attacks, stealing encrypted
- 10:50Speaker 2: data today just to hold on to it until quantum
- 10:52Speaker 2: computers arrive.
- 10:53Speaker 1: Which means tomorrow's quantum computers will render today's algorithms totally useless.
- 10:57Speaker 2: Exactly. It's going to require entirely new quantum resistant algorithms.
- 11:02Speaker 2: If you aren't maintaining your assessment, you're going to miss
- 11:05Speaker 2: that horizon completely.
- 11:06Speaker 1: So what does this all mean?
- 11:08Speaker 2: It means you have to stay vigilant.
- 11:09Speaker 1: Right. We've gone from Identifying threats, whether it's sophisticated hackers
- 11:13Speaker 1: or just a guy making a typo in AWS, to
- 11:16Speaker 1: recognizing our own vulnerabilities. And we've seen how to mathematically
- 11:20Speaker 1: measure that risk so management can make informed decisions.
- 11:23Speaker 2: Do we accept the risk or do we buy a
- 11:26Speaker 2: control to mitigate it?
- 11:27Speaker 1: Exactly. So to really lock this in, I want you,
- 11:30Speaker 1: the listener, to do a quick mental exercise right now.
- 11:32Speaker 2: That's why I like this.
- 11:33Speaker 1: Look around your current digital setup, your phone, your laptop,
- 11:38Speaker 1: or your office network. Mm-hmm. I want you to identify
- 11:40Speaker 1: just one structural threat, like maybe a failing battery and
- 11:44Speaker 1: one vulnerability, like an app you've been putting off patching.
- 11:47Speaker 2: We all have one.
- 11:48Speaker 1: We really do. Now ask yourself, what is your actual
- 11:52Speaker 1: risk level right now if those two things overlap?
- 11:55Speaker 2: It's a sobering thought when you actually do the math.
- 11:58Speaker 1: It is. It brings up a really interesting point about
- 12:00Speaker 1: the nature of all this. Yeah.
- 12:02Speaker 2: I'd leave you with this broader question to ponder. If
- 12:04Speaker 2: risk is a constantly moving target and yesterday's impenetrable encryption
- 12:08Speaker 2: is tomorrow's open door, is absolute security just an illusion? Wow.
- 12:13Speaker 2: Are we ever truly secure or are we simply continuously
- 12:17Speaker 2: negotiating with the unknown?
- 12:19Speaker 1: That is a fascinating way to look at it. Constantly
- 12:21Speaker 1: negotiating with the unknown. Well, on that note, we want
- 12:23Speaker 1: to thank you so much for joining us on this
- 12:25Speaker 1: deep dive.
- 12:25Speaker 2: It's been great.
- 12:26Speaker 1: Keep assessing those risks. And as always, stay curious.