WEBVTT

00:00.000 --> 00:02.460
Well thank you so much for coming to this talk.

00:03.240 --> 00:05.900
We're presenting all together as a group.

00:05.900 --> 00:07.520
It's really awesome to be here.

00:07.680 --> 00:11.600
The project's Trinity and the project objective is actually very simple.

00:11.600 --> 00:14.540
Basically we see a lot of rapid AI progress.

00:14.620 --> 00:17.000
You've seen evals, you've seen the benchmarks.

00:17.000 --> 00:23.760
We want to understand the gap between the frontier models and a reasonable baseline of cybersecurity experts.

00:25.340 --> 00:26.520
So I'm Justin.

00:26.520 --> 00:27.820
I'm the research lead.

00:27.820 --> 00:29.320
I'm a researcher at Stanford.

00:29.360 --> 00:31.960
I also work on the frontier evals team at OpenAI.

00:32.820 --> 00:34.000
My name is Donovan.

00:34.000 --> 00:35.020
I do the same.

00:35.040 --> 00:42.900
Our other co‑lead, Elliot, could not be here today as well as our advisors, Neil, Dan, Daniel, and Percy, but we're grateful for their help and support.

00:42.960 --> 00:45.480
And the rest of the team are going to introduce themselves.

00:46.140 --> 00:47.840
Hello, I'm Anna.

00:47.840 --> 00:53.040
I work on infrastructure and analysis for this project and I do software at NASA.

00:53.040 --> 00:54.700
Hello, I'm Arnold.

00:54.700 --> 00:58.240
I also worked on infrastructure and analysis for this project.

00:58.240 --> 01:00.860
I'm a researcher at Stanford and MIT.

01:01.120 --> 01:02.300
Hi, I'm Ethan.

01:02.300 --> 01:09.280
I'm a CTF player and organizer and I did some of the security work for this project and I also do evals at OpenAI.

01:10.180 --> 01:10.780
Cool.

01:10.780 --> 01:14.480
So I wanted to provide some motivation for why we were doing this in the first place.

01:14.480 --> 01:18.120
If you guys have been online in the last six months, you might have seen headlines like this.

01:18.120 --> 01:19.940
Apparently Vibe Hacking is a term now.

01:20.440 --> 01:23.440
Exposed globally on Hacker 1.

01:23.440 --> 01:29.520
Google claims they found zero days in software with their agents and AI beats 90% of human teams.

01:30.000 --> 01:43.960
But there's a bit of a cognitive dissonance here because if you look at any of the, you know, safety frameworks from these labs, Anthropic, OpenAI, Google, they claim that cybersecurity is a tracked risk category, which oftentimes in their frameworks they mean,

01:43.960 --> 01:50.200
like, they'll stop developing or slow down releases if, you know, capabilities or risk reaches a certain threshold.

01:50.340 --> 01:53.340
So both things can be true at the same time.

01:53.340 --> 01:59.100
Somehow we're, you know, superhuman or near human on, you know, cyber hacking, but everything's going fine.

01:59.100 --> 02:00.680
So should we run for the hills?

02:00.680 --> 02:02.120
Is AI Armageddon here?

02:02.120 --> 02:03.600
We're here to find out.

02:05.500 --> 02:10.440
So one of the key tools to kind of understand capabilities is evaluations.

02:10.760 --> 02:12.180
Here we have two graphs.

02:12.180 --> 02:18.680
So on the right is from the recent GPT-5 presentation, Suite of Entry Verified, which is just a collection of Python tasks.

02:18.820 --> 02:21.020
And as you can see, 74.9%.

02:21.020 --> 02:22.600
What does this mean?

02:22.600 --> 02:27.500
Also, I don't know if you've seen the broken graphs from... not so great.

02:27.860 --> 02:29.920
On the left, we have a slide from Meter.

02:29.920 --> 02:32.040
They do a lot of evaluation work.

02:32.040 --> 02:37.240
And basically the thing they're measuring here is how long can AI perform tasks autonomously.

02:37.240 --> 02:43.220
And with newer models, there's a bit of an exponential trend where you can actually apparently do tasks for two plus hours autonomously.

02:45.580 --> 02:48.860
So our objectives are to kind of reconcile these pictures.

02:48.860 --> 02:51.560
One is evaluations don't tell a full story.

02:51.860 --> 02:57.020
And we also want to understand how humans actually perform and AI performs in a real world setting.

02:57.020 --> 02:58.960
So what are the key qualitative differences?

02:59.260 --> 03:02.780
And what is the expert baseline on the security performance?

03:02.780 --> 03:11.720
And also, how can we kind of better bridge this eval gap between what's happening in the real world, what's happening in the numbers, and kind of have two things tell the same thing?

03:12.580 --> 03:13.340
Cool.

03:13.340 --> 03:14.100
Okay.

03:14.240 --> 03:16.000
A bit about our methodology.

03:16.000 --> 03:17.180
So how does this work?

03:17.200 --> 03:24.360
We have human participants who are top security researchers and pen testers whom we recruit.

03:24.360 --> 03:29.680
And we also have frontier models deployed on our own agent and we have them attack the same target.

03:29.680 --> 03:30.880
We collect some data.

03:30.880 --> 03:34.480
We collect some findings reports and we basically diff their performance.

03:34.480 --> 03:52.300
These targets include CTF challenges, custom realistic-ish ranges that we built ourselves, and some real institutions infrastructure which this presentation will primarily be concerned with is a recent run that we did against a real institution.

03:52.300 --> 03:53.380
More on that later.

03:53.780 --> 03:56.420
So back to the environment.

