Latest / CyberCode Academy / Course 10 - Network Security Fundamentals | Episode 5: Protecting and Hardening Network Endpoints: Concepts, Strategies, and Management
Transcript
- 0:00Speaker 1: Welcome back to the deep dive.
- 0:01Speaker 2: You know, if you're involved in cybersecurity, you know that
- 0:03Speaker 2: the fundamental war zone has well, it's completely changed. For decades,
- 0:08Speaker 2: the priority was building this impenetrable fortress, you know, around
- 0:12Speaker 2: the central server room, the mainframe. But now the perimeter
- 0:17Speaker 2: is just gone.
- 0:18Speaker 3: That's the critical shift. Today the security battle is fought
- 0:22Speaker 3: well everywhere else, everywhere. In our mission in this deep
- 0:26Speaker 3: dive is to really distill the core strategies of what
- 0:29Speaker 3: we call endpoint.
- 0:30Speaker 2: Security, so securing the network right where people are actually
- 0:33Speaker 2: using it.
- 0:34Speaker 3: Exactly. We're talking about protecting every single device that connects,
- 0:37Speaker 3: no matter how small or how strange it might seem.
- 0:41Speaker 2: Okay, let's set the stage here, because this shift wasn't random.
- 0:44Speaker 2: If we go way back, say pre nineteen eighties, what
- 0:48Speaker 2: was the model for computing.
- 0:50Speaker 3: It was the host terminal model. Just picture a massive central.
- 0:54Speaker 2: Supercomputer taking up a whole floor.
- 0:56Speaker 3: Yeah, exactly, and users would access it using what we
- 0:59Speaker 3: now called dumb terminals.
- 1:01Speaker 2: Dumb terminals meaning they had no real computational power.
- 1:04Speaker 3: None at all. They were just input and output screens,
- 1:08Speaker 3: a keyboard and a monitor. So if you wanted to
- 1:10Speaker 3: attack the network, you had one option, go asher the
- 1:14Speaker 3: central host.
- 1:15Speaker 2: The fortress was the only target. But then the PC
- 1:18Speaker 2: revolution happened, Apple, Microsoft, IBM, and that just changed computing forever.
- 1:23Speaker 2: It pushed all the power out.
- 1:25Speaker 3: It did we shifted into what's called the client server model,
- 1:28Speaker 3: a truly distributed system. All of a sudden, the computational
- 1:32Speaker 3: power moved onto the user's desktop, the endpoint, the endpoint,
- 1:35Speaker 3: and this distributed the targets across the entire organization.
- 1:38Speaker 2: And this is the key insight for attackers, right. Since
- 1:41Speaker 2: every endpoint now has power and is a gateway to
- 1:44Speaker 2: the network, it's often easier and I guess lower risk
- 1:49Speaker 2: to target a user's phone than to try to breach
- 1:52Speaker 2: the main server directly.
- 1:53Speaker 3: It absolutely flips the risk reward ratio for them. I mean,
- 1:56Speaker 3: the weakest link problem just gets amplified tenfold when every
- 2:00Speaker 3: device is its own little computer.
- 2:02Speaker 2: So defending the modern endpoint is well, it's non negotiable.
- 2:05Speaker 3: Absolutely, So let's define that.
- 2:06Speaker 1: What is a modern endpoint. It's way more than just
- 2:09Speaker 1: a desktop computer, now, isn't.
- 2:10Speaker 3: It oh far beyond? I mean, you have the traditional stuff,
- 2:12Speaker 3: your laptops and desktops, but then you have this whole mobile.
- 2:15Speaker 2: Frontier smartphones, tablets.
- 2:17Speaker 3: Yep E readers, smart watches, even smart bands. Yea, even
- 2:21Speaker 3: if they connect indirectly through Bluetooth before they hit Wi Fi,
- 2:25Speaker 3: they're still a vector we have to think about.
- 2:27Speaker 2: But this is where it gets really interesting and frankly
- 2:29Speaker 2: a bit frustrating for security pros. It's the IoT category
- 2:33Speaker 2: the Internet of things.
- 2:34Speaker 3: Yes, the non traditional devices.
- 2:37Speaker 2: Things that were never designed with security as a primary concern,
- 2:41Speaker 2: like smart TVs and conference rooms, eah VAC systems, industrial
- 2:45Speaker 2: controllers on a factory.
- 2:46Speaker 3: Floor, and those IoT devices are often a huge risk.
- 2:50Speaker 3: They might be running ancient operating systems or have default
- 2:53Speaker 3: passwords that are incredibly easy to guess. A vulnerability there
- 2:57Speaker 3: can give an attacker a surprisingly easy way onto the
- 3:00Speaker 3: corporate network.
- 3:01Speaker 2: Maybe come the back door.
- 3:02Speaker 3: They absolutely do.
- 3:03Speaker 2: So if we have this giant, sprawling mess of devices,
- 3:08Speaker 2: some of which we can't really secure, like that old
- 3:10Speaker 2: industrial controller, how do we stop one compromised device from
- 3:14Speaker 2: taking down the whole system?
- 3:16Speaker 3: You use containment and that requires network segmentation.
- 3:20Speaker 1: Okay.
- 3:20Speaker 3: The basic idea is you break up your network into
- 3:23Speaker 3: smaller isolated subnetworks using what are called virtual local area networks.
- 3:29Speaker 2: Or VLANs, So instead of one big open plan office,
- 3:33Speaker 2: it's more like a building with lots of separate lockdown floors.
- 3:36Speaker 3: That's a perfect analogy. The immediate benefit is containment. If
- 3:41Speaker 3: an attacker compromises a vulnerable device, say a smart thermostat,
- 3:45Speaker 3: they're stuck in that small segment.
- 3:47Speaker 2: They can't just pivot and start looking for the finance
- 3:49Speaker 2: servers exactly.
- 3:50Speaker 3: Those critical assets are segregated on a completely different vland.
- 3:54Speaker 3: For those really tricky IoT devices, the best practice is
- 3:58Speaker 3: to put them on their own special isolated.
- 4:01Speaker 2: Vland, give them just enough access to function and nothing more.
- 4:04Speaker 3: Nothing more. It's all about limiting that lateral movement.
- 4:06Speaker 2: Okay, that makes sense for containment. Let's move into active defenses.
- 4:10Speaker 2: The baseline, of course, is anti malware software. What's a
- 4:13Speaker 2: surprising fact about who often gets targeted and will neglects this.
- 4:18Speaker 3: What's often overlooked is that information security professionals you know,
- 4:21Speaker 3: says Evans, There are prime targets.
- 4:23Speaker 1: The people with the keys to the kingdom.
- 4:25Speaker 3: Right attackers know they hold the high level credentials, privileged access,
- 4:29Speaker 3: maybe even the master encryption keys. Compromising an INFOSECT machine
- 4:34Speaker 3: is a massive win for an attacker.
- 4:36Speaker 2: So we need to protect the protectors. If you're someone
- 4:39Speaker 2: with that kind of elevated access, what's a simple mandatory
- 4:42Speaker 2: control you should be using.
- 4:44Speaker 3: You have to use dual administrator accounts, no question. Your
- 4:48Speaker 3: daily account for email, browsing, writing docs should be a
- 4:53Speaker 3: standard user.
- 4:54Speaker 2: Account zero special privileges zero.
- 4:57Speaker 3: You then have a completely separate privileged administrator count that
- 5:00Speaker 3: you only use for administrative tasks.
- 5:02Speaker 2: That seems so simple, but it offers huge protections.
- 5:05Speaker 1: So why don't more people do it?
- 5:06Speaker 3: It's convenience, pure and simple. Switching account. It feels like friction,
- 5:10Speaker 3: you know, but that tiny bit of inconvenience saves you
- 5:12Speaker 3: from a total loss of confidentiality if your daily account
- 5:15Speaker 3: gets fished. The trade off is a no brainer.
- 5:17Speaker 2: Agreed. So how do big organizations make sure this anti
- 5:21Speaker 2: malware gets deployed everywhere?
- 5:22Speaker 3: Automation is everything. You have to rely on automated methods
- 5:26Speaker 3: like group policy in a Windows world or package managers
- 5:29Speaker 3: for Mac and Linux. You need one hundred percent coverage.
- 5:33Speaker 2: Because one unprotected machine can ruin everything.
- 5:36Speaker 3: So it's a one week link. Yeah, what about mobile phones?
- 5:39Speaker 3: Do you really need traditional anti malware on your personal phone?
- 5:42Speaker 3: That just gets company email.
- 5:44Speaker 2: It's a debate, but organizations should at least mandate the
- 5:48Speaker 2: use of content blockers on mobile devices.
- 5:50Speaker 3: Why content blockers specifically to prevent malvertizing.
- 5:54Speaker 2: That's malware that gets distributed silently through web ads and
- 5:57Speaker 2: it's a huge attack vector, especially on MOTI where patching
- 6:01Speaker 2: isn't always immediate.
- 6:02Speaker 3: Okay, so the software is installed, how does the network
- 6:05Speaker 3: actually enforce this? How does it keep a sick machine
- 6:08Speaker 3: from infecting everyone else?
- 6:09Speaker 2: That is the job of network access control or NAC.
- 6:13Speaker 2: NAC basically checks a device's security health before or sometimes
- 6:18Speaker 2: after it connects. There are really two ways to go
- 6:20Speaker 2: about it.
- 6:21Speaker 3: Let's start with the proactive, the sort of gatekeeper approach. Right.
- 6:25Speaker 3: Proactive NEAC is the strictest a device has to pass
- 6:29Speaker 3: a security check. Is antimolware installed? Is it patched? Is
- 6:33Speaker 3: a firewall active before it gets any network access at all?
- 6:37Speaker 2: That sounds great for security, but in our CIA triad,
- 6:40Speaker 2: what's the immediate trade off?
- 6:42Speaker 3: It hits availability. If a user is traveling and can't
- 6:45Speaker 3: update their antivirus, they're locked out. They can't work. But
- 6:48Speaker 3: the organization is choosing to prioritize confidentiality and integrity.
- 6:52Speaker 2: Over that, And what's the other approach, the reactive one.
- 6:55Speaker 3: That's reactive NEC here systems are monitored while they're connected.
- 6:59Speaker 3: If malware is detected, or if a machine starts acting suspiciously.
- 7:03Speaker 1: Like trying to scan the whole network.
- 7:04Speaker 3: Exactly, that computer is immediately kicked off the network and
- 7:08Speaker 3: put into quarantine until it's cleaned up.
- 7:09Speaker 2: Okay, So if NEC is the bouncer at the door,
- 7:11Speaker 2: what tools do we use for surveillance inside the really
- 7:14Speaker 2: high value rooms.
- 7:15Speaker 3: That's where you bring in host based intrusion detection and
- 7:18Speaker 3: prevention systems hids or hips.
- 7:22Speaker 2: And these aren't for every computer, are they.
- 7:24Speaker 3: No? No, these are specialized systems you deployed to protect
- 7:27Speaker 3: a single high value asset, a server with your company's
- 7:30Speaker 3: secret formula. For instance, a HID does incredibly granular monitoring
- 7:35Speaker 3: right on that device, logs events, system files to make
- 7:39Speaker 3: sure nothing changes without authorization.
- 7:41Speaker 1: That sounds robust.
- 7:42Speaker 2: So let's pivot now from active defense to endpoint hardening,
- 7:46Speaker 2: which is more about preventing the attack before it can even.
- 7:49Speaker 3: Start hardenings of philosophy. Really, it's about reducing your possible
- 7:53Speaker 3: attack vectors.
- 7:54Speaker 1: Your attack surface.
- 7:55Speaker 3: Exactly, if a service isn't running, an attacker can't exploit it.
- 7:59Speaker 3: The whole goal is to disable or remove every single
- 8:01Speaker 3: unnecessary feature, service and application. If it's not providing business value,
- 8:06Speaker 3: but it is providing risk, get rid of it.
- 8:08Speaker 2: Let's use a classic example of this trade off, telmeet
- 8:11Speaker 2: ah telmet.
- 8:12Speaker 3: Yes, it's an old, completely insecure protocol. It sends passwords
- 8:16Speaker 3: in all data in plaintext.
- 8:18Speaker 1: So anyone listening can.
- 8:19Speaker 3: Just read it anyone. Disabling the telnet client is a
- 8:23Speaker 3: standard hardening step. Now, some user might call the help
- 8:26Speaker 3: desk saying they can't connect to some ancient device, but
- 8:30Speaker 3: the huge gaining confidentiality far outweighs that minor inconvenience.
- 8:35Speaker 2: It really hammers home that your network is only as
- 8:38Speaker 2: secure as the single least secure device connected to it.
- 8:41Speaker 3: That's the mantra.
- 8:42Speaker 1: So what are the.
- 8:43Speaker 2: Key hardening methods we should all be thinking about.
- 8:46Speaker 3: Number one, and it can be tedious, is patch management.
- 8:49Speaker 3: You have to patch systems, but and this is critical,
- 8:52Speaker 3: you have to use a change control system to test
- 8:54Speaker 3: those patches first.
- 8:56Speaker 2: Because you don't want the cure to be worse than
- 8:58Speaker 2: the disease.
- 8:58Speaker 3: Right. You don't want a security update breaking a critical
- 9:01Speaker 3: application next up is strong triple A authentication, authorization and accounting.
- 9:06Speaker 2: So complex passwords, disabling old accounts like the guest account,
- 9:11Speaker 2: all of.
- 9:11Speaker 3: That, and aggressively closing any open ports of protocols that
- 9:14Speaker 3: you don't absolutely need.
- 9:15Speaker 2: I'm also seeing a big push to isolate applications from
- 9:19Speaker 2: the operating system itself.
- 9:20Speaker 3: Yes, using containers or virtual machines VMS to sandbox applications
- 9:26Speaker 3: is huge. It's isolation. If a vulnerability is exploited inside
- 9:30Speaker 3: the app, it's trapped inside the container. It cant affect
- 9:33Speaker 3: the host os.
- 9:34Speaker 1: What about just you know, someone walking up to a computer.
- 9:37Speaker 3: Simple stuff. You need strong account lockout policies. Yeah, too
- 9:40Speaker 3: many failed password attempts, the account locks, and for every
- 9:44Speaker 3: single device mobile included, enable automatic screen locking after just
- 9:48Speaker 3: a minute or two of inactivity.
- 9:50Speaker 2: And the final piece of hardening, making sure that even
- 9:52Speaker 2: if an attacker gets in, the data they find is
- 9:55Speaker 2: useless to them.
- 9:56Speaker 3: That's encryption, robust encryption. You need it for data at
- 9:59Speaker 3: rep so data on a hard drive or a flash drive,
- 10:03Speaker 3: and for data in transit using protocols like TLS or
- 10:06Speaker 3: ip SEC when systems talk to each other.
- 10:08Speaker 2: Everything we've talked about works for PCs. But the final
- 10:11Speaker 2: and maybe most complex frontier is the mobile phone. It's
- 10:15Speaker 2: this blend of personal data and critical business data.
- 10:18Speaker 3: It is, and that's why Mobile Device Management or MDM
- 10:21Speaker 3: is absolutely essential. I mean, any organization with a BYOD
- 10:24Speaker 3: bring your own device policy is operated with massive risk
- 10:27Speaker 3: if they don't have an MDM solution.
- 10:29Speaker 2: If a phone with company secrets on it gets lost
- 10:31Speaker 2: or stolen. What's the mdm's single most important feature.
- 10:35Speaker 3: The ability to perform a remote.
- 10:37Speaker 2: Wipe instantly, delete all the corporate data instantly.
- 10:40Speaker 3: But MDM also enforces all those baselines we talked about,
- 10:43Speaker 3: screen locks, strong password requirements, account lockouts.
- 10:47Speaker 2: And how does it handle the thousands of apps a
- 10:50Speaker 2: user could install.
- 10:51Speaker 3: Through application control, you can either whitelist or blacklist apps.
- 10:56Speaker 3: Whitelisting is super restrictive. Only approved apps are allowed, like
- 10:59Speaker 3: the Apple app.
- 11:00Speaker 1: Store MODEU blacklisting.
- 11:01Speaker 3: Blacklisting allows most things, but specifically blocks apps that the
- 11:05Speaker 3: company has identified as malicious or risky. Either way, the
- 11:09Speaker 3: goal is just to reduce that risk, and.
- 11:11Speaker 2: There are plenty of platforms for this out there.
- 11:13Speaker 3: Oh yeah, Tons, Microsoft Enterprise Mobility, VMware's air Watch, and others.
- 11:18Speaker 3: The real key is just matching the solution to your
- 11:20Speaker 3: company's specific security needs.
- 11:22Speaker 2: This has been a really productive deep dive. I mean
- 11:24Speaker 2: we've established the old perimeter as a memory, and real
- 11:27Speaker 2: security now is all about defense in depth. Right at
- 11:30Speaker 2: the device level. We've hit active protection, anti malware, NAC
- 11:35Speaker 2: HIDSS and then hardening, which is all about reducing the
- 11:39Speaker 2: attack surface.
- 11:40Speaker 3: It really just highlights that every new connection, every new
- 11:43Speaker 3: device you add, is a brand new perimeter that you
- 11:46Speaker 3: have to consciously go out and defend.
- 11:48Speaker 2: So to wrap this up and reinforce the learning, let's
- 11:50Speaker 2: leave you the listener with a quick review exercise. Okay,
- 11:54Speaker 2: you discover a legacy industrial control system. It's a critical
- 11:58Speaker 2: IoT device. It has to stay connected to your network,
- 12:01Speaker 2: but you know its security is terrible. Which two security
- 12:04Speaker 2: measures we talked about are immediately required to minimize the
- 12:08Speaker 2: risk this one device poses to your entire corporate network.
- 12:12Speaker 3: Think about two things. How do you limit its ability
- 12:15Speaker 3: to spread damage and how do you limit what an
- 12:17Speaker 3: attacker can even do on it? To begin with, the
- 12:20Speaker 3: answers are in aggressively using vlance segmentation and then extensive hardening.
- 12:25Speaker 2: So you wall it off and you turn off everything you.
- 12:27Speaker 3: Don't need exactly disable all those unnecessary services in ports.
- 12:30Speaker 2: Always keep those endpoints locked down. Thanks for diving up
- 12:33Speaker 2: with us. We'll see you next time.