Latest / CyberSecurity Summary / BackTrack 5 Wireless Penetration Testing Beginner's Guide
Transcript
- 0:00Speaker 1: Have you ever really stopped to think about it? This
- 0:02Speaker 1: invisible world of wireless networks?
- 0:06Speaker 2: It's everywhere, absolutely, your home, Wi Fi, the office, coffee shops.
- 0:10Speaker 2: It's just part of life now.
- 0:12Speaker 1: So convenient, right, seems totally seamless. But what if that
- 0:15Speaker 1: security isn't really a solid wall, more like a thin screen.
- 0:20Speaker 2: That's the uncomfortable truth, Isn't it something people maybe don't
- 0:23Speaker 2: want to think about too much? Yeah, So our mission
- 0:26Speaker 2: today really is to pull back that curtain. We're talking
- 0:29Speaker 2: wireless penetration testing.
- 0:30Speaker 1: Finding the weak spots before the bad.
- 0:32Speaker 2: Guys do exactly, and we're digging into a really foundational
- 0:35Speaker 2: text for this Backtrack five Wireless Penetration Testing Beginner's Guide.
- 0:40Speaker 1: AH. Backtrack five takes me back a whole Linux distribution
- 0:45Speaker 1: packed with security tools.
- 0:46Speaker 2: Right, hundreds of them, And this book it wasn't just theory.
- 0:49Speaker 2: It was designed to help people actually do security audits
- 0:52Speaker 2: on real wireless networks.
- 0:54Speaker 1: And even though Backtrack itself is older now, the principles
- 0:59Speaker 1: in this book about how Wi Fi in security works
- 1:02Speaker 1: still incredibly relevant. These vulnerabilities haven't just vanished, even with
- 1:06Speaker 1: things like WPA three coming along.
- 1:08Speaker 2: Definitely, and the author Vik Arwamachandra, and he's fascinating. He's
- 1:12Speaker 2: been deep in Wi Fi security since what two thousand
- 1:14Speaker 2: and three. Wow, Yeah, he's the one who came up
- 1:16Speaker 2: with the Cafe Latte attack, remember that vaguely?
- 1:19Speaker 1: Yeah, I wasn't that about getting the key just from
- 1:21Speaker 1: the client device, not even kneading the.
- 1:23Speaker 2: Router nearby, precisely super clever. And he also showed back
- 1:27Speaker 2: in twenty eleven how malware could actually use Wi Fi
- 1:30Speaker 2: to create back doors, spread itself like a worm, even
- 1:33Speaker 2: build botnets.
- 1:34Speaker 1: So this isn't just academic stuff. It's real world, practical
- 1:38Speaker 1: threat analysis exactly.
- 1:39Speaker 2: It shows how these attacks actually happen.
- 1:41Speaker 1: Okay, so let's get into this. There's that saying often
- 1:44Speaker 1: link to Lincoln. Give me six hours to chop down
- 1:47Speaker 1: a tree, and I will spend the first four sharpening
- 1:50Speaker 1: the acts. M I feel spot on for wireless pentesting. Right.
- 1:54Speaker 1: Preparation is everything. You can't just dive in.
- 1:56Speaker 2: Oh, absolutely, preparation is key. You need a controlled space,
- 1:59Speaker 2: like a digital sandbox to even start exploring these things safely.
- 2:03Speaker 1: And the book actually lays out how to build a.
- 2:05Speaker 2: Basic lab, yeah, using stuff you can basically just buy
- 2:08Speaker 2: off the shelf. Theressing too exotic needed at least to start.
- 2:11Speaker 1: So what are we talking hardware wise?
- 2:13Speaker 2: Okay, so two laptops. One's your attacker machine, the other's
- 2:16Speaker 2: the victim right. Then, crucially, you need a specific kind
- 2:20Speaker 2: of USB Wi Fi adapter. The book mentions the Alpha
- 2:23Speaker 2: AWS zero three six h.
- 2:25Speaker 1: The Alpha card famous for packet injection, right.
- 2:28Speaker 2: Exactly, packet injection and sniffing, and it worked great with
- 2:31Speaker 2: backtrack right out of the box. Plus you need an
- 2:33Speaker 2: access point, you know, a router that supports WFWPA, WPA
- 2:37Speaker 2: two something simple like a dealing DR six fifteen would do.
- 2:40Speaker 1: And an Internet connection presumably.
- 2:42Speaker 2: Yep for research downloads. The usual. Software wise, it's Backtrack
- 2:45Speaker 2: five itself and then Windows on the victim machine XP
- 2:48Speaker 2: Vista seven that kind of era.
- 2:50Speaker 1: Setting up backtrack is pretty easy. Boot from USB or DBD, yeah.
- 2:54Speaker 2: Standard Linux install, boot into the graphical mode, pretty straightforward.
- 2:58Speaker 1: Okay, backtracks running, mix up the access point.
- 3:03Speaker 2: The router, right, so you can figure it. Let's say
- 3:05Speaker 2: you create a network an SSID and wireless lab and
- 3:09Speaker 2: you set the authentication to open.
- 3:11Speaker 1: Open authentication, and the book warns you about that immediately,
- 3:15Speaker 1: doesn't it.
- 3:15Speaker 2: Oh yeah, big warning. It says, look, this is the
- 3:18Speaker 2: least secure mode. Don't connect this test network to the
- 3:21Speaker 2: actual Internet.
- 3:22Speaker 1: Because anyone nearby could just jump on anyone.
- 3:26Speaker 2: It's like leaving your front door unlocked and wide open.
- 3:28Speaker 1: That's a pretty stark warning for just setting up a
- 3:30Speaker 1: test lab makes you think about real world open networks,
- 3:33Speaker 1: It really does.
- 3:34Speaker 2: How many people connect without a second thought. So access
- 3:36Speaker 2: points set up. Then you get the alpha card working
- 3:39Speaker 2: with backtrack.
- 3:39Speaker 1: Which is easy because the built in support mm hmm.
- 3:42Speaker 2: Then a few commands to check things, a list, a
- 3:45Speaker 2: scan ping to test connectivity. Make sure your attacker machine
- 3:49Speaker 2: can see and talk to your new very insecure wireless
- 3:52Speaker 2: lab network.
- 3:53Speaker 1: Okay, sandbox built, the lab is ready. Now thinking like
- 3:57Speaker 1: an attacker. Do you even see what's happening in these
- 4:01Speaker 1: invisible radio waves?
- 4:03Speaker 2: You listen, you sniff see w a lands wireless local
- 4:07Speaker 2: area networks. They communicate using these basic units called frames frames, right,
- 4:12Speaker 2: and there are three main types. You've got management frames
- 4:14Speaker 2: that's all the admin stuff joining the network.
- 4:17Speaker 1: Beacons probes like devices saying I'm here or are you
- 4:21Speaker 1: there exactly?
- 4:22Speaker 2: Then control frames they're like the traffic signals, making sure
- 4:26Speaker 2: data flows okay, rts cts ACKs, request.
- 4:29Speaker 1: To send clear to sand acknowledgment, got it.
- 4:31Speaker 2: And finally data frames. That's the actual payload. You are
- 4:34Speaker 2: web traffic emails. You know the content, So how do.
- 4:38Speaker 1: You capture these? That's the sniffing part, right.
- 4:41Speaker 2: You put your special Wi Fi card, like that Alpha card,
- 4:44Speaker 2: into monitor mode. There's a tool called AIRMoN that helps
- 4:47Speaker 2: create this special listening interface often.
- 4:50Speaker 1: Called man rate monitor mode. So it's not connecting, just.
- 4:53Speaker 2: Listening passively listening to everything. It's like giving yourself Wi
- 4:56Speaker 2: Fi X ray vision. You can literally sniff wireless package
- 5:00Speaker 2: it's off the air, and.
- 5:01Speaker 1: Then you need something to make sense of all that
- 5:02Speaker 1: raw data.
- 5:03Speaker 2: That's where wire shark comes in. Powerful tool. It captures
- 5:07Speaker 2: the packets and lets you analyze them. You can filter too,
- 5:10Speaker 2: like show me only management frames or only data frames.
- 5:14Speaker 1: And what does this sniffing reveal? What's the big takeaway?
- 5:18Speaker 2: The big one? If the traffic isn't encrypted, it's completely exposed.
- 5:22Speaker 2: Sniffing unencrypted data is trivially easy.
- 5:25Speaker 1: So anyone listening can just read.
- 5:27Speaker 2: Your stuff pretty much, which is exactly why we need
- 5:30Speaker 2: encryption on wireless networks. It's not optional, it's essential. For
- 5:33Speaker 2: any kind of privacy.
- 5:34Speaker 1: Okay, so listening is powerful, but you mentioned injection too,
- 5:38Speaker 1: sending your own messages.
- 5:39Speaker 2: Yeah, packet injection tools like airplane. They let you craft
- 5:44Speaker 2: and send your own packets onto the network.
- 5:46Speaker 1: Even if you're not actually connected, like authenticated.
- 5:49Speaker 2: Even then it's like shouting into the room without being
- 5:52Speaker 2: invited to the party. You can still be heard, and
- 5:54Speaker 2: you can disrupt things or trick devices.
- 5:56Speaker 1: But there are limits, right, You can't just blast signals anywhere.
- 6:00Speaker 2: First hardware limits. Your card has to support the right
- 6:03Speaker 2: frequency bams two point four gigaberts maybe five gigahertz, and
- 6:07Speaker 2: the specific channel the target network is.
- 6:09Speaker 1: Using, and you can only listen or inject on one
- 6:12Speaker 1: channel at a time.
- 6:13Speaker 2: Exactly. Think of your car radio. You tune it to
- 6:15Speaker 2: one station, right, same idea here, You pick a channel
- 6:18Speaker 2: and that's where you operate. Can't monitor all eleven or
- 6:21Speaker 2: fourteen channels at once with one card?
- 6:24Speaker 1: Makes sense? What about rules and regulations?
- 6:26Speaker 2: Ah? Yes, regulatory domains. Every country sets rules for these
- 6:30Speaker 2: unlicensed radio bands, things like maximum power output, which channels
- 6:35Speaker 2: are allowed, and this varies a lot hugely. The book
- 6:37Speaker 2: gives a great example in the US, maybe you're limited
- 6:40Speaker 2: to twenty seven dBm, which is five hundred milliwatts. But
- 6:43Speaker 2: if you were in Bolivia, you could set your cards
- 6:46Speaker 2: regulatory domain to BO and transmit at one wat thirty dBm,
- 6:50Speaker 2: double the power, and use channels banned in the US.
- 6:53Speaker 1: Wow. So the same hardware could behave very differently legally
- 6:56Speaker 1: depending on where you are. That raises questions for you,
- 6:58Speaker 1: the listener, doesn't it? How might these geographical rule differences
- 7:02Speaker 1: affect wireless security across borders?
- 7:05Speaker 2: Definitely something to think about. Okay, so we know how
- 7:07Speaker 2: the signals work, how to listen, how to inject the
- 7:10Speaker 2: next step for an attacker trying to break the security
- 7:12Speaker 2: itself authentication and encryption.
- 7:15Speaker 1: And this is where a lot of common security measures
- 7:17Speaker 1: start to look pretty weak.
- 7:18Speaker 2: Oh yeah, like hidden sads. People think hiding the network
- 7:22Speaker 2: name adds security.
- 7:23Speaker 1: Security through obscurity, right.
- 7:25Speaker 2: But the book just dismantles that idea Legitimate clients when
- 7:29Speaker 2: they connect, they broadcast the SSID name in probe requests
- 7:32Speaker 2: and responses unencrypted.
- 7:34Speaker 1: So you just listen for those.
- 7:35Speaker 2: YEP or even sneakier, you can force clients off the
- 7:39Speaker 2: network using de authentication packets when they try to reconnect boom,
- 7:43Speaker 2: they reveal the hidden SSID.
- 7:45Speaker 1: So basically useless as a security feature. What about MP
- 7:49Speaker 1: filtering locking it down to specific devices.
- 7:52Speaker 2: That's another age old technique, as the book calls it,
- 7:55Speaker 2: that fails miserably in the wireless world.
- 7:58Speaker 1: Why because the MP address are also sent unencrypted.
- 8:01Speaker 2: Exactly, you sniff the MP address of a legitimate client,
- 8:04Speaker 2: then you use a tool like a changer to spoof
- 8:06Speaker 2: your MP address to match THEIRS filter bypass.
- 8:10Speaker 1: Just like that. More security. Theater then makes you feel safe, but.
- 8:13Speaker 2: Doesn't actually stop a determined attacker. And open authentication, the
- 8:17Speaker 2: book is blunt, provides no real authentication at all.
- 8:21Speaker 1: Okay, so hidden SSIDs and C filters open off not
- 8:26Speaker 1: real security. What about shared key authentication? That sounds more secure.
- 8:30Speaker 1: It was used with WP, right.
- 8:32Speaker 2: It was, but it has a fundamental flaw. The whole
- 8:35Speaker 2: process relies on a challenge response using the shared WEP key. Okay,
- 8:39Speaker 2: but an attacker can just listen to this exchange. They
- 8:42Speaker 2: capture the plain text challenge sent by the access point,
- 8:45Speaker 2: and they capture the encrypted response sent back by the client, And.
- 8:48Speaker 1: Because they have both the original and the encrypted.
- 8:50Speaker 2: Version, they can use a simple mathematical operation xor to
- 8:53Speaker 2: figure out the keystream the secret sauce used for encryption
- 8:57Speaker 2: for that specific exchange.
- 8:58Speaker 1: WHOA, so they don't need the actual WP key itself.
- 9:01Speaker 2: Nope, they get the keystream and they can use that
- 9:04Speaker 2: to authenticate themselves to the network. It completely breaks the
- 9:07Speaker 2: shared secret idea.
- 9:08Speaker 1: That's bad, which leads us nicely into encryption flaws. Particularly
- 9:13Speaker 1: we put itself.
- 9:14Speaker 2: Ah, WEP wired equivalent privacy famously broken. The book states
- 9:19Speaker 2: it very clearly, WEP can always be broken, no matter
- 9:22Speaker 2: what the key used is or which access point is running.
- 9:25Speaker 1: It always that's a strong statement.
- 9:27Speaker 2: It's because the underlying crypto RC four as used in WP,
- 9:31Speaker 2: and especially the way it used initialization vectors I THEES,
- 9:35Speaker 2: was fundamentally flawed. It leaked information about the key over time.
- 9:38Speaker 1: So how does an attacker actually crack it?
- 9:40Speaker 2: In practice, it's a multi step process. Usually, first find
- 9:44Speaker 2: the network, usually with AERODUMPA yeah. Then you need lots
- 9:47Speaker 2: of data packets encrypted with that WEP key, tens or
- 9:51Speaker 2: hundreds of thousands.
- 9:52Speaker 1: How do you get those if you're not connected?
- 9:54Speaker 2: Packet injection Again, you capture a specific type of packet
- 9:57Speaker 2: like an ARP request and then replay it over and
- 10:00Speaker 2: over using airplane. The access point responds, generating more encrypted
- 10:04Speaker 2: traffic for you to capture.
- 10:05Speaker 1: Even though you don't know the key.
- 10:06Speaker 2: Yeah, clever, yep. Once you have enough captured data, you
- 10:10Speaker 2: feed it into a tool like air cracking. It analyzes
- 10:12Speaker 2: the weak ivs and pretty quickly usually recovers the WEEP key.
- 10:17Speaker 1: So WEP is just a non starter for security today.
- 10:21Speaker 2: Yeah.
- 10:21Speaker 1: What about WPA and WPA two using PSK pre shared
- 10:25Speaker 1: key that's what most home networks use.
- 10:27Speaker 2: Yeah, much better, much much better than WAP, but still vulnerable,
- 10:31Speaker 2: specifically to dictionary tax if and this is the big
- 10:34Speaker 2: if people use a weak.
- 10:36Speaker 1: Passphrase, the human element the password problem exactly.
- 10:40Speaker 2: The attack targets the four way WPA handshake. This happens
- 10:44Speaker 2: every time a device connects. It's a cryptographic exchange to
- 10:47Speaker 2: prove both sides know the shared key.
- 10:49Speaker 1: So you capture that handshake YEP.
- 10:51Speaker 2: Sniff it out of the air. Then you take that
- 10:53Speaker 2: captured handshake data and run air cracking again, but this
- 10:56Speaker 2: time you give it a dictionary file, a big list
- 10:58Speaker 2: of potential passwords, and.
- 11:00Speaker 1: It tries every password in the list against the handshake data.
- 11:03Speaker 2: Until it finds a match. The book puts it perfectly,
- 11:06Speaker 2: You are just as good as the dictionary you have.
- 11:08Speaker 2: If the real passphrase isn't in your list, you won't
- 11:11Speaker 2: crack it this way.
- 11:12Speaker 1: So a really long, complex unique passphrase makes this kind
- 11:16Speaker 1: of attack much.
- 11:17Speaker 2: Harder, exponentially harder, maybe impossible in a practical timeframe, but
- 11:22Speaker 2: people reuse passwords, use dictionary words.
- 11:25Speaker 1: Birthdays, making the dictionary attack feasible. Are there ways to
- 11:29Speaker 1: speed it up?
- 11:30Speaker 2: Oh? Yeah, Tools like gen click or pirate. They can
- 11:34Speaker 2: pre calculate parts of the process, especially if you know
- 11:36Speaker 2: the network name SIE and Pirate uses GPU's graphics cards
- 11:41Speaker 2: to crunch the possibilities way faster than a standard CPU.
- 11:45Speaker 1: Okay, so let's say you've cracked the key WEP or WPA.
- 11:49Speaker 1: What next? Can you read the data you captured earlier?
- 11:51Speaker 2: Yes, tools like airty cap. You feed it the cracked
- 11:55Speaker 2: key and the capture file the dot cap file, and
- 11:58Speaker 2: it decrypts the packets. You can see the actual data
- 12:01Speaker 2: that was flying.
- 12:01Speaker 1: Around in the final step the proof connecting to the network.
- 12:05Speaker 2: Right for a pen tester, that's the goal. Use standard
- 12:08Speaker 2: tools like i canfig for WP or EP A supplicant
- 12:11Speaker 2: for WPP two. Plug in the key you just cracked,
- 12:13Speaker 2: and connect to the network just like a legitimate user.
- 12:16Speaker 1: That's the ultimate validation. Okay, let's shift gears a bit
- 12:19Speaker 1: beyond cracking keys. How else can attackers target the network?
- 12:23Speaker 1: The infrastructure itself well?
- 12:24Speaker 2: Access points? The routers themselves are often overlooked. The book
- 12:28Speaker 2: says they're sometimes the most neglected in terms of security. Also,
- 12:31Speaker 2: default passwords BINGO, default admin user names, and passwords that
- 12:36Speaker 2: never get changed. That's often an instant full system compromise,
- 12:41Speaker 2: easy access to the router's settings.
- 12:43Speaker 1: And even if they are changed, maybe they're weak.
- 12:46Speaker 2: Yep, vulnerable to dictionary attacks using tools like Hydra against
- 12:50Speaker 2: the router's web inner face or other management protocols.
- 12:53Speaker 1: What about just disrupting the network.
- 12:55Speaker 2: Denial of service dough attacks We mentioned deauthentication packets earlier.
- 12:59Speaker 2: You can last those out.
- 13:00Speaker 1: Continuously forcing everyone off the network.
- 13:03Speaker 2: Kicking clients off repeatedly, making the network basically dysfunctional, very
- 13:08Speaker 2: annoying and can be used as part of other attacks too.
- 13:10Speaker 1: And then there's the evil twin that sounds ominous it is.
- 13:14Speaker 2: It's a really potent attack. An attacker sets up their
- 13:16Speaker 2: own access point, maybe using their laptop and that alpha card,
- 13:19Speaker 2: and they give it the exact same name, the same
- 13:22Speaker 2: SSID as the legitimate network you want to connect to,
- 13:25Speaker 2: maybe even the same MOC just using spoofing, so.
- 13:28Speaker 1: Your devices two identical networks.
- 13:31Speaker 2: Or it might just see the attackers twin, especially if
- 13:33Speaker 2: its signal is stronger. Users might accidentally connect to the
- 13:36Speaker 2: fake one.
- 13:37Speaker 1: And if the attackers spoost the MAC address.
- 13:39Speaker 2: Too, it becomes even more difficult to detect and deter.
- 13:43Speaker 2: The book notes that even tools like aero dumping might
- 13:46Speaker 2: struggle to visually distinguish the real AP from the evil twin.
- 13:50Speaker 2: If the mac's match, so.
- 13:52Speaker 1: You connect to the attackers network thinking it's legit.
- 13:56Speaker 2: What happens Then the attacker is now sitting in the middle.
- 13:59Speaker 2: They can see your traffic, potentially steal credentials, redirect you
- 14:03Speaker 2: to fake websites. We'll get more into that with man
- 14:05Speaker 2: in the middle.
- 14:06Speaker 1: Okay, before that, what about rogue access points? Is that
- 14:09Speaker 1: different from an evil twin?
- 14:11Speaker 2: Yeah, slightly different concept. A rogue AP is an unauthorized
- 14:14Speaker 2: access point connected to the authorized network.
- 14:17Speaker 1: So someone plugs a cheap wireless router into the company's
- 14:20Speaker 1: wired network jack under.
- 14:22Speaker 2: Their desks exactly. It creates a backdoor entry. It bypasses
- 14:25Speaker 2: all the corporate firewall rules and security because it's connecting
- 14:28Speaker 2: from the inside out wirelessly.
- 14:30Speaker 1: A bridge from the untrusted wireless world directly into the
- 14:33Speaker 1: trusted wired network. Yep.
- 14:35Speaker 2: An attacker could even set up a wifey bridge to
- 14:38Speaker 2: relay traffic. It's described as a really serious security threat.
- 14:42Speaker 1: Definitely sounds like it. Okay, so that's attacking infrastructure. What
- 14:46Speaker 1: about going directly after the clients, the laptops the phone's connecting.
- 14:50Speaker 2: Absolutely. Misassociation attacks are one way. Imagine a client that's
- 14:54Speaker 2: not connected, but it's probing looking for networks that knows,
- 14:58Speaker 2: like wireless lab or my home WiFi.
- 15:01Speaker 1: Right devices do that automatically.
- 15:02Speaker 2: An attacker can set up a fake AP with that
- 15:06Speaker 2: name and lure the client into connecting to them instead
- 15:08Speaker 2: of the.
- 15:09Speaker 1: Real network, especially if the fake signal is stronger.
- 15:12Speaker 2: Precisely, you can even force a client off a legitimate
- 15:15Speaker 2: network with death packets, and then when it tries to reconnect,
- 15:18Speaker 2: it sees your stronger fake AP first and connects.
- 15:21Speaker 1: To you sneaky. And this ties into the cafe latte
- 15:25Speaker 1: attack you mentioned earlier. The author's discovery.
- 15:27Speaker 2: It does that attacks specifically targeted WP clients. The genius
- 15:32Speaker 2: part was realizing you could get the WEP key by
- 15:35Speaker 2: interacting only with the client, even if the real access
- 15:37Speaker 2: point wasn't anywhere nearby.
- 15:39Speaker 1: How does that even work?
- 15:40Speaker 2: It involves setting up a fake AP, getting the client
- 15:43Speaker 2: to connect to you, and then cleverly manipulating the ARP
- 15:46Speaker 2: packets the client sends after it connects. By bitflipping and
- 15:50Speaker 2: replaying these packets, you could trick the client into generating
- 15:53Speaker 2: enough specific kinds of traffic.
- 15:55Speaker 1: That leak information about the.
- 15:57Speaker 2: Wep key, exactly enough data for Airing to work its
- 16:00Speaker 2: magic and recover the key, all without the original AP
- 16:04Speaker 2: being involved. Purely client side exploitation.
- 16:07Speaker 1: It's really clever. Does anything similar exist for WPA? Can
- 16:10Speaker 1: you attack the client without the AP? For WPA keys?
- 16:14Speaker 2: Surprisingly yes to some extent. For WPA personal PSK, you
- 16:18Speaker 2: can perform an apless crack.
- 16:20Speaker 1: Meaning you don't need the real router present. Right.
- 16:22Speaker 2: Remember the four way handshake needed for a dictionary attack.
- 16:25Speaker 2: You actually only need the first two packets of that handshake.
- 16:28Speaker 1: Just the first two.
- 16:29Speaker 2: Yeah, those first two messages contain enough information the cryptographic
- 16:34Speaker 2: nonss the MAAC addresses for air cracking to run a
- 16:38Speaker 2: dictionary attack. So if you can somehow capture just those
- 16:41Speaker 2: first two packets exchanged between a client and any AP,
- 16:44Speaker 2: even a fake one, or just passively sniff them when
- 16:48Speaker 2: the client connects, normally.
- 16:49Speaker 1: You can try to crack the password offline later without
- 16:52Speaker 1: ever interacting with the real.
- 16:54Speaker 2: AP again exactly, it broadens the attack surface significantly if
- 16:57Speaker 2: you don't need the AP. Where else could you capture
- 16:59Speaker 2: these initial packets? Maybe just by being near someone when
- 17:03Speaker 2: they connect their phone at a cafe.
- 17:05Speaker 1: Interesting possibility. What's why fishing sounds like fishing kind of is?
- 17:09Speaker 2: Yeah? An attacker sets up multiple fake access points or honeypots.
- 17:13Speaker 2: They all have the same name SSID as a target network,
- 17:16Speaker 2: maybe different security settings one open one, WP one WPA two.
- 17:21Speaker 1: Why different security settings to act as bait.
- 17:24Speaker 2: When a client probes for that network name, the attacker
- 17:26Speaker 2: sees which fake AP the client tries to connect to first.
- 17:30Speaker 2: That reveals what security configurations the client has stored and
- 17:33Speaker 2: trusts for that SSID.
- 17:35Speaker 1: Ah, so you learn if the client expects WB or
- 17:39Speaker 1: WPA two, or maybe even connects to an open network
- 17:42Speaker 1: with that name if one is available.
- 17:44Speaker 2: Intelligence gathering precisely helps tailor the next stage of the attack.
- 17:49Speaker 1: Okay, this leads us into the really advanced stuff man
- 17:52Speaker 1: in the middle attacks. You mentioned the Evil Twins setup, right.
- 17:55Speaker 2: That's a classic way to achieve MITM. On wireless, attackers
- 18:00Speaker 2: sets up a fake AP, victim connects to the fake AP.
- 18:04Speaker 2: The attackers machine is usually also connected to the legitimate network,
- 18:08Speaker 2: maybe via the wired land or another wireless card, so.
- 18:12Speaker 1: The attacker's machine is physically sitting between the victim and
- 18:15Speaker 1: the real internet or network.
- 18:17Speaker 2: Correct because all the traffic is being relayed from the
- 18:20Speaker 2: wireless interface victim side to the wired side Internet side,
- 18:23Speaker 2: we have full control over the traffic.
- 18:26Speaker 1: Full control meaning they can see everything.
- 18:28Speaker 2: Everything passing through them, even traffic not specifically addressed to
- 18:31Speaker 2: the attackers machine. They can just peer into the bridge traffic,
- 18:35Speaker 2: as the book says, eavesdrop on web browsing, chats, whatever
- 18:38Speaker 2: isn't encrypted end to end.
- 18:40Speaker 1: So HTTPS would still protect the content, but they'd see
- 18:42Speaker 1: where you're going.
- 18:43Speaker 2: Generally, yes, but they can do more than just watch.
- 18:46Speaker 2: They can manipulate. Session hijacking is a big one.
- 18:49Speaker 1: How does that work?
- 18:50Speaker 2: DNIS hijacking is a classic example with n MITM. Your
- 18:53Speaker 2: computer asks what's the IP address for Google dot Com.
- 18:57Speaker 2: The attacker intercepts that request and send back a fake
- 19:00Speaker 2: DNS response.
- 19:01Speaker 1: Pointing Google dot Com to their own machine instead of
- 19:04Speaker 1: Google servers.
- 19:05Speaker 2: Exactly. So when your browser tries to go to Google,
- 19:07Speaker 2: it connects to the attackers machine, and.
- 19:09Speaker 1: The attacker can then serve up whatever they want, a
- 19:12Speaker 1: fake login page.
- 19:14Speaker 2: Malware, anything. The book mentions just serving the default Apache
- 19:18Speaker 2: it works page as a simple proof of concept, but yeah,
- 19:21Speaker 2: fake log in pages are common. It highlights a key point.
- 19:25Speaker 2: Once we have full control of the lower layers layer
- 19:27Speaker 2: two in this case, it is easy to hijack applications
- 19:30Speaker 2: running on higher layers, such as DMS clients and web browsers.
- 19:33Speaker 1: Layer two control gives you power over layer seven applications.
- 19:36Speaker 1: That's scary, Okay, what about the big enterprise networks WPA
- 19:40Speaker 1: enterprise radius servers. Surely that's more secure.
- 19:43Speaker 2: It definitely should be. But the book challenges the idea
- 19:47Speaker 2: that WPA enterprise has this aura of unbreakable around it.
- 19:52Speaker 2: It suggests nothing could be further from the truth if
- 19:54Speaker 2: it's misconfigured, miscontigured. How a common protocol used is PEEP
- 19:59Speaker 2: If the clients. The employee's laptop maybe is set up
- 20:02Speaker 2: not to properly validate the server's certificate.
- 20:05Speaker 1: So it doesn't check if the Radius server it's talking
- 20:07Speaker 1: to is legitimate.
- 20:08Speaker 2: Right, an attacker can perform a man in the middle,
- 20:11Speaker 2: present a fake certificate for the Radius server and the
- 20:13Speaker 2: client might just accept it.
- 20:15Speaker 1: Okay. What happens then the.
- 20:16Speaker 2: Inn authentication protocol often ms chap v two proceeds. Even
- 20:21Speaker 2: though the attacker doesn't get the user's password directly, they
- 20:23Speaker 2: can capture the username and the challenge response hashes exchange
- 20:27Speaker 2: during that ms chap v two.
- 20:28Speaker 1: Process, and those hashes can be cracked.
- 20:31Speaker 2: Yes, tools like a SLEEP are specifically designed to crack
- 20:34Speaker 2: ms chap v two hashes, potentially revealing the user's password.
- 20:38Speaker 1: So even WPA enterprise isn't fool proof if not configured correctly,
- 20:43Speaker 1: especially on the client side. What about other enterprise methods.
- 20:46Speaker 2: Eap TTLs is mentioned as similar. If it uses ms
- 20:50Speaker 2: chap v two inside the secure tunnel and certificate validation
- 20:54Speaker 2: is weak, it's vulnerable to the same kind of hash
- 20:57Speaker 2: cracking attack.
- 20:57Speaker 1: Wow, so configuration details absolutely critical. Okay, stepping back, we've
- 21:02Speaker 1: covered sniffing injection cracking, WVPWPA, evil twins, MITM, even enterprise attacks.
- 21:10Speaker 1: How does this all come together in a real penetration test?
- 21:12Speaker 1: Is there a method?
- 21:13Speaker 2: Yes, definitely, it's systematic. The book outline stages similar to
- 21:17Speaker 2: a wired network test. Planning, discovery, attack, and reporting.
- 21:21Speaker 1: So planning what you're testing, discovering the networks and clients right.
- 21:24Speaker 2: Discovery involves identifying access points, clients their security settings using
- 21:29Speaker 2: tools like aer dumping.
- 21:30Speaker 1: In the attack phase, using the techniques we discuss, and
- 21:33Speaker 1: finally reporting the findings exactly.
- 21:35Speaker 2: And a key part of discovery and reporting is identifying
- 21:38Speaker 2: specific threats like rogue access points.
- 21:41Speaker 1: How do you find those? Definitively we said they bypass firewalls.
- 21:44Speaker 2: It's tricky. You can try matching as the addresses seen
- 21:47Speaker 2: on the wireless side with non EMICs on the wired network.
- 21:50Speaker 2: If you find a wireless ap whose MS isn't on
- 21:53Speaker 2: the wired switch tables, it might be rogue. But more
- 21:56Speaker 2: advanced tools like wireless intrusion prevention systems WAS are better
- 22:01Speaker 2: at this.
- 22:02Speaker 1: What about unauthorized clients someone bringing their personal lapsop onto
- 22:06Speaker 1: the corporate Wi Fi?
- 22:07Speaker 2: Aero dumpin can help there too. You map out all
- 22:10Speaker 2: the clients connected to your authorized access points. If you
- 22:12Speaker 2: see a device connected that isn't on your approved list,
- 22:15Speaker 2: that's an unauthorized client, a potential breach right there.
- 22:18Speaker 1: It really sounds like a continuous battle. The tech evolves,
- 22:21Speaker 1: attacks evolve absolutely.
- 22:23Speaker 2: The book stress is that Wi Fi security is constantly evolving.
- 22:27Speaker 2: New attacks, new tools, new defenses appear all the time.
- 22:30Speaker 2: It's a journey, not a destination.
- 22:33Speaker 1: So how do you keep learning? What's next? After mastering
- 22:35Speaker 1: the basics in this guy.
- 22:36Speaker 2: Build a more advanced lab. The book suggests getting directional
- 22:39Speaker 2: antennas for focused attacks, different types of access points eight
- 22:43Speaker 2: oh two point one ABGM, more Wi Fi cards, maybe
- 22:46Speaker 2: smartphones and tablets to test against.
- 22:49Speaker 1: Keep experimenting and keep reading.
- 22:51Speaker 2: Definitely stay updated. The author points to specific resources mailing
- 22:55Speaker 2: lists like wifisec at, SecurityFocus dot com, okay, websites like aircrack,
- 22:59Speaker 2: dash dot org itself. Rale Siles maintains a huge list
- 23:03Speaker 2: of wireless security resources. Joshua Wrights blog is great for
- 23:07Speaker 2: WPA enterprise attacks and conferences. Big ones like Defcon and
- 23:11Speaker 2: black Hat. Many talks and materials end up online for free.
- 23:15Speaker 2: Constant learning is crucial, so.
- 23:17Speaker 1: Bringing this all together, we've gone pretty deep into the
- 23:21Speaker 1: vulnerabilities hiding in plain sight in wireless networks, from just
- 23:25Speaker 1: listening in to actively breaking encryption to impersonating networks.
- 23:30Speaker 2: It's quite the landscape. And these aren't just theoretical attacks.
- 23:33Speaker 2: The book shows how practical they are, with readily available
- 23:35Speaker 2: tools exploiting everything from obvious week passwords to subtle flaws
- 23:39Speaker 2: and protocol design.
- 23:40Speaker 1: And understanding this For you, the listener, it's not just
- 23:43Speaker 1: about learning how to hack Wi Fi. It's about defense.
- 23:45Speaker 2: Right absolutely, Knowing the offense informs the defense. It helps
- 23:49Speaker 2: you make much smarter choices about your own security, whether
- 23:52Speaker 2: it's locking down your home network properly or understanding the
- 23:55Speaker 2: risks in an enterprise environment. It's about seeing that invisible
- 23:58Speaker 2: world more clearly.
- 24:00Speaker 1: So here's a final thought to leave you with. Wi
- 24:02Speaker 1: Fi security evolves so fast. We've talked about WEP, WPA,
- 24:06Speaker 1: WPA TWOWPA three is out there now, but history suggests
- 24:10Speaker 1: something new will emerge. What's the next unexpected vulnerability going
- 24:13Speaker 1: to be and how will our ever increasing reliance on
- 24:16Speaker 1: wireless everything amplify its impact when it hits.
- 24:20Speaker 2: It's a fascinating and maybe slightly worrying question, as the
- 24:23Speaker 2: book implies, you really do have to remain a student
- 24:26Speaker 2: forever in this field.