start	end	text
14850	15530	All right.
15530	16530	Good morning, DEF CON.
16530	21370	Thanks for coming out to listen to this panel.
22370	36490	Kathleen, I'm sure, introduced us, but we're going to be talking about the challenges with designing challenges, particularly ones that have high stakes in terms of the amount of prize money and working on a particularly important problem.
37190	39930	And so we've got a great set of panelists here today.
39930	59170	I'm really looking forward to just sort of digging into the process with them and having you understand what went into the planning and the design and the execution of the code bases, the vulnerabilities that were inserted, the scoring algorithms, the infrastructure.
59350	70270	And of course, there's a large amount of artifacts that will be coming out of the coming from the program in upcoming weeks that I think will allow the community to really dig into the results.
70270	81870	So why don't we just go down the panel super quickly and have people say their names so that people can associate faces and names and just give 15 or 30 seconds on your background.
82230	82870	David?
82910	84750	Hi, my name is David Brumley.
84750	88950	I'm a professor at Carnegie Mellon University and the CEO of Mayhem Security.
88950	94850	I'm also a founder of the team MMM slash PPP, who's playing DEF CON CTF.
95030	106530	I was brought in as a consultant on the scoring algorithm because our cyber reasoning system won the previous DARPA Cyber Grand Challenge, which was in many ways similar to this one, but also the intent of this one was quite different.
106530	113630	So I'm excited to talk about how that experience influenced my input and what was taken into this program.
113950	114990	Thank you.
114990	117930	Tim Allison, CEO of Rhapsode Consulting.
117930	124330	I've been an open source maintainer for more than 10 years on a number of Apache Software Foundation projects.
124450	126430	I'm a chair of Apache Tika.
126430	130670	I've also worked on some other file processing, file parsing projects.
132050	133310	I'm Isaac Goldthwait.
133310	137590	I had the pleasure of being the team lead on challenge design.
137590	142770	My background's in AI and RAVR and across a handful of different fields.
142870	150450	And really I've got the pleasure of just helping this team use their talent to build cool challenges.
150450	152250	So really excited to be here.
152690	154450	My name is Siri Hakes.
154450	157570	I have been coming here since DEF CON 13.
157570	159250	So this is year 20.
159250	164870	I have been playing CTF for the entirety of that time or either running open CTF.
165230	172910	So I was brought on just due to like the amount of challenge design as well as like active competition that I've been doing.
172910	176010	I've been doing DEF CON CTF for five years.
176010	177990	I ran open CTF for five years.
177990	180950	And I'm the CEO of Faisla.
181510	187210	And I was just recently, last year, in Forbes for my offensive AI research.
187210	189650	So yeah, happy to be here.
190130	191330	Hi, I'm David.
191330	194430	I'm a staff member at MIT Lincoln Labs.
194430	198190	I've got a bit of background in RAVR, a little bit of hardware hacking.
198190	203370	And I was just brought onto this program for more people making challenges.
205230	206430	All right, great.
206430	213690	I mean, one of the things that was really important from a DARPA perspective with this challenge was making sure that it was focused on real world problems, right?
213690	218470	So we could put together a toy competition and put together a scoring process.
218470	223670	That wasn't going to give us a real understanding of the state of the art, what was possible.
223670	231530	And it wasn't going to allow us to change the world to produce automated detection and most importantly, patching capabilities.
231530	240230	So I think the place I want to start with the panel was, how did you simulate those real world vulnerabilities?
240230	246950	How did you get after creating realistic problems so that the results of the competition were as impactful as possible?
248590	251510	Yeah, so I'll be happy to take this one at least to start.
251510	257410	On the Java side, I've been sitting on the security lists and the private lists for more than 10 years.
257410	259610	So I've seen a lot of bugs come through.
259610	261430	I know what's going on in our projects.
261430	267410	As part of this, I also did further research on projects that weren't like ours, non-parser projects, if there's such a thing.
268270	279490	So we also, in addition to injecting vulnerabilities that were novel, we also did some replays of actual known vulnerabilities, including log for shell.
279510	288190	So we made sure that we were trying to imitate, mimic, and replay in some cases, actual vulnerabilities.
291740	293740	Who else wants to chime in?
293740	296680	I'll chime in from the a little bit of a higher level.
297520	306320	One of the, I mean, the foundation of what we decided to build challenges off of, I think, set a really good spot for making realistic challenges, right?
306320	309760	Every one of these challenges was from a real open source repository.
310660	320780	Even the process of discovering and proving out the vulnerabilities found were through 90 plus percent of the time were through maintainer created and maintainer approved harnesses.
320780	331340	And so they are already vetted naturally by the maintainers of those code bases to be like, I care about input to these places in my code.
331560	342640	And so before even getting to the individual vulnerabilities, just what we're looking at in terms of the challenges was rooted entirely in being real.
342800	354960	Yeah, and just to piggyback off that, Isaac was talking about where the harnesses, and for people in this audience, no, but for those who might not, the harnesses are a way to focus on specific areas of the code base.
354960	366440	And we relied as much as we could on the publicly available OSS fuzz, Google's OSS fuzz projects, harnesses that were developed by the developers of the project saying, these are the parts that we care about.
366440	371400	We also did generate our own harnesses just for fun because we had to.
374200	378920	So contrasting Tim's perspective, I don't have any open source maintaining experience.
378940	390240	So the hardest part would actually be spending a couple weeks reading the source code of these things and trying to figure out what the heck these 20, 30-year-old projects are doing.
391240	409340	So I would spend weeks reading the code and just browsing, pretty much, getting a feel for it at same time looking for interesting or weird or bizarre behavior, which also wound up digging through a lot of man pages.
410500	414660	So to throw out an example, like, interesting behavior.
414940	419080	Realistic bug that would involve an edge case.
419080	425880	Did you know that in certain cases, glibc will violate the POSIX spec regarding timestamps?
425880	435820	If you ask it to parse dates that have a leap second, normally it will obey the spec and say, I don't remember what exactly it is.
435820	439180	It either ignores leap second or counts the next second.
439980	455620	However, if you set a certain environment variable, the behavior will change, and instead of returning 0 through 59, it will return 60, which you can then turn into a fun out-of-bounds read or write using just a little bit of imagination.
457380	464440	Yeah, I mean, I think one of the things that strikes me is, like, you know, I've done lots of software development, but I haven't done vulnerability development.
464440	466240	I haven't done security-focused development.
466240	472560	It's really interesting to hear from the folks that, like, that's the mindset of how you look at code and how you think about it.
472980	481480	And, you know, I'm super glad that we had folks with that sort of mindset developing the problems for the competition.
481480	497500	Sierra, I don't know if you wanted to weigh in on the simulating real-world vulnerabilities, or maybe talk about, you know, I think another topic for the panel is, like, how do you vary the degree of difficulty for the vulnerabilities that are inserted?
497620	500280	So I'd be really curious to hear about that.
500280	500920	Oh, yeah, yeah.
500920	505020	So there's this whole metagaming involved.
507820	517100	So in order to, like, correctly assess the teams to determine, like, who is the winner, who is the loser, you have to provide a varying range of difficulty.
517700	521960	And so, like, this is a known problem for humans.
521960	529140	And, like, I've been doing that for a couple of years, where you have a very easy series of problems, and then you have escalating difficulty.
529180	536340	And there are challenges around designing problem sets that for a limited group of people or a larger team.
536560	541220	And some of the CTFs around DEF CON have been exemplars of this.
541220	546860	But the new challenge that we had to encounter here is, how do we test AI systems?
546860	554880	We have all this experience around how people approach problems and how they go through that vulnerability discovery process.
554880	564220	But how do cyber reasoning systems and their relevant components, how do they perform best with vulnerability discovery?
564220	571380	So we had an initial test in the semifinals around, like, here's a series of challenges.
571700	581700	We're going to throw these at the CRSs, see how they do, and then, like, take that information and learn from it and move on and do the finals challenges.
582660	590040	And it was interesting because, like, I had approaching this from, like, a professional CTF player.
590120	602600	I wrote a series of, like, very difficult to, like, extremely difficult problems for semifinals, and no CRS ended up solving any of my challenges.
602600	613940	So coming into finals, I wrote a large series of ESEM with a bell curve, kind of a lot of medium-ish challenges, and then some very high complexity ones.
613940	621720	And I think that provided, like, a lot better spectrum of building differentiators between the CRS systems.
622280	635820	Something we learned from semifinals is we tried to decide what we thought was hard and medium and easy, and we learned that we were very wrong.
636520	646240	Especially when the design of that vulnerability and the event can have such a gap and the amount of technology change, and that gap can be so large.
646240	654980	And so our approach this year was not to try and be profits on what is actually going to be hard, but rather to just also produce a big variety.
655340	665160	And I'm actually, like, extremely excited to look into all of the archive data to know exactly, like, why were these hard and why were these easy?
666460	671100	But from our perspective, like, we actually firewalled off a lot of what we were doing.
671100	680980	So for example, in the preliminary rounds we did, how CRS is performed was not... that was not allowed to be an input to us on how we design challenges.
680980	690000	And so we... I got to see a little bit more, but these guys who designed the vulnerabilities basically never saw at all how CRSs were doing.
690360	691580	So sorry for that.
691580	697520	But in a cool way, it's like, let's just make a big variety and let's let's find that out later.
698000	702600	Yeah, and just to add on to that, it's not only a variety of challenges.
702600	714980	Sarah's discussion about the ladders was done on for what I was doing as well, especially for path traversal with pretty easy, a little more interesting, very, very more... very interesting with symlinks and whatnot.
715280	718640	But the other thing we were looking for was diversity of types of challenge.
718680	722960	So especially on the Java side, we had more flexibility because we were using Jazzer.
722960	729780	We weren't relying on only the memory-focused C sanitizers, and I'll let David talk about that.
729780	731080	But we had more flexibility.
731080	740860	So we could have deserialization, we had SSRF, we had path traversal, a fairly broad range of challenges.
740860	751280	Also, from my perspective in Java parser land, we allowed for denial of service vulnerabilities in finals, which we did not allow in semifinals.
751280	760340	So out of memory, infinite loops, stack overflows, those kinds of things, which from a Java side are kind of bread and butter and also are important.
760900	767480	And did you work off a taxonomy of vulnerabilities and you're like, okay, we want to have instances in each of these categories?
767480	771460	Or, you know, again, how did you think about covering the space?
771460	780320	From a Java perspective, we looked at what was available in Jazzer and what was easy enough to add into Jazzer within the time and would be reliable.
780320	787100	We had to make sure that the sanitizers would always fire reliably against incoming data.
787740	794620	And so mentally, in semifinals, I think we picked the top 20 CWEs for 2023, maybe.
794820	800400	So those were in the back of my mind in combination with what was available in Jazzer or what we could easily add to Jazzer.
801160	805420	Contrasting that from the C perspective, our options were a lot more limited.
806320	810380	The Java folks had Jazzer, which is fairly modular and extensible.
810420	812560	Like y'all wrote a couple new harnesses.
812560	814100	I believe you wrote the path traversal harness.
814100	814860	Did you say that?
814860	816820	Yeah, we had a path traversal as a sanitizer.
816820	817280	Yep.
817280	823260	So meanwhile, we were pretty limited to what was already upstream in Clang.
823920	829080	So we got address center, undefined behavior sanitizer, memory sanitizer.
830500	839340	At the start of this year, we looked into type sanitizer, which is up and coming, but it wasn't mature enough for us to use.
839860	850260	So we were limited to the big classes of memory safety bugs and a bit of undefined behavior here and there, integer overflows that were later exploitable.
850640	857460	Which, of course, 70% of bugs in C are memory safety, so it's not like that's insignificant.
857460	861020	But it did limit our flexibility a bit.
861020	869220	I first came onto this program, the first bug I wrote was a path traversal bug, and we had to discard it because there wasn't a good sanitizer to trigger it.
870020	870980	Yeah, yeah.
870980	883880	And to continue off of that, we did want to ensure that we had a representative range of memory vulnerability classes, specifically for C challenges, not necessarily talking about Java.
883880	887160	But we had plenty of these after freeze.
887160	888360	We had buffer overflows.
888360	889640	We had heap overflows.
889640	893180	We had type, like object type confusion.
893180	895580	We had object use after freeze.
895620	904980	So we tried to provide a large representation of the existing vulnerabilities that we see as CVEs, so end days that you see coming out.
905920	914660	Yeah, I think too, just on diversity of the challenges, we have the what causes the crash, right?
914660	918280	And then we have the what is vulnerable that leads to that crash.
918280	925320	And then we also have on top of that, like, take those and build them into challenges in different forms for the competition.
925360	937620	And so some of the diversity we had on challenges was like the full and delta scan, which I won't go into full detail, but basically asking the CRS to analyze like a entire code base or just a PR.
938200	943080	And we had deltas that were very small, but we had deltas that were massive.
943300	957560	And the CRSs had to deal with how to manage and not just waste all of their compute and all of their budget on millions and millions of lines of code versus like sometimes thousands of lines of code.
957560	961340	And that diversity, I think, played a big role as well.
961420	961640	Yeah .
961640	969180	So, I mean, obviously, you can see like a lot of thought went into the development of the vulnerabilities themselves.
969180	976680	And obviously, like, we'll have a better understanding of how the CRS has scored against different vulnerabilities and dig into that data set.
976680	985760	I mean, I think there's very interesting questions to explore, like the difference between the intuition in terms of what was hard, what was actually hard for the CRSs.
985820	991980	Is that because the CRS systems somehow are better in some ways than humans and weaker in other ways?
991980	998600	And so those are things that we'll be able to learn sort of in retrospect, digging into the competition data.
999060	1012000	David's been sitting here patiently, so I kind of want to move on to another really important topic, which is really about scoring and incentives and the mechanisms for that.
1012000	1022000	So, David, maybe over to you to start the discussion about the scoring process, the design, red teaming, and then we'll dig into that.
1022000	1029280	Yeah, I do want to discuss this, because at the end of the day, all the competitors had different areas of excellence.
1029540	1032700	And so you run into this question, and I'll just ask you to think about it.
1032840	1034500	Who's the best hacker?
1035840	1039840	And if you spend a second thinking about that, you may say, well, what do you mean?
1039840	1041480	Is it finding new vulnerabilities?
1041480	1043200	Maybe that's George Hott's Geohot.
1043340	1047860	Or maybe it's the one who's the quickest at figuring out how to patch them.
1047860	1049360	Or maybe it's social engineering.
1049360	1055800	There's all these different categories that go into this, and everyone has their different, perhaps, weighting on that.
1055800	1061480	So we took that same philosophy into the scoring algorithm, where there were categories.
1061480	1065500	How well, when you patched, were you able to fix bugs?
1065500	1067140	Did it impact performance?
1067140	1069280	How good your discovery was?
1069480	1077180	And then instead of assigning just a specific point value to each one, we instead ranked competitors against each other.
1077480	1080280	Think of it like you're in a classroom, where there's a bell curve.
1080280	1084100	If you rank people on a bell curve, there's a number one, a number two, and number three.
1084100	1086400	And that's kind of what we wanted in each category.
1086820	1093240	The advantage over that, as opposed to points, is everyone could get the same number of points, and you have no winner.
1094160	1097660	So we first decided we're going to rank them competitively this way.
1097660	1103380	And then we're going to emphasize, as the core of this contest, defense and patching.
1103440	1107480	How well they could correctly create a patch?
1107480	1108640	Is it succinct?
1108640	1111220	Does it not break existing functionality?
1111340	1115800	And weight that the highest, while still giving credit to these other pieces of functionality.
1116100	1123760	So we went through this, we talked to all the competitors, got their feedback, and then iterated on it, based on some of their concerns and their beliefs.
1123760	1127380	Taking that sort of approach, and then built simulations to go through it.
1127380	1135080	And tried to figure out, not where someone could game it, but perhaps where the scoring algorithm would give an unfair advantage for something we weren't thinking of.
1135080	1136440	It's a real competition.
1136480	1142480	People should be able to optimize and get the millions of dollars the DARPA was generous enough to give.
1142480	1148820	So we put a lot of thought into this, and the TLDR is it weighs several different areas of excellence.
1148820	1153240	It weights them across how people relatively do to decide the winner.
1153320	1163280	And so you do end up with cases where the winner you see up here is amazing tech, but all the competitors had areas of excellence for which they were the best.
1163280	1165360	And I think that's an important outcome here.
1165800	1169600	Yeah , I'll just foot-stomp the importance of the patching piece.
1169600	1178880	I mean, you know, if you think about critical infrastructure software, or the open-source ecosystem in general, it's often under-resourced, right?
1178880	1181300	And sometimes dramatically under-resourced.
1181300	1190540	I think we've used the reference to the XKCD cartoon with the little block that, you know, if that goes away, the entire stack can tumble.
1191060	1196160	And so that was part of, I mean, that's part of the reason for the focus on the patching.
1196160	1199740	That's why the patching piece is so critically important.
1199740	1213960	It's not necessarily that we don't know about the existence of vulnerabilities, but the ability to do something about it, and the ability to do something about it at scale, and in a resource-effective way, I think is critically important.
1213960	1223380	And so, you know, in particular, as David said, you know, different weightings for different elements of the scoring algorithm.
1223860	1225240	Yeah, if I can chime in.
1226760	1244760	Some of the biggest key points of emphasis in terms of our thought process on what we wanted to incentivize to was we wanted to lean into actually rewarding reasoning, and not just like cyber systems, but actual cyber reasoning systems.
1244760	1250040	We also really wanted to reward and consider maintainer empathy.
1250040	1257920	That was a huge part of our design for both the scoring algorithm and just all of the infrastructure stuff, too.
1258340	1269520	For example, like Tim is a real maintainer up here, but if I pretend I'm a maintainer, I imagine maintainers don't just want a proof of vulnerability.
1269520	1275080	It's valuable to report that, but it is kind of annoying to just get that and not get a fix, right?
1275540	1282000	You also don't want a bunch of patches that are like, here's problems, but I don't have any proof of those problems, right?
1282340	1287800	But also, part of the game, you don't want just a patch with one problem.
1287800	1297980	Like, part of the AI Cyber Challenge this year was patches needed to solve all of the POVs across all competitors that were relevant to that vulnerability.
1298180	1307000	And so, if you submitted a POV for the same vulnerability that I'm trying to patch, but my patch only fixes mine and not his, my patch wouldn't score.
1307000	1312120	And so, we have this built-in patch quality testing mechanism.
1312580	1320160	And then, ultimately, bundles is the reasoning side of associating this patch is associated with this set of POVs.
1320320	1326620	And even to the degree of, like, this is related to that code scanning alert that happened on this program, too.
1326620	1330240	And here's some more, you know, provided text description.
1330240	1334840	And we really wanted to lean into valuing the reasoning side of things.
1334840	1340460	And from the perspective of, as a maintainer , what would be the best gift from an AI system?
1340520	1343720	And we figured all of those components would be that.
1344240	1344840	So, thank you.
1344840	1350540	I thought that I was just being myopic in the desire to make things easier for maintainers.
1350540	1360040	In the back of my mind, all the time, where all of the blog posts from, about all of the AI slop he's been getting on his issue tracker and the bug tracker.
1360040	1360820	Oh, we found this.
1360820	1361380	Oh, we found this.
1361380	1368180	And he just, he ridicules them, because they're not, they're not meaningful security bugs, if they're meaningful at all.
1368280	1381120	And that's one of the things that AICC was really, from my perspective, and I think this was kind of baked into the scoring, trying to make sure that we weren't just throwing out AI slop, that these things actually had, these were important vulnerabilities,
1381120	1383220	and that the patches actually fixed them.
1383220	1385440	So we weren't wasting maintainer time.
1386340	1396680	One of the things that I saw that I was really happy with, from a leadership perspective, as I was watching some of the stuff develop, was things like simulating the scoring and red teaming.
1396680	1402100	I'm wondering if David or Isaac or others want to want to talk about that a little bit.
1403420	1414480	I think it was what we said, where we built, actually built a program in Rust, where we could go through and we could run pseudocode to say, artifacts would weigh out.
1414920	1427240	And for example, when we were looking at this, we said, if we start weighing POVs too highly, we're really incentivizing this idea, very similar to like the previous cyber grand challenge and not so much fixing.
1427400	1436060	And so really, at the end, the simulation kind of gave us this insight that the POVs aren't offense, they're just proof that there is a vulnerability.
1436460	1443720	And we kind of just treated them as such, as we have this problem that we didn't know what all the vulnerabilities would be in the code.
1443720	1449880	There were certainly those inserted, but we expected competitors to find unknown vulnerabilities and did it.
1449880	1459260	We also wanted to reward competitors for creating patches for which they did not have a POV, but might have fixed a POV someone else had proactively.
1459260	1460700	And you run into this problem, right?
1460700	1471840	You don't want people modifying every line of code with an if then else, you know, or what we call a Superman patch where they run everything under Valgrind, as opposed to actually fixing the bug.
1472180	1479840	And we use those simulations to kind of suss out those ideas and come up with a weighting algorithm to make it fair.
1479840	1487780	The other thing that we did in these simulations is we tried to root out everywhere we would use human judgment to decide where something was.
1487780	1497720	And we had lots of discussions with the team with Kudo and they were very receptive where it was like, this part of the scoring, you're saying, let's go look at the quality, but it seems very subjective.
1497720	1502860	And what you may think is good patch, maybe Linus Torvaldus would say is complete garbage, right?
1502860	1508260	So let's figure out the algorithm so that at least everyone knows what they're optimizing for.
1509680	1516460	Were there things that evolved in the scoring process or their scoring algorithm from the semifinals to the finals?
1516460	1518360	Or did things remain static?
1520820	1527480	The algorithm... it's hard to remember some things from semifinals this week, so long ago.
1527480	1529440	The algorithm is certainly different.
1529740	1535360	Exactly how different is not on the top of my head, but the gameplay was very different.
1535360	1545240	So I know that Andrew Kearney, he displayed a really cool visual of what was scorable in semis versus what was scorable here.
1545240	1551080	In semis, it was POVs and then patches that fix targeted POVs.
1551080	1553660	That was the whole semifinal competition.
1553800	1563460	This year, it was POVs, patches that can fix one or more... well, zero or more, but scoring one or more vulnerabilities.
1564440	1576080	Serif assessment responses, bundles, as well as a lot of optional non-scored things the CRSs could do, which could show off some of their expertise.
1577040	1578600	That was very cool.
1578600	1579740	There's actually a couple things.
1579740	1584500	You're kind of coming out of this that I know you changed between semifinals and finals.
1584500	1589260	For example, in semifinals, there wasn't a way to automatically score unknown vulnerabilities.
1590000	1596100	And you added that in during the second one, because I think you said, we're going to replay our POVs.
1596100	1601680	And then in the finals, you said, we're going to take all the people's POVs, and that's going to determine the set of vulnerabilities.
1601680	1603860	So someone found a new one that changed it.
1604040	1611240	In the semifinals, there was scoring for... POVs had just a raw point value.
1611380	1614980	And you ended up coming up with some weighting.
1614980	1622100	And that's because the problem with a POV is, it's a little bit in the eye of the beholder, what the vulnerability is.
1622100	1635400	You could have something that reads in user input, and it calls two different functions with string copy, where there's one patch where you just check the input length at the original place it was read in versus two patches.
1635400	1641580	And we were trying to suss through, like, should you reward two micro patches versus one more general patch?
1641580	1649220	So I think there was a lot of evolution on specific points, like dealing with unknown, as well as increased insight into how you think about this.
1649220	1656500	Because I remember Theory told me, and I told you, you know, we found things where we could count three different vulnerabilities, but we knew it was only one.
1657060	1658300	And so we took that impact.
1658300	1664480	And you know, there's only so much you can do mathematically and algorithmically with that insight to make modifications.
1665800	1672140	So I want to expand from the scoring algorithm into the testing infrastructure, which is obviously closely related to that.
1672140	1678400	And it seems like that could be an important artifact that comes out of the competition itself.
1678400	1689020	So Isaac, maybe touch on that a little bit, talk about what that scoring infrastructure looks like, does, how it might be useful to the broader community.
1689020	1695800	Yeah, so there's a lot of details that I haven't tried to go over here.
1695800	1716000	But at the broad level, every single thing that happened in the entire competition, from anything that our infrastructure did, anything any individual CRS did, including things like the health checks, every bit of detail is logged in an audit log, where we have absolutely everything.
1716440	1723760	And that audit log, along with the objects associated with those events, was the input to our scoring system.
1723760	1732540	And so we made sure that there was never anything that was not being considered or lost because of whatever.
1732540	1737780	And then our scoring system, which actually will be available at some point, I don't know the date.
1738420	1748080	But we go through many, many tests and retests of certain things, as well as respecting all of the game time events.
1748080	1752720	So the communication that was sent to the CRS at game time, we obviously respected that.
1752720	1758020	But we also would double check that exactly what happened then is reproducible.
1758480	1774580	And so we have a lot of the numbers on actual compute hours to do some of the processing of the game was comical sometimes, like near hundreds of thousands of hours of compute, which we happily optimized to be much, much lower.
1774580	1780640	But it was cool to see all of that and then the aggregate of all those.
1780680	1784760	Again, the algorithm is scored on a challenge level.
1785200	1803460	And then we did a full, long, good, deep process of reviewing every submission by hand and with groups and making sure that all of our decisions on anything was made with a consistent mindset towards how we're treating all of these things.
1803460	1807400	So there's so much to talk about in terms of the details there.
1807400	1810440	But the process was a lot of fun and a lot of work.
1810440	1811620	So David?
1811800	1816660	So the review process, Sierra, Tim, jump in on this as well.
1817220	1823840	We reviewed every single patch, submitted every single challenge project or challenge repo.
1824340	1829360	So that was to ensure that they weren't gaming the system by breaking stuff.
1831020	1832920	Sometimes they were.
1833540	1836220	We discarded a fair few patches.
1836220	1844960	I distinctly remember reading this one that patched a format string bug by adding some conditionals inside the printf function.
1844960	1851520	There was this other time that I wrote a broken challenge.
1851860	1853460	Extremely broken challenge.
1853460	1855140	Broken in many ways.
1855400	1865700	But one of the ways it was broken was the test system I wrote that checked does this pass the CR's functional test did not work.
1866660	1872240	I wrote an off by one bug in the test script, which meant that it wasn't actually possible for them to ever fail.
1873040	1887580	And in that challenge, we had a bunch of patches that intentionally that accidentally disrupted the test infrastructure by forcing tests to pass that should not have passed.
1889060	1891380	So that wound up getting really confusing.
1891380	1898960	And we we had to discard a whole bunch of patches and let others through just based on the individual patch and what exactly it was doing.
1898960	1904620	And the decisions on those review things will also be available.
1904620	1909220	And they are a little bit tweaked from what you just described.
1909520	1926180	But our yeah, the amount of like, basically, we did our due diligence to make sure that if there was any point of competition error on our side, that we made sure to ensure these scores were not or no team was penalized because of that, and that things were fully fair off of those things.
1926180	1928480	And so we also be have that data available.
1929120	1932900	I can say, it's far less than 1% of cases.
1932900	1936340	So that was also wonderful to see that in a low number.
1936340	1957620	So I think one before we move on from the testing infrastructure, just one other line of discussion about the scale of it, like we've heard from the performers about the challenges of putting together a large system to, you know, find the vulnerabilities and automatically patch them and the size and complexity of their systems.
1957620	1963240	Maybe you could talk a little bit to the size and complexity of the scoring system, because I'm sure there's similar challenges.
1963820	1964320	Oh, yeah.
1964320	1974660	So scoring system specifically, not, not, not challenges, like, man, I would love to go into a lot of detail, but I didn't design it.
1974660	1976780	And I do know a lot of the internals.
1976780	1981900	But yeah, I'm not sure how to summarize, but this may be better.
1982520	1986680	Something to look into the release of information after the competition, honestly.
1986840	1988580	I'd like to add just an anecdote.
1988580	1992620	So we won something called the Cyber Grind Challenge many years ago, and we were super happy.
1992620	1994840	You know, Mayhem is this great system that wins.
1994840	2001320	We go out to market, we focus on how good we are at finding vulnerabilities, and we thought we won.
2001320	2008940	And actually, where we spent most of our engineering time was on things like triaging and deduplicating things.
2008940	2018020	So there's a huge amount that goes into this that often we forget as security people downstream from the maintainer are those multiple bug requests.
2018340	2024820	We all in security love sanitizers for finding bugs, but go and try to build a system that parses that.
2024820	2031980	The designers of that, Google, decided to make it human readable as opposed to computer parsable.
2032040	2040020	And so you end up with, I remember I had a discussion with you, Isaac, about these crazy reg exes to try to figure out what the sanitizer was.
2040020	2043920	Because again, we're not going to have a human go through these, that introduces error.
2043920	2064780	So when you're talking about a scoring system, really what you're talking about is almost that system that the developer has in front of them that summarizes, condenses, and deduplicates from all the different sources to try to identify what the unique behavior of the bug is in the implications of the patch among several competing submissions.
2065160	2067780	And that triage process is real.
2068980	2073540	Yeah, maybe just as a wrapper on the complexity of things.
2074380	2080040	We went through every submission by hand to review it, but that wasn't to score it.
2080040	2085140	We went through every submission by hand to make sure we weren't messing things up and that competitors weren't cheating.
2085760	2097920	But the system that actually processes and produces the score, and David, you've mentioned a couple points on this, we designed a challenge that has objective points and objective value.
2098000	2101380	And that process is complex.
2101380	2105220	And it's cool that all of that is fully automated for us.
2105220	2107920	And so that scoring pipeline will be available.
2107920	2111500	And the menu review is, let's double check.
2112100	2118200	Yeah, again, I appreciate the diligence that I saw from the teams working on the evaluation side.
2118200	2121100	Got about 8 or 10 minutes left here.
2121100	2124540	So I want to touch on a couple other areas.
2124600	2131780	I'd be really curious to hear from any of the panelists on things that you wanted to do, but couldn't because of the format of AICC.
2131780	2140760	Some of that might be fully automated capabilities or fully automated scoring or the scale of it.
2141060	2144060	But were there things that you wanted to do, but couldn't?
2144060	2151080	And maybe that leads into where do you see follow on efforts or research going?
2151980	2153460	Yeah, I'll jump on this too.
2154180	2168580	You know, about a year ago, when we were talking about what do we want to change from semifinals to now, we had a really fun discussion on here's all the responsibilities that we are taking on from the competition side.
2168580	2171320	And here's all the ones that we're making the CRSs deal with.
2171320	2175900	And we toyed with the idea of what if we move all of those to the CRS?
2175900	2179500	And we landed on a that's too mean.
2179560	2181260	So we got to pull some back.
2181260	2195640	And there's a few things like that, that I think, especially after seeing the change over the last year, and how well some of these teams did here, I'm really excited to see what it looks like to see some of those removed.
2195640	2205340	One of those in particular is, you know, we provided a standard build, a way to build these challenges, because the CRSs never knew what the code bases were ahead of time.
2205840	2211300	I'd love to see what it looks like for CRSs to have to build challenges when we don't give them a standard way to build it.
2211300	2217380	And they've never seen it ahead of time, you know, like, read the readme, have fun, and give me something valuable in response.
2217380	2218680	I would love to see that.
2219260	2219500	Yeah.
2219500	2226660	And to add to that, again, something that's out of scope for this program is automatic harness creation.
2226780	2234760	Some of the ways that I developed my vulnerabilities, or at least the POVs, was by creating micro harnesses on specific parsers, for example, within PDF.
2234760	2250200	I did a couple of font parser harnesses for some of the POVs, and giving the CRSs the chance to create their own harnesses to allow for finer grained harnessing for fuzzing, and for their own methods, would have really changed a lot of things.
2250200	2260260	It would have opened up scope and the purview of a lot of these systems into these larger code bases for the future, not for finals.
2260640	2265320	I'd like to echo that, like, harness creation in our go-to-market is probably the biggest barrier.
2265320	2267440	And this guideline says you should fuzz.
2267440	2271600	MDA, Cybersecurity Missile Defense Agency, requires fuzzing.
2272500	2274820	Aerospace has a fuzzing requirement, automotive.
2274820	2286080	The reason people don't do these things that we think are straightforward and security is they don't have the time to write harnesses, which are things that focus security analysis on the parts of the code that are on the attack's surface.
2286660	2289900	And so doing that and bringing that in is a huge one.
2289900	2298580	The second thing is this contest was very much focused on DARPA's core objective of looking at where there's a lot of bang for the buck in memory safety.
2298920	2307020	Outside the scope was what I would call a typical pen tester set of vulnerabilities, for example IDOR in web, cross-site scripting.
2307020	2317360	These are important things, quite honestly, just as numerous as CC++, but it tends to be that site has an XSS because it's their code, but also only written by that site.
2317360	2321600	While C, you have this prolific effect that it's used in all the infrastructure.
2321600	2323740	So there's a bigger class of vulnerabilities.
2323740	2326700	When you look at different languages like JavaScript, there's new challenges.
2326700	2328040	How do you deal with strings?
2328140	2338380	And then just for what we did today, there's the question of how quickly can you onboard the code because of some of the constraints for running a contest.
2338380	2340760	I had to remove those to make it fair.
2341180	2342300	Sierra?
2342960	2351060	Yeah, as a challenge designer, there were a couple things that I was thinking about and looking forward to as future potentials.
2351500	2359440	Some things that I designed that didn't make it into finals were injection of non-vulnerable code that introduced vulnerabilities.
2359440	2369880	There's a series of systems that are plugin-based, and each individual component within those systems is individually secure and safe.
2369880	2377200	However, there are larger trust component issues between each of the components that are interdependent between each other.
2377200	2394160	And there's also the very hard problem of multi-threading and finding concurrency issues that are where real world bugs, say for example browsers or kernels, are currently failing at that we'd really like to see how a CRS would perform against.
2394160	2395500	Yeah, that's 100%.
2395500	2397080	There's also a question of mitigations.
2397080	2398440	Look at Chrome, right?
2398440	2404180	When someone says, I can hack Chrome, you're typically talking about multiple vulnerabilities.
2404180	2409820	You may have a sandbox escape, and then you have to do privilege escalation from the renderer process to the browser.
2409820	2411320	Those are separate vulnerabilities.
2411520	2416480	And it could be there's a defense-in-depth and good architecture, and how well that defense-in-depth.
2416540	2421120	The way I think this program looked at it is any vulnerability should be fixed.
2421120	2423840	Let's not rely on defense-in-depth, which is honestly the correct.
2423840	2429200	Defense-in-depth there is a fail-safe, not a... I was gonna say not a defense.
2429200	2432600	It is a defense, but you shouldn't... it's a fail-safe, right?
2433720	2439980	All right, maybe last question as we wrap up in two, three minutes here for the panel.
2439980	2445680	So quickly, we'll just go down the line, and maybe we'll start with David and then work our way back.
2446800	2448560	Would you do it again?
2448980	2453300	And what was the best or the worst thing?
2453300	2457520	So David, we'll start with you, but quick answers.
2459060	2460080	Which one?
2460120	2461720	Oh, sorry, Dank.
2461880	2463220	Both, same time.
2463220	2464640	Yeah, David Dank.
2465360	2468280	Sierra and I'll go at the same time, too.
2472360	2474840	Most interesting thing that happened.
2474960	2476600	Dissecting ODays.
2477340	2482260	Watching the rounds run and seeing, oh, this POV doesn't make any sense.
2482260	2484580	That has nothing to do with the code I touched.
2485200	2498060	So some of it was me just exploring this piece of code and typing this query into a system and getting segmentation fault as a result instead of a meaningful answer.
2499360	2507200	Watching the SQLite ODay, having that land on my desk and dissecting it and figuring out how that happened.
2509300	2511600	Dissecting bytecode compilers.
2512220	2518400	There are a couple ODays we can't discuss right now because they're going through disclosure, but dissecting them was fun.
2519880	2522780	Reading a lot of really weird code.
2523980	2528500	Figuring out ways to make it break just by relaxing constraints just a little.
2529200	2529640	Great , thanks.
2529640	2530780	Would you do it again?
2532520	2533300	Yeah.
2534660	2535700	Sierra?
2535780	2539100	I can confidently say yeah, I would do it again.
2539200	2544240	We've discovered all the vulnerabilities previously discussed.
2544400	2551040	There is tangible good coming out of this program that is helping the open source community and helping us build a better and safer internet.
2551200	2554060	So just that alone is fantastic.
2554500	2561900	But going through all these codebases that have been around for 20, 30 years has been one of my highlights.
2561900	2566500	And seeing not only just the history, but the diversity of programming styles.
2566580	2576900	It's made me a better programmer seeing, to be honest, some of the awful programming styles we've had to go through and understand as each of these individual projects.
2576900	2581680	So it's been like a survey of software and it's been a great time.
2581680	2584000	I do want to tack on to that.
2584160	2591720	As a challenge author, I think we had maybe a quarter as much fun as the competitors.
2591960	2603420	But it was extremely useful and meaningful and impactful to build this challenge because now we've got these systems that are going to be out there in the world fixing problems.
2603580	2608780	And I'll tell you, I cannot wait to go home after DEF CON and start tearing into their source code.
2608900	2609580	Great.
2609580	2610400	Isaac?
2610420	2611000	Yeah.
2611000	2612380	I would do it again.
2613620	2624200	There's a lot of lessons learned on how to delegate work and how to think ahead and be proactive in a much more conservative way.
2625060	2632300	I think something I'm excited about that I just... I lost it.
2632300	2633320	It was in my head.
2634920	2639820	I mean, you mentioned the process of digging into the... I'm so excited to see the data.
2639820	2641300	Yeah, I'm excited to see the data.
2641300	2647720	If we did it again, I'm really excited to remove some of the competition barriers.
2647860	2654220	Mostly the barriers between this team, our sub teams, and the competitors.
2655320	2657640	Super glad we did it for the competition.
2657760	2666740	It would be really cool moving forward if the transparency among all of the collaborators and just the open source community.
2666740	2668560	I'm excited to see where that goes.
2668640	2669200	Right?
2669500	2670100	Yeah.
2670100	2672060	So from my perspective, definitely do it again.
2672060	2674860	I learned quite a lot about security.
2675160	2684560	My high point was just watching at a big, large scale, the difference between the systems at semifinals and finals, which was staggering.
2684820	2686080	They had more resources.
2686080	2687420	The systems were just so much better.
2687420	2688840	The patches were amazing.
2688880	2697700	There's one organic free range vulnerability that was found that we did not put in that required a patch that was extraordinarily complicated.
2698080	2704900	And a system generated, found this free range vulnerability and patched it with a really complex patch.
2704900	2706880	And that is just, it was just astounding.
2707560	2710320	Lots of work still to be done, but I was really impressed.
2710980	2711700	David?
2714620	2718340	So I think if it were to happen again, I think it needs to happen again.
2718340	2725620	We know from the previous challenge and we look at just the world stage, we know last time we ran one in DARPA cyber grand challenge trying to run six.
2725760	2727340	We know that people are doing this.
2727340	2736620	And so I think we should all not just see as whether we want to or not, it's something that the community needs to do is to continue to run these because they push state-of-the-art.
2736780	2739360	I think one of the challenges, just the human toll.
2739360	2748620	So it's interesting that you said this, I'm friends with many of the teams and on this short timeline to get a non-traditional performer to recruit those teams and devote it.
2748620	2751640	Most of those teams were doing other things.
2752040	2758920	And even when you have an extra million of dollars sitting on the side or 5 million, those other things don't go away.
2759360	2765280	And so it's really interesting to see how people kind of went down because of the excitement of it.
2765280	2766580	So I think it needs to be done.
2766580	2774400	For me personally, I think when the original contest came out, I had a lot of concerns.
2774400	2775560	I was very public about them.
2775560	2785540	One of the things I do appreciate is DARPA is the type where if you have concerns, and they're reasonable, of course, they said, why don't you come help us?
2785540	2795220	And so I do think I would do that again, because there is that attitude where when you say, hey, this doesn't look good, as long as you're willing to talk to them, they'll listen and incorporate those.
2795460	2797480	And I value that.
2798560	2801160	I think AICC changed the world.
2801160	2810960	I think demonstrating that you can patch effectively at scale, in a cost affordable way, is going to be transformational.
2810960	2813000	There's a lot more work to be done.
2813000	2816000	But I think that is going to change the world.
2816020	2821400	And that wouldn't have happened without the hard work of the folks on stage and many, many others.
2821460	2823900	So please give them a round of applause.
2823900	2825460	And thanks for your time and attention.
2827400	2838120	Yeah, I just, I also want to, I mean, the talks about challenges, I want to do a shout out to the other challenge developers too, the Vaughn developers, because we have us three, we have HJ, wherever he is.
2838400	2840700	We have all the other people at MIT Lincoln Labs.
2840700	2842460	Thanks to Chris Domas for helping out.
2842460	2844940	Thank you to a bunch of Kudaits for helping out.
2844940	2847160	Like just many, many, many people.
2847160	2857260	And the data you guys are all seeing is about half of the data that is actually used to make this whole thing happen, with all the preliminary rounds we ran and everything.
2857260	2858560	So just thank you guys.
2858560	2862640	And thanks everyone that is abroad that have helped with this.
2862640	2863780	And thank you, Isaac.
2865300	2865840	All right.
2865840	2866320	Thank you.
