1 00:00:00,000 --> 00:00:06,700 Ladies and gentlemen, welcome DARPA's Cyber Grand Challenge Program Manager, Mike Walker. 2 00:00:06,700 --> 00:00:08,220 My name is Mike Walker. 3 00:00:08,220 --> 00:00:11,880 I'm the Program Manager of DARPA's Cyber Grand Challenge Program. 4 00:00:12,060 --> 00:00:22,780 January 13, 2013, I came to work at DARPA with the mission of exploring revolutionary autonomy in the cyber domain. 5 00:00:22,820 --> 00:00:28,420 And the idea, very simply, was to bring a computer to play in the biggest hacking contest on planet Earth. 6 00:00:28,660 --> 00:00:30,380 DEF CON captured the flag. 7 00:00:30,380 --> 00:00:34,300 A contest pioneered and perfected at DEF CON for over two decades. 8 00:00:34,340 --> 00:00:36,220 It's going to be played right here tomorrow. 9 00:00:36,440 --> 00:00:40,160 In 2013, no computer existed that could have done such a thing. 10 00:00:40,160 --> 00:00:43,400 And today, these seven exist. 11 00:00:52,070 --> 00:00:56,790 We will now broadcast the world's first all-machine hacking tournament to the world. 12 00:00:56,790 --> 00:00:58,930 First prize is two million dollars. 13 00:00:59,410 --> 00:01:08,430 These machines behind me were built atop decades of program analysis science, engineered over two one-year stages of competition, and built by pioneers. 14 00:01:09,310 --> 00:01:15,290 Program analysis scientists, hackers, and engineers joining us today on your front left. 15 00:01:25,810 --> 00:01:30,430 So tonight, these machines will play capture the flag against each other. 16 00:01:30,450 --> 00:01:34,470 Tomorrow, we hope the lessons learned will change the field of computer security. 17 00:01:34,750 --> 00:01:38,110 Our announcers will call today's capture the flag round by round. 18 00:01:38,150 --> 00:01:39,190 Thank you. 19 00:01:50,450 --> 00:02:00,850 Live from the Paris Hotel in Las Vegas, Nevada, it's the DARPA Cyber Grand Challenge final event. 20 00:02:02,570 --> 00:02:09,730 And now, please welcome your cybercasters, Hakeem, Vizzy, and H.J. 21 00:02:19,280 --> 00:02:20,320 All right. 22 00:02:20,360 --> 00:02:29,200 Welcome, everyone, to the first ever fully automated cybersecurity automated competition, the Cyber Grand Challenge. 23 00:02:29,540 --> 00:02:43,960 I'm your host, Hakeem Oluseyi, and if you know anything about me, then you know that I love doing serious science, I love sharing the information with everyone, and I love having a fun, great time while doing it. 24 00:02:43,960 --> 00:02:47,700 And I could not complete that mission without my co-hosts. 25 00:02:47,700 --> 00:02:53,120 So today, with me, I have two hacking experts to help guide us through the competition. 26 00:02:53,840 --> 00:03:00,510 Please welcome a former team leader of DEF CON's capture the flag, Invisigoth, known as Vizzy. 27 00:03:06,960 --> 00:03:15,820 And standing next to him is a founding member of the legitimate business syndicate, and he is, to beards, what Vizzy is to ponytails. 28 00:03:16,200 --> 00:03:18,720 Hawaii John, or H.J. 29 00:03:20,780 --> 00:03:22,720 And by the way, H.J. 30 00:03:22,720 --> 00:03:28,840 is the legitimate business syndicate, is the organizer for this year's capture the flag competition. 31 00:03:31,100 --> 00:03:34,020 So how do you guys feel being here, organizing this event? 32 00:03:34,020 --> 00:03:34,660 Pretty good, man. 33 00:03:34,660 --> 00:03:40,460 I was definitely a bit skeptical when Mike Walker told me that an astrophysicist would be our co-host, though. 34 00:03:40,680 --> 00:03:42,400 I don't know, man, what do you think about it? 35 00:03:42,600 --> 00:03:46,060 I don't know, he kind of brings a certain gravity to the situation, but I'm still kind of skeptical. 36 00:03:46,380 --> 00:03:51,060 Oh my god, that was groan-worthy. 37 00:03:51,060 --> 00:03:51,980 Thank you, audience. 38 00:03:52,100 --> 00:03:52,780 All right. 39 00:03:53,080 --> 00:04:01,020 Well, these guys have business to do, so gentlemen, take your places at the desk and in the team lounge, and I'll join you later. 40 00:04:01,940 --> 00:04:06,060 So now my job is to deliver some information to you. 41 00:04:06,060 --> 00:04:08,920 So what is the Cyber Grand Challenge? 42 00:04:08,940 --> 00:04:16,520 It is the world's first all-machine hacking tournament, developed under the Defense Advanced Research Projects Agency, also known as DARPA. 43 00:04:16,520 --> 00:04:22,500 So what we'll see here today is much more than the world's first all-machine hacking tournament. 44 00:04:22,500 --> 00:04:33,700 As Mike mentioned, the lessons learned could lead to a world where computer viruses, malware, and attacks are discovered in a matter of weeks, days, or even seconds. 45 00:04:33,700 --> 00:04:41,080 Right now, it takes security specialists an average of 312 days to discover software vulnerabilities. 46 00:04:41,080 --> 00:04:48,620 It can take weeks, months, or sometimes years for these vulnerabilities to be fully fixed across all exposed systems. 47 00:04:48,620 --> 00:04:57,180 Now, that leaves plenty of time for malware makers, ransomware developers, and other bad actors to exploit the vulnerabilities and do damage. 48 00:04:57,380 --> 00:05:10,700 The Cyber Grand Challenge was designed to improve the current state of cybersecurity by testing the concept of automation for the discovery and repair of software flaws, a technology that does not currently exist. 49 00:05:10,840 --> 00:05:16,940 DARPA started the Cyber Grand Challenge in 2014 and opened up competition to all competitors. 50 00:05:16,940 --> 00:05:19,700 More than 100 teams took up the challenge. 51 00:05:19,700 --> 00:05:35,140 Through a process of qualifying rounds, we now have seven finalists who will compete here today using automated systems designed to hunt for vulnerabilities, patch them, distribute those patches, and search for weaknesses on competitors' systems. 52 00:05:35,360 --> 00:05:38,400 For some of you, that process should sound familiar. 53 00:05:38,400 --> 00:05:47,660 The CGC is based on Capture the Flag, the hacker game played here at DEF CON and throughout the world by scientists and cybersecurity specialists. 54 00:05:47,680 --> 00:05:52,020 You'll hear more about Capture the Flag later from my co-hosts. 55 00:05:52,020 --> 00:05:57,080 But unlike other Capture the Flag events, people won't be playing the game live. 56 00:05:57,080 --> 00:06:04,000 Instead, the systems built by the finalists over the last two years will do the work in a battle of the bots. 57 00:06:04,000 --> 00:06:11,260 Now it's time to join the Cyber Grand Challenge and see where the world's first all-machine hacking tournament takes us. 58 00:06:11,820 --> 00:06:21,140 We have seven teams competing with each other in the Cyber Grand Challenge final event this year, and we'll meet each one of them in just a minute. 59 00:06:21,140 --> 00:06:25,160 But first, I want to tell you what's at stake for today's teams. 60 00:06:25,160 --> 00:06:29,840 As Mike mentioned, the winning team will take home the top prize of $2 million. 61 00:06:30,580 --> 00:06:37,520 The second-place team will receive $1 million, while the third-place team will get $750,000. 62 00:06:37,520 --> 00:06:41,540 But we know what they're all really playing for, and that's bragging rights. 63 00:06:41,800 --> 00:06:45,200 Now let's meet the teams and the systems that they've built. 64 00:06:45,340 --> 00:06:54,340 These teams reflect different types of communities, from academic researchers in the field, to security tech giants, to veterans of the Capture the Flag circuit. 65 00:06:54,340 --> 00:06:57,320 Each team brings specific strengths to the event. 66 00:06:57,320 --> 00:07:06,680 Each has experience in designing an innovative bot that achieves the difficult task of automatically finding and fixing vulnerabilities found in software code. 67 00:07:06,680 --> 00:07:18,860 There's no clear best strategy going in, so the teams can explore multiple approaches, any one of which could result in important improvements in cybersecurity technology. 68 00:07:18,860 --> 00:07:23,180 Now my co-host Vizzy has the honors of introducing the teams. 69 00:07:23,740 --> 00:07:38,340 So it looks like as Hakim is making his way over here and we get the teams ready to go, we've got each of the teams has their own systems, their own colors, and hacking out of the sky blue corner is a CRS that leads a powerful fleet of selective symbolic execution engines, 70 00:07:38,340 --> 00:07:43,920 binary instrumentation tools, and fuzzers on a historic quest to find cybersecurity for mankind. 71 00:07:44,140 --> 00:07:44,940 Galactica. 72 00:07:45,100 --> 00:07:53,900 Galactica, built by CodeJitsu, a team of researchers from the University of California at Berkeley, Syracuse University, and Cyberhaven in Luzon, Switzerland. 73 00:08:05,800 --> 00:08:18,820 And hacking out of the yellow corner and consisting of mostly custom software, utilizing static analysis, fuzzing, and automatically generated structured test cases, that's Jima, developed by the two-person team of CSDS. 74 00:08:28,520 --> 00:08:38,260 Hacking out of the red corner and employing aggressive gameplay and anti-analysis tactics, featuring a proprietary hypervisor-based vulnerability prover, PySysemu. 75 00:08:38,320 --> 00:08:43,180 Symbolic emulation, the GRR fuzzer, and custom static analysis is Rubius. 76 00:08:43,180 --> 00:08:47,380 Rubius is built by DeepRed, a team of specialized engineers from Raytheon. 77 00:08:55,840 --> 00:09:02,420 Hacking out of the green corner, it's containerized, replicated, and ready to scale, and definitely able to solve CADET. 78 00:09:02,420 --> 00:09:03,740 It's Crispy. 79 00:09:03,740 --> 00:09:06,100 Crispy is built by the team Dissect. 80 00:09:13,420 --> 00:09:16,080 Hakeem, why don't you take it away and introduce the next few teams. 81 00:09:16,080 --> 00:09:17,420 Thank you, Vizzy. 82 00:09:17,560 --> 00:09:28,440 Hacking out of the orange corner, coming from a vulnerability discovery background, where it analyzed over 30,000 Linux programs and found over 10,000 bugs and vulnerabilities. 83 00:09:28,440 --> 00:09:33,560 Now, with added defense and patching capability for the Cyber Grand Challenge, Mayhem. 84 00:09:34,620 --> 00:09:40,140 Mayhem was built by the team for AllSecure, originating from Carnegie Mellon University. 85 00:09:43,200 --> 00:09:57,760 Hacking out of the purple corner, fueled by the Angry Binary Analysis Engine, entangled in mind-boggling hacks, and held together by tears, duct tape, and bubble gum, and ready to make binaries dance, the Mechanical Fish. 86 00:10:02,280 --> 00:10:14,920 Mechanical Fish, built by the team Shellfish, a ragtag group of student hackers from UC Santa Barbara, who fed exclusively on sushi for a month, and never had a moment of cold freeze. 87 00:10:16,480 --> 00:10:35,540 And hacking out of the teal corner, and built by a team of cyber specialists, it's a high-performance, scalable system that harnesses 2,400 cores to power 210 high-performance fuzzing pods, capable of 1.8 million fuzzing ops per second, feeding a dedicated bank of binary analyzers, 88 00:10:35,540 --> 00:10:41,220 patch generators, and binary rewriters to repair and challenge binaries, Zandra. 89 00:10:43,300 --> 00:10:49,240 Zandra was built by TechX, a team from Grandma Tech Incorporated at the University of Virginia. 90 00:10:52,180 --> 00:10:57,460 There is so much amazing technology on stage that it is the infrastructure of CGC. 91 00:10:57,460 --> 00:11:00,320 We made this video to walk you through it. 92 00:11:04,610 --> 00:11:09,290 There's an enormous amount of computational power ready to be unleashed here at CGC. 93 00:11:09,630 --> 00:11:15,690 Beneath the stage are huge amounts of electricity and water needed to power and cool the supercomputers on the stage. 94 00:11:16,070 --> 00:11:21,230 300 kilowatts of power, that's enough to power one and a half city blocks. 95 00:11:21,870 --> 00:11:29,610 180 tons of water flow through these pipes at a rate of 200 gallons per minute to keep the computers on the racks liquid-cooled at all times. 96 00:11:30,330 --> 00:11:34,270 The entire stage is air-gapped to protect the data and the systems. 97 00:11:34,590 --> 00:11:39,170 The air-gap also validates that there's no other outside influence and no human interaction. 98 00:11:40,070 --> 00:11:42,930 Everything that happens inside the air-gap is autonomous. 99 00:11:43,550 --> 00:11:49,570 Data flows through the air-gap through an air-gap robot that literally reads Blu-rays of burn data from inside the game. 100 00:11:51,230 --> 00:11:59,070 The air-gap robot physically moves the Blu-ray across and outside the air-gap, then drops it into a reader that goes into our scorers and visualization. 101 00:12:00,390 --> 00:12:04,550 At the center back of the stage is a system of computers that's a digital referee. 102 00:12:04,550 --> 00:12:08,730 It issues the challenge sets, communicates to the bots, and handles the scoring and systems. 103 00:12:09,290 --> 00:12:12,390 The only humans in the game are inside the air-gap. 104 00:12:12,730 --> 00:12:14,650 These are our human refs. 105 00:12:16,630 --> 00:12:18,290 That was the design. 106 00:12:18,290 --> 00:12:22,230 Now we come to another important of this Cyber Grand Challenge final. 107 00:12:22,230 --> 00:12:29,610 While the game is being played autonomously by the bots, there are actually humans inside the air-gap, and that's our team of referees. 108 00:12:29,610 --> 00:12:35,470 So that raises the question, if the game is being played by machines, why do we need referees? 109 00:12:35,690 --> 00:12:41,310 Basically the refs are there only to make sure that the systems are doing what they're supposed to, that the hardware is functioning correctly. 110 00:12:41,310 --> 00:12:44,510 They have absolutely no hand in the game, no influence in the game. 111 00:12:44,510 --> 00:12:46,290 It's running completely autonomously. 112 00:12:46,290 --> 00:12:50,850 So basically they're there as sort of a safety net for hardware failures or any kind of circumstances like that. 113 00:12:50,850 --> 00:12:51,530 Cool. 114 00:12:51,530 --> 00:12:55,410 So now let's meet the dedicated team of referees. 115 00:12:55,410 --> 00:12:58,410 Would you please welcome Tim Vitus. 116 00:12:58,830 --> 00:13:04,490 Tim wants everyone to know that absolutely no IPv6 addresses were harmed in the creation of today's event. 117 00:13:06,830 --> 00:13:08,010 Chris Eagle. 118 00:13:08,390 --> 00:13:14,550 Chris Eagle is the only person I know who writes x86 machine code faster than he writes Python. 119 00:13:14,550 --> 00:13:16,110 Brian Caswell. 120 00:13:16,790 --> 00:13:18,430 For Cas, it's a labor of love. 121 00:13:18,430 --> 00:13:22,790 He's written more DEF CON CTF challenges than anyone on the planet. 122 00:13:24,030 --> 00:13:25,510 Jason Wright. 123 00:13:25,790 --> 00:13:33,170 Jason's a former OpenBSD developer and member of the winning CTF team at DEF CON 8, Acme Pharmaceuticals, known as the Scourge of the Northwest. 124 00:13:33,310 --> 00:13:34,770 Mike Thompson. 125 00:13:34,770 --> 00:13:41,910 Uniquely qualified to ensure the game integrity via his experience developing the only class A1 trusted computing system. 126 00:13:44,520 --> 00:13:46,100 Holt Zorenson. 127 00:13:46,820 --> 00:13:55,760 Holt is a two-time winner, four-time organizer of DEF CON CTF, member of School of Root, DD Tech, the Shmoo Group, making him nearly ancient in internet time. 128 00:13:56,900 --> 00:13:58,440 Patrick Finnegan. 129 00:13:58,440 --> 00:14:07,280 Patrick's built seven world-ranked supercomputers, including the 28th fastest on the planet, making him uniquely positioned to ensure the performance of the game. 130 00:14:08,080 --> 00:14:09,360 Josh Bird. 131 00:14:09,600 --> 00:14:15,680 Josh is a fixer who's cool as a cucumber and thrives under pressure, a total jack of all CTF trades. 132 00:14:19,280 --> 00:14:20,780 Thank you, referees. 133 00:14:20,780 --> 00:14:26,120 So, Vizzy, we've already mentioned Capture the Flag, but can you tell us how this game is going to be played? 134 00:14:26,120 --> 00:14:26,920 Sure, absolutely. 135 00:14:26,920 --> 00:14:31,160 So, this game is modeled after human CTFs that have been played in years previous. 136 00:14:31,160 --> 00:14:40,040 So, in those games, it's a race to discover vulnerabilities in totally custom software that's been deployed just for those challenges, just for those gaming environments. 137 00:14:40,040 --> 00:14:44,600 And over the version that's going to be played by the computer systems here, we're calling those bots. 138 00:14:44,600 --> 00:14:48,280 So, they're basically playing this similar game completely autonomously. 139 00:14:48,360 --> 00:14:52,600 Each team's bot controls a host that they have to defend. 140 00:14:52,680 --> 00:15:07,440 So, they run an identical copy of each of the pieces of challenge software that we roll out, and they're responsible for being able to introspect that, discover vulnerabilities, and basically be able to both patch, defend, and prove vulnerabilities in other teams or in other bots' code. 141 00:15:07,440 --> 00:15:12,000 So, the current game is played, the CTF at DEF CON is played by the best hackers in the world. 142 00:15:12,000 --> 00:15:14,580 This is being played by the first hacking machines in the world. 143 00:15:14,580 --> 00:15:14,940 Wow. 144 00:15:14,940 --> 00:15:18,140 So, these machines, these bots, are supercomputers. 145 00:15:18,240 --> 00:15:18,820 Absolutely. 146 00:15:18,820 --> 00:15:23,100 The bots are totally fully automated, and they're all simultaneously given all of the challenges. 147 00:15:23,260 --> 00:15:29,160 So, basically, they are acting completely autonomously through the entire scope of the game, which is really, really unique. 148 00:15:29,160 --> 00:15:30,340 That's really unique, and it's new. 149 00:15:30,340 --> 00:15:30,880 Is that right? 150 00:15:30,880 --> 00:15:31,580 Absolutely. 151 00:15:31,580 --> 00:15:32,260 All right. 152 00:15:32,260 --> 00:15:36,160 And these challenge sets are the software problems that the bots have to solve? 153 00:15:36,200 --> 00:15:36,480 Yeah. 154 00:15:36,480 --> 00:15:42,260 So, bots, not humans, are tackling the challenge sets, which are basically in similar, similarly to other CTFs. 155 00:15:42,260 --> 00:15:44,160 They're modeled after real-world services. 156 00:15:44,160 --> 00:15:53,180 So, these are pieces of software that speak protocols like your mail server would or like a web server would, and they're basically modified services specifically for CGC. 157 00:15:53,180 --> 00:15:57,960 We're going to be rolling out a hundred challenge sets, releasing every five minutes. 158 00:15:58,020 --> 00:16:07,260 So, basically, as these challenge sets roll out, the bots are going to have an opportunity to try to discover vulnerabilities in them and patch their own services. 159 00:16:07,260 --> 00:16:11,820 So, there's a few select ones, six challenges, that we've called rematch challenges. 160 00:16:11,820 --> 00:16:24,160 Basically, these are challenges that are historically significant because they're modeled after challenges that were scourges of the internet or previously very famous vulnerabilities from years prior. 161 00:16:24,260 --> 00:16:28,860 And so, we named them rematch challenges because we have the opportunity to fight this battle again. 162 00:16:28,980 --> 00:16:31,760 So, we're talking like pictures of Kim Kardashian here. 163 00:16:32,520 --> 00:16:38,240 More like we're talking about things like the slammer worm that took out the entire internet for a week back in the day and things like that. 164 00:16:38,240 --> 00:16:38,620 All right. 165 00:16:38,620 --> 00:16:41,040 So, we're talking about some seriously breaking... Absolutely. 166 00:16:41,040 --> 00:16:41,200 Yeah. 167 00:16:41,200 --> 00:16:49,220 So, we're super excited to see what the bots do with this because this is sort of the area where we get the opportunity to see what this technology would have done if it had existed back then. 168 00:16:49,260 --> 00:16:49,720 Right. 169 00:16:49,720 --> 00:16:50,260 Okay. 170 00:16:50,260 --> 00:16:53,280 And do we need to worry about what these bots do in the wild? 171 00:16:53,280 --> 00:16:55,900 And let's start with the computer's operating system. 172 00:16:55,940 --> 00:17:01,000 So, the computer's operating system that's being run for the challenge binaries is an extremely secure platform. 173 00:17:01,000 --> 00:17:09,240 Basically, DARPA developed a custom operating system called DECREE, which stands for the DARPA Experimental Cybersecurity Research and Evaluation Environment, which is a mouthful. 174 00:17:09,240 --> 00:17:30,780 But basically, what it means is that a customized operating system that's highly instrumented and is slightly reduced in scope from the normal complexity has been developed such that the binaries that are running inside of these challenge binaries that are running inside of the game and the protocols that are being spoken by those things have no shared code with anything on the internet and don't speak anything that could actually communicate correctly with anything on the internet. 175 00:17:30,780 --> 00:17:30,980 Oh. 176 00:17:30,980 --> 00:17:42,100 So, basically, it's an open source extent operating system extension that then we use to monitor what's going on inside and is extremely instrumented so that we get a massive amount of data about what's going on inside the programs that are running. 177 00:17:42,180 --> 00:17:50,240 Okay, so it's secure, and even better, they don't have human voices because intelligent machines with human voices tend to take over the universe, right? 178 00:17:50,240 --> 00:17:50,680 Right. 179 00:17:50,680 --> 00:17:53,800 So, how do these bots interface with the challenge sets? 180 00:17:53,800 --> 00:17:54,500 Sure, absolutely. 181 00:17:54,500 --> 00:17:57,700 So, the bots have to learn via program analysis. 182 00:17:57,700 --> 00:18:09,040 They have to actually either generate inputs fairly randomly or guided with fuzzing or do something like symbolic analysis to determine the actual data structures necessary to these protocols. 183 00:18:09,040 --> 00:18:14,320 So, not only are they trying to find the bug, but they have to be able to produce the inputs that would reach that bug. 184 00:18:14,320 --> 00:18:22,700 So, basically, over the course of reverse engineering these things in an automated fashion, right, they actually have to learn to speak the language or protocol of the individual challenges. 185 00:18:22,700 --> 00:18:23,960 Each one is different. 186 00:18:25,200 --> 00:18:32,960 So, we wouldn't want to, as these services are rolled out, they have to speak to them similarly to how real production services would be in the wild. 187 00:18:32,960 --> 00:18:40,220 So, the protocol is a language, and the services basically have to continue to speak that language correctly, and they also have to do it quickly enough. 188 00:18:40,220 --> 00:18:49,100 So, just like services on the internet, right, you could patch things to a point where they don't perform correctly, right, and it would disrupt your mission-critical Facebooking. 189 00:18:49,580 --> 00:18:50,460 Okay. 190 00:18:50,680 --> 00:18:54,780 So, Vizzy, what does it take to win the Cyber Grand Challenge? 191 00:18:54,780 --> 00:18:55,240 Sure. 192 00:18:55,240 --> 00:18:59,580 There are basically, like we talked about, three primary tasks that you need to carry out to win, right? 193 00:18:59,580 --> 00:19:11,540 In the discovery of a vulnerability, you're going to need to actually defend against that vulnerability, ideally rolling out patches, which might actually be highly targeted or might be sort of general binary hardening techniques. 194 00:19:11,560 --> 00:19:14,320 You're also going to need to maintain the availability of your services. 195 00:19:14,320 --> 00:19:17,600 So, like we said, they have to perform and they have to function correctly. 196 00:19:17,600 --> 00:19:23,920 And then the third thing that they're doing is basically proving that those vulnerabilities are present in the other team's software. 197 00:19:23,920 --> 00:19:29,200 So, they have to generate inputs that will exercise parts of that vulnerability to prove that they have found it. 198 00:19:29,300 --> 00:19:32,780 So, let's take a look at the scoring components a little bit more closely. 199 00:19:32,780 --> 00:19:39,760 Specifically, security is basically the bot's ability to defend its own service from other people proving that it's vulnerable. 200 00:19:39,760 --> 00:19:41,720 They patch binaries to prevent that. 201 00:19:41,720 --> 00:19:43,660 They also can deploy IDS rules. 202 00:19:43,660 --> 00:19:56,560 So, the bots are capable of using that protocol data that they've learned to formulate rules about what content is correct and deny content, deny connections that are trying to input data that they think would be harmful. 203 00:19:56,560 --> 00:19:59,220 So, in addition, patching incurs downtime. 204 00:19:59,700 --> 00:20:06,460 Just like in the real world when you want to roll a maintenance update out into production systems, you basically end up incurring a cost. 205 00:20:06,460 --> 00:20:12,900 And so, in this game, that cost has been modeled as a downtime when you roll out either a patched binary or a new IDS rule. 206 00:20:12,900 --> 00:20:18,060 So, your security score is basically one or two points per challenge set per round. 207 00:20:18,060 --> 00:20:21,580 One, basically, if you've actually had a vulnerability proven against you. 208 00:20:21,580 --> 00:20:24,340 And two, if you've managed to maintain your security. 209 00:20:24,340 --> 00:20:28,940 So, your max score per challenge set per round is actually two times 100. 210 00:20:28,980 --> 00:20:32,500 So, basically, 200 points per challenge per round in security. 211 00:20:33,220 --> 00:20:34,820 So, moving on. 212 00:20:34,880 --> 00:20:40,860 Evaluation is the proving of vulnerabilities against other bots. 213 00:20:40,860 --> 00:20:43,920 So, there's a concept that we call a POV. 214 00:20:43,920 --> 00:20:55,340 And a POV is a proof of vulnerability, which basically shows that you can give input to that system that will demonstrate sufficient control over the system, but not having to actually carry out an exploit. 215 00:20:55,340 --> 00:20:56,940 So, this is a really new metric, actually. 216 00:20:56,940 --> 00:20:59,460 This is something that's been invented for CGC. 217 00:20:59,460 --> 00:21:02,560 But I actually kind of hope to see pervade the community. 218 00:21:02,560 --> 00:21:10,740 Because traditionally, to show whether or not something is vulnerable, a person, a researcher, has had to actually implement an entire exploit to prove that, right? 219 00:21:10,740 --> 00:21:24,520 So, in our POVs, we effectively create a situation where showing sufficient control over, for example, program execution flow or being able to read arbitrary memory from the program, if those two situations exist, there's a good chance that it's exploitable, 220 00:21:24,520 --> 00:21:24,760 right? 221 00:21:24,760 --> 00:21:27,820 It's not going to be true in every case, but it creates a metric. 222 00:21:28,080 --> 00:21:38,020 So, in creating these POVs and throwing them, they can score between 1 and 2 points, again, per CS per round, which gets multiplied by 100, being 200 per... But that's a good distinction. 223 00:21:38,020 --> 00:21:40,900 Because typically, the average user is thinking about malware. 224 00:21:40,900 --> 00:21:43,940 They're thinking about something that has already taken advantage of a vulnerability. 225 00:21:43,940 --> 00:21:44,320 Absolutely. 226 00:21:44,320 --> 00:21:47,040 And what they're doing here is that they're just proving the vulnerability. 227 00:21:47,040 --> 00:21:47,240 Right. 228 00:21:47,240 --> 00:21:48,140 They're identifying them. 229 00:21:48,140 --> 00:21:48,560 Exactly. 230 00:21:48,560 --> 00:21:49,420 Showing that they exist. 231 00:21:49,420 --> 00:21:49,640 Yep. 232 00:21:49,640 --> 00:21:55,140 And so, we hope that this could become a metric, basically, for future contests and for the evaluation of software in general. 233 00:21:55,680 --> 00:21:56,100 Wonderful. 234 00:21:56,380 --> 00:22:00,000 So, third on the list of components in the overall scoring is availability. 235 00:22:00,000 --> 00:22:01,940 The patches have to function normally. 236 00:22:02,120 --> 00:22:06,940 We all know that you could disable all functionality and software would be perfectly secure, right? 237 00:22:07,020 --> 00:22:16,400 But the digital refs are polling, the digital refs being our scoring system, are polling these services to make sure that they're still functioning correctly and that they're performant. 238 00:22:16,400 --> 00:22:23,520 So, the teams have a very slim margin by which they can disrupt the performance of these applications before they'll start losing availability points. 239 00:22:23,520 --> 00:22:27,360 The availability score is between zero and one point per round. 240 00:22:27,360 --> 00:22:29,860 And availability ends up being a percentage multiplier. 241 00:22:29,860 --> 00:22:41,000 So, anyone who's familiar with some of the human CTFs of years prior, availability is a really important element because it ends up being a multiplier that could cause you to get no credit for all your other work if your services aren't available . 242 00:22:41,000 --> 00:22:43,440 This is something that's really important in the real world, right? 243 00:22:43,440 --> 00:22:47,780 Because a particular bank, for example, finds that their ATMs have a vulnerability. 244 00:22:47,860 --> 00:22:50,140 In order to fix it, they have to take all their ATMs online. 245 00:22:50,140 --> 00:22:50,720 Potentially, yep. 246 00:22:50,720 --> 00:22:51,820 At least for a time window, yep. 247 00:22:51,820 --> 00:22:52,240 Absolutely. 248 00:22:52,240 --> 00:22:52,820 Exactly. 249 00:22:52,820 --> 00:22:54,540 So, being available is important. 250 00:22:54,540 --> 00:22:56,620 So, how is the total score calculated? 251 00:22:56,620 --> 00:22:56,920 Yep. 252 00:22:56,920 --> 00:23:03,520 So, successively over the rounds, those scores for all of those individual challenge sets are totaled and that's basically a team's score. 253 00:23:03,640 --> 00:23:04,440 All right. 254 00:23:04,620 --> 00:23:14,220 So, at the end of the day, these bots are autonomously making decisions regarding the best strategy to pursue, factored in trade-offs among security evaluation and availability. 255 00:23:14,220 --> 00:23:16,600 So, they're making these decisions all on their own. 256 00:23:16,600 --> 00:23:18,720 If that's true, that's a game changer. 257 00:23:18,720 --> 00:23:19,660 Absolutely. 258 00:23:19,660 --> 00:23:27,460 Autonomous reasoning about vulnerabilities and being able to actually take action on those things that have been reasoned would be a major, major breakthrough. 259 00:23:27,460 --> 00:23:37,300 And so, CGC is here basically as a catalyst to try and spur industry and to try and spur on and inspire people to carry this research further. 260 00:23:37,320 --> 00:23:38,320 Cool. 261 00:23:38,360 --> 00:23:40,320 Thanks for that explanation, Vizzy. 262 00:23:40,320 --> 00:23:44,220 And tonight, we're going to have unofficial results. 263 00:23:44,220 --> 00:23:53,240 Verification of the various bot scores will run overnight to determine the official winner, which will be announced tomorrow morning at the opening of the DEF CON conference. 264 00:23:54,360 --> 00:24:01,100 Everything you might want to know about the Cyber Grand Challenge and its challenge sets is used today or is available online. 265 00:24:01,100 --> 00:24:06,960 You can download the Cyber Grand Challenge sets and the results from today's final event at this URL. 266 00:24:06,960 --> 00:24:12,700 The URL is www.cybergrandchallenge.com. 267 00:24:13,300 --> 00:24:19,040 So, these machines started playing this morning and they're playing right now. 268 00:24:19,040 --> 00:24:21,640 So, what happened in the very first rounds? 269 00:24:21,640 --> 00:24:23,660 So, let's go down to the lounge where H.J. 270 00:24:23,660 --> 00:24:25,880 is standing by with all the participants. 271 00:24:25,920 --> 00:24:27,580 H.J., how's it going? 272 00:24:27,580 --> 00:24:28,800 It's going fantastic. 273 00:24:28,800 --> 00:24:37,480 Rubius, we all saw that for a single challenge binary, your CRS developed four different POVs. 274 00:24:37,480 --> 00:24:42,580 It sent three to three different teams and one POV to the other three teams. 275 00:24:42,580 --> 00:24:45,620 What strategy is this that you employed? 276 00:24:45,760 --> 00:24:55,260 So, when we detect that a crash occurs, we'll take that input that developed to that crash and we will try to figure out what amount of control that we have over it. 277 00:24:55,260 --> 00:25:02,020 So, all depending on the type of control that we have, we'll generate a variety of different potential POVs for them. 278 00:25:02,020 --> 00:25:04,720 And then each one we evaluate to see the quality of the POV. 279 00:25:04,720 --> 00:25:15,280 So, all depending on what service the competitor has fielded at that point, we'll evaluate it to determine what's the best of the POVs candidates that we have selected that is appropriate for that particular service. 280 00:25:15,280 --> 00:25:23,500 So, all depending on what the competition, the field, looks like, we'll rank the most appropriate one to field, to send out for them. 281 00:25:23,500 --> 00:25:24,400 That's incredibly interesting. 282 00:25:24,400 --> 00:25:25,040 Nice. 283 00:25:25,100 --> 00:25:33,020 So, we also have with us the team captain from Mayhem to talk about the scores from round three. 284 00:25:33,080 --> 00:25:36,200 At this point, after round three, Mayhem is in the lead. 285 00:25:36,240 --> 00:25:38,960 So, is this something you expected or what do you think? 286 00:25:38,960 --> 00:25:41,920 I was certainly hoping that he would be in the lead. 287 00:25:42,100 --> 00:25:52,980 We have a system that's able to find POV very quickly and make sure the pipeline for finding a cache to generating a POV is as fast as it can be. 288 00:25:53,500 --> 00:25:53,880 Excellent. 289 00:25:53,880 --> 00:25:54,280 Thank you. 290 00:25:54,280 --> 00:25:55,200 I appreciate it. 291 00:25:55,200 --> 00:25:57,000 So, it sounds like things are heating up down here. 292 00:25:57,000 --> 00:25:58,360 Back to you, Hakeem. 293 00:25:59,620 --> 00:26:02,360 Showing us some of the results from round three, HJ. 294 00:26:02,580 --> 00:26:06,640 Vizzy, why did HJ address round three and not round one? 295 00:26:06,640 --> 00:26:08,260 That's a great question, Hakeem. 296 00:26:08,260 --> 00:26:14,820 So, basically, the first few rounds in the game end up representing a microcosm of what happens every time a challenge set is released. 297 00:26:14,820 --> 00:26:22,140 In round zero, the challenge set goes out, and the bots have the first opportunity to take a look at it but haven't really had a chance to react to it yet. 298 00:26:22,200 --> 00:26:27,080 So, then, in round one is basically the first time that the bots can throw a POV. 299 00:26:27,080 --> 00:26:39,780 So, they haven't even had the opportunity to patch yet, but if they have managed to reason about a vulnerability in that piece of software, they can exercise it in round one and successively in the second round after the release of each challenge set. 300 00:26:39,780 --> 00:26:45,200 So, in round two is the first instance where the bots can patch, which they may choose or choose not to. 301 00:26:45,200 --> 00:26:51,740 But the CS will be down and unavailable for that round, which means that they also can't score, they can't prove against other systems. 302 00:26:51,800 --> 00:26:58,940 So, then, once round three comes around is the first time that we should see patched challenge sets come back up and become available again. 303 00:26:58,940 --> 00:27:02,420 So, once the CS is available, they can score points for that round. 304 00:27:02,420 --> 00:27:03,780 That sounds excellent. 305 00:27:03,780 --> 00:27:05,460 That sounds like the crowd liked it, too. 306 00:27:05,460 --> 00:27:08,480 So, I'm seeing some awesome visualizations right there next to you, Vizzy. 307 00:27:08,480 --> 00:27:10,460 So, what's going on there? 308 00:27:10,460 --> 00:27:15,980 Yeah, so, this is one of the custom visualizations that was developed for CGC called the arena view. 309 00:27:15,980 --> 00:27:22,900 And this is a super, super data dense view where we can basically see nearly everything that's going on inside of the scoring round. 310 00:27:22,900 --> 00:27:36,340 This super busy view that you can see here in front of us actually contains the real data, data-driven visualization for every one of the service poles, every one of the POVs being thrown, potentially every one of the POVs landing, right? 311 00:27:36,340 --> 00:27:44,880 So, basically, in this viewpoint, we're going to end up breaking out a bunch of this for you guys to show you each of the elements of this particular viewpoint. 312 00:27:44,880 --> 00:27:45,300 Okay. 313 00:27:45,300 --> 00:27:47,540 So, tell me what kind of challenges these bots are facing. 314 00:27:47,540 --> 00:27:48,160 Sure. 315 00:27:48,240 --> 00:27:55,860 So, to really understand the challenges that are being faced by the bots and specifically in the program analysis perspective, we kind of have to go back in time. 316 00:27:56,100 --> 00:28:08,320 In 1936, Alan Turing demonstrated a concept called the halting proof, which basically states that in a generalized self-contained computer system, it's impossible to actually determine whether or not it's ever going to halt. 317 00:28:08,980 --> 00:28:10,440 Sounds fairly simple. 318 00:28:10,440 --> 00:28:15,720 But basically, what that means to algorithms is that the state space is potentially infinite. 319 00:28:15,720 --> 00:28:17,440 Bots attempt to automate knowledge. 320 00:28:17,440 --> 00:28:24,320 And so, they have to codify approximations to these solutions that are ultimately potentially infinite and potentially impossible. 321 00:28:24,420 --> 00:28:24,800 Wow. 322 00:28:24,800 --> 00:28:28,100 So, it's really difficult to visualize infinity. 323 00:28:28,100 --> 00:28:32,200 So, I imagine that's why we have these awesome new visualizations. 324 00:28:32,200 --> 00:28:38,840 In my field of astrophysics and data science, right, visualization of data is a field within itself. 325 00:28:38,840 --> 00:28:40,340 So, what do we have here? 326 00:28:40,600 --> 00:28:44,640 So, this is the actual full arena view that Void Alpha has developed. 327 00:28:44,640 --> 00:28:48,260 We can see this massive number of, like, this massive amount of iconography. 328 00:28:48,260 --> 00:28:50,780 We can see this, all the service poles in effect. 329 00:28:50,780 --> 00:28:55,480 So, basically, in the arena view, it illustrates everything that's happening inside of a given round. 330 00:28:55,660 --> 00:28:56,220 Okay. 331 00:28:56,220 --> 00:29:01,740 So, if we move on, we can get a viewpoint that shows just one scorecard from one team. 332 00:29:01,740 --> 00:29:05,380 And as you'll see, the bots actually have colors and iconography for each of them. 333 00:29:05,380 --> 00:29:09,200 And those colors will remain consistent throughout the entirety of the visualizations. 334 00:29:09,220 --> 00:29:12,500 So, anytime you see that color, it will be associated with that bot. 335 00:29:12,640 --> 00:29:15,100 So, here we can see one scorecard broken out. 336 00:29:15,100 --> 00:29:21,420 Every one of these little hex tiles that you can see here, these little hexagons, represents one of those challenge sets, one of those binaries. 337 00:29:21,480 --> 00:29:28,260 So, basically, the gist of it is we can see the state of each of those things through the little hexes that are on each bot's scorecard. 338 00:29:28,380 --> 00:29:37,540 For example, here we can see that this one is down that cycle for patching, or that this one has been successfully proven a vulnerability against by the yellow team. 339 00:29:37,680 --> 00:29:45,120 So, if we break down these individual hexes a little further, we can see, actually, the three components from the scoring system that we talked about before. 340 00:29:45,120 --> 00:29:50,120 Security, availability, and evaluation are each represented for each of those hex tiles, right? 341 00:29:50,120 --> 00:29:58,660 So, this very, very data-dense view starts to occur, where if they've maintained security for that challenge set per round, we'll see this sort of flag border thing occur. 342 00:29:58,660 --> 00:30:05,340 And if it's been successfully proven as vulnerable by one of the other bots, we'll see that white border go away. 343 00:30:05,340 --> 00:30:12,540 Similarly, availability, if the tile has this healthy sort of sphere in the center, that means that it's running and available and online. 344 00:30:12,540 --> 00:30:21,480 And basically, as that either ceases to perform correctly or ceases to function correctly, we'll see that shrink down sort of toward this smaller black hex. 345 00:30:21,480 --> 00:30:24,260 And then one more is basically this evaluation. 346 00:30:24,260 --> 00:30:33,000 So, this sort of little pie slice basically represents what we're going to see as a team successfully proves vulnerabilities against all the other teams. 347 00:30:33,000 --> 00:30:37,840 They'll take that little section of the pie that's the color from that team's bot. 348 00:30:37,840 --> 00:30:42,680 So, we're seeing a lot happen in this visualization that we have here. 349 00:30:42,680 --> 00:30:44,780 So, how am I supposed to understand all this? 350 00:30:44,780 --> 00:30:46,740 I'm not a coder like you, man. 351 00:30:46,740 --> 00:30:49,800 So, how do I see what's happening inside the code? 352 00:30:50,440 --> 00:30:55,300 So, we have one more set of iconography to go through for the arena view. 353 00:30:55,440 --> 00:31:04,040 But the gist of it is you'll see these little service pole guys, as well as the proof of vulnerabilities being attempted, flying in from the scoring system that's at the center. 354 00:31:04,240 --> 00:31:10,140 So, as those are going in, basically the service poles will stay green if they're actually successfully functioning. 355 00:31:10,260 --> 00:31:17,300 And if you see them turn red right as they're reaching those individual challenge sets, we'll see them, we'll be basically registering that that service is down. 356 00:31:17,860 --> 00:31:18,040 Okay. 357 00:31:18,040 --> 00:31:21,700 So, we can also see POVs being thrown, but we'll talk a little bit more about that later. 358 00:31:21,920 --> 00:31:22,260 All right. 359 00:31:22,260 --> 00:31:25,260 So, we get to see from this view who's owning who. 360 00:31:25,260 --> 00:31:28,680 Or as you nerds like to say, who's pawning who or something like that, right? 361 00:31:28,680 --> 00:31:28,960 Yeah. 362 00:31:28,960 --> 00:31:29,240 Yeah. 363 00:31:29,240 --> 00:31:32,100 The rematches are special gold hexes that we'll see. 364 00:31:32,100 --> 00:31:41,680 So, these tiles are basically representative of those challenge sets that represent those historically relevant vulnerabilities that have been being discussed so far. 365 00:31:41,700 --> 00:31:48,060 So, the patching, we have a way of visualizing when it happens and we have a way of looking at when it works well. 366 00:31:48,060 --> 00:31:50,080 So, what does a bad patch look like? 367 00:31:50,200 --> 00:31:50,660 Absolutely. 368 00:31:50,660 --> 00:31:59,080 So, one of the things that we've developed for this particular, entirely just for CGC, is a view that we like to call the trace view or the filament view. 369 00:31:59,080 --> 00:32:07,240 And the filament view basically allows us to abstract upward and take a look at a larger scope of what's going on inside of the executable at the time. 370 00:32:07,400 --> 00:32:17,260 So, the gist of the trace view is that the individual sections of code flow are actually projected over a Hilbert curve, which maintains spatial relevance. 371 00:32:17,260 --> 00:32:27,040 So, we see code flow actually progress through the areas of memory and if something is a section of code that's far away or is close by, it'll end up being close by or far away. 372 00:32:27,040 --> 00:32:40,280 So, as execution continues through time, we can see basically some of these icons occur and some of these structures develop that'll actually show us things like state machines and state machine parsers and we'll also see things like loops occurring. 373 00:32:40,280 --> 00:32:48,220 So, little sections like this where we'll see tight little sections of code that look very repetitive are actually oftentimes processing loops or I.O. 374 00:32:48,220 --> 00:32:49,000 loops. 375 00:32:49,020 --> 00:32:59,260 Additionally, along the trace as it executes, we get to see the individual icons that represent the syscalls that we've spoken about being present in the decree platform. 376 00:32:59,340 --> 00:33:08,080 So, the six or so syscalls that are available in the decree platform will each be indicated along the trace view or along the filament view as it executes. 377 00:33:08,300 --> 00:33:16,460 So, if we wanted to take a look at some of those syscalls that are available, basically we have a transmit and receive from the network side of things. 378 00:33:16,460 --> 00:33:23,320 There's also a randomness or entropy and then we'll also see things like program termination when we've got the program terminating correctly here . 379 00:33:23,400 --> 00:33:24,700 All right, well thank you, Vizi. 380 00:33:24,700 --> 00:33:36,740 So, now that everyone here at home, now everyone here in the and everyone who's watching on the internet have had some insight into how the CGC works, let's take a look at a conversation that happened today between H.J. 381 00:33:36,740 --> 00:33:39,840 and team members right after the competition started. 382 00:33:41,820 --> 00:33:48,580 If anything goes wrong during our testing, right, we could go and fix it and whatnot, but everything might fall apart here. 383 00:33:48,580 --> 00:33:49,300 Let's hope not. 384 00:33:49,300 --> 00:33:50,760 What type of fuzzing stuff did you use? 385 00:33:50,760 --> 00:33:52,180 Is it informed fuzzing? 386 00:33:52,180 --> 00:33:53,240 Is it generic dump fuzzing? 387 00:33:53,240 --> 00:33:55,220 It's pretty much a black box. 388 00:33:55,220 --> 00:33:57,980 We'd be happy to be this historical moment. 389 00:33:57,980 --> 00:34:02,260 I think this is, you know, a bright point in the new future that we should have. 390 00:34:02,260 --> 00:34:06,040 We should have fully autonomous systems that are there to protect our software. 391 00:34:06,140 --> 00:34:07,860 The fuzz size was never an issue for us. 392 00:34:07,860 --> 00:34:09,160 It's more about the memory. 393 00:34:09,440 --> 00:34:10,420 It's the memory. 394 00:34:11,020 --> 00:34:12,200 Nervous anticipation? 395 00:34:12,400 --> 00:34:13,340 I doubt it. 396 00:34:13,440 --> 00:34:15,620 I'm just going to get a good night's sleep one of these days. 397 00:34:15,620 --> 00:34:18,700 So, you can see the first few letters are CRS, of course. 398 00:34:18,700 --> 00:34:20,260 I see the blue lights blinking. 399 00:34:20,580 --> 00:34:21,960 It's doing work. 400 00:34:21,960 --> 00:34:27,280 Yesterday morning it's like something didn't work and we were like working really busy to solve the issue. 401 00:34:27,740 --> 00:34:29,520 Now it seems to be working, at least. 402 00:34:29,660 --> 00:34:32,980 We use a common language, the hacker's first choice, Python. 403 00:34:33,320 --> 00:34:34,580 It's really sweet. 404 00:34:34,600 --> 00:34:35,900 Yeah, very impressive. 405 00:34:36,840 --> 00:34:40,260 I mean, I didn't know you could make like server x look this good. 406 00:34:40,820 --> 00:34:43,520 You know, also we have a affinity for bacon. 407 00:34:43,520 --> 00:34:46,300 So, we made sure that Crispy could make bacon. 408 00:34:46,440 --> 00:34:48,440 It's intimidating. 409 00:34:48,580 --> 00:34:51,980 I'm also very thrilled to be in this exciting moment. 410 00:34:51,980 --> 00:34:53,820 I feel like we are in the future. 411 00:34:53,880 --> 00:34:55,900 I saw the picture yesterday you posted on Twitter. 412 00:34:55,900 --> 00:34:57,760 Was it you that was upside down in your chair? 413 00:34:57,760 --> 00:34:58,300 Yeah. 414 00:34:58,960 --> 00:35:04,640 There's a lot of really exciting game strategy, the game dynamics that we could learn during round time. 415 00:35:04,640 --> 00:35:06,000 I hope we don't crash and burn. 416 00:35:06,720 --> 00:35:08,280 I just want to play. 417 00:35:08,680 --> 00:35:10,300 That was a great video. 418 00:35:10,320 --> 00:35:12,820 Now, we've heard how do bots play defense. 419 00:35:12,820 --> 00:35:14,660 Vizi, how do they play offense? 420 00:35:14,960 --> 00:35:23,040 So, this concept that we've been talking about with the POV, the bots have to actually generate the traffic that's necessary to exercise those bugs. 421 00:35:23,080 --> 00:35:31,200 So, as they demonstrate those vulnerabilities, they'll be able to score points and as long as their services are available, they'll be able to throw an attempt to prove a vulnerability. 422 00:35:31,420 --> 00:35:34,120 Each POV can be thrown up to 10 times per round. 423 00:35:34,120 --> 00:35:39,900 So, for example, Rubius has thrown a successful POV versus one of the challenge sets called Thermal Controller. 424 00:35:39,900 --> 00:35:44,220 So, what we're seeing here is definitely the round output for round three. 425 00:35:44,540 --> 00:35:52,500 So, as you can see in the very, very busy view, we've got several teams that are down for patching in round three, but we've also got several teams that have successfully thrown a POV. 426 00:35:52,500 --> 00:35:56,360 We can see, for example, Zandra right here and several of the others. 427 00:35:56,360 --> 00:36:02,680 Anywhere we see these little pie slices coming in, have successfully thrown POVs and evaluated against the other teams. 428 00:36:02,740 --> 00:36:10,460 As well as the patches being deployed, for example, here with the little gear icons showing those services being down. 429 00:36:11,400 --> 00:36:15,660 All right, so walk us through what a good POV looks like in filament view. 430 00:36:15,880 --> 00:36:16,920 Sure, absolutely. 431 00:36:16,920 --> 00:36:22,740 So, in this instance, we'll have two filaments and they basically begin with the same trace data. 432 00:36:22,840 --> 00:36:29,900 So, the traces will show, ultimately, that the data that's being ingested by them for the binaries is what actually causes the code to go in different directions. 433 00:36:29,900 --> 00:36:40,650 We see, actually, two binaries having data being ingested right now, where it's basically the same binary receiving a POV, one POV from one of the teams as well as from another. 434 00:36:40,650 --> 00:36:54,530 And in the overlap, we can basically see that the code flow diverges very late on, about here, and we end up being able to see it's actually managed to execute and terminate correctly. 435 00:36:54,530 --> 00:36:56,310 This one is successful. 436 00:36:56,310 --> 00:36:59,730 So, we see him actually gather the data and transmit it out the network. 437 00:36:59,730 --> 00:37:01,970 So, that's what this icon means right here in the trace view. 438 00:37:01,970 --> 00:37:04,610 And then we see it execute and terminate correctly. 439 00:37:05,610 --> 00:37:15,690 Versus a failed POV, which is basically the other one, which we see just executing correctly and terminating, rather than actually transmitting any flag data back. 440 00:37:15,830 --> 00:37:16,590 Understood. 441 00:37:16,590 --> 00:37:21,810 So, you can have an attempt to patch that is successful or unsuccessful. 442 00:37:21,810 --> 00:37:24,970 You can have a POV that's successful or unsuccessful. 443 00:37:24,970 --> 00:37:34,690 So, in the example of the failed POV, actually, it looks like they may have actually been fuzzing rather than trying to use sort of a scalpel-like approach to exercise the vulnerability. 444 00:37:34,830 --> 00:37:36,610 And so, they may have been doing that. 445 00:37:36,610 --> 00:37:40,670 We have to sort of interpret and guess what the team's strategy is in doing something like that. 446 00:37:40,670 --> 00:37:49,710 But it could be that they're trying to give unknown inputs to try and utilize the system to force that other bot to do all that extra analysis work. 447 00:37:49,710 --> 00:37:50,510 Understood. 448 00:37:50,550 --> 00:37:53,190 So, what does all of this mean for the competition, then? 449 00:37:53,190 --> 00:37:53,830 Yeah. 450 00:37:53,830 --> 00:37:59,670 So, basically, the competition is going to progress as these challenge sets roll out. 451 00:37:59,670 --> 00:38:06,210 And we will be able to break out and show you some of the POVs and some of the code divergence that occurs over the course of the successive rounds. 452 00:38:06,370 --> 00:38:06,910 All right. 453 00:38:06,910 --> 00:38:09,390 So, let's take a look at the round four scoreboard. 454 00:38:09,410 --> 00:38:10,950 Who is ahead? 455 00:38:11,310 --> 00:38:16,070 It looks like we have Rubius in first place with 12,000 points. 456 00:38:16,070 --> 00:38:19,490 And we can see, actually, it's still a very, very close game. 457 00:38:19,490 --> 00:38:21,630 We've got Mayhem and Gima and on down. 458 00:38:21,630 --> 00:38:24,750 But, basically, it looks like everybody is at least performing correctly. 459 00:38:24,750 --> 00:38:39,730 We can see through the right-hand side, if you look down over here, those same colored areas that we spoke about that basically represent the availability, security, and evaluation of each of those bots is basically showing that all of them are doing quite well. 460 00:38:39,730 --> 00:38:45,770 There's a little bit of availability problem, potentially, on Zandra's side, because that's represented by the green line. 461 00:38:45,810 --> 00:38:50,830 The red line represents each of those bots' evaluation points and how well they're scoring in that. 462 00:38:50,830 --> 00:38:52,690 And the blue line represents security. 463 00:38:52,690 --> 00:38:59,030 So, that's one of those things where we'll inevitably see availability become a very important element of the scoring. 464 00:38:59,030 --> 00:39:08,150 So, Mayhem, in this next scoreboard seven, we will actually see Mayhem overtake Rubius to take first place. 465 00:39:08,290 --> 00:39:15,930 And it looks like, again, it's still a very close game, but it may actually be Mayhem's security approach that's allowing them to take the lead at this point. 466 00:39:16,190 --> 00:39:16,730 All right. 467 00:39:16,730 --> 00:39:22,210 So, Mayhem and Rubius are battling for the lead, and it looks like Gima's right behind them. 468 00:39:22,210 --> 00:39:23,050 Absolutely. 469 00:39:23,130 --> 00:39:24,830 So, let's look at the round ten. 470 00:39:24,830 --> 00:39:25,690 Let's see what's going on. 471 00:39:25,690 --> 00:39:27,070 Let's progress the game. 472 00:39:27,390 --> 00:39:28,450 This is round ten. 473 00:39:28,450 --> 00:39:32,690 So, we see all these arrows coming in, and we see people taking stuff from others. 474 00:39:32,710 --> 00:39:38,310 This is a lot happening, but we know that our leader is... Mayhem. 475 00:39:38,310 --> 00:39:38,790 Mayhem. 476 00:39:38,790 --> 00:39:39,310 Yeah. 477 00:39:39,310 --> 00:39:39,630 Yeah. 478 00:39:39,630 --> 00:39:43,410 Well, with a name like Mayhem... They would have to... Yeah, absolutely. 479 00:39:43,490 --> 00:39:45,250 You better do well. 480 00:39:45,250 --> 00:39:48,690 So, from rounds zero to ten, our bot leader is Mayhem. 481 00:39:48,690 --> 00:39:49,990 They pass Rubius. 482 00:39:49,990 --> 00:39:54,230 So, HJ, what do their teams have to say about this change of events? 483 00:39:54,230 --> 00:39:58,410 Actually, I have with me here the team leaders for Rubius and Mayhem. 484 00:39:58,410 --> 00:40:04,230 So, we just saw on round ten that Mayhem overtook Rubius for the lead. 485 00:40:04,230 --> 00:40:05,070 What do you think? 486 00:40:05,670 --> 00:40:09,850 Well, I think this is a very exciting competition. 487 00:40:09,870 --> 00:40:15,910 So, it's a little nerve-wracking, but I'm glad that it's closely contested. 488 00:40:16,150 --> 00:40:18,110 And it's only... What was that? 489 00:40:18,110 --> 00:40:19,610 Round ten. 490 00:40:19,730 --> 00:40:21,650 I think it's round ten out of about 90 or so. 491 00:40:21,650 --> 00:40:23,690 So, we're only one ninth out of the way. 492 00:40:23,890 --> 00:40:26,550 Do you think you'll be able to keep the lead? 493 00:40:27,010 --> 00:40:30,110 Well, I hope we stay competitive. 494 00:40:30,270 --> 00:40:31,750 It's a long competition. 495 00:40:32,150 --> 00:40:36,850 What do you think about the current switching back and forth between first and second? 496 00:40:36,850 --> 00:40:39,710 Did you expect a close call for the lead? 497 00:40:39,710 --> 00:40:44,370 Yeah, we expected to have great competition, and we do. 498 00:40:44,530 --> 00:40:48,870 We hope that we keep, you know, working well like that. 499 00:40:49,350 --> 00:40:50,090 Yeah. 500 00:40:50,350 --> 00:40:51,030 Thank you. 501 00:40:51,030 --> 00:40:51,910 Thank you both. 502 00:40:52,130 --> 00:40:53,930 So, that's what's going on down here, Akim. 503 00:40:53,990 --> 00:40:55,270 Back to you. 504 00:40:55,310 --> 00:40:57,610 All right, and thank you team members. 505 00:40:57,610 --> 00:41:04,930 I'd like to introduce everyone to a special part of this Cyber Grand Challenge that we talked about a little earlier, and these are our Rematch Challenges. 506 00:41:04,930 --> 00:41:15,390 We've created challenge binaries inspired by real-world vulnerabilities that have shaped the history of the internet and how cybersecurity has evolved along with the internet. 507 00:41:15,390 --> 00:41:24,710 Our team's bots are starting with no knowledge of the custom vulnerability protocols we've devised, and their challenge is to find, patch, and prove them. 508 00:41:24,710 --> 00:41:33,990 The team's systems have learned to speak languages they knew nothing about, and the language we have chosen for our special challenge represents unique chapters in cybersecurity. 509 00:41:34,110 --> 00:41:38,230 Let's start by taking a look at two of these Rematch Challenges. 510 00:41:39,250 --> 00:41:45,990 Our first Rematch Challenge is called Secure Server, and it was inspired by Heartbleed. 511 00:41:46,450 --> 00:41:57,030 Absolute memory disclosure bug in OpenSSL, and at the time of the discovery, Heartbleed became promenaded, generating a lot of media coverage and breaking through to mainstream public awareness. 512 00:41:57,150 --> 00:42:03,010 OpenSSL, we talked about before, is a software library used for securing communications from eavesdropping. 513 00:42:03,010 --> 00:42:10,970 The discovery of Heartbleed called into question the security and privacy of an estimated 66% of encrypted web services. 514 00:42:10,970 --> 00:42:16,590 This was a different type of vulnerability because it was very simple and did not depend on the execution of code. 515 00:42:16,590 --> 00:42:21,510 We turn to Debbie Nuttall to tell us more about these particular bugs. 516 00:42:21,690 --> 00:42:26,550 An extension was written in OpenSSL to allow computers to say, hey, are you still there? 517 00:42:26,550 --> 00:42:29,850 So we know the server is still up, the connection is still there. 518 00:42:29,850 --> 00:42:34,990 So a client can send a packet to the server. 519 00:42:35,570 --> 00:42:39,550 The server just repeats that data back to the client. 520 00:42:39,550 --> 00:42:41,210 Yes, I'm still here, here's your data. 521 00:42:41,450 --> 00:42:44,730 Well, there's a length field that comes at the beginning of that data. 522 00:42:44,730 --> 00:42:48,630 So the client says, I'm going to send you 10 bytes, here's your 10 bytes. 523 00:42:48,630 --> 00:42:49,490 They go to the server. 524 00:42:49,490 --> 00:42:52,750 The server says, oh, you sent me 10 bytes, here's your 10 bytes. 525 00:42:53,330 --> 00:42:56,790 There was a vulnerability, an error in the way that was written. 526 00:42:56,870 --> 00:43:03,830 So a client could send a packet that said, hey, give me 400 bytes, but it only had 10 bytes on it. 527 00:43:03,830 --> 00:43:08,790 The packet comes in, the server goes, oh, you said you sent me 400 bytes, here's 400 bytes. 528 00:43:08,810 --> 00:43:12,910 Here's the 10 you gave me, and then here's 390 bytes of secrets. 529 00:43:12,950 --> 00:43:14,510 And it sent that packet back. 530 00:43:14,530 --> 00:43:20,250 That was Debbie's commentary on the implementation of something that was basically modeled after the Heartbleed vulnerability. 531 00:43:20,310 --> 00:43:28,070 And the Heartbleed vulnerability was unique because it was a memory disclosure only bug that still had dramatic ramifications. 532 00:43:28,070 --> 00:43:35,490 So in the instances where you're looking for crashes to find bugs, if something's doing memory disclosure, it may actually not crash. 533 00:43:35,490 --> 00:43:39,330 And so that can occasionally make those vulnerabilities more difficult to find. 534 00:43:39,330 --> 00:43:53,990 But in this instance, it had such a significant impact because that memory disclosure, that additional data that you could request from the system, like she mentioned in the video, was actually disclosing key material and sensitive data that made it so that you could actually take advantage of it without having to gain arbitrary execution on the platform. 535 00:43:53,990 --> 00:43:58,770 And this is one that was so recent that we all have... Recent memory of it, yeah. 536 00:43:58,770 --> 00:44:00,410 Recent memory of it, we may have been impact. 537 00:44:00,410 --> 00:44:04,010 So what are the real world implications of the rematch results? 538 00:44:04,010 --> 00:44:08,890 So being able to actually patch this would mean that those systems would be able to get that patch deployed very quickly. 539 00:44:08,890 --> 00:44:13,410 And the OpenSSL library specifically is embedded in so many pieces of software. 540 00:44:13,410 --> 00:44:21,130 So many embedded platforms, embedded Linux and things like that are running OpenSSL, even inside of IoT, Internet of Things, and all the hype that we hear about. 541 00:44:21,130 --> 00:44:23,210 But this one really actually is that pervasive. 542 00:44:23,270 --> 00:44:32,490 Our second rematch challenge is called the Address Resolution Service, which was inspired by a software flaw that led to the SQL Slammer worm. 543 00:44:32,490 --> 00:44:44,170 SQL Slammer exploited a buffer overflow in Microsoft SQL Server in January 2003, spreading so rapidly that it infected 75,000 machines within 10 minutes. 544 00:44:44,410 --> 00:44:49,130 SQL Slammer hit the Internet when the web had already become a part of daily life. 545 00:44:49,130 --> 00:44:55,510 And what's really interesting about this one is that the cure, or patch, had been released six months earlier. 546 00:44:55,510 --> 00:44:59,890 But so few patches had been installed that most everyone was still vulnerable. 547 00:44:59,890 --> 00:45:05,950 Now let's hear what Debbie Nuttall, author of the Rematch Challenges, has to say about Address Resolution Service. 548 00:45:05,950 --> 00:45:08,910 In 2003, the SQL Slammer came out. 549 00:45:09,250 --> 00:45:16,590 SQL Slammer was a single packet that ground the Internet to a halt in 10 minutes. 550 00:45:16,590 --> 00:45:20,110 There were servers that were running Microsoft SQL Server. 551 00:45:20,110 --> 00:45:27,890 This one packet could come in and cause the server to send out packets to all the other servers. 552 00:45:28,050 --> 00:45:38,670 So we had this flood of packets bouncing around the Internet so fast, it actually overwhelmed routers and critical infrastructure of the Internet. 553 00:45:38,670 --> 00:45:41,850 And those systems ground to a halt and shut down. 554 00:45:41,850 --> 00:45:44,650 I like the SQL Slammer bug for a couple of reasons. 555 00:45:44,650 --> 00:45:47,330 For one, it was just so devastating. 556 00:45:47,330 --> 00:45:49,310 So rapidly devastating. 557 00:45:49,310 --> 00:46:00,070 One of the reasons why we need this CRS technology coming out of CGC is that once an attack comes out in the real world, we need to be able to respond in computer time. 558 00:46:00,070 --> 00:46:02,190 We don't have time for a human to analyze it. 559 00:46:02,190 --> 00:46:04,910 We need computers that can do this just as quickly. 560 00:46:04,910 --> 00:46:06,330 So 10 minutes. 561 00:46:06,750 --> 00:46:12,010 Can the CRSs find and patch this bug in less than 10 minutes? 562 00:46:12,850 --> 00:46:16,370 What are some of the stories around these real-world vulnerabilities? 563 00:46:16,910 --> 00:46:17,570 Absolutely. 564 00:46:17,570 --> 00:46:22,970 So Slammer, I think anybody that was involved in information technology back then remembers. 565 00:46:22,970 --> 00:46:33,850 It was so virulent because, like Deb mentioned, it was a single UDP packet basically allowing it to spray and not even really have to form actual connections to the systems as it spread. 566 00:46:34,010 --> 00:46:38,670 So basically it was a really bad week for sysadmins or anybody involved in information security. 567 00:46:38,970 --> 00:46:45,710 And so as we roll out these special challenge binaries, they come into the game and then they exit the game at a certain point. 568 00:46:45,710 --> 00:46:47,750 So if they don't get them, they don't get them. 569 00:46:47,750 --> 00:46:48,910 Yep, and that's definitely true. 570 00:46:48,910 --> 00:46:57,910 So each of the challenge sets is in the game for only a set amount of time and we will see hopefully some of them manage to POV and squeak it in even at the last couple of rounds. 571 00:46:57,910 --> 00:46:58,790 All right. 572 00:46:58,930 --> 00:47:06,170 Our next rematch challenge is called File Explorer and is modeled on a flaw commonly known as the link LNK bug. 573 00:47:06,170 --> 00:47:13,810 The link bug is a shortcut icon vulnerability that allows an attacker to execute a malicious file by specifying its location. 574 00:47:13,810 --> 00:47:16,510 And it can be activated quite easily by users. 575 00:47:16,510 --> 00:47:27,410 Microsoft patched that vulnerability in August 2010, but in January 2015, a researcher discovered that even patch systems were still vulnerable to the same attack. 576 00:47:27,410 --> 00:47:38,130 So the vulnerability that I chose to recreate for this CGC challenge was that bug that allowed a USB drive to be plugged into a Windows machine and execute code without any human interaction. 577 00:47:38,250 --> 00:47:39,170 You plugged it in. 578 00:47:39,630 --> 00:47:45,610 Now, as soon as the window opened to show you the contents of the drive, you didn't have to double click on anything. 579 00:47:45,610 --> 00:47:46,910 You didn't have to run anything. 580 00:47:46,910 --> 00:47:48,430 You didn't have to do anything at all. 581 00:47:48,430 --> 00:47:50,850 The vulnerability was triggered and the malicious code was run. 582 00:47:50,850 --> 00:47:58,530 As long as Windows access to that drive, the malicious code could run, a backdoor could be installed that could hide any additional files that they wanted to. 583 00:47:58,530 --> 00:48:04,730 So the other thing that's really interesting about this bug, Microsoft patched it so that everybody's USB drives were secure. 584 00:48:04,730 --> 00:48:05,890 So we thought. 585 00:48:05,890 --> 00:48:15,470 In 2015, a security researcher was analyzing this and found out that the original patch from Microsoft was not fully effective. 586 00:48:15,470 --> 00:48:17,150 There was a workaround. 587 00:48:17,210 --> 00:48:21,290 So the original vulnerability could still be accessed. 588 00:48:21,290 --> 00:48:29,010 So with the recreation of the original link bug, the challenge that we've created includes that first patch from Microsoft. 589 00:48:29,010 --> 00:48:35,950 So what's interesting about that vulnerability to me is that hundreds, if not more, security researchers looked at this. 590 00:48:35,950 --> 00:48:37,290 They looked at this vulnerability. 591 00:48:37,290 --> 00:48:38,590 There are papers out there about it. 592 00:48:38,590 --> 00:48:43,430 They looked at the patch, they analyzed it, and they still didn't see that it was still vulnerable. 593 00:48:43,690 --> 00:48:53,030 So what I want to see when I've recreated this patch version of this bug, I want to see can the computers do better than humans did on that challenge? 594 00:48:53,230 --> 00:49:02,870 So this is one of those instances of possibly developer implemented functionality that they thought was a good idea but didn't necessarily think through all the security ramifications. 595 00:49:03,070 --> 00:49:09,230 And one of the really interesting elements about this is that it was patched but not actually totally correctly patched. 596 00:49:09,230 --> 00:49:17,790 So in addition to these machines having to generate patches, we're also seeing sort of the previous evidence of that process being difficult even for humans. 597 00:49:17,790 --> 00:49:30,270 And so one of the fascinating elements about this is that with such attention being paid to that, hundreds of sets of eyes of security researchers and security professionals and developers were on that bug and didn't see it happen. 598 00:49:30,270 --> 00:49:33,650 And it took five full years before it was revealed again. 599 00:49:33,650 --> 00:49:37,830 So Vizi, how did the teams do versus address resolution service? 600 00:49:37,830 --> 00:49:38,910 Maybe you can help me there. 601 00:49:39,130 --> 00:49:44,750 So the address resolution service was basically the vulnerability that was modeled after the SQL Slammer like we were talking about. 602 00:49:44,750 --> 00:49:53,710 And we definitely saw some of the bots discover this vulnerability and actually begin trying to prove that vulnerability against other teams or other bots very, very early on. 603 00:49:53,710 --> 00:50:05,990 So this represents a true success to what we have going on here because in that five-minute window that Deb mentioned that she was hoping for, that actually managed to be proven and patched by several of the teams in the very next round. 604 00:50:05,990 --> 00:50:17,030 So that means that in a five-minute window, a totally previously never seen before challenge binary was researched and evaluated and found vulnerable and patched by a completely autonomous system. 605 00:50:17,030 --> 00:50:21,050 Okay, so people in your community, do they think this kind of thing is even possible? 606 00:50:21,050 --> 00:50:21,710 Yes. 607 00:50:21,850 --> 00:50:22,350 All right. 608 00:50:22,350 --> 00:50:23,230 It's a big deal. 609 00:50:23,430 --> 00:50:24,330 All right. 610 00:50:25,310 --> 00:50:28,990 So before this, did people in your community think that this was even possible? 611 00:50:28,990 --> 00:50:31,250 Or did people claim it was possible, but they didn't... 612 00:50:31,250 --> 00:50:31,830 Sure. 613 00:50:31,830 --> 00:50:34,570 There's been like a really wide variety of opinions on the matter. 614 00:50:34,570 --> 00:50:41,290 But basically, if we were to talk about something like this going on 15 years ago, it would have been borderline science fiction. 615 00:50:41,290 --> 00:50:41,570 Right. 616 00:50:41,570 --> 00:50:47,950 Now, I did not know about how fast these vulnerabilities could be exploited. 617 00:50:47,950 --> 00:50:50,330 And what I heard was a shock to me. 618 00:50:50,330 --> 00:50:54,390 So is it even possible for humans to be able to respond so quickly? 619 00:50:54,390 --> 00:50:55,570 Oh, absolutely not. 620 00:50:55,570 --> 00:51:04,110 Normally, basically, that process is a manual reverse engineering process that involves sometimes weeks of development cycle and releasing those binaries and things like that. 621 00:51:04,110 --> 00:51:13,510 These machines were actually capable of finding that vulnerability and exercising it in remote software in less time than it would basically have taken a reverse engineer to open it in IDA. 622 00:51:13,510 --> 00:51:14,030 Wow. 623 00:51:14,030 --> 00:51:17,490 So we are seeing the beginning of a technology revolution. 624 00:51:17,490 --> 00:51:17,950 Absolutely. 625 00:51:17,950 --> 00:51:19,650 And it looks like we've got additional information. 626 00:51:19,650 --> 00:51:25,670 It looks like Zandra and Rubius threw POVs in the first five minutes against the SQL Slammer bug. 627 00:51:25,670 --> 00:51:26,930 So we have an example. 628 00:51:26,930 --> 00:51:27,790 Yeah. 629 00:51:28,050 --> 00:51:29,450 Congratulations, guys. 630 00:51:30,010 --> 00:51:34,710 So we have an example of a patched versus an unpatched team card. 631 00:51:35,110 --> 00:51:46,070 And we can see the patching going on here, which in this particular case shows that this individual service here is down for patching and we can see that the service poles are failing because that's unavailable for that round. 632 00:51:46,250 --> 00:51:50,970 And so that basically is showing us that Mayhem in round six decided to patch. 633 00:51:51,250 --> 00:51:56,390 By the fifth round, actually, almost every team had patched this vuln. 634 00:51:56,390 --> 00:52:07,450 So what that means is that either via specific awareness of that vulnerability or via general purpose hardening, every team except one managed to protect against that vulnerability by the fifth round. 635 00:52:07,450 --> 00:52:08,350 Awesome. 636 00:52:08,350 --> 00:52:13,050 I actually have here with me the team captains for Zandra and Rubius. 637 00:52:13,050 --> 00:52:19,890 So, Rubius, you were actually one of the first teams, both of you, to successfully patch the SQL Slammer bug. 638 00:52:19,890 --> 00:52:25,490 Was there anything in particular that your CRS, you believe, was capable of doing this? 639 00:52:26,370 --> 00:52:34,470 So we are employing a variety of static analysis and dynamic analysis techniques that are fast. 640 00:52:34,470 --> 00:52:39,630 So if we can identify statically that a flaw exists, we'll immediately release a patch for it. 641 00:52:39,670 --> 00:52:48,090 So additionally, too, if we can find network traffic that we expose the vulnerability based on form of attack, we can automatically patch it. 642 00:52:48,090 --> 00:52:52,570 So I believe that those two combined factors probably led us to patch quickly. 643 00:52:52,830 --> 00:52:57,270 And so just to be clear, the SQL Slammer bug was a stack-based buffer overflow. 644 00:52:57,270 --> 00:53:02,430 Is there anything that your CRS does in particular about stack stuff to protect against this? 645 00:53:02,490 --> 00:53:19,370 We do have protections that are based on discovering the actual vulnerability and trying to learn invariants that describe what differs the exploit traffic and inputs from normal traffics and then apply a specific point patch. 646 00:53:19,630 --> 00:53:22,550 It's impossible to know for me right now. 647 00:53:22,590 --> 00:53:26,530 Like the other teams, I think we're using a combination of techniques. 648 00:53:26,530 --> 00:53:28,170 I don't rely on any one thing. 649 00:53:28,170 --> 00:53:32,470 And which particular protection worked in this case, I'll have to look at the data later. 650 00:53:32,470 --> 00:53:36,530 So Xandr was actually the first team to patch Heartbleed. 651 00:53:36,530 --> 00:53:39,990 I think the first and only team to successfully patch against Heartbleed. 652 00:53:39,990 --> 00:53:43,110 Any idea what may have caused that? 653 00:53:43,410 --> 00:53:46,730 I would guess that that's the point patch in this case. 654 00:53:47,430 --> 00:54:00,190 We had to discover the signature, the invariant, the property, the mathematical formula that describes what was causing the exploit. 655 00:54:00,190 --> 00:54:05,210 What separated the malicious inputs from the good inputs and how it was affecting the program differently. 656 00:54:05,210 --> 00:54:06,390 Excellent, thank you. 657 00:54:06,390 --> 00:54:09,390 Let's return to our next special rematch challenge. 658 00:54:09,390 --> 00:54:18,530 And we have CGCRPC, a recreation of the vulnerability MS08067, which sounds a lot like the name of a galaxy. 659 00:54:18,890 --> 00:54:30,030 This vulnerability allowed remote code execution on Microsoft servers if an affected system received a remote procedure call, which is a request to run a function on a remote system. 660 00:54:30,030 --> 00:54:34,290 This flaw laid the groundwork for creating a robust, stable exploit. 661 00:54:34,290 --> 00:54:39,390 Microsoft patched this flaw, but once again, the patch was not widely deployed. 662 00:54:39,710 --> 00:54:44,630 Okay, and how did the Cyber Grand Challenge teams deal with CGCRPC? 663 00:54:44,630 --> 00:54:57,110 So we don't have any data yet on which ones of them have managed to successfully POV against it, but this is particularly an interesting challenge because it sort of strikes a balance in sort of the middle range of the level of difficulty of some of the challenges, 664 00:54:57,110 --> 00:54:57,350 right? 665 00:54:57,350 --> 00:55:04,690 This vulnerability in the wild produced a very stable exploit that allowed remote execution to be gained over Microsoft RPC servers. 666 00:55:04,690 --> 00:55:15,310 In the implementation that we have in our game, it followed along with that bug, which had a stack cookie still in place, and so a normal stack-based buffer overflow wouldn't have actually functioned correctly. 667 00:55:15,310 --> 00:55:32,330 But if anyone remembers MS08067, which is kind of one of the poster children of remotely exploitable vulnerabilities that we talk about all the time, it turns out that the vulnerability actually existed because that stack-based buffer was handed into an inner function which didn't actually have a buffer allocation of its own. 668 00:55:32,330 --> 00:55:44,710 And most compilers, if there's no buffer, there's no local buffer within that function's boundaries, it actually won't bother with a stack cookie because there's very little risk of a stack overflow when you don't actually have a buffer to overflow. 669 00:55:44,710 --> 00:55:59,670 So the interesting thing about this bug was the vulnerability actually existed in an instance where the software could be tricked into writing data prior to the beginning of the buffer, and that was actually within the local stack space of that inner function, 670 00:55:59,670 --> 00:56:10,010 and so we ended up with an unprotected function having its stack smashed and having the instruction pointer overwritten as a result of a bug that caused data to be written before the beginning of the buffer. 671 00:56:10,010 --> 00:56:14,570 So this is sort of a different case than the normal standard vanilla stack-based buffer overflow that you would see. 672 00:56:15,210 --> 00:56:17,530 So Vizi, which bot did well? 673 00:56:17,530 --> 00:56:18,830 Do we have the data yet? 674 00:56:18,850 --> 00:56:25,290 So basically we only saw one bot successfully POV file explorer, and that's Mayhem. 675 00:56:25,290 --> 00:56:27,430 So again, congratulations guys. 676 00:56:27,770 --> 00:56:40,750 So that POV basically means that they were the only one to solve this slightly more complex style problem, and additionally it would mean that they would be the only one probably deploying any scalpel-like patches. 677 00:56:40,750 --> 00:56:51,950 There may have been other bots that deployed general purpose patches that may have actually mitigated the risk, but they would be the only one probably with sufficient knowledge of the vulnerabilities workings to deploy a scalpel -like patch. 678 00:56:51,950 --> 00:56:58,570 Okay, so can you review for us, if you have the memory to do so, which of these rematch challenges have we talked about so far? 679 00:56:59,030 --> 00:56:59,450 Sure. 680 00:56:59,450 --> 00:57:11,250 So we've talked about, just now we talked about CGCRPC, which basically goes over MS08-067, and we've spoken through one of the challenges that was basically modeled after Heartbleed, which we called Secure Server. 681 00:57:11,270 --> 00:57:18,710 We also had the address resolution service, which was modeled after the SQL Slammer, all the way through to being a very simple stack-based buffer overflow. 682 00:57:19,690 --> 00:57:21,770 And I think that's it. 683 00:57:21,770 --> 00:57:23,210 All right, that's a great recap. 684 00:57:23,210 --> 00:57:23,650 Thank you, sir. 685 00:57:23,650 --> 00:57:25,010 So let's go to H.J. 686 00:57:25,190 --> 00:57:38,110 Hello, I have with me Giovanni Vigna from Shellfish, and I'd like to ask you about the stacking areas in particular, given this challenge had MS08-067 had them, as well as many of the challenges. 687 00:57:38,270 --> 00:57:45,890 Does your CRS have any ability to reason over these stack cookies in generating your POVs? 688 00:57:45,890 --> 00:58:03,690 We definitely leverage stack cookies for protection, and we always try to find ways in which we can overflow part of the stack that are not stack cookie, could be code pointers or other things that are not necessarily protected by these protection mechanisms. 689 00:58:03,690 --> 00:58:12,690 One thing I remember in our conversations is, speaking of reasoning and generating POVs, is that I was told that one of your POVs had 64,000 lines of code. 690 00:58:12,690 --> 00:58:13,410 Is that true? 691 00:58:13,490 --> 00:58:28,410 Yeah, because of course we try to embed into the POV sometimes code that tries to verify pretty complex path conditions using verifiers, and therefore they can be really big. 692 00:58:28,410 --> 00:58:31,890 That's right, your POVs actually would embed constraint solvers. 693 00:58:31,890 --> 00:58:32,650 Correct. 694 00:58:32,650 --> 00:58:35,470 Any in particular, something like STP or Z3? 695 00:58:35,570 --> 00:58:42,170 We use a simple one that, right now I'm blanking on the name... 696 00:58:45,330 --> 00:58:45,930 Boolector! 697 00:58:45,930 --> 00:58:47,030 Thank you, thank you. 698 00:58:47,070 --> 00:58:58,610 Z3 is what we use in our basic reasoning system, but it's smaller, and so we can embed it in our POV so it can reason about these conditions when the attack is performed. 699 00:58:58,610 --> 00:59:06,430 This reasoning, it's like generating algorithmic expressions from code flow, right? 700 00:59:06,430 --> 00:59:16,470 Exactly, because sometimes you have to be able to interact with a binary, so you have to do some challenge response, and therefore you cannot have a POV that is predetermined. 701 00:59:16,470 --> 00:59:28,190 You have to be able to see what comes back during the execution of the attack, and reason about that, and find what the next step is in order to get to the vulnerability. 702 00:59:28,190 --> 00:59:30,250 Thank you for your insights, I appreciate it. 703 00:59:30,250 --> 00:59:31,910 And back to you, Hakeem. 704 00:59:32,190 --> 00:59:33,610 Thank you, H.J. 705 00:59:33,710 --> 00:59:37,130 It's interesting to hear from the teams and how well their bots are performing. 706 00:59:37,390 --> 00:59:39,390 All right, and thank you to the teams. 707 00:59:39,670 --> 00:59:53,930 Okay, to everyone watching, just as a reminder, you can download the Cyber Grand Challenge challenge sets and the results from today's final event at this URL, www.cybergrandchallenge.com. 708 00:59:53,930 --> 01:00:05,210 Now let's go back to H.J., because I have to find out, were the teams prepared to deal with these real-world rematch CSs, and how excited are they to find out how they perform versus these well-known vulnerabilities? 709 01:00:05,530 --> 01:00:12,650 Well, I have with me the team captain of Shellfish, and I'm going to ask him that question, plus a question that's near and dear to my heart. 710 01:00:12,650 --> 01:00:18,430 So how do you feel, actually, about the current performance, as well as the revelation of these real-world problems? 711 01:00:18,530 --> 01:00:31,210 So we were actually pretty surprised, which we shouldn't have been, if we took some time to think about it, but we're a bunch of students, so we went in all crazy. 712 01:00:31,210 --> 01:00:39,330 So I think it's really cool to see real-world problems in this, especially on the decreeOS platform, right? 713 01:00:39,330 --> 01:00:52,450 Because a lot of the simplifications that were made to decree to make it feasible for modern automated analysis might have maybe taken away some of the realism. 714 01:00:52,450 --> 01:01:05,030 And this shows that it didn't, it shows that decree is really a faithful representation of security issues in the community, and that analyzing on decree is very applicable to the real world. 715 01:01:05,070 --> 01:01:07,650 Another thing that's near and dear to my heart is open-source software. 716 01:01:07,790 --> 01:01:12,870 And your team has open-sourced your analysis framework, Anger, which I'm a huge fan of. 717 01:01:12,870 --> 01:01:19,690 I actually, during the DEF CON quals, I created a challenge called a Mad H-Day that was designed so that people would solve it with Anger. 718 01:01:19,690 --> 01:01:25,070 So thank you for that, and do you intend to continue open-sourcing your technology? 719 01:01:25,070 --> 01:01:26,170 Oh, absolutely. 720 01:01:26,590 --> 01:01:35,030 Me personally, and the entire lab, and all of Shellfish, we are super passionate about open-sourcing our tools and contributing back to the community. 721 01:01:35,370 --> 01:01:49,910 So I can say that our CRS will be open-sourced, right as Anger is, including all of our build ops on top of Anger, and we have a lot of code that we're very excited to share with you. 722 01:01:49,990 --> 01:01:55,710 And for the next CGC, we expect all of you guys to be playing against us, or with us. 723 01:01:55,710 --> 01:01:57,210 Very nice, thank you, I appreciate it. 724 01:01:57,210 --> 01:02:04,450 And again, that's a fantastic thing that they're doing to open-source this technology to expand the capabilities of our community. 725 01:02:04,450 --> 01:02:05,790 And back to you, Hakeem. 726 01:02:05,790 --> 01:02:09,170 Thank you so much, H.J., and thank you to our teams. 727 01:02:09,170 --> 01:02:13,410 All right, so that's very cool about how the teams did against the rematches. 728 01:02:13,410 --> 01:02:16,750 So let's go back and see how the teams are doing in the competition. 729 01:02:16,850 --> 01:02:24,290 One of the things that we've been seeing going on, and we were, again, hoping to see, we've seen Rubius throwing against absolutely everyone for anything that they come across. 730 01:02:24,290 --> 01:02:26,290 Their bot is proving very, very aggressive. 731 01:02:26,290 --> 01:02:43,550 And this is one of the interesting things that we were hoping to see, because we were thinking that these bots would develop this almost sort of personality, where maybe the teams that are traditionally familiar with CTF would be reticent to patch, because there's oftentimes been teams whose downfall has been too aggressive of a patching strategy, 732 01:02:43,550 --> 01:02:48,270 or teams who's encoded in the bots very aggressive POV throwing behavior. 733 01:02:48,270 --> 01:02:56,470 So in this last couple of rounds, we've actually managed to see Rubius throw against absolutely everyone and score in one of the challenge sets on every team. 734 01:02:56,510 --> 01:03:04,770 So Rubius throws, so when we're looking at this particular view, when a particular team is throwing, and that means that arrow is that color, the color of the team's card? 735 01:03:04,770 --> 01:03:06,550 Yep, that's the color of the team that's throwing. 736 01:03:06,550 --> 01:03:16,950 So one of the other things that we see going on here is actually that several of the teams are waiting to deploy their patches until they actually observe a POV being exercised by one of the other bots. 737 01:03:16,950 --> 01:03:30,270 So this is sort of that patching strategy perspective where, for example, Zandra and MechaFish are both holding back on patching so that they don't incur that downtime until they believe they've seen someone else exercising the POV. 738 01:03:30,270 --> 01:03:31,710 And we see here with Rubius, right? 739 01:03:31,710 --> 01:03:36,170 So Rubius has all these colors filled in, so this is every one-day POV. 740 01:03:36,290 --> 01:03:37,810 Absolutely, absolutely. 741 01:03:37,810 --> 01:03:38,790 All right. 742 01:03:38,890 --> 01:03:41,510 But then again, this is only for one binary. 743 01:03:41,510 --> 01:03:45,230 Yeah, so that actually only represents one of each of the challenge sets that are out. 744 01:03:45,230 --> 01:03:55,630 And in addition, we don't know in the next round or two whether or not the other teams, having observed all of this activity go on, will manage to discover and deploy patches for that as a result of all of that activity. 745 01:03:56,050 --> 01:03:58,270 So is that how the game is played in DEF CON? 746 01:03:58,270 --> 01:03:59,930 Are you guys simultaneously going out? 747 01:03:59,930 --> 01:04:00,910 Oh yeah, absolutely. 748 01:04:00,910 --> 01:04:14,590 In a human CTF, there's probably, there's almost always dedicated people, dedicated Packet Ninja people out there on Wireshark watching everything that's going on, trying to determine when they're getting owned as well, and then turning that around and actually throwing it back at the other teams. 749 01:04:14,590 --> 01:04:15,830 So what about dirty tricks? 750 01:04:15,830 --> 01:04:21,670 So if you deploy a patch that, and other teams can use your patch, you can use that against them. 751 01:04:21,670 --> 01:04:33,270 That's actually one of the behaviors that we're watching for and we hope to see is the instance where a patch gets deployed by a team and one of the other team's reasoning systems decides that that patch is sufficiently good or good enough to deploy themselves, 752 01:04:33,270 --> 01:04:39,890 where basically they get to stand on the shoulders of one of the other team's disclosures, sort of how patching would work in the real world. 753 01:04:39,890 --> 01:04:48,090 So I wonder what the calculation there is, because we talked about game theory, so this sounds like more of an unpredictable behavior that maybe a human might be better at. 754 01:04:48,090 --> 01:04:48,330 Right. 755 01:04:48,330 --> 01:05:04,840 I would have to imagine that any of the teams that was going to try to deploy one of the other team's binaries as a patched binary of their own would have to have an enormous amount of faith in their symbolic analysis such that they could determine that they'd believe that the only thing that it changed was really to patch that one vulnerability. 756 01:05:04,880 --> 01:05:19,040 Because in general, if there were too many code changes or if it was a general purpose hardening technique that was sort of sprinkled out throughout all kinds of functions, adding stack randomness or stack cookies and things like that, it probably wouldn't be able to successfully determine the exact nature of the change. 757 01:05:19,040 --> 01:05:23,100 And then I would imagine that the bots would be very reticent to deploy those, to redeploy those same binaries. 758 01:05:23,600 --> 01:05:24,540 All right. 759 01:05:24,540 --> 01:05:26,620 So let's go back down to H.J. 760 01:05:26,780 --> 01:05:29,600 I have with me Tim Bryant from Rubius. 761 01:05:29,620 --> 01:05:34,460 So we actually were hearing just about some dirty tricks or evasion techniques. 762 01:05:34,580 --> 01:05:39,500 Does Rubius employ any of these style of gameplay things? 763 01:05:39,940 --> 01:05:42,040 It tries to make things difficult. 764 01:05:42,040 --> 01:05:42,920 It does. 765 01:05:42,920 --> 01:05:43,300 Yeah. 766 01:05:43,300 --> 01:05:45,460 Are there any specifics that you could go into? 767 01:05:45,960 --> 01:05:46,580 Sure. 768 01:05:46,580 --> 01:05:55,700 I mean, you could probably take one of our binaries and try to open it up in a typical analysis tool and it may or may not work. 769 01:05:57,340 --> 01:06:06,040 And if you want to run it, you probably ought to run it in an environment that looks an awful lot like the official system. 770 01:06:06,040 --> 01:06:06,460 Very nice. 771 01:06:06,460 --> 01:06:09,340 So you may have some QMU bugs in there. 772 01:06:09,800 --> 01:06:10,880 No, not so much. 773 01:06:10,880 --> 01:06:11,540 Okay. 774 01:06:11,540 --> 01:06:15,280 But it should only run where it's supposed to be running. 775 01:06:15,280 --> 01:06:15,620 Nice. 776 01:06:15,620 --> 01:06:16,200 I like that. 777 01:06:16,200 --> 01:06:21,840 We also saw you on the scorecard showing that you guys were pwning everybody. 778 01:06:21,840 --> 01:06:23,120 That's actually fantastic work. 779 01:06:23,120 --> 01:06:24,100 What do you think about that? 780 01:06:24,100 --> 01:06:25,860 Well, it was a very beautiful image. 781 01:06:25,860 --> 01:06:26,620 I imagine for you. 782 01:06:26,620 --> 01:06:28,420 I'd love to see a lot more of those. 783 01:06:28,460 --> 01:06:33,360 You know, that was one challenge, but that's a pretty fantastic result. 784 01:06:33,360 --> 01:06:34,300 We'll take it. 785 01:06:34,560 --> 01:06:37,200 They also spoke about different patching techniques. 786 01:06:37,200 --> 01:06:42,400 Do you just patch immediately or do you wait for some type of signal that you've been exploiting? 787 01:06:42,400 --> 01:06:43,840 We do two things. 788 01:06:43,920 --> 01:06:47,460 One thing that we do is we analyze the binaries ourselves. 789 01:06:47,460 --> 01:06:52,460 And if we think that they're easy, we go ahead and patch them preemptively. 790 01:06:52,460 --> 01:06:57,180 If we find the vulnerability quickly, we give the benefit of the doubt to the other teams. 791 01:06:57,180 --> 01:06:59,700 We expect that they're going to find it relatively quickly, too. 792 01:06:59,700 --> 01:07:00,980 So we go ahead and patch. 793 01:07:01,180 --> 01:07:05,640 On the other hand, we do patch reactively. 794 01:07:05,640 --> 01:07:08,880 But if we don't find it quickly, then we wait. 795 01:07:08,880 --> 01:07:11,180 We wait to see if somebody actually can find it. 796 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. 797 01:07:14,440 --> 01:07:14,960 That's right. 798 01:07:14,960 --> 01:07:15,380 All right. 799 01:07:15,380 --> 01:07:16,200 Well, thank you for that. 800 01:07:16,200 --> 01:07:17,120 I appreciate it. 801 01:07:17,120 --> 01:07:17,840 All right. 802 01:07:17,840 --> 01:07:19,440 Great stuff down here, Keem. 803 01:07:19,440 --> 01:07:20,400 And back to you. 804 01:07:20,400 --> 01:07:23,480 So we talked about strategy when it comes to patching. 805 01:07:23,480 --> 01:07:27,520 But Vizzy, there's strategy involved with discovering vulnerabilities. 806 01:07:27,540 --> 01:07:31,560 So what kind of approaches might teams take to discover these vulnerabilities? 807 01:07:31,560 --> 01:07:32,300 Sure, absolutely. 808 01:07:32,300 --> 01:07:42,800 So it's really impossible to predict what the team's bots are going to be doing for sure, because there's always the possibility that they would have developed an entirely new technique or a new strategy for this game. 809 01:07:42,800 --> 01:07:46,820 But there are a number of sort of known approaches to these types of problems. 810 01:07:46,880 --> 01:08:00,720 Static and dynamic binary analysis, fuzzing, and symbolic execution are some types of program analysis and input checking and validation that would be done that they're probably leveraging simultaneously, ideally. 811 01:08:00,720 --> 01:08:14,160 So in the case where they want to more properly guide their fuzzing iterations, something like a symbolic analysis framework would allow them to know what the values of certain fields within that protocol should be in order to reach certain pieces of code. 812 01:08:14,420 --> 01:08:22,020 Shellfish, for example, having written their anger framework that we've spoken about a couple of times, I would imagine is probably using a hybrid approach. 813 01:08:22,380 --> 01:08:25,200 Okay , so we have some code up here that we're looking at. 814 01:08:25,200 --> 01:08:28,820 So actually, this kind of goes back to a little bit of the dirty tricks that we were talking about. 815 01:08:28,820 --> 01:08:33,320 And so we're going to speculate a little bit about what was going on with some of Rubius's logic. 816 01:08:33,400 --> 01:08:45,660 But the gist of it is, we see here, this CPU ID instruction might be part of what he was mentioning, as you'd probably really want to be running the binary inside of the environment that was actually decree. 817 01:08:45,660 --> 01:09:00,960 So it looks like they're doing a little bit of patching that introduces code divergence to try and split the logic when it's running on the real decree platform versus when it might be running in an emulator or some kind of other sandbox being deployed by one of the teams to do instrumentation. 818 01:09:00,960 --> 01:09:09,440 And the interesting part is not just that they decided to try and do this so that they could change the way that execution works, but what they decided to try and do. 819 01:09:09,480 --> 01:09:22,820 As near as we've been able to tell so far, what they've decided to do is actually introduce fake vulnerabilities into the impossible code paths that would only ever occur if you were running it in a sandbox other than decree. 820 01:09:23,000 --> 01:09:37,200 And so basically what they've done is created all this extra analysis work, and it may even be that some of those analysis platforms would think they've found a vulnerability and attempt to be POVing against that vulnerability when really that code was not actually reachable because it was being, 821 01:09:37,200 --> 01:09:41,080 because it was reached only inside of that sandbox rather than inside of decree. 822 01:09:44,780 --> 01:09:46,080 Very cool work, guys. 823 01:09:46,080 --> 01:09:47,080 Very cool. 824 01:09:47,080 --> 01:09:47,520 Yeah. 825 01:09:47,720 --> 01:09:52,760 So we saw a lot of interesting actions in round 20 with some predictable outcomes and some surprises. 826 01:09:52,760 --> 01:09:54,560 Share your thoughts about what happened, sir. 827 01:09:54,660 --> 01:09:59,440 I'm really, really glad to see basically every one of the teams managing to get some POVs out there. 828 01:09:59,440 --> 01:10:09,600 It's basically showing that the reasoning, the idea of this reasoning system is definitely working because you can't actually POV without at least some knowledge of the workings of that vulnerability. 829 01:10:09,600 --> 01:10:14,480 It's not like the general purpose patching techniques where there could be zero knowledge success, right? 830 01:10:14,480 --> 01:10:18,100 In a POV case, it definitely has to have understood the protocol. 831 01:10:18,100 --> 01:10:22,180 It definitely has to have decided what was necessary in order to exercise that vulnerability. 832 01:10:22,180 --> 01:10:26,920 So the thing that I'm really happy to see is that basically everyone has come to the table with something capable of that. 833 01:10:26,920 --> 01:10:27,300 Wonderful. 834 01:10:27,300 --> 01:10:28,860 And we've seen a couple of breakthroughs, right? 835 01:10:28,860 --> 01:10:30,620 So we've seen a breakthrough in speed. 836 01:10:30,620 --> 01:10:31,100 Absolutely. 837 01:10:31,100 --> 01:10:35,460 We've seen the rematch challenges owed this time around. 838 01:10:35,460 --> 01:10:35,760 Absolutely. 839 01:10:35,760 --> 01:10:38,900 So what might I have missed? 840 01:10:38,900 --> 01:10:49,260 So we have a new data update actually that shows that Zandra discovered a POV in one of the... Zandra managed to discover and prove a vulnerability in one of the services that we call OpSim. 841 01:10:49,260 --> 01:10:52,780 But this is a unique situation and it's something we were kind of hoping to see. 842 01:10:52,780 --> 01:10:56,140 They actually managed to discover an unintended vulnerability. 843 01:10:56,520 --> 01:11:06,520 So each of these services that's written, just like real world software, it's impossible for us to have made absolutely certain that the one vulnerability that we intended is the only one that's present. 844 01:11:06,520 --> 01:11:19,860 So the interesting part here is additionally that Zandra had discovered this new POV, exercised it against something that we hadn't actually even intended, and then Jima observed this occurring and successfully defended against it. 845 01:11:19,860 --> 01:11:24,340 So these are all results that we hadn't possibly had any ability to predict whatsoever. 846 01:11:24,340 --> 01:11:30,720 So Zandra POV succeeded against the reference binary, but not against Jima's patched binary. 847 01:11:30,840 --> 01:11:31,180 Wow. 848 01:11:31,180 --> 01:11:33,160 And let's keep in mind what we're saying here. 849 01:11:33,160 --> 01:11:36,220 We're not talking about teams of human beings that are finding these things. 850 01:11:36,220 --> 01:11:39,900 These are the bots automatically just autonomously doing this on their own. 851 01:11:39,900 --> 01:11:40,360 Absolutely. 852 01:11:40,360 --> 01:11:50,200 And one of the things that we had really hoped to see is some of this sort of game strategy thing as well, where the individual bots would be able to defend against things as a result of seeing them, seeing a POV launched at them. 853 01:11:50,200 --> 01:12:02,960 So we've been watching out for a lot of these sort of game theory things because in a traditional CTF, the team that wins is not always the team with the most perfect technical execution, but it's the team with an excellent technical execution that also plays the game. 854 01:12:02,960 --> 01:12:15,200 So there's a lot of that sort of question as to how much strategy, how much gameplay, and how much of the traditional dirty tricks department that goes on in a CTF that's humans have the teams decided to try and encode within their bots? 855 01:12:15,200 --> 01:12:25,180 Yeah, one of the surprises to me that I find just awesome is the fact that this game strategy, we're talking about actual mathematical proofs and computations here. 856 01:12:25,180 --> 01:12:25,720 Absolutely. 857 01:12:25,720 --> 01:12:27,380 Yeah, so this is real stuff. 858 01:12:27,380 --> 01:12:32,480 All right, H.J., do you happen to have the team we're talking about with you down there? 859 01:12:32,480 --> 01:12:36,480 What are they thinking about what we just heard regarding what their bot has been up to? 860 01:12:36,480 --> 01:12:40,940 So Gma was actually successfully able to patch a bug that we didn't even know existed in the software. 861 01:12:40,940 --> 01:12:46,480 But what kind of general purpose or even specific patches does Gma implement that could do this? 862 01:12:46,480 --> 01:12:49,040 So that was probably one of our general purpose patches. 863 01:12:49,040 --> 01:12:57,480 We looked at areas of code where we know there are common vulnerabilities, and we just deliberately inserted conservatively the patches for those areas. 864 01:12:57,500 --> 01:13:05,520 What type of do you use signatures, like like itis flirt signatures to determine what functions commonly cause vulnerabilities? 865 01:13:05,760 --> 01:13:13,920 Well, so in this case, for example, if it was a buffer overflow, you know, we basically threw in a stack canary. 866 01:13:14,280 --> 01:13:16,860 How do you actually generate your stack canaries? 867 01:13:17,080 --> 01:13:22,140 So our stack canaries are a random value we generate each time the binaries run. 868 01:13:22,180 --> 01:13:27,300 And when we put it on the stack, and then we also combine it with the return address. 869 01:13:27,300 --> 01:13:33,260 So we have a checksum to make sure they didn't overflow the canary or bypass the canary and just overflow the return address. 870 01:13:33,260 --> 01:13:35,460 I guess for those who don't know, what is a stack canary? 871 01:13:35,460 --> 01:13:35,960 Can you explain it? 872 01:13:35,960 --> 01:13:46,760 So stack canary is a special value put on the runtime stack, so that if there's an overflow that overflows data onto the stack, and it's supposed to overflow a return address, it hits the canary. 873 01:13:46,760 --> 01:13:47,000 I see. 874 01:13:47,000 --> 01:13:49,280 Like the coal mine. 875 01:13:49,280 --> 01:13:52,860 And it causes the canary to change its value or basically die. 876 01:13:52,860 --> 01:13:54,360 And so we were able to catch that. 877 01:13:54,380 --> 01:14:00,680 So it overwrites this canary value, and you're able to test and determine that this value has changed. 878 01:14:00,680 --> 01:14:01,060 Right. 879 01:14:01,060 --> 01:14:01,800 Okay, excellent. 880 01:14:01,800 --> 01:14:02,160 Thank you. 881 01:14:02,160 --> 01:14:03,400 That's fantastic. 882 01:14:03,620 --> 01:14:05,940 We've got some data coming in from round 30. 883 01:14:05,960 --> 01:14:07,580 Mayhem has the lead. 884 01:14:08,300 --> 01:14:10,660 Zandra in second and MechaFish in third. 885 01:14:10,800 --> 01:14:11,840 All right. 886 01:14:12,000 --> 01:14:18,600 So this is definitely still a game where anybody could win, but there's definitely a lead going on here. 887 01:14:18,600 --> 01:14:20,380 But most of the game is still yet to unfold. 888 01:14:20,380 --> 01:14:21,180 Oh, absolutely. 889 01:14:21,180 --> 01:14:23,820 Round 30 means we're still pretty early on in the game. 890 01:14:23,820 --> 01:14:26,380 That definitely is not an unescapable lead. 891 01:14:26,400 --> 01:14:31,680 So if we cut to the arena view, we can see actually that several of the teams are even still down for patching this round. 892 01:14:31,680 --> 01:14:42,680 We can see, for example, Galactica and Rubius here, for example, are actually in the process of, yep, Crispy as well, are actually in the process of deploying patches even up here in round 30. 893 01:14:42,680 --> 01:14:53,460 So even though a challenge set may not have actually been released this round, it may have taken some of their analysis platforms that extra bit of time to discover the vulnerability or decide how to patch it correctly. 894 01:14:53,460 --> 01:14:59,540 Yeah, what's interesting is that some of these patches, from card to card, it's not the same patch being deployed. 895 01:14:59,540 --> 01:15:02,180 So some may have patched earlier, some are patching now. 896 01:15:02,180 --> 01:15:03,540 Absolutely, yeah, exactly. 897 01:15:03,540 --> 01:15:11,900 And so the other thing that we can see here too is that several of the teams that are the teams that we're recognizing as being in the lead are still successfully carrying out POVs. 898 01:15:11,900 --> 01:15:17,700 So MechaFish, for example, for this challenge, is successfully POVing against several of the other teams. 899 01:15:17,700 --> 01:15:28,860 And we don't see any of them actually running patched binaries yet in this view, so we can't know whether or not, in this instance, it looks like they're managing to POV against something that no one else has actually patched or modified just yet. 900 01:15:28,860 --> 01:15:31,720 Alright, so why is the leading team in the lead? 901 01:15:32,000 --> 01:15:33,460 That's actually a really good question. 902 01:15:33,460 --> 01:15:41,180 I think that basically this probably will show that a lot of it boils down to availability, but a lot of it also boils down to the evaluation scores. 903 01:15:41,180 --> 01:15:48,160 I think most of the teams that are rolling out patches, ooh, there we go, we're seeing actually some of the patches not actually maintaining availability. 904 01:15:48,640 --> 01:15:54,380 Galactica and Jima looks like they have patched binaries or services that have become unavailable over the course of this round. 905 01:15:54,380 --> 01:16:03,960 So as we mentioned earlier, in that one view where we'll see the center shrink to that small black portion, we'll see basically that as a result of either one of two things. 906 01:16:03,960 --> 01:16:11,180 If they deploy a patch and that patch doesn't still maintain the functionality of the software and still do what it was intended to do, it'll shrink like that. 907 01:16:11,180 --> 01:16:15,220 But it'll also incrementally shrink like that if it doesn't respond quickly enough. 908 01:16:15,220 --> 01:16:21,460 And so for some of those general purpose patching techniques, there could be instances where that incurs a very significant performance hit. 909 01:16:21,460 --> 01:16:36,180 So we're seeing basically several of the teams have difficulty maintaining availability, and some of this even small degradation to performance that we can see here in the slightly smaller darker gray tiles that Jima and some of the other and Crispy have, 910 01:16:36,180 --> 01:16:36,880 for example. 911 01:16:36,880 --> 01:16:39,240 So in a way their patch may have made things worse. 912 01:16:39,240 --> 01:16:45,340 So it may yield the software unfunctioning, or it'll just function too slowly. 913 01:16:45,340 --> 01:16:45,880 Yeah, exactly. 914 01:16:45,880 --> 01:16:48,140 So that's basically the two-part threshold. 915 01:16:48,140 --> 01:16:53,800 And so basically a service on the internet really isn't up if it's functioning correctly, but it can't respond in a reasonable amount of time. 916 01:16:53,800 --> 01:17:01,320 And so that was used to model basically what's going on in the real world when you're maintaining sort of the production trade-off between security and performance. 917 01:17:01,320 --> 01:17:01,680 That's right. 918 01:17:01,680 --> 01:17:06,980 I remember the good old days of the internet where you'd sit there and wait for your page to load. 919 01:17:06,980 --> 01:17:07,740 Yep, absolutely. 920 01:17:07,740 --> 01:17:09,580 Yes, I guess that was really the bad old days. 921 01:17:09,580 --> 01:17:25,600 So we can see here actually from the scoreboard view at the end, where basically once it's actually managed to tally all those things, we can see that MechaFish, for example, is scoring very, very well in evaluation and very well in security, which means they're getting all their points for each of those rounds. 922 01:17:25,600 --> 01:17:32,780 Whereas Mayhem, for example, right now, though they're in the lead, they're doing very well in evaluation and availability, but they might be taking a bit of a hit from security. 923 01:17:32,780 --> 01:17:38,680 So we'll see if that impacts their ability to maintain that lead that they have, or if other people manage to creep up behind them because of that. 924 01:17:38,680 --> 01:17:45,120 All right, so HJ, what is the team thinking now that they've been announced that they're leading at round 30? 925 01:17:45,520 --> 01:17:50,280 So I have with me Alex from For All Secure, who's with Mayhem. 926 01:17:50,280 --> 01:17:52,800 What do you think about being in the lead in round 30? 927 01:17:52,800 --> 01:17:57,360 You were battling it out with Frubius for a while, and now you've actually firmly taken lead with an 8,000 point lead. 928 01:17:57,360 --> 01:18:00,300 Yeah, we're very excited to start building up a lead. 929 01:18:00,640 --> 01:18:03,260 I think our strategy to patch very carefully. 930 01:18:03,260 --> 01:18:09,240 We try to infer when teams are attacking us, and only patch when we think someone is exploiting us. 931 01:18:09,360 --> 01:18:16,740 In that way, we don't incur the issue where our patch is not performant enough, and we don't lose availability scores. 932 01:18:16,740 --> 01:18:20,780 So we mentioned a few times with generic patching versus like a scalpel-like approach. 933 01:18:20,780 --> 01:18:22,620 Do you employ both? 934 01:18:22,620 --> 01:18:23,440 We do. 935 01:18:23,440 --> 01:18:30,760 We try to field an agnostic patch that would protect against any vulnerability in theory. 936 01:18:31,940 --> 01:18:46,000 It has been our experience that most bannings have multiple vulnerabilities, and we were worried that we would patch one, like find and patch one, and another team would find another, and then we would have to patch twice, which is very expensive. 937 01:18:46,120 --> 01:18:47,640 Yes, thank you for that. 938 01:18:47,660 --> 01:18:51,100 It sounds like the teams are still pretty excited, and back to you, Hakeem. 939 01:18:51,100 --> 01:18:58,760 So I understand that we have some new data that just came in, and there's a few highlight stories from these rounds of the competition, and some of it involves Rubius. 940 01:18:58,760 --> 01:18:59,420 Absolutely. 941 01:18:59,420 --> 01:19:11,160 So it looks like Rubius actually deployed a patched binary to their platform that actually used up so many resources and had so much load on it that it's been affecting the other services on that box. 942 01:19:11,160 --> 01:19:23,540 So basically, if one of those things is having trouble performing, and it's basically eating up all the other resources, that can negatively impact the availability of those other services, because though they are completely themselves functionally correct, 943 01:19:23,540 --> 01:19:27,420 and even potentially fast enough, they're getting resource starved out. 944 01:19:27,440 --> 01:19:38,380 And so Rubius has basically deployed a binary that appears to be denial-of-service attacking some of their own binaries, basically as a result of starving them out of being able to actually execute. 945 01:19:38,380 --> 01:19:53,380 So we can see here we've got sort of the abstraction that shows some of the facets of the binary that they deployed, but really the important part here that's going to be the real question is, like, what exactly was that binary doing that caused that sort of performance delta? 946 01:19:53,500 --> 01:20:07,140 So we're still gathering information on exactly what that is, but the bottom line at this point is that Rubius is actually, in the next round or so, we're going to see them take a fairly significant scoring hit because this availability thing, like we've been harping on, 947 01:20:07,140 --> 01:20:12,820 essentially, is affecting multiple of their services now as a result of a mistake in only one service. 948 01:20:12,820 --> 01:20:24,880 So that being the case, any of the other services that are being negatively impacted by this are also not scoring points for them or not scoring as many points, even if they're successfully defended and even if they're carrying out POVs against the other bots. 949 01:20:25,040 --> 01:20:25,380 I see. 950 01:20:25,380 --> 01:20:39,340 Now, I wonder what the real world impact of this is, because if you have a bot that evaluates your software to determine whether or not it's doing what it's supposed to do and it applies a patch, then that would actually need to be checked. 951 01:20:39,340 --> 01:20:40,260 Oh, absolutely, yeah. 952 01:20:40,260 --> 01:20:46,240 And so that's one of those things that, like we mentioned, we've seen a couple of the teams potentially pull those patches back and decide to undeploy them. 953 01:20:46,240 --> 01:20:51,620 If they don't have logic like that in their bot right now, they may be in very serious trouble. 954 01:20:51,620 --> 01:20:56,720 So this actually is one of our cube views that we have available to us, showing the Kaleidoscope. 955 01:20:56,720 --> 01:20:59,580 So Kaleidoscope is the name of this particular challenge set. 956 01:20:59,580 --> 01:21:02,780 And this is just data for Rubius. 957 01:21:02,780 --> 01:21:10,400 And it shows, actually, the availability impact being had to all their other services that they have deployed over the course of the last few rounds. 958 01:21:10,400 --> 01:21:13,700 So like we said, we can sort of project multiple dimensions of data. 959 01:21:13,700 --> 01:21:17,680 So this is several rounds of several challenge sets of just Rubius. 960 01:21:17,680 --> 01:21:29,720 And we can see this whole flattened out area of negative, basically negative impact to their ability to score due to the fact that just the challenge set for Kaleidoscope has actually been performing so poorly. 961 01:21:29,720 --> 01:21:32,220 So by round 30, though, it seems that they're back up. 962 01:21:32,220 --> 01:21:35,020 It seems like by round 30, they do manage to actually pull it back. 963 01:21:35,020 --> 01:21:43,780 So I would guess that one of these rounds that we see here... So this could be one of those dropouts we saw in that line view, right? 964 01:21:43,780 --> 01:21:46,040 Where they peel it off at a point. 965 01:21:46,040 --> 01:21:47,140 It could have been due to this. 966 01:21:47,160 --> 01:21:50,600 And it looks like they actually did manage to pull that patch back. 967 01:21:50,600 --> 01:21:54,080 I'm just getting updated that they did manage to successfully pull that patch back. 968 01:21:54,080 --> 01:21:56,440 And it looks like they've managed to recover as well. 969 01:21:56,440 --> 01:21:57,480 So they deployed a patch. 970 01:21:57,480 --> 01:21:58,160 It didn't work. 971 01:21:58,160 --> 01:22:05,860 And their bot had sufficient awareness and sufficient reasoning to actually redact that, pull it back, and pull up, pull up, pull back out of the fire. 972 01:22:05,920 --> 01:22:10,060 We now come to the mail server, which is based on CrackAdder. 973 01:22:10,060 --> 01:22:17,920 CrackAdder is a complex bug in SendMail, a widely used general purpose email routing tool dating back to the early 1980s. 974 01:22:17,920 --> 01:22:28,080 In 2011, a security researcher who goes by the handle Halverflake showcased CrackAdder as something static analysis or automated tools were unable to detect. 975 01:22:28,080 --> 01:22:32,500 He then created a simplified version of the bug with many fewer lines of code. 976 01:22:32,500 --> 01:22:37,180 In its simplified form, researchers were able to analyze it using automated tools. 977 01:22:37,180 --> 01:22:46,440 Now, CrackAdder is a test for the real world viability of analysis tools, but the original vulnerability remains elusive for automated reasoning systems. 978 01:22:47,260 --> 01:22:53,520 So let's go to a video by Debbie Nuttall telling us about mail server and CrackAdder. 979 01:22:55,990 --> 01:23:05,070 So one of the challenges that we built is patterned after a vulnerability that was in SendMail that's commonly referred to as CrackAdder. 980 01:23:05,070 --> 01:23:08,750 CrackAdder was actually the name of the function that contained the vulnerability. 981 01:23:08,750 --> 01:23:10,970 So this bug existed in SendMail. 982 01:23:10,970 --> 01:23:16,290 SendMail is a critical piece of software that's used on the internet for sending mail. 983 01:23:16,570 --> 01:23:21,810 So the vulnerability exists when the software is trying to match up brackets. 984 01:23:21,810 --> 01:23:23,730 You know how you have these brackets in email addresses? 985 01:23:23,730 --> 01:23:29,890 So it wants to know at the very end if there's a hanging open bracket, it's going to add a closed bracket so it's counting them. 986 01:23:29,890 --> 01:23:33,670 One of the things it does wrong is it doesn't count the closed bracket. 987 01:23:33,890 --> 01:23:40,670 So it's counting in one direction, it's moving a pointer, things get out of whack, and it leads to a potential buffer overflow. 988 01:23:40,670 --> 01:23:42,190 This is the one that I think is hardest. 989 01:23:42,190 --> 01:23:46,770 I think it's hardest to find, I think it's the hardest to patch, and I think it's the hardest to prove. 990 01:23:48,710 --> 01:23:57,770 Thanks to Debbie for all the great videos about our Rebatch challenges, and it's a reminder that she was the author of them and I really had a great time interviewing her. 991 01:23:57,770 --> 01:24:00,670 Now Vizi, tell us more about mail server and CrackAdder. 992 01:24:00,670 --> 01:24:12,570 So our implementation of the mail server challenge basically wanted to strike a balance between the difficulty and the complexity of the original bug in SendMail and Halvar's example that was sort of a carved down subset of the problem. 993 01:24:12,570 --> 01:24:20,030 Either way, they are all sort of the classic state machine problems that are very, very difficult for program analysis. 994 01:24:20,030 --> 01:24:25,730 Those nearly infinite possibilities and that halting problem that we talked about before clearly come into play here. 995 01:24:25,730 --> 01:24:39,710 So basically, I'm looking forward to seeing, and it looks like we have some data, basically, MechaFish was the only team to actually successfully POV against our version of CrackAdder. 996 01:24:39,710 --> 01:24:53,310 So this basically represents a leap forward in program analysis for them to be capable of doing this means that we're one step closer to that thing that's basically been sort of the Everest of program analysis because of that state machine problem. 997 01:24:53,310 --> 01:25:02,790 Additionally, once they were POVing, it looks like Crispy deployed a patch, but it was a general purpose patch that did manage to mitigate the bug. 998 01:25:02,870 --> 01:25:06,730 So kudos to them for actually managing to patch it successfully without breaking it. 999 01:25:06,730 --> 01:25:07,770 Right on. 1000 01:25:09,010 --> 01:25:11,510 All right, so let's go to H.J. 1001 01:25:11,510 --> 01:25:13,030 down there with the teams. 1002 01:25:13,970 --> 01:25:19,470 So you guys successfully patched CrackAdder, but I believe you also were the only one to exploit it, right? 1003 01:25:19,470 --> 01:25:20,830 And so congratulations. 1004 01:25:20,830 --> 01:25:27,690 That's pretty... Halvar Flake actually considered this like the Everest, as Vizi calls it, of challenges. 1005 01:25:27,910 --> 01:25:28,510 Congratulations. 1006 01:25:28,510 --> 01:25:29,450 What do you think about this? 1007 01:25:29,690 --> 01:25:31,090 It's pretty overwhelming. 1008 01:25:31,090 --> 01:25:31,950 Wow. 1009 01:25:32,170 --> 01:25:37,530 I mean, all the talk about state machines and all the possibility of state machines really reminds me of one of the papers that we published recently. 1010 01:25:37,530 --> 01:25:38,730 We're an academic lab. 1011 01:25:38,730 --> 01:25:39,490 We publish papers. 1012 01:25:39,490 --> 01:25:40,410 That's what we do. 1013 01:25:40,410 --> 01:25:45,670 We published the paper Driller, which is supposed to augment fuzzing with symbolic execution. 1014 01:25:45,670 --> 01:25:58,130 And one of our really in-depth case studies talks about how exactly it traverses the state machines and is able to really explore deeply parts of the program that would normally be inaccessible to a more naive approach. 1015 01:25:58,230 --> 01:25:59,430 All right, there's complexity we have. 1016 01:25:59,850 --> 01:26:03,010 How big do these equations actually grow to? 1017 01:26:03,010 --> 01:26:04,070 Can you give me an example? 1018 01:26:04,090 --> 01:26:05,530 They're huge. 1019 01:26:06,190 --> 01:26:11,290 So we're using, for this part of the code, we are using Z3 to solve the things. 1020 01:26:11,530 --> 01:26:20,770 And when we're debugging these things and then something won't solve, we try to print it out and sometimes our terminal will just scroll with equations for minutes before terminating. 1021 01:26:20,770 --> 01:26:23,350 We're like, okay, there's nothing we can do about this. 1022 01:26:23,350 --> 01:26:23,990 Move on. 1023 01:26:24,410 --> 01:26:24,990 Excellent. 1024 01:26:24,990 --> 01:26:26,010 Thank you for your insights. 1025 01:26:26,010 --> 01:26:27,030 I appreciate it. 1026 01:26:27,210 --> 01:26:30,610 Back to you, Hakeem. 1027 01:26:30,850 --> 01:26:32,210 Thank you, H.J. 1028 01:26:32,210 --> 01:26:32,910 All right. 1029 01:26:32,910 --> 01:26:35,650 So let's look at round 52 scoreboard. 1030 01:26:37,030 --> 01:26:43,230 So in this instance, we're seeing basically mayhem still in the lead, Zandra and Shellfish. 1031 01:26:43,410 --> 01:26:44,950 Rubius has fallen a little bit. 1032 01:26:44,950 --> 01:26:46,870 It looks like the gap might be growing. 1033 01:26:47,730 --> 01:26:52,330 But as we can see, it's availability still that is winning the game. 1034 01:26:52,690 --> 01:26:53,110 Yeah. 1035 01:26:53,110 --> 01:26:58,270 So what happened around this round was mayhem actually went down, right? 1036 01:26:58,270 --> 01:26:58,470 Yeah. 1037 01:26:58,470 --> 01:27:05,310 So it looks like in this instance, we've seen mayhem's service, mayhem's bot has become unavailable right here in round 52. 1038 01:27:05,310 --> 01:27:08,090 So this might be the beginning of a very serious problem for them. 1039 01:27:08,090 --> 01:27:16,510 The late breaking that I'm getting is basically that we've seen that stop responding and not actually be issuing any updates or issuing any POVs. 1040 01:27:16,510 --> 01:27:18,830 So we have no idea what that's going to do to their score. 1041 01:27:18,870 --> 01:27:24,790 But like we've said, actually, there are certain sections of the game for which doing nothing isn't a terrible strategy. 1042 01:27:24,790 --> 01:27:27,790 So we don't necessarily know that this will have an immediate impact. 1043 01:27:27,790 --> 01:27:31,750 They have a very solid lead and they may actually manage to maintain some of that. 1044 01:27:31,750 --> 01:27:32,010 Wow. 1045 01:27:32,010 --> 01:27:34,490 And they managed to break a supercomputer. 1046 01:27:35,350 --> 01:27:36,610 Yeah, absolutely. 1047 01:27:37,010 --> 01:27:38,090 It's kind of lucky. 1048 01:27:38,090 --> 01:27:42,230 So we have to wait now for the data to come in to figure out exactly what happened there, right? 1049 01:27:42,230 --> 01:27:42,390 Yep. 1050 01:27:42,390 --> 01:27:44,710 So we have a team in the back that's working on this. 1051 01:27:44,710 --> 01:27:45,190 Absolutely. 1052 01:27:45,190 --> 01:27:46,030 Yeah, for sure. 1053 01:27:46,190 --> 01:27:54,510 This is one of those ones that they end up having to look into a little bit more specifically, mostly because we're not even really sure what it was that they deployed that caused that to be the case. 1054 01:27:54,510 --> 01:27:57,990 For your colleagues in the audience, what does that data look like coming out of these? 1055 01:27:57,990 --> 01:27:58,570 Oh, yeah. 1056 01:27:58,570 --> 01:28:00,110 It was a team to create the visuals. 1057 01:28:00,110 --> 01:28:00,350 Sure. 1058 01:28:00,350 --> 01:28:05,870 It's basically a bunch of serialized, I mean, basically tabularized serialized data that's getting burned to those disks. 1059 01:28:05,870 --> 01:28:09,270 It's every event that's traveling through this entire system. 1060 01:28:09,270 --> 01:28:21,990 So if you were to imagine this whole thing as a series of events occurring in time and the metadata associated with those events, that massive pipe of data is getting funneled out and split out into these systems so that they can tabulate what's going on. 1061 01:28:21,990 --> 01:28:27,630 So we have an arena view showing the scores for that particular round, not the aggregate score. 1062 01:28:27,630 --> 01:28:29,470 Yep, this is just for round 52. 1063 01:28:30,030 --> 01:28:33,950 The bars at the top here, I believe, are also still just for that round. 1064 01:28:33,950 --> 01:28:35,670 So what are we going to see happen with Mayhem? 1065 01:28:35,670 --> 01:28:39,010 Like, do you expect to see something with their crash impact? 1066 01:28:39,010 --> 01:28:40,050 What we see on arena view? 1067 01:28:40,050 --> 01:28:40,590 I don't know. 1068 01:28:40,590 --> 01:28:43,270 I think that we're not going to see that until the next couple of rounds. 1069 01:28:43,270 --> 01:28:48,990 It looks like this we were informed was one of the last rounds where they were responding correctly, as far as we're aware. 1070 01:28:49,350 --> 01:28:50,910 Yeah, so here we have a grid view. 1071 01:28:50,910 --> 01:28:51,630 Yep, absolutely. 1072 01:28:51,630 --> 01:29:03,550 And so we can see, just like we were talking about before, we have these three dimensions being mapped out over these cubes, basically which show, in this instance, many of the teams have managed to maintain their security. 1073 01:29:03,550 --> 01:29:16,270 So we're getting to a point in the game, at this point, where lots of the patches have been deployed, the teams that are going to deploy patches have, and so many of them are managing to maintain security, which we can see mapped here along this axis, 1074 01:29:16,270 --> 01:29:16,530 right? 1075 01:29:16,530 --> 01:29:23,270 So each of these, the fact that they are full width in that direction, shows that they've been managing to maintain the security of their services. 1076 01:29:23,310 --> 01:29:27,730 But not as many managing, at this point, to continue carrying out POVs. 1077 01:29:27,730 --> 01:29:33,270 There's only a couple of instances that we can see, and actually I'm not sure if I can see... Yeah, or 80, actually. 1078 01:29:33,470 --> 01:29:37,450 Yeah, so this could be an instance where it'll be, it may be until the next challenge. 1079 01:29:37,450 --> 01:29:44,350 So why would you have it a... So an availability going down, like we see here for MechaFish on LazyCalc, is probably due to a patch. 1080 01:29:44,350 --> 01:29:45,450 Probably due to a patch, yeah. 1081 01:29:45,450 --> 01:29:46,330 Almost certainly. 1082 01:29:46,330 --> 01:29:49,330 And it looks like they've got a couple little trouble spots going on. 1083 01:29:49,330 --> 01:29:55,170 So it might be that basically they've got something that impacts performance just a little bit, but not too dramatically. 1084 01:29:55,170 --> 01:30:01,590 So we see a couple places here where availability is not all the way flat, so that means that they're just moving kind of slow at this point. 1085 01:30:01,590 --> 01:30:03,190 Yeah, just a little sluggish. 1086 01:30:03,190 --> 01:30:22,150 And it might be that they've deployed some general purpose patching techniques, things like stack randomizations, if they implement sort of control flow guards, which basically make sure that each instance of doing things like returning from a function returns to a potentially valid address rather than something that's been introduced by outside input. 1087 01:30:22,150 --> 01:30:26,730 Those are very expensive checks, and we may see some of those cost them performance over time. 1088 01:30:26,730 --> 01:30:31,630 So what do we see when we see these giant dips like here in these cases? 1089 01:30:31,770 --> 01:30:35,590 Basically, we're seeing the total number of points that they're scoring. 1090 01:30:35,590 --> 01:30:46,210 In this instance, we're seeing dips specifically in availability, and so basically those are representative of maybe their patched binary that they deployed wasn't working during those rounds. 1091 01:30:46,210 --> 01:30:50,230 So with that being said, let's go back down in the pit with our teams and HJ. 1092 01:30:50,230 --> 01:30:52,570 I have with me Brian from DeepRed. 1093 01:30:52,570 --> 01:30:57,870 He's going to talk to us about his patching process and what might have happened. 1094 01:30:57,870 --> 01:31:07,370 So we saw a few rounds ago that you patched something, or Ruby has patched something, and it really tanked the performance of the system. 1095 01:31:07,370 --> 01:31:08,230 What might have happened? 1096 01:31:08,550 --> 01:31:18,450 So we found out that the network appliance that actually applies the IDS intrusion detection rulesets is shared amongst all the services. 1097 01:31:18,450 --> 01:31:30,210 So we have a feeling that one of our IDS rulesets that we deployed as part of our patch set might have negatively affected the performance that apparently affected the other services that were fielded. 1098 01:31:30,250 --> 01:31:41,170 So we have logic in place in our game theoretic component that will detect feedback coming back from the server when we know that a particular service is not performing well. 1099 01:31:41,170 --> 01:31:50,210 And when that meets a certain threshold of low availability , we'll go ahead and retract that patch set and revert back to something that was performant . 1100 01:31:50,210 --> 01:31:55,270 We'll essentially blacklist that patch set and revert back to something that we know is more performant. 1101 01:31:55,310 --> 01:31:59,530 Do you have a way to determine that it's an IDS signature as opposed to a patch? 1102 01:31:59,550 --> 01:32:00,870 Unfortunately you don't. 1103 01:32:00,890 --> 01:32:04,850 The feedback is not particular to a certain patch that we applied. 1104 01:32:04,850 --> 01:32:07,690 They don't know exactly the set of patches we applied. 1105 01:32:07,690 --> 01:32:09,430 It's across the entire service. 1106 01:32:09,430 --> 01:32:11,930 So in some cases we have to make our best guess. 1107 01:32:11,990 --> 01:32:15,030 And we do evaluate each of our patches individually. 1108 01:32:15,030 --> 01:32:24,770 So we have data internally that we can hopefully discern which one is still performant and then apply it later if we know that it is confidently not the one that was negative. 1109 01:32:24,770 --> 01:32:27,370 What do you evaluate your patch against? 1110 01:32:27,410 --> 01:32:34,330 So we evaluate our patches against polars that we extract from the network feed that they send to us each round. 1111 01:32:34,450 --> 01:32:44,410 So all the based off of coverage that it obtains, we'll go ahead and use those as sort of valid measurements of functionality and we'll run those against our patches. 1112 01:32:44,650 --> 01:32:46,490 So what is the actual mechanism? 1113 01:32:46,490 --> 01:32:47,870 How do you receive this information? 1114 01:32:47,870 --> 01:32:50,450 How do you know that your availability is tanking? 1115 01:32:50,790 --> 01:32:59,150 So part of the status information that's given back to the competitors in each round tells you a list of each of the services. 1116 01:32:59,150 --> 01:33:02,330 And it tells you the time execution overhead. 1117 01:33:02,330 --> 01:33:04,450 It tells you the memory execution overhead. 1118 01:33:04,710 --> 01:33:08,430 It also tells you the functionality. 1119 01:33:08,430 --> 01:33:12,970 If you're failing due to functionality or connections being dropped. 1120 01:33:12,970 --> 01:33:16,670 So you can take that information and say, my patch didn't work. 1121 01:33:16,670 --> 01:33:19,950 And then take hopefully corrective action as a result. 1122 01:33:20,090 --> 01:33:25,210 What is the threshold for beginning to lose points in terms of memory use and performance? 1123 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. 1124 01:33:31,010 --> 01:33:33,310 For execution overhead, it's also 5%. 1125 01:33:33,310 --> 01:33:35,770 For functionality, it's more of a step function. 1126 01:33:35,770 --> 01:33:42,570 I think once you start to fail more than 90% of the polar failures, you drop down to 80% availability. 1127 01:33:42,870 --> 01:33:46,070 And I think those are the only measurements that I can remember. 1128 01:33:46,070 --> 01:33:47,130 Thank you. 1129 01:33:47,130 --> 01:33:47,770 I appreciate it. 1130 01:33:47,770 --> 01:33:50,530 And it was good to see that Rubius was able to recover. 1131 01:33:51,050 --> 01:33:54,090 That was great information. 1132 01:33:54,090 --> 01:33:55,190 And back to you, Hakeem. 1133 01:33:55,190 --> 01:33:59,130 We now come to the last of our rematch challenges, Hat Trick. 1134 01:33:59,130 --> 01:34:06,410 And it's modeled on vulnerabilities that gave rise to one of the oldest internet worms back in 1988, the Morris worm. 1135 01:34:06,570 --> 01:34:12,810 That early worm exploited vulnerabilities in Unix protocols, wreaking havoc across the early internet. 1136 01:34:12,810 --> 01:34:25,510 The great worm, as the Morris worm was later dubbed, was a wake-up call that opened the internet community's eyes to the need for security and prompted DARPA to create the Computer Emergency Response Team at Carnegie Mellon University. 1137 01:34:25,510 --> 01:34:31,770 Basically, the interesting part that's going on here with Hat Trick is Hat Trick represents a fairly simple bug, but it's potentially subtle. 1138 01:34:31,770 --> 01:34:46,890 And that subtlety has actually caused zero POVs being thrown against the Hat Trick service, which basically is interesting because the other services that have potentially even, I would say, more complicated vulnerabilities have had successful POVs thrown against them already. 1139 01:34:46,890 --> 01:34:57,250 And so it's interesting to see, it'll be interesting to study whatever subtlety it was in the implementation of a Morris-like Hat Trick vulnerability that caused it to not actually be able to be POVed against so far. 1140 01:34:57,250 --> 01:34:59,270 So it would be good to know what the bots are thinking here. 1141 01:34:59,270 --> 01:35:03,690 Are they thinking to themselves, there are no vulnerabilities in this code? 1142 01:35:03,690 --> 01:35:04,310 No, no, yeah. 1143 01:35:04,310 --> 01:35:07,270 So the bots are probably having trouble with the scoping problem. 1144 01:35:07,270 --> 01:35:12,810 So one of the things that's pretty common is when you're doing symbolic analysis, there's that whole state space problem. 1145 01:35:12,810 --> 01:35:16,830 And the Morris worm, and specifically, the Morris worm had multiple vulnerabilities in it. 1146 01:35:16,830 --> 01:35:22,210 And so in modeling that for this challenge set, the vulnerabilities themselves are present across multiple binaries. 1147 01:35:22,210 --> 01:35:30,790 And so the scope that those analysis platforms would have to be aware of in order to trigger that might actually have to be aware of the fact that those two binaries are related to each other. 1148 01:35:30,790 --> 01:35:31,190 Right. 1149 01:35:31,190 --> 01:35:38,290 Now, as I participate in this game for the first time, and you're a former champion of DEF CON, I have one question. 1150 01:35:38,290 --> 01:35:38,810 Sure, man. 1151 01:35:38,810 --> 01:35:41,830 Does this belong in the Summer Olympics or the Winter Olympics? 1152 01:35:42,450 --> 01:35:43,090 I don't know. 1153 01:35:43,090 --> 01:35:49,530 I think that since we're here in Vegas in the middle of the summer, it probably belongs in the Summer Olympics, but that's about all I could guess. 1154 01:35:49,530 --> 01:35:49,630 Yeah . 1155 01:35:49,630 --> 01:35:52,210 So how many different types of hacker competitions are there? 1156 01:35:52,210 --> 01:35:53,790 So there's a capture the flag type. 1157 01:35:53,790 --> 01:35:54,890 What else exists? 1158 01:35:54,890 --> 01:35:59,710 Yeah, I mean, for the most part, there are variants on capture the flag at a lot of different conferences the world over. 1159 01:35:59,710 --> 01:36:03,810 And many of them actually act as qualifiers and feeders into DEF CON CTF. 1160 01:36:03,810 --> 01:36:18,110 So there are a number of fairly newly introduced concepts that basically several of these other very famous hacking competitions that occur at other conferences throughout the year act as qualifying rounds for being able to play in DEF CON CTF. 1161 01:36:18,110 --> 01:36:32,450 So in addition to having basically a place at the table because you played in the qualifying round for DEF CON CTF, some of those other competitions have been recognized as being significant enough to basically be drawn into the fold and automatically qualify a team to play. 1162 01:36:32,450 --> 01:36:34,450 Is this a worldwide phenomenon? 1163 01:36:34,450 --> 01:36:35,330 Oh, absolutely. 1164 01:36:35,330 --> 01:36:37,710 That was one of the things that was really interesting to watch. 1165 01:36:37,710 --> 01:36:45,970 As DEF CON CTF became a little bit more structured and a little bit more difficult and some of the challenges became harder, we saw teams come in from all over the world. 1166 01:36:45,970 --> 01:36:59,430 So it was fairly normal for us to actually have troubles with things like significant language barriers and issues like that, which are less the case here during gameplay, maybe potentially during documentation reading for the decree platform or something. 1167 01:36:59,430 --> 01:37:06,370 But during a lot of the other games, that internationalization, because it was being played by humans, caused this sort of more difficulty in communicating. 1168 01:37:06,370 --> 01:37:12,550 Now, speaking of which, as I understand, the winner of the Cyber Grand Challenge will actually play against the humans at DEF CON CTF. 1169 01:37:12,550 --> 01:37:14,570 So this is something we're totally looking forward to seeing. 1170 01:37:14,570 --> 01:37:30,850 Yeah, the organizers of this year's DEF CON CTF have basically facilitated the decree platform being a part of their game this year, which means that the winning bot that comes out of this challenge is actually going to play against the humans in DEF CON CTF. 1171 01:37:30,850 --> 01:37:34,050 So we don't expect the first year out, the bot to win, right? 1172 01:37:34,050 --> 01:37:35,890 Right, that's really gracious of them, yeah. 1173 01:37:36,510 --> 01:37:42,290 So yeah, I mean, the bottom line is we probably don't expect the bots the first year out to totally take over, right? 1174 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. 1175 01:37:46,690 --> 01:38:05,490 So if I could go out on a limb and make a prediction, if one of the vulnerabilities that gets rolled out during the initial stages of the DEF CON CTF inside of the decree platform is one of these more simplistic bugs, we could see, for the first time in a human and machine hacking competition, 1176 01:38:05,490 --> 01:38:11,350 the machines score first because of that speed advantage that they have, which would be really, really cool. 1177 01:38:11,350 --> 01:38:11,830 Cool. 1178 01:38:11,830 --> 01:38:13,950 So humans have the complexity advantage. 1179 01:38:13,950 --> 01:38:14,390 Absolutely. 1180 01:38:14,390 --> 01:38:30,390 That state machine thing and that reduction of that state machine is something that manual reverse engineers are still way better at than the machines because we're better at sort of like estimating parts of that halting problem and dealing with that fact that it could be potentially infinite in ways that the machine calculation just hasn't managed to catch up with yet. 1181 01:38:30,390 --> 01:38:32,130 What about offense versus defense? 1182 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. 1183 01:38:38,970 --> 01:38:40,430 They can do it so quickly. 1184 01:38:40,490 --> 01:38:56,990 The thing that they still wouldn't be able to do is to, or at least that we haven't been proving that they would in this instance, is being able to carry out sort of that more holistic approach to the game where they have to actually land a payload and try and do some of those more sysadmin-y things that they would do in a human CTF game. 1185 01:38:56,990 --> 01:39:03,550 But that'll basically be challenges that the bots probably, the bot that gets into the DEF CON CTF will probably never see. 1186 01:39:03,550 --> 01:39:07,010 It'll probably be a specific subset of the challenges, I would imagine, around decree. 1187 01:39:07,010 --> 01:39:11,750 We'd have to check with the legitimate business syndicate to know whether or not the whole thing is being hosted that way. 1188 01:39:11,770 --> 01:39:15,190 Speaking of the legitimate business syndicate, let's cut back to AceJ. 1189 01:39:15,270 --> 01:39:15,750 Oh yes. 1190 01:39:15,910 --> 01:39:21,630 As a member of the LBS, we are hosting all of our challenges on the CGC platform decree. 1191 01:39:21,790 --> 01:39:27,890 And each and every one of them, of the challenges, should be accessible and able to be reasoned over by the CRS. 1192 01:39:27,890 --> 01:39:34,070 We designed that on purpose so that we can have a human vComputer platform. 1193 01:39:34,250 --> 01:39:39,370 So I have with me David Melski from TechX, whose CRS is Zandra. 1194 01:39:39,370 --> 01:39:43,970 He's going to talk to us a little bit about formal methods, and especially in regards to CGC. 1195 01:39:43,970 --> 01:39:44,750 Sure. 1196 01:39:45,390 --> 01:39:52,990 I might not be the best person to talk about formal methods, but formal methods tend to focus on proving properties about the program. 1197 01:39:52,990 --> 01:39:58,450 So often you'll see things like machine-checked proofs and automated theorem provers. 1198 01:39:58,450 --> 01:40:06,010 And they're incredibly important for knowing that you have a piece of software that's doing what it's meant to do for a particular context. 1199 01:40:06,370 --> 01:40:10,070 So they can also include static analysis methods. 1200 01:40:10,070 --> 01:40:24,450 And there have been a lot of other DARPA programs, or there have been recent DARPA programs, that have been focusing a lot on using those formal methods to prove platforms that have certain important security properties that you can build upon. 1201 01:40:24,530 --> 01:40:35,030 They're hard to use in this kind of automated, very short-term platform in CGC, but they're a very important part of this puzzle of solving security. 1202 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. 1203 01:40:38,350 --> 01:40:40,150 How hard is it to actually say no? 1204 01:40:40,150 --> 01:40:41,810 It's like solving the halting problem, right? 1205 01:40:42,570 --> 01:40:43,770 When do you know to stop? 1206 01:40:43,910 --> 01:40:44,750 Yeah. 1207 01:40:46,390 --> 01:40:53,350 The halting problem says that there's no general-purpose algorithm that works for all programs. 1208 01:40:53,450 --> 01:40:57,790 That doesn't mean that you can't prove things for specific programs. 1209 01:40:58,270 --> 01:41:04,190 And so, in fact, often you can succeed in proving specific properties about specific programs. 1210 01:41:04,190 --> 01:41:06,770 It's just that sometimes you're going to fail. 1211 01:41:06,770 --> 01:41:12,410 But that's kind of an abstraction that doesn't matter, because you don't want to run all possible programs. 1212 01:41:12,410 --> 01:41:14,230 You want to run your programs. 1213 01:41:14,230 --> 01:41:17,510 And you can often prove things about them that are very important. 1214 01:41:17,510 --> 01:41:24,590 Is there any reasoning inside of Zandra to tell it when to stop and use that computing power on something else? 1215 01:41:25,050 --> 01:41:26,010 Sure. 1216 01:41:26,010 --> 01:41:34,090 And, in fact, there's a whole interesting part of gameplay that we would have liked to explore more in terms of resource allocation and management. 1217 01:41:34,090 --> 01:41:42,230 In fact, we drew an analogy early on that it was like managing a squad of non-player characters in a video game. 1218 01:41:42,230 --> 01:41:57,130 We kind of similarly have a squad of specialists and applications that are trying to do different parts of the capture the flag, vulnerability discovery, exploit generation, patching, and managing all those resources complicated. 1219 01:41:57,570 --> 01:42:09,890 That's one of the things on my long list of would have done with more time, as it is we try and pay attention to, you know, has the challenge set been retired? 1220 01:42:10,290 --> 01:42:12,770 Do we think we can do anything more with it? 1221 01:42:12,830 --> 01:42:15,490 Or is it time to use those resources somewhere else? 1222 01:42:15,490 --> 01:42:17,550 But it's sort of simplistic rules. 1223 01:42:17,570 --> 01:42:21,830 I like thinking of these things as sort of the players on a battlefield. 1224 01:42:21,830 --> 01:42:23,450 That's a nice word, like a wow or something. 1225 01:42:23,490 --> 01:42:24,690 Thank you for that. 1226 01:42:24,750 --> 01:42:26,150 Back to you, Hakeem. 1227 01:42:26,170 --> 01:42:27,150 Thank you, H.J. 1228 01:42:27,190 --> 01:42:30,390 So how do the teams do versus Hat Trick? 1229 01:42:30,390 --> 01:42:34,390 So that particular challenge set is made up of four binaries. 1230 01:42:34,450 --> 01:42:46,750 And it looks like two teams did manage to patch the vulnerabilities, but we're not sure yet whether or not they patched that with a very specific patch that addressed the individual flaw or a more general purpose hardening technique that might have mitigated the risk of the flaw, 1231 01:42:46,750 --> 01:42:48,650 but without even knowing what it was. 1232 01:42:48,650 --> 01:42:49,810 Okay, so maybe H.J. 1233 01:42:49,810 --> 01:42:50,990 knows more for us. 1234 01:42:50,990 --> 01:42:53,950 H.J., tell us, sir, what happened with Hat Trick? 1235 01:42:53,950 --> 01:43:02,230 So one thing that was interesting is that despite people being able to do these generic patches, no one was able to successfully do a POV against it. 1236 01:43:02,230 --> 01:43:12,130 And it's surprising because the Hat Trick was just a basic stack based on Buffer Overflow, which is something you expect these amazing systems to be able to complete. 1237 01:43:12,310 --> 01:43:14,470 So yeah, back to you, Hakeem. 1238 01:43:14,830 --> 01:43:17,670 H.J., and your beard is still looking really good, my man. 1239 01:43:17,670 --> 01:43:18,170 Thank you, sir. 1240 01:43:18,170 --> 01:43:19,050 All right. 1241 01:43:19,130 --> 01:43:22,970 So now let's take a look at the headlines so far of the matches. 1242 01:43:23,030 --> 01:43:23,650 Vizzy. 1243 01:43:23,650 --> 01:43:27,250 So it looks like we have some of that final data in for Hat Trick like we were talking about. 1244 01:43:27,250 --> 01:43:31,490 If you guys remember, Hat Trick is our rematch challenge based on some of the MorisWorm data. 1245 01:43:31,490 --> 01:43:35,490 And we definitely have two teams managing to actually patch this. 1246 01:43:35,490 --> 01:43:39,150 But there's no particular evidence of anyone POVing it yet. 1247 01:43:39,150 --> 01:43:40,390 Yeah, congratulations, guys. 1248 01:43:40,390 --> 01:43:41,270 Well done. 1249 01:43:41,470 --> 01:43:45,390 So the other thing that we have is some of the final wrap-up on address resolution service. 1250 01:43:45,390 --> 01:43:47,310 Again, based on SQL Slammer. 1251 01:43:47,310 --> 01:43:50,310 Six successful patches and six POVs. 1252 01:43:50,310 --> 01:43:55,030 So this is one of those ones that this technology would have had a very dramatic impact back in the day. 1253 01:43:55,290 --> 01:43:56,470 All right. 1254 01:43:57,630 --> 01:43:59,830 SQL would not have been slammed. 1255 01:43:59,890 --> 01:44:01,230 Yeah, absolutely. 1256 01:44:01,450 --> 01:44:02,950 So secure server wrap-up. 1257 01:44:02,950 --> 01:44:04,150 We've got some information. 1258 01:44:04,150 --> 01:44:06,790 Again, this one was the one that was based on Heartbleed. 1259 01:44:06,790 --> 01:44:10,490 It looks like six patches deployed, but only one POV. 1260 01:44:10,490 --> 01:44:15,330 Which means that whichever system that was, and if I recall correctly, it might have been MechaFish. 1261 01:44:15,330 --> 01:44:20,650 They basically were the only ones that we have evidence that they managed to reason about it successfully so far. 1262 01:44:20,830 --> 01:44:21,850 But everyone was able to... 1263 01:44:21,850 --> 01:44:22,830 But everyone was able... 1264 01:44:22,830 --> 01:44:23,870 Actually, six teams. 1265 01:44:23,870 --> 01:44:24,850 Six or seven. 1266 01:44:24,850 --> 01:44:30,650 Were able to deploy a patch that basically at least protected, even if it was unknown what it did to protect it. 1267 01:44:30,650 --> 01:44:36,550 It may have been one of those general purpose things like we've spoken about before that successfully defended those services for them. 1268 01:44:36,550 --> 01:44:44,950 But either way, they patched it without breaking it, without significantly negatively impacting its performance, and managed to defend that service with automated code patching. 1269 01:44:45,010 --> 01:44:49,390 Yes, and so this is like in the nick of not time because this is a very recent problem. 1270 01:44:49,390 --> 01:44:50,130 Absolutely, yeah. 1271 01:44:50,130 --> 01:44:51,090 Yeah, totally. 1272 01:44:52,430 --> 01:44:57,490 So it looks like we've also got some continuing data coming in on MS08-067. 1273 01:44:57,670 --> 01:45:03,390 It looks like the CGCRPC server, like we've talked about, there were four teams that managed to successfully patch it. 1274 01:45:03,390 --> 01:45:05,630 And again, only one POV. 1275 01:45:05,630 --> 01:45:07,170 That's really fantastic. 1276 01:45:07,170 --> 01:45:12,110 One of the things that we were really kind of hoping to see here, we didn't really want to create the scale too low or too high. 1277 01:45:12,110 --> 01:45:22,290 One of the really dreaded things in CTF hosting, if you're familiar with any of the other games, is it's very possible to create things that are way too easy and create things that are way too hard. 1278 01:45:22,370 --> 01:45:28,330 And getting a good spread spectrum of things all the way through sort of allows you to feel like you actually are gaining a measurement, right? 1279 01:45:28,330 --> 01:45:32,970 If you have a thermometer and you're trying to measure the temperature and it hits the top of the scale, you have no idea what it was, right? 1280 01:45:32,970 --> 01:45:34,370 You didn't get an accurate reading. 1281 01:45:34,370 --> 01:45:42,030 And so we really are glad to see a lot of these things being very difficult but still being achieved, and a few that are actually not getting achieved yet. 1282 01:45:42,030 --> 01:45:44,970 So where does this fit into what's already happened? 1283 01:45:44,970 --> 01:45:52,930 So have people actually taken these real-world vulnerabilities and tested against bots in the lab before this sort of event? 1284 01:45:53,170 --> 01:46:00,590 I mean, people have tried out some automated patching techniques, but there's been very little of that that's deployed widely in production. 1285 01:46:00,590 --> 01:46:15,370 There are certain very specialized subsystems and certain industries that are capable of these kind of things, but it's also usually because they themselves have a reduced set or some kind of language that they use that creates a smaller state space than some of the general-purpose computing that we've seen so far. 1286 01:46:15,370 --> 01:46:26,730 So basically, the gist of it is, in a lot of instances, it's only very nichey areas that have managed to deploy anything like this, and this is introducing us to this much more complex field space in a much more production-sensitive environment. 1287 01:46:26,730 --> 01:46:29,190 All right, I hear we have something coming in about Linkbug. 1288 01:46:29,230 --> 01:46:32,050 It looks like we have the wrap-up on the Linkbug. 1289 01:46:32,050 --> 01:46:35,090 Six patches and one POV, it seems to be a trend. 1290 01:46:35,090 --> 01:46:35,970 Yeah, absolutely. 1291 01:46:35,970 --> 01:46:46,530 So it looks like both of those last two POVs came in from Mayhem, so they are definitely doing very, very well in proving vulnerabilities against the other bots. 1292 01:46:46,530 --> 01:46:46,990 All right. 1293 01:46:46,990 --> 01:46:51,090 And then coming back all the way around to Mail Server, based on CrackAdder... 1294 01:46:51,090 --> 01:46:51,990 Which is the most difficult, right? 1295 01:46:51,990 --> 01:46:53,710 Which was definitely one of the ones that was most difficult. 1296 01:46:53,710 --> 01:46:56,450 And is it possible that nothing may have succeeded against it? 1297 01:46:56,450 --> 01:46:59,110 State machine bugs are very hard. 1298 01:46:59,110 --> 01:47:02,230 One managed to pull it off, just like we saw from before. 1299 01:47:02,230 --> 01:47:04,950 Two were patched, but one managed to pull this off. 1300 01:47:04,950 --> 01:47:17,450 And this one, like we said before, was sort of slicing the difference between the reduced version that Halvar created as an exemplar of why these types of bugs are difficult to deal with, and the original bug and its level of complexity. 1301 01:47:17,450 --> 01:47:18,650 So this is right in the middle. 1302 01:47:18,650 --> 01:47:21,630 It definitely represents a new achievement in program analysis. 1303 01:47:21,630 --> 01:47:25,590 Because of that level of complexity, that one team should be super, super proud of that. 1304 01:47:25,670 --> 01:47:26,490 Wonderful. 1305 01:47:26,490 --> 01:47:28,110 Definitely MechaFish also. 1306 01:47:31,910 --> 01:47:35,590 As a professor, I love it when students do something well. 1307 01:47:35,750 --> 01:47:36,310 Yeah, absolutely. 1308 01:47:36,310 --> 01:47:37,930 And break breakthroughs. 1309 01:47:38,190 --> 01:47:41,090 So we have scores in from round 60. 1310 01:47:41,090 --> 01:47:42,210 Let's take a look. 1311 01:47:42,270 --> 01:47:45,750 Looks like Mayhem is still in the lead, with Zandra following fairly closely behind. 1312 01:47:45,750 --> 01:47:48,610 They haven't really managed to pull away too far. 1313 01:47:48,610 --> 01:47:51,970 MechaFish managing also to still give them a run for the money. 1314 01:47:51,970 --> 01:47:57,470 Basically, as this round 60 data goes on, we can actually see only a slight bit of divergence. 1315 01:47:57,470 --> 01:48:03,130 And actually, this is more of an even neck-and-neck performance than I had actually originally anticipated. 1316 01:48:03,130 --> 01:48:08,210 My bets were that we were going to see one bot sort of stumble very early and never manage to recover. 1317 01:48:08,210 --> 01:48:09,710 And we totally haven't seen that here. 1318 01:48:09,710 --> 01:48:13,510 There's only been sort of minor variance causing these sort of difficulties. 1319 01:48:13,510 --> 01:48:26,570 And as we can see, right in here, it's these little peel-away moments that are sort of the trouble for some of these teams, where basically something like most-of-the-time availability has caused them to just have a couple of rounds that were not maybe quite as good, 1320 01:48:26,570 --> 01:48:27,010 right? 1321 01:48:27,010 --> 01:48:37,390 So we know for a fact, actually, one of the things that we've seen that's pretty interesting with MechaFish so far is that they've actually had instances where they've deployed a patch and then subsequently decided that it wasn't passing polls anymore, 1322 01:48:37,390 --> 01:48:39,050 it wasn't performing significantly enough. 1323 01:48:39,050 --> 01:48:45,190 And it seems like their bot actually has logic to pull that patch back out of production and revert to the original binary. 1324 01:48:45,190 --> 01:48:47,610 So that's some of that game theory stuff like we wanted, right? 1325 01:48:47,610 --> 01:48:48,970 Like we were hoping to see. 1326 01:48:48,970 --> 01:48:54,330 And when they revert back to that, we've never seen them actually deploy a patch for that service again. 1327 01:48:54,330 --> 01:49:03,470 So it's almost like they have that very defensive, once you've decided that it's no longer okay to patch that or that your machine didn't manage to generate a correct patch for it, they just don't touch it. 1328 01:49:03,470 --> 01:49:10,750 And that's probably indicative of some of their history in CTF, where oftentimes not patching is a perfectly acceptable strategy. 1329 01:49:10,750 --> 01:49:14,650 The race for third looks incredibly tight. 1330 01:49:14,670 --> 01:49:15,350 Absolutely. 1331 01:49:15,350 --> 01:49:19,210 So if you come in fourth, you do not receive a prize. 1332 01:49:19,210 --> 01:49:19,930 Yeah, that's true. 1333 01:49:19,930 --> 01:49:20,690 There's absolutely... 1334 01:49:20,690 --> 01:49:25,190 Well, other than the everlasting fame and glory of being here at all. 1335 01:49:25,190 --> 01:49:25,670 That's right. 1336 01:49:25,670 --> 01:49:35,770 So being a finalist at all, I don't know if everybody got a chance to go over some of the background for the qualifying event, but hundreds of teams actually attempted to qualify for this particular event. 1337 01:49:35,770 --> 01:49:38,990 And so just being here at all is a very significant thing. 1338 01:49:38,990 --> 01:49:43,150 But I think that what we're seeing here is that there's not... 1339 01:49:43,850 --> 01:49:44,730 Awesome. 1340 01:49:46,090 --> 01:49:48,930 Is that there's not actually that radical of a difference. 1341 01:49:48,930 --> 01:49:53,970 We were actually early on preparing for this potential to sort of break away lead, if you remember. 1342 01:49:53,970 --> 01:49:55,950 Right, there were qualifying rounds, right? 1343 01:49:55,950 --> 01:49:57,630 And we saw these bots performing. 1344 01:49:57,630 --> 01:49:58,410 Yep, absolutely. 1345 01:49:58,410 --> 01:50:06,430 And so we had actually sort of prepared ourselves for this breakaway lead thing, and we're really glad to be able to see all the teams continuing to do really well. 1346 01:50:06,510 --> 01:50:10,750 So one of the other views that we've got available to us is actually called the cubes view. 1347 01:50:10,830 --> 01:50:18,650 And we've managed to basically create an environment where, on the plane here in two dimensions, we have the bots listed as well as the individual challenges. 1348 01:50:18,650 --> 01:50:26,010 And then for each of those spots in that plane, we have a cube that can project three dimensions of data, of scoring information. 1349 01:50:26,010 --> 01:50:26,950 I have to interrupt. 1350 01:50:26,950 --> 01:50:28,910 The correct term is rectangular prism. 1351 01:50:29,050 --> 01:50:30,770 That's absolutely correct. 1352 01:50:31,010 --> 01:50:31,870 Right. 1353 01:50:32,350 --> 01:50:32,990 Thank you. 1354 01:50:32,990 --> 01:50:33,870 Thank you. 1355 01:50:33,870 --> 01:50:42,410 So what we can see here is actually that any three aspects of scoring or the data that we're gathering could be projected in that rectangular prism. 1356 01:50:42,410 --> 01:50:42,990 Is that right? 1357 01:50:42,990 --> 01:50:45,330 But in this instance, we're seeing sort of the default view. 1358 01:50:45,330 --> 01:50:52,950 And so we can see basically along each of the axes is security, evaluation, and availability, like you can see in the graphic here. 1359 01:50:52,950 --> 01:50:57,590 So in instances, for example, where we see these flattened out... 1360 01:50:58,970 --> 01:50:59,770 Flattened out? 1361 01:51:00,330 --> 01:51:00,990 Cubes. 1362 01:51:00,990 --> 01:51:01,830 Yeah, they're flat. 1363 01:51:01,830 --> 01:51:02,570 Will go. 1364 01:51:02,830 --> 01:51:06,490 That's actually the availability score suffering for those. 1365 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. 1366 01:51:12,630 --> 01:51:20,790 So for example, we can see that Mayhem has managed to maintain security on nearly all of their challenges for this particular round. 1367 01:51:20,790 --> 01:51:29,870 And in a couple of other instances, we can see successful evaluations being carried out by these areas where we see the cubes expand along this axis, this direction. 1368 01:51:30,030 --> 01:51:34,590 Yeah, that seems like the one case where they're doing better on evaluation and security. 1369 01:51:34,590 --> 01:51:36,990 So these little guys like here... 1370 01:51:38,150 --> 01:51:39,490 There we go. 1371 01:51:39,610 --> 01:51:49,300 We can see that as some of these head toward that evaluation space, those are the teams that are managing to successfully evaluate or successfully prove vulnerabilities in the other team's deployed software. 1372 01:51:51,250 --> 01:51:58,690 So next up, we have the arena view from round 60, which as we'll see is an extremely busy round like they all are. 1373 01:51:58,690 --> 01:52:04,430 We've only got one remaining of the original rematch challenges still in play. 1374 01:52:04,590 --> 01:52:15,610 But you can see actually early on Galactica jumps out and actually throws a bunch of successful POVs, which we can see here because of these blue circles occurring inside of other teams' services, right? 1375 01:52:15,610 --> 01:52:16,150 That's right. 1376 01:52:16,150 --> 01:52:21,790 And so that's actually Galactica managing to successfully and then stealing back those colors and ending up being able to render it here. 1377 01:52:21,830 --> 01:52:29,390 But as we mentioned before, even in these late rounds, a lot of these teams are still patching, still deploying patches and are still down for those rounds. 1378 01:52:29,450 --> 01:52:32,030 Yep, as we see there and there, for sure. 1379 01:52:32,030 --> 01:52:40,810 And then in a couple of instances, we've even got teams that are having and suffering availability problems, MechaFish, for example, and Rubius. 1380 01:52:40,890 --> 01:52:49,510 And because those are not immediately shrunk down to being the tiniest little possible black space, that means that they're suffering from availability problems due to performance. 1381 01:52:49,570 --> 01:53:01,610 So essentially, in our game, as the evaluation for availability occurs, if it's not functioning correctly at all, if it's not responding with the correct information, that'll just cause it to immediately go to zero. 1382 01:53:01,610 --> 01:53:05,150 You'll get that smallest possible black tile in the middle. 1383 01:53:05,150 --> 01:53:14,310 But these ones that are of reduced size but not dropped all the way down, that's because they're capable of incrementally losing some of their availability score due just to performance. 1384 01:53:14,310 --> 01:53:15,670 Now, what is going on right here? 1385 01:53:15,670 --> 01:53:16,910 I see a couple of intersecting... 1386 01:53:16,910 --> 01:53:17,850 Absolutely, yeah. 1387 01:53:17,850 --> 01:53:24,010 So the little secondary gear that we see there, we mentioned earlier on that the team's bots are capable of deploying IDS rules. 1388 01:53:24,070 --> 01:53:37,470 So when they deploy an IDS rule, just like deploying a patched binary, that IDS rule causes that service to be down for that round and the team to not be able to score either security or to prove vulnerabilities, carry out offense against the other teams. 1389 01:53:37,470 --> 01:53:51,350 But basically, this strategy that we're seeing here most specifically represents patching the binary and the IDS rules at the same time, which is probably a good strategy considering the fact that otherwise you'd have to have a down cycle for each of them. 1390 01:53:51,350 --> 01:53:52,070 I see. 1391 01:53:53,030 --> 01:53:56,790 So up and coming, we have some POV data coming in. 1392 01:53:56,790 --> 01:54:00,510 So we're seeing, as an example, you can see all the POVs being thrown. 1393 01:54:00,510 --> 01:54:09,970 We mentioned that per service, it's possible for an individual bot to try to throw a POV against another team's service up to 10 times in that one round. 1394 01:54:09,970 --> 01:54:21,270 So some of the bots that we've seen are actually taking this very aggressive approach where even without potentially all of the information that would be necessary to prove that vulnerability, they're trying it out based on what they've got. 1395 01:54:21,270 --> 01:54:27,930 And we're seeing others that are a little bit more specific and will only throw the POV when they're quite certain that they know where it is. 1396 01:54:27,930 --> 01:54:34,910 So for example, Rubius is a good example of throwing the POVs and having them sometimes land and sometimes not. 1397 01:54:34,910 --> 01:54:37,150 All right, so we have some scores coming up. 1398 01:54:37,390 --> 01:54:38,210 Here we go. 1399 01:54:38,210 --> 01:54:39,230 Round 60. 1400 01:54:39,430 --> 01:54:41,690 So the overall listings we can see here. 1401 01:54:41,690 --> 01:54:46,750 Basically, it seems like pretty much all the teams that are in the lead are managing to maintain their availability scores. 1402 01:54:46,790 --> 01:54:54,090 It looks like Gma and Crispy might be having a little bit of trouble in that arena and that might be causing them to end up on the lower end of the scoreboard currently. 1403 01:54:54,090 --> 01:54:58,330 The upper end, we're definitely seeing both security and evaluation. 1404 01:54:58,330 --> 01:55:01,530 We're not seeing a runaway game from either just defense or just offense. 1405 01:55:01,530 --> 01:55:08,190 It's a very balanced approach that it seems like the bots are taking, which again kind of plays back into some of that game theory stuff that we were hoping for. 1406 01:55:08,550 --> 01:55:14,630 So coming up, we're going to see some of the polling data from basically the scoring server for round 60. 1407 01:55:14,730 --> 01:55:17,910 In this instance, we can see just a couple of them are down. 1408 01:55:18,110 --> 01:55:20,410 Most of them are still responding correctly. 1409 01:55:20,510 --> 01:55:26,610 So like we mentioned, we can see the availability issues that are going on here where we can see that the service polls are still green, right? 1410 01:55:26,610 --> 01:55:33,230 Those little dots at the last second are still staying green all the way through versus some of these other ones that are in the process of being patched, for example. 1411 01:55:33,230 --> 01:55:36,890 We can see going in and turning red right at the last second. 1412 01:55:37,530 --> 01:55:52,970 So basically what that means is like we mentioned that we speculated before, it does seem like the polling data is showing that those availability issues that a bunch of the teams are having right now are actually more about performance than they are about having created patches that break the software. 1413 01:55:52,970 --> 01:55:54,750 Okay, so we're going to go down to H.J. 1414 01:55:54,750 --> 01:55:57,570 He has more information for us from the pit. 1415 01:55:57,950 --> 01:56:00,730 I have with me Alex from For All Secure. 1416 01:56:00,730 --> 01:56:03,630 He's going to talk to us about the scores for round 60. 1417 01:56:03,630 --> 01:56:06,310 So you're currently in the lead with a 10,000 point lead. 1418 01:56:06,310 --> 01:56:07,170 How are you feeling? 1419 01:56:07,970 --> 01:56:10,290 We're still excited to be in the lead. 1420 01:56:10,890 --> 01:56:16,370 So DARPA released the submissions during the competition and we have been looking at that. 1421 01:56:16,470 --> 01:56:24,170 And unfortunately, it seemed that our system had a technical difficulty and stopped submitting patches and POVs. 1422 01:56:24,170 --> 01:56:30,710 So we kind of hope that we build a big enough lead that we can just hide it out until the end of the game. 1423 01:56:30,710 --> 01:56:33,150 Do we have any idea what caused this technical difficulty? 1424 01:56:33,150 --> 01:56:41,710 It looks like our system is not keeping up and not downloading regular updates from the team interface from DARPA. 1425 01:56:41,710 --> 01:56:48,070 So we're still playing on the binaries that were released like hands ago that are now not in play anymore. 1426 01:56:48,070 --> 01:56:48,950 Oh, I see. 1427 01:56:49,750 --> 01:56:51,630 Yeah, so we'll see what happens. 1428 01:56:51,910 --> 01:56:55,670 A friend of mine mentioned that, you know, the only move is not to play. 1429 01:56:55,670 --> 01:56:56,550 The only... 1430 01:56:56,550 --> 01:56:58,070 Oh, shit, I missed the code. 1431 01:56:59,350 --> 01:57:01,690 The only way to win is not to play. 1432 01:57:02,570 --> 01:57:05,610 So the upside is at least that availability is a huge portion of the score. 1433 01:57:05,610 --> 01:57:09,990 And since you're not making any modifications, your availability should remain as high as possible. 1434 01:57:09,990 --> 01:57:13,970 So we'll have perfect overheads, very performant binaries. 1435 01:57:14,010 --> 01:57:19,490 As soon as teams have a POV, unfortunately, we won't be able to protect against it. 1436 01:57:19,490 --> 01:57:19,810 I see. 1437 01:57:19,810 --> 01:57:25,010 And obviously, we'll also not get any evaluation point by exploiting other teams. 1438 01:57:25,010 --> 01:57:25,550 Well, thank you. 1439 01:57:25,550 --> 01:57:28,550 I'm sorry to hear about the issue, but good luck. 1440 01:57:28,550 --> 01:57:29,290 Thanks. 1441 01:57:29,290 --> 01:57:37,290 So it looks like we have data coming in from Galactica scoring perfect points on a challenge that we call Whack Jack against the original binaries. 1442 01:57:37,290 --> 01:57:46,690 So basically, they managed to actually score perfectly against all the teams in the original binaries, probably because they managed to turn it around so fast. 1443 01:57:46,690 --> 01:57:49,330 All right, I hear that HJ has Galactica down in the pit. 1444 01:57:49,330 --> 01:57:50,490 Let's hear from them. 1445 01:57:50,490 --> 01:57:53,330 I have the team lead from Galactica here. 1446 01:57:53,330 --> 01:57:55,850 So you were able to accomplish this task. 1447 01:57:55,850 --> 01:57:59,510 What do you actually think about it in terms of your solution? 1448 01:58:00,270 --> 01:58:05,410 We kind of used some generic defense against the vulnerabilities. 1449 01:58:05,410 --> 01:58:10,590 We thought that maybe found by other teams, but not by ours. 1450 01:58:10,590 --> 01:58:13,610 So we used some generic defense. 1451 01:58:13,610 --> 01:58:23,070 So in this case, we also considered the availability scores and we used some optimizations to make our overhead as low as possible. 1452 01:58:23,070 --> 01:58:28,730 For example, we used some free space in the original code section and so on. 1453 01:58:28,730 --> 01:58:32,490 So it works for most binaries. 1454 01:58:32,490 --> 01:58:32,810 Excellent. 1455 01:58:32,810 --> 01:58:39,410 So I'm actually kind of curious, since we haven't spoken much, is there anything particularly about your CRS that you're proud of? 1456 01:58:39,410 --> 01:58:48,470 Yeah, we actually use a lot of research work and make them into practice. 1457 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. 1458 01:58:56,830 --> 01:59:03,290 We are from UC Berkeley and Syracuse and also S2E team. 1459 01:59:03,290 --> 01:59:10,150 So we did a lot of research in the binary analysis program hardening and also exploit generation. 1460 01:59:10,630 --> 01:59:16,790 How far has the CGC program allowed you to push the envelope for the state-of-the-art in program analysis? 1461 01:59:17,050 --> 01:59:18,770 Yeah, it helps a lot. 1462 01:59:18,770 --> 01:59:33,370 Actually, we tried many new solutions in this project and some of them actually didn't work well, finally, and so we didn't integrate those components into our system. 1463 01:59:33,370 --> 01:59:39,750 But actually, we tried, for example, the advanced data attack, which is a type 2 attack here. 1464 01:59:40,130 --> 01:59:52,490 And a type 2 attack is, for everybody else, is one that you're able to actually pull back data from the target and submit as opposed to like a code flow integrity issue. 1465 01:59:52,510 --> 01:59:54,670 Thank you, I appreciate it. 1466 01:59:55,390 --> 01:59:57,530 And back to you, Hakeem. 1467 01:59:57,530 --> 01:59:58,550 Thank you, H.J. 1468 01:59:58,630 --> 02:00:02,830 We are getting data in from rounds 91 through 95, so... 1469 02:00:02,830 --> 02:00:04,910 So it's 96 rounds, so we're coming down the homestretch. 1470 02:00:04,910 --> 02:00:05,810 We're coming down the homestretch. 1471 02:00:05,810 --> 02:00:09,470 So we have round 91 scores coming in. 1472 02:00:09,470 --> 02:00:16,610 So actually, when we mentioned earlier before that we had seen Mayhem's bot go offline, for this round, they are actually offline. 1473 02:00:16,610 --> 02:00:22,510 The interesting part that we're going to see here, though, is, like we had mentioned, it's not necessarily that negatively impacting. 1474 02:00:22,510 --> 02:00:26,430 There are certain time periods in the game when doing nothing is not that terrible. 1475 02:00:26,470 --> 02:00:31,810 And so in this instance, actually, basically, many of the teams are not throwing POVs at the time. 1476 02:00:31,810 --> 02:00:35,790 We're not seeing new scores being tallied as a result of those POVs. 1477 02:00:35,790 --> 02:00:43,290 The approach that they happen to be inadvertently taking due to their bot not responding right now is actually not really hurting them that much. 1478 02:00:43,290 --> 02:00:47,950 They're still managing to maintain that lead because they had a reasonable lead to begin with. 1479 02:00:47,950 --> 02:00:56,090 And then additionally, because right now, in this portion of the game, so few POVs are being thrown that it's not really negatively impacting their security score. 1480 02:00:56,650 --> 02:00:59,390 But how are they available if they're down? 1481 02:00:59,390 --> 02:01:00,370 They're not available. 1482 02:01:00,370 --> 02:01:01,710 So you get zero? 1483 02:01:01,890 --> 02:01:02,550 For those... 1484 02:01:02,550 --> 02:01:08,290 Well, no, their services are still available because they haven't replaced them. 1485 02:01:08,290 --> 02:01:08,710 Oh, I see. 1486 02:01:08,710 --> 02:01:10,570 They're not issuing any new updates. 1487 02:01:10,570 --> 02:01:12,810 They're not sending any requests for POVs. 1488 02:01:12,810 --> 02:01:20,170 So the service itself is still online, but the bot is no longer requesting updates to it and is no longer trying to carry out POVs. 1489 02:01:21,110 --> 02:01:22,810 So here is an arena view. 1490 02:01:22,810 --> 02:01:25,350 Yep, so here we see the arena view for round 91. 1491 02:01:25,550 --> 02:01:27,190 And we can see Mayhem again. 1492 02:01:27,190 --> 02:01:29,870 It looks like they still have many of their services online, right? 1493 02:01:29,870 --> 02:01:34,050 We can see they're patched or they're not patched, but they're maintaining security. 1494 02:01:34,050 --> 02:01:35,750 There are a few of them that are getting owned. 1495 02:01:35,750 --> 02:01:38,010 Like I said, there's still a few POVs flying around. 1496 02:01:38,170 --> 02:01:41,470 MechaFish, Rubius managing to land some stuff, Galactica too. 1497 02:01:41,510 --> 02:01:43,330 Looks like just about everybody a little bit. 1498 02:01:43,330 --> 02:01:44,850 But for example, this instance here... 1499 02:01:45,750 --> 02:01:47,570 Let's let that go just a hair further. 1500 02:01:48,410 --> 02:01:50,310 You can see just barely through here. 1501 02:01:50,310 --> 02:01:52,390 It might be actually easier to see when it's in motion. 1502 02:01:52,390 --> 02:02:03,050 But this tile for Rubius shows that they've managed to acquire several of those little colored chips from the other ones carrying out POVs, but they're actually getting less of the total score than they could because of availability there. 1503 02:02:03,050 --> 02:02:11,470 But as we can see, it looks like Mayhem not being significantly negatively impacted by their bot becoming unresponsive as far as our measurement goes. 1504 02:02:12,790 --> 02:02:15,890 And still successful POVs being thrown by Galactica. 1505 02:02:16,330 --> 02:02:18,070 I wonder if potentially... 1506 02:02:18,070 --> 02:02:19,790 Were they throwing against Mayhem that round? 1507 02:02:19,790 --> 02:02:25,590 Oh yeah, it looks like for that one service, we can see here Galactica throwing successfully against Mayhem. 1508 02:02:25,590 --> 02:02:28,690 And we can see that Mayhem's service over here has lost its white border. 1509 02:02:28,690 --> 02:02:32,410 So they are losing a few, but it's really not enough because of that lead that they had. 1510 02:02:32,410 --> 02:02:34,130 It's not enough to kick them downward. 1511 02:02:34,170 --> 02:02:39,630 And they may not have had any patches at the time to replace those binaries with even had their bot been online. 1512 02:02:39,650 --> 02:02:40,090 Right, exactly. 1513 02:02:40,090 --> 02:02:41,370 It's really kind of one of those like... 1514 02:02:41,370 --> 02:02:48,450 It's an amazing time period in the game where it's possible for that sort of unavailability to not really have too much of a negative impact. 1515 02:02:48,450 --> 02:02:54,010 Well, we'll get to see how this evolves because right now we're looking at 91 and now round 92 data is available. 1516 02:02:54,010 --> 02:03:00,450 Yep, and so in round 92, they are definitely still not actually issuing any update requests. 1517 02:03:00,450 --> 02:03:03,390 3 and 4 and 5 and 6, they're really tight. 1518 02:03:03,390 --> 02:03:07,450 Yeah, this is definitely a much tighter overall contest than I thought it would be. 1519 02:03:07,450 --> 02:03:16,190 I thought we'd see a much more spread spectrum because oftentimes in the human CTFs, we're used to seeing a very large spread spectrum. 1520 02:03:16,190 --> 02:03:16,530 Right. 1521 02:03:16,530 --> 02:03:19,730 And seeing some of these runaway challenges. 1522 02:03:19,730 --> 02:03:28,790 And occasionally we've even seen some of the challengers in those runaway games do things like play Guitar Hero on projectors rather than actually continue playing their game. 1523 02:03:28,790 --> 02:03:29,990 Yeah, they like to... 1524 02:03:30,630 --> 02:03:31,490 Show off. 1525 02:03:31,490 --> 02:03:32,850 Exactly, that's right. 1526 02:03:32,850 --> 02:03:34,150 Rub their nose in it. 1527 02:03:34,150 --> 02:03:37,130 So we have the Arena View from round 94. 1528 02:03:37,310 --> 02:03:39,710 So in round 94, something very interesting happens. 1529 02:03:39,710 --> 02:03:41,850 We see Mayhem wake back up. 1530 02:03:41,850 --> 02:03:47,750 So Mayhem actually has come back online in round 94 and their bot has managed... yep. 1531 02:03:50,600 --> 02:03:58,640 And as it comes back up, it looks like they are managing to successfully attempt some POVs but not actually land them, it looks like maybe. 1532 02:03:58,640 --> 02:04:03,260 But they are still getting successful POVs evaluated against them. 1533 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. 1534 02:04:06,700 --> 02:04:11,140 So what's happening right here is really interesting because it looks like they're both patching and scoring. 1535 02:04:11,140 --> 02:04:12,840 Is that even possible? 1536 02:04:12,840 --> 02:04:18,040 No, so since they're down for patching that round, the data is showing us that they actually successfully landed POVs. 1537 02:04:18,040 --> 02:04:20,600 But they were throwing them and not getting any score for them. 1538 02:04:20,600 --> 02:04:21,520 So that's one of those... 1539 02:04:21,520 --> 02:04:29,800 Again, from that game theory perspective, if they were concerned that throwing that POV might disclose their knowledge to the other team... 1540 02:04:29,800 --> 02:04:36,040 Now, it might be that they've realized that they've been throwing this one for several rounds now and so the risk of disclosure is pretty minimal. 1541 02:04:36,080 --> 02:04:45,980 So Mayhem coming back online this time around, they actually... their bot did submit requests to throw POVs and it's not until the next round cycle that that actually occurs. 1542 02:04:45,980 --> 02:04:48,700 So in the next round, we should see them throw. 1543 02:04:48,700 --> 02:04:49,140 And here we go. 1544 02:04:49,140 --> 02:04:50,320 Here is round 95 data. 1545 02:04:50,320 --> 02:04:58,240 So in round 95, we've got Mayhem still in the lead and the bottom line at this point is they've managed to actually throw a new POV again. 1546 02:04:58,240 --> 02:05:00,900 They're back online and everything is operating normally. 1547 02:05:00,900 --> 02:05:03,000 We're really coming down the home stretch here. 1548 02:05:03,160 --> 02:05:08,120 The leads are probably at the point where they're insurmountable in the next round or two. 1549 02:05:08,440 --> 02:05:09,620 Because there's only one round to make. 1550 02:05:09,620 --> 02:05:11,860 Actually, this is the last round. 1551 02:05:11,860 --> 02:05:12,780 This is the last round. 1552 02:05:12,780 --> 02:05:13,740 96 rounds. 1553 02:05:13,740 --> 02:05:16,940 As we all know in computer science, things start at zero. 1554 02:05:16,980 --> 02:05:17,840 That's right. 1555 02:05:18,400 --> 02:05:19,180 Oh, man. 1556 02:05:19,180 --> 02:05:19,900 Here we have... 1557 02:05:19,900 --> 02:05:21,180 These are the unofficial scores. 1558 02:05:21,180 --> 02:05:22,860 These are the unofficial scores. 1559 02:05:22,860 --> 02:05:32,700 It's very important to keep in mind that until we've had a chance to do all of the integrity checking and all of the data analysis, we won't be announcing any final scores until tomorrow. 1560 02:05:32,740 --> 02:05:35,120 But this is our preliminary result set. 1561 02:05:35,120 --> 02:05:40,220 It looks like it's possible that it's Mayhem, Zandra, and MechaFish in that order. 1562 02:05:55,950 --> 02:06:00,890 Celebrations are taking place in the pit, but the real celebration has to wait till tomorrow morning. 1563 02:06:00,890 --> 02:06:01,750 Absolutely. 1564 02:06:01,750 --> 02:06:02,150 Yeah. 1565 02:06:02,150 --> 02:06:10,490 So I've got a number of like favorite things that have totally happened here that I was expecting or wasn't expecting to actually see happen and was hoping to see happen. 1566 02:06:10,490 --> 02:06:12,030 So it's sort of that dichotomy. 1567 02:06:12,190 --> 02:06:24,630 Watching some of these teams carry this very, very symbolic execution approach and successfully, specifically, successfully break crack at her, I was watching for, I was hoping for. 1568 02:06:24,630 --> 02:06:26,590 Getting to see that's been very rewarding for me. 1569 02:06:26,590 --> 02:06:33,210 And I know that I will certainly, if they're providing the data, I will be taking that home and doing that as homework myself even. 1570 02:06:33,210 --> 02:06:33,710 Wonderful. 1571 02:06:33,710 --> 02:06:40,530 Because one other outcome of this is not just how the bots perform today, but how they're going to inspire research starting tomorrow. 1572 02:06:40,530 --> 02:06:41,390 That's absolutely correct. 1573 02:06:41,390 --> 02:06:45,870 And so from some of the teams we've seen, they have a willingness already to disclose their techniques. 1574 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. 1575 02:06:49,130 --> 02:06:50,690 I expect some will and some won't. 1576 02:06:50,690 --> 02:06:57,670 But either way, the challenges and some of the data from today's event will be being posted as it goes online. 1577 02:06:57,670 --> 02:07:06,470 You'll be able to download and kind of look along yourself and even try to carry out some of these challenges yourself manually from a reverse engineering and a vulnerability research perspective. 1578 02:07:06,610 --> 02:07:10,470 All right, so let's go to the pit where AJ has the team leaders. 1579 02:07:10,470 --> 02:07:12,590 I have all the captains here and the game is over. 1580 02:07:12,590 --> 02:07:15,250 I can actually hear from their perspectives. 1581 02:07:15,290 --> 02:07:17,450 So it's done, finally. 1582 02:07:17,570 --> 02:07:19,270 So vacation, what are you doing next? 1583 02:07:19,270 --> 02:07:20,610 Yeah, I'm going to sleep. 1584 02:07:20,610 --> 02:07:21,310 You think so? 1585 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? 1586 02:07:27,730 --> 02:07:32,090 Uh, you know, we were doing really well. 1587 02:07:32,090 --> 02:07:35,110 And I found myself thinking, I'm afraid of heights. 1588 02:07:35,110 --> 02:07:37,970 It's a long way to fall from where we were. 1589 02:07:37,970 --> 02:07:39,950 But I'm over the moon. 1590 02:07:40,250 --> 02:07:43,310 Where do you need to go in terms of research from this point? 1591 02:07:44,350 --> 02:07:50,630 Well, we have a lot of ongoing research and I think like a lot of the teams in terms of cybersecurity. 1592 02:07:50,630 --> 02:07:56,570 So there's plenty still to do in terms of handling other domains, bigger programs. 1593 02:07:57,770 --> 02:07:59,830 Both for all aspects of it. 1594 02:07:59,890 --> 02:08:00,750 Congratulations. 1595 02:08:00,750 --> 02:08:02,110 Seriously, good work. 1596 02:08:02,450 --> 02:08:04,010 So it's done. 1597 02:08:04,010 --> 02:08:05,270 Again, same question to you. 1598 02:08:05,270 --> 02:08:06,250 Are you going on vacation? 1599 02:08:06,250 --> 02:08:07,350 What are you doing now? 1600 02:08:07,870 --> 02:08:11,190 Um, we are going to improve our system further. 1601 02:08:11,190 --> 02:08:16,070 We, I think we kind of figured the reason our system doesn't work well. 1602 02:08:16,270 --> 02:08:22,530 And meanwhile, we always try to new solutions to make the system even better. 1603 02:08:22,530 --> 02:08:30,650 Like this machine learning, which we are trying to, but not in this system yet. 1604 02:08:30,650 --> 02:08:36,830 But yeah, we will do some research work and make the system better. 1605 02:08:36,830 --> 02:08:37,750 Very good work. 1606 02:08:37,750 --> 02:08:38,470 Congratulations. 1607 02:08:38,470 --> 02:08:39,290 Thank you. 1608 02:08:39,790 --> 02:08:40,770 It's done. 1609 02:08:40,770 --> 02:08:41,110 It's done. 1610 02:08:41,110 --> 02:08:42,070 Oh my God. 1611 02:08:42,070 --> 02:08:42,570 Sort of. 1612 02:08:42,570 --> 02:08:43,810 Tomorrow you get to play CTF. 1613 02:08:43,810 --> 02:08:44,410 Exactly. 1614 02:08:44,710 --> 02:08:48,110 Are you bringing your CRS tomorrow to play? 1615 02:08:48,130 --> 02:08:49,010 Absolutely. 1616 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? 1617 02:08:54,630 --> 02:08:56,090 I think it'll be really interesting. 1618 02:08:56,090 --> 02:09:05,270 I think because the CRS will take on the role of patching most likely and the sort of initial analysis. 1619 02:09:05,270 --> 02:09:10,810 So if the CRS can provide us with crashes and then we can take it from there or maybe vice versa, right? 1620 02:09:10,810 --> 02:09:19,090 That I think is the real interesting future in this sort of automatic cyber security world we live in. 1621 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. 1622 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? 1623 02:09:25,770 --> 02:09:26,550 Oh yeah. 1624 02:09:26,890 --> 02:09:38,870 We are, depending on how like with the rules it is, we might harden the system a little bit overnight because there are definitely ways that our system could be screwed with by a human. 1625 02:09:39,210 --> 02:09:40,730 So we'll have to see how it goes. 1626 02:09:40,730 --> 02:09:47,550 I know I've heard personally a few of the teams have been doing a little research on the side trying to find out what kind of things they can do to thwart the other players. 1627 02:09:47,550 --> 02:09:56,110 I don't know if you saw during the kind of private time before the public event, one of the visualizations crashed. 1628 02:09:56,110 --> 02:09:56,830 I did. 1629 02:09:57,290 --> 02:09:58,770 That was your QEMU bug, right? 1630 02:09:58,770 --> 02:10:00,010 That was our QEMU bug, yeah. 1631 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. 1632 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. 1633 02:10:09,670 --> 02:10:10,890 That's impressive. 1634 02:10:11,610 --> 02:10:12,250 It was pretty good. 1635 02:10:12,250 --> 02:10:15,010 There was like a floating point halting one, wasn't it? 1636 02:10:15,010 --> 02:10:15,530 Exactly. 1637 02:10:15,530 --> 02:10:16,270 Oh man, you guys. 1638 02:10:16,270 --> 02:10:17,350 Look forward to seeing you tomorrow. 1639 02:10:17,810 --> 02:10:18,910 See you tomorrow. 1640 02:10:19,130 --> 02:10:20,670 Hi, how are you doing? 1641 02:10:20,670 --> 02:10:21,310 I'm doing fine. 1642 02:10:21,310 --> 02:10:21,670 It's done. 1643 02:10:21,670 --> 02:10:22,310 How do you feel? 1644 02:10:22,310 --> 02:10:23,030 Tired. 1645 02:10:23,070 --> 02:10:24,890 I don't doubt it. 1646 02:10:24,890 --> 02:10:27,550 So going in, you had certain expectations. 1647 02:10:27,550 --> 02:10:29,150 How do you feel about your performance? 1648 02:10:29,270 --> 02:10:30,490 I think we did okay. 1649 02:10:30,490 --> 02:10:33,310 I was pleased that we stayed up the whole time. 1650 02:10:33,430 --> 02:10:45,130 You know, with a small team and we wrote everything from scratch, there was a whole lot we left on the drawing board or partially implemented that we didn't get going that we really want to look at and see what we can do with the system. 1651 02:10:45,130 --> 02:10:47,950 What kind of things would you like to see going forward? 1652 02:10:48,190 --> 02:10:50,910 How would you have changed CTC as well? 1653 02:10:50,910 --> 02:10:54,150 Is there any aspect of security you would have liked to have seen in it? 1654 02:10:54,150 --> 02:10:56,110 I think it was fabulous the way it was run. 1655 02:10:56,110 --> 02:10:59,990 I think the whole DARPA team did a great job of putting this together. 1656 02:11:05,570 --> 02:11:15,870 This is one level of problem we're seeing out there in the wild, but this whole higher level of abstraction where we're seeing problems, the SQL injection attacks and those things that we did not address here. 1657 02:11:16,590 --> 02:11:18,550 There's still a whole lot of work to be done. 1658 02:11:18,550 --> 02:11:23,970 Do you plan on adding that type of analysis and reasoning into future tools? 1659 02:11:24,530 --> 02:11:25,270 Eventually. 1660 02:11:25,270 --> 02:11:26,730 There's more we have to do first with this. 1661 02:11:26,730 --> 02:11:27,410 Oh, I understand. 1662 02:11:27,410 --> 02:11:27,790 Yes. 1663 02:11:27,790 --> 02:11:29,570 Thank you and congratulations. 1664 02:11:29,570 --> 02:11:29,970 Good work. 1665 02:11:32,010 --> 02:11:33,250 Good work, guys. 1666 02:11:33,550 --> 02:11:34,330 You're done. 1667 02:11:34,330 --> 02:11:34,890 Finally, huh? 1668 02:11:34,890 --> 02:11:35,650 How are you feeling? 1669 02:11:35,650 --> 02:11:36,970 It's time to sleep now. 1670 02:11:37,170 --> 02:11:38,230 Not drink? 1671 02:11:38,470 --> 02:11:39,350 Yeah, probably. 1672 02:11:40,190 --> 02:11:44,870 So, how do you feel about the results of the competition and everything? 1673 02:11:44,990 --> 02:11:45,310 Right. 1674 02:11:45,310 --> 02:11:47,410 So, I think our patching strategy was good. 1675 02:11:47,410 --> 02:11:49,390 So, we stopped a lot of bugs that other teams didn't. 1676 02:11:49,390 --> 02:11:52,870 But I think our failure was we replaced too many too fast. 1677 02:11:53,050 --> 02:11:55,630 So, our availability suffers when you replace a binary and get a zero. 1678 02:11:55,630 --> 02:11:59,210 But I think, overall, our performance is what I expected. 1679 02:11:59,210 --> 02:12:04,810 What did your CRS do that would, in terms of patching, do you think that was better than the other teams? 1680 02:12:05,530 --> 02:12:09,270 I think we tested our passage a lot before we would send them out to make sure they worked. 1681 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. 1682 02:12:14,470 --> 02:12:16,830 So, maybe that helped us out. 1683 02:12:16,830 --> 02:12:19,230 Did your CRS implement any IDS rules? 1684 02:12:19,230 --> 02:12:20,470 Or did they take advantage of that? 1685 02:12:20,470 --> 02:12:27,470 No, we didn't do the IDS rules because you saw what happened to Deep Red over there when they said the FAQ entry where one IDS rule could ruin your whole system. 1686 02:12:27,470 --> 02:12:29,410 So, we decided to go against that. 1687 02:12:29,410 --> 02:12:29,610 All right. 1688 02:12:29,610 --> 02:12:29,970 Nice. 1689 02:12:29,970 --> 02:12:30,410 Thank you. 1690 02:12:30,410 --> 02:12:31,030 Good work. 1691 02:12:31,030 --> 02:12:31,790 Congratulations. 1692 02:12:33,350 --> 02:12:34,090 Nice. 1693 02:12:34,090 --> 02:12:34,790 Tim. 1694 02:12:35,970 --> 02:12:37,650 So, you get to relax now. 1695 02:12:38,090 --> 02:12:41,650 How do you feel about your performance, everybody else's performance? 1696 02:12:42,430 --> 02:12:43,730 I think it was fantastic. 1697 02:12:43,730 --> 02:12:52,490 I mean, if you look at all of the machines that are up here, and, you know, the collective technology, I think it was fantastic. 1698 02:12:52,490 --> 02:12:54,890 I think the whole competition was excellent. 1699 02:12:55,090 --> 02:13:01,390 I think that what we saw here represents a real change, you know, something new taking place. 1700 02:13:01,570 --> 02:13:02,550 That's exciting. 1701 02:13:02,550 --> 02:13:03,250 It really is. 1702 02:13:03,250 --> 02:13:09,990 What do you think about, actually, like the production value and just the amount of effort that was put into trying to make this spectator-friendly? 1703 02:13:10,210 --> 02:13:12,310 I felt like a rock star. 1704 02:13:12,730 --> 02:13:14,410 So, this is actually something that's... 1705 02:13:18,290 --> 02:13:23,570 This making computer security and hacking spectator-friendly is something that all of us have had a challenge. 1706 02:13:23,570 --> 02:13:29,370 Do you see this as being something that's good going forward to help get public awareness of this arena? 1707 02:13:30,130 --> 02:13:30,750 Sure. 1708 02:13:30,750 --> 02:13:35,210 I mean, it's so vital, right, to have secure software. 1709 02:13:35,230 --> 02:13:45,430 I mean, the more that people care about that, and the more that these kinds of competitions can push the technology to provide that, I think it's good. 1710 02:13:45,430 --> 02:13:51,270 So, how did CGC help you guys push the envelope in research and capabilities? 1711 02:13:51,910 --> 02:13:59,810 Well, it did a great job of scoping the problem, and that allowed us to focus on the core research problems. 1712 02:13:59,870 --> 02:14:03,830 We have some amazing ideas to take going forward. 1713 02:14:03,830 --> 02:14:06,630 Things that aren't in the current system. 1714 02:14:06,630 --> 02:14:09,890 Version 2 is going to be amazing. 1715 02:14:09,890 --> 02:14:13,890 Is there anything you did that might have held you back because you're a little cautious? 1716 02:14:14,710 --> 02:14:16,430 No, I don't think that we were cautious at all. 1717 02:14:16,430 --> 02:14:33,770 I think what you perhaps saw, and we'll have to try to figure out exactly what happened, but around the round 25 or 27, you know, we suffered a big loss of availability, and that may be due to some of the aggressive patching that we were trying to do. 1718 02:14:33,770 --> 02:14:37,690 They also mentioned that it could have been the result of some IDS rules. 1719 02:14:38,310 --> 02:14:39,690 Sure, I don't know. 1720 02:14:39,690 --> 02:14:41,590 Of course, not until later when we actually have all the data. 1721 02:14:41,590 --> 02:14:41,910 Right. 1722 02:14:41,930 --> 02:14:42,610 Thank you, Tim. 1723 02:14:42,610 --> 02:14:43,090 I appreciate it. 1724 02:14:43,090 --> 02:14:43,490 Good work. 1725 02:14:43,490 --> 02:14:43,690 Sure. 1726 02:14:43,690 --> 02:14:44,230 Excellent. 1727 02:14:44,930 --> 02:14:45,530 Alex! 1728 02:14:52,890 --> 02:14:54,570 Man, what a show. 1729 02:14:54,590 --> 02:15:04,910 And after everything that happened, you guys, I remember seeing whenever we found out that the CRS went down and that you weren't submitting any more POVs, just the sweat. 1730 02:15:04,990 --> 02:15:06,870 Oh my god, that was terrible news. 1731 02:15:06,870 --> 02:15:14,290 We all wanted to go cry and upstairs and leave, and I just can't believe we were able to still handle and gain points. 1732 02:15:14,410 --> 02:15:16,530 Well, what helped really was the availability. 1733 02:15:16,530 --> 02:15:17,250 Exactly. 1734 02:15:17,250 --> 02:15:19,450 So yeah, when you don't patch, you get full availability. 1735 02:15:19,450 --> 02:15:20,370 This is great. 1736 02:15:20,950 --> 02:15:24,230 So we've always been very careful about not patching too much. 1737 02:15:24,230 --> 02:15:26,610 I think we've overdone it this time. 1738 02:15:26,610 --> 02:15:27,790 A little bit. 1739 02:15:27,950 --> 02:15:29,090 But it worked out. 1740 02:15:29,090 --> 02:15:29,670 Nice. 1741 02:15:29,670 --> 02:15:32,050 So where do you see your technology going forward? 1742 02:15:32,050 --> 02:15:35,610 What are you going to use this money to do in terms of funding and research? 1743 02:15:35,610 --> 02:15:44,350 So FileSecured is self-funded, so this is going to help a lot with going the operation on. 1744 02:15:44,350 --> 02:15:52,250 So we have a lot of cool projects, both from what we developed from TGC and then some other CTF ideas that we want to develop. 1745 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? 1746 02:15:56,490 --> 02:15:58,730 Well, it depends if we have another TGC, I think. 1747 02:15:58,730 --> 02:15:59,310 Okay. 1748 02:15:59,310 --> 02:16:02,590 So how would you actually envision that style of TGC? 1749 02:16:03,050 --> 02:16:08,070 How would you envision that style of competition or program? 1750 02:16:08,070 --> 02:16:15,050 So I think TGC did a great job to give the right incentive to the team to develop the best tool they can. 1751 02:16:15,410 --> 02:16:17,070 This clearly has been very successful. 1752 02:16:17,070 --> 02:16:19,750 We've had, like, great, great CRSs tonight. 1753 02:16:20,210 --> 02:16:23,290 And we just hope that a new competition would just, like... 1754 02:16:23,290 --> 02:16:29,330 A lot of what we did on TGC was getting the base, you know, the base framework of, like, we need to do this, we need to do this. 1755 02:16:29,670 --> 02:16:32,110 Some of it was not research, it was just engineering. 1756 02:16:32,110 --> 02:16:39,410 So now that teams have this system, they could actually focus on the research aspect, on improving the set of the ad, which we have done, too. 1757 02:16:39,410 --> 02:16:42,270 We could even do it in one more on the next TGC. 1758 02:16:42,590 --> 02:16:43,350 Nice. 1759 02:16:43,370 --> 02:16:47,110 So you get to bring your CRS, I assume, tomorrow to play CTF. 1760 02:16:47,110 --> 02:16:47,930 Or at least they do. 1761 02:16:47,930 --> 02:16:51,410 How do you think it's going to be, a human playing CTF? 1762 02:16:52,090 --> 02:16:54,210 This is going to be interesting, I think. 1763 02:16:54,310 --> 02:16:58,910 DEF CON has a history of having a lot of hard challenges. 1764 02:16:59,530 --> 02:17:02,450 Oh, you've had to make hard challenges hard because you guys have gotten better. 1765 02:17:02,450 --> 02:17:02,850 Exactly. 1766 02:17:02,850 --> 02:17:03,690 It's really hard. 1767 02:17:03,690 --> 02:17:05,910 We've had to raise the bar significantly for you guys. 1768 02:17:05,910 --> 02:17:11,630 So DEF CON will have probably between 5 and 10 challenges, I expect. 1769 02:17:11,630 --> 02:17:13,210 We had 82 tonight. 1770 02:17:13,330 --> 02:17:19,610 So the speed that the machine gives might not be as powerful because there's a few challenges to look at. 1771 02:17:19,610 --> 02:17:21,370 But we hope we'll be competitive. 1772 02:17:21,750 --> 02:17:25,590 And we're probably going to spend the night getting the CRS ready for tomorrow. 1773 02:17:25,590 --> 02:17:26,430 Congratulations. 1774 02:17:26,770 --> 02:17:29,010 And I imagine you're going to have a nice night celebrating. 1775 02:17:29,170 --> 02:17:29,550 Good work. 1776 02:17:29,550 --> 02:17:30,290 Thank you. 1777 02:17:30,850 --> 02:17:31,570 Nice. 1778 02:17:37,120 --> 02:17:38,220 About what? 1779 02:17:38,740 --> 02:17:44,160 Oh, I'm still on. 1780 02:17:45,380 --> 02:17:46,640 How's it going, guys? 1781 02:17:46,660 --> 02:17:47,340 Great. 1782 02:17:47,340 --> 02:17:48,500 So, third place. 1783 02:17:48,500 --> 02:17:49,260 I'm super stoked. 1784 02:17:49,260 --> 02:17:51,500 I love seeing CTF teams do incredibly well on these things. 1785 02:17:51,500 --> 02:17:53,940 It's just near and dear to my heart, like open source. 1786 02:17:54,780 --> 02:17:56,080 How do you feel about your victory? 1787 02:17:56,080 --> 02:17:57,200 Was this expected? 1788 02:17:57,200 --> 02:17:59,900 How blown is your mind right now? 1789 02:18:00,400 --> 02:18:01,140 All right. 1790 02:18:01,520 --> 02:18:07,760 So in the beginning, we saw Shellfish start out and our patching strategies repatched. 1791 02:18:07,980 --> 02:18:12,360 And so we watched this go, boom, that first round, right? 1792 02:18:12,360 --> 02:18:13,100 Seventh place. 1793 02:18:13,100 --> 02:18:14,380 And I was like, ah! 1794 02:18:14,600 --> 02:18:16,960 But then, you know, slowly climbed up. 1795 02:18:16,960 --> 02:18:18,020 And it was incredible. 1796 02:18:18,020 --> 02:18:18,780 Good work. 1797 02:18:18,900 --> 02:18:19,780 Incredible. 1798 02:18:19,900 --> 02:18:20,620 Nice. 1799 02:18:21,280 --> 02:18:22,840 Yeah, that's all I've got for you guys. 1800 02:18:22,840 --> 02:18:23,240 I think we've... 1801 02:18:24,760 --> 02:18:26,060 Actually, same question for that. 1802 02:18:26,060 --> 02:18:29,480 What do you see with program analysis in 1, 5, and 10 years? 1803 02:18:29,800 --> 02:18:33,320 I think it's very similar to self-driving cars as well, right? 1804 02:18:33,980 --> 02:18:36,440 You know, we had the self-driving car challenges. 1805 02:18:37,160 --> 02:18:42,960 And at the time, people were saying, you know, do you really think you'll ever be sitting around in a computer and it'll drive you around? 1806 02:18:42,960 --> 02:18:44,660 And now, we're almost there. 1807 02:18:44,820 --> 02:18:46,560 And it's similar with this. 1808 02:18:46,560 --> 02:18:53,000 There are challenges in automated program analysis that don't exist in self-driving cars. 1809 02:18:53,000 --> 02:18:54,980 You heard about them on stage. 1810 02:18:54,980 --> 02:18:56,760 You obviously know all of them. 1811 02:18:58,440 --> 02:19:03,160 So, it might not happen in the same way, but it'll definitely happen. 1812 02:19:03,160 --> 02:19:07,260 So, we'll probably, you know, regularly now see machines in DEF CON. 1813 02:19:07,260 --> 02:19:07,640 Nice. 1814 02:19:07,640 --> 02:19:07,900 Thanks. 1815 02:19:07,900 --> 02:19:08,560 Good work, guys. 1816 02:19:08,600 --> 02:19:09,760 Really good work. 1817 02:19:13,180 --> 02:19:14,740 Man, second place. 1818 02:19:14,880 --> 02:19:15,560 Fantastic. 1819 02:19:15,560 --> 02:19:17,160 Like, it's absolutely amazing work. 1820 02:19:17,160 --> 02:19:18,420 So, how do you feel? 1821 02:19:18,420 --> 02:19:19,960 Like, I imagine you're pretty excited. 1822 02:19:19,960 --> 02:19:21,600 What are you doing for celebration tonight? 1823 02:19:21,920 --> 02:19:23,480 Yeah, I don't know. 1824 02:19:23,480 --> 02:19:24,460 We're definitely going out. 1825 02:19:24,460 --> 02:19:25,580 I bet. 1826 02:19:26,180 --> 02:19:27,640 Have a little bit of Las Vegas. 1827 02:19:27,960 --> 02:19:29,500 So, what do you think? 1828 02:19:29,500 --> 02:19:33,180 Actually , I know you're not playing CTF tomorrow, but what do you think about the human-computer interaction? 1829 02:19:33,900 --> 02:19:36,960 I think it's going to continue to be interesting. 1830 02:19:37,060 --> 02:19:39,820 I think computers are going to have to continue to help a lot. 1831 02:19:41,980 --> 02:19:44,620 But there's still a lot of room for human creativity. 1832 02:19:45,300 --> 02:19:49,840 So, we saw on CGC, it's kind of like a microcosm of the security world. 1833 02:19:49,840 --> 02:19:56,460 How does your CRS, or how hard would it be to adapt your CRS to more modern and real-world applications? 1834 02:19:56,460 --> 02:19:58,060 Like a browser, for instance. 1835 02:19:58,140 --> 02:20:01,760 A browser is a heavy lift. 1836 02:20:04,720 --> 02:20:19,520 Among the things that make a browser much more complicated are runtime code generation, a lot wider set of system calls that you have to think about and model, threads with a lot more shared memory instead of just pipes for communication. 1837 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. 1838 02:20:24,160 --> 02:20:35,000 That said, often you can isolate components and apply the technology just to the components instead of the whole browser, and often that can still be very, very useful in terms of increasing the security. 1839 02:20:35,000 --> 02:20:39,920 So, I think that that'll maybe be kind of the way you'll see it start to get introduced into things like browsers. 1840 02:20:39,980 --> 02:20:40,340 Excellent. 1841 02:20:40,340 --> 02:20:40,940 Thank you. 1842 02:20:40,940 --> 02:20:42,980 And have a good night, and congratulations. 1843 02:20:42,980 --> 02:20:44,140 Enjoy your victory. 1844 02:20:44,680 --> 02:20:45,800 Oh, there they are. 1845 02:20:47,520 --> 02:20:49,500 I'll talk to David. 1846 02:20:51,960 --> 02:20:53,000 Oh, man. 1847 02:20:53,000 --> 02:20:54,040 Alex, Alex. 1848 02:20:58,060 --> 02:20:58,920 Amazing work. 1849 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. 1850 02:21:02,600 --> 02:21:03,980 So, what do you think about your victory? 1851 02:21:04,840 --> 02:21:08,040 I mean, there's no words to describe it at this point. 1852 02:21:08,040 --> 02:21:14,540 We went through this huge downward spiral around round 30, and then it just like slowly came up. 1853 02:21:14,540 --> 02:21:15,720 It was amazing. 1854 02:21:16,540 --> 02:21:22,000 I mean, it's all a testament to the hard work these guys put in that we were able to get a lead and keep it. 1855 02:21:22,000 --> 02:21:25,560 What's your next step in terms of research and innovation? 1856 02:21:25,740 --> 02:21:28,040 Well, we look at this as really the first step. 1857 02:21:28,040 --> 02:21:30,880 The next step is to start checking all the non-CG software. 1858 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. 1859 02:21:34,820 --> 02:21:41,220 And we really want to make it a more democratic, where everyone can know the security of the software that they run. 1860 02:21:41,220 --> 02:21:41,840 Nice. 1861 02:21:41,840 --> 02:21:47,580 So, do you have any publications coming out that might be based on your current research? 1862 02:21:47,580 --> 02:21:48,580 That'd be interesting to read. 1863 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. 1864 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. 1865 02:21:57,440 --> 02:21:57,880 Thank you. 1866 02:21:57,880 --> 02:21:58,380 I appreciate it. 1867 02:21:58,380 --> 02:21:59,440 And have a good night, guys. 1868 02:21:59,440 --> 02:22:00,900 You have really great work. 1869 02:22:04,120 --> 02:22:05,420 I'll send it back to you, Kakeem. 1870 02:22:05,420 --> 02:22:05,860 Thanks. 1871 02:22:05,860 --> 02:22:06,400 Hey, Shane. 1872 02:22:06,400 --> 02:22:08,040 You did a great job down there with the teams. 1873 02:22:08,040 --> 02:22:08,600 But you know what? 1874 02:22:08,600 --> 02:22:12,540 I'm interested to hear your takeaways and your final thoughts and impressions. 1875 02:22:12,740 --> 02:22:13,200 You know what? 1876 02:22:13,200 --> 02:22:23,220 I have to say that my biggest takeaway was I felt so bad for Mayhem being in first place and then crashing, but still coming out on top. 1877 02:22:23,220 --> 02:22:33,740 Just the look on their face when they saw the scores for round 94 and 96 and 98 was pretty amazing and a great feeling. 1878 02:22:33,740 --> 02:22:35,700 So that was probably my favorite. 1879 02:22:35,700 --> 02:22:36,740 Wonderful. 1880 02:22:36,740 --> 02:22:40,680 None of us got to see those rounds, but that was great. 1881 02:22:40,680 --> 02:22:42,400 And Vizzy, sir, what are your final thoughts? 1882 02:22:42,740 --> 02:22:44,440 Both of you did a wonderful job tonight. 1883 02:22:44,440 --> 02:22:44,760 Thanks, man. 1884 02:22:44,760 --> 02:22:47,520 And thank you so much to our co-hosts, Ayse and Vizzy. 1885 02:22:47,880 --> 02:22:48,300 Thanks, man. 1886 02:22:48,300 --> 02:22:49,080 You were excellent. 1887 02:22:50,220 --> 02:23:02,640 I think one of the things that I'm going to take away is watching all of these teams get inspired about these problems that are also some of the things that I've specifically worked on historically and that kind of thing is really going to spur, even in me, 1888 02:23:02,640 --> 02:23:06,340 I think, a new set of research ideas, a new bunch of things that I want to do. 1889 02:23:06,340 --> 02:23:16,920 I also really, really love seeing a couple of the teams keep that thought alive from older CTFs where there's that dirty tricks department and you're really, really playing the game. 1890 02:23:16,920 --> 02:23:24,140 Like that pure technical execution is beautiful and it's gorgeous, but really these challenges are a part of a holistic thing. 1891 02:23:24,140 --> 02:23:33,880 And I think things like that anti-analysis technique being deployed to use resources in impossible code paths, those kinds of things are the dirty tricks department stuff that I totally love. 1892 02:23:33,900 --> 02:23:34,960 Sounds great. 1893 02:23:34,960 --> 02:23:39,000 So for me, this has been an entirely new world. 1894 02:23:39,000 --> 02:23:44,980 There was one person in this entire community that I already knew about and that was Chris Eagle. 1895 02:23:44,980 --> 02:23:48,660 I had heard of this guy who was a member of our development team. 1896 02:23:48,660 --> 02:24:04,300 But so far I've been representing DARPA in this endeavor, but I have to take my DARPA hat off and speak as a citizen, as an ordinary citizen of America and as a scientist, because we all have to appreciate those who invest in our research. 1897 02:24:04,300 --> 02:24:13,380 And the unique role that DARPA plays is that they can actually invest in things that we don't even know if they're going to work, if they're going to pay off. 1898 02:24:13,380 --> 02:24:19,620 So whenever I submit my astrophysics proposals, one thing that it's based on is technical feasibility. 1899 02:24:19,620 --> 02:24:22,020 It's evaluated on, will this work? 1900 02:24:22,020 --> 02:24:26,440 And so I just want to thank DARPA for this investment, for including everyone. 1901 02:24:26,960 --> 02:24:27,700 Absolutely. 1902 02:24:27,700 --> 02:24:29,480 For investing in these teams. 1903 02:24:30,200 --> 02:24:37,880 There aren't a lot of organizations that are willing to really take risks to create those moonshots and really develop something totally new. 1904 02:24:37,880 --> 02:24:43,700 Across such a broad spectrum, from students to individuals, to university researchers, to corporations. 1905 02:24:43,700 --> 02:24:45,880 So this has been a wonderful experience. 1906 02:24:45,880 --> 02:24:51,640 We've shared the world's first Cyber Grand Challenge, the first all machine hacking tournament. 1907 02:24:51,640 --> 02:24:55,020 I'm so happy to have been a part of this history in the making. 1908 02:24:56,620 --> 02:24:58,200 And one last word. 1909 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. 1910 02:25:03,140 --> 02:25:04,380 And that's Mike Walker. 1911 02:25:06,060 --> 02:25:09,380 And so, can he take us out? 1912 02:25:13,640 --> 02:25:15,100 Thanks, everybody. 1913 02:25:17,580 --> 02:25:20,740 I am blown away by what just happened. 1914 02:25:20,740 --> 02:25:23,640 We just had an all computer hacking tournament. 1915 02:25:23,700 --> 02:25:27,260 We computed 96 rounds in a little over eight hours. 1916 02:25:27,260 --> 02:25:31,180 And everything worked. 1917 02:25:39,120 --> 02:25:50,260 Now, when we say our results are not yet verified, it means that we're going to take all the data that came out of this AirGap robot that is now in the public domain, that you can download and look at tonight, and run it again on a completely different cloud. 1918 02:25:50,260 --> 02:25:52,260 And make sure we just get the same answer. 1919 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. 1920 02:25:58,180 --> 02:26:01,560 We're going to have our prize ceremony prior to DEF CON, 10 a.m. 1921 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. 1922 02:26:04,960 --> 02:26:10,860 And thank you very much for staying with us as we called this tournament. 1923 02:26:10,940 --> 02:26:18,200 And my personal thanks to H.J., Hakeem, Vizi for being the voices of this tournament. 1924 02:26:19,100 --> 02:26:21,120 Thank you guys very much. 1925 02:26:27,830 --> 02:26:32,130 Right now, I have to thank all the teams that were part of this thing. 1926 02:26:32,130 --> 02:26:37,830 We have the teams that built a liquid-cooled data center behind an AirGap in three days in this room. 1927 02:26:37,850 --> 02:26:42,250 Thank you guys so much for your planning, your execution, your excellence. 1928 02:26:47,010 --> 02:27:00,370 We have the reverse engineers and the visualizers and all the teams that worked so hard over the course of this day to show the world inside the logic and memory of computers engaged in network battle, using new visualization tools and data mining. 1929 02:27:00,370 --> 02:27:07,950 Thank you so much for showing us inside something that has always existed in the minds of reverse engineers. 1930 02:27:07,990 --> 02:27:09,150 Thank you guys. 1931 02:27:16,080 --> 02:27:29,800 And finally, the teams that built the operating systems, software, integrity mechanisms, supervisors, automation for the biggest computer security competition in history, and our referees who were responsible for most of that. 1932 02:27:29,800 --> 02:27:31,280 Thank you guys so much. 1933 02:27:44,360 --> 02:27:53,700 I need to say a thank you to DEF CON, to Dark Tangent for finding common ground, and to the DEF CON conference for letting us impose so much on their planning. 1934 02:27:53,760 --> 02:27:55,000 Thank you guys. 1935 02:28:03,410 --> 02:28:10,290 I have a thank you for the hacker community, for building the tradition of Capture the Flag and being part of the execution of this event. 1936 02:28:10,290 --> 02:28:16,070 So many of you are either on competition teams, acting as referees, acting as voices. 1937 02:28:16,070 --> 02:28:21,290 Throughout this effort, we relied on the hacker community to help build it and put it together. 1938 02:28:21,290 --> 02:28:22,170 Thank you. 1939 02:28:29,350 --> 02:28:38,630 And finally, a thank you to the people and institution of DARPA, who put the full weight of the agency's resources to bear on revolutionary technology development. 1940 02:28:38,950 --> 02:28:39,830 Thanks. 1941 02:28:48,540 --> 02:28:59,100 Today, we saw machines patch many of the vulnerabilities that were activated in their software within minutes, without damaging software or availability. 1942 02:28:59,780 --> 02:29:10,620 Of the six rematch vulnerabilities, classic vulnerabilities from the history of computer security, machines found patches for them, for five of them, within the time frame of the competition. 1943 02:29:10,860 --> 02:29:14,600 Now, these are not as hard as the original software. 1944 02:29:14,600 --> 02:29:18,880 They're simplified versions, but they are still enormously difficult challenges. 1945 02:29:19,080 --> 02:29:25,940 And personally, the fact that one of these machines found the crack adder bug, which is something I've been studying for years, is amazing. 1946 02:29:27,220 --> 02:29:41,700 And we had these machines up here author 421 replacement binaries, new synthetic pieces of software, and create 650 unique proofs of vulnerability over the course of the event. 1947 02:29:41,700 --> 02:29:49,480 That is an amazing result for adversarial automation, and I am so pleased to have gotten to witness it with you. 1948 02:29:49,480 --> 02:30:01,160 So, if you're staying for DEF CON, please spend some time, as you listen to the speakers and meet with friends this weekend, thinking about how the transformative power of automation can change our field. 1949 02:30:01,260 --> 02:30:09,100 Our results are public, they're in the public domain for you to reverse engineer, hack, analyze, build on, and imagine. 1950 02:30:10,260 --> 02:30:22,640 Our competitors were challenged by the biggest hacking contest in the world, DEF CON Capture the Flag, to enter one of their automated systems into a competition with over two decades of history, played by teams of the best hackers on planet Earth. 1951 02:30:22,720 --> 02:30:29,600 And I am informed that our finalists have accepted, and that's going to kick off around noon tomorrow, if you're staying to watch. 1952 02:30:29,600 --> 02:30:37,460 And that challenge is going to be thrown down from the world's biggest hacking competition to our winner, tomorrow, on this stage. 1953 02:30:37,520 --> 02:30:39,400 So, I hope you'll join us. 1954 02:30:46,910 --> 02:30:49,330 One of these machines is going to play tomorrow. 1955 02:30:49,490 --> 02:30:52,930 For tonight, I have a request for this room that I'd like to close with. 1956 02:30:52,930 --> 02:30:58,810 First, I'd like to invite all of our finalist teams, the folks who built these systems, please come join me up on this stage. 1957 02:31:00,110 --> 02:31:01,270 It's going to... 1958 02:31:01,270 --> 02:31:02,370 and just... 1959 02:31:04,810 --> 02:31:16,450 get in as close as you can, and as they assemble, final reminder, we're going to finish verifying scoring overnight, we'll award prizes and trophies tomorrow at 10am, right in this room before DEF CON opens. 1960 02:31:16,610 --> 02:31:17,650 Come on up here. 1961 02:31:20,950 --> 02:31:21,830 Hey guys. 1962 02:31:48,670 --> 02:31:50,450 There's plenty of room. 1963 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. 1964 02:31:59,560 --> 02:32:00,600 All right. 1965 02:32:01,100 --> 02:32:10,480 When we announced this contest in 2013, we challenged the world to build systems that can engage in all the hard skills of computer security. 1966 02:32:10,480 --> 02:32:30,160 Black box, reverse engineering with absolutely no knowledge of the software, protocol analysis, network defense, signature creation and management, vulnerability identification and remediation, all automatically, all live, all results open sourced, and all in front of the eyes of the world. 1967 02:32:30,320 --> 02:32:33,140 So how many even believe such a thing possible? 1968 02:32:33,680 --> 02:32:40,040 And of the few willing to believe, please consider for a moment the Rubicon that must be crossed between belief and action. 1969 02:32:40,040 --> 02:32:48,580 We asked these teams to drop their work and spend two years working to build an entirely new technology that would succeed or fail in one day. 1970 02:32:49,060 --> 02:32:54,420 Imagine spending two years of your life waking up every day to face the uncertainty of such a moment. 1971 02:32:54,940 --> 02:33:01,060 Imagine the engineering and the research, the time and the pressure. 1972 02:33:02,420 --> 02:33:04,320 Consider the odds against. 1973 02:33:05,440 --> 02:33:10,840 Challenges work not because of the many who cannot imagine, but because of the few willing to make the attempt. 1974 02:33:11,860 --> 02:33:13,660 Thank you all for your courage. 1975 02:33:14,940 --> 02:33:22,720 I'd like to close, but this room, the loudest round of applause we can summon for those who dared.