03:56.500 --> 04:05.060
Basically we're interested in capturing logs and monitoring data of what the participant or agent is doing in their remote environment.

04:05.120 --> 04:14.960
We capture things like command execution history, network activity, sort of like between the target infrastructure and the participant or agent, like sort of from an IT perspective.

04:15.740 --> 04:20.240
And I'll talk a bit more about the agent infrastructure later.

04:20.240 --> 04:28.580
But for the participant, we are also interested in the qualitative metrics like maybe UI activity.

04:28.600 --> 04:31.620
We record window opening and closing and focusing.

04:31.620 --> 04:40.900
We take screen recordings and we also allow the participant, the human participant, to make manual log entries recording important milestones in their workflow.

04:40.960 --> 04:44.160
So there's an example of a log message.

04:44.300 --> 04:45.820
It's very generic.

04:45.820 --> 04:47.820
But yeah, this is sort of the information we're recording.

04:47.820 --> 04:50.480
This one is an example of a window activity log.

04:50.720 --> 05:00.580
I guess the one thing that might be unclear in this log is log tag number, which is the index of the manually entered like milestone message that we think that this log pertains to.

05:00.580 --> 05:12.340
So we're trying to sort of break up the mass of logs that we have for the participant by what commands or like window activity or network activity we think is relevant to each phase of their attack or enumeration or whatever.

05:13.160 --> 05:23.380
And yeah, so in sort of in that spirit, we are at this current phase of the study, we are primarily interested in examining qualitative differences between the human participant and the agent.

05:23.380 --> 05:36.780
This means that we are mostly we want to have like well formatted readable and reproducible logs that explain how the participant or the agent discovered and exploited whatever findings.

05:36.800 --> 05:44.680
And as we onboard more participants and do more agent runs in the future, we'd also we'd love to have some more quantitative analyses.

05:44.680 --> 05:52.260
But as far as qualitative analyses go, I think we have a lot of interesting findings that we're excited to show you guys.

05:54.330 --> 06:03.530
Okay, so beginning, I guess a high level overview of that run that I mentioned earlier against a real institution.

06:05.070 --> 06:09.410
The target was a large research university.

06:09.410 --> 06:15.550
We were primarily interested in the computer science and electrical engineering departmental networks.

06:16.890 --> 06:24.310
And here's an overview of the vulnerabilities discovered by our human participant and by the agent in our sort of case study.

06:24.610 --> 06:29.350
So immediately, you'll notice some very interesting differences.

06:29.430 --> 06:36.450
There's a disparity in the total number of findings, which well, we can't take that at surface value because, you know, they use their time differently.

06:36.450 --> 06:43.530
Like the human participant has to sleep and eat, which might be a little unfamiliar for some of us who have been locked in at DEF CON recently.

06:43.530 --> 06:44.790
But they do.

06:44.830 --> 06:48.530
So they haven't actually used all the hours that we allotted to them.

06:49.130 --> 06:54.290
Meanwhile, the agent sort of had like continuous runs of a certain time that we determined.

06:54.290 --> 06:55.590
We'll talk more about the time later.

06:55.990 --> 07:02.990
And we also noticed that the number of findings made by the agent depend on the version of the agent that we ran.

07:02.990 --> 07:05.010
The scope of the agent, obviously.

07:05.770 --> 07:12.430
And we'll talk also about the development of the agent and why we have different iterations and what are the differences.

07:13.290 --> 07:20.510
And lastly, we should also note that there was only one shared finding between the human participant and the agent.

07:20.670 --> 07:27.730
So in this case, there was really like one sort of trivial like vulnerability that a Vuln scanner could have found.

07:27.730 --> 07:28.990
And we're not really going to talk about that.

07:28.990 --> 07:34.430
But that was basically the only thing discovered by both the human or reported by both the human participant and the agent.

07:34.590 --> 07:36.210
And that should indicate a lot.

07:36.210 --> 07:50.910
There has to be some substantial difference in the way the human reasons and strategizes and the way the agent reasons and strategizes for them to complete, almost not overlap with the things that they found on the exact same target infrastructure.

07:51.310 --> 07:54.550
The human might decide this machine looks suspicious.

07:54.670 --> 07:56.470
We should investigate it.

07:56.470 --> 08:00.090
Whereas the agent might pass over it entirely and vice versa.

08:00.090 --> 08:04.530
And we will go into a lot of detail about why we think that is.

08:05.890 --> 08:07.330
And okay.

08:07.930 --> 08:13.650
So this is just like a breakdown of Vuln severities discovered by our human participant.

08:13.830 --> 08:19.050
They're mostly just like medium... there's like a... we'll go over a specific example of this.

08:19.050 --> 08:21.790
But mostly medium severity vulnerabilities.

08:21.790 --> 08:25.910
The one wrong is actually like a typo in the report that made it not reproducible.

08:25.910 --> 08:29.550
So it's not really like we think the human was mistaken.

08:29.550 --> 08:30.770
Like the vulnerability is legitimate.

08:30.770 --> 08:32.010
It was just a typo.

08:32.430 --> 08:40.010
Meanwhile, for the agent, there were actually a number of wrong submissions that were like actually defective.

08:40.010 --> 08:42.970
It wasn't like a one character off mistake.

08:42.970 --> 08:45.550
We will elaborate about why.

08:45.550 --> 08:51.830
Like what specific features of the agent architecture sort of lead the agent to put in like faulty submissions.

08:51.830 --> 08:58.950
Although the rest of the agent's report is pretty similar to like an average pen testing report that you would expect.

08:58.950 --> 09:04.930
And it did find some more complex higher-ish severity vulnerabilities.

