Latest / CyberSecurity Summary / PoC or GTFO, Volume 3
Transcript
- 0:00Speaker 1: Hey everyone, and welcome back. Yeah, welcome back to another
- 0:03Speaker 1: deep dive.
- 0:04Speaker 2: It's a deep dive.
- 0:05Speaker 1: You ready to get our hands dirty with some Oh
- 0:07Speaker 1: yeah absolutely or p ORC or GTFO volume three.
- 0:10Speaker 2: Yeah, digging right back in all right.
- 0:12Speaker 1: So just a reminder for listeners just joining us for
- 0:15Speaker 1: the first time, right, p WORC or GTFO Volume three
- 0:19Speaker 1: is a book.
- 0:20Speaker 2: It is a book, a real book. You can hold it.
- 0:22Speaker 1: It's fantastic.
- 0:23Speaker 2: Yeah.
- 0:23Speaker 1: It's a collection of various security research and kind of
- 0:28Speaker 1: proofs of concept, absolutely, and different kind of just deep
- 0:32Speaker 1: dives into various aspects of security.
- 0:34Speaker 2: Yep, and some hardware hacking.
- 0:36Speaker 1: Yeah, hard we're hacking all sorts of things.
- 0:38Speaker 2: Yeah, it's a really cool collection, really cool. Yeah.
- 0:40Speaker 1: So we're going to kind of jump around to different
- 0:42Speaker 1: sections from the book that that were really interesting. So
- 0:45Speaker 1: you get a little sampler platter, Yeah.
- 0:47Speaker 2: A little taste of everything.
- 0:49Speaker 1: Hopefully to entice you to go check out the book
- 0:51Speaker 1: for yourself.
- 0:52Speaker 2: Yeah. Okay, so let's jump in.
- 0:54Speaker 1: Let's jump right in. Yeah. First one we have is
- 0:57Speaker 1: this one was interesting to me just because.
- 1:00Speaker 2: That the target was so unexpected, unexpected, unexpected. Yeah, a
- 1:04Speaker 2: children's toy.
- 1:05Speaker 1: Yeah, who would have thought?
- 1:06Speaker 2: So we have the uh, it's the Pokemon z Ring,
- 1:10Speaker 2: that's right.
- 1:10Speaker 1: And this is security researcher named Vicky Fou who actually
- 1:14Speaker 1: decided to look into this and to break it, to
- 1:17Speaker 1: break it, figure out how it worked, and.
- 1:19Speaker 2: See what's going on.
- 1:20Speaker 1: So what's interesting about the z ring is it uses
- 1:23Speaker 1: ultrasonic frequencies which.
- 1:25Speaker 2: Most people can't hear. Yeah, you and I probably can't hear.
- 1:28Speaker 1: Yeah, we're getting old, I know, I know.
- 1:32Speaker 2: And so she had to actually use a special equipment
- 1:36Speaker 2: like in acilloscope to be able to see these sound waves.
- 1:40Speaker 1: In an emulator to run the game and.
- 1:41Speaker 2: An emulator, and so that she could really cool Yeah
- 1:44Speaker 2: she could.
- 1:45Speaker 1: I mean, it's just amazing to me. She went to
- 1:47Speaker 1: these lengths to figure this out, but it paid off
- 1:50Speaker 1: because she discovered some really interesting stuff.
- 1:53Speaker 2: Yeah. So I guess kind of the first question.
- 1:55Speaker 1: Like why why go to all this trouble for right?
- 1:58Speaker 2: Right? Why break a kid's.
- 1:59Speaker 1: To a children's toy? Yeah? What I think the you know,
- 2:03Speaker 1: the answer is the same for a lot of security researchers.
- 2:05Speaker 2: Curiosity. That's what drives a lot of this.
- 2:07Speaker 1: It's just that curiosity of how does this thing work?
- 2:10Speaker 2: Yeah? How does it work. What are its secrets?
- 2:12Speaker 1: Yeah, what are its secrets?
- 2:13Speaker 2: Can I control it? Can I make it do something
- 2:16Speaker 2: it wasn't intended to do?
- 2:17Speaker 1: Exactly? So I think for her it was kind of
- 2:20Speaker 1: a personal challenge of like, yeah, okay, this thing uses sound.
- 2:23Speaker 1: I want to figure out what sounds, what a secret
- 2:26Speaker 1: sound it's using, and how it's doing.
- 2:28Speaker 2: That, and how can I use those sound Yeah, kind
- 2:30Speaker 2: of replicate that to do something else, right, exactly.
- 2:33Speaker 1: So pretty cool.
- 2:33Speaker 2: It is cool.
- 2:34Speaker 1: Okay, So moving on to another one that I thought
- 2:38Speaker 1: was really interesting and a little mind bending.
- 2:41Speaker 2: This one's a little more technical.
- 2:42Speaker 1: Yeah it is. This is the flush plus reload side
- 2:47Speaker 1: channel attack.
- 2:48Speaker 2: Wow.
- 2:49Speaker 1: Yeah, So side channel attacks in general are just fascinating.
- 2:53Speaker 2: Yeah, side channel attacks because.
- 2:55Speaker 1: They're not what you think about when you think about
- 2:57Speaker 1: like typical hacking.
- 2:58Speaker 3: Right, it's not not like breaking You're not like breaking
- 3:01Speaker 3: down the door, right.
- 3:02Speaker 1: You're not brute forcing a password. Yeah, you're kind of
- 3:05Speaker 1: like looking for these like subtle little hints that the
- 3:08Speaker 1: system's giving off.
- 3:10Speaker 2: Yeah, it's like eavesdropping.
- 3:11Speaker 1: It is eavesdropping, rather than that's like the spycraft of hacking.
- 3:15Speaker 2: Yeah exactly. That's really cool.
- 3:16Speaker 1: So the flesh plus reload attack. Specifically, it kind of
- 3:23Speaker 1: exploits the way that modern CPUs use this shared memory
- 3:27Speaker 1: space called the L three cash. Yes, And so the idea.
- 3:31Speaker 2: Is, so all the programs on your computer are sharing
- 3:34Speaker 2: the space and accessing it to store data that they're
- 3:38Speaker 2: using frequently. So it's like a common area.
- 3:42Speaker 1: Yeah, like a whiteboard that everyone can exactly.
- 3:44Speaker 2: It's like a whiteboard. And so what the attacker can
- 3:48Speaker 2: do is they can basically flush a certain piece of
- 3:52Speaker 2: memory from the cash.
- 3:53Speaker 1: Force it out of the cash, Yeah, force it out.
- 3:54Speaker 1: So it's like a racing part of the whiteboard.
- 3:56Speaker 2: Yeah, raising part of the whiteboard, and then time how
- 3:58Speaker 2: long it takes.
- 4:00Speaker 1: And then see how long it takes for somebody else
- 4:02Speaker 1: to write in that same spot.
- 4:04Speaker 2: Yeah, for another process to write to that, Because.
- 4:06Speaker 1: If the victim process was using that data recently, yeah,
- 4:11Speaker 1: it's going to reload it back into the cash and
- 4:12Speaker 1: it's going to be faster, and that's going to be faster.
- 4:15Speaker 2: And so by timing how long that takes.
- 4:17Speaker 1: You can infer it. You can infer what the victim
- 4:20Speaker 1: process was doing.
- 4:21Speaker 2: Yeah, what data they were accessing. That's crazy, it is crazy.
- 4:25Speaker 2: It's like, so you can still data.
- 4:27Speaker 1: Without even without directly accessing.
- 4:30Speaker 2: It, directly accessing memory.
- 4:31Speaker 1: Yeah, you're just watching. It's just like you're just watching
- 4:34Speaker 1: what's happening in this shared space.
- 4:36Speaker 2: You're watching the patterns of access.
- 4:38Speaker 1: Exactly and inferring information from that.
- 4:41Speaker 2: Yeah, that's so cool.
- 4:43Speaker 1: It is cool, but also kind of scary.
- 4:45Speaker 2: Well, yeah, a little bit scary because.
- 4:46Speaker 1: It means that our systems are leaking information in ways
- 4:50Speaker 1: that you don't even realize.
- 4:52Speaker 2: Yeah, and that it's not just about like securing the
- 4:55Speaker 2: memory itself. It's about securing.
- 4:57Speaker 1: Like goal systems, way everything interacts, weigh everything in act,
- 5:02Speaker 1: timing the patterns, all that stuff. That's right, Okay, it's
- 5:04Speaker 1: a whole new level of security.
- 5:06Speaker 2: All right. So now we're gonna jump way back in time,
- 5:09Speaker 2: way back to the retro days, the retro days of
- 5:12Speaker 2: the Apple two.
- 5:13Speaker 1: Ah, the Apple two classic classic, legendary machine.
- 5:18Speaker 2: Legendary machine. And we have a story here about a
- 5:22Speaker 2: group of uh, some dedicated hackers, hackers that wanted to
- 5:27Speaker 2: crack a particular game.
- 5:30Speaker 1: They did. They wanted to play it for free, gumble Gumball,
- 5:33Speaker 1: a classic game.
- 5:34Speaker 2: It was not easy, it was those days.
- 5:39Speaker 1: Yeah, they didn't have the tools and the Internet that
- 5:41Speaker 1: we have today.
- 5:42Speaker 2: Right, they couldn't just they couldn't just google how to
- 5:45Speaker 2: do it? Google it?
- 5:46Speaker 1: Yea.
- 5:47Speaker 2: So they had figured out themselves.
- 5:49Speaker 1: So what made Gumball so hard?
- 5:52Speaker 2: Well, the Apple two itself was a limited machine, had
- 5:56Speaker 2: a very simple processor, not a lot of memory, right,
- 6:00Speaker 2: so you have to be really clever to do anything
- 6:02Speaker 2: interesting with it.
- 6:03Speaker 1: So they had to really understand the system. Oh yeah,
- 6:07Speaker 1: at a very low level.
- 6:08Speaker 2: Intimately, you had to know it inside and out.
- 6:11Speaker 1: So these two researchers, yeah, for Aim and Peter Ferry
- 6:14Speaker 1: legends really just kind of like, yeah, painstakingly went through
- 6:18Speaker 1: the code.
- 6:19Speaker 2: Line by line, Yeah, trying to figure out how the
- 6:21Speaker 2: protection worked. Yeah, they had to kind of learn the
- 6:24Speaker 2: secret language of the game, the game's secret link.
- 6:27Speaker 1: Yeah, it's like being a code breaker, you know, exactly
- 6:30Speaker 1: back in the war. It's that kind of You've got
- 6:32Speaker 1: this encrypted message, you've got to figure out the key.
- 6:35Speaker 2: You've got to figure out the cipher, you've.
- 6:37Speaker 1: Got to crack the code. And what they did, what
- 6:39Speaker 1: it was doing, it's amazing.
- 6:40Speaker 2: Yeah, that's pretty cool.
- 6:41Speaker 1: It is cool.
- 6:42Speaker 2: So I guess the.
- 6:45Speaker 1: So why is the story important today?
- 6:47Speaker 2: Yeah? So why is this important. You know, why should
- 6:50Speaker 2: we care about you know, why does this matter to us?
- 6:53Speaker 2: Some retro hackers cracking this old game on this old system.
- 6:58Speaker 1: For one thing, it shows that the spirit of hacking
- 7:01Speaker 1: has been around for a long time. It's not it's
- 7:04Speaker 1: not a new thing. It's not like kids these days
- 7:07Speaker 1: with their computers, right, this has been going on since
- 7:10Speaker 1: the dawn of computing.
- 7:11Speaker 2: This is like a fundamental human desire. It's about curiosity
- 7:15Speaker 2: to figure out how things.
- 7:17Speaker 1: Pushing the limits of what's possible.
- 7:20Speaker 2: And then I think also it shows that even seemingly
- 7:23Speaker 2: simple systems can have.
- 7:26Speaker 1: Like the Apple, it seems simple, you can have these
- 7:28Speaker 1: like hidden but.
- 7:29Speaker 2: Under the hood, there's a lot of complexity, complexities in that,
- 7:32Speaker 2: and if you're willing to dig deep, you can find
- 7:35Speaker 2: really interesting stuff.
- 7:37Speaker 1: You can find those and exploit them exactly.
- 7:40Speaker 2: So it's kind of a it's inspiring. It's inspiring, it
- 7:42Speaker 2: is it is. Yeah, okay, all right, so let's move
- 7:45Speaker 2: on to something a little more modern. All right, So
- 7:47Speaker 2: let's move on to something a little more modern, little
- 7:49Speaker 2: more high tech.
- 7:50Speaker 1: And this is an interesting technique.
- 7:52Speaker 2: Yeah, this is one of my favorites.
- 7:54Speaker 1: Actually, Zero copy networking.
- 7:55Speaker 2: Yeah, zero copy networking. So what is it's all about?
- 8:00Speaker 1: Zero copy networking.
- 8:02Speaker 2: Yeah, efficiency, getting the most out of your hardware.
- 8:05Speaker 1: It's kind of like in the realm of high performance, high.
- 8:09Speaker 2: Performance computing, real time systems.
- 8:12Speaker 1: Yeah, anything where latency matters, millisecond counts.
- 8:16Speaker 2: Yeah, this is where zero copy comes in.
- 8:18Speaker 1: Yeah, because traditional networking involves a lot of copying data.
- 8:22Speaker 2: Yeah. So the problem that it solves is that normally
- 8:26Speaker 2: when you send data over a network, right, there's a
- 8:28Speaker 2: lot of copying that happened.
- 8:30Speaker 1: From the CPU to the kernel, from.
- 8:32Speaker 2: The CPU to the CURL, the.
- 8:33Speaker 1: Kernel to the network card, the network call, all these
- 8:35Speaker 1: different buffers and all that copying takes time.
- 8:40Speaker 2: It takes time, it consumes CPU cycles, and it uses resource.
- 8:44Speaker 1: It slows things down. So zero copy networking.
- 8:48Speaker 2: So the idea is, can we just skip all that?
- 8:51Speaker 1: Can we just cut out the middle man the middle man?
- 8:54Speaker 1: Let the data flow directly from the application memory straight
- 8:59Speaker 1: from point A to point B to the network card. Yeah,
- 9:02Speaker 1: without all those extra stops along the way.
- 9:05Speaker 2: So how do they actually how do they do that?
- 9:07Speaker 2: Do that?
- 9:08Speaker 1: Well? It involves a few tricks. Yeah, One is using
- 9:11Speaker 1: something called DMA.
- 9:13Speaker 2: DMA direct memory access.
- 9:15Speaker 1: Direct memory access yeah, which allows the network card to
- 9:18Speaker 1: access memory right directly without going through the CPU.
- 9:22Speaker 2: So the CPU can be doing other things exactly.
- 9:25Speaker 1: The CPU is like, hey, network card, you handle this,
- 9:28Speaker 1: You handle this.
- 9:28Speaker 2: I'm busy, I've got other things to do. I'm playing
- 9:31Speaker 2: a game over here.
- 9:32Speaker 1: I'm rendering this video.
- 9:33Speaker 2: Don't bother me. So DMA is one part of it, right.
- 9:38Speaker 2: Another part is using specialized drivers okay, like PFR im PFR,
- 9:44Speaker 2: which are designed specifically for high performance networking. They bypass
- 9:49Speaker 2: a lot of the traditional networking stacks.
- 9:51Speaker 1: So they cut out all all.
- 9:52Speaker 2: The layers, the bureaucracy of the networking.
- 9:55Speaker 1: Stack, the unnecessary red tape.
- 9:57Speaker 2: Exactly, just get the data where it needs to go.
- 10:00Speaker 2: Just get the data there as fast as possible. That's
- 10:02Speaker 2: the goal.
- 10:03Speaker 1: So what kind of applications would this be really useful for?
- 10:07Speaker 2: Oh, so many things, so many things. Think about like
- 10:10Speaker 2: high frequency trading where microseconds matter, milliseconds matter. If you
- 10:15Speaker 2: can shave off right, if you can get you're trade in,
- 10:18Speaker 2: you can make a lot of money a few milliseconds
- 10:20Speaker 2: before the other guy.
- 10:21Speaker 1: Real time streaming. You don't want your video to lag.
- 10:24Speaker 2: Yeah, you don't want You want it to be smooth buffering.
- 10:27Speaker 1: Yeah, so any application gaming aiming where you need that
- 10:34Speaker 1: low latency.
- 10:34Speaker 2: Where low latency is critical. So this is kind of
- 10:37Speaker 2: like zero copy networking can really.
- 10:40Speaker 1: Make a difference under the hood.
- 10:41Speaker 2: It's the secret sauce, secret sauce that makes things fast.
- 10:44Speaker 1: Yeah, that you don't see, but it's there, work in
- 10:47Speaker 1: its magic.
- 10:48Speaker 2: It's working hard behind the scenes.
- 10:50Speaker 1: That's cool.
- 10:51Speaker 2: Yeah. Okay, so all right, what's next?
- 10:53Speaker 1: What's next?
- 10:54Speaker 2: What other cool stuff do we have on our list
- 10:56Speaker 2: in this book?
- 10:57Speaker 1: All right, so this one is a hardware hack.
- 11:00Speaker 2: Oh, hardware hacking. This is called the I Love Hardware Hacking.
- 11:03Speaker 1: The ip flip Wixer trick.
- 11:06Speaker 2: D I p flip wixer trick. That's a mouthful, it is,
- 11:12Speaker 2: but it's a really cool trick.
- 11:13Speaker 1: It is a cool trick. Yeah, so uh what is it?
- 11:17Speaker 1: This is from Joe.
- 11:18Speaker 2: Grant, Joe grand the King of hardware hacking. Yeah, he's amazing.
- 11:22Speaker 1: So the idea is, how do you reprogram a device
- 11:25Speaker 1: without any special tools, without any special tools.
- 11:28Speaker 2: Without any special never hacking.
- 11:31Speaker 1: You know you've got You're stuck on a desert island.
- 11:34Speaker 1: All you've got is a paper clip and a piece
- 11:37Speaker 1: of chewing gum. Yeah, and you've got to reprogram.
- 11:40Speaker 2: This device shoelace, and somehow, somehow you do it reprogrammed.
- 11:44Speaker 2: That's Joe Gran he's the master of that.
- 11:47Speaker 1: So in this particular case, he is exploiting the the.
- 11:51Speaker 2: Ftd I chick, the FTDI chick, which is a very
- 11:54Speaker 2: common chip used for USB to serial communication.
- 11:58Speaker 1: Right, So if you've ever used like an Urduen or
- 12:01Speaker 1: a Raspberry.
- 12:01Speaker 2: Pie or any kind of embedded device, you've probably used
- 12:05Speaker 2: an FTDI chip. You've probably seen it. Yeah, these little chips,
- 12:09Speaker 2: they're everywhere. And so what he figured out is that
- 12:12Speaker 2: there's a way.
- 12:13Speaker 1: To uh reconfigure.
- 12:16Speaker 2: We can figure the gpio pins.
- 12:19Speaker 1: The gpo opins on the fly on the floor, which
- 12:21Speaker 1: is kind of unusual.
- 12:22Speaker 2: So gpio pins are basically like little.
- 12:24Speaker 1: Switches you can turn on and off, and they could
- 12:27Speaker 1: be used for all sorts of things.
- 12:28Speaker 2: Yeah, they can be used to control LEDs or motors
- 12:32Speaker 2: or sensors or whatever you want, all sorts of things.
- 12:35Speaker 2: And so he figured out a way to reconfigure.
- 12:38Speaker 1: Those to use those pins, to use those pins redirect
- 12:41Speaker 1: the cereal data to redirect.
- 12:42Speaker 2: The serial data. So instead of going to.
- 12:44Speaker 1: The normal to basically reprogram the chair the device.
- 12:47Speaker 2: It's going back to the FTDI.
- 12:48Speaker 1: Chip, the FTDI chip itself and reprogramming it, which is
- 12:52Speaker 1: so clever.
- 12:52Speaker 2: It is so clever. It's like using the device's own
- 12:56Speaker 2: defenses against it.
- 12:57Speaker 1: Yeah, it's like turning its own power against it, exactly.
- 13:01Speaker 1: And so, so how does he actually do this?
- 13:04Speaker 2: The way he does this is by using specific key strokes,
- 13:08Speaker 2: Like so, if you press the right combination of keys, it.
- 13:13Speaker 1: It triggers a mode switch.
- 13:14Speaker 2: It triggers this mode switch and FTDI chip. Yeah, and
- 13:17Speaker 2: then suddenly the serial data is and then suddenly the
- 13:20Speaker 2: serial data is going to.
- 13:22Speaker 1: The data is flowing in a different direction to the chip. Yeah,
- 13:24Speaker 1: you can reprogram it.
- 13:26Speaker 2: It's wild.
- 13:27Speaker 1: It is wild. It's like, so what does this It's
- 13:28Speaker 1: like a secret back door, yeah, into the chip.
- 13:31Speaker 2: So what's the takeaway here?
- 13:33Speaker 1: So what can we learn from this?
- 13:34Speaker 2: Why is this important?
- 13:35Speaker 1: Besides the coolness factor, besides being super cool?
- 13:39Speaker 2: I mean, it's just so cool, it's super cool. Yeah,
- 13:42Speaker 2: what's the practical lesson here? I think the lesson is
- 13:45Speaker 2: that I think it teaches us to think outside the box.
- 13:48Speaker 1: To think outside the box, and to not don't assume.
- 13:51Speaker 2: That you need specialized tools.
- 13:53Speaker 1: Assume that you need these to do amazing things especial
- 13:56Speaker 1: Sometimes the tools you need are right in front of you.
- 13:59Speaker 1: You just have to know how to use them.
- 14:00Speaker 2: Sometimes the things you have in a different way can
- 14:04Speaker 2: be used for something completely different than they were intended for.
- 14:08Speaker 1: It's about creativity, and that's about resourcefulness. It's about that
- 14:12Speaker 1: hacker spirit, the hackers, you know, finding a way even
- 14:16Speaker 1: when it seems impossible. Okay, okay, so one more, one more,
- 14:20Speaker 1: one more for this segment.
- 14:21Speaker 2: For this segment, and then we'll hit me with it.
- 14:23Speaker 2: We'll take a break. So this one is a little
- 14:26Speaker 2: bit more in the.
- 14:27Speaker 1: Weeds, a little more technical.
- 14:28Speaker 2: Yeah, okay, so this is about uh.
- 14:32Speaker 1: Static ELF relocations.
- 14:34Speaker 2: Static ELF relocations.
- 14:37Speaker 1: Wow, that's a mouthful, but it's an important concept.
- 14:41Speaker 2: The security implications, especially.
- 14:43Speaker 1: If you're working with like low level systems. Yeah, embedded systems.
- 14:48Speaker 2: ELF is the operating system kernels, executable and linkable format.
- 14:52Speaker 1: That's right. It's basically it's the standard format programs are
- 14:56Speaker 1: for executable files on.
- 14:58Speaker 2: Linux sort on Linux and any.
- 15:00Speaker 1: Other Unix like systems. Yeah, so it's pretty important.
- 15:03Speaker 2: And so when we talk about static ELF relocations we're
- 15:07Speaker 2: talking about. UH. A statically linked binary.
- 15:12Speaker 1: Aesthetically linked binary is often seen is like a self
- 15:16Speaker 1: contained unit, more secure. It's got everything it needs than dynamically.
- 15:20Speaker 1: All the libraries are built.
- 15:22Speaker 2: In linked binary.
- 15:23Speaker 1: It's like a standalone program. You don't need anything else
- 15:26Speaker 1: to run it.
- 15:26Speaker 2: Because it's self contained. What this research show there's.
- 15:30Speaker 1: A catch is that even there's always a catch, statically
- 15:33Speaker 1: linked binaries can still have there's no such thing as perfect.
- 15:37Speaker 2: Security vulnerabilities relating to these relocations static binaries. The idea
- 15:43Speaker 2: is even though there's statically.
- 15:44Speaker 1: Linked, even though they still contain relocation tables, which are
- 15:49Speaker 1: basically instructions for how to load the different parts of
- 15:52Speaker 1: the program into memory at run time. So even though
- 15:57Speaker 1: the libraries are statically linked, there's still this there's still
- 16:00Speaker 1: this table of information this function needs to be loaded
- 16:06Speaker 1: at this address. Assumption this data needs to be loaded
- 16:09Speaker 1: at this address.
- 16:10Speaker 2: Is here, and so on, this data is here.
- 16:12Speaker 1: And attackers can exploit and an attacker those relocation tables
- 16:17Speaker 1: to do nasty things like shared library injection.
- 16:21Speaker 2: Shared library inject.
- 16:22Speaker 1: Which is a classic attack which is basically where you
- 16:25Speaker 1: trick the program, picking the program into loading a malicious
- 16:30Speaker 1: library loading your code instead of the legitimate one, and
- 16:34Speaker 1: then your code gets executed.
- 16:36Speaker 2: So that's crazy.
- 16:37Speaker 1: It is crazy.
- 16:38Speaker 2: Because you think it's like, okay, you think you're saying
- 16:41Speaker 2: statically linked.
- 16:42Speaker 1: Because you've got this statically linked binary self contained, but
- 16:47Speaker 1: there's still these subtle ways that attackers can get in
- 16:52Speaker 1: and mess things up.
- 16:53Speaker 2: Yeah, that's so cool.
- 16:55Speaker 1: It is cool, and it's a good reminders.
- 16:56Speaker 2: But what does this tell us that security is hard?
- 17:00Speaker 2: In general?
- 17:00Speaker 1: Security is never easy, and it's not about you can't
- 17:04Speaker 1: just rely on building the wall or one assumption.
- 17:08Speaker 2: You have to understand the system deeply and you have
- 17:13Speaker 2: to be constantly deep looking for new ways.
- 17:17Speaker 1: Yeah. Attacks, it's like try to get in never ending
- 17:20Speaker 1: is a never ending battle arms race, the arms race
- 17:22Speaker 1: of security.
- 17:23Speaker 2: Yeah, okay, all right.
- 17:25Speaker 1: So that's it for this segment. So we've covered We've
- 17:27Speaker 1: covered a lot of grounds quite a bit, from hacking
- 17:30Speaker 1: children's toys to cracking retro games to exploiting the intricacies
- 17:35Speaker 1: of modern CPU's children's toys. It's been a wild ride.
- 17:40Speaker 2: Cracking retro games.
- 17:42Speaker 1: We're gonna take a quick break the deep dark, but
- 17:46Speaker 1: drink stretch.
- 17:47Speaker 2: Your lads to static binaries and.
- 17:49Speaker 1: We'll be back with more amazing stuff from PAC or
- 17:55Speaker 1: GTFO Volume three.
- 17:56Speaker 2: We'll be right back.
- 17:58Speaker 1: Stay curious, Welcome back to the deep dive.
- 18:01Speaker 2: All right, so we are back back into.
- 18:03Speaker 1: The depths of PFEE or GTFO with.
- 18:06Speaker 2: PAC or GTFO Volume three, Volume three. That's right, and
- 18:10Speaker 2: we're gonna jump right into the next. Uh okay, hacker,
- 18:14Speaker 2: what do we have? Interesting concept that we found.
- 18:16Speaker 1: In what's next on the menu?
- 18:18Speaker 2: So this one is kind of a technique. Okay, it's
- 18:21Speaker 2: not really a hack.
- 18:22Speaker 1: I guess it's a defensive technique.
- 18:24Speaker 2: Yeah, it's a defensive technique called anti keylogging with noise.
- 18:28Speaker 2: And this is from a researcher named Mike Myers.
- 18:30Speaker 1: Mike Myers, Yeah he's a clever guy. So, uh, I
- 18:34Speaker 1: guess first off, like, yeah, what's a keylogger is? Basically,
- 18:37Speaker 1: it's a piece of software against it that sits on
- 18:41Speaker 1: your computer yea, and it records every keystroke you make. Yeah,
- 18:45Speaker 1: so everything you type, everything you type, your passwords, yeah,
- 18:49Speaker 1: your credit card numbers, yeah, all your separate love letters,
- 18:52Speaker 1: your deep dark secret it's all being recorded.
- 18:56Speaker 2: So it's basically like why this keylogger a digital spot.
- 19:00Speaker 1: It's a digital spy that's sitting on your shoulder.
- 19:03Speaker 2: And it's scary because watching everything you do, you don't
- 19:06Speaker 2: know what's there.
- 19:07Speaker 1: Right, you don't know it's there.
- 19:08Speaker 2: It's running silently in.
- 19:09Speaker 1: The background, siphoning off your data. So how do you
- 19:12Speaker 1: defend against that?
- 19:13Speaker 2: So how do you tough problem defend against something like that,
- 19:17Speaker 2: because it's just Mike Myers came up with this idea
- 19:20Speaker 2: sitting there of.
- 19:21Speaker 1: Using noise to drown out the signal.
- 19:23Speaker 2: So the idea is to flood.
- 19:25Speaker 1: Instead of trying to prevent the keylogger from recording your keystrokes.
- 19:30Speaker 2: The keylogger was so much do you.
- 19:32Speaker 1: Just overwhelm it with so much, so much garbage that
- 19:36Speaker 1: it can't tell that it can't the real key strike,
- 19:39Speaker 1: extinguish the real from the fig So it's like, so
- 19:43Speaker 1: it's like creating a smoke screen to hide your real movement.
- 19:47Speaker 2: Like a digital a digital smoke screen, folk screen.
- 19:51Speaker 1: That's a great analogy. So how do you do that?
- 19:54Speaker 1: How do you generate this noise?
- 19:56Speaker 2: Generate that noise?
- 19:58Speaker 1: That's the tricky part. Can't be too random because then
- 20:03Speaker 1: because then it's obvious, it'll be obvious that it's fake. Right,
- 20:06Speaker 1: it's like somebody just banging on the keyboard. Yeah, it
- 20:09Speaker 1: has to be believable.
- 20:11Speaker 2: It has to sounds to sound like someone is actually
- 20:14Speaker 2: typing even though it's not.
- 20:15Speaker 1: Yeah, so you have to consider things like typing speed,
- 20:19Speaker 1: use of the shift keys, the frequency of different letters,
- 20:22Speaker 1: and all that stuff.
- 20:23Speaker 2: It's like you're trying to trying to.
- 20:24Speaker 1: Mimic human behavior, behavior, but without actually being human. It's
- 20:30Speaker 1: all an illusion. So it's a really So it's like.
- 20:32Speaker 2: You're creating a it's a challenge digital puppet.
- 20:35Speaker 1: It's a challenge to create this believable noise. It's just
- 20:38Speaker 1: typing gibberish.
- 20:40Speaker 2: But it's effective if you can do it right. So
- 20:45Speaker 2: I guess, So, what's the lesson here?
- 20:47Speaker 1: Was this?
- 20:47Speaker 2: What can we learn.
- 20:48Speaker 1: From this tell us about security in general?
- 20:50Speaker 2: I think it highlights the concept of obfuscation. Obfuscation which
- 20:54Speaker 2: is basically making things harder to understand, even if you
- 20:59Speaker 2: can't completely hide.
- 21:00Speaker 1: Them, try to prevent the attack.
- 21:03Speaker 2: Sometimes the best defense.
- 21:04Speaker 1: They're just trying is to just make it so difficult,
- 21:08Speaker 1: make it harder for the attacker that they give.
- 21:10Speaker 2: Up to get what they want. So it's kind of.
- 21:13Speaker 1: Like hiding a needle in a haystack, like hiding a needle.
- 21:16Speaker 1: Make the haystack so big that nobody can find the
- 21:19Speaker 1: needle that.
- 21:19Speaker 2: It's just not worth the effort to try to find it.
- 21:22Speaker 1: So that's obfuscation.
- 21:23Speaker 2: Okay, cool, all right, all right, so what else we got?
- 21:26Speaker 1: Moving on to something completely different?
- 21:30Speaker 2: Okay, this one is, uh, this sounds interesting. Ethernet over GDB,
- 21:37Speaker 2: Ethernet over GDB? What is that?
- 21:40Speaker 1: That sounds I'm intrigued, crazy.
- 21:44Speaker 2: Yeah, so break it down for me.
- 21:46Speaker 1: First off, what is GDB?
- 21:47Speaker 2: So? GDB is the gn you debugger. It's a tool
- 21:52Speaker 2: that programmers use to analyze code, debug to step through
- 21:57Speaker 2: code line by line, to inspect various to figure out
- 22:02Speaker 2: what's going wrong, what's going on?
- 22:03Speaker 1: So it's a very powerful tool for understanding how software works.
- 22:07Speaker 2: So you're telling me, so we can use Micah Elizabeth
- 22:11Speaker 2: Scott this debugging tool. It was a brilliant researcher.
- 22:14Speaker 1: To send data over figured out a way to use GDB.
- 22:20Speaker 2: How is that as a makeshift even pace?
- 22:23Speaker 1: How is that even possible?
- 22:25Speaker 2: It's mind blowing? Yeah, So basically, how did she do it?
- 22:29Speaker 2: She figured out how to use the GDB protocol Okay,
- 22:34Speaker 2: which is the language that GDD uses basically to communicate,
- 22:38Speaker 2: to send and receive protocol work packets. So it's like.
- 22:45Speaker 1: It's like speaking a wrench Ethernet using GDB through GDBA.
- 22:50Speaker 1: It's crazy, it's like using a wrench. But why in
- 22:53Speaker 1: a nail?
- 22:54Speaker 2: Why would you even.
- 22:55Speaker 1: You know it's not the right tool for the job, want.
- 22:58Speaker 2: To do this? But it worked, Yeah, if you know
- 23:01Speaker 2: how to use it, So why go through all that trouble?
- 23:04Speaker 1: Right?
- 23:04Speaker 2: Why bother to use GDD to send.
- 23:06Speaker 1: Imagine you're working on a tiny embedded system lacket like
- 23:09Speaker 1: the woods in your car, when you could.
- 23:11Speaker 2: Just use it for your smart appliances, an Ethernet cable that.
- 23:14Speaker 1: Doesn't have a built in network card.
- 23:16Speaker 2: Yeah right.
- 23:18Speaker 1: Traditionally you wouldn't be able to get network access to
- 23:20Speaker 1: that device because but with this technique, isn't you can't.
- 23:25Speaker 1: You can use GDB okay to basically give it a
- 23:28Speaker 1: voice on the network.
- 23:29Speaker 2: So it's like giving network giving a voice intivity.
- 23:32Speaker 1: To these devices that were previously.
- 23:34Speaker 2: Silent and these devices that were previously cut off. Next GAT, Yeah,
- 23:39Speaker 2: that's pretty cool. It's pretty cool.
- 23:40Speaker 1: So I guess the takeaway here is.
- 23:42Speaker 2: What's the lesson that you can use.
- 23:46Speaker 1: Tools in unexpected ways.
- 23:48Speaker 2: I think it teaches us that limitations can breed creativity.
- 23:54Speaker 1: Yeah right, Necessity is the mother.
- 23:57Speaker 2: Sometimes when you're faced of invention.
- 23:59Speaker 1: With a constraint, it forces you to think differently, to
- 24:03Speaker 1: find a new outside that you wouldn't have thought of otherwise.
- 24:07Speaker 2: The box.
- 24:08Speaker 1: So it's like those escape room puzzles.
- 24:09Speaker 2: Yeah, like an escape row where you have.
- 24:11Speaker 1: To use everyday objects unconventional ways. You've got to solve
- 24:16Speaker 1: the puzzle.
- 24:17Speaker 2: You've got this thing and you have to think.
- 24:20Speaker 1: Like it's like, okay, how can I how can I.
- 24:22Speaker 2: Use this thing?
- 24:23Speaker 1: Use this in a way it wasn't that was not intended,
- 24:26Speaker 1: intended to be used to achieve my goal.
- 24:29Speaker 2: Go achieve my goal.
- 24:30Speaker 1: And that's what Michael Elizabeth Scott did with this ethernet
- 24:34Speaker 1: over GDB hack.
- 24:35Speaker 2: That's cool. Yeah, okay, so all right, what's next?
- 24:39Speaker 1: Moving on? Hit me to another vulnerability.
- 24:42Speaker 2: Okay, another vulnerability.
- 24:44Speaker 1: This one is, uh, where are we going now? In
- 24:46Speaker 1: the Windows Control panel?
- 24:48Speaker 2: The Windows Control panel? That's right, okay, everyone's familiar with
- 24:51Speaker 2: that favorite thing. We've all used it to change our settings,
- 24:55Speaker 2: to customize our computers.
- 24:57Speaker 1: This vulnerability was discovered by a researcher right named Jeff
- 25:00Speaker 1: Cheppell Jeff, And what did he find? He was basically digging.
- 25:06Speaker 3: Indeed, he was looking into into how the how the
- 25:10Speaker 3: control panel handles Control panel CPL modules, which are basically
- 25:15Speaker 3: programs that add functionality to the control panel.
- 25:20Speaker 2: Okay, so they're like plugins. So it's like they extend
- 25:23Speaker 2: the functionality of the control.
- 25:25Speaker 1: Panel, the control panel. And what he found was he.
- 25:27Speaker 2: Found there's something subtle, subtle flaws in how these modules
- 25:31Speaker 2: to these modules are are loaded and executed, loaded, which
- 25:37Speaker 2: could potentially allow an attacker to run their.
- 25:41Speaker 1: Own code, some code and disguised as one of these modules.
- 25:45Speaker 2: So it's like you're sneaking in. It's like sneaking in
- 25:48Speaker 2: delicious code through the back door.
- 25:51Speaker 1: Disguised as a harmless plug in.
- 25:53Speaker 2: That's crazy, It's pretty sneaky.
- 25:55Speaker 1: So how is that even possible?
- 25:57Speaker 2: How is that even possible? How do you smell?
- 25:59Speaker 1: Comes down to the way that software interacts with the
- 26:02Speaker 1: operating system. So it's not just.
- 26:05Speaker 2: There are often a code itself, complex steps involved in
- 26:10Speaker 2: loading and running a program, how it interacts, and even
- 26:14Speaker 2: small errors in those steps can create opportunities for attackers.
- 26:20Speaker 2: So it's like a chain reaction.
- 26:21Speaker 1: Chain reaction one week link.
- 26:23Speaker 2: One week link can bring down the whole system.
- 26:26Speaker 1: Can break the whole thing. So what is this reason?
- 26:28Speaker 2: So what's the lesson here to us? What can we
- 26:30Speaker 2: learn from Jeff Chappel's work security? Yeah, I think it highlights.
- 26:37Speaker 1: What's the takeaway here the importance of secure coding practices.
- 26:41Speaker 1: So it's not just right you have to write good code,
- 26:45Speaker 1: but you also have.
- 26:46Speaker 2: To secure code carefully. Consider in time of a program
- 26:51Speaker 2: life cycle.
- 26:52Speaker 1: From the moment it's loaded to the moment it's executed.
- 26:56Speaker 1: More creatles, every step along the way has to be secure.
- 27:00Speaker 2: You've got to make sure otherwise there's a potential secure.
- 27:02Speaker 1: The entire way for vulnerability. So it's not just about
- 27:07Speaker 1: the code itself.
- 27:08Speaker 2: The whole systems is.
- 27:09Speaker 1: Being secure that the code runs in.
- 27:12Speaker 2: Yeah, that's yeah, it's a holistic view keep security.
- 27:15Speaker 1: It's not just about it's not just one one piece,
- 27:18Speaker 1: one thing, it's about the whole puzzle.
- 27:20Speaker 2: Yeah all right, Okay, what's next? So we're getting close
- 27:25Speaker 2: to the end here.
- 27:25Speaker 1: Moving on? What else do we have to something a
- 27:29Speaker 1: little bit more theoretical? Theoretical? I like theoretical.
- 27:32Speaker 2: I think it's still reletive. It's important to security. Yeah,
- 27:36Speaker 2: so this is about.
- 27:37Speaker 1: Hit me with it.
- 27:38Speaker 2: Hash function, hash function, kudo fixed points, fixed points. Wow,
- 27:44Speaker 2: that's a mouthful. That's a mouthful. All right, let's break
- 27:47Speaker 2: it down off.
- 27:48Speaker 1: What's a hash function?
- 27:49Speaker 2: So, a hash function is a fundamental building block of cryptography,
- 27:55Speaker 2: wire and security. So it's basically a function that takes
- 27:58Speaker 2: some input and produces they're everywhere a fixed size output
- 28:04Speaker 2: called a hash they're used for or a hash value,
- 28:07Speaker 2: everything from password storage. The key property the hash functional
- 28:12Speaker 2: signatures is that it's one way, meaning you can easily
- 28:17Speaker 2: calculate the hash of an but you can't.
- 28:20Speaker 1: It's very difficult to go backwards in other way to
- 28:23Speaker 1: find the input.
- 28:24Speaker 2: So and just the hash like a one way street.
- 28:27Speaker 1: It's a one way function.
- 28:28Speaker 2: So what does this have to do with pseudo fixed points?
- 28:32Speaker 2: Pseudo fixed points you keep talking about.
- 28:34Speaker 1: A pseudo fixed point is essentially a program that outputs
- 28:40Speaker 1: its own hash.
- 28:41Speaker 2: Value pseudo fixed points.
- 28:42Speaker 1: So it's a program that can calculate. So it's a
- 28:46Speaker 1: program its own fingerprint that spits out in a sense fingerprint.
- 28:51Speaker 2: That's pretty weird. Yeah right, how do you even do that?
- 28:56Speaker 1: Well, there are a couple of ways make a program.
- 29:00Speaker 1: One way is to use a technique to that called
- 29:04Speaker 1: quins quins Quinn's programs that can print their own source code.
- 29:10Speaker 2: Okay, so it's a program.
- 29:12Speaker 1: So it's like a snake that can swallow its own tail, print.
- 29:15Speaker 2: Out its own code. It's a self replicating program.
- 29:19Speaker 1: So it's like a program that can look.
- 29:20Speaker 2: You can use that technique create a hash functions pseudo
- 29:25Speaker 2: fixed point. This is me because if the program can
- 29:28Speaker 2: print its own source code, it can also calculate its
- 29:32Speaker 2: own hash and then output that hash as it's output.
- 29:39Speaker 2: So that's one way to create a pseudo fixed point.
- 29:42Speaker 2: The other way is to use why should we Care
- 29:44Speaker 2: fixed points, which is a more mathematical concept.
- 29:48Speaker 1: Which why should we care about?
- 29:49Speaker 2: But it's basically a program and hash function that could
- 29:53Speaker 2: be transformed pseudo fixed points into itself a series of operations,
- 29:58Speaker 2: implication program, it's this that's its.
- 30:01Speaker 1: Own it's tell us in a funhouse mirror about security.
- 30:06Speaker 2: Right, why is this a problem?
- 30:08Speaker 1: It's a little bit trippy, Yeah, but it seems very
- 30:12Speaker 1: It's a powerful technique and you can use it to
- 30:16Speaker 1: create these hash function practical pseudo fixed points.
- 30:20Speaker 2: Application here.
- 30:21Speaker 1: Yeah, so Why is this a vulnerability?
- 30:23Speaker 2: Why is this important for security? Yeah, well, can attacker.
- 30:26Speaker 1: Imagine an attacker wants to bypass a security mechanism that
- 30:31Speaker 1: relies on hash values, so.
- 30:33Speaker 2: He's using hashes.
- 30:33Speaker 1: So for example verify, Let's say you have a system
- 30:36Speaker 1: that uses hashes to verify that.
- 30:39Speaker 2: An attacker can create the integrity of files. One of
- 30:42Speaker 2: these programs that outputs you if you download a file hash,
- 30:47Speaker 2: you can calculate its hash. They can base and compare
- 30:50Speaker 2: it to the hash the system that was published by
- 30:53Speaker 2: the author of the file, and if the hashes.
- 30:56Speaker 1: Match malicious program you know.
- 30:59Speaker 2: Hasn't been tampered with legitimate, right, But so they're basically if.
- 31:03Speaker 1: An attacker can create a file.
- 31:05Speaker 2: Merging that has a digital fingerprint.
- 31:08Speaker 1: A specific hash, they can basically.
- 31:11Speaker 2: To bypass the security mechanisms.
- 31:14Speaker 1: So it's like creating a fake ID for a file.
- 31:18Speaker 2: Yeah.
- 31:18Speaker 1: So it's like, so it looks legitimate, we think we're safe,
- 31:22Speaker 1: even though it's not because we're using So that's why
- 31:24Speaker 1: these pseudo fixed points are dangerous. But because they allow
- 31:28Speaker 1: attackers to potentially bypass security mechanisms that rely on hash.
- 31:36Speaker 2: Values, that's mind blowing.
- 31:39Speaker 1: Yeah, it's a little bit mind bending, but it's important
- 31:42Speaker 1: to understand because it shows that even these fundamentals, cryptographic
- 31:48Speaker 1: techniques that has security, subtle weaknesses attackers can exploit.
- 31:54Speaker 2: There's some way.
- 31:55Speaker 4: Security is security constant arms. It's just a matter of
- 31:58Speaker 4: the attackers are all ways finding it, trying to find
- 32:02Speaker 4: new ways to break things, and the defenders always trying
- 32:07Speaker 4: to stay one step ahead.
- 32:09Speaker 1: Very cool, Yeah, it's exciting.
- 32:10Speaker 2: Yeah, to challenge.
- 32:11Speaker 1: Okay, keeps things interesting.
- 32:13Speaker 2: So moving on, all right, what else? We got something
- 32:16Speaker 2: a little more?
- 32:17Speaker 1: One more for this segment?
- 32:19Speaker 2: Fun?
- 32:19Speaker 1: Okay, fun hit me?
- 32:21Speaker 2: So this is project Okay.
- 32:26Speaker 1: Let's have some fun.
- 32:28Speaker 2: World video game video games. I love video games, the
- 32:31Speaker 2: technical intricacies. So what kind of video games shenanigans are
- 32:34Speaker 2: we talking about here? Of hash collisions, religions, and it's
- 32:38Speaker 2: called I like where this is going. MT five S
- 32:42Speaker 2: the MD five ne e S polyglot.
- 32:45Speaker 1: I know that sounds amazing.
- 32:48Speaker 2: Is that crazy?
- 32:49Speaker 1: Break it down for me? So what in the world?
- 32:52Speaker 2: What is a polyglot?
- 32:54Speaker 1: Is an MT five ne e S polyglot?
- 32:56Speaker 2: Well, in this context sounds like something alot is a
- 33:00Speaker 2: file doctor that is valid in multiple formats. So in
- 33:04Speaker 2: this case we have a file that is the file
- 33:08Speaker 2: valid e s RAM, which just that games are stored
- 33:13Speaker 2: in on the Nintendo Entertainment systems. And that's also a
- 33:17Speaker 2: valid PDF document, so you can open it up.
- 33:20Speaker 1: Host speaker, Welcome back everyone to the final part of
- 33:26Speaker 1: our deep Dive into Poscy or GTFO Volume three.
- 33:32Speaker 2: It's been quite a journey, it has been. We've seen
- 33:35Speaker 2: some amazing stuff we have, from hardware hacking to software exploitation.
- 33:40Speaker 1: Yeah, from the very low level to the very high level,
- 33:43Speaker 1: it's all connected.
- 33:44Speaker 2: Well, come step up with a few more a few
- 33:47Speaker 2: more gems from the book, interesting things, okay that we
- 33:51Speaker 2: found in the book. What do we got?
- 33:53Speaker 1: So? This first one is a a Kraken story game.
- 34:00Speaker 1: And this is a Sega Genesis.
- 34:03Speaker 2: Game, Oh Sega Genesis called Peer Solar and the Great
- 34:07Speaker 2: Architects Pure Solar.
- 34:09Speaker 1: I don't know if you've ever heard of this game.
- 34:11Speaker 2: I have heard of this game. It's a classic, a
- 34:13Speaker 2: homebrew RPG. Homebrew, that's right.
- 34:15Speaker 1: So it wasn't like that.
- 34:16Speaker 2: It wasn't like an official and officially re cress.
- 34:20Speaker 1: It was made by independent developers.
- 34:22Speaker 2: It was actually cool. We at least way after the Genesis,
- 34:26Speaker 2: way after the Genesis was even popular popular, so so
- 34:30Speaker 2: they were really pushing the limits.
- 34:31Speaker 1: They were really what the hardware could do, pushing the
- 34:34Speaker 1: limits of the hardware.
- 34:35Speaker 2: Yeah, and really impressive game.
- 34:37Speaker 1: The copy protection was a cracking itt tough, was no
- 34:41Speaker 1: easy feat.
- 34:41Speaker 2: So how did they do it?
- 34:43Speaker 1: How did they actually crack this?
- 34:45Speaker 2: Yeah? What were the challenging game?
- 34:47Speaker 1: Well, first of all, they had to figure out how to.
- 34:49Speaker 2: Yeah, how do you even get the code? Get the
- 34:52Speaker 2: code off a cartridge?
- 34:53Speaker 1: With the cartridge right, we're not.
- 34:55Speaker 2: Talking about like downloading a ROM file talking about from
- 34:58Speaker 2: the internet, the physical cartridge. This is a physical cartridge.
- 35:02Speaker 1: So they had to So you have to find a
- 35:04Speaker 1: way somehow to dump the ROM data from the cartridge
- 35:11Speaker 1: off of it.
- 35:12Speaker 2: Which is a challenge in itself, but they figured it out.
- 35:15Speaker 1: They were able to do that.
- 35:16Speaker 2: They did and then thanks and now they got the code.
- 35:18Speaker 2: They had a code. But then they had to actually
- 35:21Speaker 2: do you crack it? That's the secret it worked? Yeah,
- 35:24Speaker 2: so they had to so they had to dive in
- 35:26Speaker 2: this assembly can dive into the assembly code, the.
- 35:29Speaker 1: Ones and zero's the machine language, get it understand, trying
- 35:33Speaker 1: to figure out what it was doing, how.
- 35:35Speaker 2: It worked, and specifically.
- 35:38Speaker 1: Where's the copy protection?
- 35:40Speaker 2: Copy protection? What does it work? Mechanism work, So it's
- 35:43Speaker 2: like detective work. This is like detective work.
- 35:45Speaker 1: You're following the clues, trying to piece together the puzzle
- 35:50Speaker 1: of how this game is protecting itself.
- 35:52Speaker 2: The execution paths. Yeah, trying to figure out.
- 35:55Speaker 1: It's really challenging.
- 35:56Speaker 2: Okay, when does it get But they were up to
- 35:58Speaker 2: the task protection they were. It happens if they had
- 36:02Speaker 2: the skills, and it determinates what happens if it succeeds
- 36:06Speaker 2: to crack this game, and they had to kind of
- 36:08Speaker 2: like saw that together.
- 36:10Speaker 1: It's amazing.
- 36:10Speaker 2: It's out of work compressive that goes into something like
- 36:16Speaker 2: this of reverse engineering is a testament. So I guess
- 36:19Speaker 2: the takeaway here to their skill.
- 36:21Speaker 1: And their dedication, you know, even something. So what's the
- 36:25Speaker 1: lesson here? Can we learn relatively simple from these hackers, like.
- 36:31Speaker 2: A video game actually very complex, that even seemingly systems
- 36:37Speaker 2: can have incredible depth skills of knowledge, and that cracking
- 36:42Speaker 2: them requires a unique blend engineer of technical skill, creativity,
- 36:49Speaker 2: and perseverance.
- 36:50Speaker 1: So it's not just about it's about thinking outside the.
- 36:55Speaker 2: Box, thinking outside the box, and not giving up when
- 36:58Speaker 2: things get tough.
- 36:59Speaker 1: Yeah, because and I think that's something that.
- 37:02Speaker 2: Cracking something like this, we see it takes a lot
- 37:04Speaker 2: of patience.
- 37:07Speaker 1: Throughout a lot of trial and error this book and
- 37:09Speaker 1: a lot of just banging your head against the wall
- 37:12Speaker 1: that these research sometimes until you finally breakthrough.
- 37:15Speaker 2: Yeah, so they're not afraid to it's inspiring. Just keep
- 37:19Speaker 2: trying it is.
- 37:21Speaker 1: It's a good lesson for life in general, I think
- 37:23Speaker 1: the answer. Yeah, Okay, all right, so what's next?
- 37:25Speaker 2: So moving on what other hacking adventures to something a
- 37:30Speaker 2: little bit more.
- 37:31Speaker 1: What we have in store?
- 37:33Speaker 2: Low level, A low level. This is about uh.
- 37:37Speaker 1: Getting down to the bits and bytes.
- 37:39Speaker 2: Writing secure a right, I like get code for our
- 37:44Speaker 2: ICV architecture RSCV.
- 37:48Speaker 1: That's a hot topic these days.
- 37:49Speaker 2: Our SCV is a relatively.
- 37:51Speaker 1: It's a new processor architecture architecture. It's gaining a lot
- 37:56Speaker 1: of popularity.
- 37:57Speaker 2: It's open source.
- 37:58Speaker 1: Because it's open source.
- 37:59Speaker 3: It's gaining very flexible, a lot of traction, a lot
- 38:03Speaker 3: of potential industries.
- 38:04Speaker 2: Yeah, and so so why is secure coding the challenge
- 38:08Speaker 2: here is important for ri CV?
- 38:11Speaker 1: Okay, Well, just like any other process or architecture, ri
- 38:15Speaker 1: A s c V has its own unique.
- 38:19Speaker 2: Core instructions registers not careful. You can introduce vulnerability being
- 38:24Speaker 2: a new language into your code. Yeah, except if you make.
- 38:28Speaker 1: A grammatical But the stakes are higher because if you
- 38:32Speaker 1: make a mistake of security vulnerability to exploit.
- 38:35Speaker 2: It, take over your system to deal your data done, Bailey.
- 38:40Speaker 1: All sorts of bad things really took. So secure coding
- 38:44Speaker 1: is crucial for any RSCV processor architecture code development, but
- 38:50Speaker 1: especially for a new one. First off, like RI s
- 38:53Speaker 1: CV is because we're still learning someone.
- 38:56Speaker 2: Out the potential pitfalls.
- 38:58Speaker 1: Yeah, why is it important?
- 39:00Speaker 2: We're still discovering new vulnerability.
- 39:02Speaker 1: Shell code is basically a small piece.
- 39:04Speaker 2: Of shell code. Shell code is basically a small piece
- 39:08Speaker 2: of code that's a designed to exploit a vulnerability to
- 39:11Speaker 2: the system. So it's often used as part of an exploit.
- 39:17Speaker 2: So let's say you find a vulnerability in the program.
- 39:21Speaker 2: You can write some.
- 39:23Speaker 1: Shell code deep understanding that.
- 39:24Speaker 2: Will take advantage of that vulnerability and give you control
- 39:29Speaker 2: of the system. So it's a very powerful technique.
- 39:33Speaker 1: In this case, they had to. It's also very dangerous.
- 39:36Speaker 2: Because if it falls into the wrong hands r I
- 39:39Speaker 2: s CV whisperer, So you have to be very careful.
- 39:43Speaker 1: The architectures.
- 39:43Speaker 2: When you're writing shell code.
- 39:45Speaker 1: The deepest secrets, you.
- 39:46Speaker 2: Have to make sure that it's not going to secure
- 39:49Speaker 2: show do anything unintended.
- 39:51Speaker 1: So he had the master do you want.
- 39:52Speaker 2: To accidentally crash the system or instruction?
- 39:58Speaker 1: The register calling conventions give.
- 40:00Speaker 2: The attacker more control than you intended. So it's a
- 40:06Speaker 2: delicate balance between the power and syntax of a new lege.
- 40:11Speaker 1: It's a challenging field, but it's also very rewarding.
- 40:14Speaker 2: Much higher states if you can do it right. Yeah,
- 40:18Speaker 2: so because if you miss what.
- 40:21Speaker 1: Can we learn from Gone Bailey's.
- 40:23Speaker 2: Work A security hole? I think it shows the challenges
- 40:27Speaker 2: of adapting security practices to new and emerging technologies.
- 40:32Speaker 1: So what does this tell us as we scurrey.
- 40:35Speaker 2: In general push the boundaries of computing.
- 40:38Speaker 1: What's the lesson here? We need to make sure a
- 40:41Speaker 1: highlight the doors wide open attack.
- 40:44Speaker 2: An ongoing process. We can't just assume one thing is
- 40:48Speaker 2: new technology that.
- 40:49Speaker 1: It's automatically secure.
- 40:51Speaker 2: We need to evolve ourselves talking about security.
- 40:54Speaker 1: From the ground up. We have to design our systems
- 40:58Speaker 1: with security in mind.
- 41:00Speaker 2: Building a new house from the.
- 41:02Speaker 1: Very beginning, you want.
- 41:03Speaker 2: To you want to building a house, It structurally sounds
- 41:07Speaker 2: on a solid foundation and secure.
- 41:10Speaker 1: From the ground up.
- 41:11Speaker 2: From the ground up.
- 41:12Speaker 1: To start thinking about reinforcements until.
- 41:17Speaker 2: You have to think about it from.
- 41:18Speaker 1: The start caves in to start.
- 41:20Speaker 2: That's a great analogy thinking about reinforcements. So that's what
- 41:24Speaker 2: this whoc or gtf O I think that's all about.
- 41:28Speaker 1: It's about proactively identifying and mitigating identifying these vulnerabilities. It's
- 41:35Speaker 1: not just about finding the vulnerabilities, it's also about.
- 41:39Speaker 2: How to fix them, how to mitigate them, building a
- 41:42Speaker 2: more sharing that knowledge community.
- 41:44Speaker 1: With the community.
- 41:46Speaker 2: It's not just about sharing knowledge finding the.
- 41:48Speaker 1: Problem to make the world a safer place. It's a noble.
- 41:55Speaker 2: Goal and I think that's what's really inspiring. We need
- 41:58Speaker 2: more people about this book like that in the world.
- 42:03Speaker 2: A celebration of human curiosity. We're willing to share their
- 42:07Speaker 2: knowledge ingenuity and it feels celebration.
- 42:10Speaker 1: Yeah. It's a great community to be a part of
- 42:12Speaker 1: our collaboration and this book is a great example of that.
- 42:15Speaker 2: And it's a reminder that we all have a role
- 42:17Speaker 2: to play for.
- 42:18Speaker 1: Our deep dive into sc or GTFO Volume three Technology.
- 42:27Speaker 1: I hope you enjoyed it. I hope you learn.
- 42:30Speaker 2: Something and more securely for everyone.
- 42:32Speaker 1: It's inspired you.
- 42:33Speaker 2: Yeah, so go out there.
- 42:35Speaker 1: That's a wrap and hack something a deep dive responsibly
- 42:39Speaker 1: of course.
- 42:39Speaker 2: Yeah. And to POSSE or GTFO.
- 42:42Speaker 1: Stay safe, Volume three, Stay Curious.
- 42:48Speaker 2: We hope you enjoyed it.
- 42:49Speaker 1: We'll see you next time for another year JEP dive
- 42:52Speaker 1: into the world.
- 42:53Speaker 2: Of security research.
- 42:55Speaker 1: To keep hacking, hacking, keep learning, weap learning and pushing
- 43:00Speaker 1: the boundaries.
- 43:01Speaker 2: Pushing the possible until next time of what's possible.
- 43:05Speaker 1: Stay curious and stay secure.
- 43:07Speaker 2: Stay curious, all right, and stay secure and stay