[00:12.870 --> 00:17.510] And we are back, just a couple minutes late, but not too far off. [00:17.510 --> 00:19.630] Yeah, hello everyone, we are back. [00:19.630 --> 00:25.830] We are here, and this is so exciting because we have the grand finals of the live CTF tournament [00:25.830 --> 00:28.730] at the DEFCON CTF finals. [00:28.890 --> 00:33.550] We have team Maple Mallard Magistrates versus Hypeboy. [00:33.550 --> 00:36.250] This is going to be really exciting. [00:36.310 --> 00:40.390] A fun fact is that the player playing for Hypeboy [00:41.170 --> 00:44.790] is the person, so we did this for the first time last year, [00:44.790 --> 00:49.570] and the person who went all the way and won last year, [00:50.370 --> 00:51.530] his nickname is... [00:52.890 --> 00:53.510] C2W2M2. [00:53.510 --> 00:56.150] Right, and so he is the person who won last year. [00:56.150 --> 01:00.150] So we have kind of like the live CTF champion. [01:00.150 --> 01:01.630] Returning champion, yeah, absolutely. [01:01.630 --> 01:06.470] Versus like MMM, who are just such an amazing team, right? [01:06.470 --> 01:10.030] So there's like two giants facing off here. [01:10.470 --> 01:13.570] And I think we're going to get started very soon. [01:13.570 --> 01:16.630] Well, let's just wait a little bit. [01:16.630 --> 01:17.490] I think we're going to get ready. [01:17.490 --> 01:20.430] We're going to make sure we get some power cables connected and get into it. [01:20.990 --> 01:24.470] But we have seen, again, we talked about on Hypeboy, [01:24.470 --> 01:28.070] we have C2W2M2 coming back as the sort of returning champion. [01:28.210 --> 01:30.830] And they made it through the first year with single elimination. [01:30.830 --> 01:32.510] It was even more stressful, even harder. [01:32.670 --> 01:35.490] It's worth pointing out though, they also made it through undefeated [01:35.490 --> 01:37.690] in this round too. [01:37.690 --> 01:43.310] So they have never lost in live CTF, which is kind of crazy, right? [01:43.310 --> 01:46.490] Like if you were to look over all the matches over two years, really great. [01:46.490 --> 01:49.390] But on the other side, we have like the sort of pair programming team [01:49.390 --> 01:52.470] from Maple Mallard Magistrates because we've had them swapping out [01:52.470 --> 01:55.870] between Robert and we've had them swapping into Jinmo, two of their players. [01:55.870 --> 02:02.470] And we told both teams that this was an x64 shellcoding challenge. [02:02.470 --> 02:05.570] And so they kind of used that hint to decide who to send. [02:05.570 --> 02:07.650] They decided Jinmo was going to be it. [02:07.710 --> 02:10.690] Sounds like we're ready to go, so we'll give them the countdown. [02:10.730 --> 02:13.470] Yes, so we are going to start the grand finals in... [02:14.190 --> 02:18.950] 5, 4, 3, 2, 1, go! [02:19.450 --> 02:21.170] Oh my god, this is so exciting. [02:21.170 --> 02:23.950] So this challenge, what do we know about it? [02:23.950 --> 02:27.830] Yes, so we did a little bit of, you know, we're getting with the times and so on. [02:27.830 --> 02:33.270] So the big thing this summer has of course been two movies that have come out. [02:33.450 --> 02:38.550] So in the, not the previous match, but the match before, we had a challenge House of Barbie, [02:38.550 --> 02:44.190] which was a heap challenge, you know, a bit of a play on the whole house of heap thing, right? [02:44.550 --> 02:48.270] So now we're following this up with Noppenheimer. [02:48.570 --> 02:53.250] Noppenheimer. You came up with a name, suggested it, before we even had an idea for the challenge. [02:53.250 --> 02:56.270] So Noppenheimer is the challenge. [02:56.270 --> 03:00.170] There's going to be a board, you saw there briefly on Hypeboy's screen. [03:00.370 --> 03:04.670] There's like a random bit of memory that's a random generated bytes. [03:04.750 --> 03:08.150] You've got 16 columns wide. You've got 256 long. [03:08.370 --> 03:13.870] And we thought, what better thing to do than to like, you know, knock some bombs, some explosions onto the board. [03:13.870 --> 03:18.850] So like a battleship or like a challenge where you have to like pick an XY coordinate. [03:18.930 --> 03:22.450] You choose where you want to write. By the way, I love that they just ran it first thing. [03:22.450 --> 03:25.570] Just to look at it, because this is a good one. You can really understand everything you need to know. [03:26.370 --> 03:30.210] Like no reverse engineering. You look at this and you know immediately what you need to do. [03:30.210 --> 03:35.990] Right. Although, I do want to quickly look at MMM's screen. [03:35.990 --> 03:38.690] We might not see it. Maybe they switched back to the terminal. [03:38.690 --> 03:45.050] But I did see that they very crucially ran the checksec program, which will list what kind of mitigations, protections. [03:45.070 --> 03:48.790] And I think one that could be of interest is that there's no pi. [03:48.890 --> 03:53.750] So I, you know, that could... I don't think it's in our reference solution. [03:53.750 --> 03:58.970] If someone makes assumptions or, you know, like if they think it's randomized or it's not randomized, [03:58.970 --> 04:03.870] you could either make them make an invalid solution or make a solution that's far harder than it needs to be. [04:03.870 --> 04:04.170] Right. [04:04.170 --> 04:10.610] If they know what changes have been made to the binary, what protections are built into it. [04:10.610 --> 04:12.130] Is it going to be randomized or not? [04:12.130 --> 04:19.450] Right. And we can see here that the player is kind of recreating basically the algorithm of this challenge. [04:19.450 --> 04:25.630] So what we do, right, we generate one page of random data. [04:26.110 --> 04:31.950] And the player here is recreating the same randomization using the same seed and dumping this into a file. [04:31.950 --> 04:36.910] And speaking of seeds, right, that particular seed, if you actually look at the decompilation, [04:36.910 --> 04:40.750] is the date of the eternity test that's featured in the movie Oppenheimer. [04:40.750 --> 04:45.450] So there's a lot of little like inside references. I don't think they're going to notice any of that. [04:45.450 --> 04:48.830] They're going to be so focused on what they need to do. That's fine. [04:48.830 --> 04:51.390] It made us chuckle when we made it. [04:51.390 --> 04:53.150] Yeah, we're just having some fun. [04:53.430 --> 04:59.130] So we've already got Hypeboi over here with their interactive script able to interact with it to extract those values out. [04:59.130 --> 05:01.590] So they're already able to pull this out. [05:01.590 --> 05:05.950] Although really pulling it kind of once and then figuring out your solution is going to be the tricky part. [05:05.950 --> 05:06.570] Right. [05:06.830 --> 05:13.230] So we're going to see, are they going to... this SH64 one. [05:13.230 --> 05:15.050] So I assume that's the 64-bit shellcode. [05:15.050 --> 05:15.770] They've got their payload. [05:15.770 --> 05:16.170] Yeah. [05:16.170 --> 05:17.130] They want to find it. [05:17.130 --> 05:19.530] Sure enough, yeah, they're writing up a find script. [05:19.530 --> 05:21.610] So they're going to look for the bytes within there. [05:21.610 --> 05:26.070] Now, it's worth noting, though, I don't think I've seen anyone actually... they may have done it because they're very fast. [05:26.110 --> 05:29.610] But I don't see anyone actually trigger the sort of test explosion. [05:29.610 --> 05:29.950] Right. [05:29.950 --> 05:32.830] Because the pattern... and we debated this even as we were writing it. [05:32.830 --> 05:35.510] What was it going to look like when you sort of like targeted a spot? [05:35.510 --> 05:35.970] Yeah. [05:37.410 --> 05:42.050] And I think they're also... because what we do is, like I said, we have a page of random data. [05:42.050 --> 05:46.930] And you can kind of like do a test on one of these... on the coordinates. [05:46.930 --> 05:50.390] So we organized this in a 16x256. [05:50.390 --> 05:50.810] Yes. [05:50.810 --> 05:50.950] Yeah. [05:50.950 --> 05:52.590] One page of memory. [05:52.670 --> 05:54.070] So it's 1K, right? [05:54.070 --> 05:54.650] So 16x256. [05:54.650 --> 05:54.830] Yeah. [05:54.830 --> 05:57.950] So 1K, not 1... well, it depends on the size of your... [05:57.950 --> 05:58.690] Or 4K. [05:58.710 --> 05:59.170] Yeah. [05:59.490 --> 06:00.210] Anyway. [06:00.430 --> 06:01.990] So this is a two-dimensional grid. [06:01.990 --> 06:02.830] That's the point. [06:02.830 --> 06:04.010] And you can choose a coordinate. [06:04.010 --> 06:11.650] And it will put a NOP instruction on that coordinate, but also on each coordinate to the left, right, above, and below that. [06:11.650 --> 06:13.870] So it's like a small little cross. [06:13.870 --> 06:14.030] A little explosion. [06:14.030 --> 06:14.190] Yeah. [06:14.190 --> 06:16.950] We debated trying to do like a bigger kind of blast pattern. [06:16.950 --> 06:19.090] And we just decided complexity wasn't worth it. [06:19.090 --> 06:19.870] We wanted to kind of keep... [06:19.870 --> 06:20.270] Oh, there we go. [06:20.270 --> 06:23.210] We've got a Nuke offset over there. [06:23.210 --> 06:24.210] We saw briefly. [06:24.210 --> 06:27.530] So the code actually has the Nuke offset. [06:28.450 --> 06:32.950] So I'm glad that they... because it just says, I think, launch, view, and end test in the actual service itself. [06:33.010 --> 06:38.030] I really appreciate that they get the reference at least because they did name their function Nuke. [06:38.030 --> 06:39.270] So they are aware of that. [06:39.270 --> 06:39.690] Yeah. [06:39.690 --> 06:40.190] Yeah. [06:40.190 --> 06:50.070] So this is basically going to be about, you know, how can you find some of these bytes and make use of them, [06:50.070 --> 06:56.350] and like removing, creating like NOP instructions around them so you only get the useful stuff remaining. [06:56.350 --> 06:56.810] Yes. [06:56.810 --> 07:02.390] And so, again, this is not... your shellcode payload that you start with isn't actually the payload you're ever going to be able to run. [07:02.390 --> 07:02.650] No. [07:02.650 --> 07:09.430] Because a default x64 shellcode payload is going to have lots of multi-byte sequences that are unlikely to show up in this random page. [07:09.430 --> 07:17.510] So what you really are going to have to do is some sort of stager or some sort of like operation that you'll then be able to leverage to put your actual kind of shellcode later. [07:17.530 --> 07:17.570] Yeah. [07:17.570 --> 07:22.430] So we're really looking to see them, you know, you're going to look for like one or two byte opcodes, right? [07:22.430 --> 07:24.210] That's really what you kind of want to see. [07:24.870 --> 07:25.410] Yeah. [07:25.410 --> 07:30.330] We're already... I love like how fast they are into it though, yeah, because we're already... [07:30.330 --> 07:35.010] We're seeing some automation here to like doing a lot of inputs to do all these tests. [07:35.010 --> 07:38.430] But I don't see a lot of NOPs back out, so I'm not sure whether they're... [07:38.430 --> 07:40.150] Are they restarting? [07:41.230 --> 07:43.770] Yeah, also not entirely sure what's going on there. [07:43.770 --> 07:45.510] Oh, no, so we did have a function named nuke, right? [07:45.510 --> 07:51.410] So I think that's where we got the code. The launch menu actually triggers the nuke function, so it makes sense that they would name it similarly. [07:51.610 --> 07:52.010] Right. [07:53.190 --> 07:57.550] So, yeah, well, I think we're going to see... [07:57.550 --> 08:01.790] Right now they're assuming it's the simplest and they can just pinpoint individual bytes. [08:01.830 --> 08:03.550] I don't yet know if... [08:03.550 --> 08:10.770] Once they realize that they don't control an exact byte, as well as that they've got to like... [08:10.770 --> 08:11.570] I don't know. We'll see. [08:11.570 --> 08:15.450] I would think that they would have realized that the exact pattern or shellcode is unlikely to be buried in there, [08:15.450 --> 08:20.610] especially with just kind of a random page with a random seed that was sort of an in-joke. [08:20.910 --> 08:24.170] They could assume that we picked a particular seed for a particular payload. [08:24.170 --> 08:24.410] Right. [08:24.410 --> 08:28.070] We picked not for the payload, but for the seed itself to be able to make that. [08:28.070 --> 08:32.150] And I think the... [08:32.150 --> 08:38.590] What was I going to say? I was going to switch over to MMM and see if we can see here that they are running this in a debugger. [08:38.590 --> 08:40.510] And I saw before... We'll see if we see them again. [08:40.510 --> 08:45.270] They were looking a little bit, I think, at the registers at the time of calling the shellcode. [08:45.270 --> 08:50.770] Because you might get something for free there by having some convenient value in some register. [08:50.770 --> 08:58.970] Not just for free, but just knowing in general the state of things and then knowing where you need to go to either be able to get more bytes in there [08:58.970 --> 09:02.170] or to call an existing function or to jump to other existing code. [09:02.170 --> 09:03.470] Like, whatever you're going to do. [09:04.030 --> 09:08.850] And also there is something, I think, as you said, very unlikely to show up in some of these sequences. [09:09.050 --> 09:15.890] We do give them a good chunk of data, but it's not that big that you would have interesting things. [09:15.890 --> 09:16.870] Yeah, 4,000 bytes. [09:17.910 --> 09:23.450] I will say, we just saw a really brief Google search for from hex Python. [09:23.510 --> 09:29.570] And it warms my heart, because even these people who are an order of magnitude faster and better than me still have to look at documentation. [09:29.570 --> 09:30.870] It does happen. [09:30.990 --> 09:34.830] Now, again, HeadBoy did it so fast that you couldn't even see it. [09:35.070 --> 09:38.410] Yeah, we're watching both of the screens here. [09:38.410 --> 09:42.370] We're trying to switch over and show you all of the interesting things. [09:42.370 --> 09:44.890] But by the time they've done it, it's all gone. [09:44.890 --> 09:46.050] Sometimes it's just too fast. [09:46.050 --> 09:49.950] And these two especially, again, these are the two that have made it the furthest in the competition. [09:49.950 --> 09:51.630] They've won the most matches. [09:51.790 --> 09:54.310] They are two of the fastest hackers in the world. [09:54.310 --> 09:58.110] I don't think there's any question that in terms of raw hacking speed, it's clearly some of the best. [09:58.110 --> 10:01.050] It's absolutely insane. [10:01.570 --> 10:04.410] And I think it's really cool here. [10:04.450 --> 10:12.330] So we are here at the CTF floor at DEF CON, right next to all the teams. [10:12.330 --> 10:16.250] And I think we are getting to the very end of it. [10:16.250 --> 10:20.570] Yeah, I think it's either done now or just in a few more minutes, the actual end of the game is coming down. [10:20.570 --> 10:25.470] So we have a lot of the teams now just standing up and watching the finals, the live stream, [10:25.470 --> 10:31.610] which I think is really cool to see that there is an interest for this, a kind of excitement around this. [10:31.610 --> 10:37.870] And maybe a little bit of they're glad that they're not the ones being spectated and watching what they're doing. [10:38.130 --> 10:38.690] Relief. [10:38.690 --> 10:42.950] So I do see on the right, by the way, here on Hypeboy now, we've got an actual disassembly chunk. [10:42.950 --> 10:44.630] And that's really, I think, what you're going to want to do. [10:44.690 --> 10:49.310] Definitely one of the keys to solving this, certainly at least in our playtest, were find out what's there. [10:49.310 --> 10:51.390] You need to find all the possible opcodes you can get currently. [10:51.390 --> 10:51.430] Absolutely. [10:51.470 --> 10:59.490] Although, so one very like key nuance thing here is that this is disassembled using one particular alignment of this. [10:59.490 --> 11:03.910] But since x86 is like a variable length instruction architecture, [11:03.910 --> 11:11.430] you might want to insert one byte of NOP and look at what if the instruction started next. [11:11.430 --> 11:13.990] You should be dumping your disassembly at every offset. [11:13.990 --> 11:14.050] Right. [11:14.050 --> 11:20.010] Those are your candidate instructions that you're going to have to look for and find some sequence that will let you get the job. [11:20.010 --> 11:22.070] There we go. I saw that over on Jinbo's screen. [11:22.070 --> 11:25.430] Yeah. Let's switch over there. We have a output prop gadget. [11:25.430 --> 11:26.770] Which does exactly that. [11:26.810 --> 11:29.970] Actually, it's going to look... does prop gadget work on just disassembly? [11:29.970 --> 11:32.150] Oh no, they're looking for actual gadgets in the binary. [11:32.150 --> 11:34.470] But you actually need that same kind of approach on the shellcode. [11:34.470 --> 11:38.050] So what I think he was doing, I'm not 100% sure you might see it, [11:38.050 --> 11:46.270] is that he dumped the whole blob to a file and then ran prop gadgets on this raw file to get the gadgets that will... [11:46.270 --> 11:48.550] And that will give you all the offsets. That is going to check everything. [11:48.550 --> 11:52.090] Oh, actually, that's true. But they're not actually prop gadgets because they don't end in a ret instruction. [11:52.090 --> 11:53.730] This is shellcode gadgets. [11:53.750 --> 11:55.190] And there may be... [11:55.190 --> 11:56.410] Maybe they have a thing for that? [11:56.410 --> 12:00.590] Maybe there's a setting in... yeah, we could barely see the command that actually ran. [12:00.590 --> 12:01.850] So we'll have to go back and... [12:01.850 --> 12:03.110] That's very interesting. [12:04.870 --> 12:09.330] All right. So we're over in Hypeboy land. We've got our C2W2M2. [12:09.330 --> 12:11.870] I need to be able to say it faster. I'm not sure how to say it quickly. [12:11.870 --> 12:18.170] I think it's one of those... is it Korean? Hypeboy is a Korean team. [12:18.170 --> 12:18.910] Hypeboy is a Korean team. Correct. [12:18.910 --> 12:23.030] So I've seen this. I think this is like a... I don't know well enough about it. [12:23.030 --> 12:29.850] But this thing with numbers, it's not just random. It means something. [12:29.850 --> 12:33.370] But unfortunately, my knowledge is not good enough there. [12:33.370 --> 12:37.310] Next year, a Korean caster for live CTF so we can... [12:37.310 --> 12:40.710] Yeah. Or just kind of like a small biography of the players. [12:40.710 --> 12:42.450] That's true. We should make them do that. [12:42.450 --> 12:46.410] So I did see... you know, actually, yeah, looking at that... [12:46.410 --> 12:49.290] Look at all those gadgets I found. Those are not the right gadgets. [12:49.290 --> 12:50.390] That's not what you want to do. [12:50.390 --> 12:50.750] Right. [12:50.750 --> 12:54.390] Because those were all limited by jumps or returns at the end of every level. [12:54.390 --> 12:54.870] Right, right, right. [12:54.870 --> 12:59.310] So this is indeed sort of not a great... I mean, it's close to the right idea. [12:59.310 --> 13:01.810] But that's actually limiting a lot of what you can get. [13:01.810 --> 13:02.950] You can do a lot more than that. [13:02.950 --> 13:05.870] Because you're not running a piece and then returning. [13:05.870 --> 13:07.230] You're just going to run them all sequentially. [13:07.230 --> 13:10.690] Whatever you left over after you knocked a bunch is what's going to get run. [13:10.690 --> 13:14.810] Yes. This is shell code or machine code, not ROP chain. [13:15.110 --> 13:17.950] So important distinction there. [13:18.710 --> 13:24.990] And, yeah, I think it seems like they're just searching around for various words, right? [13:24.990 --> 13:30.950] So I guess they will see all instructions at all offsets maybe eventually. [13:30.950 --> 13:31.290] I don't know. [13:31.350 --> 13:36.750] Well, if you make ROP gadget output long enough gadgets. [13:36.750 --> 13:37.990] I think you can filter. [13:38.110 --> 13:43.050] Because sooner or later there will be... well, that's still kind of unlikely. [13:43.050 --> 13:43.450] I don't know. [13:43.450 --> 13:46.710] How does ROP gadget handle things like invalid opcodes or exceptions? [13:48.190 --> 13:50.590] So it still seems a little dicey. [13:50.590 --> 13:55.570] And it would have been the work of a few seconds just to throw it into Capstone or any other kind of disassembler. [13:55.670 --> 13:58.590] And on the other hand, of course, Hypeboy, yeah, we've got them over here using... [13:58.590 --> 13:59.450] I actually haven't seen this one. [13:59.450 --> 14:02.470] Diffuse SCA has just an online assembler or disassembler. [14:02.470 --> 14:04.570] So they're using that to just look at a couple. [14:04.570 --> 14:07.550] They're kind of more in the bespoke process. [14:08.730 --> 14:12.750] And so, again, it looked like, though, they're running at the same kind of limit. [14:12.910 --> 14:13.190] You know what? [14:13.190 --> 14:13.850] Actually, I didn't do it. [14:13.850 --> 14:15.910] I might actually step aside and just go find out. [14:15.910 --> 14:17.310] I don't know the hints for this challenge. [14:17.310 --> 14:23.630] So unless you know what they are, I might go talk to the production crew and get a hint as to the hints. [14:23.630 --> 14:25.070] So we know what they're going to do. [14:25.230 --> 14:30.030] We'll have you go and just check what the hints are going to be when they come back. [14:30.170 --> 14:33.930] And in the meantime, I will keep steering the ship. [14:34.350 --> 14:40.450] We are going to switch back over to MMM and see. [14:40.690 --> 14:42.470] They are looking in the... [14:42.470 --> 14:43.810] What's the file name of their one? [14:43.810 --> 14:45.150] I think that's the dumped... [14:45.750 --> 14:54.190] Right, so I think it seems like they switched over from using a ROP gadget to more like looking at the disassembly of the dumped bytes. [14:54.190 --> 15:00.110] We also, though, see some debugging going on here, checking the contents of the stack. [15:00.730 --> 15:05.330] So maybe figuring out if that could be useful. [15:05.330 --> 15:17.770] So, still haven't quite seen any of the players actually trying to start building anything. [15:17.770 --> 15:24.130] I think it's very much still in analysis and exploration phase of this. [15:24.290 --> 15:31.810] And it's going to be really interesting to see what kind of approach they are actually going to go for and what method to actually solve the challenge. [15:31.810 --> 15:42.790] As I think Jordan mentioned before, you might be able to do the full shellcode directly by not being in the correct places. [15:43.070 --> 15:50.430] I think a probably easier solution would be, as we mentioned, you do a small stager shellcode, [15:50.430 --> 15:57.790] maybe like a read syscall onto right after where you are currently located in execution. [15:58.070 --> 16:05.570] And then you push just your actual shellcode in that second stage, which would then give you the shell. [16:06.330 --> 16:13.450] I mean, there are of course multiple different approaches in this, but I think that would be probably the easiest one. [16:13.450 --> 16:16.330] But we will see what the players are up to. [16:17.110 --> 16:24.950] Switching back over to Hypeboy, we can see a little bit of scripting going on here in their exploit script. [16:25.910 --> 16:30.010] This looks like they were setting up a couple of different interactions with the launch. [16:30.470 --> 16:33.070] So doing different of these noppings. [16:33.070 --> 16:37.950] You can see there was a large block of nops going on there. [16:37.950 --> 16:48.650] Maybe there was something interesting in the middle of the region, and they wanted to just skip that whole part and go down into the middle. [16:48.650 --> 16:51.330] You can see there are different regions there in their script. [16:51.330 --> 16:54.850] They are starting doing ranges at different offsets. [16:55.890 --> 17:05.270] So you can see them highlighting this 5e byte here, for example, which is I think one of the bytes that they had in their assembled code before. [17:06.330 --> 17:09.750] But now we have Jordan back with some information from production. [17:09.750 --> 17:13.270] I know what our hints are going to be as we get closer in, when they pull up the hints. [17:13.270 --> 17:19.290] Right, so we'll let that sit there for a little bit, and then we have them for later. [17:21.610 --> 17:28.110] I'm trying to come up with... I didn't write the hints for this, so I'm just trying to figure out what kind of hints would you actually give for this. [17:29.290 --> 17:34.290] Because the structure of the challenge, in some sense, is very straightforward. [17:34.290 --> 17:37.310] Yeah, I know. The goal is pretty obvious. [17:37.630 --> 17:48.950] It's just a question of what stager, what sort of little shellcode payload are you going to use that's going to either get you unrestricted, or read more, or whatever it is that you're actually going to do. [17:50.470 --> 17:59.310] Looking from Hypeboy over to MMM, we now start to see a little bit of nukes. [17:59.310 --> 18:04.210] They've created this helper function, nukes, to nuke out a whole range of the memory space. [18:04.210 --> 18:08.410] This is very similar to what Hypeboy is doing, but they created a helper function for it here. [18:08.410 --> 18:11.490] It's still not clear to me, do they realize the pattern of the nukes though? [18:11.490 --> 18:16.310] Because it looks like a sequential nuke range. Maybe they're aware in their head. [18:16.530 --> 18:23.270] But it's not like they've, for example, written something that can do a two-dimensional grid of nuked out values, and it will compute all of the... [18:23.270 --> 18:32.470] No, it is. You can see the nuke there, it's breaking it up into coordinates there. [18:32.470 --> 18:35.310] You can see the offset, and then they do the modulo and the division. [18:35.770 --> 18:38.110] I'm sorry to get loose, plural, you're right. [18:38.290 --> 18:45.930] No, so the nuke singular is converting the single index into two coordinates. [18:46.270 --> 18:48.650] And then the nukes is doing this for a whole range. [18:48.650 --> 18:51.510] But my point is, that's only going to give you sort of that line. [18:52.390 --> 18:55.650] It's going to give you both the main line as well as the above and below. [18:55.650 --> 18:57.950] And that's the part that I'm still waiting to see. [18:58.650 --> 19:01.150] Yeah, I'm not seeing that as... [19:01.150 --> 19:06.330] Right, so they're still kind of, it seems like they're doing very broad strokes, a bit of a crude... [19:06.330 --> 19:15.550] So maybe that's what they're doing. Maybe they're finding roughly the things they want, and they get rid of other stuff, and then they try to... [19:15.550 --> 19:19.510] Yeah, so I will say, looking at the hints, the first hint is going to do almost nothing. [19:19.510 --> 19:20.850] I don't think it's going to tell them anything. [19:21.710 --> 19:26.670] It's basically going to give them a minor hint in terms of, they don't need to check each time, essentially. [19:26.670 --> 19:30.610] It's going to tell them they can submit lots of nukes at the same time, which they already know that. [19:30.610 --> 19:32.470] So that one, both teams are not going to get help for it. [19:32.470 --> 19:37.430] However, the second one is very explicit and gives them a hint about kind of exactly our solution, [19:37.430 --> 19:41.170] in terms of where a syscall is and how they might want to set up registers for it. [19:41.170 --> 19:46.910] So it lays out at least one solution that we know works that could be followed. [19:46.910 --> 19:50.350] So it's a pretty explicit hint. [19:50.850 --> 19:56.190] But they might not need it, either because they solved it beforehand or because they have a different approach. [19:56.190 --> 20:00.570] Like I said, this is definitely one of those... there are a lot of possible solutions. [20:00.570 --> 20:04.490] Almost certainly, there's a lot of solutions in this payload. [20:04.490 --> 20:06.890] Absolutely. I was hoping to hear, to see... [20:06.890 --> 20:13.470] So I think what you're seeing in the debugger output in the bottom right is the resulting shellcode after the test. [20:13.470 --> 20:18.270] You can see a lot of knobs. And then you see there, there's like a push and an ADC instruction. [20:18.270 --> 20:19.710] So like, you know, they are getting... [20:19.710 --> 20:22.110] Oh, I think they're stepping over it. Yeah, yeah, yeah. [20:22.390 --> 20:30.930] But if we do check over to Hypeboy, they are, again, doing these various ranges of numping up. [20:30.930 --> 20:36.870] And then you can see there, I think they have this small little stager shellcode that they are aiming for. [20:36.870 --> 20:38.910] Like those four instructions. [20:39.350 --> 20:44.990] But again, I just don't know that those instructions are going to be... let's see, where was it? [20:44.990 --> 20:46.890] Yeah, if we can get back to their code. [20:47.370 --> 20:49.530] Now again, we very well could be wrong. [20:49.530 --> 20:53.170] They may have a completely valid thing and it may be in the buffer and so it's... [20:53.170 --> 20:55.370] So let's think about this for a second. [20:55.370 --> 21:04.190] Let's say you would want to do the... like we just want to do a read syscall with the destination being like right after in the shellcode. [21:04.190 --> 21:04.710] Right, right, right. [21:04.710 --> 21:09.170] So you would need to set the syscall number. [21:09.170 --> 21:15.890] You would need to set the destination buffer, the source file descriptor and the length. [21:15.890 --> 21:19.550] So you have four registers that you need to set up and then you would need to do a syscall. [21:19.550 --> 21:22.470] So at most, five instructions. [21:23.470 --> 21:30.730] Depending on what the current registers are, which is what we saw earlier when Jimmo was looking at the current debugger state at the moment of the shellcode. [21:30.730 --> 21:34.870] Maybe one of these registers already have a favorable value. [21:34.870 --> 21:39.050] Or you could just do like an exchange instead of like a... which is a single byte opcode, right? [21:39.050 --> 21:41.010] To be able to swap your registers, you can get that. [21:41.230 --> 21:44.950] Of course, that is also the case where you can get more than five instructions because like... [21:44.950 --> 21:48.930] Well, maybe it's too much to set... do like immediately just like a move. [21:48.930 --> 21:49.750] Yeah, intermediate. [21:49.770 --> 21:53.530] Yeah, and then maybe you get two convenient instructions. [21:53.650 --> 21:59.270] So I am seeing... okay, so Hyper over there has a couple of opcodes in the middle of their payload that they're looking up. [21:59.270 --> 22:02.710] So if they... but again, it's just interesting. [22:02.710 --> 22:05.710] It's not a single instruction that you have to run, right? [22:05.710 --> 22:09.690] It's because you can't assemble like five bytes with knobs in between that are all parts of an instruction. [22:09.690 --> 22:09.770] No, no, no. [22:09.850 --> 22:15.770] Like you really have to get contiguous bytes for... so you want either small opcode lengths. [22:15.770 --> 22:16.210] Yeah. [22:17.670 --> 22:20.130] But I definitely see... yeah, so let's watch this again. [22:20.130 --> 22:23.130] If we see with this scrolling up, they're looking for... there we go. [22:23.130 --> 22:24.570] They've got a five, seven... okay. [22:25.610 --> 22:26.750] So I think they do. [22:26.750 --> 22:28.710] I'm really looking forward to kind of keeping an eye on this. [22:28.710 --> 22:29.530] I'm going to go back and look at that. [22:29.530 --> 22:31.590] They've got some single byte opcodes I think they're going for. [22:31.590 --> 22:34.410] So I do think they are trying to create... [22:34.410 --> 22:36.550] Right, you can see they're in the middle of the knob block. [22:36.550 --> 22:37.170] They have the five apps. [22:37.170 --> 22:40.110] From earlier, and they've got a couple of the four, seven that was further up. [22:40.130 --> 22:45.530] So they're keeping a couple of these things handy. [22:45.530 --> 22:47.690] So I'm just trying... they're tabbing out so quickly. [22:47.690 --> 22:53.270] But it looks like most of the instructions they were going for were single byte knob codes. [22:53.650 --> 22:55.510] So that's really... so knob code. [22:56.370 --> 22:58.850] It's been that long of a competition. [22:58.850 --> 22:59.750] Yeah, yeah, yeah. [23:01.130 --> 23:04.690] Oh, there's some terrible noise going on in this room, but... [23:04.690 --> 23:07.870] I think the contest room is literally being disassembled around us. [23:07.870 --> 23:10.870] A lot of the other contests are actually ended, being kicked out of the space. [23:10.870 --> 23:11.250] Right. [23:11.250 --> 23:13.410] Only CTF here in our little particular corner. [23:13.410 --> 23:16.250] Yeah, I hope that sound does not come through on the stream. [23:16.290 --> 23:19.810] It's like someone going with a... not a drill, but a... [23:19.810 --> 23:20.850] Impact hammer. [23:21.010 --> 23:22.930] No, like a screw driver. [23:23.630 --> 23:27.070] It's a particular kind of driver that actually hammers it each time, too. [23:29.250 --> 23:32.330] I've seen the same thing over there on MMM, where you see there's a bunch of knobs. [23:32.330 --> 23:35.370] There's a couple of... so they're definitely building their payloads up. [23:35.370 --> 23:36.450] We've got a PopParty. There we go. [23:36.630 --> 23:42.090] PopPartyEye is exactly one of those that might get you what you want, depending on if they have a push earlier. [23:42.170 --> 23:45.370] Right, or if there was already something convenient on the stack. [23:45.370 --> 23:47.310] On the stack, exactly. So there's both possibilities. [23:47.310 --> 23:55.290] So, for example, because if it's a call instruction into the shellcode, you will have... no, wait, actually... [23:55.290 --> 23:55.990] You'd have the return address. [23:55.990 --> 23:59.190] No, which is not really that important. [23:59.990 --> 24:02.250] Well, but you might just be able to pop twice, for example. [24:02.250 --> 24:05.130] You might be able to pop one and do a register and ignore it, then do another pop. [24:05.130 --> 24:05.790] Oh, yeah, yeah. [24:06.030 --> 24:07.430] There's other things higher in the stack. [24:07.430 --> 24:11.570] Maybe the address of the shellcode area is on the stack. [24:11.570 --> 24:16.250] If you pop a few times, you get that, which you then would have as your destination buffer. [24:16.250 --> 24:18.750] So that could be an approach. [24:21.590 --> 24:24.010] I do think it is funny. We saw this last year as well, too. [24:24.010 --> 24:28.630] The further we get in the bracket, the harder it is to commentate because they're so darn fast. [24:28.650 --> 24:30.630] They just go at blazing speed. [24:30.790 --> 24:34.990] We should have a button that temporarily slows down. [24:34.990 --> 24:37.270] I know. We need to be able to pause and push frame, actually. [24:37.270 --> 24:38.310] Let's go back to the headboard real quick. [24:38.690 --> 24:42.190] We saw the same buffer briefly. They're building their payloads. [24:42.990 --> 24:45.730] And I'm wondering, we've got this LEN16 down here. [24:45.730 --> 24:47.230] The LEN16, I think, is there. [24:47.230 --> 24:49.310] Oh, is that it? [24:49.310 --> 24:54.130] The LEN16, I assume, is if they've got their 16 bytes of shellcode that they want to run afterwards. [24:54.210 --> 24:56.910] They're checking the length, so the argument they want to set is 16. [24:56.910 --> 24:58.390] Right, for the reads. [24:59.590 --> 25:02.610] I think both of them look like they're basically doing the same thing. [25:02.770 --> 25:04.310] This is sort of our solution. [25:04.310 --> 25:06.110] Very, very close. [25:06.870 --> 25:10.250] I don't know for certain, but it absolutely feels like they're both very close. [25:10.350 --> 25:12.190] It's hard to track it. [25:12.190 --> 25:15.350] We can see here, single-stepping through the... [25:15.750 --> 25:17.290] There we go. Dump all the bytes. [25:17.870 --> 25:18.850] Dumping it out. [25:20.050 --> 25:20.890] Checking more. [25:21.550 --> 25:22.910] Just all knopped out. [25:23.070 --> 25:24.010] Let's see what happens when you knop. [25:24.010 --> 25:26.830] They are 10x reverse engineers. Adrian, see you in the chat there. [25:26.950 --> 25:29.670] They are very, very, very fast. [25:29.670 --> 25:31.370] Okay, what was the byte? Scroll up again. [25:31.410 --> 25:32.930] If they saw it, I couldn't. It was too fast. [25:33.450 --> 25:34.870] So they've got to step a bunch. [25:34.870 --> 25:37.910] You probably want to step 10 times or something. [25:38.250 --> 25:39.570] Oh, and now we've gone off the edge of the page. [25:39.570 --> 25:40.330] Okay, there's a bunch of null bytes. [25:41.950 --> 25:44.070] You've seen that instruction before. [25:44.070 --> 25:45.490] The add with the AL. [25:45.490 --> 25:47.570] It's like, well, this is no longer... [25:47.570 --> 25:48.710] There we go. Push RDI. [25:48.710 --> 25:49.390] Push RDI. [25:49.550 --> 25:51.790] So we've got to push. [25:52.030 --> 25:53.070] There was something else. [25:53.270 --> 25:54.250] Pop RSI. [25:54.250 --> 25:55.730] So moving registers. [25:55.730 --> 25:57.170] And then pop RDI again. [25:57.170 --> 25:58.350] So they've saved maybe RDI. [25:58.730 --> 26:01.650] So what is the... you have the syscall in racks. [26:01.650 --> 26:03.410] There's the syscall at the very end. [26:03.410 --> 26:04.390] Okay, so their buffer has it. [26:04.390 --> 26:07.050] If they've done the arguments correctly, this actually could be a solution. [26:07.050 --> 26:08.750] No, they scrolled. I don't see the register. [26:08.750 --> 26:10.130] So RDI is there. [26:10.130 --> 26:11.190] So they're at the syscall. [26:11.190 --> 26:13.130] But we don't have... so RSI... [26:17.490 --> 26:19.170] RDI, RSI, RDX. [26:19.170 --> 26:21.050] Is that the syscall? [26:21.230 --> 26:21.810] Yeah, yeah, yeah. [26:21.810 --> 26:22.410] There we go. [26:22.410 --> 26:23.550] RDI, RSI. [26:23.550 --> 26:24.970] No, sorry. [26:25.090 --> 26:28.130] I think those are the registers of interest here, if I don't misremember. [26:28.130 --> 26:29.370] Plus the RAX for the read. [26:30.070 --> 26:30.930] I don't know. [26:30.930 --> 26:32.330] We've got an accept over on the other side, too. [26:32.330 --> 26:34.470] This is the debugger. [26:34.470 --> 26:34.930] Right. [26:34.930 --> 26:35.770] Hold on. [26:35.890 --> 26:38.190] I think we're going to each have to watch our respective screens. [26:38.190 --> 26:38.310] Yeah, yeah, yeah. [26:38.310 --> 26:41.390] You watch MMM and I'll watch Pipeline. [26:41.390 --> 26:43.530] Yeah, this is so close. [26:43.530 --> 26:50.490] So they are now doing a send with the generated shellcode from PwnTools. [26:50.590 --> 26:52.410] And this is... [26:52.410 --> 26:53.570] Oh, my God. [26:53.670 --> 26:56.390] They've also got to compute the offset they're going to want to write the bytes to [26:56.390 --> 26:58.270] or they're going to have to nuke the rest of the string. [26:58.310 --> 26:59.310] Switching the... [26:59.310 --> 27:03.670] He had the wrong shellcode because he hadn't set the PwnTools generator [27:03.670 --> 27:06.630] because he didn't set the context on D64. [27:06.630 --> 27:07.690] Yep, there it goes. [27:07.690 --> 27:10.150] So it was the wrong shellcode. [27:10.970 --> 27:12.790] And now he's getting the remote... [27:13.590 --> 27:14.630] Oh, no. Is it this close? [27:14.630 --> 27:15.110] Yeah. [27:15.110 --> 27:15.870] This could be it. [27:15.870 --> 27:16.550] This could be MMM for the win. [27:16.550 --> 27:17.150] This could very much be it. [27:17.150 --> 27:19.090] Could MMM keep going and winning? [27:19.170 --> 27:20.410] Is this going to run live? [27:20.410 --> 27:20.930] Oh, my God. [27:21.050 --> 27:21.770] It's running. [27:21.770 --> 27:23.070] Is this going towards the remote? [27:23.070 --> 27:24.390] Do we have a shell? [27:24.430 --> 27:25.510] No, he's now adding the port. [27:25.510 --> 27:26.190] Okay, so he did it. [27:26.190 --> 27:27.210] I think he did it locally. [27:27.210 --> 27:28.510] He got the shell right. [27:28.510 --> 27:29.910] And now I think he's running it against the remote. [27:29.910 --> 27:32.170] We might have the end of the live safety app. [27:32.170 --> 27:33.250] So we have submitter. [27:33.330 --> 27:34.410] And is it? [27:34.870 --> 27:35.690] Is it? [27:37.350 --> 27:38.070] No. [27:38.070 --> 27:38.670] Okay. [27:38.670 --> 27:39.250] All right. [27:39.250 --> 27:40.690] That was nerve-wracking. [27:40.690 --> 27:41.490] Oh, my God. [27:41.490 --> 27:42.310] Oh, my God. [27:42.310 --> 27:44.470] So there's something that didn't quite work there. [27:44.470 --> 27:45.670] Something isn't quite there. [27:45.670 --> 27:46.190] Yeah. [27:46.190 --> 27:47.870] Now, did it work locally? [27:47.870 --> 27:51.290] I don't know if I ever saw a shell locally in the Docker. [27:51.290 --> 27:54.130] So there's now some troubleshooting that's going to be going on there. [27:54.290 --> 27:54.910] Yes. [27:55.110 --> 28:00.870] And I'm not seeing us quite as close still over on Hypeboy watching their screen. [28:00.870 --> 28:02.470] They're still working through a couple of bytes. [28:02.470 --> 28:05.350] Whether it's because they're moving their payload, I'm not sure yet. [28:05.350 --> 28:07.450] So I'm going to switch over to Hypeboy and check there. [28:08.650 --> 28:09.850] Still calculating the bytes. [28:09.850 --> 28:11.230] Still trying to look for them in the payload. [28:11.230 --> 28:12.670] Still calculating what's not bad. [28:12.670 --> 28:14.370] I think we need to keep an eye over on MMM. [28:14.370 --> 28:16.190] Yeah, I'm going to switch back to MMM. [28:16.190 --> 28:21.010] He's switching out the shellcode for a cat ETC password to get quicker feedback. [28:21.730 --> 28:24.610] And he's just repeating the shellcode. [28:24.610 --> 28:28.490] Oh, this is kind of like full-on panic mode. [28:28.730 --> 28:29.630] Oh, no. [28:29.630 --> 28:32.970] We're trying to get it in there. [28:32.970 --> 28:33.070] Is it running? [28:33.450 --> 28:34.970] Oh, my God. [28:34.970 --> 28:37.190] So, yeah, this is... [28:37.190 --> 28:39.110] Well, a hint will do nothing to help you. [28:39.110 --> 28:40.250] No, no, no. [28:40.250 --> 28:43.770] It's just we can't figure out what's the problem with this payload. [28:43.770 --> 28:46.390] They both know everything. [28:46.390 --> 28:50.970] So this is going to be so... [28:52.110 --> 28:54.510] Oh, is he using some kind of gadget? [28:54.610 --> 28:56.490] And let's see. [28:56.490 --> 28:58.770] No, but he shouldn't be using any... [28:58.770 --> 29:00.190] Interesting. [29:00.750 --> 29:01.810] A bunch of reads. [29:01.810 --> 29:03.970] So trying to figure out, I guess... [29:03.970 --> 29:08.350] Oh, there was an open call to ETC password, right? [29:08.350 --> 29:09.590] So it seems to be working. [29:09.590 --> 29:10.570] They should be able to run it. [29:10.570 --> 29:12.110] Just Submitter 2. [29:12.110 --> 29:14.170] Running Submitter 2 in there might even be enough. [29:14.310 --> 29:16.490] It could also be a difference between local and remote. [29:16.490 --> 29:17.350] Although, are they using... [29:17.350 --> 29:19.870] I was trying to see if he was using any, like... [29:19.870 --> 29:23.510] But that would only matter for, like, I don't know, libc gadgets, which I haven't seen. [29:23.510 --> 29:25.370] There shouldn't be any in the payloads, right? [29:25.370 --> 29:26.730] I couldn't think of any differences. [29:27.130 --> 29:33.090] So, yeah, that's not entirely sure why it's not working. [29:33.730 --> 29:36.890] Oh, this must be so stressful for the players. [29:37.830 --> 29:39.930] There was a syscall being made there. [29:39.930 --> 29:41.090] We can see in the Ptrace... [29:41.990 --> 29:44.490] Sorry, the Strace output. [29:45.470 --> 29:47.890] And, yeah, I mean, they could... [29:47.890 --> 29:51.770] This is really the situation where, like, you know, you could have it within 10 seconds. [29:51.830 --> 29:53.570] Or it could take, like, another 5 minutes. [29:53.570 --> 29:54.110] Yeah, yeah. [29:54.230 --> 29:55.530] Or even more. [29:55.810 --> 29:57.570] And I'm just keeping an eye over on Highboy. [29:57.570 --> 29:58.390] We don't have to switch back. [29:58.390 --> 29:58.630] No. [29:58.630 --> 29:59.590] Just to give you kind of an update. [29:59.590 --> 30:00.070] Yeah. [30:01.030 --> 30:01.830] I almost... [30:01.830 --> 30:06.950] There's this long pause where C2WTM2 kind of, like, looked at it and was just, like... [30:06.950 --> 30:10.410] You get the feeling they're not sure if their solution is right. [30:10.410 --> 30:12.390] They actually just comment out a whole bunch of code. [30:12.390 --> 30:12.770] Right. [30:12.770 --> 30:15.490] They're kind of backing off and, like, starting from scratch because they've also run into bugs. [30:15.490 --> 30:16.990] They're not getting the payload that they want. [30:16.990 --> 30:19.770] So, they're still working on the payload. [30:19.870 --> 30:20.450] Yes. [30:20.450 --> 30:23.190] Looks here like it's doing the wrong syscall. [30:23.190 --> 30:23.750] If I'm reading... [30:23.750 --> 30:26.450] The syscall number is wrong. [30:26.450 --> 30:30.910] They're getting some 7F address instead of the syscall number. [30:30.910 --> 30:32.510] So, maybe... [30:32.510 --> 30:33.170] Could it... [30:33.170 --> 30:37.950] I don't really see how that would happen, but could it possibly be that, like, one of the registers... [30:37.950 --> 30:38.950] It shouldn't be a different state. [30:38.970 --> 30:40.570] No, I mean, it shouldn't be. [30:40.570 --> 30:41.930] I can't imagine why that would be the case. [30:41.930 --> 30:42.850] Yeah, yeah, yeah. [30:43.270 --> 30:45.530] It's very, very interesting. [30:46.470 --> 30:46.910] But... [30:46.910 --> 30:47.350] No, no. [30:47.350 --> 30:48.550] There was a syscall zero. [30:48.550 --> 30:50.310] So, I think that was fixed. [30:51.210 --> 30:53.310] So, now it could really be... [30:53.310 --> 30:55.310] Looks like he's swapping out the... [30:55.950 --> 30:56.350] Yeah, yeah, yeah. [30:56.350 --> 30:58.010] Going back to shellcode. [30:58.290 --> 30:59.510] Rerunning that. [30:59.510 --> 31:01.850] Sorry, like, shellcode that pops a shell. [31:03.870 --> 31:04.350] And... [31:05.030 --> 31:05.770] Yeah. [31:05.870 --> 31:09.410] We're still going to keep it here on MMM. [31:09.430 --> 31:10.170] And see... [31:10.170 --> 31:11.330] It looks closer now. [31:11.330 --> 31:11.930] Get it here. [31:11.930 --> 31:14.630] Now, it feels like they were kind of going back and forth. [31:14.670 --> 31:16.490] Remove the sleep. [31:16.550 --> 31:19.370] And making another attempt at this. [31:20.150 --> 31:20.630] And... [31:22.070 --> 31:26.490] Yeah, there's, you know, there's just something that's not quite... [31:26.490 --> 31:27.430] Did we run our... [31:27.430 --> 31:30.690] We need to check our logs to make sure we ran our test script before. [31:30.690 --> 31:33.830] Because we've been ensuring every challenge was solvable by running a solve script. [31:33.830 --> 31:34.290] Yeah. [31:34.290 --> 31:35.630] And I'm going to go look in our own logs. [31:35.630 --> 31:36.490] I want to make sure we ran it. [31:36.490 --> 31:38.070] There's not any kind of bug in our infrastructure. [31:38.070 --> 31:40.510] I think we're good. [31:43.110 --> 31:44.030] We didn't do it. [31:44.030 --> 31:47.170] We did, as our standards, we ran a test solve immediately before it. [31:47.170 --> 31:47.630] So, our infrastructure... [31:47.630 --> 31:48.470] Yeah. [31:48.470 --> 31:51.890] So, we have confirmed that we have a reference solution that does work. [31:51.890 --> 31:52.070] Okay. [31:52.190 --> 31:52.870] Good. [31:52.870 --> 31:55.250] I was almost getting a bit nervous. [31:55.250 --> 31:56.190] No, no, no, no. [31:56.190 --> 31:57.410] Yeah, yeah, yeah. [31:57.690 --> 31:58.150] Oh, yeah. [31:58.150 --> 32:03.970] Because, you know, we have had our fair share of accidents throughout this event. [32:03.970 --> 32:07.530] Although, I think, in general, it's been a pretty smooth ride. [32:07.690 --> 32:09.070] Stressful here and there, but... [32:09.070 --> 32:10.930] Other than random hardware failures. [32:10.930 --> 32:11.590] Yeah, yeah, yeah. [32:11.590 --> 32:15.790] The, you know, first day morning was not fun. [32:15.790 --> 32:18.930] But we are here and we, yeah. [32:19.070 --> 32:21.570] So, Hypo, it still seems like they've kind of walked back their whole payload. [32:21.570 --> 32:22.630] They've been rebuilding it. [32:22.630 --> 32:28.290] And, again, you can see the process is they're looking for the bytes that they want for their little simple payload. [32:28.290 --> 32:29.270] So, there's their payload right there. [32:29.790 --> 32:30.350] PushRDIPuppers. [32:31.050 --> 32:31.850] What's this? [32:31.910 --> 32:33.010] We need to go back, apparently. [32:33.010 --> 32:34.290] We're supposed to look at MMM. [32:34.290 --> 32:35.110] It sounds like we're close. [32:35.110 --> 32:36.770] We got a little update. [32:36.770 --> 32:38.130] We needed to keep an eye over there. [32:38.130 --> 32:38.750] Okay. [32:39.930 --> 32:41.190] I mean, they are close. [32:41.190 --> 32:43.890] There's no question about that, but... [32:43.890 --> 32:44.170] Right. [32:44.170 --> 32:46.410] I still think we're working through stuff. [32:46.410 --> 32:46.850] Yeah. [32:46.870 --> 32:48.170] I'll keep you an update then. [32:48.170 --> 32:48.670] Right. [32:48.670 --> 32:50.770] Just Hypo, what the solution is. [32:50.770 --> 32:50.930] Yes. [32:50.930 --> 32:52.210] We need to keep an eye and make sure we don't miss anything. [32:52.210 --> 32:55.670] Oh, they're just dumping in like a big knob sled there. [32:55.670 --> 32:56.050] Or like a knob. [32:56.050 --> 32:57.190] Maybe just like... [32:57.190 --> 32:59.470] Oh, so... [33:00.430 --> 33:06.230] I was thinking whether it could be something with the read call and the difference in behavior. [33:06.230 --> 33:07.570] Like a flush or... [33:07.570 --> 33:08.090] Yeah, yeah, yeah. [33:08.090 --> 33:10.670] Like a local versus over the network thing. [33:10.670 --> 33:11.030] Yeah. [33:11.030 --> 33:13.190] Because the read... [33:13.730 --> 33:15.470] You know, it will only... [33:15.470 --> 33:17.210] It will probably just give you... [33:17.210 --> 33:19.170] If you do one read call, it'll probably just give you... [33:19.170 --> 33:22.370] From like a network socket, it'll probably give you just one packet. [33:23.110 --> 33:23.850] Right? [33:24.670 --> 33:25.070] Or... [33:25.070 --> 33:27.230] Like up to that. [33:27.230 --> 33:32.610] So there could be a difference there on a read on a local versus over the network. [33:32.610 --> 33:33.830] I do want to keep an eye. [33:33.830 --> 33:36.390] Because actually, I think both of their payloads are identical. [33:36.390 --> 33:37.270] Now that I think about it. [33:37.270 --> 33:39.690] I think they really have almost the exact same... [33:39.690 --> 33:43.330] Next time HypeBoys comes up, I'm going to try to take a look at it. [33:43.330 --> 33:46.350] But it looked like we were seeing a very, very similar push-pop pattern. [33:46.550 --> 33:46.930] Excuse me. [33:46.930 --> 33:47.930] They both did the register state. [33:47.930 --> 33:49.690] They were both looking up for the... [33:50.350 --> 33:51.030] But we're seeing... [33:51.030 --> 33:54.370] So I'm just watching them do the same thing. [33:54.370 --> 33:57.850] They're kind of byte at a time extracting those arguments that they want to back out. [33:57.930 --> 33:58.910] Knopping off everything else. [33:58.910 --> 34:01.170] And we have absolutely got the rest of the CTF ended. [34:01.170 --> 34:02.910] So everyone is standing around the screens. [34:02.910 --> 34:03.710] They're watching. [34:03.730 --> 34:04.370] Oh, there's a shell. [34:04.370 --> 34:05.050] There's a shell. [34:05.110 --> 34:05.970] There was a shell. [34:07.190 --> 34:08.730] So that must have been local, right? [34:08.730 --> 34:09.390] Yeah, yeah, yeah. [34:09.390 --> 34:09.950] Okay. [34:10.130 --> 34:13.010] So they have a shell popped. [34:13.010 --> 34:15.190] So now we're going to see them... [34:15.190 --> 34:16.010] Can they run it? [34:16.590 --> 34:17.230] Wait, wait. [34:17.230 --> 34:17.750] What are they doing? [34:17.750 --> 34:18.510] They have a shell? [34:19.690 --> 34:21.650] I'm a little bit confused. [34:21.650 --> 34:22.230] Why? [34:22.890 --> 34:23.850] What's missing? [34:25.790 --> 34:27.730] They're looking for another gadget still, it looks like. [34:27.830 --> 34:28.470] Okay. [34:29.690 --> 34:31.350] Oh, did they cook that? [34:31.730 --> 34:32.990] Was that the reason they got the shell? [34:32.990 --> 34:35.650] Maybe they did a manual thing in the debugger. [34:36.390 --> 34:38.350] Yeah, yeah, yeah. [34:38.530 --> 34:41.790] And now they're actually making sure that their payload is actually doing... [34:41.790 --> 34:44.890] The first three pops, RSI, RDRX, is our... [34:44.890 --> 34:46.610] I should take a picture of my camera. [34:46.610 --> 34:49.010] Get my phone on this and do the freeze frame. [34:49.230 --> 34:49.850] Yeah, yeah, yeah. [34:50.410 --> 34:52.250] But it looks like they have slightly different payloads. [34:52.250 --> 34:53.130] So they're not exactly the same. [34:53.130 --> 34:55.690] Because I'm seeing more pops over on the MMM side than what... [34:56.250 --> 34:56.530] Right. [34:56.530 --> 35:01.870] So MMM here has very, very conveniently written out their payload inside the exploit script. [35:01.870 --> 35:02.350] It's nice. [35:02.350 --> 35:04.130] So it's a push RDX, pop RSI. [35:04.130 --> 35:05.130] So they're moving RDX... [35:05.710 --> 35:06.190] Into RSI. [35:06.330 --> 35:06.890] RSI. [35:06.890 --> 35:09.630] And then they're doing pop RDI three times. [35:09.630 --> 35:11.450] So they're fetching something that's already on the stack. [35:11.450 --> 35:12.630] Yeah, it sounds like that pointer to the buffer. [35:12.630 --> 35:13.010] Yeah, yeah, yeah. [35:13.010 --> 35:13.750] We talked about that earlier. [35:13.750 --> 35:16.070] It's very likely there's a pointer to the buffer previously in the stack. [35:16.070 --> 35:16.970] And so they're reusing that. [35:16.970 --> 35:22.630] And now they're bringing out strace again to double check that their payload is doing what they expect it to do locally. [35:22.630 --> 35:24.790] Now they're switching it to remote. [35:25.050 --> 35:25.750] Is that... [35:25.750 --> 35:27.010] No, they're looking at debugger though. [35:27.010 --> 35:27.910] Okay, there we go. [35:28.270 --> 35:28.990] Okay. [35:30.030 --> 35:30.990] No, they're still doing... [35:31.390 --> 35:33.130] Right, but they were switching the variables. [35:33.130 --> 35:35.670] They were switching the host to the remote. [35:36.690 --> 35:38.770] Why are they still on the strace window then? [35:38.770 --> 35:39.470] Oh, yeah, yeah, yeah. [35:39.470 --> 35:39.830] Okay. [35:39.830 --> 35:41.290] So now they're checking the other thing. [35:41.290 --> 35:47.090] Oh, I see that the syscall number was wrong again there if I saw that correctly. [35:47.610 --> 35:49.550] So this is... [35:49.550 --> 35:51.250] Oh, my God. [35:51.250 --> 35:53.590] This is very stressful. [35:53.890 --> 35:55.530] I don't envy either one of them. [35:55.530 --> 35:56.210] Oh, no, no, no. [35:56.210 --> 35:57.150] Yeah, yeah, yeah. [35:57.530 --> 35:58.190] That's really... [35:58.190 --> 36:01.130] And now they're doing some manual assembly, finding... [36:01.130 --> 36:02.030] Oh, wait. [36:02.030 --> 36:03.590] They're finding... [36:03.590 --> 36:09.850] Okay, they're finding instructions inside the dumped blob of the challenge. [36:10.010 --> 36:12.850] They're looking for some of these gadgets. [36:12.850 --> 36:14.070] Let's call them that. [36:15.090 --> 36:17.250] Yeah, and... [36:18.190 --> 36:20.590] Yeah, they're kind of also reworking their... [36:20.590 --> 36:22.950] Yeah, they're reworking their payload now actually. [36:22.950 --> 36:24.190] So they're changing it up. [36:24.190 --> 36:29.150] So now we have a pushRDX, popRSI, and a pushRAX and popRDI. [36:29.150 --> 36:33.850] So moving RDX into RSI and moving RAX into RDI. [36:34.250 --> 36:37.690] But then you would still need to set the syscall number there. [36:37.690 --> 36:41.030] So we'll see how that will work out. [36:41.030 --> 36:43.230] And I'm just watching over here as hype boy essentially. [36:43.310 --> 36:48.750] Literally line by line trying to inspect each line of the output and looking for a particular byte. [36:48.750 --> 36:50.510] They're not even using any tooling essentially. [36:50.510 --> 36:52.430] It's like the most manual process. [36:52.790 --> 36:56.270] Line by line, check for what the disassembly of a particular byte is. [36:56.750 --> 37:00.130] And then I assume they're trying to keep track in their head how many lines down they are. [37:00.130 --> 37:01.870] So they know the offsets of how much to not. [37:01.870 --> 37:06.630] But it feels like the kind of thing where they thought they would be faster manually. [37:06.750 --> 37:10.790] And if instead they would have written a script to look for those bytes and knock everything else out, [37:10.790 --> 37:12.210] they probably would have done it a while ago. [37:12.450 --> 37:15.010] It's always this thing when you're in a speed setting. [37:15.210 --> 37:18.430] Do manual versus automation. [37:19.710 --> 37:24.450] I think there's an appropriate XKCD comic about this with the graphs and the speeds. [37:25.070 --> 37:27.390] There's an inflection point where it's worth it and it's not. [37:27.450 --> 37:30.570] You don't know until it's too late as to whether you did the right thing or not. [37:31.650 --> 37:37.750] I will say it is much easier to read MMM's exploit with their Nuke script versus the multiple lines. [37:40.090 --> 37:42.150] Let's go back to MMM. [37:42.150 --> 37:44.570] We're seeing some read calls now. [37:44.570 --> 37:45.410] And now there's a shell there. [37:45.410 --> 37:46.310] Oh my god. [37:46.310 --> 37:48.210] So now they managed to switch up the payload a little bit. [37:48.210 --> 37:49.030] They managed to fix that up. [37:49.030 --> 37:50.870] Now they're throwing it against a remote server. [37:51.650 --> 37:52.510] Let's see. [37:52.510 --> 37:53.510] What are they doing? [37:54.450 --> 37:55.250] Are they running it? [37:55.250 --> 37:55.670] Are they running it? [37:55.970 --> 37:56.810] We see... [37:56.810 --> 37:57.330] No. [37:58.730 --> 38:00.730] Oh, it didn't work. [38:01.130 --> 38:01.730] Okay. [38:01.730 --> 38:04.450] So they're switching the... [38:05.910 --> 38:07.250] Cat the submitter. [38:07.250 --> 38:08.030] Yeah, yeah, yeah. [38:08.030 --> 38:09.210] It's not working remotely. [38:09.210 --> 38:09.450] No. [38:09.450 --> 38:11.910] So you know what I think it is. [38:11.910 --> 38:13.150] You can see what they're sending. [38:13.150 --> 38:17.790] They're sending a very large NOP prefix. [38:17.830 --> 38:19.870] And I think it might be this local network. [38:19.870 --> 38:21.210] So it will get fragmented. [38:21.210 --> 38:27.110] And the read call on the remote server will only return a limited chunk of this. [38:28.910 --> 38:31.130] I wonder if there's a syscall. [38:31.230 --> 38:33.610] If they look for a syscall at the end of the binary. [38:33.610 --> 38:35.430] No, but there's a very... [38:35.430 --> 38:39.790] Because then the distance between where they're writing is going to be smaller. [38:39.790 --> 38:40.270] They don't need to write. [38:40.270 --> 38:43.690] So they're writing as their secondary payload a very, very long buffer, right? [38:43.690 --> 38:43.930] Yep, yep. [38:43.930 --> 38:47.770] If they shorten that buffer there, they don't have to worry about that packet difference. [38:48.130 --> 38:51.010] Oh, they're looking for hints. [38:51.010 --> 38:51.610] Yeah, yeah, yeah. [38:51.610 --> 38:52.550] They're looking for hints. [38:53.510 --> 38:55.210] 800 seconds until sudden death. [38:55.270 --> 38:55.670] Yeah. [38:56.150 --> 38:56.910] Oh, no. [38:57.230 --> 38:57.510] So... [38:57.510 --> 38:58.930] All right, we still have time for sudden death. [38:58.930 --> 38:59.770] The hints aren't going to help them. [38:59.770 --> 39:01.210] They know exactly what they've got to do. [39:01.210 --> 39:01.710] Yeah, yeah, yeah. [39:01.710 --> 39:02.570] The hints are not there. [39:02.570 --> 39:04.850] But like I said, just looking at that, my guess is... [39:04.850 --> 39:08.010] I think the problem they're running into is that NOP payload, as you were saying, is too big. [39:08.010 --> 39:11.030] Because they're running into issues with latency on the network versus on the local socket. [39:11.030 --> 39:11.970] And they're not being flushed. [39:11.970 --> 39:12.270] Yep. [39:12.270 --> 39:16.210] So I think what they need to do there is to shorten that NOP payload. [39:16.210 --> 39:22.190] If they bring down the NOPs and then they tighten up where the syscall is actually running from where they're writing their bytes into. [39:22.930 --> 39:23.130] Right? [39:23.130 --> 39:27.250] So, for example, maybe they'd actually need to add something to the... [39:27.250 --> 39:30.690] If the pointer they're popping is at the beginning of the buffer, for example, instead of the end of the buffer. [39:31.010 --> 39:31.370] Or... [39:31.370 --> 39:36.310] I don't know exactly what they're getting at the argument for the destination where the receive is. [39:36.310 --> 39:39.690] But it's too far away from where they're writing, which is why they're putting all those NOPs into it. [39:39.690 --> 39:40.090] Right. [39:40.090 --> 39:43.650] So they need to shrink those up and make them closer together to make that buffer smaller. [39:43.650 --> 39:47.570] And manage to somehow add to the... [39:47.570 --> 39:51.030] So that it's reading further away. [39:51.030 --> 39:56.890] Or if they could find a relative jump later in the payload. [39:56.890 --> 39:57.290] Yes. [39:57.630 --> 40:03.430] And then still just put their payload in the beginning and do a jump back to the beginning where their stuff would be picked up. [40:03.430 --> 40:09.070] The problem is that's easy to reason about if you know that this is the issue. [40:09.070 --> 40:09.210] Right. [40:09.210 --> 40:11.190] But maybe, you know, this is something you miss. [40:11.190 --> 40:11.770] Yeah. [40:11.770 --> 40:13.970] So this is like one of the... [40:13.970 --> 40:16.390] And we're not even 100% positive that is the issue. [40:16.390 --> 40:16.550] No, no, no. [40:16.550 --> 40:17.550] This is our best guess. [40:17.550 --> 40:19.930] And I think it was a good assumption. [40:19.930 --> 40:20.430] Yes. [40:20.690 --> 40:26.170] So it is entirely possible that Hypo actually kind of comes from behind this sort of slow and steady pace as they're manually... [40:26.170 --> 40:26.590] Right. [40:26.590 --> 40:27.690] ...creating this still payload. [40:27.690 --> 40:28.530] They're still working through it. [40:28.530 --> 40:31.810] This has actually bitten me as an organizer sometime. [40:31.930 --> 40:33.270] We've got a syscall, by the way, over here. [40:33.270 --> 40:33.590] Okay. [40:33.590 --> 40:34.330] Let's switch over to Hypo. [40:34.330 --> 40:35.150] Let's go back over here. [40:35.150 --> 40:35.370] Yeah. [40:35.370 --> 40:38.570] Because they do indeed have a syscall and they're looking... [40:38.570 --> 40:41.370] They've got a breakpoint. [40:41.530 --> 40:42.250] Okay. [40:42.630 --> 40:43.930] So they're setting their breakpoint. [40:43.930 --> 40:45.510] Let's go ahead and see. [40:46.890 --> 40:49.550] They're looking at the register state at the breakpoint. [40:49.550 --> 40:50.110] Yeah. [40:50.730 --> 40:54.350] And I think there was a zero in the syscall number if I'm not mistaken. [40:55.250 --> 40:56.230] And then you see... [40:56.230 --> 40:56.270] Okay. [40:56.270 --> 40:56.450] Yeah. [40:56.450 --> 40:57.110] So it's a syscall. [40:57.110 --> 40:58.550] So they are going to call their syscall. [40:58.550 --> 41:00.570] They're looking at the arguments to make sure they've got this all right. [41:00.570 --> 41:02.390] So what is... [41:02.390 --> 41:04.930] They're checking at the contents. [41:04.930 --> 41:07.930] So they're checking what RDI is pointing at. [41:08.030 --> 41:09.130] Although those look like... [41:09.130 --> 41:10.110] There's a movie X zero. [41:10.110 --> 41:11.050] It's pointing at the main. [41:11.050 --> 41:11.870] So they're actually... [41:11.870 --> 41:12.390] Yeah. [41:12.910 --> 41:13.230] Hmm. [41:13.230 --> 41:14.210] Interesting. [41:14.750 --> 41:19.090] I'm not sure I entirely follow what's going on there. [41:19.090 --> 41:23.970] But you can definitely see that it is executing the syscall. [41:23.970 --> 41:28.450] So that's a very good progress on that part. [41:28.450 --> 41:36.090] The problem is still, if we look over on the MMM side, that you have this big knob thing. [41:36.090 --> 41:36.430] Right. [41:36.430 --> 41:37.750] And this is not going to work. [41:37.790 --> 41:45.790] And I was going to say that this has bitten me as an organizer because I have built challenges and then tested them locally on my machine. [41:45.790 --> 41:46.030] Yeah. [41:46.030 --> 41:47.450] And they worked perfectly fine. [41:47.450 --> 41:54.510] But then when we deployed it for the competition, because of this discrepancy, the challenge was almost unsolvable. [41:54.930 --> 41:58.230] Speaking of which, I'm going to go talk to the production team and make sure that when we run our tests... [41:58.230 --> 41:58.630] No, no, no. [41:58.630 --> 42:03.070] We do it from a separate machine. [42:04.470 --> 42:05.090] Do we? [42:05.890 --> 42:06.170] I... [42:06.170 --> 42:07.150] Do we do it from a separate machine? [42:07.270 --> 42:08.230] I'm going to go ask. [42:08.230 --> 42:09.370] And we're going to make sure that that's the case. [42:09.370 --> 42:10.710] Just because I don't want that to be... [42:10.710 --> 42:10.990] Yeah. [42:11.330 --> 42:11.890] Right. [42:12.350 --> 42:14.310] I mean, so you do that. [42:14.310 --> 42:20.430] But, of course, in this case, there is definitely ways to do that. [42:23.250 --> 42:24.130] And we... [42:24.130 --> 42:30.790] Oh, I mean, what I'm saying is that there's definitely ways to solve this anyway, even if this would be the case. [42:30.790 --> 42:36.210] But this is still very frustrating for the players. [42:36.210 --> 42:39.590] This must be extremely stressful for them. [42:40.230 --> 42:40.670] And... [42:40.670 --> 42:46.370] So not only are we running it, running our test remotely, we're doing it right now in the competition. [42:46.370 --> 42:46.970] Glenn's over there. [42:46.970 --> 42:48.150] He's actually tested it. [42:48.150 --> 42:50.070] His payload still works. [42:50.070 --> 42:52.470] It works on the game infrastructure from another machine. [42:52.470 --> 42:55.790] He's not running the submitter, but he is able to verify that it's working. [42:55.790 --> 42:57.430] So there's no reason that... [42:57.430 --> 42:58.450] So we are... [42:58.950 --> 43:03.050] I think we are not to blame here. [43:03.290 --> 43:06.250] But it is still heartbreaking to be that close. [43:06.250 --> 43:07.930] But I want to switch over to Hypeboy. [43:07.930 --> 43:09.690] And we unfortunately just missed it. [43:09.750 --> 43:11.530] But what was going on there? [43:11.530 --> 43:14.170] I saw a much shorter NOP prefix. [43:14.710 --> 43:15.990] Look at the comments. [43:15.990 --> 43:18.430] They've commented out most of their lines that are doing the NOP. [43:18.430 --> 43:19.090] Right. [43:19.090 --> 43:21.450] So they're kind of like starting over. [43:21.450 --> 43:24.570] This is actually the third time or second or third time I've seen them do this. [43:24.570 --> 43:27.570] Where they're kind of like rethinking everything and starting back over. [43:27.590 --> 43:27.750] Yeah. [43:27.810 --> 43:31.170] We should probably make sure that we have our sudden death just in case. [43:31.590 --> 43:34.170] Because not yet, but we have to have it ready. [43:34.610 --> 43:34.910] Yeah. [43:34.910 --> 43:36.930] I think they have about ten minutes. [43:36.930 --> 43:38.070] We still have another ten minutes, I think. [43:38.070 --> 43:38.790] But at some point... [43:38.790 --> 43:41.670] I think it's nine minutes or so remaining on the challenge. [43:44.070 --> 43:44.430] Which... [43:44.990 --> 43:45.710] Yeah. [43:45.710 --> 43:46.510] So... [43:48.070 --> 43:51.310] It's really interesting to see here. [43:51.310 --> 43:52.130] But I think... [43:52.130 --> 43:53.610] So he keeps switching it up. [43:53.610 --> 43:57.450] But unfortunately, I think that as long as that thing... [43:57.450 --> 44:02.810] That long prefix is there, it's not going to work. [44:03.230 --> 44:08.190] We have about eight minutes left, I think, until the official 15-minute mark. [44:08.190 --> 44:10.870] Which is where we've been calling all sudden deaths. [44:10.870 --> 44:12.690] This is the last match of the day, though. [44:12.690 --> 44:14.330] I would hate to go to a sudden death. [44:14.330 --> 44:14.670] Yeah. [44:14.670 --> 44:16.350] But we do actually have a hard stop. [44:16.350 --> 44:19.110] Because we have to give these scores to DEF CON. [44:19.110 --> 44:20.310] Because they have to go into the final event. [44:20.310 --> 44:20.450] Yeah. [44:20.450 --> 44:24.130] So we'll have to talk that over and figure out what we're going to do. [44:24.130 --> 44:24.510] Yeah. [44:24.510 --> 44:25.330] If we get something. [44:25.330 --> 44:26.310] Then again, it was... [44:26.310 --> 44:26.710] What was it? [44:26.710 --> 44:29.990] 40 seconds before the sudden death the last time? [44:29.990 --> 44:30.350] Oh my god, yeah. [44:30.350 --> 44:31.970] It was MMM that even did that? [44:31.970 --> 44:32.470] Yeah, yeah. [44:32.470 --> 44:35.750] It was not in the previous match, but the match before. [44:35.750 --> 44:37.130] Not one right before, but a previous match. [44:37.290 --> 44:38.250] Yeah, exactly. [44:39.550 --> 44:44.010] And now they are bringing up the distributed libc as well, which is interesting. [44:44.010 --> 44:47.030] I wonder what they're going to do. [44:47.070 --> 44:50.750] Are they trying to go for a one gadget thing or something? [44:50.750 --> 44:53.770] But, yeah, I think the fundamental problem there... [44:53.770 --> 44:55.850] Oh, sorry, I'm talking about the wrong screen here. [44:55.850 --> 44:56.930] Sorry, I was on over on MMSI. [44:56.930 --> 44:57.630] Let's switch over here to MMSI. [44:57.630 --> 44:58.570] Yeah, yeah, yeah. [44:59.090 --> 45:00.390] Sorry about that. [45:00.670 --> 45:02.950] So what just happened on MMSI, it was like... [45:02.950 --> 45:07.030] He brought up the libc with distributed with this and he was looking around. [45:09.550 --> 45:13.190] Unfortunately, I think there is this fundamental issue with the solution [45:13.190 --> 45:16.930] where the payload, the secondary stage is too long. [45:16.930 --> 45:17.910] Yeah, yeah. [45:17.910 --> 45:20.670] I think they're going to continue to run into that as well. [45:20.670 --> 45:23.610] So, honestly, if Hypeboy can actually build their payload [45:23.610 --> 45:26.090] and they're able to target it more precisely, [45:26.090 --> 45:31.110] get it closer to where their code is being written to, [45:31.110 --> 45:35.670] closer to where that syscall instruction is actually being called, [45:35.670 --> 45:38.850] that could be the win, but neither... [45:38.850 --> 45:40.890] I mean, yeah, it's hard to say. [45:41.410 --> 45:45.530] It's rough seeing that go from like a working local and it just not working... [45:45.530 --> 45:46.450] Oh, yeah, that must be like... [45:46.450 --> 45:49.610] If they lose this, that must be so frustrating. [45:49.870 --> 45:56.770] At least we have a plausible hypothesis about why this... [45:56.770 --> 46:00.150] Why this particular payload is not working in our particular solution. [46:00.170 --> 46:01.670] That's still... [46:02.250 --> 46:04.930] Because otherwise it can be very frustrating as a player. [46:05.350 --> 46:08.090] If there is something wrong with the challenge or something like this. [46:08.090 --> 46:12.270] But I think, in this case, it is actually completely fair. [46:12.270 --> 46:15.910] The read call is doing exactly what the read call is supposed to do. [46:15.910 --> 46:18.810] It's just that it's very easy to forget about this discrepancy [46:18.810 --> 46:21.210] between over-the-network versus local. [46:21.210 --> 46:23.890] And there's no easy way to call another flush. [46:23.890 --> 46:26.610] To call flush again would actually be a whole other syscall [46:26.610 --> 46:28.670] that they have to find and set up and do. [46:28.730 --> 46:32.430] Right, and it's not even flush. [46:32.430 --> 46:33.930] It's like when you're sending the... [46:33.930 --> 46:37.630] I think the read call on the server side will only read... [46:37.630 --> 46:38.930] Oh, you would have to do multiple reads? [46:38.930 --> 46:42.730] Yes, exactly, but then you would need to adjust the offset. [46:42.730 --> 46:45.430] And if you can adjust the offset, you can just do it immediately. [46:45.430 --> 46:46.030] Right, right, right. [46:48.450 --> 46:48.810] So... [46:49.190 --> 46:51.110] So yeah, they're definitely going to have to step back, [46:51.110 --> 46:54.810] take a look and do a different payload though. [46:55.150 --> 46:58.170] And I am wondering, it's possible too that even if Hypeboy comes up [46:58.170 --> 47:00.430] with their solution that works locally, they run into the same problem. [47:00.430 --> 47:02.790] It may be that their first attempt does the same thing. [47:02.790 --> 47:03.810] Yeah, that would be... [47:03.810 --> 47:07.430] We haven't actually seen their shellcode at the end yet, [47:07.430 --> 47:08.770] because they've kind of never gotten to the point [47:08.770 --> 47:10.930] where even they were able to get it working locally, unfortunately. [47:10.930 --> 47:11.550] Right. [47:13.710 --> 47:20.070] And how are we doing on time? About five minutes or so left? [47:20.070 --> 47:22.350] It looks like we've got about six minutes left. [47:22.350 --> 47:23.170] Oh my god. [47:23.170 --> 47:25.850] Five and a half minutes before we are scheduled to go to... [47:25.850 --> 47:28.410] So I'm going to go ahead and go have a chat with Prod, [47:28.410 --> 47:30.170] make sure we're ready with... [47:30.170 --> 47:32.630] And I need to actually literally check with Nautilus Institute, [47:32.630 --> 47:34.410] because I need to know our hardstop deadline, [47:34.410 --> 47:38.910] because we may have a hardstop where we cannot go later to report scores. [47:38.910 --> 47:42.770] I want to switch over to MMM, because I saw another shell pop, [47:42.770 --> 47:46.590] but as I said, that big, large prefix is still there, [47:46.590 --> 47:49.310] so I don't think it's going to make a difference. [47:49.710 --> 47:53.890] And oh my god, I cannot imagine being in their shoes right now [47:53.890 --> 47:57.630] and having this complete stress of knowing your popped shell locally [47:57.630 --> 48:02.890] in six different ways, but it's not working over the network. [48:02.890 --> 48:07.030] And unfortunately, the fundamental issue is still there. [48:10.450 --> 48:13.430] It's heartbreaking, honestly. [48:16.130 --> 48:20.190] I'm not saying that I'm rooting for anyone in particular, [48:20.190 --> 48:25.910] but it would be so devastating to be in this situation [48:25.910 --> 48:28.410] and then not manage to win. [48:28.450 --> 48:32.150] So I'm kind of hoping that they manage to get it through, [48:32.150 --> 48:37.690] but yeah, again, once you've kind of gone down the incorrect path [48:37.690 --> 48:42.290] and you're kind of locked into that, it's so very difficult to take a step back [48:42.290 --> 48:46.530] and go for a different approach, because you're sitting there [48:46.530 --> 48:49.490] and you're thinking like, you know, if I just change this little thing, [48:49.930 --> 48:53.170] it will work, but I don't think it will, unfortunately. [48:53.170 --> 48:56.190] And this is causing problems here. [48:58.670 --> 49:01.650] We are queuing up the sudden death. It's not there yet. [49:01.650 --> 49:04.030] We just saw a screen a little bit on the screen. [49:04.030 --> 49:05.410] They were double-checking the time as well. [49:05.410 --> 49:10.610] I think we still have about three minutes left, but it's close. [49:10.610 --> 49:12.030] And we are going to queue it up. [49:12.770 --> 49:15.230] Unfortunately, I really would love to see the team solve this, [49:15.230 --> 49:20.110] but we do have to go with a sudden death just because if they get stuck on this, [49:20.110 --> 49:22.610] we can't report a result, which holds up DEF CON, [49:22.610 --> 49:26.610] which holds up the main award decision. [49:26.610 --> 49:31.270] So it's a bummer, and I would love to have seen this one solved, [49:31.270 --> 49:35.010] but right now, although I am seeing... [49:35.790 --> 49:40.110] Run line after, they're doing some more interaction here, adding another... [49:40.930 --> 49:42.070] They're done with their not... [49:42.070 --> 49:43.690] Oh, so they're putting... Oh, that's okay. [49:43.690 --> 49:45.090] Yeah, they're doing the exact same problem. [49:45.930 --> 49:47.790] That not payload is way too big. [49:47.790 --> 49:49.870] That is way too big. [49:50.670 --> 49:54.390] If we had multiple other QA testers and we had run into this, [49:54.390 --> 49:56.930] we might have known to put a hint earlier, unfortunately. [49:56.990 --> 50:03.230] So the problem was that the test solution from our tester was not doing it like this, [50:03.230 --> 50:05.830] so they didn't hit this problem, so we didn't even think about it. [50:05.830 --> 50:07.050] We didn't foresee it as an issue. [50:07.050 --> 50:09.350] If we had, we might have been able to give them better hints. [50:09.350 --> 50:11.750] So it's unfortunate, but it does happen. [50:11.750 --> 50:17.210] So again, we're about two minutes out from the sudden death, [50:17.210 --> 50:19.250] so we're preparing it, getting it ready on the server. [50:24.130 --> 50:26.190] It's not looking good, unfortunately. [50:26.190 --> 50:28.430] We're still seeing these massive prefixes. [50:28.430 --> 50:29.570] Wait, no. [50:30.250 --> 50:33.390] They don't know if they're throwing it locally or remotely, but they had something they thought worked. [50:33.390 --> 50:35.570] Oh, they're just trying random not blanks. [50:35.610 --> 50:37.210] Yeah, and... [50:38.110 --> 50:41.350] Yeah, we're going to need to post our solution on Twitter afterwards, so they know that it was... [50:41.350 --> 50:51.450] I can imagine there being a certain level of frustration from the players at this moment, but... [50:51.450 --> 50:55.970] It happens, and honestly, I think we've had about one sudden death. [50:55.970 --> 50:58.070] 83 seconds left, it's on the screen right there. [50:58.070 --> 51:00.190] Okay, yeah, that's... [51:02.070 --> 51:04.670] Yeah, Hypeboy's... [51:06.150 --> 51:07.790] Hypeboy's running it. [51:11.180 --> 51:13.640] No, I don't think either one... [51:15.720 --> 51:19.740] This is very, very tough right now. [51:20.900 --> 51:26.280] Doing it remotely again, I think they're just going for desperation now. [51:27.300 --> 51:34.780] I don't know, you would like to increase your MTU or something like this? [51:34.780 --> 51:35.260] Yeah. [51:35.260 --> 51:37.640] I wonder if you could actually make... [51:37.640 --> 51:41.460] Because since they are on the same network, it's... [51:41.460 --> 51:44.740] Well, I guess that depends on the routers. [51:44.740 --> 51:46.460] If the switch supports jumbo frames or not that they're on. [51:46.460 --> 51:49.700] Yeah, yeah, which it's a cheap generic switch, so I'm not sure that would have been... [51:49.700 --> 51:53.240] No one, I think anyone is even going to think in that direction. [51:53.240 --> 51:54.800] Yeah, yeah, I don't think they realize that that's exactly what... [51:54.800 --> 51:58.380] I'm not even sure it would work, but, you know, they're not going to try that. [51:58.580 --> 52:00.940] Okay, I think we're coming down to just the last few seconds. [52:00.940 --> 52:02.520] 20 seconds left before it's going to go. [52:02.520 --> 52:06.440] 20 seconds, we see some more Astrace outputs here. [52:07.080 --> 52:09.520] And, yeah, it's truly... [52:09.520 --> 52:12.040] Wait a minute, Hypeboy, what is Hypeboy doing? They're copying shellcode. [52:12.040 --> 52:13.960] Do they actually have a working shellcode? No. [52:13.960 --> 52:16.640] No, because they still have the large prefix. [52:16.940 --> 52:18.260] Unless there's something else that was wrong and different. [52:18.300 --> 52:20.940] I mean, unless we are completely wrong. Yeah, exactly. [52:20.940 --> 52:23.880] If we're wrong and this works, then I don't think there's even enough time, though. [52:23.880 --> 52:24.920] It's going to be real close. [52:24.920 --> 52:25.680] So they have a shell there. [52:25.680 --> 52:26.360] They have a shell. [52:26.360 --> 52:27.800] So let's see if they can switch it to remote. [52:27.800 --> 52:29.520] But I think they're going to hit the same... [52:31.600 --> 52:32.560] Oh, no. [52:32.560 --> 52:35.040] I think their team saw the shell. [52:35.040 --> 52:36.440] But, again, I don't think it's going to work. [52:36.580 --> 52:37.800] They're going to try it remotely. [52:37.820 --> 52:38.120] Yeah. [52:38.120 --> 52:39.740] And we're just about to go to sudden death. [52:42.220 --> 52:43.440] Did he get it in time? [52:43.940 --> 52:45.200] Did he actually throw it? [52:47.560 --> 52:48.340] Sorry, I'm checking. [52:48.340 --> 52:49.580] We got to check our logs now. [52:49.580 --> 52:49.700] Yeah. [52:49.700 --> 52:50.740] Did it actually happen? [52:52.080 --> 52:52.440] Yeah, yeah, yeah. [52:52.440 --> 52:54.740] We know, but it wasn't going to work remotely anyway. [52:54.740 --> 52:54.900] Yeah, yeah. [52:54.900 --> 52:56.320] He's going to have the same problem, I think. [52:56.320 --> 52:56.820] Yeah. [52:56.820 --> 52:58.500] So, yeah. [52:58.620 --> 53:02.500] So we are going to go to a sudden death. [53:02.500 --> 53:03.660] I'm just going to go over to... [53:03.660 --> 53:03.780] Yeah, yeah, yeah. [53:03.780 --> 53:04.500] It wasn't going to work anyway. [53:04.500 --> 53:06.260] Yeah, I'm going to go over to production and... [53:06.260 --> 53:07.000] Yeah, yeah. [53:07.940 --> 53:09.760] The crowd just realized the same thing. [53:09.760 --> 53:10.300] Yeah. [53:10.940 --> 53:11.900] So, yes. [53:11.900 --> 53:13.460] Oh, that is heartbreaking. [53:13.480 --> 53:13.740] Yeah. [53:13.740 --> 53:16.740] At least let them know it wasn't going to work anyway, probably. [53:16.740 --> 53:17.020] Yeah. [53:17.020 --> 53:17.560] Yeah. [53:17.560 --> 53:17.900] Yeah. [53:17.900 --> 53:19.360] We're going to have to explain that to the players. [53:19.360 --> 53:20.360] We're going to have to let them know. [53:20.360 --> 53:20.600] Yeah, yeah. [53:20.600 --> 53:21.660] We're going to get reset. [53:21.660 --> 53:23.100] We're going to put this down for just a second. [53:23.100 --> 53:29.360] Let's go back to the bracket just for just a second while we reset things. [53:29.360 --> 53:30.860] And we'll be back in just a few seconds.