WEBVTT

00:13.320 --> 00:28.920
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.

00:28.920 --> 00:44.360
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.

00:44.360 --> 00:45.480
That's the chocolate.

00:45.480 --> 00:51.300
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.

00:51.420 --> 00:59.500
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.

00:59.560 --> 01:05.400
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.

01:05.400 --> 01:08.900
And with large language models, you can talk to it in human native forms.

01:08.900 --> 01:10.420
That's the kind of peanut butter.

01:10.640 --> 01:18.440
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.

01:18.540 --> 01:22.060
So that's what we're going to explore for the next 45 minutes or so.

01:23.600 --> 01:24.140
DARPA.

01:24.140 --> 01:25.120
Why is DARPA involved?

01:25.120 --> 01:30.840
DARPA's job is detecting and creating strategic surprise looking far over the horizon for national security.

01:30.840 --> 01:34.360
Why is this a national security problem as opposed to a business problem?

01:34.650 --> 01:51.400
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,

01:51.400 --> 02:03.900
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.

02:03.900 --> 02:05.400
civilian infrastructure, U.S.

02:05.400 --> 02:17.220
critical infrastructure, not for industrial espionage, not for national security espionage, but to cause destruction in the event of conflict between nation states.

02:17.620 --> 02:22.440
We need to be... that's why it's really critical for national security that we pay down that technical debt.

02:22.960 --> 02:32.240
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.

02:32.240 --> 02:35.620
We need to clean up those vulnerabilities and we need to do it really fast.

02:35.620 --> 02:41.280
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.

02:41.280 --> 02:44.140
That's why DARPA is interested, or one of the reasons DARPA is interested.

02:46.720 --> 02:49.320
Okay, so... and why is it important?

02:50.080 --> 02:56.780
One of the reasons... another reason why it's important is because software doesn't just control pure software systems in the digital world.

02:56.960 --> 03:01.220
These software systems also control physical infrastructure.

03:01.220 --> 03:15.860
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.

03:15.860 --> 03:26.440
Top left-hand corner is a picture of the... a ship... it shows a picture of the consequences of the NotPetya ransomware attack.

03:26.440 --> 03:29.580
So sorry, it wasn't a ransomware attack, it was called NotPetya.

03:29.580 --> 03:39.420
NotPetya was an attack that was launched against Ukraine's power grid by the GRU, by Sandworm, which was an intelligence directorate of Russia.

03:39.420 --> 03:53.140
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.

03:53.300 --> 04:04.500
In about seven minutes, it destroyed 50,000 computers, of Maersk's computers, and it destroyed an entire VoIP phone system.

04:04.500 --> 04:23.140
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.

04:23.140 --> 04:25.300
Basically, how they ran their business.

04:25.600 --> 04:32.380
The one copy of the active directory that wasn't destroyed happened to be in the capital of Nigeria.

04:32.380 --> 04:42.540
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.

04:43.240 --> 04:45.860
Accidents are not a good backup strategy, right?

04:45.860 --> 04:52.040
It was complete luck that they didn't have the entire database of their backup... of their container strategies destroyed.

04:52.380 --> 05:04.260
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.

05:04.620 --> 05:15.020
The other pictures here, the NOTAMS 2023 FAA outage, that was caused by a syntax error in a file.

05:15.020 --> 05:24.680
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.

05:25.300 --> 05:31.380
When that syntax error occurred in that flight, no flight in the United States was allowed to take off for 12 hours, right?

05:31.380 --> 05:32.520
That was a syntax error.

05:32.520 --> 05:37.500
But adversaries could cause similar things because that system exists and potentially has vulnerabilities in them.

05:37.500 --> 05:41.000
So these are the kinds of things that we need to be able to make sure don't happen in the future.

05:41.340 --> 05:42.560
So that's one problem.

05:42.560 --> 05:46.540
The very complex systems that are connected in very complex ways.

05:47.360 --> 05:51.460
The existence of vulnerabilities in many codebases is another reason.

05:51.460 --> 05:53.080
So this slide talks about open source.

05:53.080 --> 05:59.020
I in no way intend to imply that open source is more vulnerability, more buggy than other kinds of software.

