start	end	text
13320	28920	The technical hypothesis about how we might possibly pay down this technical debt is through a combination of cyber reasoning systems, traditional program analysis kind of technologies, and artificial intelligence.
28920	44360	Those are kind of two great tastes that go well together, sort of the chocolate of logic and program analysis, static analysis, dynamic analysis, kind of traditional programming language software engineering kinds of capabilities, traditional cyber kinds of capabilities.
44360	45480	That's the chocolate.
45480	51300	It has the advantage of being able to reason about it, being able to prove things about it, knowing that it's going to work.
51420	59500	But it has the disadvantage of being brittle and being slow and often needing a ton of really deep expertise to be able to use.
59560	65400	Then on the other side, we have AI and machine learning, which is, it can learn, it could be flexible, it could be really fast.
65400	68900	And with large language models, you can talk to it in human native forms.
68900	70420	That's the kind of peanut butter.
70640	78440	And the goal is, can we put those two things together and get something that can work at speed and scale, we can reason about it, we can know that it's going to work, and it can work really fast.
78540	82060	So that's what we're going to explore for the next 45 minutes or so.
83600	84140	DARPA.
84140	85120	Why is DARPA involved?
85120	90840	DARPA's job is detecting and creating strategic surprise looking far over the horizon for national security.
90840	94360	Why is this a national security problem as opposed to a business problem?
94650	111400	We saw in January 31st of this year, Christopher Wray, who's the director of the FBI, Paul Nakasone, who at the time was the director of the NSA and the commander of CyberCon, Jennifer Easterly, who is the head of CISA, and Harry Coker, who is the national cyber director,
111400	123900	many of whom are wandering around here today, testified before the House Select Committee on the Chinese Communist Party, that the CCP is planting implants in U.S.
123900	125400	civilian infrastructure, U.S.
125400	137220	critical infrastructure, not for industrial espionage, not for national security espionage, but to cause destruction in the event of conflict between nation states.
137620	142440	We need to be... that's why it's really critical for national security that we pay down that technical debt.
142960	152240	That echoes testimony in the ODNI report, the Office of the Director of National Intelligence last year and the year before, about those same kinds of implants in critical infrastructure.
152240	155620	We need to clean up those vulnerabilities and we need to do it really fast.
155620	161280	Again, that's why it's important to put together the chocolate and peanut butter to be able to pay down that technical debt fast.
161280	164140	That's why DARPA is interested, or one of the reasons DARPA is interested.
166720	169320	Okay, so... and why is it important?
170080	176780	One of the reasons... another reason why it's important is because software doesn't just control pure software systems in the digital world.
176960	181220	These software systems also control physical infrastructure.
181220	195860	This slide shows three different systems, or sorry, six different systems, I can count most days, six different systems that are very complex, that have software components, but also have physical components that cause massive disruption on a world scale.
195860	206440	Top left-hand corner is a picture of the... a ship... it shows a picture of the consequences of the NotPetya ransomware attack.
206440	209580	So sorry, it wasn't a ransomware attack, it was called NotPetya.
209580	219420	NotPetya was an attack that was launched against Ukraine's power grid by the GRU, by Sandworm, which was an intelligence directorate of Russia.
219420	233140	The intent was to cause destruction in Ukraine, but it escaped from Ukraine and ended up attacking Maersk, which is responsible... it's a shipping company, it's responsible for something like 20% of the world's shipping.
233300	244500	In about seven minutes, it destroyed 50,000 computers, of Maersk's computers, and it destroyed an entire VoIP phone system.
244500	263140	In the process of destroying those 50,000 computers, it destroyed all but one copy of Maersk's active directive system that it uses... that it used to keep track of where all their container ships were, and what was in all of those container ships.
263140	265300	Basically, how they ran their business.
265600	272380	The one copy of the active directory that wasn't destroyed happened to be in the capital of Nigeria.
272380	282540	And that one copy that wasn't destroyed was not destroyed because the capital of Nigeria was having a power outage at that time, completely accidentally.
283240	285860	Accidents are not a good backup strategy, right?
285860	292040	It was complete luck that they didn't have the entire database of their backup... of their container strategies destroyed.
292380	304260	It took them about a week to get some semblance back and running, and it took them two months to restore their entire consequences... their entire services back to normal, causing significant damage.
304620	315020	The other pictures here, the NOTAMS 2023 FAA outage, that was caused by a syntax error in a file.
315020	324680	Every time a flight takes off in the United States, every single flight that takes off in the United States is required to check the NOTAM system to get authorization to fly.
325300	331380	When that syntax error occurred in that flight, no flight in the United States was allowed to take off for 12 hours, right?
331380	332520	That was a syntax error.
332520	337500	But adversaries could cause similar things because that system exists and potentially has vulnerabilities in them.
337500	341000	So these are the kinds of things that we need to be able to make sure don't happen in the future.
341340	342560	So that's one problem.
342560	346540	The very complex systems that are connected in very complex ways.
347360	351460	The existence of vulnerabilities in many codebases is another reason.
351460	353080	So this slide talks about open source.
353080	359020	I in no way intend to imply that open source is more vulnerability, more buggy than other kinds of software.
359020	363540	I'm only showing this because we have the data about open source because it is open.
363540	365340	It is not worse in any other way.
365340	367320	It's probably better than other kinds of codebases.
367320	370000	Much, much better than some kinds of codebases.
370000	373840	This data is pulled from the Synopsys annual report.
373920	378020	The horizontal axis gives years in time.
378400	380980	The vertical axis gives just percentages.
380980	387680	And this data is pulled from open source across basically almost every industrial sector in the United States.
387680	391580	So if it's a sector that you can imagine, it's probably in this data set.
391660	399220	The very dark blue color, which is the line, the solid line at the top, is the percentage of codebases that contain open source.
399220	405140	That's 96% of codebases across almost every industrial sector in the US contains open source.
405140	407940	Basically, everybody's using open source, which is what we all know.
408140	415040	Then the lighter blue color, the solid blue color at the bottom, that's the percentage of the code in these industries that are open source.
415040	419740	Not just are they using open source at all, it's how much of their code is open source.
419760	422700	That's 77% of those codebases are open source.
422700	427500	So not only are they using open source, they're using open source a lot.
427500	429680	Also, not particularly a surprise.
430200	434960	The yellow line is how many of those codebases contain at least a vulnerability.
434980	439020	The answer is 84% in the most recent survey contain a vulnerability.
439280	442360	And the dark red line is how many contain a severe vulnerability.
442360	446320	In the most recent year, that was 74% contain at least a severe vulnerability.
446560	450420	So that says we have a lot of high risk exposure in the most recent year.
450420	452620	And every year, if you look back in time.
452800	455840	Again, not trying to criticize open source per se.
455840	457760	It's just the source we have data for.
457760	460720	I would suspect non-open source databases have...
460720	464240	codebases probably have even more exposure than the open source database.
464240	466480	This is just the one that we have the data for.
467740	471360	Then another problem with codebase is who is maintaining the codebase?
471360	478280	And there are a lot of codebases where it's basically one guy in Nebraska or some other state of your choice.
478280	480720	Not a robust population.
480720	488940	And then we have situations like we saw with the recent XV compression library.
488940	496980	Where we had a hero for a long time, Lassie Cullen, maintaining this database, this codebase from 2005.
497300	508720	And then we had a person, an entity, Jia Tan, convince him over a period of time with the help of five other GitHub users to turn over the maintenance of that codebase.
508720	510480	Because he'd been doing it for a really long time.
510480	512200	It was time for him to move on.
512480	522080	But turned out that Jia Tan wasn't really a person that was a Russian consortium intending to put in a backdoor into that compression library.
522580	527520	But thankfully, yeah, so Jia Tan was actually some Russian guy or maybe a group of Russian guys.
527600	538680	But thankfully, there was another guy in Nebraska, who in this case turned out to be a software engineer at Microsoft who I think lived in California, who maintains a Postgres library.
538680	545020	And he noticed that his Postgres library, query language, was going just a little bit slower than he wanted.
545020	546980	And really just a little bit slower.
546980	555240	And he put in, oh my god, heroic effort to figure out that his library was going a little bit slower because there was an embedded shell.
555240	559500	And there should not be an embedded shell in a compression library, right?
559500	561340	Compression does not need shells.
561340	572560	And so he figured out that there was this backdoor in the compression library and got it out before it became a part of the main Linux distribution, which would have been a massive vulnerability.
572560	578100	Because the Linux distribution, this particular Linux distribution is widely used by many, many organizations.
578100	580060	And this would have been a massive problem.
580060	582720	So this is another problem with the security of our software.
584440	587140	Okay, so that's on the security side.
587140	594360	On the AI side, this past decade has seen jaw-dropping advancements.
594360	597060	This slide, the horizontal axis is time.
597060	604660	The vertical axis is the amount of resources used to produce a particular advancement on an exponential scale.
605420	612820	Every single dot on this slide was an advancement that was a shock at the time the advancement came out.
612820	615360	Every single dot over a 10-year period.
615360	618680	That's a lot of shock in a 10-year period.
618680	625680	Things like the AlphaGo that beat the world Go champion, with a shockingly beautiful move, 37.
625860	630800	Things like the GAN style, the GAN advancement in 2014.
631120	634320	2014, that was only like 10 and a half years ago.
634320	640440	That was the first time that computers could generate pictures of faces that were believable as people, that could fool people.
640440	642940	Like more than a decade ago, that was a surprise.
643140	645980	It's hard to imagine now where we can get videos.
646140	648800	That 10 years ago, that was something that didn't exist.
648800	658340	Then we have AlphaFold, where computers can predict how protein sequence will fold into a 3D shape, which is game-changing for biology.
658340	668560	That will change the face of medicine and medical research going forward, because it's not just the sequence of a protein, but it's how it becomes a 3D shape that is critical for biological research.
668800	679360	And of course, the thing that really grabbed everybody's imagination is ChatGPT, because now we can see that computers can talk to people, in people-native forms.
679360	686900	Instead of having to type and communicate with computers in the form that computers expect, we can now talk to computers in the form that we expect.
687660	698100	Of course, we're hearing now all sorts of different things about whether we're going to get ChatGPT5 or not, whether it's going to continue the exponential curve, or whether it's going to slow down, and how many resources that's going to take.
698100	712300	Whether or not we continue to see exponential advances in AI, just the advances we've already seen will produce game-changing advances in the rest of our lives, as we see just to harvest the fruits of what we've already seen.
712300	714840	For example, the protein folding.
714840	731940	As we continue to be able to harvest the consequences of those protein folding advances, as we continue to harvest the consequences of being able to generate pictures, and music, and images, and video, that will have game-changing consequences as we unwind that.
731940	743180	Robotics is very likely to see transformational changes as we play through the consequences of the transformer models that underlie large language models, etc., in the field of robotics.
743800	749760	All this means is that we are living in the best of times and the worst of times as far as AI goes.
749760	758460	We are going to need to understand how to harvest the good things and limit the bad things, and continue to figure out how to advance the field.
760040	764300	That's the Charter of the Office, the Information Innovation Office at DartBook.
764300	781080	We are chartered with figuring out how to advance the field of AI, how to build confidence in the information domain, how to advance both offensive and defensive cyber operations, and how to build secure, resilient systems, systems that are software-based systems,
781080	787160	things that are guaranteed to do what they're supposed to do, and more importantly, maybe guaranteed not to do what they're not supposed to do.
787160	800880	These are very sort of tidily looking, sort of separate compartments, but they actually all kind of interrelate to each other, as we often use artificial intelligence to help with the cyber operations, and we use the same thing, artificial intelligence,
800880	803700	to help build secure systems and vice versa.
803700	805300	They all cut across each other.
805740	808240	So I want to talk a little bit about the Proficient AI.
808360	810460	How do we build Proficient AI?
811840	815700	And some of the programs that we've been working on in that space.
817540	824460	So to build AI, one of the things we have to think about, we're here at DefCon, where we have kind of an adversarial mindset.
824460	826720	How do we think about where we have an attacker?
827000	837300	So when we're building AI systems, one of the things we know about, AI is built on computers, where we have the notion of an attacker, and the substrate can be attacked and can be changed.
837300	843060	So what can an attacker do when the attacker is focusing on an AI-based system?
843060	858100	So Guard basically just explored all that question from any angle possible, from everything like, how could an attacker, how much could you build a system to defend an AI algorithm in the presence of an attacker?
858180	872800	So one of the things they did was they figured out how to defend AI image classification systems so that it would get the right answer unless the attacker disrupted the image so much that a person would be able to tell that the image had been attacked.
873700	880780	The algorithm, the program also looked at large language models to understand a lot of the properties of large language models.
880780	887600	One study, for example, looked at, could you poison large language models by poisoning the data on the web?
887600	906480	The study showed that you could, in fact, you could buy enough URLs on the web to poison large language models for about $60, which was sort of a surprising result that you could actually get enough sort of real estate on the web for really only $60 to change the downstream effect on large language models.
907360	920500	Another thing that that study did was they found the universal suffixes by training on open source large language models that if you put those universal suffixes on any query, you could jailbreak the particular models.
920500	928240	So the goal of the program was to understand kind of principles of how you could attack and therefore how you could defend against large language models.
928460	953620	They also worked with how you could, they built, the researchers on this program worked on the Glaze system from the University of Chicago, how artists could modify their digital works so that if those works were ingested into a large language model, the large language model would not be able to learn the style of those works and therefore would not be able to output work in those particular artists' style.
954240	955920	So that was the Glaze program.
956940	959100	And then we have deepfakes.
959100	965480	DARPA has been working on the deepfake problem for more time than the word deepfake was actually a word.
965480	969600	So for more than 10, eight years, 10 years, something like that.
969600	973640	The problem of manipulated media, text, audio, video.
974300	978040	The slide here is showing the person of interest model.
978040	997480	So how can we build models of high interest, high visibility people so that when a purported image or video comes out of a high interest person, we already have a way of very quickly assessing whether it's likely or not likely that that video is a real,
997700	1001500	a genuine recording of the real person or not.
1001520	1008120	It turns out that when we speak, we all have idiosyncratic bio expressions, micro expressions of our face.
1008120	1013480	So like when I say the word hello, maybe I always raise the left corner of my lip, my right eyebrow.
1013600	1017320	It turns out those kind of idiosyncratic expressions are very regular.
1017320	1022740	And we can build such a model based on about an hour or two hours of video of a particular person.
1022760	1029300	And those biomarkers would defend against both deepfakes, but also impersonators, things like that.
1029300	1038460	And we can then, when a deepfake came out, you could show side by side, both the deepfake or the purported deepfake and the model to audiences.
1038460	1047660	And you could, the audience members could decide for themselves whether the model, whether the purported deepfake and the person, the genuine model were the same or not.
1048980	1053420	These models have all been, are in the process of being open sourced and made available.
1053540	1071060	And at the direction of Congress, we are working on sort of creating an industry and a whole market for these kinds of tools so that the consumer can make decisions for themselves about whether media has been manipulated or is authentic so that people can make informed decisions about what the information they're getting is.
1072320	1073040	Okay.
1073880	1074380	Okay.
1074380	1075480	So then provable AI.
1075480	1081320	When we are assessing artificial intelligence, right now, the benchmark, the standard of the art is a testing-based regimen.
1081320	1085300	And we know from software that testing is only as good as the test suites.
1085300	1092420	And a lot of the standards and the techniques that we're using for testing artificial intelligence have been designed to test people.
1092520	1105300	And while we know a lot about how to test people, we don't know so much about how you test AI systems that are massively larger in scale in terms of the speed of the data that they have read and ingested than people.
1105440	1114040	A lot of the times they've read the content that might have been on the test and we know how to extrapolate for people, but we don't necessarily know so well how to extrapolate from AI systems.
1114200	1122940	And so the concept behind provable quantification of AI is sort of like the concept behind formal verification for software.
1122940	1127780	Can we prove properties of AI models instead of testing properties for AI models?
1127780	1131880	So can we prove that an AI model will be able to answer a particular question properly?
1131880	1135880	Can we prove that a given model might be able to answer a class of questions properly?
1135940	1140020	Can we prove what kind of questions a particular model might be able to answer?
1140440	1146080	You know, as Stephanie Tompkins mentioned earlier in her main stage talk, DARPA does high-risk, high-reward research.
1146080	1156260	So it may be that the answer to all of these questions is, no, maybe not today, maybe not this year, maybe not 10 years from now, maybe not ever, but that's the hypothesis that this particular program is attempting to answer.
1157560	1162640	Okay,
1166600	1171720	so that's sort of the basic AI piece, kind of laying out some of the fundamentals of what we're doing in AI.
1171720	1175420	Moving on now to the proficient, the resilient, adaptable, secure systems.
1175420	1180960	Imagine if we could build a world where the amount of vulnerabilities in our software were shockingly lower.
1180960	1184080	We actually have a lot of tools and techniques to be able to do that.
1184080	1192940	To talk about that a little bit, I want to go back in time to the HACMS program, where we worked on applying formal methods to a helicopter.
1192940	1198540	First of all, to a quadcopter and to the unmanned little bird, which is the picture on the slide.
1198680	1203720	You can see that the unmanned little bird here is a full -size helicopter, big enough to have two test pilots.
1203960	1206420	The program started by doing a baseline assessment .
1206420	1214660	We had a state-of-the-art red team try to attack and get access to take over remote control of both of these vehicles from off the vehicle.
1214660	1219760	We required them to assume that the hardware was correct, only attack the software.
1220620	1223020	They had six weeks time.
1223700	1227080	They were able to remotely take over the quadcopter.
1227180	1230100	Nobody was really surprised that they could take over the quadcopter.
1230100	1238960	I think probably the manufacturers of the quadcopter, their biggest fear was probably that the quadcopter was, you know, flying in a park and no one could connect to it.
1238960	1241760	Not that too many people could connect to it.
1242200	1248320	The Boeing aviation engineers, though, they were shocked that the red team was able to remotely take over control of the quadcopter.
1248740	1250140	Sorry, of the helicopter.
1250360	1251400	But they could.
1252260	1258660	Then the formal methods engineers got to work and they rewrote a lot of the code in the quadcopter.
1258660	1264540	And then the red team got to do it again at the end of 60 months, try to take over control again of the quadcopter.
1264780	1266620	They were not able to do so.
1266620	1268400	At that time, the red team was shocked.
1268400	1270300	Pretty much so was everybody else.
1270500	1273620	One of my colleagues at the time was a penetration testing expert.
1273620	1277220	His assessment was that that was the most secure UAV on the entire planet.
1277380	1281560	DARPA's assessment was that that result made that the entire program was a success.
1283460	1293460	That quadcopter came back to the aviation village, aerospace village, three years ago and was challenged by all comers here to hack into it.
1293460	1296980	No one was able to hack into it even three years ago.
1296980	1299860	So seven years later, six years later.
1299860	1303000	So the formal methods stood the test of time.
1303240	1304620	But that was just a quadcopter.
1304620	1306120	What about the helicopter?
1306280	1311460	So after the work on the quadcopter, the Boeing aviation engineers got to work.
1311460	1319640	So unlike the quadcopter that was open source and available to the formal methods researchers, the quadcopter, the helicopter was ITAR restricted and proprietary.
1319640	1324700	So the formal methods researchers who are professors and grad students, they couldn't look at it directly.
1324700	1332680	They had to teach the Boeing aviation engineers how to apply and use the formal methods tools, which the Boeing aviation engineers did.
1332840	1339000	And at the end of phase two, so another roughly 16 months later, the red team got to go again.
1339000	1348000	But this time, instead of attacking from off the helicopter, they got to put whatever code they wanted in a particular place with route access on the helicopter.
1349200	1353900	And this time they were just supposed to disrupt the operation of the helicopter as a helicopter.
1353940	1355260	And they couldn't do it.
1356280	1364700	16 months later, they got to try again, this time while the helicopter was in flight with the two test pilots on board.
1365960	1370420	Basically, we're betting the lives of those helicopters on the quality of the formal methods software.
1370660	1372080	And it was a good bet.
1372080	1383900	The helicopter survived, the test pilot survived, and the test pilots couldn't tell that they were flying a high assurance version of the helicopter instead of the normal version of the helicopter.
1384560	1386420	So what was the secret sauce?
1386460	1389660	So we started with the unverified, unsecured version.
1389800	1391140	And they did a couple of things.
1391140	1397840	They started by doing an architectural analysis to understand what was the lay of the land as far as the software was concerned.
1397860	1404220	What part of the software was kind of a nice to have versus what part of the software was really critical for the operation of the helicopter.
1404320	1412920	They decided, for example, that the camera software was, you know, it was kind of nice to have for a mission, but it was not essential for the operation of the helicopter as a helicopter.
1413020	1416160	So that they decided they didn't need to worry about from a security perspective.
1416240	1419120	And that's where they put, in the end, the red team code.
1419540	1425820	And then they decided that the code that would talk to the ground station, that was high assurance code.
1425820	1428340	They decided the flight control computer, that was high assurance code.
1428340	1435100	They kind of did this analysis and they codified it in the architecture, the AADL, the architecture analysis and description language.
1435420	1444980	And they used the SCL4 microkernel, which is a fully verified separation kernel written in C, verified in the Isabel theorem prover, and proven to be fully functionally correct.
1444980	1452800	Now, that is a massive amount of very specialized work that they spent thousands of hundreds of thousands of people hours doing.
1452800	1454460	So, like, massive amount of work.
1454460	1458520	But that artifact is now available for many, many people to reuse.
1460560	1470760	That's the thing that provided separation, that allowed us to put the red team code in the camera partition, allowed them to get route access over there, and allowed us to put the flight control in another partition.
1470760	1476020	And allowed us, we really did bet the pilot's lives on the fact that that separation would hold.
1476020	1481800	And that the red team code could crash the camera partition and that would not crash the helicopter.
1482160	1484760	And then we used verified parsers.
1484760	1493540	We guaranteed that all of the communications from the wire representations into in-memory representations would be fully verified and therefore would be correct.
1494100	1495980	So, that's just some of the secret sauce there.
1497380	1498080	Okay.
1498080	1498520	Parsers.
1498520	1500640	I mentioned parsers briefly on the last slide.
1500640	1508100	Parsers, as I'm sure many of you know since you're at DEF CON, are the thing that convert wire representations into in-memory representations.
1508540	1514860	Bad parsers are a source of something like 80% of the CVEs in MITRE's vulnerability database.
1515000	1518500	Because empirically, people just suck at writing parsers.
1518760	1535980	If we could just get parsers to be replaced by generated parsers, if you write instead of a parser a grammar that describes what is the format that I'm expecting of things on the wire, and from that grammar generate code that will convert the wire representation into the in-memory representation and prove that that description,
1535980	1540860	that conversion is correct, and use that instead, we would have a much safer world.
1542240	1546200	The SafeDocs worked on making those grammars much more expressive.
1546200	1553420	They worked with the PDF Association to codify the description of the PDF grammar and make it machine-readable.
1553420	1557900	They now call, they release, the PDF Association released a new standard for PDF.
1557900	1560160	It's called the Arlington PDF Model.
1560240	1563200	Trivia future for you in the future, super geeks.
1563200	1569480	The PDF, the Arlington PDF Model is called the Arlington PDF Model because DARPA is in Arlington.
1570560	1574860	All of this is released, a lot of this is released open source, so it's available to the community more broadly.
1574860	1583360	And if you like, in the future, when you have a choice between writing a parser by hand and finding a grammar, a verified parser generator tool, use the generated tool.
1583360	1585380	Your code will be much safer as a result.
1586400	1588140	Okay, that's SafeDocs.
1588660	1589200	Vspells.
1589200	1598320	Sometimes you have the problem that your code is just this ugly spaghetti mess of legacy stuff, and it's horrible, and it has a parser in there somewhere, or it has some piece that you want to be able to reuse.
1598320	1605980	Maybe you don't have this problem because you write beautiful code and your organization has always written beautiful code, but I can tell you the military has this problem everywhere.
1606660	1617360	And Vspells is designed to be able to go and find those places and lift them up into a beautiful high-level abstraction, replace, say, the ugly parser with a verified generated parser, and then plug it back in and compile it down.
1617360	1618840	That's what Vspells is about.
1621400	1622780	Okay, and then Provers.
1622780	1635760	I mentioned in Hackams that we used a ton of formal methods-based approaches, but the level of expertise necessary to use a lot of those tools was kind of at the PhD end of the spectrum, and we don't have a whole lot of PhDs to go around.
1636380	1643520	Provers is about can we lower the level of expertise required so that it is much more accessible to a much broader audience?
1643520	1654100	A lot of this is about using AI-based tools and techniques so that instead of having to write really strange incantations into tools, the AI system can fill in those incantations automatically.
1654260	1659920	Turns out theorem Provers is just another kind of language, and large language models are really good at weird kind of languages.
1659920	1666520	And so it turns out that this kind of automation of using theorem Provers and large language models is working pretty well.
1666520	1679300	So that's the concept behind the Provers program, is can we do a lot of the kind of Hackam-style formal methods work in normal kind of tool chains by using AI-level automation is the technical hypothesis behind the Provers program.
1679300	1686560	And again, the goal is to get higher quality software faster with lower levels of expertise required on the part of the developers.
1690390	1694210	Okay, and then this is the Tractor program.
1694210	1705510	So just as I mentioned how parsing, we've sort of empirically discovered in the last 50 years that people are not good at writing parsers that don't have vulnerabilities that can be exploited by adversaries.
1705510	1715230	We've also empirically discovered that writing code in non-memory-safe languages is dangerous and leads to code that could be exploited too easily.
1715230	1720830	I'm sure there are some people who can write code in non-memory-safe languages, but most of us are not those people.
1720830	1730690	There's been lots of reports written in the last year to basically recommending that we stop writing code in non-memory-safe languages.
1730890	1740690	We still need to write code in highly performant languages with not a lot of overhead, which is of course why Rust is kind of rocketing up in the language popularity.
1740910	1752290	The problem is we have literally trillions of lines of code in C and C++, and even Google has committed to write into Rust.
1752290	1754790	Microsoft is talking about writing into Rust.
1754790	1769310	But even with Google trying to write in Rust, my understanding is they've written more C and C++ code in the time that they've been trying to write in Rust than they've written Rust code, even though they're trying to write Rust code more than they're trying to write C and C++ code.
1769410	1771910	So how do we get out of this?
1772050	1777810	Well, the obvious answer is you write something that will translate from C and C++ into Rust.
1778910	1783250	But, I mean, you can easily literally translate from C and C++ into Rust.
1783250	1788690	There's like an unsafe thing in Rust, so you can just translate and put unsafe around it, and you're done!
1788910	1795070	Except you haven't actually accomplished anything because that's just a memory-unsafe language, so you're still in a memory-unsafe language.
1795070	1819110	So the technical hypothesis or the goal of the Tractor program is, can we use program analysis tools paired with large language model AI kind of technology to automatically translate C into idiomatic Rust at speed and scale almost completely automatically?
1819110	1822890	Now, note I didn't say completely automatically, but almost completely automatically.
1822890	1825830	Maybe like 99.9% automatically.
1825910	1829410	So that it finds the places where it's straightforward.
1829470	1830590	Just do it.
1830590	1834090	The places where it's like, oh, but you're not really memory-safe here.
1834530	1838530	Like, figure out the idioms where you can make it memory-safe and make it memory-safe.
1838530	1840890	And then the places where like, wow, this is really gnarly, dude.
1840890	1842270	I don't know how to do this.
1842310	1843050	Help!
1843050	1845190	Can you come help this and figure this out?
1845290	1850230	So this program is just getting launched.
1850270	1852690	So the special notice is on the street right now.
1852690	1854690	The call for proposals is actually open.
1854690	1856290	Proposals are due August 19th.
1856290	1865550	So if you would like to participate, you can still participate in this program by going to the webpage, finding out information, talking to other people, and writing a proposal.
1865550	1869410	If you have great ideas about how to do this, we would like to hear from your great ideas.
1869430	1871930	And we would like to have you participating too.
1872350	1876510	Because we would really, really, really like to have the world have less memory-unsafe C.
1876510	1878370	So we're just focusing on this program in C.
1878370	1883910	The first phase of the program is just single-threaded because we're not totally insane.
1884010	1887110	We have to solve the single-threaded part before we can solve the multi-threaded part.
1887110	1889630	We have to solve C before we can solve C++.
1889950	1892670	But we would like to get all the way, if possible.
1893170	1894930	Okay, that's Tractor.
1894990	1896730	And the program is called Tractor.
1896730	1898010	Yeah, it's in about this.
1898010	1898610	Okay.
1898930	1903990	Okay, that brings me to AICC, which is what is behind me.
1905150	1909770	The hypothesis behind AICC goes back to the sharkberg that I showed you on the very beginning.
1909770	1911410	We have the massive technical debt.
1911410	1914670	We have vast numbers of vulnerabilities that are out there in the world.
1914670	1921190	Many, many of them in critical infrastructure that we cannot afford to have sitting out there in critical infrastructure for very much longer.
1921190	1922570	We need to move the needle.
1926370	1928770	We need to be able to fix those bugs.
1928910	1936790	Many of those critical infrastructure sectors are wildly under-resourced and wildly under-expertised, as it were.
1936790	1944130	It sort of feels like they thought they were in one world, and they discovered one day that they were in another world on the front lines of nation-state-level conflict.
1944130	1946310	And that wasn't the world they signed up for.
1946790	1955350	We connected, like, they have their software controlling their infrastructure, and we connected them, or they got connected to the internet.
1955710	1962770	And now they're on the front lines of an international conflict without really the skillset to be able to fix that, to fix the exposure.
1962850	1964210	And that exposure is real, right?
1964210	1969230	We're starting to see more and more headlines of international groups hacking, like water sector.
1969410	1970830	Like, that's not okay, right?
1970830	1971810	We need to get that fixed.
1971810	1979570	And it's our community's technical skills that will got them into this mess in the first place, and that has a chance of helping them.
1979590	1995710	So, the premise behind AICC is that we can pair cyber reasoning systems, program analysis, tools and techniques, static analysis, dynamic analysis, all the kind of analyses with cyber reasoning, but with AI kind of technology, machine learning, large language models,
1995710	1998470	to be able to automatically find and more importantly fix, right?
1998470	2003330	They don't need more bugs to fix, but if we could give them, here's the fix, here's how to fix it.
2003330	2014790	I was recently talking to the sector heads from some of these sectors, and when I told them that the premise here was not just to find, but to fix, you should have seen their eyes light up, like, it might actually fix it.
2014790	2017430	I mean, I did tell them, like, this is a DARPA crazy idea.
2017630	2019450	It may not work at all.
2019470	2021730	At the time, the results hadn't shown up at all.
2021730	2023490	So, like, I could be like, it could not work at all.
2023490	2025650	Just to tell you, like, DARPA does stuff that fails.
2025650	2027530	It's definitely talked about the road race.
2027530	2030150	The car is only getting a mile and, like, blowing up.
2030150	2031510	So, it could totally fail.
2031510	2034410	But if it works, we're trying to actually get you fixes too.
2034410	2035770	They were super excited.
2036030	2039810	And so, that's the technical hypothesis, and we have some results now, right?
2039810	2040750	Up here.
2040750	2043470	So far, we're only working on the NGINX problem.
2043510	2047570	But those, each one of those hexagons is one of the challenge problems.
2047670	2050290	The blue, the blue, no blue up there.
2050290	2056650	The yellow is a challenge problem that at least one team has found a bug.
2056690	2063490	And the green, at least one challenge problem has found a bug and found a fix.
2063510	2066650	So, like, there's a lot of green up there.
2066650	2073130	So, the hypothesis for the NGINX challenge problem is proving out so far.
2073130	2076630	Like, that's, like, as best a result as we could hope for, right?
2076630	2080350	We don't want to have... like, the challenge problem was designed to be spread people out.
2080350	2081770	We didn't want everybody to max out.
2081770	2087010	So, like, it could have been all gray, in which case nobody could have found any bugs and nobody could have found any fixes.
2087250	2091730	Could have been all yellow or lots of yellow, in which case nobody could have found any patches.
2091730	2095130	So, I'm super, super excited about these results so far.
2095470	2106310	At some point later today, it'll switch over to the next challenge problem and we'll see if the NGINX challenge problem was an anomaly and the other problems are harder.
2106310	2111650	So, stay tuned to watch that little circle to see how they're doing.
2111650	2116130	So, I think it's important that we're not just talking about large language models in isolation.
2116450	2122410	We're talking about large language models paired with a lot of blood, sweat, and tears with program analysis tools.
2122590	2126370	So, the structure of the competition is there's a threshold.
2126370	2129410	Every team has to make it above a certain threshold.
2129610	2139530	All the teams that make it above that threshold, the top seven of those teams will make it will win a $2 million prize and will be invited to participate in the finals that will be back here next year.
2139650	2147870	I'm guessing since we're seeing a lot of scores up there, that teams will make it above the threshold and we'll be back here for a finals next year.
2147870	2149650	But that's not the official word.
2149650	2151290	I'm just guessing.
2152490	2155190	The goal of this city here is twofold.
2155190	2163610	One is to show you the results, show everybody the results of the competition to prove out... to show whether we're proving out the technical hypothesis.
2163610	2169510	The other is to try to give people a visceral feel for how important it is we pay down that technical debt.
2169530	2174690	That vulnerability is not just about losing data.
2174690	2181450	It's not just about ransomware, although ransomware is horribly bad, particularly what it's affecting hospital and people's lives in hospitals.
2182950	2190770	That it is something that's critically important for national security and it's something that we need to pay down or we're going to pay down even worse in the future.
2191270	2196250	And that's... if you haven't already, I'd buy you to go in the city and see all the information that's in there.
2196250	2199150	You'll find out way more about AICC.
2200050	2201850	Okay, last slide.
2202250	2204870	DARPA as an organization is quite small.
2204870	2206390	They're not many of us there.
2206390	2214610	All of the cool work that DARPA does is really done by people in the community, people like you, either by coming to DARPA for relatively short-term appointments.
2214610	2228510	Everybody who has decision authority at DARPA, from Stephanie Weirich, Stephanie Tompkins, who gave the talk on the main stage, to me, who is an office director, to Andrew Carney and Perry Adams, who are the program managers who started and have been running AICC,
2228510	2230530	to... we're all on term appointments.
2230530	2234970	You come for two years, you stay for maybe another two years, maybe for one more year, then you have to leave.
2234970	2238130	You come, you get your great idea out, and then you leave.
2238130	2247730	This is a way of DARPA always having to reinvest and recommit to great ideas, never getting committed to one idea and latching on, because everybody's coming and going.
2247730	2255050	This is a way that the agency makes sure that we are not afraid to fail, because by the time something fails, the person whose idea it was is already gone.
2255150	2258910	The people who do the failure cleanup are not the people who are responsible for startup.
2259150	2262950	All the people who come in as program managers come and go.
2262950	2264450	There's somebody else with a new idea.
2264450	2267610	It's a way that we make sure that we're always investing in brand new ideas.
2267630	2279870	But also then the people who do the work, people in the community, we put out these BAAs, like I described, agency announcements, like I was describing for Tractor, and ask for the bright people in the community to submit their ideas and work on it.
2279870	2284830	Or like the people on the AICC competition teams, like I see the shellfish team sitting right here, right?
2284830	2287370	It's the community that does the work on DARPA ideas.
2287370	2295030	And so I invite you to help join DARPA's efforts in buying down this technical debt, or the other parts of the work that DARPA does.
2295310	2297890	The vocabulary DARPA uses is a little bit weird.
2297890	2301310	Like we describe the people who work on DARPA programs as performers.
2302490	2311570	DARPA Connect, which is the information is on the slide here, is a website and a series of workshops that help people get acclimatized.
2311570	2314990	It provides information about like the Hail Mara Catechism and things like that.
2314990	2327770	So if you're at all interested, I encourage you to come find somebody who's wearing the DARPA paraphernalia, or go online and find this information to help join us, you know, inventing the future and paying down the technical debt.
2327770	2329410	Thank you very much for your time and attention.
2329410	2332430	We'll have more programming on the stage and please come and visit the city.
2332510	2333630	Thank you very much.