09:07.330 --> 09:14.270
So we're going to go over some of the examples that we thought were exemplary from both the human runs and the agent runs.

09:14.270 --> 09:21.510
So we picked out a few vulnerabilities, a few findings that each of the agent and the participant found.

09:21.530 --> 09:28.410
And we wanted to highlight some things that we could take away from that about how they reason, how they think.

09:28.410 --> 09:36.930
So we, our participant in this, in this stage was a pretty, pretty well-known web security researcher.

09:37.130 --> 09:41.410
He has found pretty high-profile vulnerabilities in big companies.

09:41.410 --> 09:47.770
And if, I'm, I'm not going to say his name, but if I did say his name, I'm sure many of you would recognize it.

09:47.770 --> 09:53.390
The vulnerability that he found was a stored URI XSS on a site.

09:53.390 --> 10:00.850
This is a public facing site from the university that it hosts as a service, I guess, to the community.

10:00.850 --> 10:07.290
It's a biomedical computation kind of repository for you to put different models, different programs on.

10:07.290 --> 10:12.410
I think it's, it's kind of like hugging face for, for biomedical computation research.

10:12.870 --> 10:21.230
And what, what he found was that in an user profile, which anyone can make an account, anyone can, can set, set one up.

10:21.230 --> 10:24.190
You just need to get your email verified automatically.

10:24.190 --> 10:26.450
It's, anyone can do it.

10:26.630 --> 10:33.710
And it lets you to put this XSS payload onto your public profile, which is viewable also by everyone.

10:33.930 --> 10:44.610
And what this does is that this allows for an XSS payload to be put in the site, basically using a JavaScript colon alert one as a link for your university affiliation.

10:44.610 --> 10:50.850
That leads to whenever you click the, the university link, it will execute an arbitrary JavaScript payload.

10:51.410 --> 10:55.850
And what this could lead to, this could lead to stealing user session cookies.

10:55.850 --> 10:57.870
This could lead to CSRF.

10:57.870 --> 11:06.430
A lot of things can be done with this to both cause reputational damage to this site and also possibly steal other people's accounts.

11:06.430 --> 11:10.910
So we found that this did have some level of significant impact.

11:10.910 --> 11:15.310
One thing that was interesting about this was that there was some basic filtering in place.

11:15.310 --> 11:20.110
If you put in the payload JavaScript colon alert one, it would actually not execute any JavaScript.

11:20.110 --> 11:23.650
It would prepend the HTTPS colon slash slash in front of it.

11:23.650 --> 11:25.890
And that basically neutralizes this payload.

11:26.090 --> 11:31.770
Even you click it, at least on Chrome when I tried, it will lead you to an about blank, about blocked page.

11:31.950 --> 11:35.170
Basically, like this is, this wouldn't work.

11:35.290 --> 11:43.590
We'll talk more about like how that was bypassed later because I, we found that was a interesting point of comparison or point of analysis there.

11:43.610 --> 11:49.110
But we're first gonna go through kind of the steps of how, of what our human participant did.

11:49.370 --> 11:52.050
Using, we had time stamps for each part.

11:52.050 --> 11:59.430
We used our logs and our screen recordings to be able to kind of trace through exactly what our participant did to find this vulnerability.

11:59.570 --> 12:04.390
He started at the beginning of the engagement with an Nmap scan of the whole scope.

12:04.390 --> 12:10.050
Basically, he had a Google spreadsheet which kept track of each of, like, each of the hosts he was going through.

12:10.130 --> 12:14.450
And he eventually found this app which used PHP.

12:14.450 --> 12:27.510
And he, and he noted down in his logging that he decided to try this site because he knew that PHP, from his previous experience, that PHP often has a lot of pretty low hanging fruit vulnerabilities.

12:27.510 --> 12:31.490
There's a lot of easy to make mistakes when you are using PHP.

12:31.610 --> 12:38.850
So he decided to focus on this, this end point, or this, this host for a good half an hour or an hour.

12:38.850 --> 12:40.330
So he did several things.

12:40.330 --> 12:43.570
He created an account, tried to investigate file upload vulnerabilities.

12:43.570 --> 12:46.450
He ran automated tools like FFUF.

12:46.450 --> 12:54.990
He tried image tragic payloads because he saw that the resizing of profile pictures was happening.

12:55.010 --> 12:59.370
And eventually he ended up running SQL map and FFUF again.

12:59.370 --> 13:12.030
And he noted in his log that if this didn't return anything, he would probably move on to another host so that he could save his time and try to hit more hosts, find more vulnerabilities because this is not worth investigating further.

13:12.150 --> 13:18.530
Eventually he tested XSS payloads and he found a JavaScript URI XSS payload that worked.

13:18.610 --> 13:29.290
But as I said before, there was a filter which means that if you put the generic JavaScript colon alert one that many people use to test for this kind of vulnerability , it would not work.

13:29.330 --> 13:38.610
And while this is a relatively trivial bypass, what was interesting is that he never actually hit the filter.

13:38.610 --> 13:45.310
His first payload was JavaScript colon alert one slash slash HTTPS colon slash slash A.

13:45.310 --> 14:00.630
And what that does, for those of you who are unfamiliar, is that the two slashes become a JavaScript comment and it lets you to put arbitrary data afterwards while still having your arbitrary JavaScript payload to be executed when the link is clicked.

14:00.710 --> 14:16.290
So what that does is allows you to smuggle a HTTPS in which makes the web app, when it checks for whether or not this is a website, it does it by checking if the string HTTP or HTTPS is in your URL.