05:59.020 --> 06:03.540
I'm only showing this because we have the data about open source because it is open.

06:03.540 --> 06:05.340
It is not worse in any other way.

06:05.340 --> 06:07.320
It's probably better than other kinds of codebases.

06:07.320 --> 06:10.000
Much, much better than some kinds of codebases.

06:10.000 --> 06:13.840
This data is pulled from the Synopsys annual report.

06:13.920 --> 06:18.020
The horizontal axis gives years in time.

06:18.400 --> 06:20.980
The vertical axis gives just percentages.

06:20.980 --> 06:27.680
And this data is pulled from open source across basically almost every industrial sector in the United States.

06:27.680 --> 06:31.580
So if it's a sector that you can imagine, it's probably in this data set.

06:31.660 --> 06:39.220
The very dark blue color, which is the line, the solid line at the top, is the percentage of codebases that contain open source.

06:39.220 --> 06:45.140
That's 96% of codebases across almost every industrial sector in the US contains open source.

06:45.140 --> 06:47.940
Basically, everybody's using open source, which is what we all know.

06:48.140 --> 06:55.040
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.

06:55.040 --> 06:59.740
Not just are they using open source at all, it's how much of their code is open source.

06:59.760 --> 07:02.700
That's 77% of those codebases are open source.

07:02.700 --> 07:07.500
So not only are they using open source, they're using open source a lot.

07:07.500 --> 07:09.680
Also, not particularly a surprise.

07:10.200 --> 07:14.960
The yellow line is how many of those codebases contain at least a vulnerability.

07:14.980 --> 07:19.020
The answer is 84% in the most recent survey contain a vulnerability.

07:19.280 --> 07:22.360
And the dark red line is how many contain a severe vulnerability.

07:22.360 --> 07:26.320
In the most recent year, that was 74% contain at least a severe vulnerability.

07:26.560 --> 07:30.420
So that says we have a lot of high risk exposure in the most recent year.

07:30.420 --> 07:32.620
And every year, if you look back in time.

07:32.800 --> 07:35.840
Again, not trying to criticize open source per se.

07:35.840 --> 07:37.760
It's just the source we have data for.

07:37.760 --> 07:40.720
I would suspect non-open source databases have...

07:40.720 --> 07:44.240
codebases probably have even more exposure than the open source database.

07:44.240 --> 07:46.480
This is just the one that we have the data for.

07:47.740 --> 07:51.360
Then another problem with codebase is who is maintaining the codebase?

07:51.360 --> 07:58.280
And there are a lot of codebases where it's basically one guy in Nebraska or some other state of your choice.

07:58.280 --> 08:00.720
Not a robust population.

08:00.720 --> 08:08.940
And then we have situations like we saw with the recent XV compression library.

08:08.940 --> 08:16.980
Where we had a hero for a long time, Lassie Cullen, maintaining this database, this codebase from 2005.

08:17.300 --> 08:28.720
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.

08:28.720 --> 08:30.480
Because he'd been doing it for a really long time.

08:30.480 --> 08:32.200
It was time for him to move on.

08:32.480 --> 08:42.080
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.

08:42.580 --> 08:47.520
But thankfully, yeah, so Jia Tan was actually some Russian guy or maybe a group of Russian guys.

08:47.600 --> 08:58.680
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.

08:58.680 --> 09:05.020
And he noticed that his Postgres library, query language, was going just a little bit slower than he wanted.

09:05.020 --> 09:06.980
And really just a little bit slower.

09:06.980 --> 09:15.240
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.

09:15.240 --> 09:19.500
And there should not be an embedded shell in a compression library, right?

09:19.500 --> 09:21.340
Compression does not need shells.

09:21.340 --> 09:32.560
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.

09:32.560 --> 09:38.100
Because the Linux distribution, this particular Linux distribution is widely used by many, many organizations.

09:38.100 --> 09:40.060
And this would have been a massive problem.

09:40.060 --> 09:42.720
So this is another problem with the security of our software.

09:44.440 --> 09:47.140
Okay, so that's on the security side.

09:47.140 --> 09:54.360
On the AI side, this past decade has seen jaw-dropping advancements.

