[00:02.750 --> 00:06.910] Excuse me. So, we're setting up for sudden death. [00:08.830 --> 00:11.190] Okay, sudden death is preparing. [00:12.790 --> 00:14.410] Oh my goodness. [00:14.410 --> 00:20.250] So, when you were looking at the challenge to verify it, did you have that rollercoaster of emotion? [00:20.670 --> 00:24.950] You know, I can't say I did, but I also wasn't live on stream racing against someone right in front of me. [00:24.950 --> 00:30.130] That's true. I think that you have to give these competitors credit. [00:30.130 --> 00:35.190] This is such a difficult competition just in the pressure. [00:35.370 --> 00:39.170] And these scorers are contributing back to their team for the DEFCON CTF Finals. [00:39.170 --> 00:40.070] Oh, absolutely. [00:40.070 --> 00:44.130] So, they know the weight is on their shoulders to get this solved. [00:44.130 --> 00:46.650] They want to win. They want to help their team. [00:48.090 --> 00:54.870] And it looks like over on the other game, we missed this, NorseCode won the other match. [00:54.970 --> 00:59.130] About, what, 20 minutes in? [00:59.790 --> 01:07.330] Yes, and that's kind of what we expected based on some of the discussions that we had, the verification time. [01:09.210 --> 01:17.570] The expectation that we have on our side, though, is it's really just a guess compared to what the other competitors are going to come up with. [01:18.950 --> 01:22.710] So, we're working on getting this set up. [01:22.770 --> 01:26.230] You know, infrastructure, a lot going on behind the scenes here. [01:26.230 --> 01:28.790] This is not a simple operation. [01:28.790 --> 01:32.570] And I have to say, our team has done a great job overcoming difficulties. [01:32.570 --> 01:34.810] We had several hardware failures. [01:35.710 --> 01:40.410] And so, getting through and just running this game is really a testament. [01:40.410 --> 01:47.090] This is somewhat of a hostile environment in that there's a lot going on in DEFCON spaces. [01:47.230 --> 01:53.690] You got everything from network issues, cable problems, laptop problems, anything can happen. [01:53.690 --> 02:01.810] Just getting the game up and having this many matches, this many competitors, it's really a feat. [02:01.810 --> 02:04.170] And we're ready for sudden death. [02:04.550 --> 02:07.950] So, we're going to count it in. Again, this is an easier challenge. [02:08.890 --> 02:10.770] Alright, let's count them in. [02:10.910 --> 02:16.610] In 5, 4, 3, 2, 1, go. [02:16.610 --> 02:19.150] Alright, let's switch over to our competitors. [02:19.150 --> 02:23.590] So, we're looking at Blue Water here. They're just downloading. [02:24.090 --> 02:25.930] Alright, downloading the challenge. [02:26.130 --> 02:31.650] Okay, the name of this challenge is LOL RWX. [02:34.110 --> 02:40.430] Surprise! Text is now RWX. It's a sudden death challenge. Please solve it. [02:40.530 --> 02:42.630] I've got an idea that... [02:42.630 --> 02:45.130] Oh, shaking the mouse. They're like, come on, come on, come on. [02:45.130 --> 02:47.430] The name of the challenge should really give it away. [02:47.430 --> 02:49.510] The excitement for sudden death is real. [02:49.510 --> 02:52.650] I can't wait to see. Exactly. Sudden death.text is RWX. [02:52.650 --> 02:55.550] Where to write? What to write? How many do you want to write? [02:55.850 --> 02:58.870] Okay, so we see Blue Water just loading into IDA. [02:58.890 --> 03:01.310] Undefined just got the big Ghidra dragon on their screen. [03:01.310 --> 03:03.150] So, they're just loading in right now. [03:03.210 --> 03:05.630] I don't think analysis speed is going to come into this at all. [03:05.630 --> 03:07.430] It's a very simple binary. [03:07.990 --> 03:13.050] Text is RWX. Jump anywhere. Do whatever you want. Overwrite main. [03:13.050 --> 03:15.550] Looking at that main function, it's pretty straightforward. [03:15.550 --> 03:19.970] You got the loop. Where to write? What to write? [03:21.490 --> 03:23.550] I think it's going to be a pretty fast one. [03:23.550 --> 03:24.470] It should be pretty easy. [03:24.470 --> 03:28.370] It's basically who can interact with the binary faster at this point. [03:28.370 --> 03:31.730] Because, you know, just write shellcode to the beginning of main. [03:31.910 --> 03:33.530] Jump back to it. Easy. [03:33.550 --> 03:38.110] Undefined checking out that VM map command, [03:38.110 --> 03:41.050] showing them all of the sections in there, protections. [03:42.730 --> 03:47.810] Meanwhile, over on Blue Water, we just saw him highlight the prompt. [03:47.810 --> 03:51.250] Be like, no way. This is it? [03:51.330 --> 03:57.510] All you have to do is write shellcode to the program and away you go. [03:58.030 --> 04:03.210] Now, I really, really hope Endianess doesn't bite these guys in the butt. [04:03.570 --> 04:06.310] I really hope they remember to reverse it. [04:06.770 --> 04:08.430] Oh, no. Using U64. [04:08.430 --> 04:10.250] So, U64 handles Endianess. So, that's fine. [04:11.730 --> 04:16.830] Also, that's my most used utility in PwnTools is P64 and U64 for pack and unpack. [04:16.830 --> 04:18.850] And it handles Endianess swap. [04:18.930 --> 04:22.650] It's so nice. I honestly, that's the main reason why I use the library. [04:22.650 --> 04:29.510] Yeah, the automatic, hey, setting the context to the elf, though they're setting it manually in that script. [04:30.610 --> 04:37.230] Really helpful. And Python pack and unpack, you know, it's one of those not written for hackers. [04:37.230 --> 04:41.910] No. Less than I and everything, I don't know what's in there. [04:41.910 --> 04:47.670] All right. And I think on the undefined side, also, we see a similar, just racing to get that shellcode written. [04:48.450 --> 04:53.190] You know, we're writing eight bytes at a time, so they just need to enumerate. [04:53.190 --> 04:55.070] Oh, identical code almost. [04:55.070 --> 05:00.970] Yeah. We see the same idea on both sides and it's just a matter of how do I interact with this thing? [05:00.970 --> 05:03.090] How do I write these bytes there? [05:03.090 --> 05:07.610] And on blue water, we just saw them write their full shellcode, send one. [05:08.130 --> 05:09.370] Where are they writing it to? [05:10.210 --> 05:13.550] 4012CA, I think is right after the main loop. [05:13.910 --> 05:18.570] Now, when I verified this challenge, I wrote it to the beginning of text because I didn't want to deal with, [05:18.570 --> 05:22.450] oh, I only have so many bytes, oh, I, you know, main is at the end of text in this. [05:22.450 --> 05:23.030] Oh. [05:23.030 --> 05:27.750] So if you write over the end, you're, you know, that's not RWX. [05:27.750 --> 05:33.330] See, I was thinking, hey, I'll just write all my shellcode just past where that loop is happening [05:33.330 --> 05:36.950] and then just nop out or jump directly after the loop. [05:36.950 --> 05:40.210] Yeah, with like a 17-byte bin SH, right, that would work. [05:40.210 --> 05:45.590] But PwnTool's Shellcraft SH is, I think, more verbose than that because it has to do the full setup. [05:45.590 --> 05:48.350] You can't guarantee entry still on anything. [05:48.850 --> 05:51.990] Oh, oh, they got local shell, blue water. [05:51.990 --> 05:53.470] Oh, and he's just pointing at remote. [05:53.470 --> 05:55.890] Yep, just pointing at remote, LS, submitter. [05:55.890 --> 05:57.510] Oh, submitted. [05:58.430 --> 06:00.270] And blue water wins it. [06:00.270 --> 06:01.830] Blue water takes it, congratulations. [06:01.830 --> 06:03.770] Congratulations, blue water. [06:03.770 --> 06:04.630] Wow. [06:04.670 --> 06:06.430] They won the sudden death. [06:06.430 --> 06:08.650] They were close on the main challenge. [06:09.510 --> 06:12.350] Very good match, very close match between the two. [06:12.350 --> 06:17.230] We saw trading leads back and forth a couple times as far as knowledge and exploit progress. [06:18.190 --> 06:20.610] Really, really good match. [06:20.930 --> 06:23.630] Yeah, I mean, bravo to both competitors. [06:24.230 --> 06:26.970] The code looked so similar on both sides. [06:26.970 --> 06:32.490] They're just looking at it, just trying to get it down, and blue water edges them out. [06:32.490 --> 06:38.150] Yeah, over on our screens we see Undefined still working through their code. [06:38.150 --> 06:40.790] I think they might have just gotten it. [06:41.310 --> 06:44.710] Oh, no, they have a loop going right now, but they're so, so close. [06:45.070 --> 06:49.670] So that was, let's see what the bracket looks like now. [06:49.670 --> 06:54.590] So SuperDiceCode out by NorseCode. [06:55.190 --> 06:58.730] Kicked out of the bracket, so they're out first round. [06:58.910 --> 07:04.390] And Undefined now out by blue water, the number one in the qualifier, I think. [07:04.570 --> 07:10.790] Indeed, yes, they were coming in as the one seed, and now they'll move on in the double limb in the losers bracket. [07:10.790 --> 07:14.930] But they'll have a chance to go all the way back up, and they could still win this. [07:14.930 --> 07:20.130] Yeah, so blue water going to go against NorseCode as a follow-up to this at 12pm. [07:20.130 --> 07:27.130] But up next, we have OrgekrautPigButtsad on the player screen streams. [07:27.130 --> 07:31.310] And then coming up next on the main, we have Shellfish versus TWN48. [07:31.770 --> 07:37.070] Alright, so we'll take a quick break here, but then we'll be back very shortly with that next round. [07:37.070 --> 07:40.390] Absolutely, thanks for joining us, and I'm glad it was a good match. [07:40.490 --> 07:41.830] Yep, we'll see you soon.