14:16.290 --> 14:24.390
And because it is indeed in there, it decides it doesn't need to add another HTTPS and it lets it through unchanged.

14:25.010 --> 14:34.070
And the thing that was kind of surprising to us was that he went straight to this payload and it did trigger the XSS and then he reported it.

14:34.070 --> 14:38.750
And did not, never tried the payload that would get blocked, so we got confused.

14:38.750 --> 14:43.410
How did he find this, how did he bypass this filter without knowing that it existed?

14:43.690 --> 15:03.910
So we interviewed him about his rationale and he described that he did anticipate this filtering from previous experiences, previous pentests and just his years of pentesting experience gave him this workflow that he would work starting with a more filter bypassing payload like the one here and kind of work his,

15:03.910 --> 15:26.410
if it worked he would kind of test a bit more to see like what kind of filters are there, but basically if he bypassed all the filters he could use one payload and test for the existence of the vulnerability without having to iteratively try, try a payload and then keep adding more and more stuff to bypass stuff in order to even detect if the vulnerability is there in the first place.

15:26.430 --> 15:32.450
And this was interesting to us because we, we found that that was an example of the human.

15:32.450 --> 15:46.630
This in the PHP, deciding to focus on PHP were examples of the human using his previous experience, previous years of pentesting to be able to find why, to be able to be more efficient and be able to bypass stuff like this filter.

15:47.590 --> 16:04.190
And this, we can go back a slide, yeah, this is, this is kind of significant because we saw, we decided to focus on this because it is a relatively significant vulnerability on a public facing site that could cause damage and so we decided to run the agents on it.

16:04.190 --> 16:08.690
We saw that in the initial run our agent never touched his host at all.

16:08.690 --> 16:15.550
The only mentions of it in logs were a, a line in the end map scan that it basically ignored.

16:15.550 --> 16:18.210
It never interacted with his host at all.

16:18.310 --> 16:36.370
So we wanted to see if our agent would find that vulnerability and try to exploit it, maybe bypass the filter, but we found that even when we explicitly prompted it to exploit the host, so we ran several runs first by just telling it to attack the host and then we told it attack this specific place and then we told it here is the vulnerability,

16:36.370 --> 16:38.850
please try to exploit it.

16:38.850 --> 16:44.950
But we found it couldn't even get to that code path and much less like actually exploit the XSS.

16:45.510 --> 16:50.330
So that was an interesting finding to us about like the capabilities of our agent.

16:53.820 --> 16:54.380
Okay.

16:54.380 --> 17:03.440
So we will also be giving an example of a finding made by the agent, but before we get into the specifics of the finding, it's time for another infrastructure break.

17:03.440 --> 17:08.860
So I wanted to just give some basics about the agent architecture.

17:09.100 --> 17:11.620
This, this one is, this one is not too exciting folks.

17:11.620 --> 17:16.140
This one is, this V0 agent is sort of not our original work.

17:16.300 --> 17:19.940
It's, there are many comparable projects that use this sort of scaffolding.

17:19.940 --> 17:26.800
It's a very, very simple like LLM that has access to a command line and it can like download and run tools.

17:26.820 --> 17:28.480
It can make like network requests.

17:28.480 --> 17:30.200
It can access APIs, yada, yada, yada.

17:30.200 --> 17:35.380
And then the output of these interactions is fed back to the LLM and then there's this sort of like loop, right?

17:35.380 --> 17:39.000
And then if it, if it has a finding, then it will report it to us.

17:39.720 --> 17:47.900
So this very simple architecture, you may not recall from the Venn diagram of findings because it's, it's not there.

17:47.900 --> 17:51.340
They didn't make any findings when we ran it on the infrastructure.

17:51.340 --> 17:58.120
And basically what it did was for the entire duration of its allotted time, it just like ran and map scans like a headless fly.

17:58.120 --> 17:59.860
Like it, it didn't, it didn't amount to anything.

18:00.240 --> 18:16.540
And so we, yeah, we, we determined that there, we need to have some mechanism by which we can coordinate the agents like strategizing and planning at a higher level so that it doesn't get lost enumerating a bunch of hosts and never actually deciding like this one looks vulnerable.

18:16.540 --> 18:18.240
Let's examine it further.

18:18.280 --> 18:19.940
So here's V1 agent.

18:19.960 --> 18:21.640
This one is, is on the Venn diagram.

18:21.640 --> 18:24.140
And this one we introduced a second LLM.

18:24.140 --> 18:27.360
So as you can see, there is a planner agent fellow over there.

18:27.360 --> 18:37.740
And the planner agent, basically we give it some initial information about its role, about its scope, and then it orchestrates like a high level plan of attack.

18:37.880 --> 18:39.680
It feeds it to the subagent.

18:39.680 --> 18:42.400
The subagent is sort of similar to the V0 agent.

18:42.400 --> 18:45.920
It can actually interact with like the command line and with tools.

18:46.040 --> 18:58.280
And the subagent reads the plan and sort of determines what commands it wants to execute or it proposes like a very short term plan and then it proposes that back to the planner agent.

18:58.280 --> 19:08.300
The planner agent, considering its role, scope, et cetera, can choose to approve or disapprove the proposed like, I don't know, I want to execute these three commands.

19:08.820 --> 19:11.700
And maybe it will be like, okay, well, that's outside of our scope.

19:11.700 --> 19:12.600
So try again.

19:12.600 --> 19:14.620
Or like maybe it will be like, okay, that sounds reasonable.

19:14.620 --> 19:20.140
And then it gets executed and the results of this invocation go back to the planner agent.