09:54.360 --> 09:57.060
This slide, the horizontal axis is time.

09:57.060 --> 10:04.660
The vertical axis is the amount of resources used to produce a particular advancement on an exponential scale.

10:05.420 --> 10:12.820
Every single dot on this slide was an advancement that was a shock at the time the advancement came out.

10:12.820 --> 10:15.360
Every single dot over a 10-year period.

10:15.360 --> 10:18.680
That's a lot of shock in a 10-year period.

10:18.680 --> 10:25.680
Things like the AlphaGo that beat the world Go champion, with a shockingly beautiful move, 37.

10:25.860 --> 10:30.800
Things like the GAN style, the GAN advancement in 2014.

10:31.120 --> 10:34.320
2014, that was only like 10 and a half years ago.

10:34.320 --> 10:40.440
That was the first time that computers could generate pictures of faces that were believable as people, that could fool people.

10:40.440 --> 10:42.940
Like more than a decade ago, that was a surprise.

10:43.140 --> 10:45.980
It's hard to imagine now where we can get videos.

10:46.140 --> 10:48.800
That 10 years ago, that was something that didn't exist.

10:48.800 --> 10:58.340
Then we have AlphaFold, where computers can predict how protein sequence will fold into a 3D shape, which is game-changing for biology.

10:58.340 --> 11:08.560
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.

11:08.800 --> 11:19.360
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.

11:19.360 --> 11:26.900
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.

11:27.660 --> 11:38.100
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.

11:38.100 --> 11:52.300
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.

11:52.300 --> 11:54.840
For example, the protein folding.

11:54.840 --> 12:11.940
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.

12:11.940 --> 12:23.180
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.

12:23.800 --> 12:29.760
All this means is that we are living in the best of times and the worst of times as far as AI goes.

12:29.760 --> 12:38.460
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.

12:40.040 --> 12:44.300
That's the Charter of the Office, the Information Innovation Office at DartBook.

12:44.300 --> 13:01.080
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,

13:01.080 --> 13:07.160
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.

13:07.160 --> 13:20.880
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,

13:20.880 --> 13:23.700
to help build secure systems and vice versa.

13:23.700 --> 13:25.300
They all cut across each other.

13:25.740 --> 13:28.240
So I want to talk a little bit about the Proficient AI.

13:28.360 --> 13:30.460
How do we build Proficient AI?

13:31.840 --> 13:35.700
And some of the programs that we've been working on in that space.

13:37.540 --> 13:44.460
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.

13:44.460 --> 13:46.720
How do we think about where we have an attacker?

13:47.000 --> 13:57.300
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.

13:57.300 --> 14:03.060
So what can an attacker do when the attacker is focusing on an AI-based system?

14:03.060 --> 14:18.100
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?

14:18.180 --> 14:32.800
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.

14:33.700 --> 14:40.780
The algorithm, the program also looked at large language models to understand a lot of the properties of large language models.

14:40.780 --> 14:47.600
One study, for example, looked at, could you poison large language models by poisoning the data on the web?

14:47.600 --> 15:06.480
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.

15:07.360 --> 15:20.500
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.

15:20.500 --> 15:28.240
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.

15:28.460 --> 15:53.620
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.

15:54.240 --> 15:55.920
So that was the Glaze program.

15:56.940 --> 15:59.100
And then we have deepfakes.

15:59.100 --> 16:05.480
DARPA has been working on the deepfake problem for more time than the word deepfake was actually a word.

16:05.480 --> 16:09.600
So for more than 10, eight years, 10 years, something like that.

16:09.600 --> 16:13.640
The problem of manipulated media, text, audio, video.

16:14.300 --> 16:18.040
The slide here is showing the person of interest model.

16:18.040 --> 16:37.480
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,

16:37.700 --> 16:41.500
a genuine recording of the real person or not.

16:41.520 --> 16:48.120
It turns out that when we speak, we all have idiosyncratic bio expressions, micro expressions of our face.

16:48.120 --> 16:53.480
So like when I say the word hello, maybe I always raise the left corner of my lip, my right eyebrow.

