start	end	text
0	6700	Ladies and gentlemen, welcome DARPA's Cyber Grand Challenge Program Manager, Mike Walker.
6700	11880	My name is Mike Walker. I'm the Program Manager of DARPA's Cyber Grand Challenge Program.
12060	21280	January 13, 2013, I came to work at DARPA with the mission of exploring revolutionary autonomy
21280	26300	in the cyber domain. And the idea, very simply, was to bring a computer to play in the biggest
26300	32280	hacking contest on planet Earth. DEF CON captured the flag. A contest pioneered and perfected at
32280	37520	DEF CON for over two decades. It's going to be played right here tomorrow. In 2013,
37520	43400	no computer existed that could have done such a thing. And today, these seven exist.
52070	56790	We will now broadcast the world's first all-machine hacking tournament to the world.
56790	61830	First prize is two million dollars. These machines behind me were built atop decades
61830	66730	of program analysis science, engineered over two one-year stages of competition,
66730	74070	and built by pioneers. Program analysis scientists, hackers, and engineers joining us today on your
74070	91110	front left. So tonight, these machines will play capture the flag against each other. Tomorrow,
91110	94470	we hope the lessons learned will change the field of computer security.
94750	99190	Our announcers will call today's capture the flag round by round. Thank you.
110450	120850	Live from the Paris Hotel in Las Vegas, Nevada, it's the DARPA Cyber Grand Challenge final event.
122570	129730	And now, please welcome your cybercasters, Hakeem, Vizzy, and H.J.
139280	144580	All right. Welcome, everyone, to the first ever fully automated cybersecurity
145140	151760	automated competition, the Cyber Grand Challenge. I'm your host, Hakeem Oluseyi,
151760	157600	and if you know anything about me, then you know that I love doing serious science,
157600	163960	I love sharing the information with everyone, and I love having a fun, great time while doing it.
163960	169060	And I could not complete that mission without my co-hosts. So today, with me,
169060	173120	I have two hacking experts to help guide us through the competition.
173840	180510	Please welcome a former team leader of DEF CON's capture the flag, Invisigoth, known as Vizzy.
186960	192060	And standing next to him is a founding member of the legitimate business syndicate,
192060	198720	and he is, to beards, what Vizzy is to ponytails. Hawaii John, or H.J.
200780	206560	And by the way, H.J. is the legitimate business syndicate, is the organizer for this year's
206560	214020	capture the flag competition. So how do you guys feel being here, organizing this event?
214020	217360	Pretty good, man. I was definitely a bit skeptical when Mike Walker told me that
217360	222400	an astrophysicist would be our co-host, though. I don't know, man, what do you think about it?
222600	226060	I don't know, he kind of brings a certain gravity to the situation, but I'm still kind of skeptical.
226380	234640	Oh my god, that was groan-worthy. Thank you, audience. All right. Well, these guys have
234640	240040	business to do, so gentlemen, take your places at the desk and in the team lounge, and I'll join
240040	247940	you later. So now my job is to deliver some information to you. So what is the Cyber Grand
247940	253020	Challenge? It is the world's first all-machine hacking tournament, developed under the Defense
253020	259360	Advanced Research Projects Agency, also known as DARPA. So what we'll see here today is much more
259360	264020	than the world's first all-machine hacking tournament. As Mike mentioned, the lessons
264020	269500	learned could lead to a world where computer viruses, malware, and attacks are discovered
269500	276940	in a matter of weeks, days, or even seconds. Right now, it takes security specialists an average of
276940	283680	312 days to discover software vulnerabilities. It can take weeks, months, or sometimes years
283680	289360	for these vulnerabilities to be fully fixed across all exposed systems. Now, that leaves
289360	294960	plenty of time for malware makers, ransomware developers, and other bad actors to exploit the
294960	300440	vulnerabilities and do damage. The Cyber Grand Challenge was designed to improve the current
300440	306140	state of cybersecurity by testing the concept of automation for the discovery and repair of
306140	312220	software flaws, a technology that does not currently exist. DARPA started the Cyber Grand
312220	318860	Challenge in 2014 and opened up competition to all competitors. More than 100 teams took up the
318860	325420	challenge. Through a process of qualifying rounds, we now have seven finalists who will compete here
325420	331620	today using automated systems designed to hunt for vulnerabilities, patch them, distribute those
331620	337180	patches, and search for weaknesses on competitors' systems. For some of you, that process should
337180	343200	sound familiar. The CGC is based on Capture the Flag, the hacker game played here at DEF CON
343200	348400	and throughout the world by scientists and cybersecurity specialists. You'll hear more
348400	354380	about Capture the Flag later from my co-hosts. But unlike other Capture the Flag events,
354380	360600	people won't be playing the game live. Instead, the systems built by the finalists over the last
360600	366500	two years will do the work in a battle of the bots. Now it's time to join the Cyber Grand Challenge
366500	374140	and see where the world's first all-machine hacking tournament takes us. We have seven teams
374140	379160	competing with each other in the Cyber Grand Challenge final event this year, and we'll meet
379160	385160	each one of them in just a minute. But first, I want to tell you what's at stake for today's teams.
385160	389840	As Mike mentioned, the winning team will take home the top prize of $2 million.
390580	397520	The second-place team will receive $1 million, while the third-place team will get $750,000.
397520	402720	But we know what they're all really playing for, and that's bragging rights. Now let's meet the
402720	408020	teams and the systems that they've built. These teams reflect different types of communities,
408020	413060	from academic researchers in the field, to security tech giants, to veterans of the Capture
413060	418280	the Flag circuit. Each team brings specific strengths to the event. Each has experience
418280	423880	in designing an innovative bot that achieves the difficult task of automatically finding and fixing
423880	430000	vulnerabilities found in software code. There's no clear best strategy going in, so the teams can
430000	436940	explore multiple approaches, any one of which could result in important improvements in
436940	443180	cybersecurity technology. Now my co-host Vizzy has the honors of introducing the teams.
443740	448500	So it looks like as Hakim is making his way over here and we get the teams ready to go,
448500	453340	we've got each of the teams has their own systems, their own colors, and hacking out of the sky blue
453340	458340	corner is a CRS that leads a powerful fleet of selective symbolic execution engines,
458340	463920	binary instrumentation tools, and fuzzers on a historic quest to find cybersecurity for mankind.
464140	469080	Galactica. Galactica, built by CodeJitsu, a team of researchers from the University of California
469080	487020	at Berkeley, Syracuse University, and Cyberhaven in Luzon, Switzerland. And hacking out of the
487020	492000	yellow corner and consisting of mostly custom software, utilizing static analysis, fuzzing,
492000	497540	and automatically generated structured test cases, that's Jima, developed by the two-person team of
497540	513700	CSDS. Hacking out of the red corner and employing aggressive gameplay and anti-analysis tactics,
513700	518840	featuring a proprietary hypervisor-based vulnerability prover, PySysemu. Symbolic
518840	524760	emulation, the GRR fuzzer, and custom static analysis is Rubius. Rubius is built by DeepRed,
524900	538940	a team of specialized engineers from Raytheon. Hacking out of the green corner, it's containerized,
538940	544420	replicated, and ready to scale, and definitely able to solve CADET. It's Crispy. Crispy is built
544420	556080	by the team Dissect. Hakeem, why don't you take it away and introduce the next few teams.
556080	561080	Thank you, Vizzy. Hacking out of the orange corner, coming from a vulnerability discovery
561080	567360	background, where it analyzed over 30,000 Linux programs and found over 10,000 bugs and
567360	572960	vulnerabilities. Now, with added defense and patching capability for the Cyber Grand Challenge,
572960	580140	Mayhem. Mayhem was built by the team for AllSecure, originating from Carnegie Mellon University.
583200	588920	Hacking out of the purple corner, fueled by the Angry Binary Analysis Engine, entangled in
588920	594800	mind-boggling hacks, and held together by tears, duct tape, and bubble gum, and ready to make
594800	606300	binaries dance, the Mechanical Fish. Mechanical Fish, built by the team Shellfish, a ragtag
606300	612060	group of student hackers from UC Santa Barbara, who fed exclusively on sushi for a month,
612060	619280	and never had a moment of cold freeze. And hacking out of the teal corner, and built by
619440	625580	a team of cyber specialists, it's a high-performance, scalable system that harnesses 2,400 cores to
625580	632920	power 210 high-performance fuzzing pods, capable of 1.8 million fuzzing ops per second, feeding
633140	638480	a dedicated bank of binary analyzers, patch generators, and binary rewriters to repair and
638480	647320	challenge binaries, Zandra. Zandra was built by TechX, a team from Grandma Tech Incorporated
647320	655580	at the University of Virginia. There is so much amazing technology on stage that it is
655580	665950	the infrastructure of CGC. We made this video to walk you through it. There's an enormous amount
665950	671470	of computational power ready to be unleashed here at CGC. Beneath the stage are huge amounts
671470	677470	of electricity and water needed to power and cool the supercomputers on the stage. 300 kilowatts
677470	683970	of power, that's enough to power one and a half city blocks. 180 tons of water flow through these
683970	688670	pipes at a rate of 200 gallons per minute to keep the computers on the racks liquid-cooled at all
688670	695330	times. The entire stage is air-gapped to protect the data and the systems. The air-gap also
695330	701110	validates that there's no other outside influence and no human interaction. Everything that happens
701110	706070	inside the air-gap is autonomous. Data flows through the air-gap through an air-gap robot
706070	712890	that literally reads Blu-rays of burn data from inside the game. The air-gap robot physically
712890	717570	moves the Blu-ray across and outside the air-gap, then drops it into a reader that goes into our
717570	723730	scorers and visualization. At the center back of the stage is a system of computers that's a digital
723730	728730	referee. It issues the challenge sets, communicates to the bots, and handles the scoring and systems.
729290	734650	The only humans in the game are inside the air-gap. These are our human refs.
736630	742230	That was the design. Now we come to another important of this Cyber Grand Challenge final.
742230	747070	While the game is being played autonomously by the bots, there are actually humans inside the
747070	752530	air-gap, and that's our team of referees. So that raises the question, if the game is being played
752530	757910	by machines, why do we need referees? Basically the refs are there only to make sure that the
757910	761390	systems are doing what they're supposed to, that the hardware is functioning correctly. They
761390	766290	have absolutely no hand in the game, no influence in the game. It's running completely autonomously.
766290	769950	So basically they're there as sort of a safety net for hardware failures or any kind of circumstances
769950	776710	like that. Cool. So now let's meet the dedicated team of referees. Would you please welcome
776710	782730	Tim Vitus. Tim wants everyone to know that absolutely no IPv6 addresses were harmed in
782730	791290	the creation of today's event. Chris Eagle. Chris Eagle is the only person I know who writes
791290	798430	x86 machine code faster than he writes Python. Brian Caswell. For Cas, it's a labor of love.
798430	806490	He's written more DEF CON CTF challenges than anyone on the planet. Jason Wright. Jason's a
806490	811110	former OpenBSD developer and member of the winning CTF team at DEF CON 8, Acme Pharmaceuticals,
811110	816750	known as the Scourge of the Northwest. Mike Thompson. Uniquely qualified to ensure the game
816750	821910	integrity via his experience developing the only class A1 trusted computing system.
824520	830880	Holt Zorenson. Holt is a two-time winner, four-time organizer of DEF CON CTF, member of
830880	835760	School of Root, DD Tech, the Shmoo Group, making him nearly ancient in internet time.
836900	841920	Patrick Finnegan. Patrick's built seven world-ranked supercomputers, including the 28th
841920	847280	fastest on the planet, making him uniquely positioned to ensure the performance of the game.
848080	853380	Josh Bird. Josh is a fixer who's cool as a cucumber and thrives under pressure,
853560	862740	a total jack of all CTF trades. Thank you, referees. So, Vizzy, we've already mentioned
862740	867340	Capture the Flag, but can you tell us how this game is going to be played? Sure, absolutely. So,
867340	871520	this game is modeled after human CTFs that have been played in years previous. So,
871520	875880	in those games, it's a race to discover vulnerabilities in totally custom software
875880	880480	that's been deployed just for those challenges, just for those gaming environments. And over the
880480	884880	version that's going to be played by the computer systems here, we're calling those bots. So,
884880	889240	they're basically playing this similar game completely autonomously. Each team's bot
889860	895280	controls a host that they have to defend. So, they run an identical copy of each of the pieces
895280	899000	of challenge software that we roll out, and they're responsible for being able to introspect
899000	904700	that, discover vulnerabilities, and basically be able to both patch, defend, and prove
904700	910140	vulnerabilities in other teams or in other bots' code. So, the current game is played, the CTF at
910140	913540	DEF CON is played by the best hackers in the world. This is being played by the first hacking
913540	918900	machines in the world. Wow. So, these machines, these bots, are supercomputers. Absolutely. The
918900	923100	bots are totally fully automated, and they're all simultaneously given all of the challenges.
923260	927500	So, basically, they are acting completely autonomously through the entire scope of the
927500	930880	game, which is really, really unique. That's really unique, and it's new. Is that right?
930880	935380	Absolutely. All right. And these challenge sets are the software problems that the bots have to
935380	941320	solve? Yeah. So, bots, not humans, are tackling the challenge sets, which are basically in similar,
941320	944920	similarly to other CTFs. They're modeled after real-world services. So, these are pieces of
944920	949760	software that speak protocols like your mail server would or like a web server would,
949760	953740	and they're basically modified services specifically for CGC. We're going to be rolling
953740	959500	out a hundred challenge sets, releasing every five minutes. So, basically, as these challenge
959500	963580	sets roll out, the bots are going to have an opportunity to try to discover vulnerabilities
963580	969740	in them and patch their own services. So, there's a few select ones, six challenges,
969740	973960	that we've called rematch challenges. Basically, these are challenges that are historically
973960	980060	significant because they're modeled after challenges that were scourges of the internet
980060	985400	or previously very famous vulnerabilities from years prior. And so, we named them rematch
985400	989960	challenges because we have the opportunity to fight this battle again. So, we're talking like
989960	995320	pictures of Kim Kardashian here. More like we're talking about things like the slammer worm
995320	998760	that took out the entire internet for a week back in the day and things like that. All right. So,
998760	1002300	we're talking about some seriously breaking... Absolutely. Yeah. So, we're super excited to see
1002300	1005840	what the bots do with this because this is sort of the area where we get the opportunity to see
1005840	1010740	what this technology would have done if it had existed back then. Right. Okay. And do we need
1010740	1015900	to worry about what these bots do in the wild? And let's start with the computer's operating system.
1015940	1019660	So, the computer's operating system that's being run for the challenge binaries is an extremely
1019660	1024140	secure platform. Basically, DARPA developed a custom operating system called DECREE,
1024140	1028260	which stands for the DARPA Experimental Cybersecurity Research and Evaluation Environment,
1028260	1032220	which is a mouthful. But basically, what it means is that a customized operating system
1032220	1036820	that's highly instrumented and is slightly reduced in scope from the normal complexity
1036820	1041320	has been developed such that the binaries that are running inside of these challenge binaries
1041320	1044220	that are running inside of the game and the protocols that are being spoken by those things
1044220	1048200	have no shared code with anything on the internet and don't speak anything that could actually
1048200	1052780	communicate correctly with anything on the internet. Oh. So, basically, it's an open source
1052780	1057500	extent operating system extension that then we use to monitor what's going on inside and is
1057500	1060840	extremely instrumented so that we get a massive amount of data about what's going on inside the
1060840	1065740	programs that are running. Okay, so it's secure, and even better, they don't have human voices
1065740	1070680	because intelligent machines with human voices tend to take over the universe, right? Right.
1070680	1076060	So, how do these bots interface with the challenge sets? Sure, absolutely. So, the bots have to learn
1076060	1081960	via program analysis. They have to actually either generate inputs fairly randomly or guided with
1081960	1088020	fuzzing or do something like symbolic analysis to determine the actual data structures necessary to
1088020	1092000	these protocols. So, not only are they trying to find the bug, but they have to be able to produce
1092000	1096560	the inputs that would reach that bug. So, basically, over the course of reverse engineering
1096560	1100960	these things in an automated fashion, right, they actually have to learn to speak the language or
1100960	1107420	protocol of the individual challenges. Each one is different. So, we wouldn't want to, as these
1107420	1111860	services are rolled out, they have to speak to them similarly to how real production services
1111860	1116220	would be in the wild. So, the protocol is a language, and the services basically have to
1116220	1120540	continue to speak that language correctly, and they also have to do it quickly enough. So, just
1120540	1124900	like services on the internet, right, you could patch things to a point where
1124900	1129100	they don't perform correctly, right, and it would disrupt your mission-critical Facebooking.
1129580	1135940	Okay. So, Vizzy, what does it take to win the Cyber Grand Challenge? Sure. There are basically,
1135940	1139580	like we talked about, three primary tasks that you need to carry out to win, right?
1139580	1143420	In the discovery of a vulnerability, you're going to need to actually defend against
1143420	1148220	that vulnerability, ideally rolling out patches, which might actually be highly targeted or might
1148220	1153040	be sort of general binary hardening techniques. You're also going to need to maintain the
1153040	1156820	availability of your services. So, like we said, they have to perform and they have to function
1156820	1161640	correctly. And then the third thing that they're doing is basically proving that those
1161640	1165660	vulnerabilities are present in the other team's software. So, they have to generate inputs that
1165660	1170300	will exercise parts of that vulnerability to prove that they have found it. So, let's take a look at
1170300	1175200	the scoring components a little bit more closely. Specifically, security is basically the bot's
1175200	1180320	ability to defend its own service from other people proving that it's vulnerable. They patch
1180320	1185220	binaries to prevent that. They also can deploy IDS rules. So, the bots are capable of using that
1185220	1191300	protocol data that they've learned to formulate rules about what content is correct and deny
1191300	1196560	content, deny connections that are trying to input data that they think would be harmful.
1196560	1201980	So, in addition, patching incurs downtime. Just like in the real world when you want to
1201980	1206460	roll a maintenance update out into production systems, you basically end up incurring a cost.
1206460	1210500	And so, in this game, that cost has been modeled as a downtime when you roll out either a patched
1210500	1217160	binary or a new IDS rule. So, your security score is basically one or two points per challenge set
1217160	1222220	per round. One, basically, if you've actually had a vulnerability proven against you. And two,
1222220	1226880	if you've managed to maintain your security. So, your max score per challenge set per round is
1226880	1232500	actually two times 100. So, basically, 200 points per challenge per round in security.
1233220	1241480	So, moving on. Evaluation is the proving of vulnerabilities against other bots. So,
1241480	1246620	there's a concept that we call a POV. And a POV is a proof of vulnerability, which basically
1247440	1252020	shows that you can give input to that system that will demonstrate sufficient control over
1252020	1256680	the system, but not having to actually carry out an exploit. So, this is a really new metric,
1256680	1261040	actually. This is something that's been invented for CGC. But I actually kind of hope to see
1261040	1266420	pervade the community. Because traditionally, to show whether or not something is vulnerable,
1266520	1270160	a person, a researcher, has had to actually implement an entire exploit to prove that,
1270160	1276060	right? So, in our POVs, we effectively create a situation where showing sufficient control over,
1276060	1280700	for example, program execution flow or being able to read arbitrary memory from the program,
1280700	1285060	if those two situations exist, there's a good chance that it's exploitable, right? It's not
1285060	1290500	going to be true in every case, but it creates a metric. So, in creating these POVs and throwing
1290500	1295040	them, they can score between 1 and 2 points, again, per CS per round, which gets multiplied
1295040	1299280	by 100, being 200 per... But that's a good distinction. Because typically, the average
1299280	1303120	user is thinking about malware. They're thinking about something that has already taken advantage
1303120	1306540	of a vulnerability. Absolutely. And what they're doing here is that they're just proving the
1306540	1309880	vulnerability. Right. They're identifying them. Exactly. Showing that they exist. Yep. And so,
1309880	1314140	we hope that this could become a metric, basically, for future contests and for the evaluation of
1314140	1319180	software in general. Wonderful. So, third on the list of components in the overall scoring is
1319180	1323440	availability. The patches have to function normally. We all know that you could disable
1323440	1330380	all functionality and software would be perfectly secure, right? But the digital refs are polling,
1330380	1334080	the digital refs being our scoring system, are polling these services to make sure that they're
1334080	1338060	still functioning correctly and that they're performant. So, the teams have a very slim
1338060	1342060	margin by which they can disrupt the performance of these applications before they'll start losing
1342060	1347400	availability points. The availability score is between zero and one point per round. And
1347400	1352160	availability ends up being a percentage multiplier. So, anyone who's familiar with some of the human
1352160	1356980	CTFs of years prior, availability is a really important element because it ends up being a
1356980	1361000	multiplier that could cause you to get no credit for all your other work if your services aren't
1361000	1363600	available. This is something that's really important in the real world, right? Because
1364000	1368640	a particular bank, for example, finds that their ATMs have a vulnerability. In order to fix it,
1368640	1371600	they have to take all their ATMs online. Potentially, yep. At least for a time window,
1371600	1376620	yep. Absolutely. Exactly. So, being available is important. So, how is the total score calculated?
1376620	1380860	Yep. So, successively over the rounds, those scores for all of those individual challenge sets
1380860	1385920	are totaled and that's basically a team's score. All right. So, at the end of the day,
1385920	1390600	these bots are autonomously making decisions regarding the best strategy to pursue,
1390600	1394500	factored in trade-offs among security evaluation and availability. So, they're
1394500	1398720	making these decisions all on their own. If that's true, that's a game changer.
1398720	1403240	Absolutely. Autonomous reasoning about vulnerabilities and being able to actually
1403240	1407460	take action on those things that have been reasoned would be a major, major breakthrough.
1407460	1413560	And so, CGC is here basically as a catalyst to try and spur industry and to try and spur on and
1413560	1420700	inspire people to carry this research further. Cool. Thanks for that explanation, Vizzy. And
1420700	1426560	tonight, we're going to have unofficial results. Verification of the various bot scores will run
1426560	1431240	overnight to determine the official winner, which will be announced tomorrow morning at the opening
1431240	1437480	of the DEF CON conference. Everything you might want to know about the Cyber Grand Challenge and
1437480	1443200	its challenge sets is used today or is available online. You can download the Cyber Grand Challenge
1443200	1452700	sets and the results from today's final event at this URL. The URL is www.cybergrandchallenge.com.
1453300	1460240	So, these machines started playing this morning and they're playing right now. So, what happened
1460240	1464900	in the very first rounds? So, let's go down to the lounge where H.J. is standing by with all the
1464900	1472420	participants. H.J., how's it going? It's going fantastic. Rubius, we all saw that for a single
1473060	1480220	challenge binary, your CRS developed four different POVs. It sent three to three different teams and
1480220	1488220	one POV to the other three teams. What strategy is this that you employed? So, when we detect that a
1488220	1493620	crash occurs, we'll take that input that developed to that crash and we will try to figure out what
1493620	1498440	amount of control that we have over it. So, all depending on the type of control that we have,
1498440	1503180	we'll generate a variety of different potential POVs for them. And then each one we evaluate to
1503180	1507840	see the quality of the POV. So, all depending on what service the competitor has fielded at that
1507840	1512640	point, we'll evaluate it to determine what's the best of the POVs candidates that we have selected
1512640	1518020	that is appropriate for that particular service. So, all depending on what the competition,
1518020	1523500	the field, looks like, we'll rank the most appropriate one to field, to send out for them.
1523500	1530380	That's incredibly interesting. Nice. So, we also have with us the team captain from Mayhem to
1530380	1536200	talk about the scores from round three. At this point, after round three, Mayhem is in the lead.
1536240	1540960	So, is this something you expected or what do you think? I was certainly hoping that he would
1540960	1547100	be in the lead. We have a system that's able to find POV very quickly and make sure the pipeline
1547100	1554360	for finding a cache to generating a POV is as fast as it can be. Excellent. Thank you. I
1554360	1558360	appreciate it. So, it sounds like things are heating up down here. Back to you, Hakeem.
1559620	1565780	Showing us some of the results from round three, HJ. Vizzy, why did HJ address round three and not
1565780	1570500	round one? That's a great question, Hakeem. So, basically, the first few rounds in the game end
1570500	1575720	up representing a microcosm of what happens every time a challenge set is released. In round zero,
1575720	1579920	the challenge set goes out, and the bots have the first opportunity to take a look at it but
1579920	1584500	haven't really had a chance to react to it yet. So, then, in round one is basically the first
1584500	1589940	time that the bots can throw a POV. So, they haven't even had the opportunity to patch yet,
1589940	1593400	but if they have managed to reason about a vulnerability in that piece of software,
1593400	1598780	they can exercise it in round one and successively in the second round after the release of each
1598780	1603420	challenge set. So, in round two is the first instance where the bots can patch, which they
1603420	1608080	may choose or choose not to. But the CS will be down and unavailable for that round, which means
1608080	1613020	that they also can't score, they can't prove against other systems. So, then, once round three
1613020	1617800	comes around is the first time that we should see patched challenge sets come back up and become
1617800	1623040	available again. So, once the CS is available, they can score points for that round. That sounds
1623040	1627320	excellent. That sounds like the crowd liked it, too. So, I'm seeing some awesome visualizations
1627320	1632020	right there next to you, Vizzy. So, what's going on there? Yeah, so, this is one of the custom
1632020	1637160	visualizations that was developed for CGC called the arena view. And this is a super, super data
1637160	1641260	dense view where we can basically see nearly everything that's going on inside of the
1641860	1646980	scoring round. This super busy view that you can see here in front of us actually contains the real
1646980	1651980	data, data-driven visualization for every one of the service poles, every one of the POVs being
1651980	1658980	thrown, potentially every one of the POVs landing, right? So, basically, in this viewpoint, we're
1658980	1663040	going to end up breaking out a bunch of this for you guys to show you each of the elements of this
1663800	1668980	particular viewpoint. Okay. So, tell me what kind of challenges these bots are facing. Sure. So, to
1668980	1672540	really understand the challenges that are being faced by the bots and specifically in the program
1672540	1678940	analysis perspective, we kind of have to go back in time. In 1936, Alan Turing demonstrated a
1678940	1684080	concept called the halting proof, which basically states that in a generalized self-contained
1684080	1688320	computer system, it's impossible to actually determine whether or not it's ever going to halt.
1688980	1694120	Sounds fairly simple. But basically, what that means to algorithms is that the state space is
1694120	1699460	potentially infinite. Bots attempt to automate knowledge. And so, they have to codify approximations
1699460	1705220	to these solutions that are ultimately potentially infinite and potentially impossible. Wow. So, it's
1705220	1711020	really difficult to visualize infinity. So, I imagine that's why we have these awesome new
1711020	1717420	visualizations. In my field of astrophysics and data science, right, visualization of data is a
1717420	1723460	field within itself. So, what do we have here? So, this is the actual full arena view that Void
1723460	1728260	Alpha has developed. We can see this massive number of, like, this massive amount of iconography.
1728260	1732820	We can see this, all the service poles in effect. So, basically, in the arena view, it illustrates
1732820	1738960	everything that's happening inside of a given round. Okay. So, if we move on, we can get a
1738960	1743300	viewpoint that shows just one scorecard from one team. And as you'll see, the bots actually have
1743300	1747560	colors and iconography for each of them. And those colors will remain consistent throughout the
1747560	1752500	entirety of the visualizations. So, anytime you see that color, it will be associated with that bot.
1752640	1757060	So, here we can see one scorecard broken out. Every one of these little hex tiles that you can
1757060	1761420	see here, these little hexagons, represents one of those challenge sets, one of those binaries.
1761480	1765940	So, basically, the gist of it is we can see the state of each of those things through the little
1765940	1771280	hexes that are on each bot's scorecard. For example, here we can see that this one is down that cycle
1771280	1777540	for patching, or that this one has been successfully proven a vulnerability against by the yellow team.
1777680	1782300	So, if we break down these individual hexes a little further, we can see, actually, the three
1782300	1786940	components from the scoring system that we talked about before. Security, availability, and evaluation
1786940	1791960	are each represented for each of those hex tiles, right? So, this very, very data-dense view starts
1791960	1796760	to occur, where if they've maintained security for that challenge set per round, we'll see this sort
1796760	1801400	of flag border thing occur. And if it's been successfully proven as vulnerable by
1801400	1806840	one of the other bots, we'll see that white border go away. Similarly, availability,
1806840	1811280	if the tile has this healthy sort of sphere in the center, that means that it's running and
1811280	1816660	available and online. And basically, as that either ceases to perform correctly or ceases
1816660	1821860	to function correctly, we'll see that shrink down sort of toward this smaller black hex. And then
1821860	1827120	one more is basically this evaluation. So, this sort of little pie slice basically represents
1827120	1832420	what we're going to see as a team successfully proves vulnerabilities against all the other
1832420	1837840	teams. They'll take that little section of the pie that's the color from that team's bot.
1837840	1843980	So, we're seeing a lot happen in this visualization that we have here. So, how am I supposed to
1843980	1849800	understand all this? I'm not a coder like you, man. So, how do I see what's happening inside the code?
1850440	1856400	So, we have one more set of iconography to go through for the arena view. But the gist of it is
1856400	1861540	you'll see these little service pole guys, as well as the proof of vulnerabilities being attempted,
1861540	1866080	flying in from the scoring system that's at the center. So, as those are going in, basically the
1866080	1871060	service poles will stay green if they're actually successfully functioning. And if you see them
1871060	1875380	turn red right as they're reaching those individual challenge sets, we'll see them, we'll be basically
1875380	1880400	registering that that service is down. Okay. So, we can also see POVs being thrown, but we'll talk a
1880400	1885720	little bit more about that later. All right. So, we get to see from this view who's owning who. Or as
1885720	1890080	you nerds like to say, who's pawning who or something like that, right? Yeah. Yeah. The rematches
1890080	1894920	are special gold hexes that we'll see. So, these tiles are basically representative of those
1894920	1900560	challenge sets that represent those historically relevant vulnerabilities that have been
1900560	1904880	being discussed so far. So, the patching, we have a way of visualizing when it
1904880	1910080	happens and we have a way of looking at when it works well. So, what does a bad patch look like?
1910200	1914340	Absolutely. So, one of the things that we've developed for this particular, entirely just for
1914340	1919860	CGC, is a view that we like to call the trace view or the filament view. And the filament view
1919860	1925460	basically allows us to abstract upward and take a look at a larger scope of what's going on inside
1925460	1931180	of the executable at the time. So, the gist of the trace view is that the
1931180	1936200	individual sections of code flow are actually projected over a Hilbert curve, which maintains
1936200	1940920	spatial relevance. So, we see code flow actually progress through the areas of memory and if
1940920	1946360	something is a section of code that's far away or is close by, it'll end up being close by or far
1946360	1952160	away. So, as execution continues through time, we can see basically some of these icons occur and
1952160	1956540	some of these structures develop that'll actually show us things like state machines and state
1956540	1961580	machine parsers and we'll also see things like loops occurring. So, little sections like this
1961580	1966820	where we'll see tight little sections of code that look very repetitive are actually oftentimes
1966820	1972660	processing loops or I.O. loops. Additionally, along the trace as it executes, we get to see
1972660	1977980	the individual icons that represent the syscalls that we've spoken about being present in the
1977980	1983500	decree platform. So, the six or so syscalls that are available in the decree platform will each
1983500	1989200	be indicated along the trace view or along the filament view as it executes. So, if we wanted to
1989200	1994120	take a look at some of those syscalls that are available, basically we have a
1994120	1998320	transmit and receive from the network side of things. There's also a randomness or entropy and
1998320	2002840	then we'll also see things like program termination when we've got the program terminating correctly
2002840	2008360	here. All right, well thank you, Vizi. So, now that everyone here at home, now everyone here in the
2008360	2013480	and everyone who's watching on the internet have had some insight into how the CGC works,
2013480	2017460	let's take a look at a conversation that happened today between H.J. and team members
2017460	2024640	right after the competition started. If anything goes wrong during our testing, right, we could
2024640	2029680	go and fix it and whatnot, but everything might fall apart here. Let's hope not. What type of
2029680	2034140	fuzzing stuff did you use? Is it informed fuzzing? Is it generic dump fuzzing? It's pretty much a
2034140	2040440	black box. We'd be happy to be this historical moment. I think this is, you know, a bright point
2040440	2044000	in the new future that we should have. We should have fully autonomous systems that
2044000	2048480	are there to protect our software. The fuzz size was never an issue for us. It's more about the
2048480	2054480	memory. It's the memory. Nervous anticipation? I doubt it. I'm just going to get a good night's
2054480	2059220	sleep one of these days. So, you can see the first few letters are CRS, of course. I see the blue
2059220	2064200	lights blinking. It's doing work. Yesterday morning it's like something didn't work and we
2064200	2070900	were like working really busy to solve the issue. Now it seems to be working, at least. We use a
2070900	2077000	common language, the hacker's first choice, Python. It's really sweet. Yeah, very impressive.
2077000	2082640	I mean, I didn't know you could make like server x look this good. You know, also we have a affinity
2082640	2089520	for bacon. So, we made sure that Crispy could make bacon. It's intimidating. I'm also very
2089520	2094420	thrilled to be in this exciting moment. I feel like we are in the future. I saw the picture
2094420	2098300	yesterday you posted on Twitter. Was it you that was upside down in your chair? Yeah.
2098960	2103960	There's a lot of really exciting game strategy, the game dynamics that we could learn during
2103960	2110480	round time. I hope we don't crash and burn. I just want to play. That was a great video. Now,
2110480	2116200	we've heard how do bots play defense. Vizi, how do they play offense? So, this concept that we've
2116200	2121480	been talking about with the POV, the bots have to actually generate the traffic that's necessary to
2121480	2126540	exercise those bugs. So, as they demonstrate those vulnerabilities, they'll be able to score points
2126540	2130300	and as long as their services are available, they'll be able to throw an attempt to prove
2130420	2135300	a vulnerability. Each POV can be thrown up to 10 times per round. So, for example,
2135300	2139900	Rubius has thrown a successful POV versus one of the challenge sets called Thermal Controller.
2139900	2145640	So, what we're seeing here is definitely the round output for round three. So, as you can see in the
2145640	2150000	very, very busy view, we've got several teams that are down for patching in round three, but we've
2150000	2153880	also got several teams that have successfully thrown a POV. We can see, for example, Zandra
2153880	2159140	right here and several of the others. Anywhere we see these little pie slices coming in,
2159140	2164920	have successfully thrown POVs and evaluated against the other teams. As well as the patches
2164920	2170460	being deployed, for example, here with the little gear icons showing those services being down.
2171400	2175660	All right, so walk us through what a good POV looks like in filament view.
2175880	2181420	Sure, absolutely. So, in this instance, we'll have two filaments and they basically begin with the
2181420	2185960	same trace data. So, the traces will show, ultimately, that the data that's being ingested
2185960	2190430	by them for the binaries is what actually causes the code to go in different directions. We see,
2190430	2195270	actually, two binaries having data being ingested right now, where it's basically the same binary
2195270	2201690	receiving a POV, one POV from one of the teams as well as from another. And in the overlap,
2201690	2210710	we can basically see that the code flow diverges very late on, about here, and we end up being
2210710	2216310	able to see it's actually managed to execute and terminate correctly. This one is successful.
2216310	2220110	So, we see him actually gather the data and transmit it out the network. So, that's what
2220110	2224610	this icon means right here in the trace view. And then we see it execute and terminate correctly.
2225610	2232230	Versus a failed POV, which is basically the other one, which we see just executing correctly and
2232230	2237530	terminating, rather than actually transmitting any flag data back. Understood. So, you can have
2237530	2243650	an attempt to patch that is successful or unsuccessful. You can have a POV that's successful
2243650	2248830	or unsuccessful. So, in the example of the failed POV, actually, it looks like they may have actually
2248830	2253630	been fuzzing rather than trying to use sort of a scalpel-like approach to exercise
2253630	2257790	the vulnerability. And so, they may have been doing that. We have to sort of interpret
2257790	2261650	and guess what the team's strategy is in doing something like that. But it could be that they're
2261650	2267670	trying to give unknown inputs to try and utilize the system to force that other bot
2267670	2273190	to do all that extra analysis work. Understood. So, what does all of this mean for the competition, then?
2273190	2279870	Yeah. So, basically, the competition is going to progress as these challenge sets roll out. And we
2279870	2283830	will be able to break out and show you some of the POVs and some of the code divergence that occurs
2283830	2289390	over the course of the successive rounds. All right. So, let's take a look at the round four scoreboard.
2289410	2296730	Who is ahead? It looks like we have Rubius in first place with 12,000 points. And we can
2296730	2302370	see, actually, it's still a very, very close game. We've got Mayhem and Gima and on down. But, basically,
2302370	2306370	it looks like everybody is at least performing correctly. We can see through the right-hand side,
2306370	2312110	if you look down over here, those same colored areas that we spoke about that basically represent
2312110	2318510	the availability, security, and evaluation of each of those bots is basically showing that
2318510	2322250	all of them are doing quite well. There's a little bit of availability problem, potentially,
2322250	2327250	on Zandra's side, because that's represented by the green line. The red line represents each of
2327250	2331570	those bots' evaluation points and how well they're scoring in that. And the blue line
2331570	2335470	represents security. So, that's one of those things where we'll inevitably see availability
2336050	2343170	become a very important element of the scoring. So, Mayhem, in this next scoreboard seven,
2343170	2349170	we will actually see Mayhem overtake Rubius to take first place. And it looks like, again,
2349170	2353970	it's still a very close game, but it may actually be Mayhem's security approach that's allowing them
2353970	2359410	to take the lead at this point. All right. So, Mayhem and Rubius are battling for the lead,
2359410	2364830	and it looks like Gima's right behind them. Absolutely. So, let's look at the round ten.
2364830	2369410	Let's see what's going on. Let's progress the game. This is round ten. So, we see all these
2369410	2376130	arrows coming in, and we see people taking stuff from others. This is a lot happening, but we know
2376130	2382310	that our leader is... Mayhem. Mayhem. Yeah. Yeah. Well, with a name like Mayhem... They would have
2382310	2388690	to... Yeah, absolutely. You better do well. So, from rounds zero to ten, our bot leader is Mayhem.
2388690	2394230	They pass Rubius. So, HJ, what do their teams have to say about this change of events?
2394230	2400490	Actually, I have with me here the team leaders for Rubius and Mayhem. So, we just saw on round ten
2400490	2405070	that Mayhem overtook Rubius for the lead. What do you think?
2405670	2413710	Well, I think this is a very exciting competition. So, it's a little nerve-wracking, but I'm glad
2413710	2420430	that it's closely contested. And it's only... What was that? Round ten. I think it's round ten
2420430	2425690	out of about 90 or so. So, we're only one ninth out of the way. Do you think you'll be able to
2425690	2433130	keep the lead? Well, I hope we stay competitive. It's a long competition. What do you think about
2433130	2438350	the current switching back and forth between first and second? Did you expect a close call
2438350	2447070	for the lead? Yeah, we expected to have great competition, and we do. We hope that we keep, you know,
2447070	2453930	working well like that. Yeah. Thank you. Thank you both. So, that's what's going on down here, Akim.
2453990	2459970	Back to you. All right, and thank you team members. I'd like to introduce everyone to a special part
2459970	2464310	of this Cyber Grand Challenge that we talked about a little earlier, and these are our Rematch
2464310	2469790	Challenges. We've created challenge binaries inspired by real-world vulnerabilities that have
2469790	2475390	shaped the history of the internet and how cybersecurity has evolved along with the internet.
2475390	2480890	Our team's bots are starting with no knowledge of the custom vulnerability protocols we've devised,
2480890	2486390	and their challenge is to find, patch, and prove them. The team's systems have learned to speak
2486390	2491110	languages they knew nothing about, and the language we have chosen for our special challenge
2491110	2496610	represents unique chapters in cybersecurity. Let's start by taking a look at two of these
2496610	2504430	Rematch Challenges. Our first Rematch Challenge is called Secure Server, and it was inspired by
2504430	2510870	Heartbleed. Absolute memory disclosure bug in OpenSSL, and at the time of the discovery,
2510870	2514890	Heartbleed became promenaded, generating a lot of media coverage and breaking through
2514890	2519910	to mainstream public awareness. OpenSSL, we talked about before, is a software library
2519910	2524610	used for securing communications from eavesdropping. The discovery of Heartbleed called
2524610	2531290	into question the security and privacy of an estimated 66% of encrypted web services. This
2531290	2535490	was a different type of vulnerability because it was very simple and did not depend on the
2535490	2541510	execution of code. We turn to Debbie Nuttall to tell us more about these particular bugs.
2541690	2546550	An extension was written in OpenSSL to allow computers to say, hey, are you still there?
2546550	2553530	So we know the server is still up, the connection is still there. So a client can send a packet
2553530	2560330	to the server. The server just repeats that data back to the client. Yes, I'm still here,
2560330	2565090	here's your data. Well, there's a length field that comes at the beginning of that data. So the
2565090	2569490	client says, I'm going to send you 10 bytes, here's your 10 bytes. They go to the server.
2569490	2574830	The server says, oh, you sent me 10 bytes, here's your 10 bytes. There was a vulnerability,
2574830	2580610	an error in the way that was written. So a client could send a packet that said, hey,
2580610	2585570	give me 400 bytes, but it only had 10 bytes on it. The packet comes in, the server goes, oh,
2585570	2591610	you said you sent me 400 bytes, here's 400 bytes. Here's the 10 you gave me, and then here's 390
2591610	2596430	bytes of secrets. And it sent that packet back. That was Debbie's commentary on the implementation
2596430	2601050	of something that was basically modeled after the Heartbleed vulnerability. And the Heartbleed
2601050	2606830	vulnerability was unique because it was a memory disclosure only bug that still had dramatic
2606830	2612890	ramifications. So in the instances where you're looking for crashes to find bugs, if something's
2612890	2617350	doing memory disclosure, it may actually not crash. And so that can occasionally make those
2617350	2621390	vulnerabilities more difficult to find. But in this instance, it had such a significant impact
2621390	2624890	because that memory disclosure, that additional data that you could request from the system,
2624890	2629290	like she mentioned in the video, was actually disclosing key material and sensitive data
2629290	2632670	that made it so that you could actually take advantage of it without having to gain arbitrary
2632670	2638310	execution on the platform. And this is one that was so recent that we all have... Recent memory
2638310	2641890	of it, yeah. Recent memory of it, we may have been impact. So what are the real world implications
2642450	2647170	of the rematch results? So being able to actually patch this would mean that those systems would be
2647170	2651350	able to get that patch deployed very quickly. And the OpenSSL library specifically is embedded
2651350	2655910	in so many pieces of software. So many embedded platforms, embedded Linux and things like that
2655910	2661130	are running OpenSSL, even inside of IoT, Internet of Things, and all the hype that we hear about.
2661130	2666510	But this one really actually is that pervasive. Our second rematch challenge is called the Address
2666510	2672490	Resolution Service, which was inspired by a software flaw that led to the SQL Slammer worm.
2672490	2678210	SQL Slammer exploited a buffer overflow in Microsoft SQL Server in January 2003,
2678210	2685310	spreading so rapidly that it infected 75,000 machines within 10 minutes. SQL Slammer hit
2685310	2690150	the Internet when the web had already become a part of daily life. And what's really interesting
2690150	2696710	about this one is that the cure, or patch, had been released six months earlier. But so few patches
2696710	2701770	had been installed that most everyone was still vulnerable. Now let's hear what Debbie Nuttall,
2701770	2705950	author of the Rematch Challenges, has to say about Address Resolution Service.
2705950	2714910	In 2003, the SQL Slammer came out. SQL Slammer was a single packet that ground the Internet to
2714970	2720970	a halt in 10 minutes. There were servers that were running Microsoft SQL Server. This one packet
2720970	2729370	could come in and cause the server to send out packets to all the other servers. So we had this
2729370	2736430	flood of packets bouncing around the Internet so fast, it actually overwhelmed routers and
2736430	2742330	critical infrastructure of the Internet. And those systems ground to a halt and shut down. I like the
2742330	2749310	SQL Slammer bug for a couple of reasons. For one, it was just so devastating. So rapidly devastating.
2749310	2756530	One of the reasons why we need this CRS technology coming out of CGC is that once an attack comes out
2756530	2761310	in the real world, we need to be able to respond in computer time. We don't have time for a human
2761310	2767790	to analyze it. We need computers that can do this just as quickly. So 10 minutes. Can the CRSs
2767790	2772010	find and patch this bug in less than 10 minutes?
2772850	2776370	What are some of the stories around these real-world vulnerabilities?
2776910	2781570	Absolutely. So Slammer, I think anybody that was involved in information technology
2781570	2787730	back then remembers. It was so virulent because, like Deb mentioned, it was a single UDP packet
2787730	2793030	basically allowing it to spray and not even really have to form actual connections to the systems as
2793030	2797570	it spread. So basically it was a really bad week for sysadmins or anybody involved in
2797570	2803150	information security. And so as we roll out these special challenge binaries, they come into the
2803150	2807490	game and then they exit the game at a certain point. So if they don't get them, they don't get
2807490	2811290	them. Yep, and that's definitely true. So each of the challenge sets is in the game for only a set
2811290	2816350	amount of time and we will see hopefully some of them manage to POV and squeak it in even at
2816350	2822030	the last couple of rounds. All right. Our next rematch challenge is called File Explorer and
2822030	2828010	is modeled on a flaw commonly known as the link LNK bug. The link bug is a shortcut icon
2828010	2833890	vulnerability that allows an attacker to execute a malicious file by specifying its location. And
2833890	2839790	it can be activated quite easily by users. Microsoft patched that vulnerability in August 2010,
2839790	2845810	but in January 2015, a researcher discovered that even patch systems were still vulnerable
2845810	2851670	to the same attack. So the vulnerability that I chose to recreate for this CGC challenge was
2851670	2856790	that bug that allowed a USB drive to be plugged into a Windows machine and execute code without
2856790	2863030	any human interaction. You plugged it in. Now, as soon as the window opened to show you the contents
2863030	2866910	of the drive, you didn't have to double click on anything. You didn't have to run anything.
2866910	2870150	You didn't have to do anything at all. The vulnerability was triggered and the malicious
2870150	2875190	code was run. As long as Windows access to that drive, the malicious code could run,
2875310	2878690	a backdoor could be installed that could hide any additional files that they wanted to. So
2878690	2882650	the other thing that's really interesting about this bug, Microsoft patched it so that everybody's
2882650	2890910	USB drives were secure. So we thought. In 2015, a security researcher was analyzing this and found
2890910	2897410	out that the original patch from Microsoft was not fully effective. There was a workaround. So
2898040	2904670	the original vulnerability could still be accessed. So with the recreation of the original link bug,
2904670	2910210	the challenge that we've created includes that first patch from Microsoft. So what's interesting
2910210	2915950	about that vulnerability to me is that hundreds, if not more, security researchers looked at this.
2915950	2919910	They looked at this vulnerability. There are papers out there about it. They looked at the patch,
2919910	2924630	they analyzed it, and they still didn't see that it was still vulnerable. So what I want to see
2924630	2930990	when I've recreated this patch version of this bug, I want to see can the computers do better
2930990	2937350	than humans did on that challenge? So this is one of those instances of possibly developer
2937350	2941130	implemented functionality that they thought was a good idea but didn't necessarily think through
2941130	2945470	all the security ramifications. And one of the really interesting elements about this is that
2945470	2951390	it was patched but not actually totally correctly patched. So in addition to these machines having
2951390	2956090	to generate patches, we're also seeing sort of the previous evidence of that process being
2956090	2960870	difficult even for humans. And so one of the fascinating elements about this is that with
2960870	2966270	such attention being paid to that, hundreds of sets of eyes of security researchers and security
2966270	2971730	professionals and developers were on that bug and didn't see it happen. And it took five full years
2971730	2977830	before it was revealed again. So Vizi, how did the teams do versus address resolution service?
2977830	2981850	Maybe you can help me there. So the address resolution service was basically the vulnerability
2981850	2986010	that was modeled after the SQL Slammer like we were talking about. And we definitely saw some of
2986010	2990530	the bots discover this vulnerability and actually begin trying to prove that vulnerability against
2990530	2996930	other teams or other bots very, very early on. So this represents a true success to what we have
2996930	3001410	going on here because in that five-minute window that Deb mentioned that she was hoping for,
3001410	3005990	that actually managed to be proven and patched by several of the teams in the very next round.
3005990	3010490	So that means that in a five-minute window, a totally previously never seen before challenge
3010490	3016210	binary was researched and evaluated and found vulnerable and patched by a completely autonomous
3016210	3021050	system. Okay, so people in your community, do they think this kind of thing is even possible?
3021050	3027670	Yes. All right. It's a big deal. All right. So before this, did people in your community think
3027670	3031250	that this was even possible? Or did people claim it was possible, but they didn't...
3031250	3035130	Sure. There's been like a really wide variety of opinions on the matter. But basically,
3035130	3040370	if we were to talk about something like this going on 15 years ago, it would have been borderline
3040370	3047010	science fiction. Right. Now, I did not know about how fast these vulnerabilities could be
3047010	3052890	exploited. And what I heard was a shock to me. So is it even possible for humans to be able to
3052890	3058010	respond so quickly? Oh, absolutely not. Normally, basically, that process is a manual reverse
3058010	3063170	engineering process that involves sometimes weeks of development cycle and releasing those binaries
3063170	3067750	and things like that. These machines were actually capable of finding that vulnerability and exercising
3067750	3072450	it in remote software in less time than it would basically have taken a reverse engineer to open
3072450	3078310	it in IDA. Wow. So we are seeing the beginning of a technology revolution. Absolutely. And it looks
3078310	3083070	like we've got additional information. It looks like Zandra and Rubius threw POVs in the first
3083070	3089450	five minutes against the SQL Slammer bug. So we have an example. Yeah. Congratulations, guys.
3090010	3096130	So we have an example of a patched versus an unpatched team card. And we can see the patching
3096130	3100770	going on here, which in this particular case shows that this individual service here is down for
3100770	3106070	patching and we can see that the service poles are failing because that's unavailable for that round.
3106250	3112850	And so that basically is showing us that Mayhem in round six decided to patch. By the fifth round,
3112850	3119210	actually, almost every team had patched this vuln. So what that means is that either via specific
3119210	3124950	awareness of that vulnerability or via general purpose hardening, every team except one managed
3124950	3129310	to protect against that vulnerability by the fifth round. Awesome. I actually have here with me
3129310	3136310	the team captains for Zandra and Rubius. So, Rubius, you were actually one of the first teams,
3136310	3140990	both of you, to successfully patch the SQL Slammer bug. Was there anything in particular that your
3140990	3151230	CRS, you believe, was capable of doing this? So we are employing a variety of static analysis
3151230	3156570	and dynamic analysis techniques that are fast. So if we can identify statically that a flaw exists,
3156570	3162510	we'll immediately release a patch for it. So additionally, too, if we can find network traffic
3162510	3168290	that we expose the vulnerability based on form of attack, we can automatically patch it. So I
3168290	3174710	believe that those two combined factors probably led us to patch quickly. And so just to be clear,
3174710	3179310	the SQL Slammer bug was a stack-based buffer overflow. Is there anything that your CRS does
3179310	3185070	in particular about stack stuff to protect against this? We do have protections that are
3185070	3190350	based on discovering the actual vulnerability and trying to learn invariants that describe
3191550	3198290	what differs the exploit traffic and inputs from normal traffics and then apply a specific point
3198290	3204970	patch. It's impossible to know for me right now. Like the other teams, I think we're using a
3204970	3210090	combination of techniques. I don't rely on any one thing. And which particular protection worked
3210090	3216150	in this case, I'll have to look at the data later. So Xandr was actually the first team to patch
3216150	3220770	Heartbleed. I think the first and only team to successfully patch against Heartbleed. Any idea
3220770	3227890	what may have caused that? I would guess that that's the point patch in this case. We had to
3227890	3237190	discover the signature, the invariant, the property, the mathematical formula that describes
3238170	3243430	what was causing the exploit. What separated the malicious inputs from the good inputs and how it
3243430	3248130	was affecting the program differently. Excellent, thank you. Let's return to our next special
3248130	3256930	rematch challenge. And we have CGCRPC, a recreation of the vulnerability MS08067, which sounds a lot
3256930	3261850	like the name of a galaxy. This vulnerability allowed remote code execution on Microsoft
3261850	3268610	servers if an affected system received a remote procedure call, which is a request to run a
3268610	3274630	function on a remote system. This flaw laid the groundwork for creating a robust, stable exploit.
3274630	3281270	Microsoft patched this flaw, but once again, the patch was not widely deployed. Okay, and how did
3281270	3286450	the Cyber Grand Challenge teams deal with CGCRPC? So we don't have any data yet on which ones of
3286450	3290630	them have managed to successfully POV against it, but this is particularly an interesting challenge
3290630	3296030	because it sort of strikes a balance in sort of the middle range of the level of difficulty of
3296030	3300730	some of the challenges, right? This vulnerability in the wild produced a very stable exploit that
3300730	3305410	allowed remote execution to be gained over Microsoft RPC servers. In the implementation
3305410	3311430	that we have in our game, it followed along with that bug, which had a stack cookie still in place,
3311430	3315310	and so a normal stack-based buffer overflow wouldn't have actually functioned correctly.
3315310	3319730	But if anyone remembers MS08067, which is kind of one of the poster children of remotely exploitable
3319730	3324610	vulnerabilities that we talk about all the time, it turns out that the vulnerability actually
3324610	3330690	existed because that stack-based buffer was handed into an inner function which didn't actually have
3330830	3335770	a buffer allocation of its own. And most compilers, if there's no buffer, there's no local buffer
3335770	3340350	within that function's boundaries, it actually won't bother with a stack cookie because there's
3340350	3344710	very little risk of a stack overflow when you don't actually have a buffer to overflow.
3344710	3349430	So the interesting thing about this bug was the vulnerability actually existed in an instance
3349430	3355990	where the software could be tricked into writing data prior to the beginning of the buffer,
3355990	3360470	and that was actually within the local stack space of that inner function, and so we ended up with
3360470	3365350	an unprotected function having its stack smashed and having the instruction pointer overwritten
3365350	3370010	as a result of a bug that caused data to be written before the beginning of the buffer.
3370010	3373370	So this is sort of a different case than the normal standard vanilla stack-based buffer
3373370	3374570	overflow that you would see.
3375210	3378830	So Vizi, which bot did well? Do we have the data yet?
3378850	3385950	So basically we only saw one bot successfully POV file explorer, and that's Mayhem. So again,
3385950	3392350	congratulations guys. So that POV basically means that they were the only one to solve this
3392350	3397610	slightly more complex style problem, and additionally it would mean that they would be the
3397610	3402030	only one probably deploying any scalpel-like patches. There may have been other bots that
3402030	3406150	deployed general purpose patches that may have actually mitigated the risk, but they would be
3406150	3411370	the only one probably with sufficient knowledge of the vulnerabilities workings to deploy a
3411370	3412270	scalpel-like patch.
3412270	3415750	Okay, so can you review for us, if you have the memory to do so,
3415750	3419450	which of these rematch challenges have we talked about so far?
3419450	3425950	Sure. So we've talked about, just now we talked about CGCRPC, which basically goes over MS08-067,
3425950	3429730	and we've spoken through one of the challenges that was basically modeled after Heartbleed,
3429730	3434330	which we called Secure Server. We also had the address resolution service, which was modeled
3434330	3438710	after the SQL Slammer, all the way through to being a very simple stack-based buffer overflow.
3439690	3441770	And I think that's it.
3441770	3445010	All right, that's a great recap. Thank you, sir. So let's go to H.J.
3445190	3449730	Hello, I have with me Giovanni Vigna from Shellfish, and I'd like to ask you about the
3449730	3456930	stacking areas in particular, given this challenge had MS08-067 had them, as well as many of the
3456930	3464970	challenges. Does your CRS have any ability to reason over these stack cookies in generating
3464970	3465890	your POVs?
3465890	3473230	We definitely leverage stack cookies for protection, and we always try to find ways in which
3473230	3479130	we can overflow part of the stack that are not stack cookie, could be code pointers or other
3479130	3483690	things that are not necessarily protected by these protection mechanisms.
3483690	3488410	One thing I remember in our conversations is, speaking of reasoning and generating POVs,
3488410	3493410	is that I was told that one of your POVs had 64,000 lines of code. Is that true?
3493490	3501370	Yeah, because of course we try to embed into the POV sometimes code that tries to verify
3502090	3508410	pretty complex path conditions using verifiers, and therefore they can be really big.
3508410	3511890	That's right, your POVs actually would embed constraint solvers.
3511890	3512650	Correct.
3512650	3515470	Any in particular, something like STP or Z3?
3515570	3522170	We use a simple one that, right now I'm blanking on the name...
3525330	3525930	Boolector!
3525930	3531950	Thank you, thank you. Z3 is what we use in our basic reasoning system, but it's smaller,
3531950	3537690	and so we can embed it in our POV so it can reason about these conditions when the attack
3537690	3538610	is performed.
3538610	3546430	This reasoning, it's like generating algorithmic expressions from code flow, right?
3546430	3550550	Exactly, because sometimes you have to be able to interact with a binary,
3550550	3555550	so you have to do some challenge response, and therefore you cannot have a POV that is
3555550	3563050	predetermined. You have to be able to see what comes back during the execution of the attack,
3563050	3568190	and reason about that, and find what the next step is in order to get to the vulnerability.
3568190	3571910	Thank you for your insights, I appreciate it. And back to you, Hakeem.
3572190	3577130	Thank you, H.J. It's interesting to hear from the teams and how well their bots are performing.
3577390	3579390	All right, and thank you to the teams.
3579670	3584770	Okay, to everyone watching, just as a reminder, you can download the Cyber Grand Challenge
3585450	3593930	challenge sets and the results from today's final event at this URL, www.cybergrandchallenge.com.
3593930	3598070	Now let's go back to H.J., because I have to find out, were the teams prepared to deal with
3598070	3603470	these real-world rematch CSs, and how excited are they to find out how they perform versus
3603470	3605210	these well-known vulnerabilities?
3605530	3610930	Well, I have with me the team captain of Shellfish, and I'm going to ask him that question,
3610930	3613770	plus a question that's near and dear to my heart. So how do you feel, actually, about
3613770	3618430	the current performance, as well as the revelation of these real-world problems?
3618530	3625610	So we were actually pretty surprised, which we shouldn't have been, if we took some time
3625610	3633710	to think about it, but we're a bunch of students, so we went in all crazy. So I think it's really
3633710	3639950	cool to see real-world problems in this, especially on the decreeOS platform, right? Because a
3639950	3646190	lot of the simplifications that were made to decree to make it feasible for modern automated
3647310	3653950	analysis might have maybe taken away some of the realism. And this shows that it didn't,
3653950	3660270	it shows that decree is really a faithful representation of security issues in the
3660270	3665030	community, and that analyzing on decree is very applicable to the real world.
3665070	3668850	Another thing that's near and dear to my heart is open-source software. And your team has
3668850	3674190	open-sourced your analysis framework, Anger, which I'm a huge fan of. I actually, during
3674190	3678590	the DEF CON quals, I created a challenge called a Mad H-Day that was designed so that people
3678590	3684210	would solve it with Anger. So thank you for that, and do you intend to continue open-sourcing
3684210	3685070	your technology?
3685070	3691410	Oh, absolutely. Me personally, and the entire lab, and all of Shellfish, we are super passionate
3691410	3697910	about open-sourcing our tools and contributing back to the community. So I can say that our
3697910	3705850	CRS will be open-sourced, right as Anger is, including all of our build ops on top of Anger,
3705850	3710590	and we have a lot of code that we're very excited to share with you. And for the next
3710590	3715710	CGC, we expect all of you guys to be playing against us, or with us.
3715710	3719810	Very nice, thank you, I appreciate it. And again, that's a fantastic thing that they're
3719810	3724870	doing to open-source this technology to expand the capabilities of our community. And back
3724870	3725790	to you, Hakeem.
3725790	3730630	Thank you so much, H.J., and thank you to our teams. All right, so that's very cool
3730630	3735390	about how the teams did against the rematches. So let's go back and see how the teams are
3735390	3736750	doing in the competition.
3736850	3740270	One of the things that we've been seeing going on, and we were, again, hoping to see, we've
3740270	3744530	seen Rubius throwing against absolutely everyone for anything that they come across. Their
3744530	3748510	bot is proving very, very aggressive. And this is one of the interesting things that
3748510	3751750	we were hoping to see, because we were thinking that these bots would develop this almost
3751750	3757270	sort of personality, where maybe the teams that are traditionally familiar with CTF would
3757270	3762170	be reticent to patch, because there's oftentimes been teams whose downfall has been too aggressive
3762170	3768270	of a patching strategy, or teams who's encoded in the bots very aggressive POV throwing behavior.
3768270	3772310	So in this last couple of rounds, we've actually managed to see Rubius throw against absolutely
3772310	3776470	everyone and score in one of the challenge sets on every team.
3776510	3780050	So Rubius throws, so when we're looking at this particular view, when a particular team
3780050	3784770	is throwing, and that means that arrow is that color, the color of the team's card?
3784770	3787950	Yep, that's the color of the team that's throwing. So one of the other things that we see going
3787950	3792710	on here is actually that several of the teams are waiting to deploy their patches until
3792710	3797550	they actually observe a POV being exercised by one of the other bots. So this is sort
3797550	3803250	of that patching strategy perspective where, for example, Zandra and MechaFish are both
3803250	3807910	holding back on patching so that they don't incur that downtime until they believe they've
3807910	3812550	seen someone else exercising the POV. And we see here with Rubius, right? So Rubius
3812550	3816170	has all these colors filled in, so this is every one-day POV.
3816290	3817810	Absolutely, absolutely.
3817810	3821510	All right. But then again, this is only for one binary.
3821510	3825230	Yeah, so that actually only represents one of each of the challenge sets that are out.
3825230	3829490	And in addition, we don't know in the next round or two whether or not the other teams,
3829490	3833230	having observed all of this activity go on, will manage to discover and deploy patches
3833230	3835630	for that as a result of all of that activity.
3836050	3839930	So is that how the game is played in DEF CON? Are you guys simultaneously going out?
3839930	3843550	Oh yeah, absolutely. In a human CTF, there's probably, there's almost always dedicated
3843550	3848210	people, dedicated Packet Ninja people out there on Wireshark watching everything that's
3848210	3852030	going on, trying to determine when they're getting owned as well, and then turning that
3852030	3854590	around and actually throwing it back at the other teams.
3854590	3859790	So what about dirty tricks? So if you deploy a patch that, and other teams can use your
3859790	3861670	patch, you can use that against them.
3861670	3864730	That's actually one of the behaviors that we're watching for and we hope to see is the
3864730	3868550	instance where a patch gets deployed by a team and one of the other team's reasoning
3868550	3873270	systems decides that that patch is sufficiently good or good enough to deploy themselves,
3873270	3877230	where basically they get to stand on the shoulders of one of the other team's disclosures,
3877230	3879890	sort of how patching would work in the real world.
3879890	3883450	So I wonder what the calculation there is, because we talked about game theory,
3883450	3888090	so this sounds like more of an unpredictable behavior that maybe a human might be better at.
3888090	3891330	Right. I would have to imagine that any of the teams that was going to try to deploy
3891330	3895620	one of the other team's binaries as a patched binary of their own would have to have an
3895620	3900060	enormous amount of faith in their symbolic analysis such that they could determine that
3900060	3904840	they'd believe that the only thing that it changed was really to patch that one vulnerability.
3904880	3908940	Because in general, if there were too many code changes or if it was a general purpose
3908940	3912240	hardening technique that was sort of sprinkled out throughout all kinds of functions,
3912240	3914980	adding stack randomness or stack cookies and things like that,
3914980	3919040	it probably wouldn't be able to successfully determine the exact nature of the change.
3919040	3921640	And then I would imagine that the bots would be very reticent to deploy those,
3921640	3923100	to redeploy those same binaries.
3923600	3926620	All right. So let's go back down to H.J.
3926780	3931520	I have with me Tim Bryant from Rubius. So we actually were hearing just about some dirty
3931520	3939500	tricks or evasion techniques. Does Rubius employ any of these style of gameplay things?
3939940	3943300	It tries to make things difficult. It does. Yeah.
3943300	3945460	Are there any specifics that you could go into?
3945960	3951840	Sure. I mean, you could probably take one of our binaries and try to open it up in a typical
3951840	3955700	analysis tool and it may or may not work.
3957340	3961220	And if you want to run it, you probably ought to run it
3961220	3966040	in an environment that looks an awful lot like the official system.
3966040	3969340	Very nice. So you may have some QMU bugs in there.
3969800	3970880	No, not so much.
3970880	3971540	Okay.
3971540	3975280	But it should only run where it's supposed to be running.
3975280	3980580	Nice. I like that. We also saw you on the scorecard showing that you guys were
3980580	3984100	pwning everybody. That's actually fantastic work. What do you think about that?
3984100	3985860	Well, it was a very beautiful image.
3985860	3986620	I imagine for you.
3986620	3990620	I'd love to see a lot more of those. You know, that was one challenge, but
3991260	3994300	that's a pretty fantastic result. We'll take it.
3994560	3998060	They also spoke about different patching techniques. Do you just patch
3998060	4002400	immediately or do you wait for some type of signal that you've been exploiting?
4002400	4008180	We do two things. One thing that we do is we analyze the binaries ourselves. And if we think
4008180	4014560	that they're easy, we go ahead and patch them preemptively. If we find the vulnerability quickly,
4014960	4018560	we give the benefit of the doubt to the other teams. We expect that they're going to find it
4018560	4025640	relatively quickly, too. So we go ahead and patch. On the other hand, we do patch reactively.
4025640	4031180	But if we don't find it quickly, then we wait. We wait to see if somebody actually can find it.
4031180	4034440	That actually sounds like a great strategy to make sure you don't lose those availability points.
4034440	4034960	That's right.
4034960	4037120	All right. Well, thank you for that. I appreciate it.
4037120	4040400	All right. Great stuff down here, Keem. And back to you.
4040400	4045860	So we talked about strategy when it comes to patching. But Vizzy, there's strategy involved
4045860	4050820	with discovering vulnerabilities. So what kind of approaches might teams take to discover these
4050820	4051560	vulnerabilities?
4051560	4055480	Sure, absolutely. So it's really impossible to predict what the team's bots are going to be
4055480	4059200	doing for sure, because there's always the possibility that they would have developed an
4059200	4064580	entirely new technique or a new strategy for this game. But there are a number of sort of known
4064580	4071580	approaches to these types of problems. Static and dynamic binary analysis, fuzzing, and
4071580	4076600	symbolic execution are some types of program analysis and input checking and validation that
4076600	4082060	would be done that they're probably leveraging simultaneously, ideally. So in the case where
4082060	4087180	they want to more properly guide their fuzzing iterations, something like a symbolic analysis
4087180	4092080	framework would allow them to know what the values of certain fields within that protocol should be
4092080	4096860	in order to reach certain pieces of code. Shellfish, for example, having written their
4096860	4101280	anger framework that we've spoken about a couple of times, I would imagine is probably using a
4101280	4102560	hybrid approach.
4102560	4105340	Okay, so we have some code up here that we're looking at.
4105340	4108900	So actually, this kind of goes back to a little bit of the dirty tricks that we were talking about.
4108900	4113560	And so we're going to speculate a little bit about what was going on with some of Rubius's logic.
4113560	4120120	But the gist of it is, we see here, this CPU ID instruction might be part of what he was
4120120	4124400	mentioning, as you'd probably really want to be running the binary inside of the environment that
4124400	4128420	was actually decree. So it looks like they're doing a little bit of patching that introduces
4128420	4135200	code divergence to try and split the logic when it's running on the real decree platform versus
4135200	4139380	when it might be running in an emulator or some kind of other sandbox being deployed by one of
4139380	4144280	the teams to do instrumentation. And the interesting part is not just that they decided to try and do
4144280	4148860	this so that they could change the way that execution works, but what they decided to try and
4148860	4153940	do. As near as we've been able to tell so far, what they've decided to do is actually introduce
4153940	4159960	fake vulnerabilities into the impossible code paths that would only ever occur if you were
4159960	4164980	running it in a sandbox other than decree. And so basically what they've done is created all
4164980	4169300	this extra analysis work, and it may even be that some of those analysis platforms would think
4169300	4173940	they've found a vulnerability and attempt to be POVing against that vulnerability when really
4173940	4179040	that code was not actually reachable because it was being, because it was reached only inside of
4179040	4188780	that sandbox rather than inside of decree. Very cool work, guys. Very cool. Yeah. So we saw a lot
4188780	4193140	of interesting actions in round 20 with some predictable outcomes and some surprises. Share
4193140	4197500	your thoughts about what happened, sir. I'm really, really glad to see basically every one of the teams
4197500	4202360	managing to get some POVs out there. It's basically showing that the reasoning, the idea of this
4202360	4207600	reasoning system is definitely working because you can't actually POV without at least some
4207600	4211420	knowledge of the workings of that vulnerability. It's not like the general purpose patching
4211420	4216760	techniques where there could be zero knowledge success, right? In a POV case, it definitely has
4216760	4221060	to have understood the protocol. It definitely has to have decided what was necessary in order to
4221060	4224880	exercise that vulnerability. So the thing that I'm really happy to see is that basically everyone
4224880	4228220	has come to the table with something capable of that. Wonderful. And we've seen a couple of
4228220	4233140	breakthroughs, right? So we've seen a breakthrough in speed. Absolutely. We've seen the rematch
4233140	4239740	challenges owed this time around. Absolutely. So what might I have missed? So we have a new data
4239740	4245560	update actually that shows that Zandra discovered a POV in one of the... Zandra managed to discover
4245560	4250500	and prove a vulnerability in one of the services that we call OpSim. But this is a unique situation
4250500	4255180	and it's something we were kind of hoping to see. They actually managed to discover an unintended
4255180	4260580	vulnerability. So each of these services that's written, just like real world software, it's
4260580	4264440	impossible for us to have made absolutely certain that the one vulnerability that we intended
4264440	4269780	is the only one that's present. So the interesting part here is additionally that Zandra had
4269780	4274880	discovered this new POV, exercised it against something that we hadn't actually even intended,
4274880	4280280	and then Jima observed this occurring and successfully defended against it. So these
4280280	4284340	are all results that we hadn't possibly had any ability to predict whatsoever.
4284340	4290720	So Zandra POV succeeded against the reference binary, but not against Jima's patched binary.
4290840	4294900	Wow. And let's keep in mind what we're saying here. We're not talking about teams of human
4294900	4299260	beings that are finding these things. These are the bots automatically just autonomously doing
4299260	4302000	this on their own. Absolutely. And one of the things that we had really hoped to see is some
4302000	4306260	of this sort of game strategy thing as well, where the individual bots would be able to defend
4306260	4311160	against things as a result of seeing them, seeing a POV launched at them. So we've been watching out
4311160	4315680	for a lot of these sort of game theory things because in a traditional CTF, the team that wins
4315680	4320120	is not always the team with the most perfect technical execution, but it's the team with an
4320120	4324380	excellent technical execution that also plays the game. So there's a lot of that sort of question
4324380	4329580	as to how much strategy, how much gameplay, and how much of the traditional dirty tricks
4329580	4334640	department that goes on in a CTF that's humans have the teams decided to try and encode within
4334640	4340720	their bots? Yeah, one of the surprises to me that I find just awesome is the fact that this game
4340720	4346080	strategy, we're talking about actual mathematical proofs and computations here. Absolutely. Yeah,
4346080	4351880	so this is real stuff. All right, H.J., do you happen to have the team we're talking about with
4351880	4355680	you down there? What are they thinking about what we just heard regarding what their bot has been
4355680	4360200	up to? So Gma was actually successfully able to patch a bug that we didn't even know existed in
4360200	4365860	the software. But what kind of general purpose or even specific patches does Gma implement that
4365860	4370340	could do this? So that was probably one of our general purpose patches. We looked at areas of
4370340	4374560	code where we know there are common vulnerabilities, and we just deliberately inserted
4374560	4379980	conservatively the patches for those areas. What type of do you use signatures, like
4379980	4385520	like itis flirt signatures to determine what functions commonly cause vulnerabilities?
4385760	4391400	Well, so in this case, for example, if it was a buffer overflow, you know, we basically
4391400	4397840	threw in a stack canary. How do you actually generate your stack canaries? So our stack
4397840	4403440	canaries are a random value we generate each time the binaries run. And when we put it on the
4403440	4409040	stack, and then we also combine it with the return address. So we have a checksum to make sure
4409040	4413260	they didn't overflow the canary or bypass the canary and just overflow the return address.
4413260	4417560	I guess for those who don't know, what is a stack canary? Can you explain it? So stack canary is a
4417560	4422920	special value put on the runtime stack, so that if there's an overflow that overflows data onto
4422920	4427240	the stack, and it's supposed to overflow a return address, it hits the canary. I see. Like the
4427240	4433660	coal mine. And it causes the canary to change its value or basically die. And so we were able to
4433660	4439760	catch that. So it overwrites this canary value, and you're able to test and determine that this
4439760	4444580	value has changed. Right. Okay, excellent. Thank you. That's fantastic. We've got some data coming
4444580	4451840	in from round 30. Mayhem has the lead. Zandra in second and MechaFish in third. All right.
4452000	4456760	So this is definitely still a game where anybody could win,
4456760	4460580	but there's definitely a lead going on here. But most of the game is still yet to unfold. Oh,
4460580	4464780	absolutely. Round 30 means we're still pretty early on in the game. That definitely is not
4464780	4469400	an unescapable lead. So if we cut to the arena view, we can see actually that several of the
4469400	4475220	teams are even still down for patching this round. We can see, for example, Galactica and Rubius here,
4475220	4479720	for example, are actually in the process of, yep, Crispy as well, are actually in the process of
4479720	4484660	deploying patches even up here in round 30. So even though a challenge set may not have actually
4484660	4489460	been released this round, it may have taken some of their analysis platforms that extra bit of time
4489460	4494400	to discover the vulnerability or decide how to patch it correctly. Yeah, what's interesting is
4494400	4499820	that some of these patches, from card to card, it's not the same patch being deployed. So some
4499820	4504240	may have patched earlier, some are patching now. Absolutely, yeah, exactly. And so the other thing
4504240	4508480	that we can see here too is that several of the teams that are the teams that we're recognizing
4508480	4513680	as being in the lead are still successfully carrying out POVs. So MechaFish, for example,
4513680	4518400	for this challenge, is successfully POVing against several of the other teams. And we don't see any
4518400	4523380	of them actually running patched binaries yet in this view, so we can't know whether or not,
4523380	4526880	in this instance, it looks like they're managing to POV against something that no one else has
4526880	4532400	actually patched or modified just yet. Alright, so why is the leading team in the lead? That's
4532400	4536580	actually a really good question. I think that basically this probably will show that a lot of
4536580	4541480	it boils down to availability, but a lot of it also boils down to the evaluation scores. I think
4541480	4545100	most of the teams that are rolling out patches, ooh, there we go, we're seeing actually some of
4545100	4551100	the patches not actually maintaining availability. Galactica and Jima looks like they have patched
4551100	4555120	binaries or services that have become unavailable over the course of this round. So as we mentioned
4555120	4560580	earlier, in that one view where we'll see the center shrink to that small black portion,
4560580	4565300	we'll see basically that as a result of either one of two things. If they deploy a patch and
4565300	4569680	that patch doesn't still maintain the functionality of the software and still do what it was intended
4569680	4573620	to do, it'll shrink like that. But it'll also incrementally shrink like that if it doesn't
4573620	4578040	respond quickly enough. And so for some of those general purpose patching techniques, there could
4578040	4582560	be instances where that incurs a very significant performance hit. So we're seeing basically
4583380	4588120	several of the teams have difficulty maintaining availability, and some of this even small
4589180	4594560	degradation to performance that we can see here in the slightly smaller darker gray tiles that
4594560	4598280	Jima and some of the other and Crispy have, for example. So in a way their patch may have made
4598280	4605340	things worse. So it may yield the software unfunctioning, or it'll just function too slowly.
4605340	4609620	Yeah, exactly. So that's basically the two-part threshold. And so basically a service on the
4609620	4613100	internet really isn't up if it's functioning correctly, but it can't respond in a reasonable
4613100	4617260	amount of time. And so that was used to model basically what's going on in the real world when
4617260	4621320	you're maintaining sort of the production trade-off between security and performance.
4621320	4625520	That's right. I remember the good old days of the internet where you'd sit there and wait for your
4625520	4630280	page to load. Yep, absolutely. Yes, I guess that was really the bad old days. So we can see here
4630280	4634580	actually from the scoreboard view at the end, where basically once it's actually managed to
4634580	4640080	tally all those things, we can see that MechaFish, for example, is scoring very, very
4640080	4644760	well in evaluation and very well in security, which means they're getting all their points for each of
4644760	4648800	those rounds. Whereas Mayhem, for example, right now, though they're in the lead, they're doing very
4648800	4653080	well in evaluation and availability, but they might be taking a bit of a hit from security. So we'll
4653080	4656540	see if that impacts their ability to maintain that lead that they have, or if other people
4656540	4661320	manage to creep up behind them because of that. All right, so HJ, what is the team thinking now
4661320	4667840	that they've been announced that they're leading at round 30? So I have with me Alex from For All
4667840	4673140	Secure, who's with Mayhem. What do you think about being in the lead in round 30? You were
4673140	4676660	battling it out with Frubius for a while, and now you've actually firmly taken lead with an 8,000
4676660	4682340	point lead. Yeah, we're very excited to start building up a lead. I think our strategy to patch
4682340	4687580	very carefully. We try to infer when teams are attacking us, and only patch when we think
4687580	4693420	someone is exploiting us. In that way, we don't incur the issue where our patch is not performant
4693420	4698820	enough, and we don't lose availability scores. So we mentioned a few times with generic patching
4698820	4707160	versus like a scalpel-like approach. Do you employ both? We do. We try to field an agnostic patch
4707160	4714360	that would protect against any vulnerability in theory. It has been our experience that most
4714360	4720200	bannings have multiple vulnerabilities, and we were worried that we would patch one, like find
4720200	4725080	and patch one, and another team would find another, and then we would have to patch twice, which is
4725080	4730520	very expensive. Yes, thank you for that. It sounds like the teams are still pretty excited, and back
4730520	4734260	to you, Hakeem. So I understand that we have some new data that just came in, and there's a few
4734260	4738760	highlight stories from these rounds of the competition, and some of it involves Rubius.
4738760	4743200	Absolutely. So it looks like Rubius actually deployed a patched binary to their platform
4743200	4749120	that actually used up so many resources and had so much load on it that it's been affecting the
4749120	4754260	other services on that box. So basically, if one of those things is having trouble performing,
4754260	4758960	and it's basically eating up all the other resources, that can negatively impact the
4758960	4763040	availability of those other services, because though they are completely themselves functionally
4763040	4768700	correct, and even potentially fast enough, they're getting resource starved out. And so Rubius has
4768700	4773860	basically deployed a binary that appears to be denial-of-service attacking some of their own
4773860	4779140	binaries, basically as a result of starving them out of being able to actually execute. So we can
4779140	4784280	see here we've got sort of the abstraction that shows some of the facets of the binary that they
4784280	4788860	deployed, but really the important part here that's going to be the real question is, like,
4788860	4794500	what exactly was that binary doing that caused that sort of performance delta? So we're still
4794500	4799400	gathering information on exactly what that is, but the bottom line at this point is that Rubius
4799400	4803760	is actually, in the next round or so, we're going to see them take a fairly significant scoring hit
4803760	4808480	because this availability thing, like we've been harping on, essentially, is affecting
4808480	4813560	multiple of their services now as a result of a mistake in only one service. So that being the
4813560	4818500	case, any of the other services that are being negatively impacted by this are also not scoring
4818500	4822520	points for them or not scoring as many points, even if they're successfully defended and even if
4822520	4826940	they're carrying out POVs against the other bots. I see. Now, I wonder what the real world
4826940	4833460	impact of this is, because if you have a bot that evaluates your software to determine
4833460	4837660	whether or not it's doing what it's supposed to do and it applies a patch, then that would
4837660	4841660	actually need to be checked. Oh, absolutely, yeah. And so that's one of those things that, like we
4841660	4845200	mentioned, we've seen a couple of the teams potentially pull those patches back and decide to
4845200	4850480	undeploy them. If they don't have logic like that in their bot right now, they may be in
4850480	4855460	very serious trouble. So this actually is one of our cube views that we have available to us,
4855460	4859580	showing the Kaleidoscope. So Kaleidoscope is the name of this particular challenge set.
4859580	4865920	And this is just data for Rubius. And it shows, actually, the availability impact being
4865920	4870400	had to all their other services that they have deployed over the course of the last few rounds.
4870400	4874780	So like we said, we can sort of project multiple dimensions of data. So this is several rounds
4874780	4881080	of several challenge sets of just Rubius. And we can see this whole flattened out area of negative,
4881080	4886220	basically negative impact to their ability to score due to the fact that just the challenge
4886220	4891280	set for Kaleidoscope has actually been performing so poorly. So by round 30, though, it seems that
4891280	4895420	they're back up. It seems like by round 30, they do manage to actually pull it back. So I would
4895420	4901900	guess that one of these rounds that we see here... So this could be one of those dropouts we saw
4901900	4907140	in that line view, right? Where they peel it off at a point. It could have been due to this.
4907160	4911580	And it looks like they actually did manage to pull that patch back. I'm just getting updated
4911580	4915460	that they did manage to successfully pull that patch back. And it looks like they've managed
4915460	4919200	to recover as well. So they deployed a patch. It didn't work. And their bot had sufficient
4919200	4924560	awareness and sufficient reasoning to actually redact that, pull it back, and pull up, pull up,
4924560	4930060	pull back out of the fire. We now come to the mail server, which is based on CrackAdder.
4930060	4935200	CrackAdder is a complex bug in SendMail, a widely used general purpose email routing tool
4935200	4941720	dating back to the early 1980s. In 2011, a security researcher who goes by the handle
4941720	4947040	Halverflake showcased CrackAdder as something static analysis or automated tools were unable
4947040	4952780	to detect. He then created a simplified version of the bug with many fewer lines of code. In its
4952780	4958300	simplified form, researchers were able to analyze it using automated tools. Now, CrackAdder is a
4958300	4963680	test for the real world viability of analysis tools, but the original vulnerability remains
4963680	4969920	elusive for automated reasoning systems. So let's go to a video by Debbie Nuttall
4969920	4973520	telling us about mail server and CrackAdder.
4975990	4982510	So one of the challenges that we built is patterned after a vulnerability that was in SendMail
4983170	4986750	that's commonly referred to as CrackAdder. CrackAdder was actually the name of the function
4986750	4992070	that contained the vulnerability. So this bug existed in SendMail. SendMail is a critical
4992070	4999770	piece of software that's used on the internet for sending mail. So the vulnerability exists when the
4999770	5003730	software is trying to match up brackets. You know how you have these brackets in email addresses?
5003730	5008410	So it wants to know at the very end if there's a hanging open bracket, it's going to add a
5008410	5012190	closed bracket so it's counting them. One of the things it does wrong is it doesn't count
5012190	5017290	the closed bracket. So it's counting in one direction, it's moving a pointer,
5017290	5021330	things get out of whack, and it leads to a potential buffer overflow. This is the one
5021330	5025070	that I think is hardest. I think it's hardest to find, I think it's the hardest to patch,
5025070	5026770	and I think it's the hardest to prove.
5028710	5032510	Thanks to Debbie for all the great videos about our Rebatch challenges,
5032510	5037170	and it's a reminder that she was the author of them and I really had a great time interviewing
5037170	5040670	her. Now Vizi, tell us more about mail server and CrackAdder.
5040670	5044810	So our implementation of the mail server challenge basically wanted to strike a balance
5044810	5049910	between the difficulty and the complexity of the original bug in SendMail and Halvar's example
5049910	5054690	that was sort of a carved down subset of the problem. Either way, they are all sort of the
5054690	5060590	classic state machine problems that are very, very difficult for program analysis. Those nearly
5060590	5065010	infinite possibilities and that halting problem that we talked about before clearly come into
5065010	5070190	play here. So basically, I'm looking forward to seeing, and it looks like we have some data,
5070190	5076870	basically, MechaFish was the only team to actually successfully POV against our
5076870	5084490	version of CrackAdder. So this basically represents a leap forward in program analysis
5084490	5088130	for them to be capable of doing this means that we're one step closer to that thing that's
5088130	5093310	basically been sort of the Everest of program analysis because of that state machine problem.
5093310	5098590	Additionally, once they were POVing, it looks like Crispy deployed a patch,
5098590	5103770	but it was a general purpose patch that did manage to mitigate the bug. So kudos to them
5103770	5106730	for actually managing to patch it successfully without breaking it.
5106730	5113030	Right on. All right, so let's go to H.J. down there with the teams.
5113970	5118050	So you guys successfully patched CrackAdder, but I believe you also were the only one to
5118050	5123050	exploit it, right? And so congratulations. That's pretty... Halvar Flake actually considered this
5123050	5129450	like the Everest, as Vizi calls it, of challenges. Congratulations. What do you think about this?
5129690	5134750	It's pretty overwhelming. Wow. I mean, all the talk about state machines and all the possibility
5134750	5137590	of state machines really reminds me of one of the papers that we published recently. We're
5137590	5141810	an academic lab. We publish papers. That's what we do. We published the paper Driller,
5141810	5147330	which is supposed to augment fuzzing with symbolic execution. And one of our really
5147330	5152050	in-depth case studies talks about how exactly it traverses the state machines and is able to
5152050	5157210	really explore deeply parts of the program that would normally be inaccessible to a more naive
5157210	5163090	approach. All right, there's complexity we have. How big do these equations actually grow to? Can
5163090	5168810	you give me an example? They're huge. So we're using, for this part of the code, we are using
5168810	5175650	Z3 to solve the things. And when we're debugging these things and then something won't solve,
5175650	5180130	we try to print it out and sometimes our terminal will just scroll with equations for minutes before
5180130	5185130	terminating. We're like, okay, there's nothing we can do about this. Move on. Excellent. Thank
5185130	5193710	you for your insights. I appreciate it. Back to you, Hakeem. Thank you, H.J. All right. So let's
5193710	5201790	look at round 52 scoreboard. So in this instance, we're seeing basically mayhem still in the lead,
5201790	5206870	Zandra and Shellfish. Rubius has fallen a little bit. It looks like the gap might be growing.
5207730	5214090	But as we can see, it's availability still that is winning the game. Yeah. So what happened
5214090	5219730	around this round was mayhem actually went down, right? Yeah. So it looks like in this instance,
5219730	5225410	we've seen mayhem's service, mayhem's bot has become unavailable right here in round 52. So
5225410	5229670	this might be the beginning of a very serious problem for them. The late breaking that I'm
5229670	5234930	getting is basically that we've seen that stop responding and not actually be issuing any updates
5234930	5239450	or issuing any POVs. So we have no idea what that's going to do to their score. But like we've
5239450	5244030	said, actually, there are certain sections of the game for which doing nothing isn't a terrible
5244030	5248310	strategy. So we don't necessarily know that this will have an immediate impact. They have a very
5248310	5253230	solid lead and they may actually manage to maintain some of that. Wow. And they managed
5253230	5259750	to break a supercomputer. Yeah, absolutely. It's kind of lucky. So we have to wait now for the data
5259750	5263730	to come in to figure out exactly what happened there, right? Yep. So we have a team in the back
5263730	5267690	that's working on this. Absolutely. Yeah, for sure. This is one of those ones that they end up having
5267690	5272310	to look into a little bit more specifically, mostly because we're not even really sure what
5272310	5275750	it was that they deployed that caused that to be the case. For your colleagues in the audience, what
5275750	5280350	does that data look like coming out of these? Oh, yeah. It was a team to create the visuals. Sure.
5280350	5284550	It's basically a bunch of serialized, I mean, basically tabularized serialized data that's
5284550	5289370	getting burned to those disks. It's every event that's traveling through this entire system. So
5289370	5293590	if you were to imagine this whole thing as a series of events occurring in time and the
5293590	5299330	metadata associated with those events, that massive pipe of data is getting funneled out and split out
5299330	5304050	into these systems so that they can tabulate what's going on. So we have an arena view showing
5304050	5309470	the scores for that particular round, not the aggregate score. Yep, this is just for round 52.
5310030	5314530	The bars at the top here, I believe, are also still just for that round. So what are we going
5314530	5319190	to see happen with Mayhem? Like, do you expect to see something with their crash impact? What we
5319190	5322510	see on arena view? I don't know. I think that we're not going to see that until the next
5322510	5326010	couple of rounds. It looks like this we were informed was one of the last rounds where
5326010	5330910	they were responding correctly, as far as we're aware. Yeah, so here we have a grid view.
5330910	5334730	Yep, absolutely. And so we can see, just like we were talking about before, we have these three
5334730	5341550	dimensions being mapped out over these cubes, basically which show, in this instance, many of
5341550	5345390	the teams have managed to maintain their security. So we're getting to a point in the game, at this
5345390	5349970	point, where lots of the patches have been deployed, the teams that are going to deploy
5349970	5354510	patches have, and so many of them are managing to maintain security, which we can see mapped here
5354510	5359770	along this axis, right? So each of these, the fact that they are full width in that direction,
5359770	5364250	shows that they've been managing to maintain the security of their services. But not as many
5364250	5369350	managing, at this point, to continue carrying out POVs. There's only a couple of instances that we
5369350	5374930	can see, and actually I'm not sure if I can see... Yeah, or 80, actually. Yeah, so this could be an
5374930	5379510	instance where it'll be, it may be until the next challenge. So why would you have it a... So an
5379510	5384350	availability going down, like we see here for MechaFish on LazyCalc, is probably due to a patch.
5384350	5387730	Probably due to a patch, yeah. Almost certainly. And it looks like they've got a couple little
5388250	5392150	trouble spots going on. So it might be that basically they've got something that
5392150	5396350	impacts performance just a little bit, but not too dramatically. So we see a couple places here
5396350	5401390	where availability is not all the way flat, so that means that they're just moving kind of slow at
5401390	5405330	this point. Yeah, just a little sluggish. And it might be that they've deployed some general
5405330	5410710	purpose patching techniques, things like stack randomizations, if they implement sort of
5410710	5415590	control flow guards, which basically make sure that each instance of doing things like returning
5415590	5420710	from a function returns to a potentially valid address rather than something that's been
5420710	5425030	introduced by outside input. Those are very expensive checks, and we may see some of those
5425030	5430570	cost them performance over time. So what do we see when we see these giant dips like here in
5430570	5435590	these cases? Basically, we're seeing the total number of points that they're scoring.
5435590	5440890	In this instance, we're seeing dips specifically in availability, and so basically those are
5440890	5446210	representative of maybe their patched binary that they deployed wasn't working during those rounds.
5446210	5451310	So with that being said, let's go back down in the pit with our teams and HJ. I have with me Brian
5451310	5457250	from DeepRed. He's going to talk to us about his patching process and what might
5457250	5464030	have happened. So we saw a few rounds ago that you patched something, or Ruby has patched
5464030	5468230	something, and it really tanked the performance of the system. What might have happened?
5468550	5475610	So we found out that the network appliance that actually applies the IDS intrusion detection
5475610	5481010	rulesets is shared amongst all the services. So we have a feeling that one of our IDS rulesets
5481010	5486650	that we deployed as part of our patch set might have negatively affected the performance that
5486650	5493970	apparently affected the other services that were fielded. So we have logic in place in our
5493970	5498930	game theoretic component that will detect feedback coming back from the server when we know that a
5498930	5504490	particular service is not performing well. And when that meets a certain threshold of low
5504490	5510130	availability, we'll go ahead and retract that patch set and revert back to something that was
5510130	5513770	performant. We'll essentially blacklist that patch set and revert back to something that we know
5513770	5519530	is more performant. Do you have a way to determine that it's an IDS signature as opposed to a patch?
5519550	5524850	Unfortunately you don't. The feedback is not particular to a certain patch that we applied.
5524850	5529690	They don't know exactly the set of patches we applied. It's across the entire service. So in
5529690	5535030	some cases we have to make our best guess. And we do evaluate each of our patches individually.
5535030	5540610	So we have data internally that we can hopefully discern which one is still performant and then
5540610	5545190	apply it later if we know that it is confidently not the one that was negative. What do you
5545190	5551690	evaluate your patch against? So we evaluate our patches against polars that we extract from the
5551690	5557990	network feed that they send to us each round. So all the based off of coverage that it obtains,
5557990	5563290	we'll go ahead and use those as sort of valid measurements of functionality and we'll run those
5563290	5567870	against our patches. So what is the actual mechanism? How do you receive this information?
5567870	5572530	How do you know that your availability is tanking? So part of the status information
5572530	5579150	that's given back to the competitors in each round tells you a list of each of the services.
5579150	5584450	And it tells you the time execution overhead. It tells you the memory execution overhead.
5584710	5589890	It also tells you the functionality. If you're failing due to
5590850	5595130	functionality or connections being dropped. So you can take that information and say,
5595130	5599950	my patch didn't work. And then take hopefully corrective action as a result.
5600090	5605210	What is the threshold for beginning to lose points in terms of memory use and performance?
5605430	5611010	So memory usage, if you start to use any more than 5%, that's when you can start to lose points.
5611010	5615770	For execution overhead, it's also 5%. For functionality, it's more of a step function.
5615770	5621670	I think once you start to fail more than 90% of the polar failures, you drop down to 80%
5621670	5626070	availability. And I think those are the only measurements that I can remember.
5626070	5630530	Thank you. I appreciate it. And it was good to see that Rubius was able to recover.
5631050	5635190	That was great information. And back to you, Hakeem.
5635190	5640030	We now come to the last of our rematch challenges, Hat Trick. And it's modeled on
5640030	5645070	vulnerabilities that gave rise to one of the oldest internet worms back in 1988,
5645070	5650610	the Morris worm. That early worm exploited vulnerabilities in Unix protocols, wreaking
5650610	5655790	havoc across the early internet. The great worm, as the Morris worm was later dubbed,
5655790	5659610	was a wake-up call that opened the internet community's eyes to the need for security
5659610	5665510	and prompted DARPA to create the Computer Emergency Response Team at Carnegie Mellon University.
5665510	5668950	Basically, the interesting part that's going on here with Hat Trick is Hat Trick represents a
5668950	5675110	fairly simple bug, but it's potentially subtle. And that subtlety has actually caused zero POVs
5675110	5679130	being thrown against the Hat Trick service, which basically is interesting because
5679130	5683690	the other services that have potentially even, I would say, more complicated vulnerabilities
5683690	5688090	have had successful POVs thrown against them already. And so it's interesting to see,
5688090	5692650	it'll be interesting to study whatever subtlety it was in the implementation of a Morris-like
5692650	5697250	Hat Trick vulnerability that caused it to not actually be able to be POVed against so far.
5697250	5699270	So it would be good to know what the bots are thinking here.
5699270	5703690	Are they thinking to themselves, there are no vulnerabilities in this code?
5703690	5707270	No, no, yeah. So the bots are probably having trouble with the scoping problem.
5707270	5710870	So one of the things that's pretty common is when you're doing symbolic analysis,
5710870	5714810	there's that whole state space problem. And the Morris worm, and specifically,
5714810	5719050	the Morris worm had multiple vulnerabilities in it. And so in modeling that for this challenge set,
5719050	5723010	the vulnerabilities themselves are present across multiple binaries. And so the scope
5723010	5727110	that those analysis platforms would have to be aware of in order to trigger that
5727110	5730790	might actually have to be aware of the fact that those two binaries are related to each other.
5730790	5735210	Right. Now, as I participate in this game for the first time, and you're a former champion
5735210	5738810	of DEF CON, I have one question. Sure, man.
5738810	5741830	Does this belong in the Summer Olympics or the Winter Olympics?
5742450	5745490	I don't know. I think that since we're here in Vegas in the middle of the summer,
5745490	5749530	it probably belongs in the Summer Olympics, but that's about all I could guess.
5749530	5752210	Yeah. So how many different types of hacker competitions are there?
5752210	5754890	So there's a capture the flag type. What else exists?
5754890	5757310	Yeah, I mean, for the most part, there are variants on capture the flag
5757310	5759710	at a lot of different conferences the world over.
5759710	5763810	And many of them actually act as qualifiers and feeders into DEF CON CTF.
5763810	5767990	So there are a number of fairly newly introduced concepts that basically
5767990	5773150	several of these other very famous hacking competitions that occur at other conferences
5773150	5778110	throughout the year act as qualifying rounds for being able to play in DEF CON CTF.
5778110	5783010	So in addition to having basically a place at the table because you played
5783010	5786310	in the qualifying round for DEF CON CTF, some of those other competitions have been
5786310	5790210	recognized as being significant enough to basically be drawn into the fold
5790210	5792450	and automatically qualify a team to play.
5792450	5794450	Is this a worldwide phenomenon?
5794450	5797710	Oh, absolutely. That was one of the things that was really interesting to watch.
5797710	5802270	As DEF CON CTF became a little bit more structured and a little bit more difficult
5802270	5805970	and some of the challenges became harder, we saw teams come in from all over the world.
5805970	5809750	So it was fairly normal for us to actually have troubles with things like significant
5809750	5815050	language barriers and issues like that, which are less the case here during gameplay,
5815050	5819430	maybe potentially during documentation reading for the decree platform or something.
5819430	5822430	But during a lot of the other games, that internationalization,
5822430	5826370	because it was being played by humans, caused this sort of more difficulty in communicating.
5826370	5830390	Now, speaking of which, as I understand, the winner of the Cyber Grand Challenge
5830390	5832550	will actually play against the humans at DEF CON CTF.
5832550	5834570	So this is something we're totally looking forward to seeing.
5834570	5839090	Yeah, the organizers of this year's DEF CON CTF have basically facilitated
5839670	5842750	the decree platform being a part of their game this year,
5842750	5845790	which means that the winning bot that comes out of this challenge
5845790	5850850	is actually going to play against the humans in DEF CON CTF.
5850850	5854050	So we don't expect the first year out, the bot to win, right?
5854050	5855890	Right, that's really gracious of them, yeah.
5856510	5859450	So yeah, I mean, the bottom line is we probably don't expect the bots
5859450	5862290	the first year out to totally take over, right?
5862310	5866690	There are certain types of bugs that the bots are better and faster at than we are.
5866690	5869070	So if I could go out on a limb and make a prediction,
5869570	5872270	if one of the vulnerabilities that gets rolled out
5872270	5876470	during the initial stages of the DEF CON CTF inside of the decree platform
5876470	5879730	is one of these more simplistic bugs,
5880230	5885490	we could see, for the first time in a human and machine hacking competition,
5885490	5889570	the machines score first because of that speed advantage that they have,
5889570	5891350	which would be really, really cool.
5891350	5893950	Cool. So humans have the complexity advantage.
5893950	5897090	Absolutely. That state machine thing and that reduction of that state machine
5897090	5900830	is something that manual reverse engineers are still way better at than the machines
5900830	5904910	because we're better at sort of like estimating parts of that halting problem
5904910	5907390	and dealing with that fact that it could be potentially infinite
5907390	5910390	in ways that the machine calculation just hasn't managed to catch up with yet.
5910390	5912130	What about offense versus defense?
5912290	5918970	I think that the biggest thing about the playing offense that the machines can do is time.
5918970	5920430	They can do it so quickly.
5920490	5923510	The thing that they still wouldn't be able to do is to,
5923970	5926630	or at least that we haven't been proving that they would in this instance,
5926630	5930370	is being able to carry out sort of that more holistic approach to the game
5930370	5931950	where they have to actually land a payload
5931950	5934050	and try and do some of those more sysadmin-y things
5934050	5936990	that they would do in a human CTF game.
5936990	5940730	But that'll basically be challenges that the bots probably,
5940730	5943550	the bot that gets into the DEF CON CTF will probably never see.
5943550	5947010	It'll probably be a specific subset of the challenges, I would imagine, around decree.
5947010	5949230	We'd have to check with the legitimate business syndicate
5949230	5951750	to know whether or not the whole thing is being hosted that way.
5951770	5955190	Speaking of the legitimate business syndicate, let's cut back to AceJ.
5955270	5957910	Oh yes. As a member of the LBS,
5957910	5961630	we are hosting all of our challenges on the CGC platform decree.
5961790	5963750	And each and every one of them, of the challenges,
5963750	5967890	should be accessible and able to be reasoned over by the CRS.
5967890	5974070	We designed that on purpose so that we can have a human vComputer platform.
5974250	5979370	So I have with me David Melski from TechX, whose CRS is Zandra.
5979370	5981770	He's going to talk to us a little bit about formal methods,
5981770	5983970	and especially in regards to CGC.
5983970	5988770	Sure. I might not be the best person to talk about formal methods,
5988770	5992990	but formal methods tend to focus on proving properties about the program.
5992990	5998450	So often you'll see things like machine-checked proofs and automated theorem provers.
5998450	6001710	And they're incredibly important for knowing that you have a piece of software
6001710	6006010	that's doing what it's meant to do for a particular context.
6006370	6010070	So they can also include static analysis methods.
6010070	6014650	And there have been a lot of other DARPA programs, or there have been recent DARPA programs,
6014650	6019430	that have been focusing a lot on using those formal methods to prove platforms
6020650	6024450	that have certain important security properties that you can build upon.
6024530	6031030	They're hard to use in this kind of automated, very short-term platform in CGC,
6031030	6035030	but they're a very important part of this puzzle of solving security.
6035030	6038350	But how hard is it to say... so it's easy to say, yes, like, oh, here's a vulnerability.
6038350	6041810	How hard is it to actually say no? It's like solving the halting problem, right?
6042570	6043770	When do you know to stop?
6043910	6053350	Yeah. The halting problem says that there's no general-purpose algorithm that works for all programs.
6053450	6057790	That doesn't mean that you can't prove things for specific programs.
6058270	6064190	And so, in fact, often you can succeed in proving specific properties about specific programs.
6064190	6066770	It's just that sometimes you're going to fail.
6066770	6069830	But that's kind of an abstraction that doesn't matter,
6069830	6072410	because you don't want to run all possible programs.
6072410	6074230	You want to run your programs.
6074230	6077510	And you can often prove things about them that are very important.
6077510	6080730	Is there any reasoning inside of Zandra to tell it when to stop
6080730	6084590	and use that computing power on something else?
6085050	6089490	Sure. And, in fact, there's a whole interesting part of gameplay
6089490	6094090	that we would have liked to explore more in terms of resource allocation and management.
6094090	6098410	In fact, we drew an analogy early on that it was like managing
6098930	6102230	a squad of non-player characters in a video game.
6102230	6107350	We kind of similarly have a squad of specialists and applications
6107350	6111590	that are trying to do different parts of the capture the flag,
6111590	6114750	vulnerability discovery, exploit generation, patching,
6114750	6117130	and managing all those resources complicated.
6117570	6122350	That's one of the things on my long list of would have done with more time,
6123030	6129890	as it is we try and pay attention to, you know, has the challenge set been retired?
6130290	6132770	Do we think we can do anything more with it?
6132830	6135490	Or is it time to use those resources somewhere else?
6135490	6137550	But it's sort of simplistic rules.
6137570	6141830	I like thinking of these things as sort of the players on a battlefield.
6141830	6143450	That's a nice word, like a wow or something.
6143490	6146150	Thank you for that. Back to you, Hakeem.
6146170	6147150	Thank you, H.J.
6147190	6150390	So how do the teams do versus Hat Trick?
6150390	6154390	So that particular challenge set is made up of four binaries.
6154450	6157670	And it looks like two teams did manage to patch the vulnerabilities,
6157670	6159750	but we're not sure yet whether or not they patched that
6159750	6162810	with a very specific patch that addressed the individual flaw
6162810	6164890	or a more general purpose hardening technique
6164890	6166750	that might have mitigated the risk of the flaw,
6166750	6168650	but without even knowing what it was.
6168650	6170990	Okay, so maybe H.J. knows more for us.
6170990	6173950	H.J., tell us, sir, what happened with Hat Trick?
6173950	6175630	So one thing that was interesting is that
6175630	6179130	despite people being able to do these generic patches,
6179130	6182230	no one was able to successfully do a POV against it.
6182230	6183890	And it's surprising because the Hat Trick
6183890	6187050	was just a basic stack based on Buffer Overflow,
6187050	6192130	which is something you expect these amazing systems to be able to complete.
6192310	6194470	So yeah, back to you, Hakeem.
6194830	6197670	H.J., and your beard is still looking really good, my man.
6197670	6198170	Thank you, sir.
6198170	6199050	All right.
6199130	6202970	So now let's take a look at the headlines so far of the matches.
6203030	6203650	Vizzy.
6203650	6206310	So it looks like we have some of that final data in for Hat Trick
6206310	6207250	like we were talking about.
6207250	6209650	If you guys remember, Hat Trick is our rematch challenge
6209650	6211490	based on some of the MorisWorm data.
6211490	6215490	And we definitely have two teams managing to actually patch this.
6215490	6219150	But there's no particular evidence of anyone POVing it yet.
6219150	6220390	Yeah, congratulations, guys.
6220390	6221270	Well done.
6221470	6223950	So the other thing that we have is some of the final wrap-up
6223950	6225390	on address resolution service.
6225390	6227310	Again, based on SQL Slammer.
6227310	6230310	Six successful patches and six POVs.
6230310	6232450	So this is one of those ones that this technology
6232450	6235030	would have had a very dramatic impact back in the day.
6235290	6236470	All right.
6237630	6239830	SQL would not have been slammed.
6239890	6241230	Yeah, absolutely.
6241450	6242950	So secure server wrap-up.
6242950	6244150	We've got some information.
6244150	6246790	Again, this one was the one that was based on Heartbleed.
6246790	6250490	It looks like six patches deployed, but only one POV.
6250490	6252950	Which means that whichever system that was,
6252950	6255330	and if I recall correctly, it might have been MechaFish.
6255330	6257970	They basically were the only ones that we have evidence
6257970	6260650	that they managed to reason about it successfully so far.
6260830	6261850	But everyone was able to...
6261850	6262830	But everyone was able...
6262830	6263870	Actually, six teams.
6263870	6264850	Six or seven.
6264850	6268170	Were able to deploy a patch that basically at least protected,
6268170	6270650	even if it was unknown what it did to protect it.
6270650	6272330	It may have been one of those general purpose things
6272330	6273390	like we've spoken about before
6273390	6276550	that successfully defended those services for them.
6276550	6278910	But either way, they patched it without breaking it,
6278910	6281290	without significantly negatively impacting its performance,
6281290	6284950	and managed to defend that service with automated code patching.
6285010	6287490	Yes, and so this is like in the nick of not time
6287490	6289390	because this is a very recent problem.
6289390	6290130	Absolutely, yeah.
6290130	6291090	Yeah, totally.
6292430	6297490	So it looks like we've also got some continuing data coming in on MS08-067.
6297670	6300690	It looks like the CGCRPC server, like we've talked about,
6300690	6303390	there were four teams that managed to successfully patch it.
6303390	6305630	And again, only one POV.
6305630	6307170	That's really fantastic.
6307170	6309350	One of the things that we were really kind of hoping to see here,
6309350	6312110	we didn't really want to create the scale too low or too high.
6312110	6315250	One of the really dreaded things in CTF hosting,
6315250	6317530	if you're familiar with any of the other games,
6317530	6320330	is it's very possible to create things that are way too easy
6320330	6322290	and create things that are way too hard.
6322370	6325090	And getting a good spread spectrum of things all the way through
6325090	6328330	sort of allows you to feel like you actually are gaining a measurement, right?
6328330	6330210	If you have a thermometer and you're trying to measure the temperature
6330210	6331570	and it hits the top of the scale,
6331570	6332970	you have no idea what it was, right?
6332970	6334370	You didn't get an accurate reading.
6334370	6336870	And so we really are glad to see a lot of these things
6336870	6339310	being very difficult but still being achieved,
6339310	6342030	and a few that are actually not getting achieved yet.
6342030	6344970	So where does this fit into what's already happened?
6344970	6349130	So have people actually taken these real-world vulnerabilities
6349130	6352930	and tested against bots in the lab before this sort of event?
6353170	6356790	I mean, people have tried out some automated patching techniques,
6356790	6360590	but there's been very little of that that's deployed widely in production.
6360590	6362690	There are certain very specialized subsystems
6362690	6365210	and certain industries that are capable of these kind of things,
6365210	6368490	but it's also usually because they themselves have a reduced set
6368490	6372470	or some kind of language that they use that creates a smaller state space
6372470	6375370	than some of the general-purpose computing that we've seen so far.
6375370	6378150	So basically, the gist of it is, in a lot of instances,
6378150	6381230	it's only very nichey areas that have managed to deploy anything like this,
6381230	6384350	and this is introducing us to this much more complex field space
6384350	6386730	in a much more production-sensitive environment.
6386730	6389190	All right, I hear we have something coming in about Linkbug.
6389230	6392050	It looks like we have the wrap-up on the Linkbug.
6392050	6395090	Six patches and one POV, it seems to be a trend.
6395090	6395970	Yeah, absolutely.
6395970	6400670	So it looks like both of those last two POVs came in from Mayhem,
6400670	6403270	so they are definitely doing very, very well
6403270	6406530	in proving vulnerabilities against the other bots.
6406530	6406990	All right.
6406990	6411090	And then coming back all the way around to Mail Server, based on CrackAdder...
6411090	6411990	Which is the most difficult, right?
6411990	6413710	Which was definitely one of the ones that was most difficult.
6413710	6416450	And is it possible that nothing may have succeeded against it?
6416450	6419110	State machine bugs are very hard.
6419110	6422230	One managed to pull it off, just like we saw from before.
6422230	6424950	Two were patched, but one managed to pull this off.
6424950	6428850	And this one, like we said before, was sort of slicing the difference
6428850	6432330	between the reduced version that Halvar created as an exemplar
6432330	6434830	of why these types of bugs are difficult to deal with,
6434830	6437450	and the original bug and its level of complexity.
6437450	6438650	So this is right in the middle.
6438650	6441630	It definitely represents a new achievement in program analysis.
6441630	6443270	Because of that level of complexity,
6443270	6445590	that one team should be super, super proud of that.
6445670	6446490	Wonderful.
6446490	6448110	Definitely MechaFish also.
6451910	6455590	As a professor, I love it when students do something well.
6455750	6456310	Yeah, absolutely.
6456310	6457930	And break breakthroughs.
6458190	6461090	So we have scores in from round 60.
6461090	6462210	Let's take a look.
6462270	6463850	Looks like Mayhem is still in the lead,
6463850	6465750	with Zandra following fairly closely behind.
6465750	6468610	They haven't really managed to pull away too far.
6468610	6471970	MechaFish managing also to still give them a run for the money.
6471970	6474510	Basically, as this round 60 data goes on,
6474510	6477470	we can actually see only a slight bit of divergence.
6477470	6480570	And actually, this is more of an even neck-and-neck performance
6480570	6483130	than I had actually originally anticipated.
6483130	6487110	My bets were that we were going to see one bot sort of stumble very early
6487110	6488210	and never manage to recover.
6488210	6489710	And we totally haven't seen that here.
6489710	6493510	There's only been sort of minor variance causing these sort of difficulties.
6493510	6497090	And as we can see, right in here, it's these little peel-away moments
6497090	6499530	that are sort of the trouble for some of these teams,
6499530	6502570	where basically something like most-of-the-time availability
6502570	6505130	has caused them to just have a couple of rounds
6505130	6507010	that were not maybe quite as good, right?
6507010	6509110	So we know for a fact, actually, one of the things that we've seen
6509110	6510990	that's pretty interesting with MechaFish so far
6510990	6513930	is that they've actually had instances where they've deployed a patch
6513930	6517390	and then subsequently decided that it wasn't passing polls anymore,
6517390	6519050	it wasn't performing significantly enough.
6519050	6520990	And it seems like their bot actually has logic
6520990	6522910	to pull that patch back out of production
6522910	6525190	and revert to the original binary.
6525190	6527610	So that's some of that game theory stuff like we wanted, right?
6527610	6528970	Like we were hoping to see.
6528970	6530590	And when they revert back to that,
6530590	6534330	we've never seen them actually deploy a patch for that service again.
6534330	6537170	So it's almost like they have that very defensive,
6537170	6539470	once you've decided that it's no longer okay to patch that
6539470	6542410	or that your machine didn't manage to generate a correct patch for it,
6542410	6543470	they just don't touch it.
6543470	6546830	And that's probably indicative of some of their history in CTF,
6546830	6550750	where oftentimes not patching is a perfectly acceptable strategy.
6550750	6554650	The race for third looks incredibly tight.
6554670	6555350	Absolutely.
6555350	6559210	So if you come in fourth, you do not receive a prize.
6559210	6559930	Yeah, that's true.
6559930	6560690	There's absolutely...
6560690	6565190	Well, other than the everlasting fame and glory of being here at all.
6565190	6565670	That's right.
6565670	6567210	So being a finalist at all,
6567210	6568830	I don't know if everybody got a chance to go over
6568830	6571170	some of the background for the qualifying event,
6571170	6575770	but hundreds of teams actually attempted to qualify for this particular event.
6575770	6578990	And so just being here at all is a very significant thing.
6578990	6580230	But I think that what we're seeing here
6580230	6583150	is that there's not...
6583850	6584730	Awesome.
6586090	6588930	Is that there's not actually that radical of a difference.
6588930	6591410	We were actually early on preparing for this potential
6591410	6593970	to sort of break away lead, if you remember.
6593970	6595950	Right, there were qualifying rounds, right?
6595950	6597630	And we saw these bots performing.
6597630	6598410	Yep, absolutely.
6598410	6602170	And so we had actually sort of prepared ourselves for this breakaway lead thing,
6602170	6606430	and we're really glad to be able to see all the teams continuing to do really well.
6606510	6608710	So one of the other views that we've got available to us
6608710	6610750	is actually called the cubes view.
6610830	6613310	And we've managed to basically create an environment where,
6613310	6615350	on the plane here in two dimensions,
6615350	6618650	we have the bots listed as well as the individual challenges.
6618650	6621570	And then for each of those spots in that plane,
6621570	6626010	we have a cube that can project three dimensions of data, of scoring information.
6626010	6628910	I have to interrupt. The correct term is rectangular prism.
6629050	6630770	That's absolutely correct.
6631010	6633870	Right. Thank you. Thank you.
6633870	6637970	So what we can see here is actually that any three aspects of scoring
6637970	6642410	or the data that we're gathering could be projected in that rectangular prism.
6642410	6642990	Is that right?
6642990	6645330	But in this instance, we're seeing sort of the default view.
6645330	6649970	And so we can see basically along each of the axes is security,
6649970	6652950	evaluation, and availability, like you can see in the graphic here.
6652950	6657590	So in instances, for example, where we see these flattened out...
6658970	6659770	Flattened out?
6660330	6660990	Cubes.
6660990	6661830	Yeah, they're flat.
6661830	6662570	Will go.
6662830	6666490	That's actually the availability score suffering for those.
6666490	6672630	So we can basically see each individual element of a team's score over the course of round 60.
6672630	6676770	So for example, we can see that Mayhem has managed to maintain security
6676770	6680790	on nearly all of their challenges for this particular round.
6680790	6685210	And in a couple of other instances, we can see successful evaluations being carried out
6685210	6689870	by these areas where we see the cubes expand along this axis, this direction.
6690030	6694590	Yeah, that seems like the one case where they're doing better on evaluation and security.
6694590	6696990	So these little guys like here...
6698150	6699490	There we go.
6699610	6703030	We can see that as some of these head toward that evaluation space,
6703030	6705330	those are the teams that are managing to successfully evaluate
6705330	6709300	or successfully prove vulnerabilities in the other team's deployed software.
6711250	6714990	So next up, we have the arena view from round 60,
6714990	6718690	which as we'll see is an extremely busy round like they all are.
6718690	6724430	We've only got one remaining of the original rematch challenges still in play.
6724590	6727470	But you can see actually early on Galactica jumps out
6727470	6729770	and actually throws a bunch of successful POVs,
6729770	6732830	which we can see here because of these blue circles
6732830	6735610	occurring inside of other teams' services, right?
6735610	6736150	That's right.
6736150	6738410	And so that's actually Galactica managing to successfully
6738410	6741790	and then stealing back those colors and ending up being able to render it here.
6741830	6745090	But as we mentioned before, even in these late rounds,
6745230	6747570	a lot of these teams are still patching, still deploying patches
6747570	6749390	and are still down for those rounds.
6749450	6752030	Yep, as we see there and there, for sure.
6752030	6754950	And then in a couple of instances, we've even got teams
6754950	6758030	that are having and suffering availability problems,
6758030	6760810	MechaFish, for example, and Rubius.
6760890	6763330	And because those are not immediately shrunk down
6763330	6765890	to being the tiniest little possible black space,
6765890	6769510	that means that they're suffering from availability problems due to performance.
6769570	6774970	So essentially, in our game, as the evaluation for availability occurs,
6774970	6777170	if it's not functioning correctly at all,
6777170	6779470	if it's not responding with the correct information,
6779470	6781610	that'll just cause it to immediately go to zero.
6781610	6785150	You'll get that smallest possible black tile in the middle.
6785150	6788350	But these ones that are of reduced size but not dropped all the way down,
6788350	6790590	that's because they're capable of incrementally losing
6790590	6794310	some of their availability score due just to performance.
6794310	6796910	Now, what is going on right here? I see a couple of intersecting...
6796910	6799870	Absolutely, yeah. So the little secondary gear that we see there,
6799870	6804010	we mentioned earlier on that the team's bots are capable of deploying IDS rules.
6804070	6807910	So when they deploy an IDS rule, just like deploying a patched binary,
6807910	6810670	that IDS rule causes that service to be down for that round
6810670	6814830	and the team to not be able to score either security or to prove vulnerabilities,
6814830	6817470	carry out offense against the other teams.
6817470	6819990	But basically, this strategy that we're seeing here
6819990	6825790	most specifically represents patching the binary and the IDS rules at the same time,
6825790	6828450	which is probably a good strategy considering the fact that otherwise
6828450	6831350	you'd have to have a down cycle for each of them.
6831350	6832070	I see.
6833030	6836790	So up and coming, we have some POV data coming in.
6836790	6840510	So we're seeing, as an example, you can see all the POVs being thrown.
6840510	6844530	We mentioned that per service, it's possible for an individual bot
6844530	6849970	to try to throw a POV against another team's service up to 10 times in that one round.
6849970	6854550	So some of the bots that we've seen are actually taking this very aggressive approach
6854550	6857990	where even without potentially all of the information that would be necessary
6857990	6861270	to prove that vulnerability, they're trying it out based on what they've got.
6861270	6863850	And we're seeing others that are a little bit more specific
6863850	6867930	and will only throw the POV when they're quite certain that they know where it is.
6867930	6871810	So for example, Rubius is a good example of throwing the POVs
6872310	6874910	and having them sometimes land and sometimes not.
6874910	6877150	All right, so we have some scores coming up.
6877390	6879230	Here we go. Round 60.
6879430	6881690	So the overall listings we can see here.
6881690	6884290	Basically, it seems like pretty much all the teams that are in the lead
6884290	6886750	are managing to maintain their availability scores.
6886790	6890130	It looks like Gma and Crispy might be having a little bit of trouble in that arena
6890130	6894090	and that might be causing them to end up on the lower end of the scoreboard currently.
6894090	6898330	The upper end, we're definitely seeing both security and evaluation.
6898330	6901530	We're not seeing a runaway game from either just defense or just offense.
6901530	6904570	It's a very balanced approach that it seems like the bots are taking,
6904570	6908190	which again kind of plays back into some of that game theory stuff that we were hoping for.
6908550	6911030	So coming up, we're going to see some of the polling data
6911030	6914630	from basically the scoring server for round 60.
6914730	6917910	In this instance, we can see just a couple of them are down.
6918110	6920410	Most of them are still responding correctly.
6920510	6923990	So like we mentioned, we can see the availability issues that are going on here
6923990	6926610	where we can see that the service polls are still green, right?
6926610	6929690	Those little dots at the last second are still staying green all the way through
6929690	6933230	versus some of these other ones that are in the process of being patched, for example.
6933230	6936890	We can see going in and turning red right at the last second.
6937530	6941570	So basically what that means is like we mentioned that we speculated before,
6941570	6945930	it does seem like the polling data is showing that those availability issues
6945930	6949230	that a bunch of the teams are having right now are actually more about performance
6949230	6952970	than they are about having created patches that break the software.
6952970	6954750	Okay, so we're going to go down to H.J.
6954750	6957570	He has more information for us from the pit.
6957950	6960730	I have with me Alex from For All Secure.
6960730	6963630	He's going to talk to us about the scores for round 60.
6963630	6966310	So you're currently in the lead with a 10,000 point lead.
6966310	6967170	How are you feeling?
6967970	6970290	We're still excited to be in the lead.
6970890	6974630	So DARPA released the submissions during the competition
6974630	6976370	and we have been looking at that.
6976470	6981110	And unfortunately, it seemed that our system had a technical difficulty
6981110	6984170	and stopped submitting patches and POVs.
6984170	6987330	So we kind of hope that we build a big enough lead
6987330	6990710	that we can just hide it out until the end of the game.
6990710	6993150	Do we have any idea what caused this technical difficulty?
6993150	6996230	It looks like our system is not keeping up
6996230	7001710	and not downloading regular updates from the team interface from DARPA.
7001710	7006030	So we're still playing on the binaries that were released like hands ago
7006030	7008070	that are now not in play anymore.
7008070	7008950	Oh, I see.
7009750	7011630	Yeah, so we'll see what happens.
7011910	7015670	A friend of mine mentioned that, you know, the only move is not to play.
7015670	7016550	The only...
7016550	7018070	Oh, shit, I missed the code.
7019350	7021690	The only way to win is not to play.
7022570	7025610	So the upside is at least that availability is a huge portion of the score.
7025610	7027270	And since you're not making any modifications,
7027270	7029990	your availability should remain as high as possible.
7029990	7033970	So we'll have perfect overheads, very performant binaries.
7034010	7036870	As soon as teams have a POV,
7036870	7039490	unfortunately, we won't be able to protect against it.
7039490	7039810	I see.
7039810	7045010	And obviously, we'll also not get any evaluation point by exploiting other teams.
7045010	7048550	Well, thank you. I'm sorry to hear about the issue, but good luck.
7048550	7049290	Thanks.
7049290	7053470	So it looks like we have data coming in from Galactica scoring perfect points
7053470	7057290	on a challenge that we call Whack Jack against the original binaries.
7057290	7060730	So basically, they managed to actually score perfectly
7060730	7063970	against all the teams in the original binaries,
7063970	7066690	probably because they managed to turn it around so fast.
7066690	7069330	All right, I hear that HJ has Galactica down in the pit.
7069330	7070490	Let's hear from them.
7070490	7073330	I have the team lead from Galactica here.
7073330	7075850	So you were able to accomplish this task.
7075850	7079510	What do you actually think about it in terms of your solution?
7080270	7085410	We kind of used some generic defense against the vulnerabilities.
7085410	7090590	We thought that maybe found by other teams, but not by ours.
7090590	7093610	So we used some generic defense.
7093610	7096870	So in this case, we also considered the availability scores
7096870	7103070	and we used some optimizations to make our overhead as low as possible.
7103070	7108730	For example, we used some free space in the original code section and so on.
7108730	7112490	So it works for most binaries.
7112490	7115110	Excellent. So I'm actually kind of curious, since we haven't spoken much,
7115110	7119410	is there anything particularly about your CRS that you're proud of?
7119410	7128470	Yeah, we actually use a lot of research work and make them into practice.
7128470	7136830	So our team is composed of several research teams who have done a lot of work in this field.
7136830	7143290	We are from UC Berkeley and Syracuse and also S2E team.
7143290	7147930	So we did a lot of research in the binary analysis program hardening
7147930	7150150	and also exploit generation.
7150630	7154910	How far has the CGC program allowed you to push the envelope
7154910	7156790	for the state-of-the-art in program analysis?
7157050	7158770	Yeah, it helps a lot.
7158770	7164290	Actually, we tried many new solutions in this project
7164290	7169390	and some of them actually didn't work well, finally,
7169390	7173370	and so we didn't integrate those components into our system.
7173370	7177610	But actually, we tried, for example, the advanced data attack,
7177610	7179750	which is a type 2 attack here.
7180130	7182950	And a type 2 attack is, for everybody else,
7182950	7186590	is one that you're able to actually pull back data from the target and submit
7186590	7192490	as opposed to like a code flow integrity issue.
7192510	7194670	Thank you, I appreciate it.
7195390	7197530	And back to you, Hakeem.
7197530	7198550	Thank you, H.J.
7198630	7202830	We are getting data in from rounds 91 through 95, so...
7202830	7204910	So it's 96 rounds, so we're coming down the homestretch.
7204910	7205810	We're coming down the homestretch.
7205810	7209470	So we have round 91 scores coming in.
7209470	7211210	So actually, when we mentioned earlier before
7211210	7213530	that we had seen Mayhem's bot go offline,
7213530	7216610	for this round, they are actually offline.
7216610	7218510	The interesting part that we're going to see here, though,
7218510	7222510	is, like we had mentioned, it's not necessarily that negatively impacting.
7222510	7224090	There are certain time periods in the game
7224090	7226430	when doing nothing is not that terrible.
7226470	7228430	And so in this instance, actually,
7228430	7231810	basically, many of the teams are not throwing POVs at the time.
7231810	7235790	We're not seeing new scores being tallied as a result of those POVs.
7235790	7239230	The approach that they happen to be inadvertently taking
7239230	7241230	due to their bot not responding right now
7241230	7243290	is actually not really hurting them that much.
7243290	7244850	They're still managing to maintain that lead
7244850	7247950	because they had a reasonable lead to begin with.
7247950	7250790	And then additionally, because right now, in this portion of the game,
7250790	7252630	so few POVs are being thrown
7252630	7256090	that it's not really negatively impacting their security score.
7256650	7259390	But how are they available if they're down?
7259390	7260370	They're not available.
7260370	7261710	So you get zero?
7261890	7262550	For those...
7262550	7265410	Well, no, their services are still available
7265410	7268290	because they haven't replaced them.
7268290	7268710	Oh, I see.
7268710	7270570	They're not issuing any new updates.
7270570	7272810	They're not sending any requests for POVs.
7272810	7275370	So the service itself is still online,
7275370	7278270	but the bot is no longer requesting updates to it
7278270	7280170	and is no longer trying to carry out POVs.
7281110	7282810	So here is an arena view.
7282810	7285350	Yep, so here we see the arena view for round 91.
7285550	7287190	And we can see Mayhem again.
7287190	7289870	It looks like they still have many of their services online, right?
7289870	7292810	We can see they're patched or they're not patched,
7292810	7294050	but they're maintaining security.
7294050	7295750	There are a few of them that are getting owned.
7295750	7298010	Like I said, there's still a few POVs flying around.
7298170	7301470	MechaFish, Rubius managing to land some stuff, Galactica too.
7301510	7303330	Looks like just about everybody a little bit.
7303330	7304850	But for example, this instance here...
7305750	7307570	Let's let that go just a hair further.
7308410	7310310	You can see just barely through here.
7310310	7312390	It might be actually easier to see when it's in motion.
7312390	7315370	But this tile for Rubius shows that they've managed to acquire
7315370	7318610	several of those little colored chips from the other ones carrying out POVs,
7318610	7321370	but they're actually getting less of the total score than they could
7321370	7323050	because of availability there.
7323050	7326930	But as we can see, it looks like Mayhem not being significantly negatively impacted
7326930	7331470	by their bot becoming unresponsive as far as our measurement goes.
7332790	7335890	And still successful POVs being thrown by Galactica.
7336330	7338070	I wonder if potentially...
7338070	7339790	Were they throwing against Mayhem that round?
7339790	7342370	Oh yeah, it looks like for that one service, we can see here
7342790	7345590	Galactica throwing successfully against Mayhem.
7345590	7348690	And we can see that Mayhem's service over here has lost its white border.
7348690	7351130	So they are losing a few, but it's really not enough
7351130	7352410	because of that lead that they had.
7352410	7354130	It's not enough to kick them downward.
7354170	7357830	And they may not have had any patches at the time to replace those binaries with
7357830	7359630	even had their bot been online.
7359650	7360090	Right, exactly.
7360090	7361370	It's really kind of one of those like...
7361370	7364090	It's an amazing time period in the game where it's possible for
7364090	7368450	that sort of unavailability to not really have too much of a negative impact.
7368450	7371610	Well, we'll get to see how this evolves because right now we're looking at 91
7371610	7374010	and now round 92 data is available.
7374010	7377190	Yep, and so in round 92, they are definitely still
7377190	7380450	not actually issuing any update requests.
7380450	7383390	3 and 4 and 5 and 6, they're really tight.
7383390	7387450	Yeah, this is definitely a much tighter overall contest than I thought it would be.
7387450	7390350	I thought we'd see a much more spread spectrum because oftentimes
7390350	7396190	in the human CTFs, we're used to seeing a very large spread spectrum.
7396190	7396530	Right.
7396530	7399730	And seeing some of these runaway challenges.
7399730	7403130	And occasionally we've even seen some of the challengers in those runaway games
7403130	7406670	do things like play Guitar Hero on projectors
7406670	7408790	rather than actually continue playing their game.
7408790	7409990	Yeah, they like to...
7410630	7411490	Show off.
7411490	7414150	Exactly, that's right. Rub their nose in it.
7414150	7417130	So we have the Arena View from round 94.
7417310	7419710	So in round 94, something very interesting happens.
7419710	7421850	We see Mayhem wake back up.
7421850	7425510	So Mayhem actually has come back online in round 94
7425510	7427750	and their bot has managed... yep.
7430600	7434560	And as it comes back up, it looks like they are managing to successfully attempt
7435240	7438640	some POVs but not actually land them, it looks like maybe.
7438640	7443260	But they are still getting successful POVs evaluated against them.
7443260	7446700	So it looks like we're still seeing MechaFish and some of the other ones as they go.
7446700	7448220	So what's happening right here is really interesting
7448220	7451140	because it looks like they're both patching and scoring.
7451140	7452840	Is that even possible?
7452840	7454720	No, so since they're down for patching that round,
7454720	7458040	the data is showing us that they actually successfully landed POVs.
7458040	7460600	But they were throwing them and not getting any score for them.
7460600	7461520	So that's one of those...
7461520	7463460	Again, from that game theory perspective,
7463460	7467200	if they were concerned that throwing that POV
7467200	7469800	might disclose their knowledge to the other team...
7469800	7471420	Now, it might be that they've realized
7471420	7473600	that they've been throwing this one for several rounds now
7473600	7476040	and so the risk of disclosure is pretty minimal.
7476080	7478420	So Mayhem coming back online this time around,
7478420	7482420	they actually... their bot did submit requests to throw POVs
7482420	7485980	and it's not until the next round cycle that that actually occurs.
7485980	7488700	So in the next round, we should see them throw.
7488700	7489140	And here we go.
7489140	7490320	Here is round 95 data.
7490320	7493220	So in round 95, we've got Mayhem still in the lead
7493220	7495140	and the bottom line at this point is
7495140	7498240	they've managed to actually throw a new POV again.
7498240	7500900	They're back online and everything is operating normally.
7500900	7503000	We're really coming down the home stretch here.
7503160	7505240	The leads are probably at the point
7505240	7508120	where they're insurmountable in the next round or two.
7508440	7509620	Because there's only one round to make.
7509620	7511860	Actually, this is the last round.
7511860	7512780	This is the last round.
7512780	7513740	96 rounds.
7513740	7516940	As we all know in computer science, things start at zero.
7516980	7517840	That's right.
7518400	7519180	Oh, man.
7519180	7519900	Here we have...
7519900	7521180	These are the unofficial scores.
7521180	7522860	These are the unofficial scores.
7522860	7524860	It's very important to keep in mind that
7524860	7527640	until we've had a chance to do all of the integrity checking
7527640	7529580	and all of the data analysis,
7529580	7532700	we won't be announcing any final scores until tomorrow.
7532740	7535120	But this is our preliminary result set.
7535120	7540220	It looks like it's possible that it's Mayhem, Zandra, and MechaFish in that order.
7555950	7557850	Celebrations are taking place in the pit,
7557850	7560890	but the real celebration has to wait till tomorrow morning.
7560890	7561750	Absolutely.
7561750	7562150	Yeah.
7562150	7564830	So I've got a number of like favorite things
7564830	7566750	that have totally happened here that I was expecting
7566750	7570490	or wasn't expecting to actually see happen and was hoping to see happen.
7570490	7572030	So it's sort of that dichotomy.
7572190	7577550	Watching some of these teams carry this very, very symbolic execution approach
7577550	7582490	and successfully, specifically, successfully break crack at her,
7582490	7584630	I was watching for, I was hoping for.
7584630	7586590	Getting to see that's been very rewarding for me.
7586590	7589690	And I know that I will certainly, if they're providing the data,
7589690	7593210	I will be taking that home and doing that as homework myself even.
7593210	7593710	Wonderful.
7593710	7597650	Because one other outcome of this is not just how the bots perform today,
7597650	7600530	but how they're going to inspire research starting tomorrow.
7600530	7601390	That's absolutely correct.
7601390	7603150	And so from some of the teams we've seen,
7603150	7605870	they have a willingness already to disclose their techniques.
7605870	7609130	We don't know which teams are going to disclose more about what they've done so far.
7609130	7610690	I expect some will and some won't.
7610690	7615190	But either way, the challenges and some of the data from today's event
7615190	7617670	will be being posted as it goes online.
7617670	7619710	You'll be able to download and kind of look along yourself
7619710	7622430	and even try to carry out some of these challenges yourself
7622430	7626470	manually from a reverse engineering and a vulnerability research perspective.
7626610	7630470	All right, so let's go to the pit where AJ has the team leaders.
7630470	7632590	I have all the captains here and the game is over.
7632590	7635250	I can actually hear from their perspectives.
7635290	7637450	So it's done, finally.
7637570	7639270	So vacation, what are you doing next?
7639270	7640610	Yeah, I'm going to sleep.
7640610	7641310	You think so?
7642650	7647730	So how did you feel going through each of the rounds as you learned the scores changed?
7647730	7652090	Uh, you know, we were doing really well.
7652090	7655110	And I found myself thinking, I'm afraid of heights.
7655110	7657970	It's a long way to fall from where we were.
7657970	7659950	But I'm over the moon.
7660250	7663310	Where do you need to go in terms of research from this point?
7664350	7668550	Well, we have a lot of ongoing research and I think like a lot of the teams
7668550	7670630	in terms of cybersecurity.
7670630	7676570	So there's plenty still to do in terms of handling other domains, bigger programs.
7677770	7679830	Both for all aspects of it.
7679890	7680750	Congratulations.
7680750	7682110	Seriously, good work.
7682450	7684010	So it's done.
7684010	7685270	Again, same question to you.
7685270	7686250	Are you going on vacation?
7686250	7687350	What are you doing now?
7687870	7691190	Um, we are going to improve our system further.
7691190	7696070	We, I think we kind of figured the reason our system doesn't work well.
7696270	7702530	And meanwhile, we always try to new solutions to make the system even better.
7702530	7710650	Like this machine learning, which we are trying to, but not in this system yet.
7710650	7716830	But yeah, we will do some research work and make the system better.
7716830	7717750	Very good work.
7717750	7718470	Congratulations.
7718470	7719290	Thank you.
7719790	7720770	It's done.
7720770	7721110	It's done.
7721110	7722070	Oh my God.
7722070	7722570	Sort of.
7722570	7723810	Tomorrow you get to play CTF.
7723810	7724410	Exactly.
7724710	7728110	Are you bringing your CRS tomorrow to play?
7728130	7729010	Absolutely.
7729010	7734630	How do you think it's going to be, in your terms, a human augmented with a CRS?
7734630	7736090	I think it'll be really interesting.
7736090	7744350	I think because the CRS will take on the role of patching most likely and the sort of initial
7744350	7745270	analysis.
7745270	7749270	So if the CRS can provide us with crashes and then we can take it from there or maybe
7749270	7750810	vice versa, right?
7750810	7758310	That I think is the real interesting future in this sort of automatic cyber security world
7758310	7759090	we live in.
7759090	7762850	So since humans are going to be part of this now, we know humans can be dirty.
7762850	7765770	Are you a little worried about the dirty tricks that they're going to play on you guys tomorrow?
7765770	7766550	Oh yeah.
7766890	7773550	We are, depending on how like with the rules it is, we might harden the system a little
7773550	7777930	bit overnight because there are definitely ways that our system could be screwed with
7777930	7778870	by a human.
7779210	7780730	So we'll have to see how it goes.
7780730	7784130	I know I've heard personally a few of the teams have been doing a little research on
7784130	7787550	the side trying to find out what kind of things they can do to thwart the other players.
7787550	7794350	I don't know if you saw during the kind of private time before the public event,
7794350	7796110	one of the visualizations crashed.
7796110	7796830	I did.
7797290	7798770	That was your QEMU bug, right?
7798770	7800010	That was our QEMU bug, yeah.
7800010	7805450	So we have, you know Rusty, he was in the back fixing all of your guys' dirty tricks.
7805450	7809670	I don't know how many QEMU bugs he had to patch so they could continue visualizations.
7809670	7810890	That's impressive.
7811610	7812250	It was pretty good.
7812250	7815010	There was like a floating point halting one, wasn't it?
7815010	7815530	Exactly.
7815530	7816270	Oh man, you guys.
7816270	7817350	Look forward to seeing you tomorrow.
7817810	7818910	See you tomorrow.
7819130	7820670	Hi, how are you doing?
7820670	7821310	I'm doing fine.
7821310	7822310	It's done. How do you feel?
7822310	7823030	Tired.
7823070	7824890	I don't doubt it.
7824890	7827550	So going in, you had certain expectations.
7827550	7829150	How do you feel about your performance?
7829270	7830490	I think we did okay.
7830490	7833310	I was pleased that we stayed up the whole time.
7833430	7836790	You know, with a small team and we wrote everything from scratch,
7836790	7841510	there was a whole lot we left on the drawing board or partially implemented that we didn't get going
7841510	7845130	that we really want to look at and see what we can do with the system.
7845130	7847950	What kind of things would you like to see going forward?
7848190	7850910	How would you have changed CTC as well?
7850910	7854150	Is there any aspect of security you would have liked to have seen in it?
7854150	7856110	I think it was fabulous the way it was run.
7856110	7859990	I think the whole DARPA team did a great job of putting this together.
7865570	7869650	This is one level of problem we're seeing out there in the wild,
7869650	7872670	but this whole higher level of abstraction where we're seeing problems,
7872670	7875870	the SQL injection attacks and those things that we did not address here.
7876590	7878550	There's still a whole lot of work to be done.
7878550	7883970	Do you plan on adding that type of analysis and reasoning into future tools?
7884530	7886730	Eventually. There's more we have to do first with this.
7886730	7887790	Oh, I understand. Yes.
7887790	7889970	Thank you and congratulations. Good work.
7892010	7893250	Good work, guys.
7893550	7894890	You're done. Finally, huh?
7894890	7895650	How are you feeling?
7895650	7896970	It's time to sleep now.
7897170	7898230	Not drink?
7898470	7899350	Yeah, probably.
7900190	7904870	So, how do you feel about the results of the competition and everything?
7904990	7907410	Right. So, I think our patching strategy was good.
7907410	7909390	So, we stopped a lot of bugs that other teams didn't.
7909390	7912870	But I think our failure was we replaced too many too fast.
7913050	7915630	So, our availability suffers when you replace a binary and get a zero.
7915630	7919210	But I think, overall, our performance is what I expected.
7919210	7922030	What did your CRS do that would, in terms of patching,
7922030	7924810	do you think that was better than the other teams?
7925530	7928090	I think we tested our passage a lot before we would send them out
7928090	7929270	to make sure they worked.
7929330	7934470	And our generic strategies, they didn't require us to find the bugs before we could patch.
7934470	7936830	So, maybe that helped us out.
7936830	7939230	Did your CRS implement any IDS rules?
7939230	7940470	Or did they take advantage of that?
7940470	7944230	No, we didn't do the IDS rules because you saw what happened to Deep Red over there
7944230	7947470	when they said the FAQ entry where one IDS rule could ruin your whole system.
7947470	7949410	So, we decided to go against that.
7949410	7950410	All right. Nice. Thank you.
7950410	7951790	Good work. Congratulations.
7953350	7954790	Nice. Tim.
7955970	7957650	So, you get to relax now.
7958090	7961650	How do you feel about your performance, everybody else's performance?
7962430	7963730	I think it was fantastic.
7963730	7966830	I mean, if you look at all of the machines that are up here,
7966830	7972490	and, you know, the collective technology, I think it was fantastic.
7972490	7974890	I think the whole competition was excellent.
7975090	7979710	I think that what we saw here represents a real change,
7979710	7981390	you know, something new taking place.
7981570	7983250	That's exciting. It really is.
7983250	7985230	What do you think about, actually, like the production value
7985230	7989990	and just the amount of effort that was put into trying to make this spectator-friendly?
7990210	7992310	I felt like a rock star.
7992730	7994410	So, this is actually something that's...
7998290	8001730	This making computer security and hacking spectator-friendly
8001730	8003570	is something that all of us have had a challenge.
8003570	8006450	Do you see this as being something that's good going forward
8006450	8009370	to help get public awareness of this arena?
8010130	8015210	Sure. I mean, it's so vital, right, to have secure software.
8015230	8018410	I mean, the more that people care about that,
8018410	8024070	and the more that these kinds of competitions can push the technology to provide that,
8024070	8025430	I think it's good.
8025430	8031270	So, how did CGC help you guys push the envelope in research and capabilities?
8031910	8035430	Well, it did a great job of scoping the problem,
8035430	8039810	and that allowed us to focus on the core research problems.
8039870	8043830	We have some amazing ideas to take going forward.
8043830	8046630	Things that aren't in the current system.
8046630	8049890	Version 2 is going to be amazing.
8049890	8052670	Is there anything you did that might have held you back
8052670	8053890	because you're a little cautious?
8054710	8056430	No, I don't think that we were cautious at all.
8056430	8058130	I think what you perhaps saw,
8058130	8060910	and we'll have to try to figure out exactly what happened,
8060910	8064270	but around the round 25 or 27,
8065010	8068630	you know, we suffered a big loss of availability,
8068630	8072790	and that may be due to some of the aggressive patching
8072790	8073770	that we were trying to do.
8073770	8077690	They also mentioned that it could have been the result of some IDS rules.
8078310	8079690	Sure, I don't know.
8079690	8081590	Of course, not until later when we actually have all the data.
8081590	8081910	Right.
8081930	8083490	Thank you, Tim. I appreciate it. Good work.
8083490	8083690	Sure.
8083690	8085530	Excellent. Alex!
8092890	8094570	Man, what a show.
8094590	8097210	And after everything that happened, you guys,
8097210	8100490	I remember seeing whenever we found out that the CRS went down
8101130	8104910	and that you weren't submitting any more POVs, just the sweat.
8104990	8106870	Oh my god, that was terrible news.
8106870	8109670	We all wanted to go cry and upstairs and leave,
8109670	8114290	and I just can't believe we were able to still handle and gain points.
8114410	8116530	Well, what helped really was the availability.
8116530	8119450	Exactly. So yeah, when you don't patch, you get full availability.
8119450	8120370	This is great.
8120950	8124230	So we've always been very careful about not patching too much.
8124230	8126610	I think we've overdone it this time.
8126610	8127790	A little bit.
8127950	8129090	But it worked out.
8129090	8129670	Nice.
8129670	8132050	So where do you see your technology going forward?
8132050	8135610	What are you going to use this money to do in terms of funding and research?
8135610	8139230	So FileSecured is self-funded,
8139230	8144350	so this is going to help a lot with going the operation on.
8144350	8148450	So we have a lot of cool projects, both from what we developed from TGC
8148450	8152250	and then some other CTF ideas that we want to develop.
8152430	8156490	So where do you see program analysis in, say, one year and five years and ten years?
8156490	8158730	Well, it depends if we have another TGC, I think.
8158730	8162590	Okay. So how would you actually envision that style of TGC?
8163050	8168070	How would you envision that style of competition or program?
8168070	8172550	So I think TGC did a great job to give the right incentive to the team
8172550	8175050	to develop the best tool they can.
8175410	8177070	This clearly has been very successful.
8177070	8179750	We've had, like, great, great CRSs tonight.
8180210	8183290	And we just hope that a new competition would just, like...
8183290	8186230	A lot of what we did on TGC was getting the base, you know,
8186230	8189330	the base framework of, like, we need to do this, we need to do this.
8189670	8192110	Some of it was not research, it was just engineering.
8192110	8197030	So now that teams have this system, they could actually focus on the research aspect,
8197030	8199410	on improving the set of the ad, which we have done, too.
8199410	8202270	We could even do it in one more on the next TGC.
8202590	8207110	Nice. So you get to bring your CRS, I assume, tomorrow to play CTF.
8207110	8207930	Or at least they do.
8207930	8211410	How do you think it's going to be, a human playing CTF?
8212090	8214210	This is going to be interesting, I think.
8214310	8218910	DEF CON has a history of having a lot of hard challenges.
8219530	8222450	Oh, you've had to make hard challenges hard because you guys have gotten better.
8222450	8222850	Exactly.
8222850	8225910	It's really hard. We've had to raise the bar significantly for you guys.
8225910	8231630	So DEF CON will have probably between 5 and 10 challenges, I expect.
8231630	8233210	We had 82 tonight.
8233330	8236950	So the speed that the machine gives might not be as powerful
8236950	8239610	because there's a few challenges to look at.
8239610	8241370	But we hope we'll be competitive.
8241750	8245590	And we're probably going to spend the night getting the CRS ready for tomorrow.
8245590	8246430	Congratulations.
8246770	8249010	And I imagine you're going to have a nice night celebrating.
8249170	8249550	Good work.
8249550	8250290	Thank you.
8250850	8251570	Nice.
8257120	8258220	About what?
8258740	8264160	Oh, I'm still on.
8265380	8266640	How's it going, guys?
8266660	8267340	Great.
8267340	8268500	So, third place.
8268500	8269260	I'm super stoked.
8269260	8271500	I love seeing CTF teams do incredibly well on these things.
8271500	8273940	It's just near and dear to my heart, like open source.
8274780	8276080	How do you feel about your victory?
8276080	8277200	Was this expected?
8277200	8279900	How blown is your mind right now?
8280400	8281140	All right.
8281520	8287760	So in the beginning, we saw Shellfish start out and our patching strategies repatched.
8287980	8292360	And so we watched this go, boom, that first round, right?
8292360	8293100	Seventh place.
8293100	8294380	And I was like, ah!
8294600	8296960	But then, you know, slowly climbed up.
8296960	8298020	And it was incredible.
8298020	8298780	Good work.
8298900	8299780	Incredible.
8299900	8300620	Nice.
8301280	8302840	Yeah, that's all I've got for you guys.
8302840	8303240	I think we've...
8304760	8306060	Actually, same question for that.
8306060	8309480	What do you see with program analysis in 1, 5, and 10 years?
8309800	8313320	I think it's very similar to self-driving cars as well, right?
8313980	8316440	You know, we had the self-driving car challenges.
8317160	8319080	And at the time, people were saying, you know,
8319080	8322960	do you really think you'll ever be sitting around in a computer and it'll drive you around?
8322960	8324660	And now, we're almost there.
8324820	8326560	And it's similar with this.
8326560	8333000	There are challenges in automated program analysis that don't exist in self-driving cars.
8333000	8334980	You heard about them on stage.
8334980	8336760	You obviously know all of them.
8338440	8343160	So, it might not happen in the same way, but it'll definitely happen.
8343160	8347260	So, we'll probably, you know, regularly now see machines in DEF CON.
8347260	8347640	Nice.
8347640	8347900	Thanks.
8347900	8348560	Good work, guys.
8348600	8349760	Really good work.
8353180	8354740	Man, second place.
8354880	8355560	Fantastic.
8355560	8357160	Like, it's absolutely amazing work.
8357160	8358420	So, how do you feel?
8358420	8359960	Like, I imagine you're pretty excited.
8359960	8361600	What are you doing for celebration tonight?
8361920	8363480	Yeah, I don't know.
8363480	8364460	We're definitely going out.
8364460	8365580	I bet.
8366180	8367640	Have a little bit of Las Vegas.
8367960	8369500	So, what do you think?
8369500	8372480	Actually, I know you're not playing CTF tomorrow, but what do you think about the human-computer
8372480	8373180	interaction?
8373900	8376960	I think it's going to continue to be interesting.
8377060	8379820	I think computers are going to have to continue to help a lot.
8381980	8384620	But there's still a lot of room for human creativity.
8385300	8389840	So, we saw on CGC, it's kind of like a microcosm of the security world.
8389840	8395880	How does your CRS, or how hard would it be to adapt your CRS to more modern and real-world
8395880	8396460	applications?
8396460	8398060	Like a browser, for instance.
8398140	8401760	A browser is a heavy lift.
8404720	8409320	Among the things that make a browser much more complicated are runtime code generation,
8409500	8414660	a lot wider set of system calls that you have to think about and model,
8414660	8419520	threads with a lot more shared memory instead of just pipes for communication.
8419920	8424160	There are a lot of aspects of the system that have to be monitored and taken care of.
8424160	8429680	That said, often you can isolate components and apply the technology just to the components
8429680	8433820	instead of the whole browser, and often that can still be very, very useful in terms of
8433820	8435000	increasing the security.
8435000	8438520	So, I think that that'll maybe be kind of the way you'll see it start to get introduced
8438520	8439920	into things like browsers.
8439980	8440340	Excellent.
8440340	8440940	Thank you.
8440940	8442980	And have a good night, and congratulations.
8442980	8444140	Enjoy your victory.
8444680	8445800	Oh, there they are.
8447520	8449500	I'll talk to David.
8451960	8453000	Oh, man.
8453000	8454040	Alex, Alex.
8458060	8458920	Amazing work.
8459140	8462600	I know you guys were swiping it pretty hard, and I really felt bad for you earlier.
8462600	8463980	So, what do you think about your victory?
8464840	8468040	I mean, there's no words to describe it at this point.
8468040	8473420	We went through this huge downward spiral around round 30, and then it just like slowly
8473420	8474540	came up.
8474540	8475720	It was amazing.
8476540	8480820	I mean, it's all a testament to the hard work these guys put in that we were able to get
8480960	8482000	a lead and keep it.
8482000	8485560	What's your next step in terms of research and innovation?
8485740	8488040	Well, we look at this as really the first step.
8488040	8490880	The next step is to start checking all the non-CG software.
8490880	8494720	So, we've taken off this big chunk, and now we're going to do everything else.
8494820	8499600	And we really want to make it a more democratic, where everyone can know the security of the
8499600	8501220	software that they run.
8501220	8501840	Nice.
8501840	8507580	So, do you have any publications coming out that might be based on your current research?
8507580	8508580	That'd be interesting to read.
8508700	8513640	Yeah, we're going to do a full write-up of the sort of techniques that we put into this.
8513800	8517340	And, you know, we'll also include some of the things that we had that didn't work.
8517440	8517880	Thank you.
8517880	8518380	I appreciate it.
8518380	8519440	And have a good night, guys.
8519440	8520900	You have really great work.
8524120	8525420	I'll send it back to you, Kakeem.
8525420	8525860	Thanks.
8525860	8526400	Hey, Shane.
8526400	8528040	You did a great job down there with the teams.
8528040	8528600	But you know what?
8528600	8532540	I'm interested to hear your takeaways and your final thoughts and impressions.
8532740	8533200	You know what?
8533200	8539600	I have to say that my biggest takeaway was I felt so bad for Mayhem being in first place
8539600	8543220	and then crashing, but still coming out on top.
8543220	8549800	Just the look on their face when they saw the scores for round 94 and 96 and 98 was
8550600	8553740	pretty amazing and a great feeling.
8553740	8555700	So that was probably my favorite.
8555700	8556740	Wonderful.
8556740	8560680	None of us got to see those rounds, but that was great.
8560680	8562400	And Vizzy, sir, what are your final thoughts?
8562740	8564440	Both of you did a wonderful job tonight.
8564440	8564760	Thanks, man.
8564760	8567520	And thank you so much to our co-hosts, Ayse and Vizzy.
8567880	8568300	Thanks, man.
8568300	8569080	You were excellent.
8570220	8575240	I think one of the things that I'm going to take away is watching all of these teams get
8575240	8578260	inspired about these problems that are also some of the things that I've specifically
8578260	8582960	worked on historically and that kind of thing is really going to spur, even in me, I think,
8583140	8586340	a new set of research ideas, a new bunch of things that I want to do.
8586340	8591920	I also really, really love seeing a couple of the teams keep that thought alive from
8591920	8596120	older CTFs where there's that dirty tricks department and you're really, really playing
8596120	8596920	the game.
8596920	8601680	Like that pure technical execution is beautiful and it's gorgeous, but really these challenges
8601680	8604140	are a part of a holistic thing.
8604140	8608340	And I think things like that anti-analysis technique being deployed to use resources
8608340	8612560	in impossible code paths, those kinds of things are the dirty tricks department stuff that
8612560	8613880	I totally love.
8613900	8614960	Sounds great.
8614960	8619000	So for me, this has been an entirely new world.
8619000	8624680	There was one person in this entire community that I already knew about and that was Chris
8624680	8624980	Eagle.
8624980	8628660	I had heard of this guy who was a member of our development team.
8628660	8634600	But so far I've been representing DARPA in this endeavor, but I have to take my DARPA
8634600	8639600	hat off and speak as a citizen, as an ordinary citizen of America and as a scientist, because
8640360	8644300	we all have to appreciate those who invest in our research.
8644300	8651140	And the unique role that DARPA plays is that they can actually invest in things that we
8651140	8653380	don't even know if they're going to work, if they're going to pay off.
8653380	8658940	So whenever I submit my astrophysics proposals, one thing that it's based on is technical
8658940	8659620	feasibility.
8659620	8662020	It's evaluated on, will this work?
8662020	8666440	And so I just want to thank DARPA for this investment, for including everyone.
8666960	8667700	Absolutely.
8667700	8669480	For investing in these teams.
8670200	8674680	There aren't a lot of organizations that are willing to really take risks to create those
8674680	8677880	moonshots and really develop something totally new.
8677880	8682380	Across such a broad spectrum, from students to individuals, to university researchers,
8682380	8683700	to corporations.
8683700	8685880	So this has been a wonderful experience.
8685880	8690920	We've shared the world's first Cyber Grand Challenge, the first all machine hacking
8690920	8691640	tournament.
8691640	8695020	I'm so happy to have been a part of this history in the making.
8696620	8698200	And one last word.
8698200	8703140	I'd like to say thank you to the man who envisioned this and brought it to fruition.
8703140	8704380	And that's Mike Walker.
8706060	8709380	And so, can he take us out?
8713640	8715100	Thanks, everybody.
8717580	8720740	I am blown away by what just happened.
8720740	8723640	We just had an all computer hacking tournament.
8723700	8727260	We computed 96 rounds in a little over eight hours.
8727260	8731180	And everything worked.
8739120	8742760	Now, when we say our results are not yet verified, it means that we're going to take all the
8742760	8746320	data that came out of this AirGap robot that is now in the public domain, that you can
8746320	8750260	download and look at tonight, and run it again on a completely different cloud.
8750260	8752260	And make sure we just get the same answer.
8752360	8758180	And what's left to happen is that tomorrow, in this room, our winners will be certified.
8758180	8761560	We're going to have our prize ceremony prior to DEF CON, 10 a.m.
8761560	8764920	We're going to hand out trophies, and I really hope to see all of you there.
8764960	8770860	And thank you very much for staying with us as we called this tournament.
8770940	8778200	And my personal thanks to H.J., Hakeem, Vizi for being the voices of this tournament.
8779100	8781120	Thank you guys very much.
8787830	8792130	Right now, I have to thank all the teams that were part of this thing.
8792130	8796630	We have the teams that built a liquid-cooled data center behind an AirGap in three days
8796630	8797830	in this room.
8797850	8802250	Thank you guys so much for your planning, your execution, your excellence.
8807010	8812190	We have the reverse engineers and the visualizers and all the teams that worked so hard over
8812190	8816770	the course of this day to show the world inside the logic and memory of computers engaged
8816770	8820370	in network battle, using new visualization tools and data mining.
8820370	8826950	Thank you so much for showing us inside something that has always existed in the minds of reverse
8826950	8827950	engineers.
8827990	8829150	Thank you guys.
8836080	8842840	And finally, the teams that built the operating systems, software, integrity mechanisms, supervisors,
8842840	8848500	automation for the biggest computer security competition in history, and our referees who
8848500	8849800	were responsible for most of that.
8849800	8851280	Thank you guys so much.
8864360	8869960	I need to say a thank you to DEF CON, to Dark Tangent for finding common ground, and to
8869960	8873700	the DEF CON conference for letting us impose so much on their planning.
8873760	8875000	Thank you guys.
8883410	8887870	I have a thank you for the hacker community, for building the tradition of Capture the
8887870	8890290	Flag and being part of the execution of this event.
8890290	8896070	So many of you are either on competition teams, acting as referees, acting as voices.
8896070	8900630	Throughout this effort, we relied on the hacker community to help build it and put
8900630	8901290	it together.
8901290	8902170	Thank you.
8909350	8914790	And finally, a thank you to the people and institution of DARPA, who put the full weight
8914790	8918630	of the agency's resources to bear on revolutionary technology development.
8918950	8919830	Thanks.
8928540	8933380	Today, we saw machines patch many of the vulnerabilities that were activated in their
8933380	8939100	software within minutes, without damaging software or availability.
8939780	8944360	Of the six rematch vulnerabilities, classic vulnerabilities from the history of computer
8944360	8949540	security, machines found patches for them, for five of them, within the time frame of
8949540	8950620	the competition.
8950860	8954600	Now, these are not as hard as the original software.
8954600	8958880	They're simplified versions, but they are still enormously difficult challenges.
8959080	8963000	And personally, the fact that one of these machines found the crack adder bug, which
8963000	8965940	is something I've been studying for years, is amazing.
8967220	8975100	And we had these machines up here author 421 replacement binaries, new synthetic pieces
8975100	8981700	of software, and create 650 unique proofs of vulnerability over the course of the event.
8981700	8987960	That is an amazing result for adversarial automation, and I am so pleased to have gotten
8987960	8989480	to witness it with you.
8989480	8995480	So, if you're staying for DEF CON, please spend some time, as you listen to the speakers
8995480	8999700	and meet with friends this weekend, thinking about how the transformative power of automation
8999700	9001160	can change our field.
9001260	9005860	Our results are public, they're in the public domain for you to reverse engineer, hack,
9005860	9009100	analyze, build on, and imagine.
9010260	9014180	Our competitors were challenged by the biggest hacking contest in the world, DEF CON Capture
9014180	9019000	the Flag, to enter one of their automated systems into a competition with over two decades
9019000	9022640	of history, played by teams of the best hackers on planet Earth.
9022720	9027580	And I am informed that our finalists have accepted, and that's going to kick off around
9027580	9029600	noon tomorrow, if you're staying to watch.
9029600	9034080	And that challenge is going to be thrown down from the world's biggest hacking competition
9034080	9037460	to our winner, tomorrow, on this stage.
9037520	9039400	So, I hope you'll join us.
9046910	9049330	One of these machines is going to play tomorrow.
9049490	9052930	For tonight, I have a request for this room that I'd like to close with.
9052930	9056930	First, I'd like to invite all of our finalist teams, the folks who built these systems,
9056930	9058810	please come join me up on this stage.
9060110	9061270	It's going to...
9061270	9062370	and just...
9064810	9069970	get in as close as you can, and as they assemble, final reminder, we're going to finish verifying
9069970	9074970	scoring overnight, we'll award prizes and trophies tomorrow at 10am, right in this room
9074970	9076450	before DEF CON opens.
9076610	9077650	Come on up here.
9080950	9081830	Hey guys.
9108670	9110450	There's plenty of room.
9110690	9116290	If you can, try and make room for everybody and we'll get everybody onto this stage.
9119560	9120600	All right.
9121100	9127640	When we announced this contest in 2013, we challenged the world to build systems that
9127640	9130480	can engage in all the hard skills of computer security.
9130480	9135580	Black box, reverse engineering with absolutely no knowledge of the software, protocol analysis,
9135580	9142040	network defense, signature creation and management, vulnerability identification and remediation,
9142040	9149260	all automatically, all live, all results open sourced, and all in front of the eyes of the
9149260	9150160	world.
9150320	9153140	So how many even believe such a thing possible?
9153680	9157780	And of the few willing to believe, please consider for a moment the Rubicon that must
9157780	9160040	be crossed between belief and action.
9160040	9164840	We asked these teams to drop their work and spend two years working to build an entirely
9164840	9168580	new technology that would succeed or fail in one day.
9169060	9173060	Imagine spending two years of your life waking up every day to face the uncertainty of such
9173660	9174420	a moment.
9174940	9181060	Imagine the engineering and the research, the time and the pressure.
9182420	9184320	Consider the odds against.
9185440	9189540	Challenges work not because of the many who cannot imagine, but because of the few willing
9189540	9190840	to make the attempt.
9191860	9193660	Thank you all for your courage.
9194940	9201580	I'd like to close, but this room, the loudest round of applause we can summon for those
9201580	9202720	who dared.