19:20.140 --> 19:27.400
The planner agent might update the plan to be like, depending on what was discovered, and then the loop repeats.

19:27.540 --> 19:34.660
And this is pretty similar to our V2 agent architecture, which is the current, the latest architecture.

19:35.060 --> 19:38.920
And basically the difference here is just that we've promoted the supervisor a bit.

19:38.920 --> 19:46.820
We allow it to spawn individual like subinstances, like subagents, which can do different tasks in parallel.

19:47.380 --> 19:57.040
Although the so one thing I should say is that the supervisor or like planner agent architecture is it made like considerable improvements on V0, but it's not perfect, right?

19:57.220 --> 20:07.520
There was like a one significant problem that was introduced after we added the supervisor that wasn't there before, which is that we started getting like mistaken findings.

20:07.520 --> 20:18.440
This is responsible for a lot of the purple column on the bar graph from earlier, because the supervisor and subagent would have different perspectives on a finding that they had made.

20:18.440 --> 20:22.460
The subagent might have discovered something.

20:22.460 --> 20:29.980
It reports it back up to the supervisor, and the supervisor like misconstrues its words, rephrases it somehow, maybe hallucinates something.

20:29.980 --> 20:44.720
So when the supervisor actually generates this green box workflow up there, when we actually receive the report of findings, sometimes we were not able to reproduce the vulnerabilities even when they were legitimate or like semi-legitimate because the supervisor had just like made something up.

20:44.720 --> 20:53.400
But yeah, all in all, that is a summary of the architecture, and we will provide a specific example of a finding.

20:55.000 --> 20:55.860
All righty.

20:55.860 --> 21:00.560
So what did the agent, particularly in this case the V2 agent, end up finding?

21:00.560 --> 21:01.900
I know I was surprised.

21:01.900 --> 21:03.320
I think our team was surprised.

21:03.320 --> 21:09.800
We had our doubts about whether or not the AI would perform well, particularly given the entire 20 subnet scope.

21:09.800 --> 21:11.860
And in fact, it kind of did.

21:12.260 --> 21:16.800
Before I get into this full flow, just a brief touching on what a non-SMB is.

21:16.800 --> 21:18.020
It's anonymous SMB.

21:18.020 --> 21:19.780
SMB is a file sharing service.

21:19.780 --> 21:21.300
I put files on my share.

21:21.300 --> 21:22.560
People can access them.

21:22.560 --> 21:28.320
In this case, people can access them without any login, which means anybody on the network can access them.

21:29.520 --> 21:31.580
A few little quirks about this host.

21:31.580 --> 21:45.160
One interesting tidbit that I'm going to throw out before I go into the full flow is that the LLM also guessed the default password to this host as like the fourth password it tried, which we expect is a result of it training on the manual for this particular device.

21:45.320 --> 21:46.420
Kind of cool stuff.

21:46.800 --> 21:47.340
All right.

21:47.340 --> 21:54.300
So the flow itself, the attacker has enumerated SMB and has also enumerated a website.

21:54.780 --> 21:56.840
And the attacker in this case is the agent.

21:57.080 --> 21:59.820
And it sees, okay, we have this SMB share open.

21:59.820 --> 22:00.600
That's great.

22:00.600 --> 22:01.880
Maybe we can get some files.

22:01.880 --> 22:03.440
Maybe we can put some files.

22:03.580 --> 22:04.820
We can do both.

22:05.720 --> 22:11.110
It reads a config file, which conveniently has a credential, which I will touch on later.

22:11.390 --> 22:19.470
And it realizes I can write to a separate config directory that contains scripts that are run as root when the computer restarts.

22:19.490 --> 22:25.990
This is good because we can write over those scripts to be a reverse shell or a connection back to the attacker box.

22:25.990 --> 22:27.170
So we do that.

22:27.330 --> 22:37.270
And conveniently, the web port that is open is actually an API, and those credentials on the share are credentials for the API, and the API has a restart call.

22:37.270 --> 22:44.950
So we write over the script, and then we pull the API and say, please restart the computer, and we catch a shell backwards.

22:45.910 --> 23:00.810
And one other just brief note before we continue, the agent has an interesting advantage on these shares as well for the pure amount of content it can consume, the rate at which it can consume that content, because there was a significant amount of information on this machine ,

23:00.810 --> 23:06.610
and parsing to those specific files that were of value actually did require some time when we did it manually.

23:08.090 --> 23:12.530
So this is a key finding about our agent here, is that elicitation matters.

23:12.650 --> 23:14.330
So what is elicitation?

23:14.390 --> 23:22.850
Elicitation is poking, coercing, prodding, however you want to verb it, the agent, to please continue when it finds something.

23:22.850 --> 23:33.730
Agents historically and in practice, particularly with the V0 and V1 agents, have a tendency to find a thing, report back to humans, say, look, didn't I do great?

23:33.730 --> 23:37.410
A few agents have personas that are particularly excited about this.

23:39.510 --> 23:41.490
And say, look what I found.

23:41.490 --> 23:42.150
Yay.

23:42.470 --> 23:43.330
And that's great.

23:43.330 --> 23:47.810
But a lot of the times when you find something in a pen test, it's just the beginning of something greater.

23:48.690 --> 23:57.610
So this was the first submission we received for this anonymous SMB share, which is, hey, look, bro, I found this, aren't I so cool?

23:57.710 --> 24:03.070
And the answer is, yeah, we were glad it found it and it's already performing maybe a little better than we anticipated.

24:04.030 --> 24:09.110
But when we proked it manually, we realized there's this whole attack flow that we could do.