16:53.600 --> 16:57.320
It turns out those kind of idiosyncratic expressions are very regular.

16:57.320 --> 17:02.740
And we can build such a model based on about an hour or two hours of video of a particular person.

17:02.760 --> 17:09.300
And those biomarkers would defend against both deepfakes, but also impersonators, things like that.

17:09.300 --> 17:18.460
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.

17:18.460 --> 17:27.660
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.

17:28.980 --> 17:33.420
These models have all been, are in the process of being open sourced and made available.

17:33.540 --> 17:51.060
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.

17:52.320 --> 17:53.040
Okay.

17:53.880 --> 17:54.380
Okay.

17:54.380 --> 17:55.480
So then provable AI.

17:55.480 --> 18:01.320
When we are assessing artificial intelligence, right now, the benchmark, the standard of the art is a testing-based regimen.

18:01.320 --> 18:05.300
And we know from software that testing is only as good as the test suites.

18:05.300 --> 18:12.420
And a lot of the standards and the techniques that we're using for testing artificial intelligence have been designed to test people.

18:12.520 --> 18:25.300
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.

18:25.440 --> 18:34.040
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.

18:34.200 --> 18:42.940
And so the concept behind provable quantification of AI is sort of like the concept behind formal verification for software.

18:42.940 --> 18:47.780
Can we prove properties of AI models instead of testing properties for AI models?

18:47.780 --> 18:51.880
So can we prove that an AI model will be able to answer a particular question properly?

18:51.880 --> 18:55.880
Can we prove that a given model might be able to answer a class of questions properly?

18:55.940 --> 19:00.020
Can we prove what kind of questions a particular model might be able to answer?

19:00.440 --> 19:06.080
You know, as Stephanie Tompkins mentioned earlier in her main stage talk, DARPA does high-risk, high-reward research.

19:06.080 --> 19:16.260
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.

19:17.560 --> 19:22.640
Okay,

19:26.600 --> 19:31.720
so that's sort of the basic AI piece, kind of laying out some of the fundamentals of what we're doing in AI.

19:31.720 --> 19:35.420
Moving on now to the proficient, the resilient, adaptable, secure systems.

19:35.420 --> 19:40.960
Imagine if we could build a world where the amount of vulnerabilities in our software were shockingly lower.

19:40.960 --> 19:44.080
We actually have a lot of tools and techniques to be able to do that.

19:44.080 --> 19:52.940
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.

19:52.940 --> 19:58.540
First of all, to a quadcopter and to the unmanned little bird, which is the picture on the slide.

19:58.680 --> 20:03.720
You can see that the unmanned little bird here is a full -size helicopter, big enough to have two test pilots.

20:03.960 --> 20:06.420
The program started by doing a baseline assessment .

20:06.420 --> 20:14.660
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.

20:14.660 --> 20:19.760
We required them to assume that the hardware was correct, only attack the software.

20:20.620 --> 20:23.020
They had six weeks time.

20:23.700 --> 20:27.080
They were able to remotely take over the quadcopter.

20:27.180 --> 20:30.100
Nobody was really surprised that they could take over the quadcopter.

20:30.100 --> 20:38.960
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.

20:38.960 --> 20:41.760
Not that too many people could connect to it.

20:42.200 --> 20:48.320
The Boeing aviation engineers, though, they were shocked that the red team was able to remotely take over control of the quadcopter.

20:48.740 --> 20:50.140
Sorry, of the helicopter.

20:50.360 --> 20:51.400
But they could.

20:52.260 --> 20:58.660
Then the formal methods engineers got to work and they rewrote a lot of the code in the quadcopter.

20:58.660 --> 21:04.540
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.

21:04.780 --> 21:06.620
They were not able to do so.

21:06.620 --> 21:08.400
At that time, the red team was shocked.

21:08.400 --> 21:10.300
Pretty much so was everybody else.

21:10.500 --> 21:13.620
One of my colleagues at the time was a penetration testing expert.

21:13.620 --> 21:17.220
His assessment was that that was the most secure UAV on the entire planet.

21:17.380 --> 21:21.560
DARPA's assessment was that that result made that the entire program was a success.

