[00:11.300 --> 00:14.940] Hello and welcome back everybody. We're here for our last round of the day. [00:14.940 --> 00:18.360] Day 2. I'm Cyber Protection Jordan. You just saw me with Brandon and... [00:18.360 --> 00:22.760] I'm Josh Negasora and you saw me three casts ago. It's been a long day, Jordan. [00:22.840 --> 00:25.140] It has been a long day. How many streams have you had today? [00:25.140 --> 00:26.100] Today, this is my second. [00:26.100 --> 00:28.640] Okay, yeah, so I had two in a row as well, minus the end of the day. [00:28.660 --> 00:31.560] I was over at Hackistat for the earlier part of the day. It's been a busy day. [00:31.560 --> 00:34.720] Yeah, I tried to go over there and catch you on it. I didn't see you. We crossed paths apparently. [00:34.760 --> 00:36.720] Yeah, you were looking for me when I was coming here. [00:36.720 --> 00:40.860] Okay, before we talk too much, let's go ahead and get the teams all queued up... [00:40.860 --> 00:43.500] because I know they're ready to go. So it looks like we're getting the thumbs up. [00:43.500 --> 00:45.080] So let's do the countdown. You ready? [00:45.420 --> 00:49.400] 5, 4, 3, 2, 1. [00:49.980 --> 00:51.560] Lift off. Wrong one, sorry. [00:51.560 --> 00:55.040] Refresh, refresh. And they're going. Okay, so we're watching them go. [00:55.420 --> 00:56.200] Alright. [00:56.380 --> 00:58.960] Perfect. So let's pull up. Who do we want to look at? [00:58.960 --> 01:03.480] Let's look at NorseCode because MMM is dealing with VMware file systems right now. [01:03.480 --> 01:06.600] Oh, no. Yeah, did they mount it? Yeah, they're bringing that in there. [01:07.100 --> 01:09.060] Alright, so NorseCode's got it. [01:10.060 --> 01:15.040] We've got a standard libc, LD, and then the challenge binary itself. [01:15.700 --> 01:19.420] Are both these guys working Windows in VMs and Windows? [01:19.420 --> 01:22.800] It looks like it, yeah. We've both got native... [01:22.800 --> 01:26.160] Wait, no, no, no, no. Is that native Windows? That doesn't look like native Windows. [01:26.160 --> 01:26.640] This? [01:26.660 --> 01:28.600] This one over here in Norse. That's not native Windows launcher. [01:28.600 --> 01:29.960] Oh, that might be Windows in a VM. [01:29.960 --> 01:30.840] No, that's in Ubuntu. [01:30.840 --> 01:32.500] Oh, it is. Good call. [01:32.500 --> 01:35.420] I don't know what the launcher they're using at the bottom, though. [01:35.680 --> 01:38.240] Alright, so we're in IDA. They're pulling up the challenge. [01:38.660 --> 01:40.460] We've got Bob's Cheap Flights. [01:40.460 --> 01:42.740] Oh, did you actually talk about this? This is Mark's challenge, right? [01:42.740 --> 01:44.800] Oh, yeah, this is Mark's challenge. It's called Cheap Flight. [01:44.800 --> 01:46.040] Okay, I haven't actually seen it. [01:46.320 --> 01:48.780] And the gist of it is... [01:48.780 --> 01:50.360] Well, the team's can't hear us, so it's fine. [01:50.500 --> 01:54.720] The gist of it is that you have shellcode, but you only have a certain number of bytes in it. [01:54.840 --> 01:56.680] Cheap flights. You've got to keep it very cheap. [01:56.680 --> 01:58.720] Okay, real quick, I just want to point out, [01:58.720 --> 02:00.920] very nice of them to have two different color schemes for us. [02:00.920 --> 02:02.400] We have the light theme and the dark theme. [02:02.460 --> 02:04.660] Even the IDAs were light theme and dark theme. [02:04.660 --> 02:07.360] Oh, not number of bytes. The sum of the bytes. [02:07.360 --> 02:08.360] Oh, the sum of the values. [02:08.360 --> 02:11.080] The sum of the bytes in the shellcode has to be under a certain value. [02:11.080 --> 02:13.920] Interesting. So it's shellcode where you have to have lower... [02:14.720 --> 02:16.000] Low opcode shellcode. [02:16.000 --> 02:17.200] Interesting. Okay. [02:17.200 --> 02:22.280] Or, you know, jump earlier and put your shellcode in a place where before it, [02:22.280 --> 02:24.600] you have bytes that sort stuff out. [02:24.720 --> 02:28.020] Interesting. Yeah, that makes it do kind of a stager approach. [02:28.080 --> 02:29.720] And then swap it over. [02:29.720 --> 02:34.120] All right, so let's go ahead and switch over to... [02:34.580 --> 02:36.820] Where are we? Maple Mallard Parliament. [02:36.820 --> 02:39.680] Maple Parliament Ducks of Bacon. [02:39.880 --> 02:42.560] I don't... Yeah, MPD. [02:42.600 --> 02:44.780] Yeah, I call them the Mighty Ducks. [02:44.780 --> 02:46.200] The Mighty Ducks. I like the Mighty Ducks. [02:46.580 --> 02:47.960] They don't even have ducks in the name anymore. [02:48.020 --> 02:50.200] Yeah, we're already working on our... Oh, and also, [02:50.720 --> 02:54.500] we've had different players from MMM come up in the past. [02:54.500 --> 02:56.180] Do we know the player? [02:56.180 --> 02:59.300] I don't know the player. It's his first time doing live CTF. [02:59.300 --> 03:01.340] I know it's a new player. A new player at CTF. [03:01.580 --> 03:03.080] And live CTF. That's fantastic. [03:03.180 --> 03:06.080] Yeah, and also for Norse code. [03:06.820 --> 03:09.640] Yeah, the normal guy came in and dropped this guy off. [03:09.640 --> 03:10.980] And I look at this guy, I'm like, you're not playing? [03:10.980 --> 03:12.660] He's like, hi, I'm the shellcode guy. [03:13.100 --> 03:14.860] Oh, very nice. [03:14.900 --> 03:16.580] I hope he lives up to the title. [03:16.580 --> 03:18.640] Okay, that makes a ton of sense. So we did tell, again, [03:18.640 --> 03:20.820] we tell teams the category, and so they knew [03:21.180 --> 03:23.220] this is a shellcoding challenge, right? [03:23.220 --> 03:26.140] We just said, I think x64 shellcode probably is what we put in there? [03:26.140 --> 03:28.520] Yeah, x64 shellcode I think was the exact category. [03:28.520 --> 03:30.320] But yeah, we like to put the architecture in [03:30.320 --> 03:31.800] just so they know there's nothing crazy or tricky. [03:31.800 --> 03:35.500] Yeah, we're not doing arm shellcoding because that would be a rude wakeup. [03:35.500 --> 03:37.720] We just don't want to deal with the infrastructure. [03:37.760 --> 03:40.220] We did do an arm challenge last year. [03:40.540 --> 03:41.800] Oh, we did. [03:43.100 --> 03:43.900] We'll see. [03:43.900 --> 03:46.140] It may be a little while before we do that again. [03:46.140 --> 03:47.940] All right, so Maple is working back. [03:47.940 --> 03:49.340] We've already got our PwnTools. [03:50.240 --> 03:51.120] They've got their shell. [03:51.120 --> 03:52.020] So they're just pulling up Shellcraft. [03:52.040 --> 03:54.820] They're just going through Shellcraft SH. [03:54.820 --> 03:56.600] They're just going to try the simplest one. [03:56.600 --> 03:58.500] I wasn't the one that verified this. [03:58.500 --> 03:59.600] I don't know if this will work. [03:59.600 --> 04:01.780] If this works, I'll be sorely disappointed. [04:02.000 --> 04:03.840] Yeah, that means we didn't do a very good job. [04:03.840 --> 04:04.640] I don't think it will. [04:04.640 --> 04:05.440] Oh, Shinmo. [04:06.400 --> 04:08.620] Oh, then Shinmo's done my CTF before. [04:08.620 --> 04:09.740] Maybe not yet this year. [04:09.740 --> 04:11.660] No, I mean this roundabout. [04:12.420 --> 04:15.360] But it's too expensive. We'll just implode instead. Yikes. [04:15.360 --> 04:17.040] Okay, so that's what we're seeing. [04:17.340 --> 04:20.660] So this challenge is not really much of a reversing challenge. [04:20.660 --> 04:21.720] It's not a Pwnable challenge. [04:21.720 --> 04:23.380] We will literally run their shellcode. [04:23.380 --> 04:24.940] We just have to make sure all the bytes, [04:24.940 --> 04:26.920] when you add up, are a small value. [04:26.920 --> 04:28.000] Or less than some amount. [04:28.000 --> 04:29.740] We can go over to Norse code right now. [04:29.740 --> 04:30.920] They might be in the function. [04:31.460 --> 04:33.980] They are in IDA. Let's take a look at what they're looking at. [04:33.980 --> 04:36.660] And we've even got symbols right here on the... [04:36.660 --> 04:37.880] Here we go. [04:39.240 --> 04:40.520] Oh, and it looks like it just [04:41.380 --> 04:43.300] gives you what you've sent it so far. [04:45.880 --> 04:47.440] Number of airports. [04:48.420 --> 04:50.140] Oh, so it's just the number of stops. [04:50.140 --> 04:51.580] But I think the total cost [04:51.580 --> 04:54.320] is what really gets it. [04:54.320 --> 04:55.140] Yeah, here we go. [04:56.440 --> 04:59.060] So, it needs to be less than 2,000. [04:59.060 --> 05:00.660] Less than or equal to 2,000. [05:00.780 --> 05:01.700] If you add up all the bytes. [05:01.700 --> 05:04.040] The sum of all of the bytes that is in the shellcode. [05:04.040 --> 05:05.360] So what is that? Normal, [05:05.360 --> 05:08.360] Finesse shellcode is like 27 bytes for verbose. [05:08.360 --> 05:10.640] Yeah, but again, what are the values of those bytes? [05:10.640 --> 05:12.440] If any of them were FFs, for example. [05:12.820 --> 05:13.500] Oh, yeah. [05:13.500 --> 05:14.960] Then you might want to FF. [05:15.040 --> 05:16.240] Like a negative one. [05:18.140 --> 05:18.920] Yeah, so just some... [05:18.920 --> 05:19.860] You know what, I'm actually surprised. [05:19.860 --> 05:21.380] Again, we saw that [05:22.640 --> 05:25.460] the shellcraft kind of come up really quickly. [05:25.700 --> 05:26.500] But I think that [05:26.500 --> 05:28.720] you would expect that not to be the solution. [05:28.720 --> 05:31.600] No, that's a sudden death solution right there. [05:31.600 --> 05:33.600] We actually saw that one in sudden death. [05:33.600 --> 05:34.120] Yeah. [05:34.960 --> 05:36.780] Oh, there we go. So we're debugging it. [05:36.780 --> 05:38.720] Yeehaw, it's time for a trip. Wait, was that it? [05:38.720 --> 05:40.180] Are we that quick on MMM? [05:40.780 --> 05:42.140] There's no way. [05:42.620 --> 05:45.140] This might be our fastest solve ever here. [05:45.140 --> 05:46.480] Wait, there's no way. [05:50.230 --> 05:51.970] So their initial payload... [05:51.970 --> 05:54.650] So that is the payload. [05:54.650 --> 05:57.050] This might be the fastest solve yet here. [05:57.050 --> 05:58.730] This might be the quickest. [05:59.270 --> 06:00.470] Oh my goodness. [06:00.470 --> 06:02.670] That was amazing. [06:02.670 --> 06:03.810] Look at that. [06:04.010 --> 06:05.530] They're going to throw it live. [06:05.530 --> 06:07.210] That is a blowout. [06:07.210 --> 06:09.050] What a fast solve. [06:09.770 --> 06:11.690] They lived up to their reputation. [06:12.570 --> 06:13.970] It's Jimmo. [06:13.970 --> 06:14.590] Yeah. [06:17.150 --> 06:18.870] Fantastic speedrun. [06:18.870 --> 06:22.130] A true speedrun from Jimmo for MMM. [06:22.290 --> 06:24.770] We've got a solve in record time. [06:24.770 --> 06:25.970] How fast was that? [06:25.970 --> 06:27.510] Seven or eight minute solve. [06:27.730 --> 06:28.530] That was fantastic. [06:28.530 --> 06:29.870] I can find out right now. [06:29.870 --> 06:32.770] We have debug prints from all of the interactions here. [06:32.770 --> 06:36.250] We'll pull up and see what the actual solve time was. [06:36.250 --> 06:37.750] Yeah, poor Norse code. [06:37.970 --> 06:40.690] Trying to compete with that is rough. [06:40.810 --> 06:41.830] What a quick one. [06:42.230 --> 06:45.790] Honestly, we debate internally a lot about how hard things should or shouldn't be. [06:45.790 --> 06:47.430] If every one of our challenges was that fast, [06:47.430 --> 06:48.810] they'd all be sudden deaths. [06:49.170 --> 06:51.350] Very quick. Quick to the solution. [06:51.350 --> 06:53.310] Just a quick pop XOR. [06:53.730 --> 06:55.710] Move constants. [06:55.830 --> 06:56.650] XOR syscall. [06:57.610 --> 06:59.430] They're just calling into receive, aren't they? [06:59.430 --> 07:00.770] I bet they're just calling into receive. [07:00.770 --> 07:01.790] They're calling into receive, yeah. [07:03.130 --> 07:04.190] Well done. [07:05.170 --> 07:07.530] That's absolutely a completely valid solution. [07:07.530 --> 07:08.470] Perfectly valid. [07:08.550 --> 07:09.570] Very cool. [07:10.010 --> 07:12.710] I'm happy we get a longer break now. [07:12.890 --> 07:14.910] Yeah, longer break. This is the last one of the day. [07:15.350 --> 07:16.730] Other matches still running. [07:16.810 --> 07:19.250] Everyone different, depending on how you're watching this. [07:19.250 --> 07:20.910] If you're there on YouTube, go up to our channel [07:20.910 --> 07:22.330] and look at the other live ones. [07:22.350 --> 07:25.070] You can watch the other two teams that are going, which right now is... [07:26.430 --> 07:27.610] Shellfish and Mhacaroni, right? [07:27.610 --> 07:29.910] Shellfish and Mhacaroni, who've both been doing very well. [07:29.910 --> 07:31.430] Honestly, before their losses, [07:31.430 --> 07:32.770] they both were doing very, very well. [07:32.770 --> 07:34.370] I expect that to be a good match as well. [07:34.370 --> 07:36.290] Mhacaroni is in a killer run right now. [07:36.290 --> 07:37.770] They've knocked out some big teams. [07:37.770 --> 07:40.590] But they also, just in the last round, [07:40.590 --> 07:41.790] back-to-back just got knocked out [07:41.790 --> 07:43.690] in that very close race [07:43.690 --> 07:45.070] that I casted with Fall. [07:45.930 --> 07:47.870] I mean, it was seconds apart. [07:47.870 --> 07:49.210] So they were really, really close. [07:50.070 --> 07:52.290] That was stressful, I'm sure, for them. [07:52.290 --> 07:53.650] But hopefully they do well. [07:53.650 --> 07:55.170] Go ahead and check out the other streams. [07:55.570 --> 07:57.870] Keep an eye out on the channel, because we'll be back. [07:57.990 --> 07:59.390] We'll be back tomorrow. [07:59.530 --> 08:01.830] Tomorrow morning at 11? [08:01.990 --> 08:02.690] I think 11. [08:03.590 --> 08:05.630] Actually, yeah, we can look on our schedule. [08:05.630 --> 08:07.410] 11 a.m. tomorrow, we've got [08:07.410 --> 08:09.650] four matches tomorrow, I believe. [08:09.650 --> 08:11.810] Tomorrow at 10. No, our first match is 10. [08:11.810 --> 08:12.950] We have a 10-11, [08:14.250 --> 08:15.490] a 1 and a 2. [08:15.710 --> 08:18.270] So our final match will be 2-3. [08:19.010 --> 08:19.730] And that'll... [08:19.730 --> 08:20.770] We're getting to the top of the top. [08:20.770 --> 08:23.250] Every one of the matches tomorrow, we're done with our [08:23.250 --> 08:25.930] off-stream streams. So there's only going to be one stream. [08:25.930 --> 08:28.150] It's just going to be us here. [08:28.150 --> 08:29.490] And you'll be able to see what [08:29.490 --> 08:31.210] the teams are doing through that. [08:31.870 --> 08:33.710] Our last two lower bracket [08:33.710 --> 08:35.670] challenges, and then we're going to move into the [08:35.670 --> 08:37.930] upper ones as well. Only five teams left. [08:37.930 --> 08:40.170] It's going to go pretty quick. [08:40.390 --> 08:42.330] Oh, it's going to be close races. [08:42.510 --> 08:44.030] So as a reminder, every team, [08:44.030 --> 08:45.950] they're playing for a bunch of points [08:45.950 --> 08:48.350] in the main DEF CON CTF. And so for context, [08:48.350 --> 08:50.270] right now, the main DEF CON CTF [08:50.270 --> 08:51.750] goes anywhere from 3,700 [08:51.750 --> 08:53.750] to about 2,600 points. [08:54.750 --> 08:56.010] Between first to last, [08:56.010 --> 08:57.530] I guess it's about 2,000 points to [08:58.610 --> 08:59.810] almost 4,000 points. [08:59.810 --> 09:01.350] There's a light blinding me. I can't see the screen. [09:01.490 --> 09:03.970] There is 1337 points going [09:03.970 --> 09:05.430] to first place. No! [09:05.430 --> 09:07.290] Last place gets 500 points. So it's actually [09:07.290 --> 09:09.290] only a difference of about 800 points. [09:09.490 --> 09:10.490] 800 points is [09:11.250 --> 09:13.570] half the split from first to last. [09:13.570 --> 09:15.050] Well, no, no. So the way that [09:15.050 --> 09:17.590] the spread is, 800 points would take, for example, [09:17.590 --> 09:19.490] somebody from maybe third to first. [09:19.490 --> 09:21.350] Oh, Jordan, while we're talking about [09:21.350 --> 09:23.110] this, actually... What's this? [09:24.330 --> 09:25.410] Mhacaroni won. [09:25.410 --> 09:27.510] Did they? Just now. Fantastic. [09:27.510 --> 09:29.270] So, again, another quick match. [09:29.270 --> 09:31.130] Wow. Very fast match. [09:31.390 --> 09:33.270] She's been knocked out of the competition, but [09:33.750 --> 09:35.230] Mhacaroni... That was three minutes [09:35.230 --> 09:37.070] after MMM. Yeah, pretty quick. [09:37.070 --> 09:39.270] Oh my goodness. So all of our games, [09:39.270 --> 09:41.110] all of our challenges are done for the day today. [09:41.110 --> 09:43.250] We've got, like I said, those four more tomorrow. [09:43.250 --> 09:45.350] We'll see the final few matches, and [09:45.350 --> 09:47.510] we'll be back then. We'll see you back. [09:47.510 --> 09:48.810] Cheers. Have fun.