24:09.830 --> 24:23.310
And so this V2 agent that Anna outlined more accurately approached this problem and we elicited it to hit it harder, basically, via the architecture and as well as some prompt changes.

24:23.630 --> 24:31.430
And that allowed us to have this output that it gave us with a full kill chain as to how to exploit this host, which is really good news.

24:32.970 --> 24:42.910
And more broadly, I mean, hopefully most of us, hopefully all of us within the audience view offensive security as a means to protect other people and their information.

24:43.330 --> 24:49.450
And so if we have an agent that says, hey, look, I found this thing, we need to fix it, that's great.

24:49.450 --> 24:51.370
It found the thing and we do need to fix it.

24:51.370 --> 25:01.430
But oftentimes once somebody touches something on a host, I can speak from experience, and fixes it, we think, okay, we've remediated this host, there's nothing there anymore, hopefully.

25:01.510 --> 25:13.970
Whereas the submission B, the good submission, shows us a full kill chain with a few different end points and a few different details of things we might want to fix, like a wire guard config that went to an AWS subnet that was sitting on that SMB share.

25:16.520 --> 25:27.440
Speaking of bad submissions, like mentioned earlier in a lot of the final reports we got from the supervisor agent, there's a lot of small, subtle errors.

25:27.440 --> 25:40.420
And so one specific instance of this was another very interesting vulnerability that the agent ended up finding, which was a DocuWiki server with a leaked user database.

25:40.420 --> 25:43.220
And so we take the docs.

25:43.220 --> 25:57.500
So the supervisor agent has this list of, like, targetable hosts, and it decides that this docs.university.edu server is a very interesting host.

25:57.500 --> 26:05.640
So it then gives this as a task to the subagent, and tells the subagent to then investigate farther and see if it can find anything.

26:05.640 --> 26:25.060
So then the subagent taking the task, it's given this host name, a docs.university.edu, it then goes back to the context server and pulls more information from earlier scanning, and it receives not only the host name and also the IP address linked to this host name so that it can do more in-depth probes.

26:25.060 --> 26:36.240
And so it starts scanning the host name and IP address, and what it finds is that it actually finds vulnerabilities on the IP address, but it actually does not find any vulnerabilities on the host name.

26:36.240 --> 26:56.780
And the reason for that is due to some multiplexing with the host name stuff, but it continues investigating the IP address and it finds the leaked user database which is pretty critical, and then it sends that back, and then it compiles all of that into a nice report and gives it to the supervisor agent to review.

26:56.780 --> 27:04.360
So the supervisor agent, it tells the supervisor agent that the IP address had all the findings and not the host name.

27:04.360 --> 27:20.260
But the supervisor agent had originally given it the task of attacking the host name, so then the supervisor agent takes the compiled report and makes a new version of the report to give to us, and the new version instead replaced the IP address with the host name.

27:20.260 --> 27:30.200
So then when we tried to recreate this report using the host name, nothing happened, nothing worked, and it was because the supervisor agent had kind of misreported everything.

27:30.420 --> 27:34.580
And so that's another, this is an example of a subtle error.

27:34.580 --> 27:50.520
We noticed this trend in a few of the other reports where the supervisor agent would misreport what the sub-agent would give, and it would also tend to, like, blow up the criticality of findings, not unlike a lot of, like, human, like, manager and, like,

27:50.520 --> 27:53.260
actual engineer worker experiences.

27:55.620 --> 28:06.200
Okay, so with that all that in mind, I wanted to go over some of the key takeaways that we got from this study and this comparison of humans and AIs.

28:07.560 --> 28:11.120
One big thing is speed.

28:11.220 --> 28:15.240
We saw that our agent was way faster than a human agent.

28:15.240 --> 28:27.480
It was able to utilize the parallelization in our V2 agent, which can also be scaled up with more, more chains of thought, more, more agents happening at the same time in order to find vulnerabilities even faster.

28:27.480 --> 28:37.200
The first vulnerability, the full exploit chain that was found by our agent was in 18 minutes after the beginning of the engagement.

28:37.200 --> 28:44.100
For our human participant, the first, the first vulnerability, the first exploit happened at around 45 minutes.

28:44.280 --> 28:55.600
And what we found was that also the first exploit that the agent found was actually way higher severity than the first exploit that our human participant found initially.

28:55.700 --> 29:08.620
And this kind of shows that this parallelization, this, this just allows AIs to be, this allows the AI agent to be fast and often faster than a human would be in that same time period, same scenario.

29:08.620 --> 29:14.400
But one con of the agent, we found that it often reports some scanner type vulnerabilities.

29:14.400 --> 29:19.600
This included things like simple, like version, versions being a bit old.

29:19.600 --> 29:28.280
It reported things like outdated TLS, SSL configs, some minor configuration stuff that usually a vulnerability scanner would be able to find.

29:28.280 --> 29:34.500
Existing tools that don't use AI like Nessus and things of the like would be able to find these.

29:34.500 --> 29:43.640
So that kind of shows like there were 27 findings, but not all of them are like things that we needed an agent to find.

29:44.520 --> 29:48.820
So despite that, overall, the agent seems pretty promising.

29:48.820 --> 29:50.680
So what is the feasibility?

29:50.680 --> 30:11.820
Across our, on average, across the 10 hour run, which is how long we would run one session of the agent due to monitoring and oversight work hours for us, the agent would, we would, we input 175 million tokens into the agent and have an output of 1.5 million tokens.

30:11.820 --> 30:13.460
So how much did that cost?

30:13.460 --> 30:23.860
Well, it just, it depended on the agent, but one, for instance, one of the agents we tried, Clawed Force on it, across the 10 hour window, it cost $550.