21:23.460 --> 21:33.460
That quadcopter came back to the aviation village, aerospace village, three years ago and was challenged by all comers here to hack into it.

21:33.460 --> 21:36.980
No one was able to hack into it even three years ago.

21:36.980 --> 21:39.860
So seven years later, six years later.

21:39.860 --> 21:43.000
So the formal methods stood the test of time.

21:43.240 --> 21:44.620
But that was just a quadcopter.

21:44.620 --> 21:46.120
What about the helicopter?

21:46.280 --> 21:51.460
So after the work on the quadcopter, the Boeing aviation engineers got to work.

21:51.460 --> 21:59.640
So unlike the quadcopter that was open source and available to the formal methods researchers, the quadcopter, the helicopter was ITAR restricted and proprietary.

21:59.640 --> 22:04.700
So the formal methods researchers who are professors and grad students, they couldn't look at it directly.

22:04.700 --> 22:12.680
They had to teach the Boeing aviation engineers how to apply and use the formal methods tools, which the Boeing aviation engineers did.

22:12.840 --> 22:19.000
And at the end of phase two, so another roughly 16 months later, the red team got to go again.

22:19.000 --> 22:28.000
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.

22:29.200 --> 22:33.900
And this time they were just supposed to disrupt the operation of the helicopter as a helicopter.

22:33.940 --> 22:35.260
And they couldn't do it.

22:36.280 --> 22:44.700
16 months later, they got to try again, this time while the helicopter was in flight with the two test pilots on board.

22:45.960 --> 22:50.420
Basically, we're betting the lives of those helicopters on the quality of the formal methods software.

22:50.660 --> 22:52.080
And it was a good bet.

22:52.080 --> 23:03.900
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.

23:04.560 --> 23:06.420
So what was the secret sauce?

23:06.460 --> 23:09.660
So we started with the unverified, unsecured version.

23:09.800 --> 23:11.140
And they did a couple of things.

23:11.140 --> 23:17.840
They started by doing an architectural analysis to understand what was the lay of the land as far as the software was concerned.

23:17.860 --> 23:24.220
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.

23:24.320 --> 23:32.920
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.

23:33.020 --> 23:36.160
So that they decided they didn't need to worry about from a security perspective.

23:36.240 --> 23:39.120
And that's where they put, in the end, the red team code.

23:39.540 --> 23:45.820
And then they decided that the code that would talk to the ground station, that was high assurance code.

23:45.820 --> 23:48.340
They decided the flight control computer, that was high assurance code.

23:48.340 --> 23:55.100
They kind of did this analysis and they codified it in the architecture, the AADL, the architecture analysis and description language.

23:55.420 --> 24:04.980
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.

24:04.980 --> 24:12.800
Now, that is a massive amount of very specialized work that they spent thousands of hundreds of thousands of people hours doing.

24:12.800 --> 24:14.460
So, like, massive amount of work.

24:14.460 --> 24:18.520
But that artifact is now available for many, many people to reuse.

24:20.560 --> 24:30.760
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.

24:30.760 --> 24:36.020
And allowed us, we really did bet the pilot's lives on the fact that that separation would hold.

24:36.020 --> 24:41.800
And that the red team code could crash the camera partition and that would not crash the helicopter.

24:42.160 --> 24:44.760
And then we used verified parsers.

24:44.760 --> 24:53.540
We guaranteed that all of the communications from the wire representations into in-memory representations would be fully verified and therefore would be correct.

24:54.100 --> 24:55.980
So, that's just some of the secret sauce there.

24:57.380 --> 24:58.080
Okay.

24:58.080 --> 24:58.520
Parsers.

24:58.520 --> 25:00.640
I mentioned parsers briefly on the last slide.

25:00.640 --> 25:08.100
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.

25:08.540 --> 25:14.860
Bad parsers are a source of something like 80% of the CVEs in MITRE's vulnerability database.

25:15.000 --> 25:18.500
Because empirically, people just suck at writing parsers.

25:18.760 --> 25:35.980
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,

25:35.980 --> 25:40.860
that conversion is correct, and use that instead, we would have a much safer world.

25:42.240 --> 25:46.200
The SafeDocs worked on making those grammars much more expressive.

