Latest / CyberSecurity Summary / Network Forensics with Wireshark: Build Practical Expertise in Network Monitoring, Threat Detection, and Cyber Forensics with Wireshark
Transcript
- 0:00Speaker 1: You know that feeling when you're sitting in a dead,
- 0:02Speaker 1: silent room, maybe it's late at night, your laptop is open,
- 0:05Speaker 1: your phone is on the table, and it just feels well,
- 0:09Speaker 1: it feels uceful, it feels peaceful. But if you could
- 0:11Speaker 1: actually see what was happening in the air around you,
- 0:14Speaker 1: if you have like X ray vision for data, that
- 0:18Speaker 1: room would be absolute chaos, would be screaming.
- 0:21Speaker 2: Oh yeah, it would be completely deafening.
- 0:23Speaker 1: Because every millisecond there are thousands of these invisible conversations happening.
- 0:29Speaker 1: Your phone talking to the router, your laptop negotiating with
- 0:33Speaker 1: some server in Virginia, your smart bulb checking for firmware updates. Right,
- 0:39Speaker 1: it is a massive, frantic, highly orchestrated exchange, and usually
- 0:43Speaker 1: we are just completely blind to it.
- 0:45Speaker 2: Well till something breaks, you know. That's usually when we
- 0:47Speaker 2: actually start paying attention to the network exactly.
- 0:50Speaker 1: And that is exactly where we're going today for this
- 0:52Speaker 1: deep dive. We are looking at the invisible nervous system
- 0:55Speaker 1: of the modern world. We're basing our discussion today on
- 0:58Speaker 1: a really comprehensive guide called Network Forensics with wire Shark
- 1:02Speaker 1: by Pavicshaw, and.
- 1:04Speaker 2: I think it's important to right off the bat, this
- 1:06Speaker 2: isn't just a basic how to manual. Shaw really frames
- 1:10Speaker 2: wire Shark, which by the way, is the absolute industry
- 1:14Speaker 2: standard tool for analyzing network traffic. He frames it as
- 1:18Speaker 2: a lens. It's a way to capture those invisible packets
- 1:21Speaker 2: flying through the air and basically freeze them in time
- 1:24Speaker 2: so we can actually dissect them.
- 1:26Speaker 1: So our mission today is to step into the shoes
- 1:28Speaker 1: of that forensic analyst. We are going to trace the
- 1:32Speaker 1: life of a data packet. We're going to see how
- 1:35Speaker 1: your devices agree to talk, how they handle it when
- 1:38Speaker 1: messages get lost, and how they keep secrets. And we
- 1:42Speaker 1: are starting at a place I honestly didn't expect a
- 1:45Speaker 1: hardcore networking text to start.
- 1:47Speaker 2: The dashboard of your car.
- 1:48Speaker 1: A car, because apparently before we can even talk about
- 1:51Speaker 1: the internet, we need to talk about the infotainment system.
- 1:53Speaker 2: It makes perfect sense if you think about it, though.
- 1:56Speaker 2: Modern cars are literally just networks on wheels that screen
- 2:00Speaker 2: on your dash the integrated head unit. It isn't just
- 2:02Speaker 2: a radio.
- 2:03Speaker 1: Anymore, right, It's a computer.
- 2:04Speaker 2: It's a massive hub. It's running an operating system. It
- 2:07Speaker 2: talks to the heads of display and it has to
- 2:09Speaker 2: pull data from sensors located all over the vehicle.
- 2:13Speaker 1: And this introduces our first big concept which Shaw spends
- 2:16Speaker 1: a good amount of time on the SAHM CAN the
- 2:20Speaker 1: Controller Area network.
- 2:22Speaker 2: Right, So to understand, can imagine the wiring in a
- 2:26Speaker 2: car from say the nineteen sixties. If you wanted the
- 2:29Speaker 2: brake pedal to turn on the tail lights, you basically
- 2:32Speaker 2: ran a physical copper wire from the pedal all the
- 2:34Speaker 2: way to the light. Simple.
- 2:36Speaker 1: But now you have airbags, abs, engine, timing, climate control, navigate.
- 2:41Speaker 1: I mean, if you ran a dedicated wire for every
- 2:43Speaker 1: single connection today, the car would weigh ten tons exactly.
- 2:46Speaker 2: It'd be impossible. So the CAN protocol solves this physical problem.
- 2:50Speaker 2: It treats the car's components as nodes and they all
- 2:53Speaker 2: share a single communication light.
- 2:54Speaker 1: A serial bus, a serial bus.
- 2:56Speaker 2: Yeah, it's almost like an old school party line telephone.
- 2:58Speaker 2: Everyone's listening to the same way, and when a message
- 3:00Speaker 2: comes down the line, the right note just grabs it.
- 3:02Speaker 1: Shaw uses a really specific example here that I thought
- 3:05Speaker 1: was great because it immediately raises the stakes. He talks
- 3:07Speaker 1: about the spark ignition engine.
- 3:09Speaker 2: Yeah, because the internal combustion engine is entirely a timing game.
- 3:13Speaker 2: You need the stark to fire in the combustion chamber
- 3:16Speaker 2: at the exact millisecond the fuel.
- 3:17Speaker 1: Is compressed, and if that signal is late, the.
- 3:20Speaker 2: Engine knocks or just straight up doesn't run right. So
- 3:23Speaker 2: the engine control unit, the ECU, it needs to coordinate
- 3:27Speaker 2: that spark instantly. It absolutely cannot wait for the air
- 3:30Speaker 2: conditioning system to finish reporting the cabin temperature.
- 3:32Speaker 1: It needs priority exactly.
- 3:34Speaker 2: The network has to prioritize. And this is really our
- 3:37Speaker 2: first core lesson in networking. Latency matters and protocols, which
- 3:42Speaker 2: are basically just the rules of the road, are what
- 3:45Speaker 2: prevent the entire system from crashing.
- 3:47Speaker 1: Okay, so the CANbus is the model for the car.
- 3:49Speaker 1: It's contained, but when we move out to the Internet,
- 3:52Speaker 1: we need a much bigger model, and the source material
- 3:55Speaker 1: brings up the famous OSI.
- 3:57Speaker 2: Model, ah the open systems intercannation model. If you have
- 4:01Speaker 2: ever taken to computer science class, you've definitely memorized the
- 4:05Speaker 2: seven layer.
- 4:05Speaker 1: DIP physical data link network all the way up to
- 4:09Speaker 1: application at the top.
- 4:10Speaker 2: It's a really elegant theoretical framework. It separates the raw
- 4:14Speaker 2: physical cables which is layer one, from the routing at
- 4:17Speaker 2: layer three. All the way up to the web browser
- 4:19Speaker 2: you're actually looking at, which is layer seven. But Shaw
- 4:23Speaker 2: makes a really critical distinction here.
- 4:24Speaker 1: Yeah, he says, the OSCI model is great for teaching,
- 4:27Speaker 1: but the TCPIP model is what actually runs the real world.
- 4:31Speaker 2: Because TCPIP is practical. It condenses those theoretical layers into
- 4:36Speaker 2: something workable. But the fundamental job is exactly the same.
- 4:40Speaker 2: You take a request from your browser, let's say, get
- 4:42Speaker 2: Megoogle dot com. You chop it up into tiny little pieces,
- 4:46Speaker 2: you address them, and you show them onto the.
- 4:48Speaker 1: Wire where the rubber meets the road.
- 4:50Speaker 2: Literally.
- 4:51Speaker 1: Okay, so let's get into the weeds here. Let's look
- 4:53Speaker 1: at one of those actual conversations. Because the source heavily
- 4:56Speaker 1: emphasizes that the Internet is not just a fire hose.
- 4:59Speaker 1: You don't just blast a bunch of data at a
- 5:00Speaker 1: server and cross your fingers hoping it catches that.
- 5:03Speaker 2: Now you have to be polite.
- 5:04Speaker 1: You have to shake hand.
- 5:04Speaker 2: Yes, the TCP three way handshake. It is fundamental to
- 5:09Speaker 2: everything we do online. Almost nothing on the web happens
- 5:13Speaker 2: without this specific ritual happening. First, I really.
- 5:16Speaker 1: Want to walk through this because I think people just
- 5:19Speaker 1: assume computers connect instantly you click a link, Boom, it's there.
- 5:23Speaker 1: But there's a whole negotiation happening. So let's roleplay this
- 5:26Speaker 1: a bit. Okay, I will be my laptop. You can
- 5:28Speaker 1: be the server. I want to download a file from you.
- 5:31Speaker 1: I don't just start screaming give me the file.
- 5:33Speaker 2: No, that would be UDP, which we can get to
- 5:35Speaker 2: in a bit with TCP. You want guaranteed reliability, So
- 5:40Speaker 2: step one, your laptop sends a syn packet syn it
- 5:44Speaker 2: stands for synchronize. You're essentially walking up to me and saying, knock, knock.
- 5:49Speaker 2: I would like to open a secure line. Here's my
- 5:51Speaker 2: starting sequence number.
- 5:52Speaker 1: Okay, so I've knocked. What's step two.
- 5:54Speaker 2: I'm the server. I receive that knock. If I'm active
- 5:57Speaker 2: and have the bandwidth, I reply with a yn ack,
- 6:01Speaker 2: synchronize and acknowledge. I'm basically saying I heard your knock.
- 6:05Speaker 2: That is the ACK part, and I'm also ready to
- 6:08Speaker 2: synchronize our communication. That's the syn part.
- 6:10Speaker 1: So we are halfway there. I know you're ready, you
- 6:13Speaker 1: know I'm ready. Why isn't that enough? Why do we
- 6:15Speaker 1: need a three way handshake?
- 6:17Speaker 2: Because I don't know that you know that I'm ready.
- 6:19Speaker 1: It sounds like a really bad comedy sketch.
- 6:21Speaker 2: It does. It's very redundant, but that is exactly why
- 6:25Speaker 2: we need step three. You have to send a final
- 6:28Speaker 2: ack packet back to me acknowledged I got your confirmation.
- 6:32Speaker 1: And once that third packet hits.
- 6:34Speaker 2: Once that hits my specialized network card, the socket is
- 6:38Speaker 2: officially open. Boom, we are connected and data can flow.
- 6:42Speaker 1: And this little three step dance happens for every single website.
- 6:46Speaker 2: You visit, every single site, every image resource on the page.
- 6:50Speaker 2: Sometimes it happens dozens of times simultaneously just to load
- 6:53Speaker 2: one single news article.
- 6:54Speaker 1: Wow. Now you mentioned sequence numbers during that handshake, and
- 6:58Speaker 1: the source material has these screenshots from wire Shark where
- 7:01Speaker 1: there are these absolutely huge numbers associated with every package.
- 7:04Speaker 2: Yeah, that is how TCP keeps the story straight. The
- 7:08Speaker 2: Internet is incredibly messy. Packets don't always take the same route,
- 7:12Speaker 2: so they don't always arrive in the right order. Imagine
- 7:14Speaker 2: if I sent you a book in the mail one
- 7:16Speaker 2: page at a time, page fifty might actually arrive at
- 7:18Speaker 2: your house before page ten.
- 7:20Speaker 1: So the sequence number is just the page.
- 7:21Speaker 2: Number essentially, Yes, but it tracks individual bytes of data,
- 7:27Speaker 2: not pages. So if I send you a thousand bytes
- 7:30Speaker 2: of data, and my current sequence number is five thousand,
- 7:33Speaker 2: The next sequence number will be six thousand.
- 7:35Speaker 1: It's just simple edition, current sequence.
- 7:38Speaker 2: Plus the data payload exactly, simple edition.
- 7:40Speaker 1: Sure, simple addition. But in the wire Shark screenshots, show
- 7:44Speaker 1: provides these numbers are terrifying to look at. They're like
- 7:47Speaker 1: three billion, four hundred million in something.
- 7:49Speaker 2: They're massive. Yeah, and that's because they're randomly generated for
- 7:53Speaker 2: security purposes. Ye, you really don't want to start at
- 7:56Speaker 2: number one every time you connect to your bank, or
- 7:58Speaker 2: hackers can easily guess your sex a hijacket. But Shaw
- 8:02Speaker 2: gives a really great pro tip here for anyone actually
- 8:04Speaker 2: opening up wire.
- 8:05Speaker 1: Shark relative sequence numbers.
- 8:07Speaker 2: Yes, turn that setting on immediately. It just tells Wireshark look,
- 8:11Speaker 2: I don't care that the real starting number is four billion.
- 8:14Speaker 2: Just treat the very first packet as zero and count
- 8:17Speaker 2: up from there. It makes the forensic analysis actually readable
- 8:20Speaker 2: for a human brain.
- 8:21Speaker 1: I definitely prefer starting at zero. Okay, so we've shaken hands.
- 8:26Speaker 1: We are counting the bytes. But this is the real world.
- 8:29Speaker 1: Backos cut fiber optic cables, WI Fi signals fade when
- 8:33Speaker 1: you walk into the kitchen what actually happens when the
- 8:36Speaker 1: conversation breaks.
- 8:37Speaker 2: This right here is the absolute core of network forensics,
- 8:41Speaker 2: spotting the errors. In the old days of TCP, if
- 8:44Speaker 2: we were sending a stream of data, let's say we
- 8:47Speaker 2: send packets one, two, three, and four and Packett two
- 8:50Speaker 2: just vanishes into the ether.
- 8:51Speaker 1: Receiver gets one, three and four and knows there's a
- 8:53Speaker 1: hole in the middle.
- 8:54Speaker 2: Right, it would send a message back to the server saying, hey,
- 8:56Speaker 2: I got up to pack it one, but I am
- 8:58Speaker 2: currently missing packet two. The problem was the center didn't
- 9:02Speaker 2: know if packets three and four arrived safely either. Oh,
- 9:05Speaker 2: I see, So it just played incredibly safe and resend
- 9:07Speaker 2: everything from packet too onwards.
- 9:09Speaker 1: It REASNDS two, three and four, But you just said
- 9:11Speaker 1: three and four were already sitting there. That seems incredibly wasteful.
- 9:14Speaker 2: It is terrible for bandwidth. It completely clogs the pipe.
- 9:18Speaker 2: And that's exactly why Shah highlights a protocol feature called
- 9:21Speaker 2: SCCK SACK Selective Acknowledgment.
- 9:25Speaker 1: I love the acronyms and networking they always sound slightly aggressive. SAC.
- 9:30Speaker 2: It is a total game changer for network efficiency. With
- 9:34Speaker 2: SACK enabled, the receiver can be surgically precise. It says, ok,
- 9:39Speaker 2: server I received everything up to byte one thousand, I
- 9:43Speaker 2: am missing the next chunk. But and here is the
- 9:46Speaker 2: clever part, I did receive the chunk from byte two
- 9:49Speaker 2: thousand to three thousand.
- 9:50Speaker 1: So it confirms the little islands of data it actually has.
- 9:54Speaker 2: Exactly and wire shark you can actually see these specific fields.
- 9:57Speaker 2: They are called the left edge and the right edge.
- 10:00Speaker 2: They literally define the start and end boundaries of the
- 10:03Speaker 2: data that actually made it through the chaos.
- 10:04Speaker 1: So the center just looks at those edges and says, oh,
- 10:06Speaker 1: you just need that one missing piece right in the middle.
- 10:09Speaker 2: It's a surgical strike. It fills the pothole without having
- 10:12Speaker 2: to repave the entire street. And when you are looking
- 10:14Speaker 2: at a wire shark capture of a really slow network,
- 10:17Speaker 2: seeing a ton of these sec K packets helps you
- 10:20Speaker 2: diagnose that the network is dropping data left and right,
- 10:22Speaker 2: but the protocol is fighting tooth and nail to recover
- 10:25Speaker 2: it efficiently.
- 10:26Speaker 1: It really gives you a lot of respect for the
- 10:28Speaker 1: people who design these protocols. They just assume failure is
- 10:30Speaker 1: inevitable and they build the system to plan for it.
- 10:33Speaker 2: That is the entire philosophy of the Internet. It is
- 10:36Speaker 2: technically classified as a best effort network. It promises to
- 10:39Speaker 2: try its hardest, but it never promises to be perfect.
- 10:42Speaker 1: Let's bring this a little closer to home for the listeners.
- 10:45Speaker 1: We've been talking a lot about the theory of the handshakes, sacks,
- 10:50Speaker 1: sequence numbers. But right now, you, the listener, are probably
- 10:54Speaker 1: sitting on your home Wi Fi network. What does all
- 10:56Speaker 1: of this look like for them?
- 10:57Speaker 2: Well, if they open their command prompt on their you
- 11:00Speaker 2: to right now and check their IP address. I can
- 11:02Speaker 2: almost guarantee you what numbers it starts.
- 11:04Speaker 1: With one nine, two six eight the absolute.
- 11:06Speaker 2: Classic and shop points out this specific rule book that
- 11:09Speaker 2: mandates this. It's called RSC nineteen eighteen. It's an engineering
- 11:14Speaker 2: document that basically set aside certain ranges of IP addresses
- 11:18Speaker 2: strictly for private internal use.
- 11:21Speaker 1: Private meaning they literally don't exist on the real public Internet.
- 11:24Speaker 2: Exactly. If you try to send a data packet to
- 11:27Speaker 2: one und two point one six eight point one point
- 11:29Speaker 2: five out on the public Internet, the major backbone routers
- 11:33Speaker 2: will just laugh at you and drop it in the trash.
- 11:36Speaker 2: Those addresses only exist inside the four walls of your house.
- 11:39Speaker 1: But wait a minute, if my laptop has a fake
- 11:42Speaker 1: private address. How am I reading the New York Times?
- 11:45Speaker 1: How does the server in New York know where to
- 11:46Speaker 1: send the web page back to if my address isn't real.
- 11:49Speaker 2: That is the magic trick performed by that little plastic
- 11:52Speaker 2: Wi Fi router sitting in your living room. It's a
- 11:55Speaker 2: process called NAT Network address translation.
- 11:58Speaker 1: I've definitely heard of NAT type when setting up gaming consoles,
- 12:01Speaker 1: but explain what it's actually doing behind the scenes.
- 12:04Speaker 2: Think of your home router like the mail room of
- 12:07Speaker 2: a giant corporate office building. The employees inside the building,
- 12:11Speaker 2: which are your phone, your laptop, your smart fridge, they
- 12:13Speaker 2: all have internal phone extension numbers like extension one one two,
- 12:17Speaker 2: one three. Those numbers don't work if you dial them
- 12:19Speaker 2: from outside the building. The building itself, however, has one
- 12:23Speaker 2: real public mailing address. That is your public IP address,
- 12:27Speaker 2: and it's assigned to you by your Internet service provider.
- 12:31Speaker 2: So when your laptop wants to send a request to Google,
- 12:33Speaker 2: you hand that packet to the router. The router physically
- 12:37Speaker 2: erases your internal extension the one ninety two point one
- 12:40Speaker 2: six eight number, It stamps its own public IP on
- 12:43Speaker 2: the return envelope, and it sends it out to the.
- 12:45Speaker 1: Internet, so it's basically impersonating my laptop.
- 12:48Speaker 2: It acts entirely on your behalf. And here is the
- 12:50Speaker 2: really crucial part. It writes down in a little temporary ledger,
- 12:54Speaker 2: I just sent a request to Google and it was
- 12:57Speaker 2: for the laptop on extension one oh one. When the
- 12:59Speaker 2: reply can it comes back from Google an instant later,
- 13:01Speaker 2: it looks at that ledger, sees who originally asks for it,
- 13:04Speaker 2: restamps the internal address on it, and passes it back
- 13:06Speaker 2: to your laptop.
- 13:07Speaker 1: And it is doing this for every single packet, for
- 13:10Speaker 1: every single device in the house simultaneously.
- 13:13Speaker 2: Thousands and thousands of times a second. That is exactly
- 13:15Speaker 2: why cheap home routers sometimes freeze up and need to
- 13:18Speaker 2: be rebooted. Maintaining that neat translation table in this memory
- 13:22Speaker 2: is really hard work.
- 13:23Speaker 1: That is just incredible, And related to this, the router
- 13:26Speaker 1: is usually also the thing handing out those internal extension
- 13:29Speaker 1: numbers in the first place. Right.
- 13:30Speaker 2: Yes, that service is called DACP Dynamic Host Configuration Protocol.
- 13:35Speaker 2: It's basically the office manager that assigns the extension so
- 13:38Speaker 2: your phone and your laptop don't accidentally fight over the
- 13:40Speaker 2: same IP address, but does something else that's absolutely critical
- 13:44Speaker 2: and tells your computer where to find the DNS server.
- 13:47Speaker 1: Ah DNS the famous phone book of the Internet.
- 13:50Speaker 2: I actually prefer to think of it as the contacts
- 13:52Speaker 2: app on your smartphone, because nobody actually memorizes phone numbers anymore.
- 13:57Speaker 2: You don't type one four to two point two, five,
- 13:59Speaker 2: zero point one nine, zero point four to six into
- 14:01Speaker 2: your browser. You just type Google dot com.
- 14:04Speaker 1: But the computers only speak in.
- 14:06Speaker 2: Numbers, right, So the DNS system is the translation bridge
- 14:09Speaker 2: between human words and computer numbers. And Shaw shows us
- 14:12Speaker 2: something really fascinating here when we look at it through
- 14:14Speaker 2: wire shark. We talked about TCP earlier, that highly reliable,
- 14:18Speaker 2: slightly slow, handshake heavy protocol. DNS doesn't usually use CCP.
- 14:22Speaker 2: It uses UDP, the.
- 14:24Speaker 1: User Data Ground protocol. Why does it use a different rule.
- 14:26Speaker 2: Book Because UDP is fire and forget there is no
- 14:30Speaker 2: three way handshake, There is no polite Did you hear me?
- 14:33Speaker 2: I heard you. You literally just shout into the void
- 14:36Speaker 2: where is Google? And the DNS server just shouts back
- 14:39Speaker 2: the IP address.
- 14:40Speaker 1: Because speed is everything in that moment. You don't want
- 14:43Speaker 1: to wait around for a multi step handshake just to
- 14:45Speaker 1: find out where the website is located exactly.
- 14:47Speaker 2: Every millisecond counts. And in wire Shark, if you dissect
- 14:50Speaker 2: a DNS packet, you can see all the layers stacked
- 14:53Speaker 2: up beautifully. You see the ethernet frame with the physical
- 14:56Speaker 2: MS addresses of the hardware. You see the IP layer
- 14:59Speaker 2: with the sore and destination addresses. You see the UDP
- 15:02Speaker 2: transport layer operating on port.
- 15:03Speaker 1: Fifty three, and then finally you see the payload, the
- 15:07Speaker 1: actual query you typed.
- 15:08Speaker 2: And this is where the deep dive gets very literal.
- 15:11Speaker 2: Shaw encourages his readers to look down at pain three
- 15:13Speaker 2: in the wire Shark interface, the raw hexadescimal dump.
- 15:17Speaker 1: This is the part that looks like matrix code, just
- 15:19Speaker 1: walls of numbers and letters like zero's and f's cascading
- 15:22Speaker 1: on the right side of the screen.
- 15:23Speaker 2: It really demystifies how the Internet works at a physical level.
- 15:27Speaker 2: When you type www, the network doesn't actually send the
- 15:30Speaker 2: letter W. It sends the hexadecimal value seventy seven. So
- 15:34Speaker 2: if you look closely at that raw dump, you will
- 15:36Speaker 2: literally see seventy seven seventy seven in the data stream.
- 15:39Speaker 3: And what about a full word like YouTube, It's broken
- 15:42Speaker 3: down letter by letter by its aske code, so it
- 15:44Speaker 3: shows up as seventy nine six F seventy five, seventy four,
- 15:47Speaker 3: seventy five sixty two sixty five.
- 15:49Speaker 1: It is genuinely wild to think about. I mean, billion
- 15:52Speaker 1: dollar industries, viral videos, entire political revolutions of being coordinated. Yeah,
- 15:57Speaker 1: and at the very bottom of the technology stack, it
- 16:00Speaker 1: is just seventy sevens and six f's flying as pulses
- 16:03Speaker 1: of light through a fiber optic cable under the ocean.
- 16:06Speaker 2: It is quite literally just data. But having that realization
- 16:09Speaker 2: seeing it right there in wire Shark, it brings up
- 16:11Speaker 2: the big scary question of network security. If it's all
- 16:13Speaker 2: just data and I can easily see it wire shark
- 16:16Speaker 2: on my laptop, can you see it too? If I'm
- 16:17Speaker 2: sitting cross from you to coffee shop, can you see
- 16:19Speaker 2: my bank password flying by an hexco?
- 16:21Speaker 1: And that brings us to the final and honestly probably
- 16:23Speaker 1: the most important topic covered in the source material, the
- 16:26Speaker 1: locked box HTTPS.
- 16:28Speaker 2: This is the fundamental difference between sending a postcard through
- 16:31Speaker 2: the mail and sending a locked titanium. Briefcase, standard HTTP
- 16:36Speaker 2: traffic is sent in clear text if you look at
- 16:38Speaker 2: it in wire Shark you can read the news article
- 16:40Speaker 2: the person is reading. You can see their search queries,
- 16:42Speaker 2: you can read their password. It's just sitting right there
- 16:44Speaker 2: in pain three.
- 16:45Speaker 1: Which is terrifying for anyone using public.
- 16:47Speaker 2: Wi Fi, which is exactly why almost the entire modern
- 16:50Speaker 2: web has force fully moved to HTTPS. The S stands
- 16:54Speaker 2: for security. It uses TLS Transport Layer security to completely
- 16:59Speaker 2: encrypt the payload before it ever leaves your machine.
- 17:02Speaker 1: But here is the nuance that I actually found really
- 17:04Speaker 1: surprising in Shaw's breakdown. Even with HTTPS turned on, you
- 17:08Speaker 1: can still see some things in wire shark. The connection
- 17:11Speaker 1: isn't totally invisible.
- 17:12Speaker 2: That's correct. The connection still relies on TCP underneath it all,
- 17:15Speaker 2: so you still see that initial three way handshake. And
- 17:18Speaker 2: right after that you see a packet labeled client hello.
- 17:21Speaker 2: This is the very start of the secure cryptographic.
- 17:23Speaker 1: Negotiation, the client hello. It sounds very polite. What is
- 17:27Speaker 1: actually inside that packet.
- 17:28Speaker 2: A lot of technical metadata. Your computer is essentially telling
- 17:32Speaker 2: the server hi, here is a list of all the
- 17:34Speaker 2: complex encryption codes and ciphers my browser understands. But crucially,
- 17:40Speaker 2: it also sends the SNI the server name indication. Think
- 17:45Speaker 2: of this as the two address printed on the outside
- 17:48Speaker 2: of that locked titanium briefcase.
- 17:50Speaker 1: So if a hacker or even just the network admin
- 17:53Speaker 1: at my office is running wire Shark, they can see
- 17:55Speaker 1: that I am visiting news eighteen dot com.
- 17:57Speaker 2: Yes, they can see the destination IP, and they can
- 17:59Speaker 2: clearly the domain name in the S and I field,
- 18:02Speaker 2: but they absolutely cannot see what is inside the briefcase.
- 18:05Speaker 1: So my boss knows I'm on a news site, but
- 18:07Speaker 1: they have no idea which specific article I'm reading or
- 18:10Speaker 1: what I'm typing into the search bar.
- 18:11Speaker 2: Exactly in wire Shark, after that initial polite hello phase,
- 18:15Speaker 2: every single packet that follows is just labeled application data.
- 18:18Speaker 2: And if you drop down to look at the hexpain
- 18:20Speaker 2: where we clearly saw seven seven seven seven to seven
- 18:22Speaker 2: seven seven earlier, now it's just completely random garbage. It's
- 18:26Speaker 2: crambled noise.
- 18:27Speaker 1: Because the network sniffer doesn't have the key to unlock
- 18:29Speaker 1: the briefcase.
- 18:30Speaker 2: Right, The whole system relies on public key encryption. The
- 18:34Speaker 2: destination server holds a private key that it never ever
- 18:37Speaker 2: shares over the wire. Without that specific mathematical key, unscrambling
- 18:42Speaker 2: that noise is virtually impossible.
- 18:45Speaker 1: But Shaw mentions that in the context of forensic analysis.
- 18:48Speaker 1: This incredible security feature can actually be a massive headache
- 18:52Speaker 1: if you are the good guy, right, you're the IT
- 18:55Speaker 1: admin trying to fix a broken network and everything is
- 18:58Speaker 1: encrypted noise. How do you delu it is a.
- 19:01Speaker 2: Huge ongoing challenge in the industry. If you own the
- 19:03Speaker 2: server you're diagnosing, you can actually load your private key
- 19:06Speaker 2: directly into wire shark and it will decrypt the traffic
- 19:09Speaker 2: locally so you can read it. But if you're just
- 19:11Speaker 2: troubleshooting why a user's connection to Google workspace is running slow,
- 19:15Speaker 2: you can't read the data. You are forced to rely
- 19:18Speaker 2: entirely on.
- 19:19Speaker 1: The metadata, so you're just looking at the handshakes, the
- 19:21Speaker 1: sack packets, the latency timing exactly.
- 19:24Speaker 2: You're observing the shape of the conversation because the actual
- 19:27Speaker 2: content of the conversation is dark.
- 19:29Speaker 1: It's a fundamental trade off. We as a society are
- 19:31Speaker 1: giving up easy inspectability in exchange for necessary privacy, and.
- 19:35Speaker 2: Given the stakes today, it's a trade offf we have
- 19:38Speaker 2: to make.
- 19:39Speaker 1: So just looking back at the whole journey we took today,
- 19:42Speaker 1: we started with the physical reality of the network, the
- 19:45Speaker 1: CANbus inside a car dashboard. Realizing that everything is just
- 19:48Speaker 1: nodes taking turns sharing a line.
- 19:50Speaker 2: Then we move to the logic of how connections form
- 19:53Speaker 2: the TCP three way handshake, syn synack ack the mandatory
- 19:58Speaker 2: politeness that happens before the data storm begins.
- 20:02Speaker 1: We saw how the system intelligently heals itself with SAK
- 20:05Speaker 1: when those packets inevitably get dropped, and how the home
- 20:08Speaker 1: router uses NAT to act as the ultimate mail room
- 20:11Speaker 1: traffic cop for all our personal devices.
- 20:13Speaker 2: And finally we saw how modern encryption turns those easily
- 20:17Speaker 2: readable hex codes back into scrambled noise, keeping our digital
- 20:20Speaker 2: secrets safe even while they travel through the open air
- 20:23Speaker 2: in a crowded coffee shop.
- 20:24Speaker 1: It honestly changes how you look at a simple loading
- 20:26Speaker 1: bar on your screen. When that little circle is spinning,
- 20:29Speaker 1: it isn't just loading. It is resolving DNS. It's handshaking,
- 20:33Speaker 1: acknowledging missing bytes, decrypting secure keys.
- 20:36Speaker 2: It is continuously performing a minor miracle of coordination.
- 20:39Speaker 1: So here is my final thought for you, the listener,
- 20:41Speaker 1: to chew on. The next time you click a simple link,
- 20:44Speaker 1: just take a split second to acknowledge the completely invisible,
- 20:47Speaker 1: frantic reality you just kicked off Those seventy sevens and
- 20:51Speaker 1: six steps aren't just abstract concepts. They are physical pulses
- 20:55Speaker 1: of electromagnetic energy manipulating the error around your body right
- 21:00Speaker 1: now to bring you a web page. It's literal energy
- 21:04Speaker 1: passing through you.
- 21:05Speaker 2: It's a bit mind vending when you put it like that.
- 21:07Speaker 2: And hey, if you really want to see the matrix
- 21:08Speaker 2: for yourself, go download wireshark. Just maybe don't run it
- 21:11Speaker 2: on your corporate work network unless you want an immediate,
- 21:15Speaker 2: very stern phone call from your IT department.
- 21:18Speaker 1: Yes, always get permission first. Always wise words. Thanks for
- 21:21Speaker 1: diving deep with us into the invisible threads of the Internet.
- 21:24Speaker 2: It was a pleasure to be here.
- 21:25Speaker 1: We will catch you on the next deep dive.