30:23.960 --> 30:26.980
So you can take that how you will.

30:29.400 --> 30:32.260
And then, so human advantages.

30:32.260 --> 30:49.740
So despite all the statistics, the humans still had some advantages in this case, like the example Ethan mentioned earlier, where the human was able to use its greater knowledge and experience and understanding of the situation to find a more complicated vulnerability.

30:49.920 --> 30:59.360
And then also, like mentioned, all the errors in like submissions and reporting, there's a lot less, there's a lot clearer reporting from the humans.

30:59.460 --> 31:04.880
And it was much easier to recreate the human vulnerabilities a lot of the time than the agent findings.

31:07.770 --> 31:10.370
So I want to touch on some of our limitations.

31:10.450 --> 31:12.830
One is obviously the limited time window.

31:12.830 --> 31:20.450
So for those of you guys that have done bug bounties or things like that, there's often a much longer window for recon and also for submissions.

31:20.650 --> 31:30.750
And because we wanted to monitor, obviously, participants have day jobs and other commitments, they can't block out a month for us, that at least currently favors the agent.

31:30.770 --> 31:45.030
I also want to touch on a similar study done, OpenAI had this at-coder competition, I don't know if you have seen the results, but early on in the first three hours, the model shot up really, really fast and was able to kind of really crush the human competitors.

31:45.090 --> 31:49.630
But as the competition went on, ultimately, the humans were able to kind of come back.

31:49.630 --> 31:55.410
And ultimately, the winner of that competition actually was a human and, you know, very high profile kind of victory there.

31:55.470 --> 32:12.830
And while the OpenAI model still had a strong showing, I think it was second place overall, we kind of want to touch on how actually the limited time window greatly favors the agent currently and being able to kind of just find raw submissions in a time when actually maybe the human needs a bit of time to get up to speed with context and things like that.

32:14.650 --> 32:17.110
All righty, so where are we going from here?

32:17.110 --> 32:19.210
First of all, we are at V1.

32:19.330 --> 32:25.130
What we just ran was kind of a V0, but V1 is going to be a scaled up version of that with multiple humans.

32:25.670 --> 32:32.610
And the other thing we're going to change for this next version is that the AB test with narrower scope.

32:33.350 --> 32:38.630
The human got that full 20 subnet scope, which obviously has a lot of hosts on it.

32:38.990 --> 32:45.430
And as a result, I don't think we got to see the human's depth of knowledge and depth of exploit chain.

32:45.430 --> 32:55.330
So we'll be having some participants operate on a greatly reduced scope to see what the depth of human knowledge is, because we covered breadth pretty well, I think, in this first iteration.

32:56.530 --> 33:01.550
The second task we're going to do is a lift study.

33:01.550 --> 33:07.650
So lift would be referring to given some tool or environment, how much better does one perform?

33:07.730 --> 33:15.490
And in this case, we'd like to take people of all skill ranges and pair them with an agent or disallow them from using AI.

33:15.790 --> 33:23.810
And with the paired agent, the expectation is people that have a lower skill level will increase dramatically.

33:23.910 --> 33:28.550
And historically, sometimes agents have actually inhibited the highest skill experts in fields.

33:28.550 --> 33:34.910
However, with this parallelization and advances in AI in general, maybe this will change eventually.

33:34.910 --> 33:38.610
So these are continuous metrics we'd like to be gathering.

33:38.790 --> 33:43.590
And the third thing is a purple team exercise, which is red and blue team.

33:43.770 --> 33:45.230
We have done red team.

33:45.230 --> 33:46.990
We will be doing more red team.

33:46.990 --> 33:58.370
But blue team, as I referenced earlier, is ultimately I think a lot of the goal of red team is to help blue team succeed, help keep people safe, help keep the world in some form of status quo.

33:59.330 --> 34:10.330
And so we'll be observing blue team participants, IT staff, etc., who will be responding actively to our red teamers, as well as running a blue team agent.

34:11.790 --> 34:14.350
Also, no work goes into vacuum.

34:14.470 --> 34:17.530
Obviously, we have this great team here on the stage with us.

34:17.530 --> 34:22.890
I also want to acknowledge Stanford HIC grant, which supported our work, also with OpenAI.

34:22.890 --> 34:28.310
And I want to thank our colleagues, Olivia, Kevin, and Andy, for kind of formative discussions and feedback.

34:29.370 --> 34:32.970
Also, this wouldn't be a good talk without a shameless recruitment pitch.

34:32.970 --> 34:46.930
So if anyone here is a strong security researcher, kind of interested in participating, going head on with the frontier models, also organizations, for those of you all that are interested in having a bug bounty or kind of seeing how AI can help secure your enterprise,

34:46.930 --> 34:47.950
please reach out.

34:47.950 --> 34:50.830
We'll do a lot of the log work on the log analysis and whatnot.

34:51.250 --> 34:52.750
And yeah, I've left my signal here.

34:52.930 --> 34:54.370
Feel free to contact me.

34:54.370 --> 34:56.430
We have our website and email.

34:56.710 --> 35:02.490
And yeah, we're looking forward to extending this work and engaging with the rest of the security community.

35:03.130 --> 35:04.190
Thank you.

35:11.850 --> 35:16.110
I think we have ten minutes or so for questions, if anyone has them.

35:16.190 --> 35:17.830
I saw your hand first.

35:28.370 --> 35:37.930
So the question was how much do we think the expert was inhibited by wanting to do ‑‑ have interesting findings that aren't some bullet and scanner level thing.

35:37.930 --> 35:42.610
And the answer to that question I think is definitely there was some of that going on.