25:46.200 --> 25:53.420
They worked with the PDF Association to codify the description of the PDF grammar and make it machine-readable.

25:53.420 --> 25:57.900
They now call, they release, the PDF Association released a new standard for PDF.

25:57.900 --> 26:00.160
It's called the Arlington PDF Model.

26:00.240 --> 26:03.200
Trivia future for you in the future, super geeks.

26:03.200 --> 26:09.480
The PDF, the Arlington PDF Model is called the Arlington PDF Model because DARPA is in Arlington.

26:10.560 --> 26:14.860
All of this is released, a lot of this is released open source, so it's available to the community more broadly.

26:14.860 --> 26:23.360
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.

26:23.360 --> 26:25.380
Your code will be much safer as a result.

26:26.400 --> 26:28.140
Okay, that's SafeDocs.

26:28.660 --> 26:29.200
Vspells.

26:29.200 --> 26:38.320
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.

26:38.320 --> 26:45.980
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.

26:46.660 --> 26:57.360
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.

26:57.360 --> 26:58.840
That's what Vspells is about.

27:01.400 --> 27:02.780
Okay, and then Provers.

27:02.780 --> 27:15.760
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.

27:16.380 --> 27:23.520
Provers is about can we lower the level of expertise required so that it is much more accessible to a much broader audience?

27:23.520 --> 27:34.100
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.

27:34.260 --> 27:39.920
Turns out theorem Provers is just another kind of language, and large language models are really good at weird kind of languages.

27:39.920 --> 27:46.520
And so it turns out that this kind of automation of using theorem Provers and large language models is working pretty well.

27:46.520 --> 27:59.300
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.

27:59.300 --> 28:06.560
And again, the goal is to get higher quality software faster with lower levels of expertise required on the part of the developers.

28:10.390 --> 28:14.210
Okay, and then this is the Tractor program.

28:14.210 --> 28:25.510
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.

28:25.510 --> 28:35.230
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.

28:35.230 --> 28:40.830
I'm sure there are some people who can write code in non-memory-safe languages, but most of us are not those people.

28:40.830 --> 28:50.690
There's been lots of reports written in the last year to basically recommending that we stop writing code in non-memory-safe languages.

28:50.890 --> 29:00.690
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.

29:00.910 --> 29:12.290
The problem is we have literally trillions of lines of code in C and C++, and even Google has committed to write into Rust.

29:12.290 --> 29:14.790
Microsoft is talking about writing into Rust.

29:14.790 --> 29:29.310
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.

29:29.410 --> 29:31.910
So how do we get out of this?

29:32.050 --> 29:37.810
Well, the obvious answer is you write something that will translate from C and C++ into Rust.

29:38.910 --> 29:43.250
But, I mean, you can easily literally translate from C and C++ into Rust.

29:43.250 --> 29:48.690
There's like an unsafe thing in Rust, so you can just translate and put unsafe around it, and you're done!

29:48.910 --> 29:55.070
Except you haven't actually accomplished anything because that's just a memory-unsafe language, so you're still in a memory-unsafe language.

29:55.070 --> 30:19.110
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?

30:19.110 --> 30:22.890
Now, note I didn't say completely automatically, but almost completely automatically.

30:22.890 --> 30:25.830
Maybe like 99.9% automatically.

30:25.910 --> 30:29.410
So that it finds the places where it's straightforward.

30:29.470 --> 30:30.590
Just do it.

30:30.590 --> 30:34.090
The places where it's like, oh, but you're not really memory-safe here.

30:34.530 --> 30:38.530
Like, figure out the idioms where you can make it memory-safe and make it memory-safe.

30:38.530 --> 30:40.890
And then the places where like, wow, this is really gnarly, dude.

30:40.890 --> 30:42.270
I don't know how to do this.

30:42.310 --> 30:43.050
Help!

30:43.050 --> 30:45.190
Can you come help this and figure this out?

30:45.290 --> 30:50.230
So this program is just getting launched.

30:50.270 --> 30:52.690
So the special notice is on the street right now.

30:52.690 --> 30:54.690
The call for proposals is actually open.

