Latest / CyberCode Academy / Course 23 - WiFi Hacking with Raspberry Pi | Episode 2: Building The Perfect Raspberry Pi Hacking Kit
Transcript
- 0:00Speaker 1: Hello, and welcome back to the Deep Dive. Today we
- 0:03Speaker 1: are we're shifting gears. We're moving from all the theory,
- 0:06Speaker 1: the code, the abstract stuff.
- 0:08Speaker 2: Into the real world exactly.
- 0:10Speaker 1: We're putting the keyboard aside for a minute and picking
- 0:12Speaker 1: up the well, the shopping cart because today is all
- 0:15Speaker 1: about acquisition.
- 0:17Speaker 2: That's right, and it's I mean, it's probably the most
- 0:20Speaker 2: critical first step for any hardware project, especially hacking. Yeah,
- 0:25Speaker 2: you can have all the theory in the world, but
- 0:27Speaker 2: if you don't have the right silicon in your hands.
- 0:29Speaker 1: And it's all just talk, it's all just talk. Yeah.
- 0:31Speaker 2: And the tough part is if you buy the wrong
- 0:34Speaker 2: piece of gear, your project can fail before you've written
- 0:37Speaker 2: a single line of code.
- 0:39Speaker 1: And that's what we're focused on today, specifically the logistics
- 0:42Speaker 1: of getting set up with a Raspberry Pie. We've been
- 0:44Speaker 1: looking into this and it's basically a guide on you
- 0:46Speaker 1: know where to buy, what to buy, and maybe more importantly,
- 0:49Speaker 1: what not to buy.
- 0:51Speaker 2: It's one of those things that seems simple, right, it's
- 0:53Speaker 2: a tiny, cheap computer, How hard can it be? But
- 0:56Speaker 2: the nuance is everything, especially when you're preparing for something
- 0:59Speaker 2: specific like ethical hacking.
- 1:01Speaker 1: So our mission today is to just demystify that whole
- 1:05Speaker 1: shopping list. By the end of this you should feel
- 1:08Speaker 1: confident enough to know exactly what to click, what to
- 1:11Speaker 1: put in your cart, and why certain things are just
- 1:13Speaker 1: non negotiable.
- 1:14Speaker 2: Oh, I get. We're building the physical foundation, and if
- 1:17Speaker 2: that foundation is shaky, you know, if your power supply
- 1:20Speaker 2: is weak, your SD card is slow, the whole house
- 1:23Speaker 2: comes down.
- 1:24Speaker 1: Okay, so let's do it. I'm sitting at my desk
- 1:26Speaker 1: ready to go. I open my browser. Where do I go? First?
- 1:30Speaker 1: What's the source of truth here?
- 1:32Speaker 2: The first stop, no matter what has to be the
- 1:33Speaker 2: official site. So RaspberryPi dot org.
- 1:36Speaker 1: Okay, RaspberryPi dot org. But why, I mean, in a
- 1:40Speaker 1: world of next day delivery from Amazon, why am I
- 1:43Speaker 1: going to what's basically an informational site. They don't even
- 1:45Speaker 1: sell them directly most of the time.
- 1:47Speaker 2: That's a fair question. You go there for reconnaissance y connaissance. Yeah,
- 1:50Speaker 2: the whole Pi ecosystem is well, it's fragmented. You've got
- 1:53Speaker 2: third party bundles, you've got scalvers, older models being sold
- 1:56Speaker 2: as new. The official site is your baseline. It tells
- 1:59Speaker 2: you it's current, what the specs are, and who the
- 2:01Speaker 2: authorized sellers are.
- 2:03Speaker 1: So it's about avoiding the confusion of the gray market precisely.
- 2:07Speaker 2: It just grounds you. You need to know what the
- 2:09Speaker 2: standard price is so you don't get ripped off. Yeah,
- 2:12Speaker 2: start there, see what the real thing looks like. Then
- 2:14Speaker 2: you go hunting for a deal.
- 2:15Speaker 1: Okay, So speaking of hunting, let's talk about the specific model.
- 2:19Speaker 1: This is where I think people get tripped up right away.
- 2:21Speaker 1: There's the zero, the three, the four, the five, it's
- 2:24Speaker 1: just alphabet soup. The rule we've seen is at least
- 2:27Speaker 1: the Raspberry.
- 2:28Speaker 2: Pie three, at least the three or an upgraded version.
- 2:31Speaker 1: Let's push on that. Why I've got like a Raspberry
- 2:34Speaker 1: Pie two in a drawer somewhere, Why can't I just
- 2:37Speaker 1: dust that off and use it? Is this just you know,
- 2:40Speaker 1: tech snobbery.
- 2:41Speaker 2: It's definitely not snobbery. It's about the architecture. The jump
- 2:44Speaker 2: from the Pie two to the Pie three was Yeah,
- 2:46Speaker 2: it was a massive leap house. So the Pie three
- 2:49Speaker 2: introduced a sixty four bit processor. For just you know,
- 2:52Speaker 2: blinking an LED maybe that doesn't matter, but for hacking
- 2:56Speaker 2: it's crucial.
- 2:57Speaker 1: Why, though, what's a hacking course gonna throw at me
- 2:59Speaker 1: that already two bit process or can't.
- 3:01Speaker 2: Handle modern security tools. Simple as that. If you're running
- 3:05Speaker 2: something like Callie Lennox, a lot of the best tools
- 3:08Speaker 2: are optimized for or even require sixty four bit. And
- 3:11Speaker 2: then there's just the raw power. If you're trying to
- 3:14Speaker 2: crack a password or compile some code, the Pie two
- 3:17Speaker 2: is going to be agonizingly slow.
- 3:19Speaker 1: So it's the difference between a task taking what five
- 3:22Speaker 1: minutes versus five hours exactly.
- 3:24Speaker 2: So, like you said, you'd be bringing a tricycle to
- 3:25Speaker 2: a drag race, you'll be fighting your hardware instead of
- 3:28Speaker 2: learning the concepts. And that's the point. The at least
- 3:31Speaker 2: version three rule is there to make the hardware disappear
- 3:33Speaker 2: so you can focus.
- 3:35Speaker 1: And obviously a Pie four or five is even better.
- 3:37Speaker 2: Oh absolutely, the four and five are beasts, way more
- 3:40Speaker 2: ram fast trio. If you can afford one, get one.
- 3:43Speaker 2: But the three is kind of the minimum viable product
- 3:46Speaker 2: for this kind of work, got it?
- 3:47Speaker 1: So don't cheap out on the main board.
- 3:49Speaker 2: Yeah.
- 3:50Speaker 1: Now the next big question, the great debate. Do I
- 3:54Speaker 1: just buy the board by itself, a little green rectangle
- 3:58Speaker 1: in a bag, or do I get a kit.
- 4:00Speaker 2: Look, if you're an expert, you have a bin full
- 4:02Speaker 2: of spare parts. Fine, buy the naked board for literally
- 4:05Speaker 2: everyone else, get the kit. It's strongly recommended.
- 4:08Speaker 1: Is that just for convenience though, because kits can sometimes
- 4:11Speaker 1: be a ripoff. You know, they throw in a sticker
- 4:13Speaker 1: and charge you an extra twenty bucks.
- 4:15Speaker 2: That can be true in consumer tech. Yeah, but here
- 4:18Speaker 2: the kit is about completeness. A Raspberry Pie isn't like
- 4:21Speaker 2: a laptop. It doesn't come with a power cord. It
- 4:25Speaker 2: doesn't come with a hard drive. If you buy just
- 4:27Speaker 2: the board, you literally cannot turn it on.
- 4:30Speaker 1: Okay, so let's unpack the kit. The main thing seem
- 4:33Speaker 1: to be an SD card, a power adapter, a case,
- 4:36Speaker 1: and a Wi Fi adapter.
- 4:37Speaker 2: Let's start with the SD card, the most important piece
- 4:40Speaker 2: after the board itself.
- 4:41Speaker 1: Really, it's just storage. I can't just grab an old
- 4:44Speaker 1: four gig card from a camera.
- 4:45Speaker 2: Please don't. That is the number one failure point I see. Yeah,
- 4:48Speaker 2: on a Pie. The SD card isn't just for your photos.
- 4:51Speaker 2: It is the hard drive. It runs the entire operating system.
- 4:54Speaker 1: So every single read and write operation is happening on
- 4:57Speaker 1: that a tiny little.
- 4:58Speaker 2: Card, every single one. And SD cards have speed ratings.
- 5:02Speaker 2: If you use a cheap old card. Your whole system
- 5:04Speaker 2: will just crawl. You'll think the PIE is broken. You
- 5:07Speaker 2: need a class ten card minimum, ideally something rated A
- 5:11Speaker 2: one or A two for better random access.
- 5:13Speaker 1: Speeds, and a kit usually comes with a decent one.
- 5:15Speaker 2: It usually does, and it saves you from weird compatibility issues. Yeah,
- 5:19Speaker 2: some cards just don't like the pies bootloader. A kit
- 5:22Speaker 2: just removes that variable. Okay, item too, the power adapter. Now,
- 5:29Speaker 2: come on, I have a drawer full of USB chargers.
- 5:32Speaker 2: Why on earth do I need a new one? This
- 5:34Speaker 2: is the silent killer of PIE projects. A phone charger
- 5:38Speaker 2: is designed to charge a battery. It doesn't need to
- 5:40Speaker 2: supply perfectly stable voltage when the processor is suddenly working hard.
- 5:44Speaker 1: And a PIE does it absolutely does.
- 5:46Speaker 2: If the voltage drops even a little bit, what we
- 5:48Speaker 2: call a brown out, all sorts of weird things happen.
- 5:51Speaker 2: The CPU slows down, the Wi Fi might.
- 5:53Speaker 1: Drop out, or worse, the SD card gets corrupted.
- 5:55Speaker 2: Exactly because a right operation failed halfway through. You'll spend
- 6:00Speaker 2: hours debugging your code when the real problem was your
- 6:03Speaker 2: cheap power brick. The adapters and these kits are rated
- 6:06Speaker 2: for it, usually two point five or three amps. To
- 6:08Speaker 2: keep that power rock solid.
- 6:10Speaker 1: Wow, okay, you've convinced me respect the power supply. What
- 6:14Speaker 1: about the case that's got to be just for looks right?
- 6:16Speaker 2: I kind of like the bareboard Cyberpunk five.
- 6:18Speaker 1: It looks cool until you drop a paper clip.
- 6:20Speaker 2: On it and short it out and short it out,
- 6:22Speaker 2: or you touch one of the Gpio pins with a
- 6:25Speaker 2: bit of static on your finger. It's a five dollars
- 6:28Speaker 2: insurance policy against your own clumsiness. Plus, you're gonna be
- 6:31Speaker 2: moving this thing around, throwing it in a bag. You
- 6:33Speaker 2: don't want those pins snagging on your keys.
- 6:35Speaker 1: Fair enough armor up. Okay, the last item, this is
- 6:39Speaker 1: the one that actually confused me. The guide specifies a
- 6:42Speaker 1: kit with a Wi Fi adapter.
- 6:45Speaker 2: Yes, and this is the key. This is what makes
- 6:47Speaker 2: it a hacking kit, not just a regular starter kit.
- 6:50Speaker 1: But wait a second. The Pie three, four, and five
- 6:53Speaker 1: all have Wi Fi built in. It's right on the board.
- 6:56Speaker 1: Why am I buying a USB dongle for something I
- 6:58Speaker 1: already have?
- 6:59Speaker 2: Because the built and Wi Fi is great for connecting
- 7:01Speaker 2: to your home network, it's not great for auditing other networks.
- 7:05Speaker 2: For that, you need a special capability called monitor mode.
- 7:07Speaker 1: Monitor mode explain that.
- 7:09Speaker 2: Okay, your normal Wi Fi card is very polite. It
- 7:12Speaker 2: only listens to data that's specifically addressed to it. Everything
- 7:16Speaker 2: else it just ignores.
- 7:17Speaker 1: Right, because I don't need to see my neighbor's Netflix
- 7:20Speaker 1: stream exactly.
- 7:22Speaker 2: But a security auditor needs to see all the traffic.
- 7:25Speaker 2: Monitor mode tells the Wi Fi card to stop being polite,
- 7:28Speaker 2: to listen to everything, grab every single packet flying through
- 7:31Speaker 2: the air, no matter who it's.
- 7:32Speaker 1: For, and the built in chip on the Pie can't
- 7:34Speaker 1: do that.
- 7:35Speaker 2: It's complicated. The hardware might be able to, but the
- 7:38Speaker 2: drivers usually lock that function down, and they often don't
- 7:41Speaker 2: support something called packet injection, which is where you actively
- 7:45Speaker 2: send packets to test and network's defenses.
- 7:47Speaker 1: So you need a specific USB adapter that's built to
- 7:51Speaker 1: well break the rules.
- 7:52Speaker 2: Yes, you need an adapter with a specific chipset inside,
- 7:56Speaker 2: often from Athros or Realtech that's known to work with
- 7:59Speaker 2: Linux for both monitor mode and packet injection. The kits
- 8:03Speaker 2: designed for this stuff include one of those.
- 8:05Speaker 1: That's a huge insight. So if you just went out
- 8:07Speaker 1: and bought a standard Pie bundle, you'd hit a brick
- 8:10Speaker 1: wall as soon as you got to the network sniffing part.
- 8:12Speaker 2: Of the course a total brick wall. You type the
- 8:14Speaker 2: command and the terminal would just spit back an air
- 8:18Speaker 2: and you'd be stuck.
- 8:19Speaker 1: So the kit really is a curated set of tools.
- 8:21Speaker 1: It's not random, it's.
- 8:23Speaker 2: The happy path. It's designed to get you learning, not troubleshooting.
- 8:27Speaker 1: Okay, so we know what we need pie three or
- 8:29Speaker 1: newer fast SD card, proper power supply, a case, and
- 8:34Speaker 1: that special Wi Fi adapter. Where do we actually buy it? All?
- 8:38Speaker 1: You mentioned looking at Amazon, eBay, Banga, right.
- 8:41Speaker 2: The usual suspects. They're often where you'll find cheaper prices.
- 8:45Speaker 1: Let's talk risks. Though Amazon seems safe enough.
- 8:48Speaker 2: Amazon is fast, but it has a problem called commingled inventory.
- 8:52Speaker 2: What's that It means good sellers and bad sellers all
- 8:54Speaker 2: send their stuff to the same warehouse pin. So even
- 8:57Speaker 2: if you buy from a reputable listing, the person packing
- 9:00Speaker 2: your box might grab a fake as D card that
- 9:02Speaker 2: has scammer through in the same bin.
- 9:04Speaker 1: Wow, So you need to really check the seller ratings
- 9:07Speaker 1: and test your gear as soon as it arrives.
- 9:08Speaker 2: Absolutely.
- 9:09Speaker 1: What about eBay?
- 9:10Speaker 2: eBay can be great for finding older models like a
- 9:12Speaker 2: Pie three, but you're often buying used You have to
- 9:15Speaker 2: be careful, scrutinize the photos. If the pins look bent,
- 9:19Speaker 2: just stay away.
- 9:20Speaker 1: And Bang Good they ship from overseas.
- 9:22Speaker 2: Right, yeah, yeah, bang Good is for the patient bargain hunter.
- 9:25Speaker 2: You'll probably find the lowest price there, but you're trading
- 9:28Speaker 2: money for time. Shipping can take weeks and returns can
- 9:31Speaker 2: be difficult, so it's a trade off. Official Sellers for
- 9:34Speaker 2: peace of mind, Amazon for speed, eBay for used deals,
- 9:38Speaker 2: and Bang Good for price. If you can wait.
- 9:41Speaker 1: That's a perfect summary. And if you're following a course,
- 9:44Speaker 1: use the specific links they provide. They've usually been vetted.
- 9:47Speaker 2: All right, I think my mental shopping cart is sorted.
- 9:49Speaker 2: But before we wrap, let's just do a quick review,
- 9:52Speaker 2: a sanity check.
- 9:53Speaker 1: Let's do it a mental checkout. Okay, so for everyone listening,
- 9:57Speaker 1: you're at the checkout screen. You have a Rasperate three
- 10:00Speaker 1: or better in the cart. That's the engine. Based on
- 10:03Speaker 1: what we discussed, what are the four essential accessories that
- 10:07Speaker 1: have to be in there with it. I'll give you
- 10:08Speaker 1: a second to think think about the why for each one.
- 10:11Speaker 2: Okay, walk us soon.
- 10:12Speaker 1: Number one BSD card a fast one class ten or higher.
- 10:15Speaker 1: That's your hard drive. Number two, the power adapter the
- 10:18Speaker 1: official one or one specifically rated for the pie that's
- 10:21Speaker 1: it's heart. The case that's the armor protects against accidents.
- 10:25Speaker 1: And number four, the one that makes this a real
- 10:28Speaker 1: hacking kit.
- 10:29Speaker 2: The Wi Fi adapter, the special one that supports monitor
- 10:32Speaker 2: mode and packet injection. That's your lock pick.
- 10:35Speaker 1: The lock pick. I love that. If you have those
- 10:37Speaker 1: four things on the board, you're set.
- 10:39Speaker 2: You are ready to go. And honestly, when that package
- 10:41Speaker 2: arrives and you open it, it's a great feeling. It
- 10:43Speaker 2: stops being some vague idea and becomes a real tool
- 10:46Speaker 2: in your hand.
- 10:47Speaker 1: That's the first step, right understanding your tools.
- 10:50Speaker 2: And that leads to a final thought I want to
- 10:51Speaker 2: leave you with. We talked about that Wi Fi adapter
- 10:54Speaker 2: being rude, while the internal one is polite.
- 10:57Speaker 1: Right with the monitor mode.
- 10:59Speaker 2: Think about that. Think about all the other hardware you
- 11:02Speaker 2: use every day, your phone, your laptop. They're all designed
- 11:05Speaker 2: to be polite. They have fences built around them to
- 11:08Speaker 2: limit what you can see and do. Learning to hack
- 11:11Speaker 2: is about realizing those fences exist. Buying this specific gear,
- 11:16Speaker 2: that's your first time hopping the fence.
- 11:18Speaker 1: That's a great way to put it. We're so used
- 11:20Speaker 1: to being inside the walled garden. We don't even see
- 11:22Speaker 1: the walls until we buy a fifteen dollars dongle that
- 11:25Speaker 1: lets us peek over them.
- 11:26Speaker 2: Exactly Welcome to the other side.
- 11:28Speaker 1: On that note, get your shopping cards ready, check your sources,
- 11:32Speaker 1: watch out for fakes, and get your gear. Next time,
- 11:35Speaker 1: we'll talk about what happens when you plug it all in.
- 11:37Speaker 1: Thanks for listening to the Deep Dive