[00:00.000 --> 00:06.700] Ladies and gentlemen, welcome DARPA's Cyber Grand Challenge Program Manager, Mike Walker. [00:06.700 --> 00:11.880] My name is Mike Walker. I'm the Program Manager of DARPA's Cyber Grand Challenge Program. [00:12.060 --> 00:21.280] January 13, 2013, I came to work at DARPA with the mission of exploring revolutionary autonomy [00:21.280 --> 00:26.300] in the cyber domain. And the idea, very simply, was to bring a computer to play in the biggest [00:26.300 --> 00:32.280] hacking contest on planet Earth. DEF CON captured the flag. A contest pioneered and perfected at [00:32.280 --> 00:37.520] DEF CON for over two decades. It's going to be played right here tomorrow. In 2013, [00:37.520 --> 00:43.400] no computer existed that could have done such a thing. And today, these seven exist. [00:52.070 --> 00:56.790] We will now broadcast the world's first all-machine hacking tournament to the world. [00:56.790 --> 01:01.830] First prize is two million dollars. These machines behind me were built atop decades [01:01.830 --> 01:06.730] of program analysis science, engineered over two one-year stages of competition, [01:06.730 --> 01:14.070] and built by pioneers. Program analysis scientists, hackers, and engineers joining us today on your [01:14.070 --> 01:31.110] front left. So tonight, these machines will play capture the flag against each other. Tomorrow, [01:31.110 --> 01:34.470] we hope the lessons learned will change the field of computer security. [01:34.750 --> 01:39.190] Our announcers will call today's capture the flag round by round. Thank you. [01:50.450 --> 02:00.850] Live from the Paris Hotel in Las Vegas, Nevada, it's the DARPA Cyber Grand Challenge final event. [02:02.570 --> 02:09.730] And now, please welcome your cybercasters, Hakeem, Vizzy, and H.J. [02:19.280 --> 02:24.580] All right. Welcome, everyone, to the first ever fully automated cybersecurity [02:25.140 --> 02:31.760] automated competition, the Cyber Grand Challenge. I'm your host, Hakeem Oluseyi, [02:31.760 --> 02:37.600] and if you know anything about me, then you know that I love doing serious science, [02:37.600 --> 02:43.960] I love sharing the information with everyone, and I love having a fun, great time while doing it. [02:43.960 --> 02:49.060] And I could not complete that mission without my co-hosts. So today, with me, [02:49.060 --> 02:53.120] I have two hacking experts to help guide us through the competition. [02:53.840 --> 03:00.510] Please welcome a former team leader of DEF CON's capture the flag, Invisigoth, known as Vizzy. [03:06.960 --> 03:12.060] And standing next to him is a founding member of the legitimate business syndicate, [03:12.060 --> 03:18.720] and he is, to beards, what Vizzy is to ponytails. Hawaii John, or H.J. [03:20.780 --> 03:26.560] And by the way, H.J. is the legitimate business syndicate, is the organizer for this year's [03:26.560 --> 03:34.020] capture the flag competition. So how do you guys feel being here, organizing this event? [03:34.020 --> 03:37.360] Pretty good, man. I was definitely a bit skeptical when Mike Walker told me that [03:37.360 --> 03:42.400] an astrophysicist would be our co-host, though. I don't know, man, what do you think about it? [03:42.600 --> 03:46.060] I don't know, he kind of brings a certain gravity to the situation, but I'm still kind of skeptical. [03:46.380 --> 03:54.640] Oh my god, that was groan-worthy. Thank you, audience. All right. Well, these guys have [03:54.640 --> 04:00.040] business to do, so gentlemen, take your places at the desk and in the team lounge, and I'll join [04:00.040 --> 04:07.940] you later. So now my job is to deliver some information to you. So what is the Cyber Grand [04:07.940 --> 04:13.020] Challenge? It is the world's first all-machine hacking tournament, developed under the Defense [04:13.020 --> 04:19.360] Advanced Research Projects Agency, also known as DARPA. So what we'll see here today is much more [04:19.360 --> 04:24.020] than the world's first all-machine hacking tournament. As Mike mentioned, the lessons [04:24.020 --> 04:29.500] learned could lead to a world where computer viruses, malware, and attacks are discovered [04:29.500 --> 04:36.940] in a matter of weeks, days, or even seconds. Right now, it takes security specialists an average of [04:36.940 --> 04:43.680] 312 days to discover software vulnerabilities. It can take weeks, months, or sometimes years [04:43.680 --> 04:49.360] for these vulnerabilities to be fully fixed across all exposed systems. Now, that leaves [04:49.360 --> 04:54.960] plenty of time for malware makers, ransomware developers, and other bad actors to exploit the [04:54.960 --> 05:00.440] vulnerabilities and do damage. The Cyber Grand Challenge was designed to improve the current [05:00.440 --> 05:06.140] state of cybersecurity by testing the concept of automation for the discovery and repair of [05:06.140 --> 05:12.220] software flaws, a technology that does not currently exist. DARPA started the Cyber Grand [05:12.220 --> 05:18.860] Challenge in 2014 and opened up competition to all competitors. More than 100 teams took up the [05:18.860 --> 05:25.420] challenge. Through a process of qualifying rounds, we now have seven finalists who will compete here [05:25.420 --> 05:31.620] today using automated systems designed to hunt for vulnerabilities, patch them, distribute those [05:31.620 --> 05:37.180] patches, and search for weaknesses on competitors' systems. For some of you, that process should [05:37.180 --> 05:43.200] sound familiar. The CGC is based on Capture the Flag, the hacker game played here at DEF CON [05:43.200 --> 05:48.400] and throughout the world by scientists and cybersecurity specialists. You'll hear more [05:48.400 --> 05:54.380] about Capture the Flag later from my co-hosts. But unlike other Capture the Flag events, [05:54.380 --> 06:00.600] people won't be playing the game live. Instead, the systems built by the finalists over the last [06:00.600 --> 06:06.500] two years will do the work in a battle of the bots. Now it's time to join the Cyber Grand Challenge [06:06.500 --> 06:14.140] and see where the world's first all-machine hacking tournament takes us. We have seven teams [06:14.140 --> 06:19.160] competing with each other in the Cyber Grand Challenge final event this year, and we'll meet [06:19.160 --> 06:25.160] each one of them in just a minute. But first, I want to tell you what's at stake for today's teams. [06:25.160 --> 06:29.840] As Mike mentioned, the winning team will take home the top prize of $2 million. [06:30.580 --> 06:37.520] The second-place team will receive $1 million, while the third-place team will get $750,000. [06:37.520 --> 06:42.720] But we know what they're all really playing for, and that's bragging rights. Now let's meet the [06:42.720 --> 06:48.020] teams and the systems that they've built. These teams reflect different types of communities, [06:48.020 --> 06:53.060] from academic researchers in the field, to security tech giants, to veterans of the Capture [06:53.060 --> 06:58.280] the Flag circuit. Each team brings specific strengths to the event. Each has experience [06:58.280 --> 07:03.880] in designing an innovative bot that achieves the difficult task of automatically finding and fixing [07:03.880 --> 07:10.000] vulnerabilities found in software code. There's no clear best strategy going in, so the teams can [07:10.000 --> 07:16.940] explore multiple approaches, any one of which could result in important improvements in [07:16.940 --> 07:23.180] cybersecurity technology. Now my co-host Vizzy has the honors of introducing the teams. [07:23.740 --> 07:28.500] So it looks like as Hakim is making his way over here and we get the teams ready to go, [07:28.500 --> 07:33.340] we've got each of the teams has their own systems, their own colors, and hacking out of the sky blue [07:33.340 --> 07:38.340] corner is a CRS that leads a powerful fleet of selective symbolic execution engines, [07:38.340 --> 07:43.920] binary instrumentation tools, and fuzzers on a historic quest to find cybersecurity for mankind. [07:44.140 --> 07:49.080] Galactica. Galactica, built by CodeJitsu, a team of researchers from the University of California [07:49.080 --> 08:07.020] at Berkeley, Syracuse University, and Cyberhaven in Luzon, Switzerland. And hacking out of the [08:07.020 --> 08:12.000] yellow corner and consisting of mostly custom software, utilizing static analysis, fuzzing, [08:12.000 --> 08:17.540] and automatically generated structured test cases, that's Jima, developed by the two-person team of [08:17.540 --> 08:33.700] CSDS. Hacking out of the red corner and employing aggressive gameplay and anti-analysis tactics, [08:33.700 --> 08:38.840] featuring a proprietary hypervisor-based vulnerability prover, PySysemu. Symbolic [08:38.840 --> 08:44.760] emulation, the GRR fuzzer, and custom static analysis is Rubius. Rubius is built by DeepRed, [08:44.900 --> 08:58.940] a team of specialized engineers from Raytheon. Hacking out of the green corner, it's containerized, [08:58.940 --> 09:04.420] replicated, and ready to scale, and definitely able to solve CADET. It's Crispy. Crispy is built [09:04.420 --> 09:16.080] by the team Dissect. Hakeem, why don't you take it away and introduce the next few teams. [09:16.080 --> 09:21.080] Thank you, Vizzy. Hacking out of the orange corner, coming from a vulnerability discovery [09:21.080 --> 09:27.360] background, where it analyzed over 30,000 Linux programs and found over 10,000 bugs and [09:27.360 --> 09:32.960] vulnerabilities. Now, with added defense and patching capability for the Cyber Grand Challenge, [09:32.960 --> 09:40.140] Mayhem. Mayhem was built by the team for AllSecure, originating from Carnegie Mellon University. [09:43.200 --> 09:48.920] Hacking out of the purple corner, fueled by the Angry Binary Analysis Engine, entangled in [09:48.920 --> 09:54.800] mind-boggling hacks, and held together by tears, duct tape, and bubble gum, and ready to make [09:54.800 --> 10:06.300] binaries dance, the Mechanical Fish. Mechanical Fish, built by the team Shellfish, a ragtag [10:06.300 --> 10:12.060] group of student hackers from UC Santa Barbara, who fed exclusively on sushi for a month, [10:12.060 --> 10:19.280] and never had a moment of cold freeze. And hacking out of the teal corner, and built by [10:19.440 --> 10:25.580] a team of cyber specialists, it's a high-performance, scalable system that harnesses 2,400 cores to [10:25.580 --> 10:32.920] power 210 high-performance fuzzing pods, capable of 1.8 million fuzzing ops per second, feeding [10:33.140 --> 10:38.480] a dedicated bank of binary analyzers, patch generators, and binary rewriters to repair and [10:38.480 --> 10:47.320] challenge binaries, Zandra. Zandra was built by TechX, a team from Grandma Tech Incorporated [10:47.320 --> 10:55.580] at the University of Virginia. There is so much amazing technology on stage that it is [10:55.580 --> 11:05.950] the infrastructure of CGC. We made this video to walk you through it. There's an enormous amount [11:05.950 --> 11:11.470] of computational power ready to be unleashed here at CGC. Beneath the stage are huge amounts [11:11.470 --> 11:17.470] of electricity and water needed to power and cool the supercomputers on the stage. 300 kilowatts [11:17.470 --> 11:23.970] of power, that's enough to power one and a half city blocks. 180 tons of water flow through these [11:23.970 --> 11:28.670] pipes at a rate of 200 gallons per minute to keep the computers on the racks liquid-cooled at all [11:28.670 --> 11:35.330] times. The entire stage is air-gapped to protect the data and the systems. The air-gap also [11:35.330 --> 11:41.110] validates that there's no other outside influence and no human interaction. Everything that happens [11:41.110 --> 11:46.070] inside the air-gap is autonomous. Data flows through the air-gap through an air-gap robot [11:46.070 --> 11:52.890] that literally reads Blu-rays of burn data from inside the game. The air-gap robot physically [11:52.890 --> 11:57.570] moves the Blu-ray across and outside the air-gap, then drops it into a reader that goes into our [11:57.570 --> 12:03.730] scorers and visualization. At the center back of the stage is a system of computers that's a digital [12:03.730 --> 12:08.730] referee. It issues the challenge sets, communicates to the bots, and handles the scoring and systems. [12:09.290 --> 12:14.650] The only humans in the game are inside the air-gap. These are our human refs. [12:16.630 --> 12:22.230] That was the design. Now we come to another important of this Cyber Grand Challenge final. [12:22.230 --> 12:27.070] While the game is being played autonomously by the bots, there are actually humans inside the [12:27.070 --> 12:32.530] air-gap, and that's our team of referees. So that raises the question, if the game is being played [12:32.530 --> 12:37.910] by machines, why do we need referees? Basically the refs are there only to make sure that the [12:37.910 --> 12:41.390] systems are doing what they're supposed to, that the hardware is functioning correctly. They [12:41.390 --> 12:46.290] have absolutely no hand in the game, no influence in the game. It's running completely autonomously. [12:46.290 --> 12:49.950] So basically they're there as sort of a safety net for hardware failures or any kind of circumstances [12:49.950 --> 12:56.710] like that. Cool. So now let's meet the dedicated team of referees. Would you please welcome [12:56.710 --> 13:02.730] Tim Vitus. Tim wants everyone to know that absolutely no IPv6 addresses were harmed in [13:02.730 --> 13:11.290] the creation of today's event. Chris Eagle. Chris Eagle is the only person I know who writes [13:11.290 --> 13:18.430] x86 machine code faster than he writes Python. Brian Caswell. For Cas, it's a labor of love. [13:18.430 --> 13:26.490] He's written more DEF CON CTF challenges than anyone on the planet. Jason Wright. Jason's a [13:26.490 --> 13:31.110] former OpenBSD developer and member of the winning CTF team at DEF CON 8, Acme Pharmaceuticals, [13:31.110 --> 13:36.750] known as the Scourge of the Northwest. Mike Thompson. Uniquely qualified to ensure the game [13:36.750 --> 13:41.910] integrity via his experience developing the only class A1 trusted computing system. [13:44.520 --> 13:50.880] Holt Zorenson. Holt is a two-time winner, four-time organizer of DEF CON CTF, member of [13:50.880 --> 13:55.760] School of Root, DD Tech, the Shmoo Group, making him nearly ancient in internet time. [13:56.900 --> 14:01.920] Patrick Finnegan. Patrick's built seven world-ranked supercomputers, including the 28th [14:01.920 --> 14:07.280] fastest on the planet, making him uniquely positioned to ensure the performance of the game. [14:08.080 --> 14:13.380] Josh Bird. Josh is a fixer who's cool as a cucumber and thrives under pressure, [14:13.560 --> 14:22.740] a total jack of all CTF trades. Thank you, referees. So, Vizzy, we've already mentioned [14:22.740 --> 14:27.340] Capture the Flag, but can you tell us how this game is going to be played? Sure, absolutely. So, [14:27.340 --> 14:31.520] this game is modeled after human CTFs that have been played in years previous. So, [14:31.520 --> 14:35.880] in those games, it's a race to discover vulnerabilities in totally custom software [14:35.880 --> 14:40.480] that's been deployed just for those challenges, just for those gaming environments. And over the [14:40.480 --> 14:44.880] version that's going to be played by the computer systems here, we're calling those bots. So, [14:44.880 --> 14:49.240] they're basically playing this similar game completely autonomously. Each team's bot [14:49.860 --> 14:55.280] controls a host that they have to defend. So, they run an identical copy of each of the pieces [14:55.280 --> 14:59.000] of challenge software that we roll out, and they're responsible for being able to introspect [14:59.000 --> 15:04.700] that, discover vulnerabilities, and basically be able to both patch, defend, and prove [15:04.700 --> 15:10.140] vulnerabilities in other teams or in other bots' code. So, the current game is played, the CTF at [15:10.140 --> 15:13.540] DEF CON is played by the best hackers in the world. This is being played by the first hacking [15:13.540 --> 15:18.900] machines in the world. Wow. So, these machines, these bots, are supercomputers. Absolutely. The [15:18.900 --> 15:23.100] bots are totally fully automated, and they're all simultaneously given all of the challenges. [15:23.260 --> 15:27.500] So, basically, they are acting completely autonomously through the entire scope of the [15:27.500 --> 15:30.880] game, which is really, really unique. That's really unique, and it's new. Is that right? [15:30.880 --> 15:35.380] Absolutely. All right. And these challenge sets are the software problems that the bots have to [15:35.380 --> 15:41.320] solve? Yeah. So, bots, not humans, are tackling the challenge sets, which are basically in similar, [15:41.320 --> 15:44.920] similarly to other CTFs. They're modeled after real-world services. So, these are pieces of [15:44.920 --> 15:49.760] software that speak protocols like your mail server would or like a web server would, [15:49.760 --> 15:53.740] and they're basically modified services specifically for CGC. We're going to be rolling [15:53.740 --> 15:59.500] out a hundred challenge sets, releasing every five minutes. So, basically, as these challenge [15:59.500 --> 16:03.580] sets roll out, the bots are going to have an opportunity to try to discover vulnerabilities [16:03.580 --> 16:09.740] in them and patch their own services. So, there's a few select ones, six challenges, [16:09.740 --> 16:13.960] that we've called rematch challenges. Basically, these are challenges that are historically [16:13.960 --> 16:20.060] significant because they're modeled after challenges that were scourges of the internet [16:20.060 --> 16:25.400] or previously very famous vulnerabilities from years prior. And so, we named them rematch [16:25.400 --> 16:29.960] challenges because we have the opportunity to fight this battle again. So, we're talking like [16:29.960 --> 16:35.320] pictures of Kim Kardashian here. More like we're talking about things like the slammer worm [16:35.320 --> 16:38.760] that took out the entire internet for a week back in the day and things like that. All right. So, [16:38.760 --> 16:42.300] we're talking about some seriously breaking... Absolutely. Yeah. So, we're super excited to see [16:42.300 --> 16:45.840] what the bots do with this because this is sort of the area where we get the opportunity to see [16:45.840 --> 16:50.740] what this technology would have done if it had existed back then. Right. Okay. And do we need [16:50.740 --> 16:55.900] to worry about what these bots do in the wild? And let's start with the computer's operating system. [16:55.940 --> 16:59.660] So, the computer's operating system that's being run for the challenge binaries is an extremely [16:59.660 --> 17:04.140] secure platform. Basically, DARPA developed a custom operating system called DECREE, [17:04.140 --> 17:08.260] which stands for the DARPA Experimental Cybersecurity Research and Evaluation Environment, [17:08.260 --> 17:12.220] which is a mouthful. But basically, what it means is that a customized operating system [17:12.220 --> 17:16.820] that's highly instrumented and is slightly reduced in scope from the normal complexity [17:16.820 --> 17:21.320] has been developed such that the binaries that are running inside of these challenge binaries [17:21.320 --> 17:24.220] that are running inside of the game and the protocols that are being spoken by those things [17:24.220 --> 17:28.200] have no shared code with anything on the internet and don't speak anything that could actually [17:28.200 --> 17:32.780] communicate correctly with anything on the internet. Oh. So, basically, it's an open source [17:32.780 --> 17:37.500] extent operating system extension that then we use to monitor what's going on inside and is [17:37.500 --> 17:40.840] extremely instrumented so that we get a massive amount of data about what's going on inside the [17:40.840 --> 17:45.740] programs that are running. Okay, so it's secure, and even better, they don't have human voices [17:45.740 --> 17:50.680] because intelligent machines with human voices tend to take over the universe, right? Right. [17:50.680 --> 17:56.060] So, how do these bots interface with the challenge sets? Sure, absolutely. So, the bots have to learn [17:56.060 --> 18:01.960] via program analysis. They have to actually either generate inputs fairly randomly or guided with [18:01.960 --> 18:08.020] fuzzing or do something like symbolic analysis to determine the actual data structures necessary to [18:08.020 --> 18:12.000] these protocols. So, not only are they trying to find the bug, but they have to be able to produce [18:12.000 --> 18:16.560] the inputs that would reach that bug. So, basically, over the course of reverse engineering [18:16.560 --> 18:20.960] these things in an automated fashion, right, they actually have to learn to speak the language or [18:20.960 --> 18:27.420] protocol of the individual challenges. Each one is different. So, we wouldn't want to, as these [18:27.420 --> 18:31.860] services are rolled out, they have to speak to them similarly to how real production services [18:31.860 --> 18:36.220] would be in the wild. So, the protocol is a language, and the services basically have to [18:36.220 --> 18:40.540] continue to speak that language correctly, and they also have to do it quickly enough. So, just [18:40.540 --> 18:44.900] like services on the internet, right, you could patch things to a point where [18:44.900 --> 18:49.100] they don't perform correctly, right, and it would disrupt your mission-critical Facebooking. [18:49.580 --> 18:55.940] Okay. So, Vizzy, what does it take to win the Cyber Grand Challenge? Sure. There are basically, [18:55.940 --> 18:59.580] like we talked about, three primary tasks that you need to carry out to win, right? [18:59.580 --> 19:03.420] In the discovery of a vulnerability, you're going to need to actually defend against [19:03.420 --> 19:08.220] that vulnerability, ideally rolling out patches, which might actually be highly targeted or might [19:08.220 --> 19:13.040] be sort of general binary hardening techniques. You're also going to need to maintain the [19:13.040 --> 19:16.820] availability of your services. So, like we said, they have to perform and they have to function [19:16.820 --> 19:21.640] correctly. And then the third thing that they're doing is basically proving that those [19:21.640 --> 19:25.660] vulnerabilities are present in the other team's software. So, they have to generate inputs that [19:25.660 --> 19:30.300] will exercise parts of that vulnerability to prove that they have found it. So, let's take a look at [19:30.300 --> 19:35.200] the scoring components a little bit more closely. Specifically, security is basically the bot's [19:35.200 --> 19:40.320] ability to defend its own service from other people proving that it's vulnerable. They patch [19:40.320 --> 19:45.220] binaries to prevent that. They also can deploy IDS rules. So, the bots are capable of using that [19:45.220 --> 19:51.300] protocol data that they've learned to formulate rules about what content is correct and deny [19:51.300 --> 19:56.560] content, deny connections that are trying to input data that they think would be harmful. [19:56.560 --> 20:01.980] So, in addition, patching incurs downtime. Just like in the real world when you want to [20:01.980 --> 20:06.460] roll a maintenance update out into production systems, you basically end up incurring a cost. [20:06.460 --> 20:10.500] And so, in this game, that cost has been modeled as a downtime when you roll out either a patched [20:10.500 --> 20:17.160] binary or a new IDS rule. So, your security score is basically one or two points per challenge set [20:17.160 --> 20:22.220] per round. One, basically, if you've actually had a vulnerability proven against you. And two, [20:22.220 --> 20:26.880] if you've managed to maintain your security. So, your max score per challenge set per round is [20:26.880 --> 20:32.500] actually two times 100. So, basically, 200 points per challenge per round in security. [20:33.220 --> 20:41.480] So, moving on. Evaluation is the proving of vulnerabilities against other bots. So, [20:41.480 --> 20:46.620] there's a concept that we call a POV. And a POV is a proof of vulnerability, which basically [20:47.440 --> 20:52.020] shows that you can give input to that system that will demonstrate sufficient control over [20:52.020 --> 20:56.680] the system, but not having to actually carry out an exploit. So, this is a really new metric, [20:56.680 --> 21:01.040] actually. This is something that's been invented for CGC. But I actually kind of hope to see [21:01.040 --> 21:06.420] pervade the community. Because traditionally, to show whether or not something is vulnerable, [21:06.520 --> 21:10.160] a person, a researcher, has had to actually implement an entire exploit to prove that, [21:10.160 --> 21:16.060] right? So, in our POVs, we effectively create a situation where showing sufficient control over, [21:16.060 --> 21:20.700] for example, program execution flow or being able to read arbitrary memory from the program, [21:20.700 --> 21:25.060] if those two situations exist, there's a good chance that it's exploitable, right? It's not [21:25.060 --> 21:30.500] going to be true in every case, but it creates a metric. So, in creating these POVs and throwing [21:30.500 --> 21:35.040] them, they can score between 1 and 2 points, again, per CS per round, which gets multiplied [21:35.040 --> 21:39.280] by 100, being 200 per... But that's a good distinction. Because typically, the average [21:39.280 --> 21:43.120] user is thinking about malware. They're thinking about something that has already taken advantage [21:43.120 --> 21:46.540] of a vulnerability. Absolutely. And what they're doing here is that they're just proving the [21:46.540 --> 21:49.880] vulnerability. Right. They're identifying them. Exactly. Showing that they exist. Yep. And so, [21:49.880 --> 21:54.140] we hope that this could become a metric, basically, for future contests and for the evaluation of [21:54.140 --> 21:59.180] software in general. Wonderful. So, third on the list of components in the overall scoring is [21:59.180 --> 22:03.440] availability. The patches have to function normally. We all know that you could disable [22:03.440 --> 22:10.380] all functionality and software would be perfectly secure, right? But the digital refs are polling, [22:10.380 --> 22:14.080] the digital refs being our scoring system, are polling these services to make sure that they're [22:14.080 --> 22:18.060] still functioning correctly and that they're performant. So, the teams have a very slim [22:18.060 --> 22:22.060] margin by which they can disrupt the performance of these applications before they'll start losing [22:22.060 --> 22:27.400] availability points. The availability score is between zero and one point per round. And [22:27.400 --> 22:32.160] availability ends up being a percentage multiplier. So, anyone who's familiar with some of the human [22:32.160 --> 22:36.980] CTFs of years prior, availability is a really important element because it ends up being a [22:36.980 --> 22:41.000] multiplier that could cause you to get no credit for all your other work if your services aren't [22:41.000 --> 22:43.600] available. This is something that's really important in the real world, right? Because [22:44.000 --> 22:48.640] a particular bank, for example, finds that their ATMs have a vulnerability. In order to fix it, [22:48.640 --> 22:51.600] they have to take all their ATMs online. Potentially, yep. At least for a time window, [22:51.600 --> 22:56.620] yep. Absolutely. Exactly. So, being available is important. So, how is the total score calculated? [22:56.620 --> 23:00.860] Yep. So, successively over the rounds, those scores for all of those individual challenge sets [23:00.860 --> 23:05.920] are totaled and that's basically a team's score. All right. So, at the end of the day, [23:05.920 --> 23:10.600] these bots are autonomously making decisions regarding the best strategy to pursue, [23:10.600 --> 23:14.500] factored in trade-offs among security evaluation and availability. So, they're [23:14.500 --> 23:18.720] making these decisions all on their own. If that's true, that's a game changer. [23:18.720 --> 23:23.240] Absolutely. Autonomous reasoning about vulnerabilities and being able to actually [23:23.240 --> 23:27.460] take action on those things that have been reasoned would be a major, major breakthrough. [23:27.460 --> 23:33.560] And so, CGC is here basically as a catalyst to try and spur industry and to try and spur on and [23:33.560 --> 23:40.700] inspire people to carry this research further. Cool. Thanks for that explanation, Vizzy. And [23:40.700 --> 23:46.560] tonight, we're going to have unofficial results. Verification of the various bot scores will run [23:46.560 --> 23:51.240] overnight to determine the official winner, which will be announced tomorrow morning at the opening [23:51.240 --> 23:57.480] of the DEF CON conference. Everything you might want to know about the Cyber Grand Challenge and [23:57.480 --> 24:03.200] its challenge sets is used today or is available online. You can download the Cyber Grand Challenge [24:03.200 --> 24:12.700] sets and the results from today's final event at this URL. The URL is www.cybergrandchallenge.com. [24:13.300 --> 24:20.240] So, these machines started playing this morning and they're playing right now. So, what happened [24:20.240 --> 24:24.900] in the very first rounds? So, let's go down to the lounge where H.J. is standing by with all the [24:24.900 --> 24:32.420] participants. H.J., how's it going? It's going fantastic. Rubius, we all saw that for a single [24:33.060 --> 24:40.220] challenge binary, your CRS developed four different POVs. It sent three to three different teams and [24:40.220 --> 24:48.220] one POV to the other three teams. What strategy is this that you employed? So, when we detect that a [24:48.220 --> 24:53.620] crash occurs, we'll take that input that developed to that crash and we will try to figure out what [24:53.620 --> 24:58.440] amount of control that we have over it. So, all depending on the type of control that we have, [24:58.440 --> 25:03.180] we'll generate a variety of different potential POVs for them. And then each one we evaluate to [25:03.180 --> 25:07.840] see the quality of the POV. So, all depending on what service the competitor has fielded at that [25:07.840 --> 25:12.640] point, we'll evaluate it to determine what's the best of the POVs candidates that we have selected [25:12.640 --> 25:18.020] that is appropriate for that particular service. So, all depending on what the competition, [25:18.020 --> 25:23.500] the field, looks like, we'll rank the most appropriate one to field, to send out for them. [25:23.500 --> 25:30.380] That's incredibly interesting. Nice. So, we also have with us the team captain from Mayhem to [25:30.380 --> 25:36.200] talk about the scores from round three. At this point, after round three, Mayhem is in the lead. [25:36.240 --> 25:40.960] So, is this something you expected or what do you think? I was certainly hoping that he would [25:40.960 --> 25:47.100] be in the lead. We have a system that's able to find POV very quickly and make sure the pipeline [25:47.100 --> 25:54.360] for finding a cache to generating a POV is as fast as it can be. Excellent. Thank you. I [25:54.360 --> 25:58.360] appreciate it. So, it sounds like things are heating up down here. Back to you, Hakeem. [25:59.620 --> 26:05.780] Showing us some of the results from round three, HJ. Vizzy, why did HJ address round three and not [26:05.780 --> 26:10.500] round one? That's a great question, Hakeem. So, basically, the first few rounds in the game end [26:10.500 --> 26:15.720] up representing a microcosm of what happens every time a challenge set is released. In round zero, [26:15.720 --> 26:19.920] the challenge set goes out, and the bots have the first opportunity to take a look at it but [26:19.920 --> 26:24.500] haven't really had a chance to react to it yet. So, then, in round one is basically the first [26:24.500 --> 26:29.940] time that the bots can throw a POV. So, they haven't even had the opportunity to patch yet, [26:29.940 --> 26:33.400] but if they have managed to reason about a vulnerability in that piece of software, [26:33.400 --> 26:38.780] they can exercise it in round one and successively in the second round after the release of each [26:38.780 --> 26:43.420] challenge set. So, in round two is the first instance where the bots can patch, which they [26:43.420 --> 26:48.080] may choose or choose not to. But the CS will be down and unavailable for that round, which means [26:48.080 --> 26:53.020] that they also can't score, they can't prove against other systems. So, then, once round three [26:53.020 --> 26:57.800] comes around is the first time that we should see patched challenge sets come back up and become [26:57.800 --> 27:03.040] available again. So, once the CS is available, they can score points for that round. That sounds [27:03.040 --> 27:07.320] excellent. That sounds like the crowd liked it, too. So, I'm seeing some awesome visualizations [27:07.320 --> 27:12.020] right there next to you, Vizzy. So, what's going on there? Yeah, so, this is one of the custom [27:12.020 --> 27:17.160] visualizations that was developed for CGC called the arena view. And this is a super, super data [27:17.160 --> 27:21.260] dense view where we can basically see nearly everything that's going on inside of the [27:21.860 --> 27:26.980] scoring round. This super busy view that you can see here in front of us actually contains the real [27:26.980 --> 27:31.980] data, data-driven visualization for every one of the service poles, every one of the POVs being [27:31.980 --> 27:38.980] thrown, potentially every one of the POVs landing, right? So, basically, in this viewpoint, we're [27:38.980 --> 27:43.040] going to end up breaking out a bunch of this for you guys to show you each of the elements of this [27:43.800 --> 27:48.980] particular viewpoint. Okay. So, tell me what kind of challenges these bots are facing. Sure. So, to [27:48.980 --> 27:52.540] really understand the challenges that are being faced by the bots and specifically in the program [27:52.540 --> 27:58.940] analysis perspective, we kind of have to go back in time. In 1936, Alan Turing demonstrated a [27:58.940 --> 28:04.080] concept called the halting proof, which basically states that in a generalized self-contained [28:04.080 --> 28:08.320] computer system, it's impossible to actually determine whether or not it's ever going to halt. [28:08.980 --> 28:14.120] Sounds fairly simple. But basically, what that means to algorithms is that the state space is [28:14.120 --> 28:19.460] potentially infinite. Bots attempt to automate knowledge. And so, they have to codify approximations [28:19.460 --> 28:25.220] to these solutions that are ultimately potentially infinite and potentially impossible. Wow. So, it's [28:25.220 --> 28:31.020] really difficult to visualize infinity. So, I imagine that's why we have these awesome new [28:31.020 --> 28:37.420] visualizations. In my field of astrophysics and data science, right, visualization of data is a [28:37.420 --> 28:43.460] field within itself. So, what do we have here? So, this is the actual full arena view that Void [28:43.460 --> 28:48.260] Alpha has developed. We can see this massive number of, like, this massive amount of iconography. [28:48.260 --> 28:52.820] We can see this, all the service poles in effect. So, basically, in the arena view, it illustrates [28:52.820 --> 28:58.960] everything that's happening inside of a given round. Okay. So, if we move on, we can get a [28:58.960 --> 29:03.300] viewpoint that shows just one scorecard from one team. And as you'll see, the bots actually have [29:03.300 --> 29:07.560] colors and iconography for each of them. And those colors will remain consistent throughout the [29:07.560 --> 29:12.500] entirety of the visualizations. So, anytime you see that color, it will be associated with that bot. [29:12.640 --> 29:17.060] So, here we can see one scorecard broken out. Every one of these little hex tiles that you can [29:17.060 --> 29:21.420] see here, these little hexagons, represents one of those challenge sets, one of those binaries. [29:21.480 --> 29:25.940] So, basically, the gist of it is we can see the state of each of those things through the little [29:25.940 --> 29:31.280] hexes that are on each bot's scorecard. For example, here we can see that this one is down that cycle [29:31.280 --> 29:37.540] for patching, or that this one has been successfully proven a vulnerability against by the yellow team. [29:37.680 --> 29:42.300] So, if we break down these individual hexes a little further, we can see, actually, the three [29:42.300 --> 29:46.940] components from the scoring system that we talked about before. Security, availability, and evaluation [29:46.940 --> 29:51.960] are each represented for each of those hex tiles, right? So, this very, very data-dense view starts [29:51.960 --> 29:56.760] to occur, where if they've maintained security for that challenge set per round, we'll see this sort [29:56.760 --> 30:01.400] of flag border thing occur. And if it's been successfully proven as vulnerable by [30:01.400 --> 30:06.840] one of the other bots, we'll see that white border go away. Similarly, availability, [30:06.840 --> 30:11.280] if the tile has this healthy sort of sphere in the center, that means that it's running and [30:11.280 --> 30:16.660] available and online. And basically, as that either ceases to perform correctly or ceases [30:16.660 --> 30:21.860] to function correctly, we'll see that shrink down sort of toward this smaller black hex. And then [30:21.860 --> 30:27.120] one more is basically this evaluation. So, this sort of little pie slice basically represents [30:27.120 --> 30:32.420] what we're going to see as a team successfully proves vulnerabilities against all the other [30:32.420 --> 30:37.840] teams. They'll take that little section of the pie that's the color from that team's bot. [30:37.840 --> 30:43.980] So, we're seeing a lot happen in this visualization that we have here. So, how am I supposed to [30:43.980 --> 30:49.800] understand all this? I'm not a coder like you, man. So, how do I see what's happening inside the code? [30:50.440 --> 30:56.400] So, we have one more set of iconography to go through for the arena view. But the gist of it is [30:56.400 --> 31:01.540] you'll see these little service pole guys, as well as the proof of vulnerabilities being attempted, [31:01.540 --> 31:06.080] flying in from the scoring system that's at the center. So, as those are going in, basically the [31:06.080 --> 31:11.060] service poles will stay green if they're actually successfully functioning. And if you see them [31:11.060 --> 31:15.380] turn red right as they're reaching those individual challenge sets, we'll see them, we'll be basically [31:15.380 --> 31:20.400] registering that that service is down. Okay. So, we can also see POVs being thrown, but we'll talk a [31:20.400 --> 31:25.720] little bit more about that later. All right. So, we get to see from this view who's owning who. Or as [31:25.720 --> 31:30.080] you nerds like to say, who's pawning who or something like that, right? Yeah. Yeah. The rematches [31:30.080 --> 31:34.920] are special gold hexes that we'll see. So, these tiles are basically representative of those [31:34.920 --> 31:40.560] challenge sets that represent those historically relevant vulnerabilities that have been [31:40.560 --> 31:44.880] being discussed so far. So, the patching, we have a way of visualizing when it [31:44.880 --> 31:50.080] happens and we have a way of looking at when it works well. So, what does a bad patch look like? [31:50.200 --> 31:54.340] Absolutely. So, one of the things that we've developed for this particular, entirely just for [31:54.340 --> 31:59.860] CGC, is a view that we like to call the trace view or the filament view. And the filament view [31:59.860 --> 32:05.460] basically allows us to abstract upward and take a look at a larger scope of what's going on inside [32:05.460 --> 32:11.180] of the executable at the time. So, the gist of the trace view is that the [32:11.180 --> 32:16.200] individual sections of code flow are actually projected over a Hilbert curve, which maintains [32:16.200 --> 32:20.920] spatial relevance. So, we see code flow actually progress through the areas of memory and if [32:20.920 --> 32:26.360] something is a section of code that's far away or is close by, it'll end up being close by or far [32:26.360 --> 32:32.160] away. So, as execution continues through time, we can see basically some of these icons occur and [32:32.160 --> 32:36.540] some of these structures develop that'll actually show us things like state machines and state [32:36.540 --> 32:41.580] machine parsers and we'll also see things like loops occurring. So, little sections like this [32:41.580 --> 32:46.820] where we'll see tight little sections of code that look very repetitive are actually oftentimes [32:46.820 --> 32:52.660] processing loops or I.O. loops. Additionally, along the trace as it executes, we get to see [32:52.660 --> 32:57.980] the individual icons that represent the syscalls that we've spoken about being present in the [32:57.980 --> 33:03.500] decree platform. So, the six or so syscalls that are available in the decree platform will each [33:03.500 --> 33:09.200] be indicated along the trace view or along the filament view as it executes. So, if we wanted to [33:09.200 --> 33:14.120] take a look at some of those syscalls that are available, basically we have a [33:14.120 --> 33:18.320] transmit and receive from the network side of things. There's also a randomness or entropy and [33:18.320 --> 33:22.840] then we'll also see things like program termination when we've got the program terminating correctly [33:22.840 --> 33:28.360] here. All right, well thank you, Vizi. So, now that everyone here at home, now everyone here in the [33:28.360 --> 33:33.480] and everyone who's watching on the internet have had some insight into how the CGC works, [33:33.480 --> 33:37.460] let's take a look at a conversation that happened today between H.J. and team members [33:37.460 --> 33:44.640] right after the competition started. If anything goes wrong during our testing, right, we could [33:44.640 --> 33:49.680] go and fix it and whatnot, but everything might fall apart here. Let's hope not. What type of [33:49.680 --> 33:54.140] fuzzing stuff did you use? Is it informed fuzzing? Is it generic dump fuzzing? It's pretty much a [33:54.140 --> 34:00.440] black box. We'd be happy to be this historical moment. I think this is, you know, a bright point [34:00.440 --> 34:04.000] in the new future that we should have. We should have fully autonomous systems that [34:04.000 --> 34:08.480] are there to protect our software. The fuzz size was never an issue for us. It's more about the [34:08.480 --> 34:14.480] memory. It's the memory. Nervous anticipation? I doubt it. I'm just going to get a good night's [34:14.480 --> 34:19.220] sleep one of these days. So, you can see the first few letters are CRS, of course. I see the blue [34:19.220 --> 34:24.200] lights blinking. It's doing work. Yesterday morning it's like something didn't work and we [34:24.200 --> 34:30.900] were like working really busy to solve the issue. Now it seems to be working, at least. We use a [34:30.900 --> 34:37.000] common language, the hacker's first choice, Python. It's really sweet. Yeah, very impressive. [34:37.000 --> 34:42.640] I mean, I didn't know you could make like server x look this good. You know, also we have a affinity [34:42.640 --> 34:49.520] for bacon. So, we made sure that Crispy could make bacon. It's intimidating. I'm also very [34:49.520 --> 34:54.420] thrilled to be in this exciting moment. I feel like we are in the future. I saw the picture [34:54.420 --> 34:58.300] yesterday you posted on Twitter. Was it you that was upside down in your chair? Yeah. [34:58.960 --> 35:03.960] There's a lot of really exciting game strategy, the game dynamics that we could learn during [35:03.960 --> 35:10.480] round time. I hope we don't crash and burn. I just want to play. That was a great video. Now, [35:10.480 --> 35:16.200] we've heard how do bots play defense. Vizi, how do they play offense? So, this concept that we've [35:16.200 --> 35:21.480] been talking about with the POV, the bots have to actually generate the traffic that's necessary to [35:21.480 --> 35:26.540] exercise those bugs. So, as they demonstrate those vulnerabilities, they'll be able to score points [35:26.540 --> 35:30.300] and as long as their services are available, they'll be able to throw an attempt to prove [35:30.420 --> 35:35.300] a vulnerability. Each POV can be thrown up to 10 times per round. So, for example, [35:35.300 --> 35:39.900] Rubius has thrown a successful POV versus one of the challenge sets called Thermal Controller. [35:39.900 --> 35:45.640] So, what we're seeing here is definitely the round output for round three. So, as you can see in the [35:45.640 --> 35:50.000] very, very busy view, we've got several teams that are down for patching in round three, but we've [35:50.000 --> 35:53.880] also got several teams that have successfully thrown a POV. We can see, for example, Zandra [35:53.880 --> 35:59.140] right here and several of the others. Anywhere we see these little pie slices coming in, [35:59.140 --> 36:04.920] have successfully thrown POVs and evaluated against the other teams. As well as the patches [36:04.920 --> 36:10.460] being deployed, for example, here with the little gear icons showing those services being down. [36:11.400 --> 36:15.660] All right, so walk us through what a good POV looks like in filament view. [36:15.880 --> 36:21.420] Sure, absolutely. So, in this instance, we'll have two filaments and they basically begin with the [36:21.420 --> 36:25.960] same trace data. So, the traces will show, ultimately, that the data that's being ingested [36:25.960 --> 36:30.430] by them for the binaries is what actually causes the code to go in different directions. We see, [36:30.430 --> 36:35.270] actually, two binaries having data being ingested right now, where it's basically the same binary [36:35.270 --> 36:41.690] receiving a POV, one POV from one of the teams as well as from another. And in the overlap, [36:41.690 --> 36:50.710] we can basically see that the code flow diverges very late on, about here, and we end up being [36:50.710 --> 36:56.310] able to see it's actually managed to execute and terminate correctly. This one is successful. [36:56.310 --> 37:00.110] So, we see him actually gather the data and transmit it out the network. So, that's what [37:00.110 --> 37:04.610] this icon means right here in the trace view. And then we see it execute and terminate correctly. [37:05.610 --> 37:12.230] Versus a failed POV, which is basically the other one, which we see just executing correctly and [37:12.230 --> 37:17.530] terminating, rather than actually transmitting any flag data back. Understood. So, you can have [37:17.530 --> 37:23.650] an attempt to patch that is successful or unsuccessful. You can have a POV that's successful [37:23.650 --> 37:28.830] or unsuccessful. So, in the example of the failed POV, actually, it looks like they may have actually [37:28.830 --> 37:33.630] been fuzzing rather than trying to use sort of a scalpel-like approach to exercise [37:33.630 --> 37:37.790] the vulnerability. And so, they may have been doing that. We have to sort of interpret [37:37.790 --> 37:41.650] and guess what the team's strategy is in doing something like that. But it could be that they're [37:41.650 --> 37:47.670] trying to give unknown inputs to try and utilize the system to force that other bot [37:47.670 --> 37:53.190] to do all that extra analysis work. Understood. So, what does all of this mean for the competition, then? [37:53.190 --> 37:59.870] Yeah. So, basically, the competition is going to progress as these challenge sets roll out. And we [37:59.870 --> 38:03.830] will be able to break out and show you some of the POVs and some of the code divergence that occurs [38:03.830 --> 38:09.390] over the course of the successive rounds. All right. So, let's take a look at the round four scoreboard. [38:09.410 --> 38:16.730] Who is ahead? It looks like we have Rubius in first place with 12,000 points. And we can [38:16.730 --> 38:22.370] see, actually, it's still a very, very close game. We've got Mayhem and Gima and on down. But, basically, [38:22.370 --> 38:26.370] it looks like everybody is at least performing correctly. We can see through the right-hand side, [38:26.370 --> 38:32.110] if you look down over here, those same colored areas that we spoke about that basically represent [38:32.110 --> 38:38.510] the availability, security, and evaluation of each of those bots is basically showing that [38:38.510 --> 38:42.250] all of them are doing quite well. There's a little bit of availability problem, potentially, [38:42.250 --> 38:47.250] on Zandra's side, because that's represented by the green line. The red line represents each of [38:47.250 --> 38:51.570] those bots' evaluation points and how well they're scoring in that. And the blue line [38:51.570 --> 38:55.470] represents security. So, that's one of those things where we'll inevitably see availability [38:56.050 --> 39:03.170] become a very important element of the scoring. So, Mayhem, in this next scoreboard seven, [39:03.170 --> 39:09.170] we will actually see Mayhem overtake Rubius to take first place. And it looks like, again, [39:09.170 --> 39:13.970] it's still a very close game, but it may actually be Mayhem's security approach that's allowing them [39:13.970 --> 39:19.410] to take the lead at this point. All right. So, Mayhem and Rubius are battling for the lead, [39:19.410 --> 39:24.830] and it looks like Gima's right behind them. Absolutely. So, let's look at the round ten. [39:24.830 --> 39:29.410] Let's see what's going on. Let's progress the game. This is round ten. So, we see all these [39:29.410 --> 39:36.130] arrows coming in, and we see people taking stuff from others. This is a lot happening, but we know [39:36.130 --> 39:42.310] that our leader is... Mayhem. Mayhem. Yeah. Yeah. Well, with a name like Mayhem... They would have [39:42.310 --> 39:48.690] to... Yeah, absolutely. You better do well. So, from rounds zero to ten, our bot leader is Mayhem. [39:48.690 --> 39:54.230] They pass Rubius. So, HJ, what do their teams have to say about this change of events? [39:54.230 --> 40:00.490] Actually, I have with me here the team leaders for Rubius and Mayhem. So, we just saw on round ten [40:00.490 --> 40:05.070] that Mayhem overtook Rubius for the lead. What do you think? [40:05.670 --> 40:13.710] Well, I think this is a very exciting competition. So, it's a little nerve-wracking, but I'm glad [40:13.710 --> 40:20.430] that it's closely contested. And it's only... What was that? Round ten. I think it's round ten [40:20.430 --> 40:25.690] out of about 90 or so. So, we're only one ninth out of the way. Do you think you'll be able to [40:25.690 --> 40:33.130] keep the lead? Well, I hope we stay competitive. It's a long competition. What do you think about [40:33.130 --> 40:38.350] the current switching back and forth between first and second? Did you expect a close call [40:38.350 --> 40:47.070] for the lead? Yeah, we expected to have great competition, and we do. We hope that we keep, you know, [40:47.070 --> 40:53.930] working well like that. Yeah. Thank you. Thank you both. So, that's what's going on down here, Akim. [40:53.990 --> 40:59.970] Back to you. All right, and thank you team members. I'd like to introduce everyone to a special part [40:59.970 --> 41:04.310] of this Cyber Grand Challenge that we talked about a little earlier, and these are our Rematch [41:04.310 --> 41:09.790] Challenges. We've created challenge binaries inspired by real-world vulnerabilities that have [41:09.790 --> 41:15.390] shaped the history of the internet and how cybersecurity has evolved along with the internet. [41:15.390 --> 41:20.890] Our team's bots are starting with no knowledge of the custom vulnerability protocols we've devised, [41:20.890 --> 41:26.390] and their challenge is to find, patch, and prove them. The team's systems have learned to speak [41:26.390 --> 41:31.110] languages they knew nothing about, and the language we have chosen for our special challenge [41:31.110 --> 41:36.610] represents unique chapters in cybersecurity. Let's start by taking a look at two of these [41:36.610 --> 41:44.430] Rematch Challenges. Our first Rematch Challenge is called Secure Server, and it was inspired by [41:44.430 --> 41:50.870] Heartbleed. Absolute memory disclosure bug in OpenSSL, and at the time of the discovery, [41:50.870 --> 41:54.890] Heartbleed became promenaded, generating a lot of media coverage and breaking through [41:54.890 --> 41:59.910] to mainstream public awareness. OpenSSL, we talked about before, is a software library [41:59.910 --> 42:04.610] used for securing communications from eavesdropping. The discovery of Heartbleed called [42:04.610 --> 42:11.290] into question the security and privacy of an estimated 66% of encrypted web services. This [42:11.290 --> 42:15.490] was a different type of vulnerability because it was very simple and did not depend on the [42:15.490 --> 42:21.510] execution of code. We turn to Debbie Nuttall to tell us more about these particular bugs. [42:21.690 --> 42:26.550] An extension was written in OpenSSL to allow computers to say, hey, are you still there? [42:26.550 --> 42:33.530] So we know the server is still up, the connection is still there. So a client can send a packet [42:33.530 --> 42:40.330] to the server. The server just repeats that data back to the client. Yes, I'm still here, [42:40.330 --> 42:45.090] here's your data. Well, there's a length field that comes at the beginning of that data. So the [42:45.090 --> 42:49.490] client says, I'm going to send you 10 bytes, here's your 10 bytes. They go to the server. [42:49.490 --> 42:54.830] The server says, oh, you sent me 10 bytes, here's your 10 bytes. There was a vulnerability, [42:54.830 --> 43:00.610] an error in the way that was written. So a client could send a packet that said, hey, [43:00.610 --> 43:05.570] give me 400 bytes, but it only had 10 bytes on it. The packet comes in, the server goes, oh, [43:05.570 --> 43:11.610] you said you sent me 400 bytes, here's 400 bytes. Here's the 10 you gave me, and then here's 390 [43:11.610 --> 43:16.430] bytes of secrets. And it sent that packet back. That was Debbie's commentary on the implementation [43:16.430 --> 43:21.050] of something that was basically modeled after the Heartbleed vulnerability. And the Heartbleed [43:21.050 --> 43:26.830] vulnerability was unique because it was a memory disclosure only bug that still had dramatic [43:26.830 --> 43:32.890] ramifications. So in the instances where you're looking for crashes to find bugs, if something's [43:32.890 --> 43:37.350] doing memory disclosure, it may actually not crash. And so that can occasionally make those [43:37.350 --> 43:41.390] vulnerabilities more difficult to find. But in this instance, it had such a significant impact [43:41.390 --> 43:44.890] because that memory disclosure, that additional data that you could request from the system, [43:44.890 --> 43:49.290] like she mentioned in the video, was actually disclosing key material and sensitive data [43:49.290 --> 43:52.670] that made it so that you could actually take advantage of it without having to gain arbitrary [43:52.670 --> 43:58.310] execution on the platform. And this is one that was so recent that we all have... Recent memory [43:58.310 --> 44:01.890] of it, yeah. Recent memory of it, we may have been impact. So what are the real world implications [44:02.450 --> 44:07.170] of the rematch results? So being able to actually patch this would mean that those systems would be [44:07.170 --> 44:11.350] able to get that patch deployed very quickly. And the OpenSSL library specifically is embedded [44:11.350 --> 44:15.910] in so many pieces of software. So many embedded platforms, embedded Linux and things like that [44:15.910 --> 44:21.130] are running OpenSSL, even inside of IoT, Internet of Things, and all the hype that we hear about. [44:21.130 --> 44:26.510] But this one really actually is that pervasive. Our second rematch challenge is called the Address [44:26.510 --> 44:32.490] Resolution Service, which was inspired by a software flaw that led to the SQL Slammer worm. [44:32.490 --> 44:38.210] SQL Slammer exploited a buffer overflow in Microsoft SQL Server in January 2003, [44:38.210 --> 44:45.310] spreading so rapidly that it infected 75,000 machines within 10 minutes. SQL Slammer hit [44:45.310 --> 44:50.150] the Internet when the web had already become a part of daily life. And what's really interesting [44:50.150 --> 44:56.710] about this one is that the cure, or patch, had been released six months earlier. But so few patches [44:56.710 --> 45:01.770] had been installed that most everyone was still vulnerable. Now let's hear what Debbie Nuttall, [45:01.770 --> 45:05.950] author of the Rematch Challenges, has to say about Address Resolution Service. [45:05.950 --> 45:14.910] In 2003, the SQL Slammer came out. SQL Slammer was a single packet that ground the Internet to [45:14.970 --> 45:20.970] a halt in 10 minutes. There were servers that were running Microsoft SQL Server. This one packet [45:20.970 --> 45:29.370] could come in and cause the server to send out packets to all the other servers. So we had this [45:29.370 --> 45:36.430] flood of packets bouncing around the Internet so fast, it actually overwhelmed routers and [45:36.430 --> 45:42.330] critical infrastructure of the Internet. And those systems ground to a halt and shut down. I like the [45:42.330 --> 45:49.310] SQL Slammer bug for a couple of reasons. For one, it was just so devastating. So rapidly devastating. [45:49.310 --> 45:56.530] One of the reasons why we need this CRS technology coming out of CGC is that once an attack comes out [45:56.530 --> 46:01.310] in the real world, we need to be able to respond in computer time. We don't have time for a human [46:01.310 --> 46:07.790] to analyze it. We need computers that can do this just as quickly. So 10 minutes. Can the CRSs [46:07.790 --> 46:12.010] find and patch this bug in less than 10 minutes? [46:12.850 --> 46:16.370] What are some of the stories around these real-world vulnerabilities? [46:16.910 --> 46:21.570] Absolutely. So Slammer, I think anybody that was involved in information technology [46:21.570 --> 46:27.730] back then remembers. It was so virulent because, like Deb mentioned, it was a single UDP packet [46:27.730 --> 46:33.030] basically allowing it to spray and not even really have to form actual connections to the systems as [46:33.030 --> 46:37.570] it spread. So basically it was a really bad week for sysadmins or anybody involved in [46:37.570 --> 46:43.150] information security. And so as we roll out these special challenge binaries, they come into the [46:43.150 --> 46:47.490] game and then they exit the game at a certain point. So if they don't get them, they don't get [46:47.490 --> 46:51.290] them. Yep, and that's definitely true. So each of the challenge sets is in the game for only a set [46:51.290 --> 46:56.350] amount of time and we will see hopefully some of them manage to POV and squeak it in even at [46:56.350 --> 47:02.030] the last couple of rounds. All right. Our next rematch challenge is called File Explorer and [47:02.030 --> 47:08.010] is modeled on a flaw commonly known as the link LNK bug. The link bug is a shortcut icon [47:08.010 --> 47:13.890] vulnerability that allows an attacker to execute a malicious file by specifying its location. And [47:13.890 --> 47:19.790] it can be activated quite easily by users. Microsoft patched that vulnerability in August 2010, [47:19.790 --> 47:25.810] but in January 2015, a researcher discovered that even patch systems were still vulnerable [47:25.810 --> 47:31.670] to the same attack. So the vulnerability that I chose to recreate for this CGC challenge was [47:31.670 --> 47:36.790] that bug that allowed a USB drive to be plugged into a Windows machine and execute code without [47:36.790 --> 47:43.030] any human interaction. You plugged it in. Now, as soon as the window opened to show you the contents [47:43.030 --> 47:46.910] of the drive, you didn't have to double click on anything. You didn't have to run anything. [47:46.910 --> 47:50.150] You didn't have to do anything at all. The vulnerability was triggered and the malicious [47:50.150 --> 47:55.190] code was run. As long as Windows access to that drive, the malicious code could run, [47:55.310 --> 47:58.690] a backdoor could be installed that could hide any additional files that they wanted to. So [47:58.690 --> 48:02.650] the other thing that's really interesting about this bug, Microsoft patched it so that everybody's [48:02.650 --> 48:10.910] USB drives were secure. So we thought. In 2015, a security researcher was analyzing this and found [48:10.910 --> 48:17.410] out that the original patch from Microsoft was not fully effective. There was a workaround. So [48:18.040 --> 48:24.670] the original vulnerability could still be accessed. So with the recreation of the original link bug, [48:24.670 --> 48:30.210] the challenge that we've created includes that first patch from Microsoft. So what's interesting [48:30.210 --> 48:35.950] about that vulnerability to me is that hundreds, if not more, security researchers looked at this. [48:35.950 --> 48:39.910] They looked at this vulnerability. There are papers out there about it. They looked at the patch, [48:39.910 --> 48:44.630] they analyzed it, and they still didn't see that it was still vulnerable. So what I want to see [48:44.630 --> 48:50.990] when I've recreated this patch version of this bug, I want to see can the computers do better [48:50.990 --> 48:57.350] than humans did on that challenge? So this is one of those instances of possibly developer [48:57.350 --> 49:01.130] implemented functionality that they thought was a good idea but didn't necessarily think through [49:01.130 --> 49:05.470] all the security ramifications. And one of the really interesting elements about this is that [49:05.470 --> 49:11.390] it was patched but not actually totally correctly patched. So in addition to these machines having [49:11.390 --> 49:16.090] to generate patches, we're also seeing sort of the previous evidence of that process being [49:16.090 --> 49:20.870] difficult even for humans. And so one of the fascinating elements about this is that with [49:20.870 --> 49:26.270] such attention being paid to that, hundreds of sets of eyes of security researchers and security [49:26.270 --> 49:31.730] professionals and developers were on that bug and didn't see it happen. And it took five full years [49:31.730 --> 49:37.830] before it was revealed again. So Vizi, how did the teams do versus address resolution service? [49:37.830 --> 49:41.850] Maybe you can help me there. So the address resolution service was basically the vulnerability [49:41.850 --> 49:46.010] that was modeled after the SQL Slammer like we were talking about. And we definitely saw some of [49:46.010 --> 49:50.530] the bots discover this vulnerability and actually begin trying to prove that vulnerability against [49:50.530 --> 49:56.930] other teams or other bots very, very early on. So this represents a true success to what we have [49:56.930 --> 50:01.410] going on here because in that five-minute window that Deb mentioned that she was hoping for, [50:01.410 --> 50:05.990] that actually managed to be proven and patched by several of the teams in the very next round. [50:05.990 --> 50:10.490] So that means that in a five-minute window, a totally previously never seen before challenge [50:10.490 --> 50:16.210] binary was researched and evaluated and found vulnerable and patched by a completely autonomous [50:16.210 --> 50:21.050] system. Okay, so people in your community, do they think this kind of thing is even possible? [50:21.050 --> 50:27.670] Yes. All right. It's a big deal. All right. So before this, did people in your community think [50:27.670 --> 50:31.250] that this was even possible? Or did people claim it was possible, but they didn't... [50:31.250 --> 50:35.130] Sure. There's been like a really wide variety of opinions on the matter. But basically, [50:35.130 --> 50:40.370] if we were to talk about something like this going on 15 years ago, it would have been borderline [50:40.370 --> 50:47.010] science fiction. Right. Now, I did not know about how fast these vulnerabilities could be [50:47.010 --> 50:52.890] exploited. And what I heard was a shock to me. So is it even possible for humans to be able to [50:52.890 --> 50:58.010] respond so quickly? Oh, absolutely not. Normally, basically, that process is a manual reverse [50:58.010 --> 51:03.170] engineering process that involves sometimes weeks of development cycle and releasing those binaries [51:03.170 --> 51:07.750] and things like that. These machines were actually capable of finding that vulnerability and exercising [51:07.750 --> 51:12.450] it in remote software in less time than it would basically have taken a reverse engineer to open [51:12.450 --> 51:18.310] it in IDA. Wow. So we are seeing the beginning of a technology revolution. Absolutely. And it looks [51:18.310 --> 51:23.070] like we've got additional information. It looks like Zandra and Rubius threw POVs in the first [51:23.070 --> 51:29.450] five minutes against the SQL Slammer bug. So we have an example. Yeah. Congratulations, guys. [51:30.010 --> 51:36.130] So we have an example of a patched versus an unpatched team card. And we can see the patching [51:36.130 --> 51:40.770] going on here, which in this particular case shows that this individual service here is down for [51:40.770 --> 51:46.070] patching and we can see that the service poles are failing because that's unavailable for that round. [51:46.250 --> 51:52.850] And so that basically is showing us that Mayhem in round six decided to patch. By the fifth round, [51:52.850 --> 51:59.210] actually, almost every team had patched this vuln. So what that means is that either via specific [51:59.210 --> 52:04.950] awareness of that vulnerability or via general purpose hardening, every team except one managed [52:04.950 --> 52:09.310] to protect against that vulnerability by the fifth round. Awesome. I actually have here with me [52:09.310 --> 52:16.310] the team captains for Zandra and Rubius. So, Rubius, you were actually one of the first teams, [52:16.310 --> 52:20.990] both of you, to successfully patch the SQL Slammer bug. Was there anything in particular that your [52:20.990 --> 52:31.230] CRS, you believe, was capable of doing this? So we are employing a variety of static analysis [52:31.230 --> 52:36.570] and dynamic analysis techniques that are fast. So if we can identify statically that a flaw exists, [52:36.570 --> 52:42.510] we'll immediately release a patch for it. So additionally, too, if we can find network traffic [52:42.510 --> 52:48.290] that we expose the vulnerability based on form of attack, we can automatically patch it. So I [52:48.290 --> 52:54.710] believe that those two combined factors probably led us to patch quickly. And so just to be clear, [52:54.710 --> 52:59.310] the SQL Slammer bug was a stack-based buffer overflow. Is there anything that your CRS does [52:59.310 --> 53:05.070] in particular about stack stuff to protect against this? We do have protections that are [53:05.070 --> 53:10.350] based on discovering the actual vulnerability and trying to learn invariants that describe [53:11.550 --> 53:18.290] what differs the exploit traffic and inputs from normal traffics and then apply a specific point [53:18.290 --> 53:24.970] patch. It's impossible to know for me right now. Like the other teams, I think we're using a [53:24.970 --> 53:30.090] combination of techniques. I don't rely on any one thing. And which particular protection worked [53:30.090 --> 53:36.150] in this case, I'll have to look at the data later. So Xandr was actually the first team to patch [53:36.150 --> 53:40.770] Heartbleed. I think the first and only team to successfully patch against Heartbleed. Any idea [53:40.770 --> 53:47.890] what may have caused that? I would guess that that's the point patch in this case. We had to [53:47.890 --> 53:57.190] discover the signature, the invariant, the property, the mathematical formula that describes [53:58.170 --> 54:03.430] what was causing the exploit. What separated the malicious inputs from the good inputs and how it [54:03.430 --> 54:08.130] was affecting the program differently. Excellent, thank you. Let's return to our next special [54:08.130 --> 54:16.930] rematch challenge. And we have CGCRPC, a recreation of the vulnerability MS08067, which sounds a lot [54:16.930 --> 54:21.850] like the name of a galaxy. This vulnerability allowed remote code execution on Microsoft [54:21.850 --> 54:28.610] servers if an affected system received a remote procedure call, which is a request to run a [54:28.610 --> 54:34.630] function on a remote system. This flaw laid the groundwork for creating a robust, stable exploit. [54:34.630 --> 54:41.270] Microsoft patched this flaw, but once again, the patch was not widely deployed. Okay, and how did [54:41.270 --> 54:46.450] the Cyber Grand Challenge teams deal with CGCRPC? So we don't have any data yet on which ones of [54:46.450 --> 54:50.630] them have managed to successfully POV against it, but this is particularly an interesting challenge [54:50.630 --> 54:56.030] because it sort of strikes a balance in sort of the middle range of the level of difficulty of [54:56.030 --> 55:00.730] some of the challenges, right? This vulnerability in the wild produced a very stable exploit that [55:00.730 --> 55:05.410] allowed remote execution to be gained over Microsoft RPC servers. In the implementation [55:05.410 --> 55:11.430] that we have in our game, it followed along with that bug, which had a stack cookie still in place, [55:11.430 --> 55:15.310] and so a normal stack-based buffer overflow wouldn't have actually functioned correctly. [55:15.310 --> 55:19.730] But if anyone remembers MS08067, which is kind of one of the poster children of remotely exploitable [55:19.730 --> 55:24.610] vulnerabilities that we talk about all the time, it turns out that the vulnerability actually [55:24.610 --> 55:30.690] existed because that stack-based buffer was handed into an inner function which didn't actually have [55:30.830 --> 55:35.770] a buffer allocation of its own. And most compilers, if there's no buffer, there's no local buffer [55:35.770 --> 55:40.350] within that function's boundaries, it actually won't bother with a stack cookie because there's [55:40.350 --> 55:44.710] very little risk of a stack overflow when you don't actually have a buffer to overflow. [55:44.710 --> 55:49.430] So the interesting thing about this bug was the vulnerability actually existed in an instance [55:49.430 --> 55:55.990] where the software could be tricked into writing data prior to the beginning of the buffer, [55:55.990 --> 56:00.470] and that was actually within the local stack space of that inner function, and so we ended up with [56:00.470 --> 56:05.350] an unprotected function having its stack smashed and having the instruction pointer overwritten [56:05.350 --> 56:10.010] as a result of a bug that caused data to be written before the beginning of the buffer. [56:10.010 --> 56:13.370] So this is sort of a different case than the normal standard vanilla stack-based buffer [56:13.370 --> 56:14.570] overflow that you would see. [56:15.210 --> 56:18.830] So Vizi, which bot did well? Do we have the data yet? [56:18.850 --> 56:25.950] So basically we only saw one bot successfully POV file explorer, and that's Mayhem. So again, [56:25.950 --> 56:32.350] congratulations guys. So that POV basically means that they were the only one to solve this [56:32.350 --> 56:37.610] slightly more complex style problem, and additionally it would mean that they would be the [56:37.610 --> 56:42.030] only one probably deploying any scalpel-like patches. There may have been other bots that [56:42.030 --> 56:46.150] deployed general purpose patches that may have actually mitigated the risk, but they would be [56:46.150 --> 56:51.370] the only one probably with sufficient knowledge of the vulnerabilities workings to deploy a [56:51.370 --> 56:52.270] scalpel-like patch. [56:52.270 --> 56:55.750] Okay, so can you review for us, if you have the memory to do so, [56:55.750 --> 56:59.450] which of these rematch challenges have we talked about so far? [56:59.450 --> 57:05.950] Sure. So we've talked about, just now we talked about CGCRPC, which basically goes over MS08-067, [57:05.950 --> 57:09.730] and we've spoken through one of the challenges that was basically modeled after Heartbleed, [57:09.730 --> 57:14.330] which we called Secure Server. We also had the address resolution service, which was modeled [57:14.330 --> 57:18.710] after the SQL Slammer, all the way through to being a very simple stack-based buffer overflow. [57:19.690 --> 57:21.770] And I think that's it. [57:21.770 --> 57:25.010] All right, that's a great recap. Thank you, sir. So let's go to H.J. [57:25.190 --> 57:29.730] Hello, I have with me Giovanni Vigna from Shellfish, and I'd like to ask you about the [57:29.730 --> 57:36.930] stacking areas in particular, given this challenge had MS08-067 had them, as well as many of the [57:36.930 --> 57:44.970] challenges. Does your CRS have any ability to reason over these stack cookies in generating [57:44.970 --> 57:45.890] your POVs? [57:45.890 --> 57:53.230] We definitely leverage stack cookies for protection, and we always try to find ways in which [57:53.230 --> 57:59.130] we can overflow part of the stack that are not stack cookie, could be code pointers or other [57:59.130 --> 58:03.690] things that are not necessarily protected by these protection mechanisms. [58:03.690 --> 58:08.410] One thing I remember in our conversations is, speaking of reasoning and generating POVs, [58:08.410 --> 58:13.410] is that I was told that one of your POVs had 64,000 lines of code. Is that true? [58:13.490 --> 58:21.370] Yeah, because of course we try to embed into the POV sometimes code that tries to verify [58:22.090 --> 58:28.410] pretty complex path conditions using verifiers, and therefore they can be really big. [58:28.410 --> 58:31.890] That's right, your POVs actually would embed constraint solvers. [58:31.890 --> 58:32.650] Correct. [58:32.650 --> 58:35.470] Any in particular, something like STP or Z3? [58:35.570 --> 58:42.170] We use a simple one that, right now I'm blanking on the name... [58:45.330 --> 58:45.930] Boolector! [58:45.930 --> 58:51.950] Thank you, thank you. Z3 is what we use in our basic reasoning system, but it's smaller, [58:51.950 --> 58:57.690] and so we can embed it in our POV so it can reason about these conditions when the attack [58:57.690 --> 58:58.610] is performed. [58:58.610 --> 59:06.430] This reasoning, it's like generating algorithmic expressions from code flow, right? [59:06.430 --> 59:10.550] Exactly, because sometimes you have to be able to interact with a binary, [59:10.550 --> 59:15.550] so you have to do some challenge response, and therefore you cannot have a POV that is [59:15.550 --> 59:23.050] predetermined. You have to be able to see what comes back during the execution of the attack, [59:23.050 --> 59:28.190] and reason about that, and find what the next step is in order to get to the vulnerability. [59:28.190 --> 59:31.910] Thank you for your insights, I appreciate it. And back to you, Hakeem. [59:32.190 --> 59:37.130] Thank you, H.J. It's interesting to hear from the teams and how well their bots are performing. [59:37.390 --> 59:39.390] All right, and thank you to the teams. [59:39.670 --> 59:44.770] Okay, to everyone watching, just as a reminder, you can download the Cyber Grand Challenge [59:45.450 --> 59:53.930] challenge sets and the results from today's final event at this URL, www.cybergrandchallenge.com. [59:53.930 --> 59:58.070] Now let's go back to H.J., because I have to find out, were the teams prepared to deal with [59:58.070 --> 01:00:03.470] these real-world rematch CSs, and how excited are they to find out how they perform versus [01:00:03.470 --> 01:00:05.210] these well-known vulnerabilities? [01:00:05.530 --> 01:00:10.930] Well, I have with me the team captain of Shellfish, and I'm going to ask him that question, [01:00:10.930 --> 01:00:13.770] plus a question that's near and dear to my heart. So how do you feel, actually, about [01:00:13.770 --> 01:00:18.430] the current performance, as well as the revelation of these real-world problems? [01:00:18.530 --> 01:00:25.610] So we were actually pretty surprised, which we shouldn't have been, if we took some time [01:00:25.610 --> 01:00:33.710] to think about it, but we're a bunch of students, so we went in all crazy. So I think it's really [01:00:33.710 --> 01:00:39.950] cool to see real-world problems in this, especially on the decreeOS platform, right? Because a [01:00:39.950 --> 01:00:46.190] lot of the simplifications that were made to decree to make it feasible for modern automated [01:00:47.310 --> 01:00:53.950] analysis might have maybe taken away some of the realism. And this shows that it didn't, [01:00:53.950 --> 01:01:00.270] it shows that decree is really a faithful representation of security issues in the [01:01:00.270 --> 01:01:05.030] community, and that analyzing on decree is very applicable to the real world. [01:01:05.070 --> 01:01:08.850] Another thing that's near and dear to my heart is open-source software. And your team has [01:01:08.850 --> 01:01:14.190] open-sourced your analysis framework, Anger, which I'm a huge fan of. I actually, during [01:01:14.190 --> 01:01:18.590] the DEF CON quals, I created a challenge called a Mad H-Day that was designed so that people [01:01:18.590 --> 01:01:24.210] would solve it with Anger. So thank you for that, and do you intend to continue open-sourcing [01:01:24.210 --> 01:01:25.070] your technology? [01:01:25.070 --> 01:01:31.410] Oh, absolutely. Me personally, and the entire lab, and all of Shellfish, we are super passionate [01:01:31.410 --> 01:01:37.910] about open-sourcing our tools and contributing back to the community. So I can say that our [01:01:37.910 --> 01:01:45.850] CRS will be open-sourced, right as Anger is, including all of our build ops on top of Anger, [01:01:45.850 --> 01:01:50.590] and we have a lot of code that we're very excited to share with you. And for the next [01:01:50.590 --> 01:01:55.710] CGC, we expect all of you guys to be playing against us, or with us. [01:01:55.710 --> 01:01:59.810] Very nice, thank you, I appreciate it. And again, that's a fantastic thing that they're [01:01:59.810 --> 01:02:04.870] doing to open-source this technology to expand the capabilities of our community. And back [01:02:04.870 --> 01:02:05.790] to you, Hakeem. [01:02:05.790 --> 01:02:10.630] Thank you so much, H.J., and thank you to our teams. All right, so that's very cool [01:02:10.630 --> 01:02:15.390] about how the teams did against the rematches. So let's go back and see how the teams are [01:02:15.390 --> 01:02:16.750] doing in the competition. [01:02:16.850 --> 01:02:20.270] One of the things that we've been seeing going on, and we were, again, hoping to see, we've [01:02:20.270 --> 01:02:24.530] seen Rubius throwing against absolutely everyone for anything that they come across. Their [01:02:24.530 --> 01:02:28.510] bot is proving very, very aggressive. And this is one of the interesting things that [01:02:28.510 --> 01:02:31.750] we were hoping to see, because we were thinking that these bots would develop this almost [01:02:31.750 --> 01:02:37.270] sort of personality, where maybe the teams that are traditionally familiar with CTF would [01:02:37.270 --> 01:02:42.170] be reticent to patch, because there's oftentimes been teams whose downfall has been too aggressive [01:02:42.170 --> 01:02:48.270] of a patching strategy, or teams who's encoded in the bots very aggressive POV throwing behavior. [01:02:48.270 --> 01:02:52.310] So in this last couple of rounds, we've actually managed to see Rubius throw against absolutely [01:02:52.310 --> 01:02:56.470] everyone and score in one of the challenge sets on every team. [01:02:56.510 --> 01:03:00.050] So Rubius throws, so when we're looking at this particular view, when a particular team [01:03:00.050 --> 01:03:04.770] is throwing, and that means that arrow is that color, the color of the team's card? [01:03:04.770 --> 01:03:07.950] Yep, that's the color of the team that's throwing. So one of the other things that we see going [01:03:07.950 --> 01:03:12.710] on here is actually that several of the teams are waiting to deploy their patches until [01:03:12.710 --> 01:03:17.550] they actually observe a POV being exercised by one of the other bots. So this is sort [01:03:17.550 --> 01:03:23.250] of that patching strategy perspective where, for example, Zandra and MechaFish are both [01:03:23.250 --> 01:03:27.910] holding back on patching so that they don't incur that downtime until they believe they've [01:03:27.910 --> 01:03:32.550] seen someone else exercising the POV. And we see here with Rubius, right? So Rubius [01:03:32.550 --> 01:03:36.170] has all these colors filled in, so this is every one-day POV. [01:03:36.290 --> 01:03:37.810] Absolutely, absolutely. [01:03:37.810 --> 01:03:41.510] All right. But then again, this is only for one binary. [01:03:41.510 --> 01:03:45.230] Yeah, so that actually only represents one of each of the challenge sets that are out. [01:03:45.230 --> 01:03:49.490] And in addition, we don't know in the next round or two whether or not the other teams, [01:03:49.490 --> 01:03:53.230] having observed all of this activity go on, will manage to discover and deploy patches [01:03:53.230 --> 01:03:55.630] for that as a result of all of that activity. [01:03:56.050 --> 01:03:59.930] So is that how the game is played in DEF CON? Are you guys simultaneously going out? [01:03:59.930 --> 01:04:03.550] Oh yeah, absolutely. In a human CTF, there's probably, there's almost always dedicated [01:04:03.550 --> 01:04:08.210] people, dedicated Packet Ninja people out there on Wireshark watching everything that's [01:04:08.210 --> 01:04:12.030] going on, trying to determine when they're getting owned as well, and then turning that [01:04:12.030 --> 01:04:14.590] around and actually throwing it back at the other teams. [01:04:14.590 --> 01:04:19.790] So what about dirty tricks? So if you deploy a patch that, and other teams can use your [01:04:19.790 --> 01:04:21.670] patch, you can use that against them. [01:04:21.670 --> 01:04:24.730] That's actually one of the behaviors that we're watching for and we hope to see is the [01:04:24.730 --> 01:04:28.550] instance where a patch gets deployed by a team and one of the other team's reasoning [01:04:28.550 --> 01:04:33.270] systems decides that that patch is sufficiently good or good enough to deploy themselves, [01:04:33.270 --> 01:04:37.230] where basically they get to stand on the shoulders of one of the other team's disclosures, [01:04:37.230 --> 01:04:39.890] sort of how patching would work in the real world. [01:04:39.890 --> 01:04:43.450] So I wonder what the calculation there is, because we talked about game theory, [01:04:43.450 --> 01:04:48.090] so this sounds like more of an unpredictable behavior that maybe a human might be better at. [01:04:48.090 --> 01:04:51.330] Right. I would have to imagine that any of the teams that was going to try to deploy [01:04:51.330 --> 01:04:55.620] one of the other team's binaries as a patched binary of their own would have to have an [01:04:55.620 --> 01:05:00.060] enormous amount of faith in their symbolic analysis such that they could determine that [01:05:00.060 --> 01:05:04.840] they'd believe that the only thing that it changed was really to patch that one vulnerability. [01:05:04.880 --> 01:05:08.940] Because in general, if there were too many code changes or if it was a general purpose [01:05:08.940 --> 01:05:12.240] hardening technique that was sort of sprinkled out throughout all kinds of functions, [01:05:12.240 --> 01:05:14.980] adding stack randomness or stack cookies and things like that, [01:05:14.980 --> 01:05:19.040] it probably wouldn't be able to successfully determine the exact nature of the change. [01:05:19.040 --> 01:05:21.640] And then I would imagine that the bots would be very reticent to deploy those, [01:05:21.640 --> 01:05:23.100] to redeploy those same binaries. [01:05:23.600 --> 01:05:26.620] All right. So let's go back down to H.J. [01:05:26.780 --> 01:05:31.520] I have with me Tim Bryant from Rubius. So we actually were hearing just about some dirty [01:05:31.520 --> 01:05:39.500] tricks or evasion techniques. Does Rubius employ any of these style of gameplay things? [01:05:39.940 --> 01:05:43.300] It tries to make things difficult. It does. Yeah. [01:05:43.300 --> 01:05:45.460] Are there any specifics that you could go into? [01:05:45.960 --> 01:05:51.840] Sure. I mean, you could probably take one of our binaries and try to open it up in a typical [01:05:51.840 --> 01:05:55.700] analysis tool and it may or may not work. [01:05:57.340 --> 01:06:01.220] And if you want to run it, you probably ought to run it [01:06:01.220 --> 01:06:06.040] in an environment that looks an awful lot like the official system. [01:06:06.040 --> 01:06:09.340] Very nice. So you may have some QMU bugs in there. [01:06:09.800 --> 01:06:10.880] No, not so much. [01:06:10.880 --> 01:06:11.540] Okay. [01:06:11.540 --> 01:06:15.280] But it should only run where it's supposed to be running. [01:06:15.280 --> 01:06:20.580] Nice. I like that. We also saw you on the scorecard showing that you guys were [01:06:20.580 --> 01:06:24.100] pwning everybody. That's actually fantastic work. What do you think about that? [01:06:24.100 --> 01:06:25.860] Well, it was a very beautiful image. [01:06:25.860 --> 01:06:26.620] I imagine for you. [01:06:26.620 --> 01:06:30.620] I'd love to see a lot more of those. You know, that was one challenge, but [01:06:31.260 --> 01:06:34.300] that's a pretty fantastic result. We'll take it. [01:06:34.560 --> 01:06:38.060] They also spoke about different patching techniques. Do you just patch [01:06:38.060 --> 01:06:42.400] immediately or do you wait for some type of signal that you've been exploiting? [01:06:42.400 --> 01:06:48.180] We do two things. One thing that we do is we analyze the binaries ourselves. And if we think [01:06:48.180 --> 01:06:54.560] that they're easy, we go ahead and patch them preemptively. If we find the vulnerability quickly, [01:06:54.960 --> 01:06:58.560] we give the benefit of the doubt to the other teams. We expect that they're going to find it [01:06:58.560 --> 01:07:05.640] relatively quickly, too. So we go ahead and patch. On the other hand, we do patch reactively. [01:07:05.640 --> 01:07:11.180] But if we don't find it quickly, then we wait. We wait to see if somebody actually can find it. [01:07:11.180 --> 01:07:14.440] That actually sounds like a great strategy to make sure you don't lose those availability points. [01:07:14.440 --> 01:07:14.960] That's right. [01:07:14.960 --> 01:07:17.120] All right. Well, thank you for that. I appreciate it. [01:07:17.120 --> 01:07:20.400] All right. Great stuff down here, Keem. And back to you. [01:07:20.400 --> 01:07:25.860] So we talked about strategy when it comes to patching. But Vizzy, there's strategy involved [01:07:25.860 --> 01:07:30.820] with discovering vulnerabilities. So what kind of approaches might teams take to discover these [01:07:30.820 --> 01:07:31.560] vulnerabilities? [01:07:31.560 --> 01:07:35.480] Sure, absolutely. So it's really impossible to predict what the team's bots are going to be [01:07:35.480 --> 01:07:39.200] doing for sure, because there's always the possibility that they would have developed an [01:07:39.200 --> 01:07:44.580] entirely new technique or a new strategy for this game. But there are a number of sort of known [01:07:44.580 --> 01:07:51.580] approaches to these types of problems. Static and dynamic binary analysis, fuzzing, and [01:07:51.580 --> 01:07:56.600] symbolic execution are some types of program analysis and input checking and validation that [01:07:56.600 --> 01:08:02.060] would be done that they're probably leveraging simultaneously, ideally. So in the case where [01:08:02.060 --> 01:08:07.180] they want to more properly guide their fuzzing iterations, something like a symbolic analysis [01:08:07.180 --> 01:08:12.080] framework would allow them to know what the values of certain fields within that protocol should be [01:08:12.080 --> 01:08:16.860] in order to reach certain pieces of code. Shellfish, for example, having written their [01:08:16.860 --> 01:08:21.280] anger framework that we've spoken about a couple of times, I would imagine is probably using a [01:08:21.280 --> 01:08:22.560] hybrid approach. [01:08:22.560 --> 01:08:25.340] Okay, so we have some code up here that we're looking at. [01:08:25.340 --> 01:08:28.900] So actually, this kind of goes back to a little bit of the dirty tricks that we were talking about. [01:08:28.900 --> 01:08:33.560] And so we're going to speculate a little bit about what was going on with some of Rubius's logic. [01:08:33.560 --> 01:08:40.120] But the gist of it is, we see here, this CPU ID instruction might be part of what he was [01:08:40.120 --> 01:08:44.400] mentioning, as you'd probably really want to be running the binary inside of the environment that [01:08:44.400 --> 01:08:48.420] was actually decree. So it looks like they're doing a little bit of patching that introduces [01:08:48.420 --> 01:08:55.200] code divergence to try and split the logic when it's running on the real decree platform versus [01:08:55.200 --> 01:08:59.380] when it might be running in an emulator or some kind of other sandbox being deployed by one of [01:08:59.380 --> 01:09:04.280] the teams to do instrumentation. And the interesting part is not just that they decided to try and do [01:09:04.280 --> 01:09:08.860] this so that they could change the way that execution works, but what they decided to try and [01:09:08.860 --> 01:09:13.940] do. As near as we've been able to tell so far, what they've decided to do is actually introduce [01:09:13.940 --> 01:09:19.960] fake vulnerabilities into the impossible code paths that would only ever occur if you were [01:09:19.960 --> 01:09:24.980] running it in a sandbox other than decree. And so basically what they've done is created all [01:09:24.980 --> 01:09:29.300] this extra analysis work, and it may even be that some of those analysis platforms would think [01:09:29.300 --> 01:09:33.940] they've found a vulnerability and attempt to be POVing against that vulnerability when really [01:09:33.940 --> 01:09:39.040] that code was not actually reachable because it was being, because it was reached only inside of [01:09:39.040 --> 01:09:48.780] that sandbox rather than inside of decree. Very cool work, guys. Very cool. Yeah. So we saw a lot [01:09:48.780 --> 01:09:53.140] of interesting actions in round 20 with some predictable outcomes and some surprises. Share [01:09:53.140 --> 01:09:57.500] your thoughts about what happened, sir. I'm really, really glad to see basically every one of the teams [01:09:57.500 --> 01:10:02.360] managing to get some POVs out there. It's basically showing that the reasoning, the idea of this [01:10:02.360 --> 01:10:07.600] reasoning system is definitely working because you can't actually POV without at least some [01:10:07.600 --> 01:10:11.420] knowledge of the workings of that vulnerability. It's not like the general purpose patching [01:10:11.420 --> 01:10:16.760] techniques where there could be zero knowledge success, right? In a POV case, it definitely has [01:10:16.760 --> 01:10:21.060] to have understood the protocol. It definitely has to have decided what was necessary in order to [01:10:21.060 --> 01:10:24.880] exercise that vulnerability. So the thing that I'm really happy to see is that basically everyone [01:10:24.880 --> 01:10:28.220] has come to the table with something capable of that. Wonderful. And we've seen a couple of [01:10:28.220 --> 01:10:33.140] breakthroughs, right? So we've seen a breakthrough in speed. Absolutely. We've seen the rematch [01:10:33.140 --> 01:10:39.740] challenges owed this time around. Absolutely. So what might I have missed? So we have a new data [01:10:39.740 --> 01:10:45.560] update actually that shows that Zandra discovered a POV in one of the... Zandra managed to discover [01:10:45.560 --> 01:10:50.500] and prove a vulnerability in one of the services that we call OpSim. But this is a unique situation [01:10:50.500 --> 01:10:55.180] and it's something we were kind of hoping to see. They actually managed to discover an unintended [01:10:55.180 --> 01:11:00.580] vulnerability. So each of these services that's written, just like real world software, it's [01:11:00.580 --> 01:11:04.440] impossible for us to have made absolutely certain that the one vulnerability that we intended [01:11:04.440 --> 01:11:09.780] is the only one that's present. So the interesting part here is additionally that Zandra had [01:11:09.780 --> 01:11:14.880] discovered this new POV, exercised it against something that we hadn't actually even intended, [01:11:14.880 --> 01:11:20.280] and then Jima observed this occurring and successfully defended against it. So these [01:11:20.280 --> 01:11:24.340] are all results that we hadn't possibly had any ability to predict whatsoever. [01:11:24.340 --> 01:11:30.720] So Zandra POV succeeded against the reference binary, but not against Jima's patched binary. [01:11:30.840 --> 01:11:34.900] Wow. And let's keep in mind what we're saying here. We're not talking about teams of human [01:11:34.900 --> 01:11:39.260] beings that are finding these things. These are the bots automatically just autonomously doing [01:11:39.260 --> 01:11:42.000] this on their own. Absolutely. And one of the things that we had really hoped to see is some [01:11:42.000 --> 01:11:46.260] of this sort of game strategy thing as well, where the individual bots would be able to defend [01:11:46.260 --> 01:11:51.160] against things as a result of seeing them, seeing a POV launched at them. So we've been watching out [01:11:51.160 --> 01:11:55.680] for a lot of these sort of game theory things because in a traditional CTF, the team that wins [01:11:55.680 --> 01:12:00.120] is not always the team with the most perfect technical execution, but it's the team with an [01:12:00.120 --> 01:12:04.380] excellent technical execution that also plays the game. So there's a lot of that sort of question [01:12:04.380 --> 01:12:09.580] as to how much strategy, how much gameplay, and how much of the traditional dirty tricks [01:12:09.580 --> 01:12:14.640] department that goes on in a CTF that's humans have the teams decided to try and encode within [01:12:14.640 --> 01:12:20.720] their bots? Yeah, one of the surprises to me that I find just awesome is the fact that this game [01:12:20.720 --> 01:12:26.080] strategy, we're talking about actual mathematical proofs and computations here. Absolutely. Yeah, [01:12:26.080 --> 01:12:31.880] so this is real stuff. All right, H.J., do you happen to have the team we're talking about with [01:12:31.880 --> 01:12:35.680] you down there? What are they thinking about what we just heard regarding what their bot has been [01:12:35.680 --> 01:12:40.200] up to? So Gma was actually successfully able to patch a bug that we didn't even know existed in [01:12:40.200 --> 01:12:45.860] the software. But what kind of general purpose or even specific patches does Gma implement that [01:12:45.860 --> 01:12:50.340] could do this? So that was probably one of our general purpose patches. We looked at areas of [01:12:50.340 --> 01:12:54.560] code where we know there are common vulnerabilities, and we just deliberately inserted [01:12:54.560 --> 01:12:59.980] conservatively the patches for those areas. What type of do you use signatures, like [01:12:59.980 --> 01:13:05.520] like itis flirt signatures to determine what functions commonly cause vulnerabilities? [01:13:05.760 --> 01:13:11.400] Well, so in this case, for example, if it was a buffer overflow, you know, we basically [01:13:11.400 --> 01:13:17.840] threw in a stack canary. How do you actually generate your stack canaries? So our stack [01:13:17.840 --> 01:13:23.440] canaries are a random value we generate each time the binaries run. And when we put it on the [01:13:23.440 --> 01:13:29.040] stack, and then we also combine it with the return address. So we have a checksum to make sure [01:13:29.040 --> 01:13:33.260] they didn't overflow the canary or bypass the canary and just overflow the return address. [01:13:33.260 --> 01:13:37.560] I guess for those who don't know, what is a stack canary? Can you explain it? So stack canary is a [01:13:37.560 --> 01:13:42.920] special value put on the runtime stack, so that if there's an overflow that overflows data onto [01:13:42.920 --> 01:13:47.240] the stack, and it's supposed to overflow a return address, it hits the canary. I see. Like the [01:13:47.240 --> 01:13:53.660] coal mine. And it causes the canary to change its value or basically die. And so we were able to [01:13:53.660 --> 01:13:59.760] catch that. So it overwrites this canary value, and you're able to test and determine that this [01:13:59.760 --> 01:14:04.580] value has changed. Right. Okay, excellent. Thank you. That's fantastic. We've got some data coming [01:14:04.580 --> 01:14:11.840] in from round 30. Mayhem has the lead. Zandra in second and MechaFish in third. All right. [01:14:12.000 --> 01:14:16.760] So this is definitely still a game where anybody could win, [01:14:16.760 --> 01:14:20.580] but there's definitely a lead going on here. But most of the game is still yet to unfold. Oh, [01:14:20.580 --> 01:14:24.780] absolutely. Round 30 means we're still pretty early on in the game. That definitely is not [01:14:24.780 --> 01:14:29.400] an unescapable lead. So if we cut to the arena view, we can see actually that several of the [01:14:29.400 --> 01:14:35.220] teams are even still down for patching this round. We can see, for example, Galactica and Rubius here, [01:14:35.220 --> 01:14:39.720] for example, are actually in the process of, yep, Crispy as well, are actually in the process of [01:14:39.720 --> 01:14:44.660] deploying patches even up here in round 30. So even though a challenge set may not have actually [01:14:44.660 --> 01:14:49.460] been released this round, it may have taken some of their analysis platforms that extra bit of time [01:14:49.460 --> 01:14:54.400] to discover the vulnerability or decide how to patch it correctly. Yeah, what's interesting is [01:14:54.400 --> 01:14:59.820] that some of these patches, from card to card, it's not the same patch being deployed. So some [01:14:59.820 --> 01:15:04.240] may have patched earlier, some are patching now. Absolutely, yeah, exactly. And so the other thing [01:15:04.240 --> 01:15:08.480] that we can see here too is that several of the teams that are the teams that we're recognizing [01:15:08.480 --> 01:15:13.680] as being in the lead are still successfully carrying out POVs. So MechaFish, for example, [01:15:13.680 --> 01:15:18.400] for this challenge, is successfully POVing against several of the other teams. And we don't see any [01:15:18.400 --> 01:15:23.380] of them actually running patched binaries yet in this view, so we can't know whether or not, [01:15:23.380 --> 01:15:26.880] in this instance, it looks like they're managing to POV against something that no one else has [01:15:26.880 --> 01:15:32.400] actually patched or modified just yet. Alright, so why is the leading team in the lead? That's [01:15:32.400 --> 01:15:36.580] actually a really good question. I think that basically this probably will show that a lot of [01:15:36.580 --> 01:15:41.480] it boils down to availability, but a lot of it also boils down to the evaluation scores. I think [01:15:41.480 --> 01:15:45.100] most of the teams that are rolling out patches, ooh, there we go, we're seeing actually some of [01:15:45.100 --> 01:15:51.100] the patches not actually maintaining availability. Galactica and Jima looks like they have patched [01:15:51.100 --> 01:15:55.120] binaries or services that have become unavailable over the course of this round. So as we mentioned [01:15:55.120 --> 01:16:00.580] earlier, in that one view where we'll see the center shrink to that small black portion, [01:16:00.580 --> 01:16:05.300] we'll see basically that as a result of either one of two things. If they deploy a patch and [01:16:05.300 --> 01:16:09.680] that patch doesn't still maintain the functionality of the software and still do what it was intended [01:16:09.680 --> 01:16:13.620] to do, it'll shrink like that. But it'll also incrementally shrink like that if it doesn't [01:16:13.620 --> 01:16:18.040] respond quickly enough. And so for some of those general purpose patching techniques, there could [01:16:18.040 --> 01:16:22.560] be instances where that incurs a very significant performance hit. So we're seeing basically [01:16:23.380 --> 01:16:28.120] several of the teams have difficulty maintaining availability, and some of this even small [01:16:29.180 --> 01:16:34.560] degradation to performance that we can see here in the slightly smaller darker gray tiles that [01:16:34.560 --> 01:16:38.280] Jima and some of the other and Crispy have, for example. So in a way their patch may have made [01:16:38.280 --> 01:16:45.340] things worse. So it may yield the software unfunctioning, or it'll just function too slowly. [01:16:45.340 --> 01:16:49.620] Yeah, exactly. So that's basically the two-part threshold. And so basically a service on the [01:16:49.620 --> 01:16:53.100] internet really isn't up if it's functioning correctly, but it can't respond in a reasonable [01:16:53.100 --> 01:16:57.260] amount of time. And so that was used to model basically what's going on in the real world when [01:16:57.260 --> 01:17:01.320] you're maintaining sort of the production trade-off between security and performance. [01:17:01.320 --> 01:17:05.520] That's right. I remember the good old days of the internet where you'd sit there and wait for your [01:17:05.520 --> 01:17:10.280] page to load. Yep, absolutely. Yes, I guess that was really the bad old days. So we can see here [01:17:10.280 --> 01:17:14.580] actually from the scoreboard view at the end, where basically once it's actually managed to [01:17:14.580 --> 01:17:20.080] tally all those things, we can see that MechaFish, for example, is scoring very, very [01:17:20.080 --> 01:17:24.760] well in evaluation and very well in security, which means they're getting all their points for each of [01:17:24.760 --> 01:17:28.800] those rounds. Whereas Mayhem, for example, right now, though they're in the lead, they're doing very [01:17:28.800 --> 01:17:33.080] well in evaluation and availability, but they might be taking a bit of a hit from security. So we'll [01:17:33.080 --> 01:17:36.540] see if that impacts their ability to maintain that lead that they have, or if other people [01:17:36.540 --> 01:17:41.320] manage to creep up behind them because of that. All right, so HJ, what is the team thinking now [01:17:41.320 --> 01:17:47.840] that they've been announced that they're leading at round 30? So I have with me Alex from For All [01:17:47.840 --> 01:17:53.140] Secure, who's with Mayhem. What do you think about being in the lead in round 30? You were [01:17:53.140 --> 01:17:56.660] battling it out with Frubius for a while, and now you've actually firmly taken lead with an 8,000 [01:17:56.660 --> 01:18:02.340] point lead. Yeah, we're very excited to start building up a lead. I think our strategy to patch [01:18:02.340 --> 01:18:07.580] very carefully. We try to infer when teams are attacking us, and only patch when we think [01:18:07.580 --> 01:18:13.420] someone is exploiting us. In that way, we don't incur the issue where our patch is not performant [01:18:13.420 --> 01:18:18.820] enough, and we don't lose availability scores. So we mentioned a few times with generic patching [01:18:18.820 --> 01:18:27.160] versus like a scalpel-like approach. Do you employ both? We do. We try to field an agnostic patch [01:18:27.160 --> 01:18:34.360] that would protect against any vulnerability in theory. It has been our experience that most [01:18:34.360 --> 01:18:40.200] bannings have multiple vulnerabilities, and we were worried that we would patch one, like find [01:18:40.200 --> 01:18:45.080] and patch one, and another team would find another, and then we would have to patch twice, which is [01:18:45.080 --> 01:18:50.520] very expensive. Yes, thank you for that. It sounds like the teams are still pretty excited, and back [01:18:50.520 --> 01:18:54.260] to you, Hakeem. So I understand that we have some new data that just came in, and there's a few [01:18:54.260 --> 01:18:58.760] highlight stories from these rounds of the competition, and some of it involves Rubius. [01:18:58.760 --> 01:19:03.200] Absolutely. So it looks like Rubius actually deployed a patched binary to their platform [01:19:03.200 --> 01:19:09.120] that actually used up so many resources and had so much load on it that it's been affecting the [01:19:09.120 --> 01:19:14.260] other services on that box. So basically, if one of those things is having trouble performing, [01:19:14.260 --> 01:19:18.960] and it's basically eating up all the other resources, that can negatively impact the [01:19:18.960 --> 01:19:23.040] availability of those other services, because though they are completely themselves functionally [01:19:23.040 --> 01:19:28.700] correct, and even potentially fast enough, they're getting resource starved out. And so Rubius has [01:19:28.700 --> 01:19:33.860] basically deployed a binary that appears to be denial-of-service attacking some of their own [01:19:33.860 --> 01:19:39.140] binaries, basically as a result of starving them out of being able to actually execute. So we can [01:19:39.140 --> 01:19:44.280] see here we've got sort of the abstraction that shows some of the facets of the binary that they [01:19:44.280 --> 01:19:48.860] deployed, but really the important part here that's going to be the real question is, like, [01:19:48.860 --> 01:19:54.500] what exactly was that binary doing that caused that sort of performance delta? So we're still [01:19:54.500 --> 01:19:59.400] gathering information on exactly what that is, but the bottom line at this point is that Rubius [01:19:59.400 --> 01:20:03.760] is actually, in the next round or so, we're going to see them take a fairly significant scoring hit [01:20:03.760 --> 01:20:08.480] because this availability thing, like we've been harping on, essentially, is affecting [01:20:08.480 --> 01:20:13.560] multiple of their services now as a result of a mistake in only one service. So that being the [01:20:13.560 --> 01:20:18.500] case, any of the other services that are being negatively impacted by this are also not scoring [01:20:18.500 --> 01:20:22.520] points for them or not scoring as many points, even if they're successfully defended and even if [01:20:22.520 --> 01:20:26.940] they're carrying out POVs against the other bots. I see. Now, I wonder what the real world [01:20:26.940 --> 01:20:33.460] impact of this is, because if you have a bot that evaluates your software to determine [01:20:33.460 --> 01:20:37.660] whether or not it's doing what it's supposed to do and it applies a patch, then that would [01:20:37.660 --> 01:20:41.660] actually need to be checked. Oh, absolutely, yeah. And so that's one of those things that, like we [01:20:41.660 --> 01:20:45.200] mentioned, we've seen a couple of the teams potentially pull those patches back and decide to [01:20:45.200 --> 01:20:50.480] undeploy them. If they don't have logic like that in their bot right now, they may be in [01:20:50.480 --> 01:20:55.460] very serious trouble. So this actually is one of our cube views that we have available to us, [01:20:55.460 --> 01:20:59.580] showing the Kaleidoscope. So Kaleidoscope is the name of this particular challenge set. [01:20:59.580 --> 01:21:05.920] And this is just data for Rubius. And it shows, actually, the availability impact being [01:21:05.920 --> 01:21:10.400] had to all their other services that they have deployed over the course of the last few rounds. [01:21:10.400 --> 01:21:14.780] So like we said, we can sort of project multiple dimensions of data. So this is several rounds [01:21:14.780 --> 01:21:21.080] of several challenge sets of just Rubius. And we can see this whole flattened out area of negative, [01:21:21.080 --> 01:21:26.220] basically negative impact to their ability to score due to the fact that just the challenge [01:21:26.220 --> 01:21:31.280] set for Kaleidoscope has actually been performing so poorly. So by round 30, though, it seems that [01:21:31.280 --> 01:21:35.420] they're back up. It seems like by round 30, they do manage to actually pull it back. So I would [01:21:35.420 --> 01:21:41.900] guess that one of these rounds that we see here... So this could be one of those dropouts we saw [01:21:41.900 --> 01:21:47.140] in that line view, right? Where they peel it off at a point. It could have been due to this. [01:21:47.160 --> 01:21:51.580] And it looks like they actually did manage to pull that patch back. I'm just getting updated [01:21:51.580 --> 01:21:55.460] that they did manage to successfully pull that patch back. And it looks like they've managed [01:21:55.460 --> 01:21:59.200] to recover as well. So they deployed a patch. It didn't work. And their bot had sufficient [01:21:59.200 --> 01:22:04.560] awareness and sufficient reasoning to actually redact that, pull it back, and pull up, pull up, [01:22:04.560 --> 01:22:10.060] pull back out of the fire. We now come to the mail server, which is based on CrackAdder. [01:22:10.060 --> 01:22:15.200] CrackAdder is a complex bug in SendMail, a widely used general purpose email routing tool [01:22:15.200 --> 01:22:21.720] dating back to the early 1980s. In 2011, a security researcher who goes by the handle [01:22:21.720 --> 01:22:27.040] Halverflake showcased CrackAdder as something static analysis or automated tools were unable [01:22:27.040 --> 01:22:32.780] to detect. He then created a simplified version of the bug with many fewer lines of code. In its [01:22:32.780 --> 01:22:38.300] simplified form, researchers were able to analyze it using automated tools. Now, CrackAdder is a [01:22:38.300 --> 01:22:43.680] test for the real world viability of analysis tools, but the original vulnerability remains [01:22:43.680 --> 01:22:49.920] elusive for automated reasoning systems. So let's go to a video by Debbie Nuttall [01:22:49.920 --> 01:22:53.520] telling us about mail server and CrackAdder. [01:22:55.990 --> 01:23:02.510] So one of the challenges that we built is patterned after a vulnerability that was in SendMail [01:23:03.170 --> 01:23:06.750] that's commonly referred to as CrackAdder. CrackAdder was actually the name of the function [01:23:06.750 --> 01:23:12.070] that contained the vulnerability. So this bug existed in SendMail. SendMail is a critical [01:23:12.070 --> 01:23:19.770] piece of software that's used on the internet for sending mail. So the vulnerability exists when the [01:23:19.770 --> 01:23:23.730] software is trying to match up brackets. You know how you have these brackets in email addresses? [01:23:23.730 --> 01:23:28.410] So it wants to know at the very end if there's a hanging open bracket, it's going to add a [01:23:28.410 --> 01:23:32.190] closed bracket so it's counting them. One of the things it does wrong is it doesn't count [01:23:32.190 --> 01:23:37.290] the closed bracket. So it's counting in one direction, it's moving a pointer, [01:23:37.290 --> 01:23:41.330] things get out of whack, and it leads to a potential buffer overflow. This is the one [01:23:41.330 --> 01:23:45.070] that I think is hardest. I think it's hardest to find, I think it's the hardest to patch, [01:23:45.070 --> 01:23:46.770] and I think it's the hardest to prove. [01:23:48.710 --> 01:23:52.510] Thanks to Debbie for all the great videos about our Rebatch challenges, [01:23:52.510 --> 01:23:57.170] and it's a reminder that she was the author of them and I really had a great time interviewing [01:23:57.170 --> 01:24:00.670] her. Now Vizi, tell us more about mail server and CrackAdder. [01:24:00.670 --> 01:24:04.810] So our implementation of the mail server challenge basically wanted to strike a balance [01:24:04.810 --> 01:24:09.910] between the difficulty and the complexity of the original bug in SendMail and Halvar's example [01:24:09.910 --> 01:24:14.690] that was sort of a carved down subset of the problem. Either way, they are all sort of the [01:24:14.690 --> 01:24:20.590] classic state machine problems that are very, very difficult for program analysis. Those nearly [01:24:20.590 --> 01:24:25.010] infinite possibilities and that halting problem that we talked about before clearly come into [01:24:25.010 --> 01:24:30.190] play here. So basically, I'm looking forward to seeing, and it looks like we have some data, [01:24:30.190 --> 01:24:36.870] basically, MechaFish was the only team to actually successfully POV against our [01:24:36.870 --> 01:24:44.490] version of CrackAdder. So this basically represents a leap forward in program analysis [01:24:44.490 --> 01:24:48.130] for them to be capable of doing this means that we're one step closer to that thing that's [01:24:48.130 --> 01:24:53.310] basically been sort of the Everest of program analysis because of that state machine problem. [01:24:53.310 --> 01:24:58.590] Additionally, once they were POVing, it looks like Crispy deployed a patch, [01:24:58.590 --> 01:25:03.770] but it was a general purpose patch that did manage to mitigate the bug. So kudos to them [01:25:03.770 --> 01:25:06.730] for actually managing to patch it successfully without breaking it. [01:25:06.730 --> 01:25:13.030] Right on. All right, so let's go to H.J. down there with the teams. [01:25:13.970 --> 01:25:18.050] So you guys successfully patched CrackAdder, but I believe you also were the only one to [01:25:18.050 --> 01:25:23.050] exploit it, right? And so congratulations. That's pretty... Halvar Flake actually considered this [01:25:23.050 --> 01:25:29.450] like the Everest, as Vizi calls it, of challenges. Congratulations. What do you think about this? [01:25:29.690 --> 01:25:34.750] It's pretty overwhelming. Wow. I mean, all the talk about state machines and all the possibility [01:25:34.750 --> 01:25:37.590] of state machines really reminds me of one of the papers that we published recently. We're [01:25:37.590 --> 01:25:41.810] an academic lab. We publish papers. That's what we do. We published the paper Driller, [01:25:41.810 --> 01:25:47.330] which is supposed to augment fuzzing with symbolic execution. And one of our really [01:25:47.330 --> 01:25:52.050] in-depth case studies talks about how exactly it traverses the state machines and is able to [01:25:52.050 --> 01:25:57.210] really explore deeply parts of the program that would normally be inaccessible to a more naive [01:25:57.210 --> 01:26:03.090] approach. All right, there's complexity we have. How big do these equations actually grow to? Can [01:26:03.090 --> 01:26:08.810] you give me an example? They're huge. So we're using, for this part of the code, we are using [01:26:08.810 --> 01:26:15.650] Z3 to solve the things. And when we're debugging these things and then something won't solve, [01:26:15.650 --> 01:26:20.130] we try to print it out and sometimes our terminal will just scroll with equations for minutes before [01:26:20.130 --> 01:26:25.130] terminating. We're like, okay, there's nothing we can do about this. Move on. Excellent. Thank [01:26:25.130 --> 01:26:33.710] you for your insights. I appreciate it. Back to you, Hakeem. Thank you, H.J. All right. So let's [01:26:33.710 --> 01:26:41.790] look at round 52 scoreboard. So in this instance, we're seeing basically mayhem still in the lead, [01:26:41.790 --> 01:26:46.870] Zandra and Shellfish. Rubius has fallen a little bit. It looks like the gap might be growing. [01:26:47.730 --> 01:26:54.090] But as we can see, it's availability still that is winning the game. Yeah. So what happened [01:26:54.090 --> 01:26:59.730] around this round was mayhem actually went down, right? Yeah. So it looks like in this instance, [01:26:59.730 --> 01:27:05.410] we've seen mayhem's service, mayhem's bot has become unavailable right here in round 52. So [01:27:05.410 --> 01:27:09.670] this might be the beginning of a very serious problem for them. The late breaking that I'm [01:27:09.670 --> 01:27:14.930] getting is basically that we've seen that stop responding and not actually be issuing any updates [01:27:14.930 --> 01:27:19.450] or issuing any POVs. So we have no idea what that's going to do to their score. But like we've [01:27:19.450 --> 01:27:24.030] said, actually, there are certain sections of the game for which doing nothing isn't a terrible [01:27:24.030 --> 01:27:28.310] strategy. So we don't necessarily know that this will have an immediate impact. They have a very [01:27:28.310 --> 01:27:33.230] solid lead and they may actually manage to maintain some of that. Wow. And they managed [01:27:33.230 --> 01:27:39.750] to break a supercomputer. Yeah, absolutely. It's kind of lucky. So we have to wait now for the data [01:27:39.750 --> 01:27:43.730] to come in to figure out exactly what happened there, right? Yep. So we have a team in the back [01:27:43.730 --> 01:27:47.690] that's working on this. Absolutely. Yeah, for sure. This is one of those ones that they end up having [01:27:47.690 --> 01:27:52.310] to look into a little bit more specifically, mostly because we're not even really sure what [01:27:52.310 --> 01:27:55.750] it was that they deployed that caused that to be the case. For your colleagues in the audience, what [01:27:55.750 --> 01:28:00.350] does that data look like coming out of these? Oh, yeah. It was a team to create the visuals. Sure. [01:28:00.350 --> 01:28:04.550] It's basically a bunch of serialized, I mean, basically tabularized serialized data that's [01:28:04.550 --> 01:28:09.370] getting burned to those disks. It's every event that's traveling through this entire system. So [01:28:09.370 --> 01:28:13.590] if you were to imagine this whole thing as a series of events occurring in time and the [01:28:13.590 --> 01:28:19.330] metadata associated with those events, that massive pipe of data is getting funneled out and split out [01:28:19.330 --> 01:28:24.050] into these systems so that they can tabulate what's going on. So we have an arena view showing [01:28:24.050 --> 01:28:29.470] the scores for that particular round, not the aggregate score. Yep, this is just for round 52. [01:28:30.030 --> 01:28:34.530] The bars at the top here, I believe, are also still just for that round. So what are we going [01:28:34.530 --> 01:28:39.190] to see happen with Mayhem? Like, do you expect to see something with their crash impact? What we [01:28:39.190 --> 01:28:42.510] see on arena view? I don't know. I think that we're not going to see that until the next [01:28:42.510 --> 01:28:46.010] couple of rounds. It looks like this we were informed was one of the last rounds where [01:28:46.010 --> 01:28:50.910] they were responding correctly, as far as we're aware. Yeah, so here we have a grid view. [01:28:50.910 --> 01:28:54.730] Yep, absolutely. And so we can see, just like we were talking about before, we have these three [01:28:54.730 --> 01:29:01.550] dimensions being mapped out over these cubes, basically which show, in this instance, many of [01:29:01.550 --> 01:29:05.390] the teams have managed to maintain their security. So we're getting to a point in the game, at this [01:29:05.390 --> 01:29:09.970] point, where lots of the patches have been deployed, the teams that are going to deploy [01:29:09.970 --> 01:29:14.510] patches have, and so many of them are managing to maintain security, which we can see mapped here [01:29:14.510 --> 01:29:19.770] along this axis, right? So each of these, the fact that they are full width in that direction, [01:29:19.770 --> 01:29:24.250] shows that they've been managing to maintain the security of their services. But not as many [01:29:24.250 --> 01:29:29.350] managing, at this point, to continue carrying out POVs. There's only a couple of instances that we [01:29:29.350 --> 01:29:34.930] can see, and actually I'm not sure if I can see... Yeah, or 80, actually. Yeah, so this could be an [01:29:34.930 --> 01:29:39.510] instance where it'll be, it may be until the next challenge. So why would you have it a... So an [01:29:39.510 --> 01:29:44.350] availability going down, like we see here for MechaFish on LazyCalc, is probably due to a patch. [01:29:44.350 --> 01:29:47.730] Probably due to a patch, yeah. Almost certainly. And it looks like they've got a couple little [01:29:48.250 --> 01:29:52.150] trouble spots going on. So it might be that basically they've got something that [01:29:52.150 --> 01:29:56.350] impacts performance just a little bit, but not too dramatically. So we see a couple places here [01:29:56.350 --> 01:30:01.390] where availability is not all the way flat, so that means that they're just moving kind of slow at [01:30:01.390 --> 01:30:05.330] this point. Yeah, just a little sluggish. And it might be that they've deployed some general [01:30:05.330 --> 01:30:10.710] purpose patching techniques, things like stack randomizations, if they implement sort of [01:30:10.710 --> 01:30:15.590] control flow guards, which basically make sure that each instance of doing things like returning [01:30:15.590 --> 01:30:20.710] from a function returns to a potentially valid address rather than something that's been [01:30:20.710 --> 01:30:25.030] introduced by outside input. Those are very expensive checks, and we may see some of those [01:30:25.030 --> 01:30:30.570] cost them performance over time. So what do we see when we see these giant dips like here in [01:30:30.570 --> 01:30:35.590] these cases? Basically, we're seeing the total number of points that they're scoring. [01:30:35.590 --> 01:30:40.890] In this instance, we're seeing dips specifically in availability, and so basically those are [01:30:40.890 --> 01:30:46.210] representative of maybe their patched binary that they deployed wasn't working during those rounds. [01:30:46.210 --> 01:30:51.310] So with that being said, let's go back down in the pit with our teams and HJ. I have with me Brian [01:30:51.310 --> 01:30:57.250] from DeepRed. He's going to talk to us about his patching process and what might [01:30:57.250 --> 01:31:04.030] have happened. So we saw a few rounds ago that you patched something, or Ruby has patched [01:31:04.030 --> 01:31:08.230] something, and it really tanked the performance of the system. What might have happened? [01:31:08.550 --> 01:31:15.610] So we found out that the network appliance that actually applies the IDS intrusion detection [01:31:15.610 --> 01:31:21.010] rulesets is shared amongst all the services. So we have a feeling that one of our IDS rulesets [01:31:21.010 --> 01:31:26.650] that we deployed as part of our patch set might have negatively affected the performance that [01:31:26.650 --> 01:31:33.970] apparently affected the other services that were fielded. So we have logic in place in our [01:31:33.970 --> 01:31:38.930] game theoretic component that will detect feedback coming back from the server when we know that a [01:31:38.930 --> 01:31:44.490] particular service is not performing well. And when that meets a certain threshold of low [01:31:44.490 --> 01:31:50.130] availability, we'll go ahead and retract that patch set and revert back to something that was [01:31:50.130 --> 01:31:53.770] performant. We'll essentially blacklist that patch set and revert back to something that we know [01:31:53.770 --> 01:31:59.530] is more performant. Do you have a way to determine that it's an IDS signature as opposed to a patch? [01:31:59.550 --> 01:32:04.850] Unfortunately you don't. The feedback is not particular to a certain patch that we applied. [01:32:04.850 --> 01:32:09.690] They don't know exactly the set of patches we applied. It's across the entire service. So in [01:32:09.690 --> 01:32:15.030] some cases we have to make our best guess. And we do evaluate each of our patches individually. [01:32:15.030 --> 01:32:20.610] So we have data internally that we can hopefully discern which one is still performant and then [01:32:20.610 --> 01:32:25.190] apply it later if we know that it is confidently not the one that was negative. What do you [01:32:25.190 --> 01:32:31.690] evaluate your patch against? So we evaluate our patches against polars that we extract from the [01:32:31.690 --> 01:32:37.990] network feed that they send to us each round. So all the based off of coverage that it obtains, [01:32:37.990 --> 01:32:43.290] we'll go ahead and use those as sort of valid measurements of functionality and we'll run those [01:32:43.290 --> 01:32:47.870] against our patches. So what is the actual mechanism? How do you receive this information? [01:32:47.870 --> 01:32:52.530] How do you know that your availability is tanking? So part of the status information [01:32:52.530 --> 01:32:59.150] that's given back to the competitors in each round tells you a list of each of the services. [01:32:59.150 --> 01:33:04.450] And it tells you the time execution overhead. It tells you the memory execution overhead. [01:33:04.710 --> 01:33:09.890] It also tells you the functionality. If you're failing due to [01:33:10.850 --> 01:33:15.130] functionality or connections being dropped. So you can take that information and say, [01:33:15.130 --> 01:33:19.950] my patch didn't work. And then take hopefully corrective action as a result. [01:33:20.090 --> 01:33:25.210] What is the threshold for beginning to lose points in terms of memory use and performance? [01:33:25.430 --> 01:33:31.010] So memory usage, if you start to use any more than 5%, that's when you can start to lose points. [01:33:31.010 --> 01:33:35.770] For execution overhead, it's also 5%. For functionality, it's more of a step function. [01:33:35.770 --> 01:33:41.670] I think once you start to fail more than 90% of the polar failures, you drop down to 80% [01:33:41.670 --> 01:33:46.070] availability. And I think those are the only measurements that I can remember. [01:33:46.070 --> 01:33:50.530] Thank you. I appreciate it. And it was good to see that Rubius was able to recover. [01:33:51.050 --> 01:33:55.190] That was great information. And back to you, Hakeem. [01:33:55.190 --> 01:34:00.030] We now come to the last of our rematch challenges, Hat Trick. And it's modeled on [01:34:00.030 --> 01:34:05.070] vulnerabilities that gave rise to one of the oldest internet worms back in 1988, [01:34:05.070 --> 01:34:10.610] the Morris worm. That early worm exploited vulnerabilities in Unix protocols, wreaking [01:34:10.610 --> 01:34:15.790] havoc across the early internet. The great worm, as the Morris worm was later dubbed, [01:34:15.790 --> 01:34:19.610] was a wake-up call that opened the internet community's eyes to the need for security [01:34:19.610 --> 01:34:25.510] and prompted DARPA to create the Computer Emergency Response Team at Carnegie Mellon University. [01:34:25.510 --> 01:34:28.950] Basically, the interesting part that's going on here with Hat Trick is Hat Trick represents a [01:34:28.950 --> 01:34:35.110] fairly simple bug, but it's potentially subtle. And that subtlety has actually caused zero POVs [01:34:35.110 --> 01:34:39.130] being thrown against the Hat Trick service, which basically is interesting because [01:34:39.130 --> 01:34:43.690] the other services that have potentially even, I would say, more complicated vulnerabilities [01:34:43.690 --> 01:34:48.090] have had successful POVs thrown against them already. And so it's interesting to see, [01:34:48.090 --> 01:34:52.650] it'll be interesting to study whatever subtlety it was in the implementation of a Morris-like [01:34:52.650 --> 01:34:57.250] Hat Trick vulnerability that caused it to not actually be able to be POVed against so far. [01:34:57.250 --> 01:34:59.270] So it would be good to know what the bots are thinking here. [01:34:59.270 --> 01:35:03.690] Are they thinking to themselves, there are no vulnerabilities in this code? [01:35:03.690 --> 01:35:07.270] No, no, yeah. So the bots are probably having trouble with the scoping problem. [01:35:07.270 --> 01:35:10.870] So one of the things that's pretty common is when you're doing symbolic analysis, [01:35:10.870 --> 01:35:14.810] there's that whole state space problem. And the Morris worm, and specifically, [01:35:14.810 --> 01:35:19.050] the Morris worm had multiple vulnerabilities in it. And so in modeling that for this challenge set, [01:35:19.050 --> 01:35:23.010] the vulnerabilities themselves are present across multiple binaries. And so the scope [01:35:23.010 --> 01:35:27.110] that those analysis platforms would have to be aware of in order to trigger that [01:35:27.110 --> 01:35:30.790] might actually have to be aware of the fact that those two binaries are related to each other. [01:35:30.790 --> 01:35:35.210] Right. Now, as I participate in this game for the first time, and you're a former champion [01:35:35.210 --> 01:35:38.810] of DEF CON, I have one question. Sure, man. [01:35:38.810 --> 01:35:41.830] Does this belong in the Summer Olympics or the Winter Olympics? [01:35:42.450 --> 01:35:45.490] I don't know. I think that since we're here in Vegas in the middle of the summer, [01:35:45.490 --> 01:35:49.530] it probably belongs in the Summer Olympics, but that's about all I could guess. [01:35:49.530 --> 01:35:52.210] Yeah. So how many different types of hacker competitions are there? [01:35:52.210 --> 01:35:54.890] So there's a capture the flag type. What else exists? [01:35:54.890 --> 01:35:57.310] Yeah, I mean, for the most part, there are variants on capture the flag [01:35:57.310 --> 01:35:59.710] at a lot of different conferences the world over. [01:35:59.710 --> 01:36:03.810] And many of them actually act as qualifiers and feeders into DEF CON CTF. [01:36:03.810 --> 01:36:07.990] So there are a number of fairly newly introduced concepts that basically [01:36:07.990 --> 01:36:13.150] several of these other very famous hacking competitions that occur at other conferences [01:36:13.150 --> 01:36:18.110] throughout the year act as qualifying rounds for being able to play in DEF CON CTF. [01:36:18.110 --> 01:36:23.010] So in addition to having basically a place at the table because you played [01:36:23.010 --> 01:36:26.310] in the qualifying round for DEF CON CTF, some of those other competitions have been [01:36:26.310 --> 01:36:30.210] recognized as being significant enough to basically be drawn into the fold [01:36:30.210 --> 01:36:32.450] and automatically qualify a team to play. [01:36:32.450 --> 01:36:34.450] Is this a worldwide phenomenon? [01:36:34.450 --> 01:36:37.710] Oh, absolutely. That was one of the things that was really interesting to watch. [01:36:37.710 --> 01:36:42.270] As DEF CON CTF became a little bit more structured and a little bit more difficult [01:36:42.270 --> 01:36:45.970] and some of the challenges became harder, we saw teams come in from all over the world. [01:36:45.970 --> 01:36:49.750] So it was fairly normal for us to actually have troubles with things like significant [01:36:49.750 --> 01:36:55.050] language barriers and issues like that, which are less the case here during gameplay, [01:36:55.050 --> 01:36:59.430] maybe potentially during documentation reading for the decree platform or something. [01:36:59.430 --> 01:37:02.430] But during a lot of the other games, that internationalization, [01:37:02.430 --> 01:37:06.370] because it was being played by humans, caused this sort of more difficulty in communicating. [01:37:06.370 --> 01:37:10.390] Now, speaking of which, as I understand, the winner of the Cyber Grand Challenge [01:37:10.390 --> 01:37:12.550] will actually play against the humans at DEF CON CTF. [01:37:12.550 --> 01:37:14.570] So this is something we're totally looking forward to seeing. [01:37:14.570 --> 01:37:19.090] Yeah, the organizers of this year's DEF CON CTF have basically facilitated [01:37:19.670 --> 01:37:22.750] the decree platform being a part of their game this year, [01:37:22.750 --> 01:37:25.790] which means that the winning bot that comes out of this challenge [01:37:25.790 --> 01:37:30.850] is actually going to play against the humans in DEF CON CTF. [01:37:30.850 --> 01:37:34.050] So we don't expect the first year out, the bot to win, right? [01:37:34.050 --> 01:37:35.890] Right, that's really gracious of them, yeah. [01:37:36.510 --> 01:37:39.450] So yeah, I mean, the bottom line is we probably don't expect the bots [01:37:39.450 --> 01:37:42.290] the first year out to totally take over, right? [01:37:42.310 --> 01:37:46.690] There are certain types of bugs that the bots are better and faster at than we are. [01:37:46.690 --> 01:37:49.070] So if I could go out on a limb and make a prediction, [01:37:49.570 --> 01:37:52.270] if one of the vulnerabilities that gets rolled out [01:37:52.270 --> 01:37:56.470] during the initial stages of the DEF CON CTF inside of the decree platform [01:37:56.470 --> 01:37:59.730] is one of these more simplistic bugs, [01:38:00.230 --> 01:38:05.490] we could see, for the first time in a human and machine hacking competition, [01:38:05.490 --> 01:38:09.570] the machines score first because of that speed advantage that they have, [01:38:09.570 --> 01:38:11.350] which would be really, really cool. [01:38:11.350 --> 01:38:13.950] Cool. So humans have the complexity advantage. [01:38:13.950 --> 01:38:17.090] Absolutely. That state machine thing and that reduction of that state machine [01:38:17.090 --> 01:38:20.830] is something that manual reverse engineers are still way better at than the machines [01:38:20.830 --> 01:38:24.910] because we're better at sort of like estimating parts of that halting problem [01:38:24.910 --> 01:38:27.390] and dealing with that fact that it could be potentially infinite [01:38:27.390 --> 01:38:30.390] in ways that the machine calculation just hasn't managed to catch up with yet. [01:38:30.390 --> 01:38:32.130] What about offense versus defense? [01:38:32.290 --> 01:38:38.970] I think that the biggest thing about the playing offense that the machines can do is time. [01:38:38.970 --> 01:38:40.430] They can do it so quickly. [01:38:40.490 --> 01:38:43.510] The thing that they still wouldn't be able to do is to, [01:38:43.970 --> 01:38:46.630] or at least that we haven't been proving that they would in this instance, [01:38:46.630 --> 01:38:50.370] is being able to carry out sort of that more holistic approach to the game [01:38:50.370 --> 01:38:51.950] where they have to actually land a payload [01:38:51.950 --> 01:38:54.050] and try and do some of those more sysadmin-y things [01:38:54.050 --> 01:38:56.990] that they would do in a human CTF game. [01:38:56.990 --> 01:39:00.730] But that'll basically be challenges that the bots probably, [01:39:00.730 --> 01:39:03.550] the bot that gets into the DEF CON CTF will probably never see. [01:39:03.550 --> 01:39:07.010] It'll probably be a specific subset of the challenges, I would imagine, around decree. [01:39:07.010 --> 01:39:09.230] We'd have to check with the legitimate business syndicate [01:39:09.230 --> 01:39:11.750] to know whether or not the whole thing is being hosted that way. [01:39:11.770 --> 01:39:15.190] Speaking of the legitimate business syndicate, let's cut back to AceJ. [01:39:15.270 --> 01:39:17.910] Oh yes. As a member of the LBS, [01:39:17.910 --> 01:39:21.630] we are hosting all of our challenges on the CGC platform decree. [01:39:21.790 --> 01:39:23.750] And each and every one of them, of the challenges, [01:39:23.750 --> 01:39:27.890] should be accessible and able to be reasoned over by the CRS. [01:39:27.890 --> 01:39:34.070] We designed that on purpose so that we can have a human vComputer platform. [01:39:34.250 --> 01:39:39.370] So I have with me David Melski from TechX, whose CRS is Zandra. [01:39:39.370 --> 01:39:41.770] He's going to talk to us a little bit about formal methods, [01:39:41.770 --> 01:39:43.970] and especially in regards to CGC. [01:39:43.970 --> 01:39:48.770] Sure. I might not be the best person to talk about formal methods, [01:39:48.770 --> 01:39:52.990] but formal methods tend to focus on proving properties about the program. [01:39:52.990 --> 01:39:58.450] So often you'll see things like machine-checked proofs and automated theorem provers. [01:39:58.450 --> 01:40:01.710] And they're incredibly important for knowing that you have a piece of software [01:40:01.710 --> 01:40:06.010] that's doing what it's meant to do for a particular context. [01:40:06.370 --> 01:40:10.070] So they can also include static analysis methods. [01:40:10.070 --> 01:40:14.650] And there have been a lot of other DARPA programs, or there have been recent DARPA programs, [01:40:14.650 --> 01:40:19.430] that have been focusing a lot on using those formal methods to prove platforms [01:40:20.650 --> 01:40:24.450] that have certain important security properties that you can build upon. [01:40:24.530 --> 01:40:31.030] They're hard to use in this kind of automated, very short-term platform in CGC, [01:40:31.030 --> 01:40:35.030] but they're a very important part of this puzzle of solving security. [01:40:35.030 --> 01:40:38.350] But how hard is it to say... so it's easy to say, yes, like, oh, here's a vulnerability. [01:40:38.350 --> 01:40:41.810] How hard is it to actually say no? It's like solving the halting problem, right? [01:40:42.570 --> 01:40:43.770] When do you know to stop? [01:40:43.910 --> 01:40:53.350] Yeah. The halting problem says that there's no general-purpose algorithm that works for all programs. [01:40:53.450 --> 01:40:57.790] That doesn't mean that you can't prove things for specific programs. [01:40:58.270 --> 01:41:04.190] And so, in fact, often you can succeed in proving specific properties about specific programs. [01:41:04.190 --> 01:41:06.770] It's just that sometimes you're going to fail. [01:41:06.770 --> 01:41:09.830] But that's kind of an abstraction that doesn't matter, [01:41:09.830 --> 01:41:12.410] because you don't want to run all possible programs. [01:41:12.410 --> 01:41:14.230] You want to run your programs. [01:41:14.230 --> 01:41:17.510] And you can often prove things about them that are very important. [01:41:17.510 --> 01:41:20.730] Is there any reasoning inside of Zandra to tell it when to stop [01:41:20.730 --> 01:41:24.590] and use that computing power on something else? [01:41:25.050 --> 01:41:29.490] Sure. And, in fact, there's a whole interesting part of gameplay [01:41:29.490 --> 01:41:34.090] that we would have liked to explore more in terms of resource allocation and management. [01:41:34.090 --> 01:41:38.410] In fact, we drew an analogy early on that it was like managing [01:41:38.930 --> 01:41:42.230] a squad of non-player characters in a video game. [01:41:42.230 --> 01:41:47.350] We kind of similarly have a squad of specialists and applications [01:41:47.350 --> 01:41:51.590] that are trying to do different parts of the capture the flag, [01:41:51.590 --> 01:41:54.750] vulnerability discovery, exploit generation, patching, [01:41:54.750 --> 01:41:57.130] and managing all those resources complicated. [01:41:57.570 --> 01:42:02.350] That's one of the things on my long list of would have done with more time, [01:42:03.030 --> 01:42:09.890] as it is we try and pay attention to, you know, has the challenge set been retired? [01:42:10.290 --> 01:42:12.770] Do we think we can do anything more with it? [01:42:12.830 --> 01:42:15.490] Or is it time to use those resources somewhere else? [01:42:15.490 --> 01:42:17.550] But it's sort of simplistic rules. [01:42:17.570 --> 01:42:21.830] I like thinking of these things as sort of the players on a battlefield. [01:42:21.830 --> 01:42:23.450] That's a nice word, like a wow or something. [01:42:23.490 --> 01:42:26.150] Thank you for that. Back to you, Hakeem. [01:42:26.170 --> 01:42:27.150] Thank you, H.J. [01:42:27.190 --> 01:42:30.390] So how do the teams do versus Hat Trick? [01:42:30.390 --> 01:42:34.390] So that particular challenge set is made up of four binaries. [01:42:34.450 --> 01:42:37.670] And it looks like two teams did manage to patch the vulnerabilities, [01:42:37.670 --> 01:42:39.750] but we're not sure yet whether or not they patched that [01:42:39.750 --> 01:42:42.810] with a very specific patch that addressed the individual flaw [01:42:42.810 --> 01:42:44.890] or a more general purpose hardening technique [01:42:44.890 --> 01:42:46.750] that might have mitigated the risk of the flaw, [01:42:46.750 --> 01:42:48.650] but without even knowing what it was. [01:42:48.650 --> 01:42:50.990] Okay, so maybe H.J. knows more for us. [01:42:50.990 --> 01:42:53.950] H.J., tell us, sir, what happened with Hat Trick? [01:42:53.950 --> 01:42:55.630] So one thing that was interesting is that [01:42:55.630 --> 01:42:59.130] despite people being able to do these generic patches, [01:42:59.130 --> 01:43:02.230] no one was able to successfully do a POV against it. [01:43:02.230 --> 01:43:03.890] And it's surprising because the Hat Trick [01:43:03.890 --> 01:43:07.050] was just a basic stack based on Buffer Overflow, [01:43:07.050 --> 01:43:12.130] which is something you expect these amazing systems to be able to complete. [01:43:12.310 --> 01:43:14.470] So yeah, back to you, Hakeem. [01:43:14.830 --> 01:43:17.670] H.J., and your beard is still looking really good, my man. [01:43:17.670 --> 01:43:18.170] Thank you, sir. [01:43:18.170 --> 01:43:19.050] All right. [01:43:19.130 --> 01:43:22.970] So now let's take a look at the headlines so far of the matches. [01:43:23.030 --> 01:43:23.650] Vizzy. [01:43:23.650 --> 01:43:26.310] So it looks like we have some of that final data in for Hat Trick [01:43:26.310 --> 01:43:27.250] like we were talking about. [01:43:27.250 --> 01:43:29.650] If you guys remember, Hat Trick is our rematch challenge [01:43:29.650 --> 01:43:31.490] based on some of the MorisWorm data. [01:43:31.490 --> 01:43:35.490] And we definitely have two teams managing to actually patch this. [01:43:35.490 --> 01:43:39.150] But there's no particular evidence of anyone POVing it yet. [01:43:39.150 --> 01:43:40.390] Yeah, congratulations, guys. [01:43:40.390 --> 01:43:41.270] Well done. [01:43:41.470 --> 01:43:43.950] So the other thing that we have is some of the final wrap-up [01:43:43.950 --> 01:43:45.390] on address resolution service. [01:43:45.390 --> 01:43:47.310] Again, based on SQL Slammer. [01:43:47.310 --> 01:43:50.310] Six successful patches and six POVs. [01:43:50.310 --> 01:43:52.450] So this is one of those ones that this technology [01:43:52.450 --> 01:43:55.030] would have had a very dramatic impact back in the day. [01:43:55.290 --> 01:43:56.470] All right. [01:43:57.630 --> 01:43:59.830] SQL would not have been slammed. [01:43:59.890 --> 01:44:01.230] Yeah, absolutely. [01:44:01.450 --> 01:44:02.950] So secure server wrap-up. [01:44:02.950 --> 01:44:04.150] We've got some information. [01:44:04.150 --> 01:44:06.790] Again, this one was the one that was based on Heartbleed. [01:44:06.790 --> 01:44:10.490] It looks like six patches deployed, but only one POV. [01:44:10.490 --> 01:44:12.950] Which means that whichever system that was, [01:44:12.950 --> 01:44:15.330] and if I recall correctly, it might have been MechaFish. [01:44:15.330 --> 01:44:17.970] They basically were the only ones that we have evidence [01:44:17.970 --> 01:44:20.650] that they managed to reason about it successfully so far. [01:44:20.830 --> 01:44:21.850] But everyone was able to... [01:44:21.850 --> 01:44:22.830] But everyone was able... [01:44:22.830 --> 01:44:23.870] Actually, six teams. [01:44:23.870 --> 01:44:24.850] Six or seven. [01:44:24.850 --> 01:44:28.170] Were able to deploy a patch that basically at least protected, [01:44:28.170 --> 01:44:30.650] even if it was unknown what it did to protect it. [01:44:30.650 --> 01:44:32.330] It may have been one of those general purpose things [01:44:32.330 --> 01:44:33.390] like we've spoken about before [01:44:33.390 --> 01:44:36.550] that successfully defended those services for them. [01:44:36.550 --> 01:44:38.910] But either way, they patched it without breaking it, [01:44:38.910 --> 01:44:41.290] without significantly negatively impacting its performance, [01:44:41.290 --> 01:44:44.950] and managed to defend that service with automated code patching. [01:44:45.010 --> 01:44:47.490] Yes, and so this is like in the nick of not time [01:44:47.490 --> 01:44:49.390] because this is a very recent problem. [01:44:49.390 --> 01:44:50.130] Absolutely, yeah. [01:44:50.130 --> 01:44:51.090] Yeah, totally. [01:44:52.430 --> 01:44:57.490] So it looks like we've also got some continuing data coming in on MS08-067. [01:44:57.670 --> 01:45:00.690] It looks like the CGCRPC server, like we've talked about, [01:45:00.690 --> 01:45:03.390] there were four teams that managed to successfully patch it. [01:45:03.390 --> 01:45:05.630] And again, only one POV. [01:45:05.630 --> 01:45:07.170] That's really fantastic. [01:45:07.170 --> 01:45:09.350] One of the things that we were really kind of hoping to see here, [01:45:09.350 --> 01:45:12.110] we didn't really want to create the scale too low or too high. [01:45:12.110 --> 01:45:15.250] One of the really dreaded things in CTF hosting, [01:45:15.250 --> 01:45:17.530] if you're familiar with any of the other games, [01:45:17.530 --> 01:45:20.330] is it's very possible to create things that are way too easy [01:45:20.330 --> 01:45:22.290] and create things that are way too hard. [01:45:22.370 --> 01:45:25.090] And getting a good spread spectrum of things all the way through [01:45:25.090 --> 01:45:28.330] sort of allows you to feel like you actually are gaining a measurement, right? [01:45:28.330 --> 01:45:30.210] If you have a thermometer and you're trying to measure the temperature [01:45:30.210 --> 01:45:31.570] and it hits the top of the scale, [01:45:31.570 --> 01:45:32.970] you have no idea what it was, right? [01:45:32.970 --> 01:45:34.370] You didn't get an accurate reading. [01:45:34.370 --> 01:45:36.870] And so we really are glad to see a lot of these things [01:45:36.870 --> 01:45:39.310] being very difficult but still being achieved, [01:45:39.310 --> 01:45:42.030] and a few that are actually not getting achieved yet. [01:45:42.030 --> 01:45:44.970] So where does this fit into what's already happened? [01:45:44.970 --> 01:45:49.130] So have people actually taken these real-world vulnerabilities [01:45:49.130 --> 01:45:52.930] and tested against bots in the lab before this sort of event? [01:45:53.170 --> 01:45:56.790] I mean, people have tried out some automated patching techniques, [01:45:56.790 --> 01:46:00.590] but there's been very little of that that's deployed widely in production. [01:46:00.590 --> 01:46:02.690] There are certain very specialized subsystems [01:46:02.690 --> 01:46:05.210] and certain industries that are capable of these kind of things, [01:46:05.210 --> 01:46:08.490] but it's also usually because they themselves have a reduced set [01:46:08.490 --> 01:46:12.470] or some kind of language that they use that creates a smaller state space [01:46:12.470 --> 01:46:15.370] than some of the general-purpose computing that we've seen so far. [01:46:15.370 --> 01:46:18.150] So basically, the gist of it is, in a lot of instances, [01:46:18.150 --> 01:46:21.230] it's only very nichey areas that have managed to deploy anything like this, [01:46:21.230 --> 01:46:24.350] and this is introducing us to this much more complex field space [01:46:24.350 --> 01:46:26.730] in a much more production-sensitive environment. [01:46:26.730 --> 01:46:29.190] All right, I hear we have something coming in about Linkbug. [01:46:29.230 --> 01:46:32.050] It looks like we have the wrap-up on the Linkbug. [01:46:32.050 --> 01:46:35.090] Six patches and one POV, it seems to be a trend. [01:46:35.090 --> 01:46:35.970] Yeah, absolutely. [01:46:35.970 --> 01:46:40.670] So it looks like both of those last two POVs came in from Mayhem, [01:46:40.670 --> 01:46:43.270] so they are definitely doing very, very well [01:46:43.270 --> 01:46:46.530] in proving vulnerabilities against the other bots. [01:46:46.530 --> 01:46:46.990] All right. [01:46:46.990 --> 01:46:51.090] And then coming back all the way around to Mail Server, based on CrackAdder... [01:46:51.090 --> 01:46:51.990] Which is the most difficult, right? [01:46:51.990 --> 01:46:53.710] Which was definitely one of the ones that was most difficult. [01:46:53.710 --> 01:46:56.450] And is it possible that nothing may have succeeded against it? [01:46:56.450 --> 01:46:59.110] State machine bugs are very hard. [01:46:59.110 --> 01:47:02.230] One managed to pull it off, just like we saw from before. [01:47:02.230 --> 01:47:04.950] Two were patched, but one managed to pull this off. [01:47:04.950 --> 01:47:08.850] And this one, like we said before, was sort of slicing the difference [01:47:08.850 --> 01:47:12.330] between the reduced version that Halvar created as an exemplar [01:47:12.330 --> 01:47:14.830] of why these types of bugs are difficult to deal with, [01:47:14.830 --> 01:47:17.450] and the original bug and its level of complexity. [01:47:17.450 --> 01:47:18.650] So this is right in the middle. [01:47:18.650 --> 01:47:21.630] It definitely represents a new achievement in program analysis. [01:47:21.630 --> 01:47:23.270] Because of that level of complexity, [01:47:23.270 --> 01:47:25.590] that one team should be super, super proud of that. [01:47:25.670 --> 01:47:26.490] Wonderful. [01:47:26.490 --> 01:47:28.110] Definitely MechaFish also. [01:47:31.910 --> 01:47:35.590] As a professor, I love it when students do something well. [01:47:35.750 --> 01:47:36.310] Yeah, absolutely. [01:47:36.310 --> 01:47:37.930] And break breakthroughs. [01:47:38.190 --> 01:47:41.090] So we have scores in from round 60. [01:47:41.090 --> 01:47:42.210] Let's take a look. [01:47:42.270 --> 01:47:43.850] Looks like Mayhem is still in the lead, [01:47:43.850 --> 01:47:45.750] with Zandra following fairly closely behind. [01:47:45.750 --> 01:47:48.610] They haven't really managed to pull away too far. [01:47:48.610 --> 01:47:51.970] MechaFish managing also to still give them a run for the money. [01:47:51.970 --> 01:47:54.510] Basically, as this round 60 data goes on, [01:47:54.510 --> 01:47:57.470] we can actually see only a slight bit of divergence. [01:47:57.470 --> 01:48:00.570] And actually, this is more of an even neck-and-neck performance [01:48:00.570 --> 01:48:03.130] than I had actually originally anticipated. [01:48:03.130 --> 01:48:07.110] My bets were that we were going to see one bot sort of stumble very early [01:48:07.110 --> 01:48:08.210] and never manage to recover. [01:48:08.210 --> 01:48:09.710] And we totally haven't seen that here. [01:48:09.710 --> 01:48:13.510] There's only been sort of minor variance causing these sort of difficulties. [01:48:13.510 --> 01:48:17.090] And as we can see, right in here, it's these little peel-away moments [01:48:17.090 --> 01:48:19.530] that are sort of the trouble for some of these teams, [01:48:19.530 --> 01:48:22.570] where basically something like most-of-the-time availability [01:48:22.570 --> 01:48:25.130] has caused them to just have a couple of rounds [01:48:25.130 --> 01:48:27.010] that were not maybe quite as good, right? [01:48:27.010 --> 01:48:29.110] So we know for a fact, actually, one of the things that we've seen [01:48:29.110 --> 01:48:30.990] that's pretty interesting with MechaFish so far [01:48:30.990 --> 01:48:33.930] is that they've actually had instances where they've deployed a patch [01:48:33.930 --> 01:48:37.390] and then subsequently decided that it wasn't passing polls anymore, [01:48:37.390 --> 01:48:39.050] it wasn't performing significantly enough. [01:48:39.050 --> 01:48:40.990] And it seems like their bot actually has logic [01:48:40.990 --> 01:48:42.910] to pull that patch back out of production [01:48:42.910 --> 01:48:45.190] and revert to the original binary. [01:48:45.190 --> 01:48:47.610] So that's some of that game theory stuff like we wanted, right? [01:48:47.610 --> 01:48:48.970] Like we were hoping to see. [01:48:48.970 --> 01:48:50.590] And when they revert back to that, [01:48:50.590 --> 01:48:54.330] we've never seen them actually deploy a patch for that service again. [01:48:54.330 --> 01:48:57.170] So it's almost like they have that very defensive, [01:48:57.170 --> 01:48:59.470] once you've decided that it's no longer okay to patch that [01:48:59.470 --> 01:49:02.410] or that your machine didn't manage to generate a correct patch for it, [01:49:02.410 --> 01:49:03.470] they just don't touch it. [01:49:03.470 --> 01:49:06.830] And that's probably indicative of some of their history in CTF, [01:49:06.830 --> 01:49:10.750] where oftentimes not patching is a perfectly acceptable strategy. [01:49:10.750 --> 01:49:14.650] The race for third looks incredibly tight. [01:49:14.670 --> 01:49:15.350] Absolutely. [01:49:15.350 --> 01:49:19.210] So if you come in fourth, you do not receive a prize. [01:49:19.210 --> 01:49:19.930] Yeah, that's true. [01:49:19.930 --> 01:49:20.690] There's absolutely... [01:49:20.690 --> 01:49:25.190] Well, other than the everlasting fame and glory of being here at all. [01:49:25.190 --> 01:49:25.670] That's right. [01:49:25.670 --> 01:49:27.210] So being a finalist at all, [01:49:27.210 --> 01:49:28.830] I don't know if everybody got a chance to go over [01:49:28.830 --> 01:49:31.170] some of the background for the qualifying event, [01:49:31.170 --> 01:49:35.770] but hundreds of teams actually attempted to qualify for this particular event. [01:49:35.770 --> 01:49:38.990] And so just being here at all is a very significant thing. [01:49:38.990 --> 01:49:40.230] But I think that what we're seeing here [01:49:40.230 --> 01:49:43.150] is that there's not... [01:49:43.850 --> 01:49:44.730] Awesome. [01:49:46.090 --> 01:49:48.930] Is that there's not actually that radical of a difference. [01:49:48.930 --> 01:49:51.410] We were actually early on preparing for this potential [01:49:51.410 --> 01:49:53.970] to sort of break away lead, if you remember. [01:49:53.970 --> 01:49:55.950] Right, there were qualifying rounds, right? [01:49:55.950 --> 01:49:57.630] And we saw these bots performing. [01:49:57.630 --> 01:49:58.410] Yep, absolutely. [01:49:58.410 --> 01:50:02.170] And so we had actually sort of prepared ourselves for this breakaway lead thing, [01:50:02.170 --> 01:50:06.430] and we're really glad to be able to see all the teams continuing to do really well. [01:50:06.510 --> 01:50:08.710] So one of the other views that we've got available to us [01:50:08.710 --> 01:50:10.750] is actually called the cubes view. [01:50:10.830 --> 01:50:13.310] And we've managed to basically create an environment where, [01:50:13.310 --> 01:50:15.350] on the plane here in two dimensions, [01:50:15.350 --> 01:50:18.650] we have the bots listed as well as the individual challenges. [01:50:18.650 --> 01:50:21.570] And then for each of those spots in that plane, [01:50:21.570 --> 01:50:26.010] we have a cube that can project three dimensions of data, of scoring information. [01:50:26.010 --> 01:50:28.910] I have to interrupt. The correct term is rectangular prism. [01:50:29.050 --> 01:50:30.770] That's absolutely correct. [01:50:31.010 --> 01:50:33.870] Right. Thank you. Thank you. [01:50:33.870 --> 01:50:37.970] So what we can see here is actually that any three aspects of scoring [01:50:37.970 --> 01:50:42.410] or the data that we're gathering could be projected in that rectangular prism. [01:50:42.410 --> 01:50:42.990] Is that right? [01:50:42.990 --> 01:50:45.330] But in this instance, we're seeing sort of the default view. [01:50:45.330 --> 01:50:49.970] And so we can see basically along each of the axes is security, [01:50:49.970 --> 01:50:52.950] evaluation, and availability, like you can see in the graphic here. [01:50:52.950 --> 01:50:57.590] So in instances, for example, where we see these flattened out... [01:50:58.970 --> 01:50:59.770] Flattened out? [01:51:00.330 --> 01:51:00.990] Cubes. [01:51:00.990 --> 01:51:01.830] Yeah, they're flat. [01:51:01.830 --> 01:51:02.570] Will go. [01:51:02.830 --> 01:51:06.490] That's actually the availability score suffering for those. [01:51:06.490 --> 01:51:12.630] So we can basically see each individual element of a team's score over the course of round 60. [01:51:12.630 --> 01:51:16.770] So for example, we can see that Mayhem has managed to maintain security [01:51:16.770 --> 01:51:20.790] on nearly all of their challenges for this particular round. [01:51:20.790 --> 01:51:25.210] And in a couple of other instances, we can see successful evaluations being carried out [01:51:25.210 --> 01:51:29.870] by these areas where we see the cubes expand along this axis, this direction. [01:51:30.030 --> 01:51:34.590] Yeah, that seems like the one case where they're doing better on evaluation and security. [01:51:34.590 --> 01:51:36.990] So these little guys like here... [01:51:38.150 --> 01:51:39.490] There we go. [01:51:39.610 --> 01:51:43.030] We can see that as some of these head toward that evaluation space, [01:51:43.030 --> 01:51:45.330] those are the teams that are managing to successfully evaluate [01:51:45.330 --> 01:51:49.300] or successfully prove vulnerabilities in the other team's deployed software. [01:51:51.250 --> 01:51:54.990] So next up, we have the arena view from round 60, [01:51:54.990 --> 01:51:58.690] which as we'll see is an extremely busy round like they all are. [01:51:58.690 --> 01:52:04.430] We've only got one remaining of the original rematch challenges still in play. [01:52:04.590 --> 01:52:07.470] But you can see actually early on Galactica jumps out [01:52:07.470 --> 01:52:09.770] and actually throws a bunch of successful POVs, [01:52:09.770 --> 01:52:12.830] which we can see here because of these blue circles [01:52:12.830 --> 01:52:15.610] occurring inside of other teams' services, right? [01:52:15.610 --> 01:52:16.150] That's right. [01:52:16.150 --> 01:52:18.410] And so that's actually Galactica managing to successfully [01:52:18.410 --> 01:52:21.790] and then stealing back those colors and ending up being able to render it here. [01:52:21.830 --> 01:52:25.090] But as we mentioned before, even in these late rounds, [01:52:25.230 --> 01:52:27.570] a lot of these teams are still patching, still deploying patches [01:52:27.570 --> 01:52:29.390] and are still down for those rounds. [01:52:29.450 --> 01:52:32.030] Yep, as we see there and there, for sure. [01:52:32.030 --> 01:52:34.950] And then in a couple of instances, we've even got teams [01:52:34.950 --> 01:52:38.030] that are having and suffering availability problems, [01:52:38.030 --> 01:52:40.810] MechaFish, for example, and Rubius. [01:52:40.890 --> 01:52:43.330] And because those are not immediately shrunk down [01:52:43.330 --> 01:52:45.890] to being the tiniest little possible black space, [01:52:45.890 --> 01:52:49.510] that means that they're suffering from availability problems due to performance. [01:52:49.570 --> 01:52:54.970] So essentially, in our game, as the evaluation for availability occurs, [01:52:54.970 --> 01:52:57.170] if it's not functioning correctly at all, [01:52:57.170 --> 01:52:59.470] if it's not responding with the correct information, [01:52:59.470 --> 01:53:01.610] that'll just cause it to immediately go to zero. [01:53:01.610 --> 01:53:05.150] You'll get that smallest possible black tile in the middle. [01:53:05.150 --> 01:53:08.350] But these ones that are of reduced size but not dropped all the way down, [01:53:08.350 --> 01:53:10.590] that's because they're capable of incrementally losing [01:53:10.590 --> 01:53:14.310] some of their availability score due just to performance. [01:53:14.310 --> 01:53:16.910] Now, what is going on right here? I see a couple of intersecting... [01:53:16.910 --> 01:53:19.870] Absolutely, yeah. So the little secondary gear that we see there, [01:53:19.870 --> 01:53:24.010] we mentioned earlier on that the team's bots are capable of deploying IDS rules. [01:53:24.070 --> 01:53:27.910] So when they deploy an IDS rule, just like deploying a patched binary, [01:53:27.910 --> 01:53:30.670] that IDS rule causes that service to be down for that round [01:53:30.670 --> 01:53:34.830] and the team to not be able to score either security or to prove vulnerabilities, [01:53:34.830 --> 01:53:37.470] carry out offense against the other teams. [01:53:37.470 --> 01:53:39.990] But basically, this strategy that we're seeing here [01:53:39.990 --> 01:53:45.790] most specifically represents patching the binary and the IDS rules at the same time, [01:53:45.790 --> 01:53:48.450] which is probably a good strategy considering the fact that otherwise [01:53:48.450 --> 01:53:51.350] you'd have to have a down cycle for each of them. [01:53:51.350 --> 01:53:52.070] I see. [01:53:53.030 --> 01:53:56.790] So up and coming, we have some POV data coming in. [01:53:56.790 --> 01:54:00.510] So we're seeing, as an example, you can see all the POVs being thrown. [01:54:00.510 --> 01:54:04.530] We mentioned that per service, it's possible for an individual bot [01:54:04.530 --> 01:54:09.970] to try to throw a POV against another team's service up to 10 times in that one round. [01:54:09.970 --> 01:54:14.550] So some of the bots that we've seen are actually taking this very aggressive approach [01:54:14.550 --> 01:54:17.990] where even without potentially all of the information that would be necessary [01:54:17.990 --> 01:54:21.270] to prove that vulnerability, they're trying it out based on what they've got. [01:54:21.270 --> 01:54:23.850] And we're seeing others that are a little bit more specific [01:54:23.850 --> 01:54:27.930] and will only throw the POV when they're quite certain that they know where it is. [01:54:27.930 --> 01:54:31.810] So for example, Rubius is a good example of throwing the POVs [01:54:32.310 --> 01:54:34.910] and having them sometimes land and sometimes not. [01:54:34.910 --> 01:54:37.150] All right, so we have some scores coming up. [01:54:37.390 --> 01:54:39.230] Here we go. Round 60. [01:54:39.430 --> 01:54:41.690] So the overall listings we can see here. [01:54:41.690 --> 01:54:44.290] Basically, it seems like pretty much all the teams that are in the lead [01:54:44.290 --> 01:54:46.750] are managing to maintain their availability scores. [01:54:46.790 --> 01:54:50.130] It looks like Gma and Crispy might be having a little bit of trouble in that arena [01:54:50.130 --> 01:54:54.090] and that might be causing them to end up on the lower end of the scoreboard currently. [01:54:54.090 --> 01:54:58.330] The upper end, we're definitely seeing both security and evaluation. [01:54:58.330 --> 01:55:01.530] We're not seeing a runaway game from either just defense or just offense. [01:55:01.530 --> 01:55:04.570] It's a very balanced approach that it seems like the bots are taking, [01:55:04.570 --> 01:55:08.190] which again kind of plays back into some of that game theory stuff that we were hoping for. [01:55:08.550 --> 01:55:11.030] So coming up, we're going to see some of the polling data [01:55:11.030 --> 01:55:14.630] from basically the scoring server for round 60. [01:55:14.730 --> 01:55:17.910] In this instance, we can see just a couple of them are down. [01:55:18.110 --> 01:55:20.410] Most of them are still responding correctly. [01:55:20.510 --> 01:55:23.990] So like we mentioned, we can see the availability issues that are going on here [01:55:23.990 --> 01:55:26.610] where we can see that the service polls are still green, right? [01:55:26.610 --> 01:55:29.690] Those little dots at the last second are still staying green all the way through [01:55:29.690 --> 01:55:33.230] versus some of these other ones that are in the process of being patched, for example. [01:55:33.230 --> 01:55:36.890] We can see going in and turning red right at the last second. [01:55:37.530 --> 01:55:41.570] So basically what that means is like we mentioned that we speculated before, [01:55:41.570 --> 01:55:45.930] it does seem like the polling data is showing that those availability issues [01:55:45.930 --> 01:55:49.230] that a bunch of the teams are having right now are actually more about performance [01:55:49.230 --> 01:55:52.970] than they are about having created patches that break the software. [01:55:52.970 --> 01:55:54.750] Okay, so we're going to go down to H.J. [01:55:54.750 --> 01:55:57.570] He has more information for us from the pit. [01:55:57.950 --> 01:56:00.730] I have with me Alex from For All Secure. [01:56:00.730 --> 01:56:03.630] He's going to talk to us about the scores for round 60. [01:56:03.630 --> 01:56:06.310] So you're currently in the lead with a 10,000 point lead. [01:56:06.310 --> 01:56:07.170] How are you feeling? [01:56:07.970 --> 01:56:10.290] We're still excited to be in the lead. [01:56:10.890 --> 01:56:14.630] So DARPA released the submissions during the competition [01:56:14.630 --> 01:56:16.370] and we have been looking at that. [01:56:16.470 --> 01:56:21.110] And unfortunately, it seemed that our system had a technical difficulty [01:56:21.110 --> 01:56:24.170] and stopped submitting patches and POVs. [01:56:24.170 --> 01:56:27.330] So we kind of hope that we build a big enough lead [01:56:27.330 --> 01:56:30.710] that we can just hide it out until the end of the game. [01:56:30.710 --> 01:56:33.150] Do we have any idea what caused this technical difficulty? [01:56:33.150 --> 01:56:36.230] It looks like our system is not keeping up [01:56:36.230 --> 01:56:41.710] and not downloading regular updates from the team interface from DARPA. [01:56:41.710 --> 01:56:46.030] So we're still playing on the binaries that were released like hands ago [01:56:46.030 --> 01:56:48.070] that are now not in play anymore. [01:56:48.070 --> 01:56:48.950] Oh, I see. [01:56:49.750 --> 01:56:51.630] Yeah, so we'll see what happens. [01:56:51.910 --> 01:56:55.670] A friend of mine mentioned that, you know, the only move is not to play. [01:56:55.670 --> 01:56:56.550] The only... [01:56:56.550 --> 01:56:58.070] Oh, shit, I missed the code. [01:56:59.350 --> 01:57:01.690] The only way to win is not to play. [01:57:02.570 --> 01:57:05.610] So the upside is at least that availability is a huge portion of the score. [01:57:05.610 --> 01:57:07.270] And since you're not making any modifications, [01:57:07.270 --> 01:57:09.990] your availability should remain as high as possible. [01:57:09.990 --> 01:57:13.970] So we'll have perfect overheads, very performant binaries. [01:57:14.010 --> 01:57:16.870] As soon as teams have a POV, [01:57:16.870 --> 01:57:19.490] unfortunately, we won't be able to protect against it. [01:57:19.490 --> 01:57:19.810] I see. [01:57:19.810 --> 01:57:25.010] And obviously, we'll also not get any evaluation point by exploiting other teams. [01:57:25.010 --> 01:57:28.550] Well, thank you. I'm sorry to hear about the issue, but good luck. [01:57:28.550 --> 01:57:29.290] Thanks. [01:57:29.290 --> 01:57:33.470] So it looks like we have data coming in from Galactica scoring perfect points [01:57:33.470 --> 01:57:37.290] on a challenge that we call Whack Jack against the original binaries. [01:57:37.290 --> 01:57:40.730] So basically, they managed to actually score perfectly [01:57:40.730 --> 01:57:43.970] against all the teams in the original binaries, [01:57:43.970 --> 01:57:46.690] probably because they managed to turn it around so fast. [01:57:46.690 --> 01:57:49.330] All right, I hear that HJ has Galactica down in the pit. [01:57:49.330 --> 01:57:50.490] Let's hear from them. [01:57:50.490 --> 01:57:53.330] I have the team lead from Galactica here. [01:57:53.330 --> 01:57:55.850] So you were able to accomplish this task. [01:57:55.850 --> 01:57:59.510] What do you actually think about it in terms of your solution? [01:58:00.270 --> 01:58:05.410] We kind of used some generic defense against the vulnerabilities. [01:58:05.410 --> 01:58:10.590] We thought that maybe found by other teams, but not by ours. [01:58:10.590 --> 01:58:13.610] So we used some generic defense. [01:58:13.610 --> 01:58:16.870] So in this case, we also considered the availability scores [01:58:16.870 --> 01:58:23.070] and we used some optimizations to make our overhead as low as possible. [01:58:23.070 --> 01:58:28.730] For example, we used some free space in the original code section and so on. [01:58:28.730 --> 01:58:32.490] So it works for most binaries. [01:58:32.490 --> 01:58:35.110] Excellent. So I'm actually kind of curious, since we haven't spoken much, [01:58:35.110 --> 01:58:39.410] is there anything particularly about your CRS that you're proud of? [01:58:39.410 --> 01:58:48.470] Yeah, we actually use a lot of research work and make them into practice. [01:58:48.470 --> 01:58:56.830] So our team is composed of several research teams who have done a lot of work in this field. [01:58:56.830 --> 01:59:03.290] We are from UC Berkeley and Syracuse and also S2E team. [01:59:03.290 --> 01:59:07.930] So we did a lot of research in the binary analysis program hardening [01:59:07.930 --> 01:59:10.150] and also exploit generation. [01:59:10.630 --> 01:59:14.910] How far has the CGC program allowed you to push the envelope [01:59:14.910 --> 01:59:16.790] for the state-of-the-art in program analysis? [01:59:17.050 --> 01:59:18.770] Yeah, it helps a lot. [01:59:18.770 --> 01:59:24.290] Actually, we tried many new solutions in this project [01:59:24.290 --> 01:59:29.390] and some of them actually didn't work well, finally, [01:59:29.390 --> 01:59:33.370] and so we didn't integrate those components into our system. [01:59:33.370 --> 01:59:37.610] But actually, we tried, for example, the advanced data attack, [01:59:37.610 --> 01:59:39.750] which is a type 2 attack here. [01:59:40.130 --> 01:59:42.950] And a type 2 attack is, for everybody else, [01:59:42.950 --> 01:59:46.590] is one that you're able to actually pull back data from the target and submit [01:59:46.590 --> 01:59:52.490] as opposed to like a code flow integrity issue. [01:59:52.510 --> 01:59:54.670] Thank you, I appreciate it. [01:59:55.390 --> 01:59:57.530] And back to you, Hakeem. [01:59:57.530 --> 01:59:58.550] Thank you, H.J. [01:59:58.630 --> 02:00:02.830] We are getting data in from rounds 91 through 95, so... [02:00:02.830 --> 02:00:04.910] So it's 96 rounds, so we're coming down the homestretch. [02:00:04.910 --> 02:00:05.810] We're coming down the homestretch. [02:00:05.810 --> 02:00:09.470] So we have round 91 scores coming in. [02:00:09.470 --> 02:00:11.210] So actually, when we mentioned earlier before [02:00:11.210 --> 02:00:13.530] that we had seen Mayhem's bot go offline, [02:00:13.530 --> 02:00:16.610] for this round, they are actually offline. [02:00:16.610 --> 02:00:18.510] The interesting part that we're going to see here, though, [02:00:18.510 --> 02:00:22.510] is, like we had mentioned, it's not necessarily that negatively impacting. [02:00:22.510 --> 02:00:24.090] There are certain time periods in the game [02:00:24.090 --> 02:00:26.430] when doing nothing is not that terrible. [02:00:26.470 --> 02:00:28.430] And so in this instance, actually, [02:00:28.430 --> 02:00:31.810] basically, many of the teams are not throwing POVs at the time. [02:00:31.810 --> 02:00:35.790] We're not seeing new scores being tallied as a result of those POVs. [02:00:35.790 --> 02:00:39.230] The approach that they happen to be inadvertently taking [02:00:39.230 --> 02:00:41.230] due to their bot not responding right now [02:00:41.230 --> 02:00:43.290] is actually not really hurting them that much. [02:00:43.290 --> 02:00:44.850] They're still managing to maintain that lead [02:00:44.850 --> 02:00:47.950] because they had a reasonable lead to begin with. [02:00:47.950 --> 02:00:50.790] And then additionally, because right now, in this portion of the game, [02:00:50.790 --> 02:00:52.630] so few POVs are being thrown [02:00:52.630 --> 02:00:56.090] that it's not really negatively impacting their security score. [02:00:56.650 --> 02:00:59.390] But how are they available if they're down? [02:00:59.390 --> 02:01:00.370] They're not available. [02:01:00.370 --> 02:01:01.710] So you get zero? [02:01:01.890 --> 02:01:02.550] For those... [02:01:02.550 --> 02:01:05.410] Well, no, their services are still available [02:01:05.410 --> 02:01:08.290] because they haven't replaced them. [02:01:08.290 --> 02:01:08.710] Oh, I see. [02:01:08.710 --> 02:01:10.570] They're not issuing any new updates. [02:01:10.570 --> 02:01:12.810] They're not sending any requests for POVs. [02:01:12.810 --> 02:01:15.370] So the service itself is still online, [02:01:15.370 --> 02:01:18.270] but the bot is no longer requesting updates to it [02:01:18.270 --> 02:01:20.170] and is no longer trying to carry out POVs. [02:01:21.110 --> 02:01:22.810] So here is an arena view. [02:01:22.810 --> 02:01:25.350] Yep, so here we see the arena view for round 91. [02:01:25.550 --> 02:01:27.190] And we can see Mayhem again. [02:01:27.190 --> 02:01:29.870] It looks like they still have many of their services online, right? [02:01:29.870 --> 02:01:32.810] We can see they're patched or they're not patched, [02:01:32.810 --> 02:01:34.050] but they're maintaining security. [02:01:34.050 --> 02:01:35.750] There are a few of them that are getting owned. [02:01:35.750 --> 02:01:38.010] Like I said, there's still a few POVs flying around. [02:01:38.170 --> 02:01:41.470] MechaFish, Rubius managing to land some stuff, Galactica too. [02:01:41.510 --> 02:01:43.330] Looks like just about everybody a little bit. [02:01:43.330 --> 02:01:44.850] But for example, this instance here... [02:01:45.750 --> 02:01:47.570] Let's let that go just a hair further. [02:01:48.410 --> 02:01:50.310] You can see just barely through here. [02:01:50.310 --> 02:01:52.390] It might be actually easier to see when it's in motion. [02:01:52.390 --> 02:01:55.370] But this tile for Rubius shows that they've managed to acquire [02:01:55.370 --> 02:01:58.610] several of those little colored chips from the other ones carrying out POVs, [02:01:58.610 --> 02:02:01.370] but they're actually getting less of the total score than they could [02:02:01.370 --> 02:02:03.050] because of availability there. [02:02:03.050 --> 02:02:06.930] But as we can see, it looks like Mayhem not being significantly negatively impacted [02:02:06.930 --> 02:02:11.470] by their bot becoming unresponsive as far as our measurement goes. [02:02:12.790 --> 02:02:15.890] And still successful POVs being thrown by Galactica. [02:02:16.330 --> 02:02:18.070] I wonder if potentially... [02:02:18.070 --> 02:02:19.790] Were they throwing against Mayhem that round? [02:02:19.790 --> 02:02:22.370] Oh yeah, it looks like for that one service, we can see here [02:02:22.790 --> 02:02:25.590] Galactica throwing successfully against Mayhem. [02:02:25.590 --> 02:02:28.690] And we can see that Mayhem's service over here has lost its white border. [02:02:28.690 --> 02:02:31.130] So they are losing a few, but it's really not enough [02:02:31.130 --> 02:02:32.410] because of that lead that they had. [02:02:32.410 --> 02:02:34.130] It's not enough to kick them downward. [02:02:34.170 --> 02:02:37.830] And they may not have had any patches at the time to replace those binaries with [02:02:37.830 --> 02:02:39.630] even had their bot been online. [02:02:39.650 --> 02:02:40.090] Right, exactly. [02:02:40.090 --> 02:02:41.370] It's really kind of one of those like... [02:02:41.370 --> 02:02:44.090] It's an amazing time period in the game where it's possible for [02:02:44.090 --> 02:02:48.450] that sort of unavailability to not really have too much of a negative impact. [02:02:48.450 --> 02:02:51.610] Well, we'll get to see how this evolves because right now we're looking at 91 [02:02:51.610 --> 02:02:54.010] and now round 92 data is available. [02:02:54.010 --> 02:02:57.190] Yep, and so in round 92, they are definitely still [02:02:57.190 --> 02:03:00.450] not actually issuing any update requests. [02:03:00.450 --> 02:03:03.390] 3 and 4 and 5 and 6, they're really tight. [02:03:03.390 --> 02:03:07.450] Yeah, this is definitely a much tighter overall contest than I thought it would be. [02:03:07.450 --> 02:03:10.350] I thought we'd see a much more spread spectrum because oftentimes [02:03:10.350 --> 02:03:16.190] in the human CTFs, we're used to seeing a very large spread spectrum. [02:03:16.190 --> 02:03:16.530] Right. [02:03:16.530 --> 02:03:19.730] And seeing some of these runaway challenges. [02:03:19.730 --> 02:03:23.130] And occasionally we've even seen some of the challengers in those runaway games [02:03:23.130 --> 02:03:26.670] do things like play Guitar Hero on projectors [02:03:26.670 --> 02:03:28.790] rather than actually continue playing their game. [02:03:28.790 --> 02:03:29.990] Yeah, they like to... [02:03:30.630 --> 02:03:31.490] Show off. [02:03:31.490 --> 02:03:34.150] Exactly, that's right. Rub their nose in it. [02:03:34.150 --> 02:03:37.130] So we have the Arena View from round 94. [02:03:37.310 --> 02:03:39.710] So in round 94, something very interesting happens. [02:03:39.710 --> 02:03:41.850] We see Mayhem wake back up. [02:03:41.850 --> 02:03:45.510] So Mayhem actually has come back online in round 94 [02:03:45.510 --> 02:03:47.750] and their bot has managed... yep. [02:03:50.600 --> 02:03:54.560] And as it comes back up, it looks like they are managing to successfully attempt [02:03:55.240 --> 02:03:58.640] some POVs but not actually land them, it looks like maybe. [02:03:58.640 --> 02:04:03.260] But they are still getting successful POVs evaluated against them. [02:04:03.260 --> 02:04:06.700] So it looks like we're still seeing MechaFish and some of the other ones as they go. [02:04:06.700 --> 02:04:08.220] So what's happening right here is really interesting [02:04:08.220 --> 02:04:11.140] because it looks like they're both patching and scoring. [02:04:11.140 --> 02:04:12.840] Is that even possible? [02:04:12.840 --> 02:04:14.720] No, so since they're down for patching that round, [02:04:14.720 --> 02:04:18.040] the data is showing us that they actually successfully landed POVs. [02:04:18.040 --> 02:04:20.600] But they were throwing them and not getting any score for them. [02:04:20.600 --> 02:04:21.520] So that's one of those... [02:04:21.520 --> 02:04:23.460] Again, from that game theory perspective, [02:04:23.460 --> 02:04:27.200] if they were concerned that throwing that POV [02:04:27.200 --> 02:04:29.800] might disclose their knowledge to the other team... [02:04:29.800 --> 02:04:31.420] Now, it might be that they've realized [02:04:31.420 --> 02:04:33.600] that they've been throwing this one for several rounds now [02:04:33.600 --> 02:04:36.040] and so the risk of disclosure is pretty minimal. [02:04:36.080 --> 02:04:38.420] So Mayhem coming back online this time around, [02:04:38.420 --> 02:04:42.420] they actually... their bot did submit requests to throw POVs [02:04:42.420 --> 02:04:45.980] and it's not until the next round cycle that that actually occurs. [02:04:45.980 --> 02:04:48.700] So in the next round, we should see them throw. [02:04:48.700 --> 02:04:49.140] And here we go. [02:04:49.140 --> 02:04:50.320] Here is round 95 data. [02:04:50.320 --> 02:04:53.220] So in round 95, we've got Mayhem still in the lead [02:04:53.220 --> 02:04:55.140] and the bottom line at this point is [02:04:55.140 --> 02:04:58.240] they've managed to actually throw a new POV again. [02:04:58.240 --> 02:05:00.900] They're back online and everything is operating normally. [02:05:00.900 --> 02:05:03.000] We're really coming down the home stretch here. [02:05:03.160 --> 02:05:05.240] The leads are probably at the point [02:05:05.240 --> 02:05:08.120] where they're insurmountable in the next round or two. [02:05:08.440 --> 02:05:09.620] Because there's only one round to make. [02:05:09.620 --> 02:05:11.860] Actually, this is the last round. [02:05:11.860 --> 02:05:12.780] This is the last round. [02:05:12.780 --> 02:05:13.740] 96 rounds. [02:05:13.740 --> 02:05:16.940] As we all know in computer science, things start at zero. [02:05:16.980 --> 02:05:17.840] That's right. [02:05:18.400 --> 02:05:19.180] Oh, man. [02:05:19.180 --> 02:05:19.900] Here we have... [02:05:19.900 --> 02:05:21.180] These are the unofficial scores. [02:05:21.180 --> 02:05:22.860] These are the unofficial scores. [02:05:22.860 --> 02:05:24.860] It's very important to keep in mind that [02:05:24.860 --> 02:05:27.640] until we've had a chance to do all of the integrity checking [02:05:27.640 --> 02:05:29.580] and all of the data analysis, [02:05:29.580 --> 02:05:32.700] we won't be announcing any final scores until tomorrow. [02:05:32.740 --> 02:05:35.120] But this is our preliminary result set. [02:05:35.120 --> 02:05:40.220] It looks like it's possible that it's Mayhem, Zandra, and MechaFish in that order. [02:05:55.950 --> 02:05:57.850] Celebrations are taking place in the pit, [02:05:57.850 --> 02:06:00.890] but the real celebration has to wait till tomorrow morning. [02:06:00.890 --> 02:06:01.750] Absolutely. [02:06:01.750 --> 02:06:02.150] Yeah. [02:06:02.150 --> 02:06:04.830] So I've got a number of like favorite things [02:06:04.830 --> 02:06:06.750] that have totally happened here that I was expecting [02:06:06.750 --> 02:06:10.490] or wasn't expecting to actually see happen and was hoping to see happen. [02:06:10.490 --> 02:06:12.030] So it's sort of that dichotomy. [02:06:12.190 --> 02:06:17.550] Watching some of these teams carry this very, very symbolic execution approach [02:06:17.550 --> 02:06:22.490] and successfully, specifically, successfully break crack at her, [02:06:22.490 --> 02:06:24.630] I was watching for, I was hoping for. [02:06:24.630 --> 02:06:26.590] Getting to see that's been very rewarding for me. [02:06:26.590 --> 02:06:29.690] And I know that I will certainly, if they're providing the data, [02:06:29.690 --> 02:06:33.210] I will be taking that home and doing that as homework myself even. [02:06:33.210 --> 02:06:33.710] Wonderful. [02:06:33.710 --> 02:06:37.650] Because one other outcome of this is not just how the bots perform today, [02:06:37.650 --> 02:06:40.530] but how they're going to inspire research starting tomorrow. [02:06:40.530 --> 02:06:41.390] That's absolutely correct. [02:06:41.390 --> 02:06:43.150] And so from some of the teams we've seen, [02:06:43.150 --> 02:06:45.870] they have a willingness already to disclose their techniques. [02:06:45.870 --> 02:06:49.130] We don't know which teams are going to disclose more about what they've done so far. [02:06:49.130 --> 02:06:50.690] I expect some will and some won't. [02:06:50.690 --> 02:06:55.190] But either way, the challenges and some of the data from today's event [02:06:55.190 --> 02:06:57.670] will be being posted as it goes online. [02:06:57.670 --> 02:06:59.710] You'll be able to download and kind of look along yourself [02:06:59.710 --> 02:07:02.430] and even try to carry out some of these challenges yourself [02:07:02.430 --> 02:07:06.470] manually from a reverse engineering and a vulnerability research perspective. [02:07:06.610 --> 02:07:10.470] All right, so let's go to the pit where AJ has the team leaders. [02:07:10.470 --> 02:07:12.590] I have all the captains here and the game is over. [02:07:12.590 --> 02:07:15.250] I can actually hear from their perspectives. [02:07:15.290 --> 02:07:17.450] So it's done, finally. [02:07:17.570 --> 02:07:19.270] So vacation, what are you doing next? [02:07:19.270 --> 02:07:20.610] Yeah, I'm going to sleep. [02:07:20.610 --> 02:07:21.310] You think so? [02:07:22.650 --> 02:07:27.730] So how did you feel going through each of the rounds as you learned the scores changed? [02:07:27.730 --> 02:07:32.090] Uh, you know, we were doing really well. [02:07:32.090 --> 02:07:35.110] And I found myself thinking, I'm afraid of heights. [02:07:35.110 --> 02:07:37.970] It's a long way to fall from where we were. [02:07:37.970 --> 02:07:39.950] But I'm over the moon. [02:07:40.250 --> 02:07:43.310] Where do you need to go in terms of research from this point? [02:07:44.350 --> 02:07:48.550] Well, we have a lot of ongoing research and I think like a lot of the teams [02:07:48.550 --> 02:07:50.630] in terms of cybersecurity. [02:07:50.630 --> 02:07:56.570] So there's plenty still to do in terms of handling other domains, bigger programs. [02:07:57.770 --> 02:07:59.830] Both for all aspects of it. [02:07:59.890 --> 02:08:00.750] Congratulations. [02:08:00.750 --> 02:08:02.110] Seriously, good work. [02:08:02.450 --> 02:08:04.010] So it's done. [02:08:04.010 --> 02:08:05.270] Again, same question to you. [02:08:05.270 --> 02:08:06.250] Are you going on vacation? [02:08:06.250 --> 02:08:07.350] What are you doing now? [02:08:07.870 --> 02:08:11.190] Um, we are going to improve our system further. [02:08:11.190 --> 02:08:16.070] We, I think we kind of figured the reason our system doesn't work well. [02:08:16.270 --> 02:08:22.530] And meanwhile, we always try to new solutions to make the system even better. [02:08:22.530 --> 02:08:30.650] Like this machine learning, which we are trying to, but not in this system yet. [02:08:30.650 --> 02:08:36.830] But yeah, we will do some research work and make the system better. [02:08:36.830 --> 02:08:37.750] Very good work. [02:08:37.750 --> 02:08:38.470] Congratulations. [02:08:38.470 --> 02:08:39.290] Thank you. [02:08:39.790 --> 02:08:40.770] It's done. [02:08:40.770 --> 02:08:41.110] It's done. [02:08:41.110 --> 02:08:42.070] Oh my God. [02:08:42.070 --> 02:08:42.570] Sort of. [02:08:42.570 --> 02:08:43.810] Tomorrow you get to play CTF. [02:08:43.810 --> 02:08:44.410] Exactly. [02:08:44.710 --> 02:08:48.110] Are you bringing your CRS tomorrow to play? [02:08:48.130 --> 02:08:49.010] Absolutely. [02:08:49.010 --> 02:08:54.630] How do you think it's going to be, in your terms, a human augmented with a CRS? [02:08:54.630 --> 02:08:56.090] I think it'll be really interesting. [02:08:56.090 --> 02:09:04.350] I think because the CRS will take on the role of patching most likely and the sort of initial [02:09:04.350 --> 02:09:05.270] analysis. [02:09:05.270 --> 02:09:09.270] So if the CRS can provide us with crashes and then we can take it from there or maybe [02:09:09.270 --> 02:09:10.810] vice versa, right? [02:09:10.810 --> 02:09:18.310] That I think is the real interesting future in this sort of automatic cyber security world [02:09:18.310 --> 02:09:19.090] we live in. [02:09:19.090 --> 02:09:22.850] So since humans are going to be part of this now, we know humans can be dirty. [02:09:22.850 --> 02:09:25.770] Are you a little worried about the dirty tricks that they're going to play on you guys tomorrow? [02:09:25.770 --> 02:09:26.550] Oh yeah. [02:09:26.890 --> 02:09:33.550] We are, depending on how like with the rules it is, we might harden the system a little [02:09:33.550 --> 02:09:37.930] bit overnight because there are definitely ways that our system could be screwed with [02:09:37.930 --> 02:09:38.870] by a human. [02:09:39.210 --> 02:09:40.730] So we'll have to see how it goes. [02:09:40.730 --> 02:09:44.130] I know I've heard personally a few of the teams have been doing a little research on [02:09:44.130 --> 02:09:47.550] the side trying to find out what kind of things they can do to thwart the other players. [02:09:47.550 --> 02:09:54.350] I don't know if you saw during the kind of private time before the public event, [02:09:54.350 --> 02:09:56.110] one of the visualizations crashed. [02:09:56.110 --> 02:09:56.830] I did. [02:09:57.290 --> 02:09:58.770] That was your QEMU bug, right? [02:09:58.770 --> 02:10:00.010] That was our QEMU bug, yeah. [02:10:00.010 --> 02:10:05.450] So we have, you know Rusty, he was in the back fixing all of your guys' dirty tricks. [02:10:05.450 --> 02:10:09.670] I don't know how many QEMU bugs he had to patch so they could continue visualizations. [02:10:09.670 --> 02:10:10.890] That's impressive. [02:10:11.610 --> 02:10:12.250] It was pretty good. [02:10:12.250 --> 02:10:15.010] There was like a floating point halting one, wasn't it? [02:10:15.010 --> 02:10:15.530] Exactly. [02:10:15.530 --> 02:10:16.270] Oh man, you guys. [02:10:16.270 --> 02:10:17.350] Look forward to seeing you tomorrow. [02:10:17.810 --> 02:10:18.910] See you tomorrow. [02:10:19.130 --> 02:10:20.670] Hi, how are you doing? [02:10:20.670 --> 02:10:21.310] I'm doing fine. [02:10:21.310 --> 02:10:22.310] It's done. How do you feel? [02:10:22.310 --> 02:10:23.030] Tired. [02:10:23.070 --> 02:10:24.890] I don't doubt it. [02:10:24.890 --> 02:10:27.550] So going in, you had certain expectations. [02:10:27.550 --> 02:10:29.150] How do you feel about your performance? [02:10:29.270 --> 02:10:30.490] I think we did okay. [02:10:30.490 --> 02:10:33.310] I was pleased that we stayed up the whole time. [02:10:33.430 --> 02:10:36.790] You know, with a small team and we wrote everything from scratch, [02:10:36.790 --> 02:10:41.510] there was a whole lot we left on the drawing board or partially implemented that we didn't get going [02:10:41.510 --> 02:10:45.130] that we really want to look at and see what we can do with the system. [02:10:45.130 --> 02:10:47.950] What kind of things would you like to see going forward? [02:10:48.190 --> 02:10:50.910] How would you have changed CTC as well? [02:10:50.910 --> 02:10:54.150] Is there any aspect of security you would have liked to have seen in it? [02:10:54.150 --> 02:10:56.110] I think it was fabulous the way it was run. [02:10:56.110 --> 02:10:59.990] I think the whole DARPA team did a great job of putting this together. [02:11:05.570 --> 02:11:09.650] This is one level of problem we're seeing out there in the wild, [02:11:09.650 --> 02:11:12.670] but this whole higher level of abstraction where we're seeing problems, [02:11:12.670 --> 02:11:15.870] the SQL injection attacks and those things that we did not address here. [02:11:16.590 --> 02:11:18.550] There's still a whole lot of work to be done. [02:11:18.550 --> 02:11:23.970] Do you plan on adding that type of analysis and reasoning into future tools? [02:11:24.530 --> 02:11:26.730] Eventually. There's more we have to do first with this. [02:11:26.730 --> 02:11:27.790] Oh, I understand. Yes. [02:11:27.790 --> 02:11:29.970] Thank you and congratulations. Good work. [02:11:32.010 --> 02:11:33.250] Good work, guys. [02:11:33.550 --> 02:11:34.890] You're done. Finally, huh? [02:11:34.890 --> 02:11:35.650] How are you feeling? [02:11:35.650 --> 02:11:36.970] It's time to sleep now. [02:11:37.170 --> 02:11:38.230] Not drink? [02:11:38.470 --> 02:11:39.350] Yeah, probably. [02:11:40.190 --> 02:11:44.870] So, how do you feel about the results of the competition and everything? [02:11:44.990 --> 02:11:47.410] Right. So, I think our patching strategy was good. [02:11:47.410 --> 02:11:49.390] So, we stopped a lot of bugs that other teams didn't. [02:11:49.390 --> 02:11:52.870] But I think our failure was we replaced too many too fast. [02:11:53.050 --> 02:11:55.630] So, our availability suffers when you replace a binary and get a zero. [02:11:55.630 --> 02:11:59.210] But I think, overall, our performance is what I expected. [02:11:59.210 --> 02:12:02.030] What did your CRS do that would, in terms of patching, [02:12:02.030 --> 02:12:04.810] do you think that was better than the other teams? [02:12:05.530 --> 02:12:08.090] I think we tested our passage a lot before we would send them out [02:12:08.090 --> 02:12:09.270] to make sure they worked. [02:12:09.330 --> 02:12:14.470] And our generic strategies, they didn't require us to find the bugs before we could patch. [02:12:14.470 --> 02:12:16.830] So, maybe that helped us out. [02:12:16.830 --> 02:12:19.230] Did your CRS implement any IDS rules? [02:12:19.230 --> 02:12:20.470] Or did they take advantage of that? [02:12:20.470 --> 02:12:24.230] No, we didn't do the IDS rules because you saw what happened to Deep Red over there [02:12:24.230 --> 02:12:27.470] when they said the FAQ entry where one IDS rule could ruin your whole system. [02:12:27.470 --> 02:12:29.410] So, we decided to go against that. [02:12:29.410 --> 02:12:30.410] All right. Nice. Thank you. [02:12:30.410 --> 02:12:31.790] Good work. Congratulations. [02:12:33.350 --> 02:12:34.790] Nice. Tim. [02:12:35.970 --> 02:12:37.650] So, you get to relax now. [02:12:38.090 --> 02:12:41.650] How do you feel about your performance, everybody else's performance? [02:12:42.430 --> 02:12:43.730] I think it was fantastic. [02:12:43.730 --> 02:12:46.830] I mean, if you look at all of the machines that are up here, [02:12:46.830 --> 02:12:52.490] and, you know, the collective technology, I think it was fantastic. [02:12:52.490 --> 02:12:54.890] I think the whole competition was excellent. [02:12:55.090 --> 02:12:59.710] I think that what we saw here represents a real change, [02:12:59.710 --> 02:13:01.390] you know, something new taking place. [02:13:01.570 --> 02:13:03.250] That's exciting. It really is. [02:13:03.250 --> 02:13:05.230] What do you think about, actually, like the production value [02:13:05.230 --> 02:13:09.990] and just the amount of effort that was put into trying to make this spectator-friendly? [02:13:10.210 --> 02:13:12.310] I felt like a rock star. [02:13:12.730 --> 02:13:14.410] So, this is actually something that's... [02:13:18.290 --> 02:13:21.730] This making computer security and hacking spectator-friendly [02:13:21.730 --> 02:13:23.570] is something that all of us have had a challenge. [02:13:23.570 --> 02:13:26.450] Do you see this as being something that's good going forward [02:13:26.450 --> 02:13:29.370] to help get public awareness of this arena? [02:13:30.130 --> 02:13:35.210] Sure. I mean, it's so vital, right, to have secure software. [02:13:35.230 --> 02:13:38.410] I mean, the more that people care about that, [02:13:38.410 --> 02:13:44.070] and the more that these kinds of competitions can push the technology to provide that, [02:13:44.070 --> 02:13:45.430] I think it's good. [02:13:45.430 --> 02:13:51.270] So, how did CGC help you guys push the envelope in research and capabilities? [02:13:51.910 --> 02:13:55.430] Well, it did a great job of scoping the problem, [02:13:55.430 --> 02:13:59.810] and that allowed us to focus on the core research problems. [02:13:59.870 --> 02:14:03.830] We have some amazing ideas to take going forward. [02:14:03.830 --> 02:14:06.630] Things that aren't in the current system. [02:14:06.630 --> 02:14:09.890] Version 2 is going to be amazing. [02:14:09.890 --> 02:14:12.670] Is there anything you did that might have held you back [02:14:12.670 --> 02:14:13.890] because you're a little cautious? [02:14:14.710 --> 02:14:16.430] No, I don't think that we were cautious at all. [02:14:16.430 --> 02:14:18.130] I think what you perhaps saw, [02:14:18.130 --> 02:14:20.910] and we'll have to try to figure out exactly what happened, [02:14:20.910 --> 02:14:24.270] but around the round 25 or 27, [02:14:25.010 --> 02:14:28.630] you know, we suffered a big loss of availability, [02:14:28.630 --> 02:14:32.790] and that may be due to some of the aggressive patching [02:14:32.790 --> 02:14:33.770] that we were trying to do. [02:14:33.770 --> 02:14:37.690] They also mentioned that it could have been the result of some IDS rules. [02:14:38.310 --> 02:14:39.690] Sure, I don't know. [02:14:39.690 --> 02:14:41.590] Of course, not until later when we actually have all the data. [02:14:41.590 --> 02:14:41.910] Right. [02:14:41.930 --> 02:14:43.490] Thank you, Tim. I appreciate it. Good work. [02:14:43.490 --> 02:14:43.690] Sure. [02:14:43.690 --> 02:14:45.530] Excellent. Alex! [02:14:52.890 --> 02:14:54.570] Man, what a show. [02:14:54.590 --> 02:14:57.210] And after everything that happened, you guys, [02:14:57.210 --> 02:15:00.490] I remember seeing whenever we found out that the CRS went down [02:15:01.130 --> 02:15:04.910] and that you weren't submitting any more POVs, just the sweat. [02:15:04.990 --> 02:15:06.870] Oh my god, that was terrible news. [02:15:06.870 --> 02:15:09.670] We all wanted to go cry and upstairs and leave, [02:15:09.670 --> 02:15:14.290] and I just can't believe we were able to still handle and gain points. [02:15:14.410 --> 02:15:16.530] Well, what helped really was the availability. [02:15:16.530 --> 02:15:19.450] Exactly. So yeah, when you don't patch, you get full availability. [02:15:19.450 --> 02:15:20.370] This is great. [02:15:20.950 --> 02:15:24.230] So we've always been very careful about not patching too much. [02:15:24.230 --> 02:15:26.610] I think we've overdone it this time. [02:15:26.610 --> 02:15:27.790] A little bit. [02:15:27.950 --> 02:15:29.090] But it worked out. [02:15:29.090 --> 02:15:29.670] Nice. [02:15:29.670 --> 02:15:32.050] So where do you see your technology going forward? [02:15:32.050 --> 02:15:35.610] What are you going to use this money to do in terms of funding and research? [02:15:35.610 --> 02:15:39.230] So FileSecured is self-funded, [02:15:39.230 --> 02:15:44.350] so this is going to help a lot with going the operation on. [02:15:44.350 --> 02:15:48.450] So we have a lot of cool projects, both from what we developed from TGC [02:15:48.450 --> 02:15:52.250] and then some other CTF ideas that we want to develop. [02:15:52.430 --> 02:15:56.490] So where do you see program analysis in, say, one year and five years and ten years? [02:15:56.490 --> 02:15:58.730] Well, it depends if we have another TGC, I think. [02:15:58.730 --> 02:16:02.590] Okay. So how would you actually envision that style of TGC? [02:16:03.050 --> 02:16:08.070] How would you envision that style of competition or program? [02:16:08.070 --> 02:16:12.550] So I think TGC did a great job to give the right incentive to the team [02:16:12.550 --> 02:16:15.050] to develop the best tool they can. [02:16:15.410 --> 02:16:17.070] This clearly has been very successful. [02:16:17.070 --> 02:16:19.750] We've had, like, great, great CRSs tonight. [02:16:20.210 --> 02:16:23.290] And we just hope that a new competition would just, like... [02:16:23.290 --> 02:16:26.230] A lot of what we did on TGC was getting the base, you know, [02:16:26.230 --> 02:16:29.330] the base framework of, like, we need to do this, we need to do this. [02:16:29.670 --> 02:16:32.110] Some of it was not research, it was just engineering. [02:16:32.110 --> 02:16:37.030] So now that teams have this system, they could actually focus on the research aspect, [02:16:37.030 --> 02:16:39.410] on improving the set of the ad, which we have done, too. [02:16:39.410 --> 02:16:42.270] We could even do it in one more on the next TGC. [02:16:42.590 --> 02:16:47.110] Nice. So you get to bring your CRS, I assume, tomorrow to play CTF. [02:16:47.110 --> 02:16:47.930] Or at least they do. [02:16:47.930 --> 02:16:51.410] How do you think it's going to be, a human playing CTF? [02:16:52.090 --> 02:16:54.210] This is going to be interesting, I think. [02:16:54.310 --> 02:16:58.910] DEF CON has a history of having a lot of hard challenges. [02:16:59.530 --> 02:17:02.450] Oh, you've had to make hard challenges hard because you guys have gotten better. [02:17:02.450 --> 02:17:02.850] Exactly. [02:17:02.850 --> 02:17:05.910] It's really hard. We've had to raise the bar significantly for you guys. [02:17:05.910 --> 02:17:11.630] So DEF CON will have probably between 5 and 10 challenges, I expect. [02:17:11.630 --> 02:17:13.210] We had 82 tonight. [02:17:13.330 --> 02:17:16.950] So the speed that the machine gives might not be as powerful [02:17:16.950 --> 02:17:19.610] because there's a few challenges to look at. [02:17:19.610 --> 02:17:21.370] But we hope we'll be competitive. [02:17:21.750 --> 02:17:25.590] And we're probably going to spend the night getting the CRS ready for tomorrow. [02:17:25.590 --> 02:17:26.430] Congratulations. [02:17:26.770 --> 02:17:29.010] And I imagine you're going to have a nice night celebrating. [02:17:29.170 --> 02:17:29.550] Good work. [02:17:29.550 --> 02:17:30.290] Thank you. [02:17:30.850 --> 02:17:31.570] Nice. [02:17:37.120 --> 02:17:38.220] About what? [02:17:38.740 --> 02:17:44.160] Oh, I'm still on. [02:17:45.380 --> 02:17:46.640] How's it going, guys? [02:17:46.660 --> 02:17:47.340] Great. [02:17:47.340 --> 02:17:48.500] So, third place. [02:17:48.500 --> 02:17:49.260] I'm super stoked. [02:17:49.260 --> 02:17:51.500] I love seeing CTF teams do incredibly well on these things. [02:17:51.500 --> 02:17:53.940] It's just near and dear to my heart, like open source. [02:17:54.780 --> 02:17:56.080] How do you feel about your victory? [02:17:56.080 --> 02:17:57.200] Was this expected? [02:17:57.200 --> 02:17:59.900] How blown is your mind right now? [02:18:00.400 --> 02:18:01.140] All right. [02:18:01.520 --> 02:18:07.760] So in the beginning, we saw Shellfish start out and our patching strategies repatched. [02:18:07.980 --> 02:18:12.360] And so we watched this go, boom, that first round, right? [02:18:12.360 --> 02:18:13.100] Seventh place. [02:18:13.100 --> 02:18:14.380] And I was like, ah! [02:18:14.600 --> 02:18:16.960] But then, you know, slowly climbed up. [02:18:16.960 --> 02:18:18.020] And it was incredible. [02:18:18.020 --> 02:18:18.780] Good work. [02:18:18.900 --> 02:18:19.780] Incredible. [02:18:19.900 --> 02:18:20.620] Nice. [02:18:21.280 --> 02:18:22.840] Yeah, that's all I've got for you guys. [02:18:22.840 --> 02:18:23.240] I think we've... [02:18:24.760 --> 02:18:26.060] Actually, same question for that. [02:18:26.060 --> 02:18:29.480] What do you see with program analysis in 1, 5, and 10 years? [02:18:29.800 --> 02:18:33.320] I think it's very similar to self-driving cars as well, right? [02:18:33.980 --> 02:18:36.440] You know, we had the self-driving car challenges. [02:18:37.160 --> 02:18:39.080] And at the time, people were saying, you know, [02:18:39.080 --> 02:18:42.960] do you really think you'll ever be sitting around in a computer and it'll drive you around? [02:18:42.960 --> 02:18:44.660] And now, we're almost there. [02:18:44.820 --> 02:18:46.560] And it's similar with this. [02:18:46.560 --> 02:18:53.000] There are challenges in automated program analysis that don't exist in self-driving cars. [02:18:53.000 --> 02:18:54.980] You heard about them on stage. [02:18:54.980 --> 02:18:56.760] You obviously know all of them. [02:18:58.440 --> 02:19:03.160] So, it might not happen in the same way, but it'll definitely happen. [02:19:03.160 --> 02:19:07.260] So, we'll probably, you know, regularly now see machines in DEF CON. [02:19:07.260 --> 02:19:07.640] Nice. [02:19:07.640 --> 02:19:07.900] Thanks. [02:19:07.900 --> 02:19:08.560] Good work, guys. [02:19:08.600 --> 02:19:09.760] Really good work. [02:19:13.180 --> 02:19:14.740] Man, second place. [02:19:14.880 --> 02:19:15.560] Fantastic. [02:19:15.560 --> 02:19:17.160] Like, it's absolutely amazing work. [02:19:17.160 --> 02:19:18.420] So, how do you feel? [02:19:18.420 --> 02:19:19.960] Like, I imagine you're pretty excited. [02:19:19.960 --> 02:19:21.600] What are you doing for celebration tonight? [02:19:21.920 --> 02:19:23.480] Yeah, I don't know. [02:19:23.480 --> 02:19:24.460] We're definitely going out. [02:19:24.460 --> 02:19:25.580] I bet. [02:19:26.180 --> 02:19:27.640] Have a little bit of Las Vegas. [02:19:27.960 --> 02:19:29.500] So, what do you think? [02:19:29.500 --> 02:19:32.480] Actually, I know you're not playing CTF tomorrow, but what do you think about the human-computer [02:19:32.480 --> 02:19:33.180] interaction? [02:19:33.900 --> 02:19:36.960] I think it's going to continue to be interesting. [02:19:37.060 --> 02:19:39.820] I think computers are going to have to continue to help a lot. [02:19:41.980 --> 02:19:44.620] But there's still a lot of room for human creativity. [02:19:45.300 --> 02:19:49.840] So, we saw on CGC, it's kind of like a microcosm of the security world. [02:19:49.840 --> 02:19:55.880] How does your CRS, or how hard would it be to adapt your CRS to more modern and real-world [02:19:55.880 --> 02:19:56.460] applications? [02:19:56.460 --> 02:19:58.060] Like a browser, for instance. [02:19:58.140 --> 02:20:01.760] A browser is a heavy lift. [02:20:04.720 --> 02:20:09.320] Among the things that make a browser much more complicated are runtime code generation, [02:20:09.500 --> 02:20:14.660] a lot wider set of system calls that you have to think about and model, [02:20:14.660 --> 02:20:19.520] threads with a lot more shared memory instead of just pipes for communication. [02:20:19.920 --> 02:20:24.160] There are a lot of aspects of the system that have to be monitored and taken care of. [02:20:24.160 --> 02:20:29.680] That said, often you can isolate components and apply the technology just to the components [02:20:29.680 --> 02:20:33.820] instead of the whole browser, and often that can still be very, very useful in terms of [02:20:33.820 --> 02:20:35.000] increasing the security. [02:20:35.000 --> 02:20:38.520] So, I think that that'll maybe be kind of the way you'll see it start to get introduced [02:20:38.520 --> 02:20:39.920] into things like browsers. [02:20:39.980 --> 02:20:40.340] Excellent. [02:20:40.340 --> 02:20:40.940] Thank you. [02:20:40.940 --> 02:20:42.980] And have a good night, and congratulations. [02:20:42.980 --> 02:20:44.140] Enjoy your victory. [02:20:44.680 --> 02:20:45.800] Oh, there they are. [02:20:47.520 --> 02:20:49.500] I'll talk to David. [02:20:51.960 --> 02:20:53.000] Oh, man. [02:20:53.000 --> 02:20:54.040] Alex, Alex. [02:20:58.060 --> 02:20:58.920] Amazing work. [02:20:59.140 --> 02:21:02.600] I know you guys were swiping it pretty hard, and I really felt bad for you earlier. [02:21:02.600 --> 02:21:03.980] So, what do you think about your victory? [02:21:04.840 --> 02:21:08.040] I mean, there's no words to describe it at this point. [02:21:08.040 --> 02:21:13.420] We went through this huge downward spiral around round 30, and then it just like slowly [02:21:13.420 --> 02:21:14.540] came up. [02:21:14.540 --> 02:21:15.720] It was amazing. [02:21:16.540 --> 02:21:20.820] I mean, it's all a testament to the hard work these guys put in that we were able to get [02:21:20.960 --> 02:21:22.000] a lead and keep it. [02:21:22.000 --> 02:21:25.560] What's your next step in terms of research and innovation? [02:21:25.740 --> 02:21:28.040] Well, we look at this as really the first step. [02:21:28.040 --> 02:21:30.880] The next step is to start checking all the non-CG software. [02:21:30.880 --> 02:21:34.720] So, we've taken off this big chunk, and now we're going to do everything else. [02:21:34.820 --> 02:21:39.600] And we really want to make it a more democratic, where everyone can know the security of the [02:21:39.600 --> 02:21:41.220] software that they run. [02:21:41.220 --> 02:21:41.840] Nice. [02:21:41.840 --> 02:21:47.580] So, do you have any publications coming out that might be based on your current research? [02:21:47.580 --> 02:21:48.580] That'd be interesting to read. [02:21:48.700 --> 02:21:53.640] Yeah, we're going to do a full write-up of the sort of techniques that we put into this. [02:21:53.800 --> 02:21:57.340] And, you know, we'll also include some of the things that we had that didn't work. [02:21:57.440 --> 02:21:57.880] Thank you. [02:21:57.880 --> 02:21:58.380] I appreciate it. [02:21:58.380 --> 02:21:59.440] And have a good night, guys. [02:21:59.440 --> 02:22:00.900] You have really great work. [02:22:04.120 --> 02:22:05.420] I'll send it back to you, Kakeem. [02:22:05.420 --> 02:22:05.860] Thanks. [02:22:05.860 --> 02:22:06.400] Hey, Shane. [02:22:06.400 --> 02:22:08.040] You did a great job down there with the teams. [02:22:08.040 --> 02:22:08.600] But you know what? [02:22:08.600 --> 02:22:12.540] I'm interested to hear your takeaways and your final thoughts and impressions. [02:22:12.740 --> 02:22:13.200] You know what? [02:22:13.200 --> 02:22:19.600] I have to say that my biggest takeaway was I felt so bad for Mayhem being in first place [02:22:19.600 --> 02:22:23.220] and then crashing, but still coming out on top. [02:22:23.220 --> 02:22:29.800] Just the look on their face when they saw the scores for round 94 and 96 and 98 was [02:22:30.600 --> 02:22:33.740] pretty amazing and a great feeling. [02:22:33.740 --> 02:22:35.700] So that was probably my favorite. [02:22:35.700 --> 02:22:36.740] Wonderful. [02:22:36.740 --> 02:22:40.680] None of us got to see those rounds, but that was great. [02:22:40.680 --> 02:22:42.400] And Vizzy, sir, what are your final thoughts? [02:22:42.740 --> 02:22:44.440] Both of you did a wonderful job tonight. [02:22:44.440 --> 02:22:44.760] Thanks, man. [02:22:44.760 --> 02:22:47.520] And thank you so much to our co-hosts, Ayse and Vizzy. [02:22:47.880 --> 02:22:48.300] Thanks, man. [02:22:48.300 --> 02:22:49.080] You were excellent. [02:22:50.220 --> 02:22:55.240] I think one of the things that I'm going to take away is watching all of these teams get [02:22:55.240 --> 02:22:58.260] inspired about these problems that are also some of the things that I've specifically [02:22:58.260 --> 02:23:02.960] worked on historically and that kind of thing is really going to spur, even in me, I think, [02:23:03.140 --> 02:23:06.340] a new set of research ideas, a new bunch of things that I want to do. [02:23:06.340 --> 02:23:11.920] I also really, really love seeing a couple of the teams keep that thought alive from [02:23:11.920 --> 02:23:16.120] older CTFs where there's that dirty tricks department and you're really, really playing [02:23:16.120 --> 02:23:16.920] the game. [02:23:16.920 --> 02:23:21.680] Like that pure technical execution is beautiful and it's gorgeous, but really these challenges [02:23:21.680 --> 02:23:24.140] are a part of a holistic thing. [02:23:24.140 --> 02:23:28.340] And I think things like that anti-analysis technique being deployed to use resources [02:23:28.340 --> 02:23:32.560] in impossible code paths, those kinds of things are the dirty tricks department stuff that [02:23:32.560 --> 02:23:33.880] I totally love. [02:23:33.900 --> 02:23:34.960] Sounds great. [02:23:34.960 --> 02:23:39.000] So for me, this has been an entirely new world. [02:23:39.000 --> 02:23:44.680] There was one person in this entire community that I already knew about and that was Chris [02:23:44.680 --> 02:23:44.980] Eagle. [02:23:44.980 --> 02:23:48.660] I had heard of this guy who was a member of our development team. [02:23:48.660 --> 02:23:54.600] But so far I've been representing DARPA in this endeavor, but I have to take my DARPA [02:23:54.600 --> 02:23:59.600] hat off and speak as a citizen, as an ordinary citizen of America and as a scientist, because [02:24:00.360 --> 02:24:04.300] we all have to appreciate those who invest in our research. [02:24:04.300 --> 02:24:11.140] And the unique role that DARPA plays is that they can actually invest in things that we [02:24:11.140 --> 02:24:13.380] don't even know if they're going to work, if they're going to pay off. [02:24:13.380 --> 02:24:18.940] So whenever I submit my astrophysics proposals, one thing that it's based on is technical [02:24:18.940 --> 02:24:19.620] feasibility. [02:24:19.620 --> 02:24:22.020] It's evaluated on, will this work? [02:24:22.020 --> 02:24:26.440] And so I just want to thank DARPA for this investment, for including everyone. [02:24:26.960 --> 02:24:27.700] Absolutely. [02:24:27.700 --> 02:24:29.480] For investing in these teams. [02:24:30.200 --> 02:24:34.680] There aren't a lot of organizations that are willing to really take risks to create those [02:24:34.680 --> 02:24:37.880] moonshots and really develop something totally new. [02:24:37.880 --> 02:24:42.380] Across such a broad spectrum, from students to individuals, to university researchers, [02:24:42.380 --> 02:24:43.700] to corporations. [02:24:43.700 --> 02:24:45.880] So this has been a wonderful experience. [02:24:45.880 --> 02:24:50.920] We've shared the world's first Cyber Grand Challenge, the first all machine hacking [02:24:50.920 --> 02:24:51.640] tournament. [02:24:51.640 --> 02:24:55.020] I'm so happy to have been a part of this history in the making. [02:24:56.620 --> 02:24:58.200] And one last word. [02:24:58.200 --> 02:25:03.140] I'd like to say thank you to the man who envisioned this and brought it to fruition. [02:25:03.140 --> 02:25:04.380] And that's Mike Walker. [02:25:06.060 --> 02:25:09.380] And so, can he take us out? [02:25:13.640 --> 02:25:15.100] Thanks, everybody. [02:25:17.580 --> 02:25:20.740] I am blown away by what just happened. [02:25:20.740 --> 02:25:23.640] We just had an all computer hacking tournament. [02:25:23.700 --> 02:25:27.260] We computed 96 rounds in a little over eight hours. [02:25:27.260 --> 02:25:31.180] And everything worked. [02:25:39.120 --> 02:25:42.760] Now, when we say our results are not yet verified, it means that we're going to take all the [02:25:42.760 --> 02:25:46.320] data that came out of this AirGap robot that is now in the public domain, that you can [02:25:46.320 --> 02:25:50.260] download and look at tonight, and run it again on a completely different cloud. [02:25:50.260 --> 02:25:52.260] And make sure we just get the same answer. [02:25:52.360 --> 02:25:58.180] And what's left to happen is that tomorrow, in this room, our winners will be certified. [02:25:58.180 --> 02:26:01.560] We're going to have our prize ceremony prior to DEF CON, 10 a.m. [02:26:01.560 --> 02:26:04.920] We're going to hand out trophies, and I really hope to see all of you there. [02:26:04.960 --> 02:26:10.860] And thank you very much for staying with us as we called this tournament. [02:26:10.940 --> 02:26:18.200] And my personal thanks to H.J., Hakeem, Vizi for being the voices of this tournament. [02:26:19.100 --> 02:26:21.120] Thank you guys very much. [02:26:27.830 --> 02:26:32.130] Right now, I have to thank all the teams that were part of this thing. [02:26:32.130 --> 02:26:36.630] We have the teams that built a liquid-cooled data center behind an AirGap in three days [02:26:36.630 --> 02:26:37.830] in this room. [02:26:37.850 --> 02:26:42.250] Thank you guys so much for your planning, your execution, your excellence. [02:26:47.010 --> 02:26:52.190] We have the reverse engineers and the visualizers and all the teams that worked so hard over [02:26:52.190 --> 02:26:56.770] the course of this day to show the world inside the logic and memory of computers engaged [02:26:56.770 --> 02:27:00.370] in network battle, using new visualization tools and data mining. [02:27:00.370 --> 02:27:06.950] Thank you so much for showing us inside something that has always existed in the minds of reverse [02:27:06.950 --> 02:27:07.950] engineers. [02:27:07.990 --> 02:27:09.150] Thank you guys. [02:27:16.080 --> 02:27:22.840] And finally, the teams that built the operating systems, software, integrity mechanisms, supervisors, [02:27:22.840 --> 02:27:28.500] automation for the biggest computer security competition in history, and our referees who [02:27:28.500 --> 02:27:29.800] were responsible for most of that. [02:27:29.800 --> 02:27:31.280] Thank you guys so much. [02:27:44.360 --> 02:27:49.960] I need to say a thank you to DEF CON, to Dark Tangent for finding common ground, and to [02:27:49.960 --> 02:27:53.700] the DEF CON conference for letting us impose so much on their planning. [02:27:53.760 --> 02:27:55.000] Thank you guys. [02:28:03.410 --> 02:28:07.870] I have a thank you for the hacker community, for building the tradition of Capture the [02:28:07.870 --> 02:28:10.290] Flag and being part of the execution of this event. [02:28:10.290 --> 02:28:16.070] So many of you are either on competition teams, acting as referees, acting as voices. [02:28:16.070 --> 02:28:20.630] Throughout this effort, we relied on the hacker community to help build it and put [02:28:20.630 --> 02:28:21.290] it together. [02:28:21.290 --> 02:28:22.170] Thank you. [02:28:29.350 --> 02:28:34.790] And finally, a thank you to the people and institution of DARPA, who put the full weight [02:28:34.790 --> 02:28:38.630] of the agency's resources to bear on revolutionary technology development. [02:28:38.950 --> 02:28:39.830] Thanks. [02:28:48.540 --> 02:28:53.380] Today, we saw machines patch many of the vulnerabilities that were activated in their [02:28:53.380 --> 02:28:59.100] software within minutes, without damaging software or availability. [02:28:59.780 --> 02:29:04.360] Of the six rematch vulnerabilities, classic vulnerabilities from the history of computer [02:29:04.360 --> 02:29:09.540] security, machines found patches for them, for five of them, within the time frame of [02:29:09.540 --> 02:29:10.620] the competition. [02:29:10.860 --> 02:29:14.600] Now, these are not as hard as the original software. [02:29:14.600 --> 02:29:18.880] They're simplified versions, but they are still enormously difficult challenges. [02:29:19.080 --> 02:29:23.000] And personally, the fact that one of these machines found the crack adder bug, which [02:29:23.000 --> 02:29:25.940] is something I've been studying for years, is amazing. [02:29:27.220 --> 02:29:35.100] And we had these machines up here author 421 replacement binaries, new synthetic pieces [02:29:35.100 --> 02:29:41.700] of software, and create 650 unique proofs of vulnerability over the course of the event. [02:29:41.700 --> 02:29:47.960] That is an amazing result for adversarial automation, and I am so pleased to have gotten [02:29:47.960 --> 02:29:49.480] to witness it with you. [02:29:49.480 --> 02:29:55.480] So, if you're staying for DEF CON, please spend some time, as you listen to the speakers [02:29:55.480 --> 02:29:59.700] and meet with friends this weekend, thinking about how the transformative power of automation [02:29:59.700 --> 02:30:01.160] can change our field. [02:30:01.260 --> 02:30:05.860] Our results are public, they're in the public domain for you to reverse engineer, hack, [02:30:05.860 --> 02:30:09.100] analyze, build on, and imagine. [02:30:10.260 --> 02:30:14.180] Our competitors were challenged by the biggest hacking contest in the world, DEF CON Capture [02:30:14.180 --> 02:30:19.000] the Flag, to enter one of their automated systems into a competition with over two decades [02:30:19.000 --> 02:30:22.640] of history, played by teams of the best hackers on planet Earth. [02:30:22.720 --> 02:30:27.580] And I am informed that our finalists have accepted, and that's going to kick off around [02:30:27.580 --> 02:30:29.600] noon tomorrow, if you're staying to watch. [02:30:29.600 --> 02:30:34.080] And that challenge is going to be thrown down from the world's biggest hacking competition [02:30:34.080 --> 02:30:37.460] to our winner, tomorrow, on this stage. [02:30:37.520 --> 02:30:39.400] So, I hope you'll join us. [02:30:46.910 --> 02:30:49.330] One of these machines is going to play tomorrow. [02:30:49.490 --> 02:30:52.930] For tonight, I have a request for this room that I'd like to close with. [02:30:52.930 --> 02:30:56.930] First, I'd like to invite all of our finalist teams, the folks who built these systems, [02:30:56.930 --> 02:30:58.810] please come join me up on this stage. [02:31:00.110 --> 02:31:01.270] It's going to... [02:31:01.270 --> 02:31:02.370] and just... [02:31:04.810 --> 02:31:09.970] get in as close as you can, and as they assemble, final reminder, we're going to finish verifying [02:31:09.970 --> 02:31:14.970] scoring overnight, we'll award prizes and trophies tomorrow at 10am, right in this room [02:31:14.970 --> 02:31:16.450] before DEF CON opens. [02:31:16.610 --> 02:31:17.650] Come on up here. [02:31:20.950 --> 02:31:21.830] Hey guys. [02:31:48.670 --> 02:31:50.450] There's plenty of room. [02:31:50.690 --> 02:31:56.290] If you can, try and make room for everybody and we'll get everybody onto this stage. [02:31:59.560 --> 02:32:00.600] All right. [02:32:01.100 --> 02:32:07.640] When we announced this contest in 2013, we challenged the world to build systems that [02:32:07.640 --> 02:32:10.480] can engage in all the hard skills of computer security. [02:32:10.480 --> 02:32:15.580] Black box, reverse engineering with absolutely no knowledge of the software, protocol analysis, [02:32:15.580 --> 02:32:22.040] network defense, signature creation and management, vulnerability identification and remediation, [02:32:22.040 --> 02:32:29.260] all automatically, all live, all results open sourced, and all in front of the eyes of the [02:32:29.260 --> 02:32:30.160] world. [02:32:30.320 --> 02:32:33.140] So how many even believe such a thing possible? [02:32:33.680 --> 02:32:37.780] And of the few willing to believe, please consider for a moment the Rubicon that must [02:32:37.780 --> 02:32:40.040] be crossed between belief and action. [02:32:40.040 --> 02:32:44.840] We asked these teams to drop their work and spend two years working to build an entirely [02:32:44.840 --> 02:32:48.580] new technology that would succeed or fail in one day. [02:32:49.060 --> 02:32:53.060] Imagine spending two years of your life waking up every day to face the uncertainty of such [02:32:53.660 --> 02:32:54.420] a moment. [02:32:54.940 --> 02:33:01.060] Imagine the engineering and the research, the time and the pressure. [02:33:02.420 --> 02:33:04.320] Consider the odds against. [02:33:05.440 --> 02:33:09.540] Challenges work not because of the many who cannot imagine, but because of the few willing [02:33:09.540 --> 02:33:10.840] to make the attempt. [02:33:11.860 --> 02:33:13.660] Thank you all for your courage. [02:33:14.940 --> 02:33:21.580] I'd like to close, but this room, the loudest round of applause we can summon for those [02:33:21.580 --> 02:33:22.720] who dared.