30:54.690 --> 30:56.290
Proposals are due August 19th.

30:56.290 --> 31:05.550
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.

31:05.550 --> 31:09.410
If you have great ideas about how to do this, we would like to hear from your great ideas.

31:09.430 --> 31:11.930
And we would like to have you participating too.

31:12.350 --> 31:16.510
Because we would really, really, really like to have the world have less memory-unsafe C.

31:16.510 --> 31:18.370
So we're just focusing on this program in C.

31:18.370 --> 31:23.910
The first phase of the program is just single-threaded because we're not totally insane.

31:24.010 --> 31:27.110
We have to solve the single-threaded part before we can solve the multi-threaded part.

31:27.110 --> 31:29.630
We have to solve C before we can solve C++.

31:29.950 --> 31:32.670
But we would like to get all the way, if possible.

31:33.170 --> 31:34.930
Okay, that's Tractor.

31:34.990 --> 31:36.730
And the program is called Tractor.

31:36.730 --> 31:38.010
Yeah, it's in about this.

31:38.010 --> 31:38.610
Okay.

31:38.930 --> 31:43.990
Okay, that brings me to AICC, which is what is behind me.

31:45.150 --> 31:49.770
The hypothesis behind AICC goes back to the sharkberg that I showed you on the very beginning.

31:49.770 --> 31:51.410
We have the massive technical debt.

31:51.410 --> 31:54.670
We have vast numbers of vulnerabilities that are out there in the world.

31:54.670 --> 32:01.190
Many, many of them in critical infrastructure that we cannot afford to have sitting out there in critical infrastructure for very much longer.

32:01.190 --> 32:02.570
We need to move the needle.

32:06.370 --> 32:08.770
We need to be able to fix those bugs.

32:08.910 --> 32:16.790
Many of those critical infrastructure sectors are wildly under-resourced and wildly under-expertised, as it were.

32:16.790 --> 32:24.130
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.

32:24.130 --> 32:26.310
And that wasn't the world they signed up for.

32:26.790 --> 32:35.350
We connected, like, they have their software controlling their infrastructure, and we connected them, or they got connected to the internet.

32:35.710 --> 32:42.770
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.

32:42.850 --> 32:44.210
And that exposure is real, right?

32:44.210 --> 32:49.230
We're starting to see more and more headlines of international groups hacking, like water sector.

32:49.410 --> 32:50.830
Like, that's not okay, right?

32:50.830 --> 32:51.810
We need to get that fixed.

32:51.810 --> 32:59.570
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.

32:59.590 --> 33:15.710
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,

33:15.710 --> 33:18.470
to be able to automatically find and more importantly fix, right?

33:18.470 --> 33:23.330
They don't need more bugs to fix, but if we could give them, here's the fix, here's how to fix it.

33:23.330 --> 33:34.790
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.

33:34.790 --> 33:37.430
I mean, I did tell them, like, this is a DARPA crazy idea.

33:37.630 --> 33:39.450
It may not work at all.

33:39.470 --> 33:41.730
At the time, the results hadn't shown up at all.

33:41.730 --> 33:43.490
So, like, I could be like, it could not work at all.

33:43.490 --> 33:45.650
Just to tell you, like, DARPA does stuff that fails.

33:45.650 --> 33:47.530
It's definitely talked about the road race.

33:47.530 --> 33:50.150
The car is only getting a mile and, like, blowing up.

33:50.150 --> 33:51.510
So, it could totally fail.

33:51.510 --> 33:54.410
But if it works, we're trying to actually get you fixes too.

33:54.410 --> 33:55.770
They were super excited.

33:56.030 --> 33:59.810
And so, that's the technical hypothesis, and we have some results now, right?

33:59.810 --> 34:00.750
Up here.

34:00.750 --> 34:03.470
So far, we're only working on the NGINX problem.

34:03.510 --> 34:07.570
But those, each one of those hexagons is one of the challenge problems.

34:07.670 --> 34:10.290
The blue, the blue, no blue up there.

34:10.290 --> 34:16.650
The yellow is a challenge problem that at least one team has found a bug.

34:16.690 --> 34:23.490
And the green, at least one challenge problem has found a bug and found a fix.

