Latest / CyberCode Academy / Course 46 - CompTIA Cybersecurity Analyst | Episode 12: Vulnerability Scanning Foundations
Transcript
- 0:00Speaker 1: Imagine for a second, just a picture that you just
- 0:03Speaker 1: installed this massive state-of-the-art security system on your house.
- 0:07Speaker 2: Oh, yeah, the whole setup.
- 0:08Speaker 1: Right, the whole nine yards. You have the high-definition cameras
- 0:11Speaker 1: mounted under the eaves, the digital keypad by the front door,
- 0:14Speaker 1: the magnetic sensors on every single window. The absolute works.
- 0:20Speaker 2: Sounds expensive.
- 0:21Speaker 1: Oh, very. You spend a whole weekend setting all of
- 0:24Speaker 1: this up, but then you never actually walk around the perimeter.
- 0:27Speaker 1: to check if the window sensors, you know, actually trigger
- 0:30Speaker 1: the alarm.
- 0:31Speaker 2: You just assume it works.
- 0:32Speaker 1: Exactly. You never walk past the motion detectors in the
- 0:35Speaker 1: dark to see if the lights turn on. You just
- 0:37Speaker 1: look at that glowing green light on the keypad and
- 0:39Speaker 1: assume your house is this impenetrable fortress.
- 0:42Speaker 2: Which is, I mean, that's how you end up discovering
- 0:44Speaker 2: usually after a break-in that the sensor on the back
- 0:46Speaker 2: patio door was never wired correctly in the first place.
- 0:50Speaker 2: The equipment was there, sure, but the actual security posture
- 0:53Speaker 2: was just an illusion. It gives you a complete false
- 0:56Speaker 2: sense of security.
- 0:57Speaker 1: And in the world of technology, like with computer networks
- 1:00Speaker 1: and digital infrastructure, that is exactly the scenario you create
- 1:04Speaker 1: if you aren't running vulnerability scans.
- 1:06Speaker 2: Oh, absolutely.
- 1:07Speaker 1: Like you might have firewalls configured, you might have endpoint
- 1:11Speaker 1: detection deployed. But if you aren't actively probing your own
- 1:14Speaker 1: defenses to find the mechanical weak spots, you are just
- 1:17Speaker 1: waiting for a threat actor to find them for you.
- 1:19Speaker 2: That really frames our mission for this deep dive perfectly. Today,
- 1:24Speaker 2: we are going inside the whole ecosystem of vulnerability management.
- 1:27Speaker 1: The big topic.
- 1:29Speaker 2: It is. We're going to explore the specific tools engineers
- 1:32Speaker 2: use to find those weaknesses. We'll break down how to
- 1:35Speaker 2: strategically aim them at a network, which is a critical
- 1:38Speaker 2: concept known as scoping. And we'll examine how to configure
- 1:43Speaker 2: the mechanics of these scans so you don't accidentally take
- 1:45Speaker 2: down your own infrastructure while you're trying to secure it.
- 1:48Speaker 1: Yeah, that part is crucial. And I want to get
- 1:50Speaker 1: right into the tools, because whether you are You know,
- 1:53Speaker 1: a self-taught learner mapping out a home lab or a
- 1:56Speaker 1: young professional locking down a startup, or even if you're
- 1:59Speaker 1: deep in the books, prepping for a cybersecurity certification. Understanding
- 2:04Speaker 1: this process is totally foundational.
- 2:07Speaker 2: Completely foundational, yeah.
- 2:08Speaker 1: So let's start with the heavyweights. What are the industry
- 2:12Speaker 1: standard engines we use to actually, you know, rattle the
- 2:16Speaker 1: digital doorknobs?
- 2:18Speaker 2: Well, if we're looking at the enterprise tier, the big
- 2:21Speaker 2: three you will encounter constantly are Qualisguard, Nessus, which is
- 2:25Speaker 2: developed by Tenable, and Nexpos.
- 2:28Speaker 1: Okay, Qualis, Nessus, Nexpos.
- 2:30Speaker 2: Right. These are absolute powerhouses in the industry. Functionally, they
- 2:34Speaker 2: operate on the same core pillars of vulnerability management.
- 2:36Speaker 1: Which are what, exactly?
- 2:38Speaker 2: Well, they handle port stanning. Which is systematically checking like 65,000
- 2:42Speaker 2: potential digital doors on a server to see which ones
- 2:45Speaker 2: are open and listening.
- 2:46Speaker 1: Wow, 65,000. Yeah, a lot of doors.
- 2:49Speaker 2: Then they perform vulnerability identification by checking those open ports
- 2:52Speaker 2: against these massive databases of known flaws. And finally, they
- 2:57Speaker 2: categorize these threats by severity.
- 3:00Speaker 1: Allowing you to prioritize the bleeding neck wounds first. Over
- 3:05Speaker 1: the minor scrapes, basically.
- 3:06Speaker 2: Exactly. You fix the critical stuff first.
- 3:08Speaker 1: Okay. Let me pause you right there, though. If the
- 3:11Speaker 1: underlying engines are fundamentally doing the exact same thing, port
- 3:14Speaker 1: scanning and cross-referencing databases, why does a certification exam, like
- 3:19Speaker 1: the CSA Plus, for example, expect us to memorize all
- 3:23Speaker 1: of them?
- 3:23Speaker 2: That's a fair question.
- 3:24Speaker 1: Like, is there a mechanical difference between them, or is
- 3:26Speaker 1: this just brand recognition, or are we just picking our
- 3:28Speaker 1: favorite dashboards?
- 3:30Speaker 2: It's kind of a mix of both, honestly, but understanding
- 3:32Speaker 2: the landscape is highly practical. First off, from a certification standpoint,
- 3:36Speaker 2: you just have to be able to identify which tools
- 3:38Speaker 2: are actual vulnerability scanners.
- 3:40Speaker 1: Right, like in a multiple choice lineup.
- 3:42Speaker 2: Exactly. They are designed to trick you with fake names
- 3:45Speaker 2: or tools that do completely different jobs. You have to
- 3:48Speaker 2: know the real ones.
- 3:49Speaker 1: Makes sense.
- 3:50Speaker 2: But mechanically, while the core function is the same, how
- 3:53Speaker 2: they integrate into a network differs. Like, Nessus might integrate
- 3:57Speaker 2: perfectly with one specific type of cloud environment, while Qualysguard
- 4:02Speaker 2: utilizes this very specific agent-based deployment that a massive enterprise
- 4:07Speaker 2: might prefer.
- 4:08Speaker 1: So you don't just pick a color scheme, you pick
- 4:09Speaker 1: a whole ecosystem.
- 4:11Speaker 2: Precisely. You're buying into an ecosystem.
- 4:13Speaker 1: That brings up a practical issue, though. Those ecosystems cost thousands,
- 4:16Speaker 1: sometimes tens of thousands of dollars.
- 4:18Speaker 2: How easily.
- 4:19Speaker 1: So if you are, say, building your spiels on a
- 4:22Speaker 1: home network or running a nonprofit on a shoestring budget,
- 4:26Speaker 1: You can't afford an expos license. What is the alternative there?
- 4:30Speaker 2: That is where you turn to OpenVAS.
- 4:32Speaker 1: OpenVAS. Yeah.
- 4:34Speaker 2: It is a premier fully open source vulnerability scanner. It
- 4:37Speaker 2: gives you the port scanning, the vulnerability checks, the reporting,
- 4:40Speaker 2: all of it, but without that massive enterprise price tag.
- 4:44Speaker 2: It's essentially free.
- 4:45Speaker 1: Okay. But I know with open source tools, the community
- 4:48Speaker 1: maintains the code. How does that affect the vulnerability signatures?
- 4:52Speaker 2: Ah, good point.
- 4:53Speaker 1: Because if a brand new threat drops on a Tuesday...
- 4:56Speaker 1: I assume Tenable pushes an update to Nessus instantly. Does
- 5:00Speaker 1: OpenVAS lag behind?
- 5:03Speaker 2: It's a really great distinction to make. Enterprise tools have
- 5:06Speaker 2: these dedicated threat intelligence teams. So, yes, they often push
- 5:09Speaker 2: proprietary signatures out to their clients in near real time. OpenVAS,
- 5:14Speaker 2: on the other hand, relies on a community feed. Now,
- 5:17Speaker 2: it is remarkably robust and it stays impressively up to date.
- 5:21Speaker 2: But there might be a slight delay compared to a
- 5:23Speaker 2: premium commercial feed.
- 5:24Speaker 1: Sure. You get what you pay for.
- 5:26Speaker 2: Exactly. However, the engine itself is highly capable. And honestly,
- 5:30Speaker 2: because you can look directly at the source code, it's
- 5:32Speaker 2: a phenomenal platform for learning how vulnerability scanners actually operate
- 5:36Speaker 2: under the hood. You can really tinker with it.
- 5:38Speaker 1: That's awesome for self-taught learners. Yeah. Okay. So Nessus, Qualys, Nexpose,
- 5:41Speaker 1: and OpenVS, they give us this broad view of the
- 5:44Speaker 1: network infrastructure. But what if my infrastructure is highly specialized?
- 5:48Speaker 1: Like what? Let's say I'm running a custom e-commerce web application.
- 5:52Speaker 1: Are those general scanners enough to know my online storefront
- 5:55Speaker 1: is secure?
- 5:55Speaker 2: The short answer is no. They will tell you if
- 5:57Speaker 2: the underlying server is secure. Like, Nessus will tell you
- 6:01Speaker 2: if your database server has an outdated operating system.
- 6:04Speaker 1: Okay.
- 6:05Speaker 2: But it is not designed to deeply understand the logic
- 6:08Speaker 2: of a custom web application. For that, you need a
- 6:11Speaker 2: specialized web application scanner. And a prime example there is
- 6:15Speaker 2: a tool called Nikto.
- 6:17Speaker 1: Nikto. How exactly does Nikto test the logic of a
- 6:20Speaker 1: website differently than Nessus testing the server?
- 6:23Speaker 2: So Nikto is essentially a fuzzer and a web flaw finder.
- 6:27Speaker 2: Instead of just asking the server what version of software
- 6:29Speaker 2: it's running, Nikto actively throws malformed requests at the web application.
- 6:35Speaker 1: What do you mean by malformed?
- 6:36Speaker 2: It will attempt simulated SQL injections by dropping database commands
- 6:40Speaker 2: right into the login fields. It'll try cross-site scripting payloads.
- 6:44Speaker 2: It will attempt directory traversal.
- 6:46Speaker 1: Directory traversal. That's where it tries to manipulate the web URL, right?
- 6:49Speaker 2: Right. It tries to force the server to reveal hidden
- 6:51Speaker 2: files like password directories that shouldn't be public at all.
- 6:54Speaker 1: So it's actively trying to break the input fields and
- 6:57Speaker 1: just seeing how the website reacts. Precisely.
- 7:00Speaker 2: And if the website spits back a raw database error
- 7:04Speaker 2: instead of a clean try-again message, Nikto flags it because
- 7:07Speaker 2: an attacker could use that raw error to map out
- 7:10Speaker 2: your entire database structure.
- 7:12Speaker 1: Oh, wow. Okay.
- 7:12Speaker 2: Yeah, so you use Nikto alongside a tool like Nessus
- 7:15Speaker 2: to get a complete picture. You scan the infrastructure underneath
- 7:19Speaker 2: and the application code sitting on top.
- 7:21Speaker 1: I see the logic there. Now, what if we swing
- 7:23Speaker 1: the pendulum the completely other way? Instead of looking at
- 7:26Speaker 1: a sprawling network or a complex web app, what if
- 7:29Speaker 1: I just want to deeply inspect a single localized Windows machine? say,
- 7:34Speaker 1: a really critical domain controller.
- 7:36Speaker 2: Then you would move away from a network scanner entirely.
- 7:39Speaker 2: You'd use something like the Microsoft Baseline Security Analyzer or MVSA.
- 7:43Speaker 1: So if the other tools are like, you know, security
- 7:46Speaker 1: helicopters scanning the whole neighborhood, is this more like a
- 7:48Speaker 1: local building inspector?
- 7:49Speaker 2: That is a perfect analogy, yes. MVSA is run locally.
- 7:53Speaker 2: It doesn't scan across the network. It sits right on
- 7:56Speaker 2: that specific Windows client or server. and performs a deep
- 8:00Speaker 2: baseline inspection.
- 8:01Speaker 1: What is it mechanically inspecting that a network scanner just
- 8:04Speaker 1: can't see from the outside?
- 8:06Speaker 2: It looks at the internal configuration. Like, are the mandatory
- 8:09Speaker 2: Microsoft security updates actually applied, or did they hang up
- 8:12Speaker 2: during installation? Are there excessive administrative accounts? Right. It checks
- 8:17Speaker 2: the Windows registry to see if critical security policies have
- 8:19Speaker 2: been altered. And crucially, it can use hashing to verify
- 8:23Speaker 2: file integrity.
- 8:24Speaker 1: Okay, walk me through hashing in this context. How does
- 8:27Speaker 1: that prove integrity?
- 8:28Speaker 2: So hashing is the process of generating a unique digital
- 8:32Speaker 2: fingerprint for a file. Let's say you have a critical
- 8:35Speaker 2: system file that operates the Windows login process.
- 8:38Speaker 1: Okay, pretty important file.
- 8:40Speaker 2: Very. MBSA knows what the mathematical hash of that clean,
- 8:44Speaker 2: safe file should be. If it calculates the hash of
- 8:46Speaker 2: the file currently on your machine, and it doesn't match
- 8:49Speaker 2: the known good fingerprint.
- 8:51Speaker 1: Then something changed.
- 8:52Speaker 2: Exactly. It means that file has been altered... possibly by
- 8:56Speaker 2: a piece of malware that silently inserted a back door.
- 8:59Speaker 2: A network scanner looking from the outside would never see
- 9:02Speaker 2: that altered code.
- 9:03Speaker 1: Because it's not looking at the individual files. So MBSA
- 9:06Speaker 1: is fundamentally a different tool for a different scope, which
- 9:10Speaker 1: leads us perfectly into the strategy of how we deploy
- 9:12Speaker 1: these tools.
- 9:13Speaker 2: Right, the scoping.
- 9:14Speaker 1: Because we have our arsenal now. But we can't just
- 9:16Speaker 1: plug Nessus into a corporate network of 5,000 machines and
- 9:19Speaker 1: press a giant scan all button.
- 9:21Speaker 2: No, please don't do that. If you do that, you
- 9:23Speaker 2: will likely cause a massive network outage and potentially lose
- 9:26Speaker 2: your job.
- 9:27Speaker 1: Yikes.
- 9:28Speaker 2: This is where the concept of scoping becomes absolutely critical.
- 9:32Speaker 2: Scoping is defining the exact parameters of your scan. Which
- 9:36Speaker 2: specific IP addresses, subnets, or departments are included, and just
- 9:40Speaker 2: as importantly, which ones are explicitly excluded.
- 9:44Speaker 1: But wait, before we can exclude things, how do we
- 9:46Speaker 1: even know what's out there? Like, if I inherit a
- 9:48Speaker 1: network at a new job... Hmm. I don't necessarily trust
- 9:51Speaker 1: the documentation the last guy left. How do I map
- 9:54Speaker 1: the live targets?
- 9:55Speaker 2: Use target discovery features that are built right into these scanners. Typically,
- 9:59Speaker 2: you start with ping sweeps and SYN sweeps. You basically
- 10:02Speaker 2: give the scanner a range of IP addresses, and it
- 10:05Speaker 2: probes them to see what is alive.
- 10:07Speaker 1: Okay, I'm familiar with a ping sweep. It sends an
- 10:09Speaker 1: ICMP echo request, basically shouting, are you there? Down a hallway.
- 10:14Speaker 2: Okay.
- 10:15Speaker 1: And waiting for an echo back. Right. But what is
- 10:17Speaker 1: a SYN sweep? Why would we use that instead?
- 10:20Speaker 2: A SYN sweep leverages the way machines establish connections over
- 10:24Speaker 2: the internet. It's known as the TCP three-way handshake. Right.
- 10:28Speaker 1: The handbearer.
- 10:29Speaker 2: Normally, to talk to a server, your machine sends a
- 10:33Speaker 2: SYN packet. It's a synchronized request saying, hello, I'd like
- 10:36Speaker 2: to talk.
- 10:36Speaker 1: Okay.
- 10:37Speaker 2: The server replies with a SYN ACK, which means, hello,
- 10:41Speaker 2: I acknowledge you.
- 10:41Speaker 1: Got it.
- 10:42Speaker 2: Then your machine sends an ACK back saying, great, let's talk,
- 10:45Speaker 2: and the connection is fully established.
- 10:46Speaker 1: Okay, so that's the three-step handshake. But what does the
- 10:49Speaker 1: sweep do differently?
- 10:50Speaker 2: The SYN sweep is much stealthier and faster. It sends
- 10:53Speaker 2: that first SYN back in. But when the target server
- 10:56Speaker 2: replies with a SYN ACK proving it's live, your scanner
- 11:00Speaker 2: immediately drops the connection.
- 11:01Speaker 1: Wait, really? It just hangs up?
- 11:03Speaker 2: Exactly. It sends a reset packet. It never completes the handshake.
- 11:07Speaker 2: It gets the confirmation it needs that the machine is
- 11:09Speaker 2: alive without fully logging a connection. This saves a ton
- 11:13Speaker 2: of time and avoids triggering certain basic firewalls.
- 11:16Speaker 1: That is fascinating. Just tricks it into waving back and
- 11:19Speaker 1: then walks away.
- 11:20Speaker 2: Pretty much.
- 11:21Speaker 1: Okay, so we run our sweeps. We have a list
- 11:24Speaker 1: of live targets. We define our scope. Here is where
- 11:27Speaker 1: it gets really interesting what happens if I mismanage this.
- 11:32Speaker 1: Let's say I scope a scan for the main corporate
- 11:35Speaker 1: file server, and I just decide to schedule it to
- 11:38Speaker 1: run right at noon on a Tuesday.
- 11:39Speaker 2: Yeah.
- 11:40Speaker 1: Am I going to be the most hated person in
- 11:42Speaker 1: the office?
- 11:43Speaker 2: Oh, without a doubt. You will effectively execute a denial
- 11:46Speaker 2: of service attack on your own infrastructure.
- 11:48Speaker 1: Mechanically, why does a vulnerability scan take a server offline
- 11:51Speaker 1: like that?
- 11:52Speaker 2: Because of resource exhaustion. You have to remember, a vulnerability
- 11:55Speaker 2: scan isn't just one request. The scanner is throwing tens
- 11:58Speaker 2: of thousands of crafted packets at the server. It's checking
- 12:02Speaker 2: thousands of ports and vulnerabilities simultaneously.
- 12:05Speaker 1: That's a lot of traffic. It is.
- 12:06Speaker 2: And every single time a packet hits that server... The
- 12:10Speaker 2: server CPU has to process it. It has to allocate memory.
- 12:14Speaker 2: It has to open a slot in its state table
- 12:16Speaker 2: to track the connection. Right.
- 12:18Speaker 1: And at noon on a Tuesday.
- 12:19Speaker 2: At noon on a Tuesday, that server is already utilizing
- 12:22Speaker 2: its CPU and memory to serve files to hundreds of employees.
- 12:27Speaker 1: So it's basically drowning in concurrent requests.
- 12:30Speaker 2: Exactly. The memory fills up, the state table overflows, the
- 12:33Speaker 2: CPU spikes to 100%, and the server literally cannot answer
- 12:37Speaker 2: legitimate requests anymore. It just crashes.
- 12:39Speaker 1: Wow.
- 12:40Speaker 2: This is why scoping isn't just a technical thing. It's
- 12:43Speaker 2: highly administrative. You have to gain agreement from management. You
- 12:46Speaker 2: have to coordinate with the specific departments. If you are
- 12:49Speaker 2: going to scan the HR database, human resources needs to
- 12:52Speaker 2: know the system might experience latency, and you schedule it for, like, 2.0
- 12:56Speaker 2: AM on a Sunday, not noon on a Tuesday.
- 12:58Speaker 1: That makes total sense. But if scanning is essentially this
- 13:01Speaker 1: controlled heavy attack on our own systems, how do we
- 13:04Speaker 1: reduce that footprint? Is there a way to design our
- 13:07Speaker 1: network so that we simply have to scan less overall?
- 13:10Speaker 2: That is exactly how security architects approach the problem. And
- 13:13Speaker 2: it brings us right to the intersection of compliance and
- 13:16Speaker 2: network segmentation. The best example of this is PCI DSS.
- 13:21Speaker 1: Ah, PCI DSS. That's the compliance standard for processing credit cards, right?
- 13:26Speaker 2: Correct. And the PCI DSS requirements are incredibly strict. They
- 13:29Speaker 2: mandate that you must conduct internal vulnerability scans on your
- 13:33Speaker 2: cardholder data environment every single quarter and external scans annually.
- 13:37Speaker 1: Okay, scanning four times a year internally, that seems pretty manageable,
- 13:42Speaker 1: doesn't it?
- 13:42Speaker 2: It is, unless you have a flat network.
- 13:44Speaker 1: What's the flat network problem?
- 13:46Speaker 2: A flat network means every device is on the same
- 13:48Speaker 2: logical network without any internal boundaries. So imagine a company
- 13:52Speaker 2: with 1,000 devices... desktops, printers, VoIP phones, whatever. But only
- 13:57Speaker 2: two of those machines are actually point-of-sale systems processing credit cards.
- 14:02Speaker 1: In a flat network, theoretically, any of those 1,000 machines
- 14:05Speaker 1: can communicate directly with the credit card machines.
- 14:08Speaker 2: Exactly. And because there are no boundaries, compliance auditors consider
- 14:11Speaker 2: the entire flat network to be the cardholder data environment.
- 14:15Speaker 1: Yeah.
- 14:16Speaker 2: Which means to comply with PCI DSS, you have to
- 14:19Speaker 2: run those heavy resource-intensive vulnerability scans on all 1,000 machines
- 14:25Speaker 2: every single quarter just to prove that those two point-of-sale
- 14:28Speaker 2: systems are safe. It is a massive drain on resources
- 14:33Speaker 2: and time.
- 14:33Speaker 1: It's like a quarantine. If one person in a massive
- 14:36Speaker 1: office building has a cold, you don't lock down the
- 14:39Speaker 1: whole city. You just isolate their department.
- 14:41Speaker 2: Yeah.
- 14:41Speaker 1: So we have to segment it. But how do we
- 14:43Speaker 1: segment it mechanically? We're talking about running separate physical cables
- 14:47Speaker 1: and buying a second router.
- 14:48Speaker 2: I mean, you can do it physically, but usually it's
- 14:50Speaker 2: done logically using VLAN's virtual local area networks and internal firewalls.
- 14:55Speaker 1: Okay, so logically dividing it.
- 14:57Speaker 2: Right. You place those two point-of-sale systems on their own VLAN.
- 15:01Speaker 2: Then you configure a firewall between that VLAN and the
- 15:04Speaker 2: rest of the 900-plus machines with a strict access control list.
- 15:08Speaker 2: The rule basically says absolutely no traffic is allowed to
- 15:11Speaker 2: cross from the general network into the point-of-sale network.
- 15:13Speaker 1: So you've essentially severed the broadcast domain. Yes.
- 15:17Speaker 2: You've implemented network segmentation. Now, when the auditor comes, you
- 15:21Speaker 2: show them the firewall rules proving isolation. Your compliance scope
- 15:26Speaker 2: is dramatically reduced. You now only have to scan those
- 15:29Speaker 2: two segmented machines every quarter to meet PCI DSS.
- 15:33Speaker 1: That is incredibly efficient. And beyond just saving CPU cycles
- 15:36Speaker 1: during a scan, there has to be a massive intrinsic
- 15:39Speaker 1: security benefit to building a network this way too, right?
- 15:42Speaker 2: Oh, absolutely. It is one of the most powerful defenses
- 15:46Speaker 2: against lateral movement.
- 15:47Speaker 1: Like someone gets in.
- 15:48Speaker 2: Exactly. If someone in marketing clicks a malicious phishing link
- 15:51Speaker 2: and their workstation is compromised, the attacker is inside the building.
- 15:55Speaker 2: But because of network segmentation, they're trapped in the marketing VLAN.
- 15:58Speaker 1: They can't get to the good stuff.
- 15:59Speaker 2: Right. When they try to pivot and move laterally to
- 16:02Speaker 2: the credit card database, the internal firewall blocks them. Segmentation
- 16:07Speaker 2: limits your risk exposure across the board. It all comes
- 16:10Speaker 2: down to your organization's risk appetite and capacity.
- 16:14Speaker 1: Okay, let's transition to the actual execution here. We have
- 16:17Speaker 1: our tools, we've carved out a safe scope, and we've
- 16:19Speaker 1: segmented our network. Now, how do we actually pull the
- 16:22Speaker 1: trigger and configure the scans? How do we tell the
- 16:24Speaker 1: scanner what vulnerabilities to look for?
- 16:26Speaker 2: This is managed through configuration profiles and specifically by selecting
- 16:31Speaker 2: your plugins.
- 16:31Speaker 1: Plugins. When I think of a plugin, I think of,
- 16:34Speaker 1: you know, a grammar checker on a web browser. What
- 16:38Speaker 1: is a plugin in the context of a vulnerability scanner?
- 16:42Speaker 2: In this context, a plugin is a specialized script written
- 16:45Speaker 2: to test for one specific vulnerability. Going back to our
- 16:49Speaker 2: door analogy, instead of just checking if the door is unlocked,
- 16:52Speaker 2: a plugin is like taking a highly specific lockpick designed
- 16:56Speaker 2: exclusively for an Apache 2.4 web server running on Linux
- 16:59Speaker 2: and seeing if it turns the tumbler.
- 17:01Speaker 1: Okay, so if I know my segmented environment is entirely
- 17:03Speaker 1: made up of Windows servers, I can just turn off
- 17:06Speaker 1: all the Linux and Mac plugins.
- 17:07Speaker 2: Exactly. Disabling irrelevant plugins makes your scan significantly faster and
- 17:12Speaker 2: reduces the burden on your network. You just tailor the
- 17:15Speaker 2: plugin loadout to match your specific environment.
- 17:17Speaker 1: Now, there's one configuration option that I want to push
- 17:20Speaker 1: back on a little bit.
- 17:21Speaker 2: Okay, let's hear it.
- 17:21Speaker 1: It's the perspective of the scan. So you can configure
- 17:25Speaker 1: a scan to run unauthenticated, meaning the scanner has no
- 17:28Speaker 1: login credentials, or authenticated. Where you actually give the scanner
- 17:33Speaker 1: administrative passwords.
- 17:34Speaker 2: Yes, internal versus external, authenticated versus unauthenticated perspectives. You need both.
- 17:39Speaker 1: Here is my pushback, though. If I own the network
- 17:43Speaker 1: and I am the domain administrator and I provide administrative
- 17:46Speaker 1: credentials for an authenticated scan, the scanner logs in and
- 17:49Speaker 1: sees every single missing patch, misconfiguration, and hidden flaw. It
- 17:54Speaker 1: sees everything. Doesn't an unauthenticated scan just give me redundant,
- 17:58Speaker 1: lesser data? Why would I ever scan it without logging in?
- 18:01Speaker 1: Why waste the time and CPU cycles running both?
- 18:04Speaker 2: It is a totally valid question, but it really comes
- 18:06Speaker 2: down to prioritization and context. Yes, the authenticated scan gives
- 18:10Speaker 2: you the comprehensive list of every single flaw. But let's
- 18:14Speaker 2: say that list has 10,000 critical vulnerabilities across your enterprise.
- 18:19Speaker 1: That sounds like a nightmare.
- 18:20Speaker 2: It is. So where do you start?
- 18:21Speaker 1: Ah, I see. The unauthenticated scan provides context. Precisely.
- 18:26Speaker 2: An unauthenticated external scan replicates exactly what a hacker or
- 18:30Speaker 2: a malicious automated bot sees from the public internet right now, today.
- 18:35Speaker 2: If an unauthenticated scan finds 15 vulnerabilities, you know those
- 18:40Speaker 2: 15 are exposed to the outside world without requiring any
- 18:43Speaker 2: login whatsoever.
- 18:44Speaker 1: So those are the open windows on the front of
- 18:45Speaker 1: the house. Yes.
- 18:46Speaker 2: You must fix those first. The unauthenticated scan filters out
- 18:50Speaker 2: the noise and highlights your immediate perimeter threats.
- 18:53Speaker 1: And then the authenticated scan shows you what happens after
- 18:55Speaker 1: a breach.
- 18:56Speaker 2: Right. The authenticated scan reveals the internal attack surface. It
- 19:00Speaker 2: tells you what a rogue employee could exploit or what
- 19:03Speaker 2: an attacker could do if they managed to bypass the
- 19:05Speaker 2: firewall and establish a foothold inside. You cannot secure infrastructure
- 19:10Speaker 2: by only staring at the exterior walls, but you also
- 19:13Speaker 2: can't ignore what the exterior walls look like to a thief.
- 19:15Speaker 2: You absolutely need both perspectives to build a mature vulnerability
- 19:19Speaker 2: management program.
- 19:20Speaker 1: That paints an incredibly complete picture. We've moved step-by-step through
- 19:25Speaker 1: this entire process. We started with choosing the right tool
- 19:28Speaker 1: for the job, from enterprise giants like Nessus and Qualysguard,
- 19:32Speaker 1: to open-source alternatives like OpenVAS, to web specialists like Nikto,
- 19:37Speaker 1: and even local baseline checkers like MBSA.
- 19:40Speaker 2: Right. And we covered how to map the network stealthily
- 19:44Speaker 2: with SYN sweeps, and why scoping safely is so vital
- 19:47Speaker 2: to prevent resource exhaustion and crashing the HR system.
- 19:50Speaker 1: We looked at how network segmentation uses VLANs and firewalls
- 19:53Speaker 1: to shrink our compliance scope and save time. And finally,
- 19:57Speaker 1: how we configure the exact plugins and perspectives we need.
- 20:00Speaker 2: It's really a continuous cyclical process.
- 20:03Speaker 1: All right. To wrap this up, it is time to
- 20:05Speaker 1: test what you've learned today with a quick review exercise. Yes.
- 20:07Speaker 1: Imagine you're securing a brand new e-commerce startup. Which specific
- 20:11Speaker 1: tool would you use to scan the custom web code
- 20:13Speaker 1: of your storefront? And what network design trick would you
- 20:16Speaker 1: use to separate your credit card processing servers from the
- 20:19Speaker 1: intern's laptops to make compliance easier?
- 20:21Speaker 2: Think about it for a second.
- 20:23Speaker 1: If you identified Nikto to fuzz the web application and
- 20:27Speaker 1: network segmentation using VLANs and internal firewalls to isolate the database,
- 20:32Speaker 1: you have absolutely nailed the concepts from this session.
- 20:36Speaker 2: But as we close, I want to leave you with
- 20:37Speaker 2: one final kind of provocative thought to mull over.
- 20:40Speaker 1: Let's hear it.
- 20:41Speaker 2: Today we discussed how scanners use plugins, which are known scripts,
- 20:45Speaker 2: to check for known vulnerabilities. But what happens when a
- 20:48Speaker 2: vulnerability is so brand new that no plugin has been
- 20:50Speaker 2: written for it yet? How do you secure a network
- 20:53Speaker 2: against a threat that the security industry doesn't even know
- 20:57Speaker 2: exists yet?
- 20:58Speaker 1: That is the perpetual arms race of cybersecurity right there.
- 21:01Speaker 1: The digital locks are constantly evolving, and the methods for
- 21:03Speaker 1: bypassing them evolve just as fast. The tools are essential,
- 21:07Speaker 1: but the architecture and the mindset are what keep you secure.
- 21:10Speaker 1: Keep questioning your assumptions, stay curious, and thank you so
- 21:13Speaker 1: much for joining us on this deep dive.