Latest / CyberCode Academy / Course 10 - Network Security Fundamentals | Episode 2: Securing Wireless and Mobile Networks: Standards, Threats, and Best Practices
Transcript
- 0:00Speaker 1: Welcome back to the deep dive. Today, we're taking a
- 0:03Speaker 1: kind of security X ray of the invisible infrastructure that
- 0:07Speaker 1: basically runs our lives wireless networks. You know, you click
- 0:10Speaker 1: connect to the Wi Fi or you see that five
- 0:12Speaker 1: gicon light up, and you just assume it's safe, But
- 0:16Speaker 1: there are layers upon layers of technical standards and well
- 0:20Speaker 1: vulnerabilities beneath that simple connection.
- 0:23Speaker 2: That's absolutely right.
- 0:24Speaker 1: And for this deep dive, we're hoping to move you
- 0:26Speaker 1: past just being a user and get you thinking more
- 0:30Speaker 1: like a security architect. Okay, we need to understand not
- 0:33Speaker 1: just the standards for your home router, but also the
- 0:36Speaker 1: protocols protecting the cell phone that's in your pocket right now.
- 0:40Speaker 1: Our mission here is to move from that sort of
- 0:42Speaker 1: passive trust to active verification.
- 0:45Speaker 2: Giving you the practical steps the real operational security to
- 0:48Speaker 2: lock things down exactly. Okay, so let's unpack this. We'll
- 0:51Speaker 2: start with the fundamentals, the kind of technical language of wireless.
- 0:54Speaker 2: Then we'll dive into the critical steps for hardening your
- 0:56Speaker 2: actual Wi Fi network, and after that we'll pivot to
- 0:59Speaker 2: the unique threats facing mobile devices and then wrap it
- 1:03Speaker 2: all up with a tactical breakdown of common wireless attacks
- 1:06Speaker 2: and more importantly, their defenses perfect.
- 1:09Speaker 1: So where do we start.
- 1:10Speaker 2: Let's start at the very beginning. The foundation what we
- 1:13Speaker 2: all call wi fi is technically speaking, the eight to
- 1:16Speaker 2: two point one to one.
- 1:17Speaker 1: Standard, and that comes from the IEE, right, the Institute
- 1:20Speaker 1: of Electrical and Electronics Engineers, that's them.
- 1:23Speaker 2: It's really just the rule book for how devices talk
- 1:26Speaker 2: to each other using.
- 1:27Speaker 1: Radio waves, and those radio waves operate across a spectrum
- 1:30Speaker 1: that's set by bodies like the FCC. Here in the US,
- 1:33Speaker 1: we always hear about two point four gigaherts and five gigaherts.
- 1:36Speaker 2: Right, And the two point four gigahertz band is great
- 1:38Speaker 2: because it penetrates walls really well, gives you range, but.
- 1:41Speaker 1: It's crowded like a really busy highway. Microwaves, old cordless phones, Bluetooth, they're.
- 1:47Speaker 2: All on there, they are, And that five gigahertz band
- 1:50Speaker 2: is your express lane, much faster speeds, but less range.
- 1:54Speaker 2: It doesn't travel through physical barriers nearly as well.
- 1:57Speaker 1: So the whole story of a to two point one
- 1:59Speaker 1: one one is just about getting more data through those
- 2:02Speaker 1: airwaves faster and faster.
- 2:04Speaker 2: That's the whole game.
- 2:05Speaker 1: So instead of listing every single standard, what are the
- 2:08Speaker 1: key milestones, like, when did Wi Fi actually get fast?
- 2:11Speaker 2: Good question? The early days, you know, aight oh two
- 2:14Speaker 2: point one to one B and G, they were pretty slow.
- 2:17Speaker 2: We're talking maybe eleven to fifty four megabits.
- 2:20Speaker 1: Per second, which felt fast then, but not now, not
- 2:23Speaker 1: at all.
- 2:24Speaker 2: The real step change came with eight hundred and two
- 2:26Speaker 2: point one to one end. That was the first standard
- 2:28Speaker 2: that really hit fast speeds. We're talking hundreds of megabits,
- 2:31Speaker 2: and critically, it was the first one to use both
- 2:33Speaker 2: the two point four and five gigahertz.
- 2:35Speaker 1: Bands, and that's where dual band routers came from exactly.
- 2:39Speaker 2: And the current standard most people are running at home
- 2:41Speaker 2: or in the office, that's likely eight O two point
- 2:43Speaker 2: one oh on ACE, which is often called.
- 2:45Speaker 1: Wi Fi five, the gigabit standard YEP.
- 2:47Speaker 2: The gigabit per second standard, usually on that faster five
- 2:50Speaker 2: gigahertz frequency, and looking forward, you've got eight to two
- 2:52Speaker 2: point one oh one X or Wi Fi six, which
- 2:55Speaker 2: is aiming for just incredible speeds up to ten gigabits
- 2:58Speaker 2: per second.
- 2:59Speaker 1: Okay, before we leave the basics, two quick network concepts.
- 3:02Speaker 1: Most of us use infrastructure mode.
- 3:03Speaker 2: Right where you connect to a central router or access
- 3:05Speaker 2: points like ninety nine percent of network.
- 3:07Speaker 1: But there's also something called ad hoc mode. What is that? Simply?
- 3:10Speaker 2: Ad hoc is just peer to peer. Think of it
- 3:13Speaker 2: like a temporary digital handshake. Two laptops connecting directly to
- 3:17Speaker 2: each other to share a file. No middleman, got it.
- 3:20Speaker 1: And that name you see when you try to connect
- 3:22Speaker 1: like home.
- 3:22Speaker 2: Wi Fi, that's your SSID, the service set identifier.
- 3:26Speaker 1: Okay, so we have the language down. Let's jump into
- 3:28Speaker 1: part two. Securing this thing and the history of wireless security. Well,
- 3:33Speaker 1: it started with a colossal failure, they really did.
- 3:36Speaker 2: The first method was WP or wired equivalent privacy. The
- 3:39Speaker 2: name sounds good.
- 3:40Speaker 1: Right, sounds secure, equivalent.
- 3:42Speaker 2: Tool wire but the encryption had a fatal flaw. And
- 3:45Speaker 2: the crucial I mean, the startling detail here is that
- 3:48Speaker 2: WEP can be cracked in less than five minutes, five minutes,
- 3:51Speaker 2: less than five minutes using common free tools like air
- 3:54Speaker 2: cracking on just a regular laptop.
- 3:56Speaker 1: So WP isn't security. It's basically a welcome map for
- 3:59Speaker 1: an attack.
- 4:00Speaker 2: It's a warning label. Yeah yeah, so rule one never
- 4:03Speaker 2: ever use WEP.
- 4:05Speaker 1: Okay, So if WPEP is useless. What is the mandatory
- 4:08Speaker 1: modern standard.
- 4:09Speaker 2: You must use WPA two AES. So WPA two is
- 4:12Speaker 2: the protocol and AES is the encryption algorithm.
- 4:15Speaker 1: Ay, yes, that's the advanced encryption standard.
- 4:18Speaker 2: Is it's the symmetric encryption standard used by the US
- 4:21Speaker 2: government to protect confidential data. If it's good enough for
- 4:24Speaker 2: their secrets, it's definitely good enough for your WiFi. It's
- 4:28Speaker 2: for all practical purposes unbreakable by brute force.
- 4:31Speaker 1: So WPA two AES for encryption. But what about authentication
- 4:37Speaker 1: making sure only the right people can even try to connect.
- 4:40Speaker 2: That's where you'd use something like eight oh two point
- 4:42Speaker 2: one XEAP. This is a method for authenticating clients both
- 4:46Speaker 2: wired and.
- 4:47Speaker 1: Wireless, and EAP is extensible authentication protocol. So the router
- 4:51Speaker 1: isn't just checking a simple shirt password exactly.
- 4:54Speaker 2: It's checking the user's actual identity against a central server.
- 4:57Speaker 2: It's much more robust than say MIC filtering.
- 5:01Speaker 1: Let's talk about that. MSSC filtering is just telling the router, Hey,
- 5:04Speaker 1: only my laptop and my phone are allowed on. So
- 5:06Speaker 1: you're filtering by the physical device address. Why is a
- 5:09Speaker 1: too two point one x better?
- 5:11Speaker 2: Because a mass address, the physical address of your network
- 5:14Speaker 2: card can be spoofed. It can be faked, so an
- 5:16Speaker 2: attacker can just copy in a lowed massy address and
- 5:19Speaker 2: bypass that filter completely.
- 5:20Speaker 1: Ah so aight er two point one X verifies the user,
- 5:23Speaker 1: which is much harder to fake than a device idea,
- 5:25Speaker 1: much hard. Let's move to operational security OPSEC for routers.
- 5:30Speaker 1: We all know to change the default admin password, but
- 5:34Speaker 1: you said changing the SID the network name is just
- 5:38Speaker 1: as important.
- 5:38Speaker 2: Why because the default name is a huge gift to
- 5:41Speaker 2: an attacker. If your SSID is linkxy's router or nick
- 5:45Speaker 2: your five G, you are screaming the manufacturer's name.
- 5:49Speaker 1: Which tells them exactly what vulnerabilities to look for.
- 5:52Speaker 2: Instantly, they can look up known exploits for that specific brand,
- 5:56Speaker 2: maybe even that model. By changing it to something unique,
- 5:59Speaker 2: you force them to work so much harder just to
- 6:01Speaker 2: figure out what they're even attacking.
- 6:02Speaker 1: That's a great tip. Another one is isolation. You say
- 6:05Speaker 1: you must separate your wireless from your main private network.
- 6:08Speaker 2: Absolutely, Your wireless network is fundamentally the weakest access point
- 6:12Speaker 2: to your physical building. If an attacker breaches your Wi Fi,
- 6:15Speaker 2: you want them trapped in a guest standbox, not immediately
- 6:18Speaker 2: on the same network as your financial servers.
- 6:20Speaker 1: It limits the blast radius perfectly.
- 6:22Speaker 2: Put.
- 6:23Speaker 1: Okay, here's a brilliant counterintuitive move. You mentioned using static
- 6:27Speaker 1: IP addresses instead of DHCP. Can you explain what DHCP
- 6:31Speaker 1: is and why turning it off helps security?
- 6:33Speaker 2: Sure. DHCP, the Dynamic Host Configuration Protocol is what automatically
- 6:38Speaker 2: hands out an IP address to every device that connects.
- 6:41Speaker 1: It's convenient, right, your phone connects and boom, it has
- 6:44Speaker 1: an address. It's on the Internet.
- 6:46Speaker 2: But the problem is if an attacker gets past your password,
- 6:50Speaker 2: their computer also automatically gets an IP address and the
- 6:54Speaker 2: instantly no, I'm in, I have connectivity.
- 6:56Speaker 1: I see. So by using static ips, where you have
- 6:59Speaker 1: to manual assign them, you force the attacker to guess
- 7:02Speaker 1: your network scheme right.
- 7:04Speaker 2: They have to figure out the right IP address, the
- 7:06Speaker 2: subnet mask, the gateway. Yeah, it adds a massive layer
- 7:08Speaker 2: of friction and confusion. It slows them way down.
- 7:11Speaker 1: That's clever. A final physical security point. Firmware and emsec.
- 7:16Speaker 2: Yeah, always update your router's firmware always and consider open
- 7:21Speaker 2: source firmware like DDWRT and emseec or emanation. Security is
- 7:26Speaker 2: just about making sure your radio signals don't spill out
- 7:28Speaker 2: into the street.
- 7:29Speaker 1: You mean doing a site survey to check your signal
- 7:31Speaker 1: strength outside the building Exactly.
- 7:33Speaker 2: You don't want someone in a van across the street
- 7:35Speaker 2: sniffing your network traffic because your signal is just blasting
- 7:38Speaker 2: out into the open.
- 7:39Speaker 1: Okay, let's pivot hard to the device we carry everywhere,
- 7:43Speaker 1: our phones. The risk here is just astronomical. What's the
- 7:47Speaker 1: biggest threat to our cellular connection itself?
- 7:50Speaker 2: The biggest threat is that we implicitly trust the carrier
- 7:53Speaker 2: name on our screen, Verizon, AT and T, whatever, but
- 7:57Speaker 2: that connection could be hijacked with a device called an
- 8:01Speaker 2: IMSI catcher sometimes known as a.
- 8:03Speaker 1: Stingray, and the IMSI catcher actively tricks your phone. It
- 8:07Speaker 1: pretends to be a legitimate cell tower, but with a
- 8:09Speaker 1: stronger signal.
- 8:10Speaker 2: Precisely, your phone is designed to connect to the strongest
- 8:13Speaker 2: signal available, so it drops the real tower and connects
- 8:17Speaker 2: to the fake one. And once it does, the malicious
- 8:19Speaker 2: operator is sitting in the.
- 8:20Speaker 1: Middle, a classic man in the middle attack and.
- 8:22Speaker 2: The classic man in the middle, they can intercept your
- 8:24Speaker 2: voice calls, your texts, your data traffic, and you have
- 8:27Speaker 2: absolutely no idea.
- 8:28Speaker 1: So if regular cell calls can be so easily intercepted.
- 8:31Speaker 1: What's the defense?
- 8:32Speaker 2: You have to use end to end encrypted protocols. The
- 8:35Speaker 2: gold standard is the Signal protocol.
- 8:37Speaker 1: Which is used by the signal app but also by
- 8:39Speaker 1: What's app right.
- 8:40Speaker 2: It encrypts the data from your phone all the way
- 8:43Speaker 2: to the receiver's phone, so even if someone intercepts it,
- 8:46Speaker 2: it's just useless scrambled data.
- 8:48Speaker 1: And here's the big warning for everyone listening. SMS text
- 8:51Speaker 1: messages are sent in plaintext.
- 8:53Speaker 2: Totally unencrypted, like a postcard. Anyone who can access the
- 8:57Speaker 2: network traffic can read them. Never ever use that for
- 9:00Speaker 2: anything sensitive.
- 9:02Speaker 1: So beyond the individual, what about organizations? How do they
- 9:05Speaker 1: manage all these phones?
- 9:06Speaker 2: They use something called an MDM, a mobile device management system.
- 9:10Speaker 2: MDMs are key. They let an administrator remotely wipe a
- 9:13Speaker 2: lost phone and for strong pass codes and control which
- 9:16Speaker 2: apps can be installed.
- 9:18Speaker 1: And we saw a huge real world example of mobile
- 9:21Speaker 1: privacy failure with the US military, didn't.
- 9:23Speaker 2: We We did? The Pentagon had to ban troops from
- 9:26Speaker 2: using fitness trackers overseas. Why because the GPS and geotagging
- 9:30Speaker 2: data from the trackers was being posted online publicly. It
- 9:33Speaker 2: was literally revealing the patrol roads and locations of troops
- 9:37Speaker 2: on military basis.
- 9:38Speaker 1: Wow, that just underscores how much location data our devices
- 9:41Speaker 1: are constantly recording all the time. Okay, let's move to
- 9:44Speaker 1: the tactical defense summary. We've got the big picture. Now
- 9:47Speaker 1: let's hit some specific attacks and how to stop them.
- 9:50Speaker 2: Let's do it. Starting with the easiest exploitation of defaults.
- 9:55Speaker 1: Attacker uses admin password netgear. The mitigation is chained the.
- 10:00Speaker 2: Immediately change the SSID, change the password, use a strong
- 10:04Speaker 2: one simple.
- 10:05Speaker 1: Next bypassing week encryption easy win.
- 10:08Speaker 2: Always use WPA two dash aes WAP is not an option.
- 10:13Speaker 1: What about something more sophisticated like the WPA two kick attack.
- 10:17Speaker 2: KIDA SKE, which stands for key reinstallation attacks was a
- 10:21Speaker 2: really clever exploit in the WPA two handshake process.
- 10:24Speaker 1: Sounds bad. How do we defend against it?
- 10:26Speaker 2: This is a passive defense, but it's critical keep your
- 10:28Speaker 2: router and your device firmware updated. All the major vendors
- 10:31Speaker 2: patch to this vulnerability years ago, but the patch only
- 10:34Speaker 2: works if you actually install it right.
- 10:36Speaker 1: Okay, Next up malicious access points, the rogue AP inside
- 10:39Speaker 1: the network and the evil twin outside.
- 10:41Speaker 2: For rogue aps. You need to regularly scan your network
- 10:44Speaker 2: to find and remove unauthorized devices. For the evil twin,
- 10:47Speaker 2: which might be a fake airport Wi Fi, it's all
- 10:50Speaker 2: about user education.
- 10:51Speaker 1: Tell people to disable autoconnect for public networks.
- 10:54Speaker 2: Exactly, and always always use a VPN when you're on
- 10:58Speaker 2: public Wi Fi.
- 10:59Speaker 1: Okay, and attack is on the network and starts packet sniffing,
- 11:02Speaker 1: reading the data in the air.
- 11:03Speaker 2: Defense end to end secure protocols. If all your traffic
- 11:07Speaker 2: is HTTPS, then even if they sniff the packets, all
- 11:10Speaker 2: they get is encrypted gibberish.
- 11:12Speaker 1: And we mentioned m AD address spoofing. How do we
- 11:14Speaker 1: stop that?
- 11:15Speaker 2: You move beyond that simple filter and implement eight oh
- 11:18Speaker 2: two point one X authentication, Verify the user, not just
- 11:22Speaker 2: the device ID that can be copied.
- 11:23Speaker 1: And the final one, the one that always works.
- 11:26Speaker 2: Social engineering, ah yeah, the trickery someone calls pretending to
- 11:30Speaker 2: be from it to get the password. The only mitigation
- 11:33Speaker 2: here is constant ongoing user education, a good security awareness program.
- 11:38Speaker 2: The human will always be the weakest link.
- 11:40Speaker 1: So when you boil it all down, it seems like
- 11:42Speaker 1: there are two main problem areas we have to fix.
- 11:44Speaker 2: I think. So first, you have to avoid weak standards
- 11:47Speaker 2: like using WEP that's a technical fix, and second you
- 11:51Speaker 2: have to manage the human element. That's a training fix.
- 11:54Speaker 1: Which brings us to the core principle that really underpins
- 11:56Speaker 1: everything we've talked about today it does.
- 11:58Speaker 2: That principle is trust but verify. Explain that you have
- 12:03Speaker 2: to maintain a state of general trust to get anything
- 12:05Speaker 2: done in life, but you always need a process to
- 12:09Speaker 2: verify things that seem out of the ordinary. Someone shows
- 12:12Speaker 2: up saying they're a network tech.
- 12:14Speaker 1: You can trust them, but you first verify their ID,
- 12:18Speaker 1: You call their company to confirm the work order before
- 12:20Speaker 1: you let them into the server room.
- 12:22Speaker 2: That is it perfectly trust but verify.
- 12:24Speaker 1: It's a crucial mindset. Security is always this negotiation between
- 12:28Speaker 1: total paranoia and just, you know, being able to function.
- 12:31Speaker 1: So here's a final thought for you to take away
- 12:33Speaker 1: as you audit your own setup. If you are designing
- 12:37Speaker 1: a security policy for a small business with highly sensitive data,
- 12:41Speaker 1: which single measure beyond the mandatory WPA two aes would
- 12:45Speaker 1: you enforce first at two point one X authentication, MAC
- 12:49Speaker 1: filtering or network isolation And think about why that specific
- 12:53Speaker 1: measure gives you the biggest bang for your buck against
- 12:55Speaker 1: the most threats.
- 12:57Speaker 2: That's a great question that you want take that with
- 12:58Speaker 2: you apply these tips and please go update your firmware.
- 13:01Speaker 1: We'll catch you on the next deep dive.