34:23.510 --> 34:26.650
So, like, there's a lot of green up there.

34:26.650 --> 34:33.130
So, the hypothesis for the NGINX challenge problem is proving out so far.

34:33.130 --> 34:36.630
Like, that's, like, as best a result as we could hope for, right?

34:36.630 --> 34:40.350
We don't want to have... like, the challenge problem was designed to be spread people out.

34:40.350 --> 34:41.770
We didn't want everybody to max out.

34:41.770 --> 34:47.010
So, like, it could have been all gray, in which case nobody could have found any bugs and nobody could have found any fixes.

34:47.250 --> 34:51.730
Could have been all yellow or lots of yellow, in which case nobody could have found any patches.

34:51.730 --> 34:55.130
So, I'm super, super excited about these results so far.

34:55.470 --> 35:06.310
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.

35:06.310 --> 35:11.650
So, stay tuned to watch that little circle to see how they're doing.

35:11.650 --> 35:16.130
So, I think it's important that we're not just talking about large language models in isolation.

35:16.450 --> 35:22.410
We're talking about large language models paired with a lot of blood, sweat, and tears with program analysis tools.

35:22.590 --> 35:26.370
So, the structure of the competition is there's a threshold.

35:26.370 --> 35:29.410
Every team has to make it above a certain threshold.

35:29.610 --> 35:39.530
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.

35:39.650 --> 35:47.870
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.

35:47.870 --> 35:49.650
But that's not the official word.

35:49.650 --> 35:51.290
I'm just guessing.

35:52.490 --> 35:55.190
The goal of this city here is twofold.

35:55.190 --> 36:03.610
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.

36:03.610 --> 36:09.510
The other is to try to give people a visceral feel for how important it is we pay down that technical debt.

36:09.530 --> 36:14.690
That vulnerability is not just about losing data.

36:14.690 --> 36:21.450
It's not just about ransomware, although ransomware is horribly bad, particularly what it's affecting hospital and people's lives in hospitals.

36:22.950 --> 36:30.770
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.

36:31.270 --> 36:36.250
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.

36:36.250 --> 36:39.150
You'll find out way more about AICC.

36:40.050 --> 36:41.850
Okay, last slide.

36:42.250 --> 36:44.870
DARPA as an organization is quite small.

36:44.870 --> 36:46.390
They're not many of us there.

36:46.390 --> 36:54.610
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.

36:54.610 --> 37:08.510
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,

37:08.510 --> 37:10.530
to... we're all on term appointments.

37:10.530 --> 37:14.970
You come for two years, you stay for maybe another two years, maybe for one more year, then you have to leave.

37:14.970 --> 37:18.130
You come, you get your great idea out, and then you leave.

37:18.130 --> 37:27.730
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.

37:27.730 --> 37:35.050
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.

37:35.150 --> 37:38.910
The people who do the failure cleanup are not the people who are responsible for startup.

37:39.150 --> 37:42.950
All the people who come in as program managers come and go.

37:42.950 --> 37:44.450
There's somebody else with a new idea.

37:44.450 --> 37:47.610
It's a way that we make sure that we're always investing in brand new ideas.

37:47.630 --> 37:59.870
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.

37:59.870 --> 38:04.830
Or like the people on the AICC competition teams, like I see the shellfish team sitting right here, right?

38:04.830 --> 38:07.370
It's the community that does the work on DARPA ideas.

38:07.370 --> 38:15.030
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.

38:15.310 --> 38:17.890
The vocabulary DARPA uses is a little bit weird.

38:17.890 --> 38:21.310
Like we describe the people who work on DARPA programs as performers.

38:22.490 --> 38:31.570
DARPA Connect, which is the information is on the slide here, is a website and a series of workshops that help people get acclimatized.

38:31.570 --> 38:34.990
It provides information about like the Hail Mara Catechism and things like that.

38:34.990 --> 38:47.770
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.

38:47.770 --> 38:49.410
Thank you very much for your time and attention.

38:49.410 --> 38:52.430
We'll have more programming on the stage and please come and visit the city.

38:52.510 --> 38:53.630
Thank you very much.