35:42.610 --> 35:46.710
The expert was going for some more complex web chain things.

35:47.190 --> 35:56.450
I think the larger inhibitation on the expert's side was this ‑‑ the time scope that Justin talked about.

35:56.510 --> 36:08.310
I think ‑‑ so the low severity findings in the graph on the experts were these kind of bullet and scanner type things like the service status point on Apache.

36:08.550 --> 36:24.030
But more broadly, the expert had this tendency to hit a host, hit a host pretty hard, think that he maybe found something, and then eventually say, you know, if I had two more hours I'd continue looking at this, but I think I should go elsewhere.

36:24.030 --> 36:27.650
And honestly, I think that was the biggest impact to his performance.

36:45.100 --> 36:57.660
So to repeat the question, we had some problems with the subagent and the supervisor agent playing some game of telephone to some extent, and do we have plans to improve that in the next iteration?

36:57.920 --> 37:01.420
Yeah, so definitely one of the key things is a verifier.

37:01.460 --> 37:09.280
So one thing that we want to do with the submissions is actually have a verifier agent try to run the POC code, because that's what you would do as a human, right?

37:09.280 --> 37:12.200
If you see a vulnerability you try to triage it, try to understand that.

37:12.200 --> 37:16.400
Right now we're just piping it over and then we manually go and verify the stuff.

37:16.400 --> 37:23.520
So I think having that kind of closed loop where actually the submission was blocked and you can reiterate can probably help alleviate some of those issues.

37:35.330 --> 37:38.450
In terms of verifying the vulnerability?

37:38.590 --> 37:39.630
Like how long it took us.

37:39.630 --> 37:41.050
Yeah, we don't.

37:41.270 --> 37:42.470
We do.

37:42.470 --> 37:43.290
Oh, yeah, I should do.

37:43.390 --> 37:50.890
So Ethan and I were mainly responsible for verifying the agent and the human vulnerabilities, but primarily Ethan, so I'm going to let him take this.

37:51.310 --> 37:57.650
Yeah, I think most of ‑‑ we were able to verify most of the vulnerabilities in about an hour, an hour and a half.

37:59.010 --> 38:06.970
In total, there were not too many vulnerabilities, because these were limited runs and time frames.

38:07.190 --> 38:09.390
As you said, there were like 27 and eight.

38:09.850 --> 38:12.190
So we were ‑‑ yeah, it did not take too long.

38:13.570 --> 38:21.510
Just to add to that briefly, like this is something that ‑‑ shoot, I completely blanked on what I was going to say, actually.

38:32.810 --> 38:38.070
Yeah, so all of the findings that ended up on the graph for the agent, we didn't prod it at all.

38:38.130 --> 38:48.570
So the elicitation I was referring to when I talked about that was mostly the architecture and as well as some prompt changes, because initially the prompts were pretty default.

38:48.870 --> 38:55.510
And then, you know, I'm sure some of us have added the experience where we're like begging the LLM to do what we're actually asking it to do.

38:55.850 --> 38:57.710
And there was definitely some of that.

38:57.890 --> 39:08.670
And really, frankly, it was some wordsmithing, trying it and then seeing, okay, it did better here, but maybe we can like ‑‑ but there was no ‑‑ every vulnerability you saw there, the agent found by itself.

39:08.670 --> 39:14.310
And when we actually try to elicit, it's actually to reproduce a human attempt, like the XSS one.

39:14.310 --> 39:15.730
The elicitation you were talking about.

39:15.730 --> 39:16.250
Yeah.

39:16.250 --> 39:17.690
Red in the back.

39:26.530 --> 39:28.570
For sure.

39:28.790 --> 39:35.710
So one thing that is part of the V2 subagent architecture are expert subagents.

39:35.710 --> 39:42.650
So the supervisor has an ability now to call ‑‑ I think there are some companies that exist that have a word for this.

39:43.230 --> 39:48.210
But basically some agents that have a specialized prompt for a certain thing.

39:48.210 --> 39:57.990
So we had like web enum, windows enum, file share enum, and then after that we had like web exploit and so on and so forth.

39:58.870 --> 39:59.270
Yes.

39:59.270 --> 40:03.810
We also tried the kind of expo alloy approach where we used different models as well.

40:04.690 --> 40:06.250
Gentleman next to you.

40:10.510 --> 40:12.810
Could you repeat the last bit?

40:13.430 --> 40:15.870
The agent's ability to find its manners.

40:18.030 --> 40:21.390
We didn't do a very thorough study on this.

40:21.390 --> 40:28.470
Obviously we tried to, you know, on the VM machine, you know, try to add some technical controls as to what it can and can't access.

40:28.470 --> 40:32.830
But it's mostly, like we said, we monitored the agent through that time horizon.

40:32.830 --> 40:33.890
We also collect logs.

40:33.890 --> 40:36.510
We have like a jump box internally for it to kind of route things.

40:36.510 --> 40:39.730
So it's mostly just like, oh, if it's not doing anything super naughty, it's fine.

40:39.730 --> 40:44.530
But we did not like log each time it's tried to, you know, try another subnet or something like that.

40:44.530 --> 40:48.550
I will say I was monitoring the agent for the entirety of its last run.

40:48.830 --> 40:57.210
And because of the elicitation, it got a little bit naughty on like uploading a bunch of .SH files to try to catch a reverse shell or something.

40:57.210 --> 41:01.490
But that's nothing that I think a human attacker wouldn't have to do to iterate through payloads.

41:01.490 --> 41:06.150
In terms of minding scope and not hurting the network, it was actually really well behaved.

