WEBVTT

00:00.000 --> 00:04.960
We're sitting here with another team at the AICC Challenge, which is the AI Cybersecurity Challenge.

00:04.960 --> 00:09.840
They were supposed to make an autonomous team to both find bugs and automatic patch them.

00:09.840 --> 00:12.480
There's whole content around what it is.

00:12.480 --> 00:21.400
We want to sit down with you guys, talking about your approach, what you did, how is your approach different than other teams, how it works, some of the challenges.

00:21.400 --> 00:23.420
So let's start off here.

00:23.420 --> 00:29.760
When you guys first heard of this challenge, why did you decide to join the AICC?

00:30.540 --> 00:31.840
Maybe I can start.

00:31.840 --> 00:44.600
So I heard this challenge in Black Hat 2023, if I remember it correctly, because my student and I are presenting our works at the Black Hat.

00:44.640 --> 00:57.720
And when Perry Adams announced that DARPA is going to have this competition, it's going to explore whether AI techniques can be used to solve some security issues, especially to find bugs and patch bugs.

00:57.720 --> 01:01.080
And I think it's quite exciting and it's a very interesting topic.

01:01.080 --> 01:10.740
And also, I mean, as someone from academia, we always want to explore something that nobody else has already explored.

01:10.740 --> 01:11.760
Right , so that's...

01:11.760 --> 01:23.560
And then I quickly shared this information with some of my other friends, including my previous advisors in academia, and asked if they are interested and if we can team up or something like that.

01:23.560 --> 01:26.140
Right, so that's basically how the story begins.

01:26.140 --> 01:29.420
It's like, okay, interesting thing, we should do interesting things.

01:29.480 --> 01:30.300
That's it.

01:30.300 --> 01:33.860
So you formed a team, you started it.

01:33.860 --> 01:37.320
Was there a baseline of like, here is how I think we're going to do it?

01:37.320 --> 01:44.020
Because you were allowed to use commercial tools if you wanted to, you could use it off the shelf orchestration system.

01:44.020 --> 01:47.920
You could kind of decide how much of large language models you wanted to do.

01:47.920 --> 01:51.060
What was like your initial approach of how you thought you were going to build it?

01:51.060 --> 01:53.120
And then how did you end up building it?

01:53.120 --> 01:53.820
Oh, yeah.

01:53.820 --> 01:55.360
So that's a great question.

01:55.360 --> 02:01.220
Because, you know, like the techniques to find bugs and patch bugs have already been developed for decades.

02:01.220 --> 02:05.180
There are lots of mature tools, like fuzzing tools or static analysis tools.

02:05.180 --> 02:09.820
And of course, at the very beginning, we always want to explore whether these tools can work or not.

02:10.020 --> 02:20.800
Right, so at the very beginning, I remember it's like about like three months, we have lots of debates and lots of discussion and lots of like evaluation of the existing tools.

02:20.800 --> 02:29.480
And we're trying to figure out, OK, whether this tool works, whether that tool works, and how can we introduce machine learning techniques to kind of like orchestrate these tools.

02:29.480 --> 02:32.180
So we have lots of testing, lots of evaluation.

02:32.200 --> 02:37.980
And we come up with a very initial design, which is, I mean, at the very beginning, we proposed a solution.

02:37.980 --> 02:49.500
It's like we are going to build lots of agents in a system using these agents to, for example, call this tool to get some results and using the agency based on a large language model, right?

02:49.500 --> 03:02.280
And the agency is going to use the reasoning capability provided by the model to orchestrate the traditional tools to get results that we want and how to put the output of this tool as input to another tool or something like that.

03:02.280 --> 03:05.340
So that's our initial solution.

03:05.660 --> 03:15.040
And during the competition, we gradually find some limitations of existing traditional tools and also limitations of the foundation model.

03:15.060 --> 03:24.020
So we modified our design a little bit, and we're trying to figure out, especially trying to figure out how to deal with the hallucination of a foundation model.

03:24.020 --> 03:36.700
And finally, we make a, I mean, our final approach is like we still have lots of classical tools in our system, but still we're using foundation model to kind of like, for example, use it to develop patches.

03:36.700 --> 03:51.620
And we also use some like, maybe we can call them classical AI techniques, not like a larger model, something like neural network or something like even like decision tree in our system and trying to do some small tasks.

03:51.680 --> 03:58.280
And then we're going to use a system that are going to orchestrate all these classical tools and also AI tools.

03:58.540 --> 04:02.240
So just a little bit of background on your team.

04:02.240 --> 04:06.500
Have you guys competed in like traditional DEF CON CTF before?

04:06.500 --> 04:08.420
Are you a relatively new team?

04:08.420 --> 04:11.160
Have you all attended DEF CON previously?

04:11.160 --> 04:11.840
Yeah.

04:11.940 --> 04:12.820
Okay.

04:13.860 --> 04:15.240
So this guy is from the...

04:15.240 --> 04:19.800
Yeah, so I was previously played DEF CON for the Ketamine.

04:19.800 --> 04:22.420
Yeah, his previous name is AoE.

04:22.600 --> 04:22.680
Yeah.

04:23.000 --> 04:23.660
Yeah.

04:23.660 --> 04:27.480
And I was previously affiliated with another team called the Down Team.

04:27.480 --> 04:39.240
So in your solution for the Cyber Challenge, did you use any existing frameworks from your prior interactions with either DEF CON CTF or prior?

04:39.240 --> 04:42.640
I know there was a previous competition, the Grand Challenge.

04:42.640 --> 04:52.220
Did you use any existing frameworks that you were already using or did you spin up everything new for this challenge?

04:52.460 --> 04:54.260
We're not starting from scratch.

04:54.260 --> 04:54.660
Okay.

04:54.660 --> 05:03.800
And unfortunately, I didn't have the chance to participate in the Grand Challenge because at that time I'm still doing my undergraduates.

05:03.800 --> 05:10.280
So we use lots of existing tools like AFL and also other tools.

05:10.280 --> 05:14.020
But I think because, I mean, it's a challenge, right?

05:14.020 --> 05:18.860
So trying to means that you cannot just build a system using the off-shelf tools.

05:18.860 --> 05:20.840
You must have some innovations in it, right?

05:20.840 --> 05:27.640
So we use some existing techniques, but we also introduce lots of like emergent techniques, lots of new stuff into the system.

05:28.080 --> 05:28.120
Yeah .

05:28.120 --> 05:29.660
So you say emerging techniques.

05:29.660 --> 05:33.980
Can you explain what one of the emerging techniques would have been?

05:34.260 --> 05:39.540
Yeah, so emergent techniques, I mean, in this context is of course the machine learning techniques, right?

05:39.540 --> 05:52.760
So lots of different machine learning models, not only large language models, but also other techniques that we can leverage to make the system more automated and make the system to be less Oracle guided.

05:52.880 --> 05:54.700
Well, be more specific.

05:54.700 --> 06:00.360
Like what technically were you adding on that was something new, novel, which you said it's an emerging technique.

06:00.360 --> 06:02.080
What specifically?

06:02.320 --> 06:02.960
Oh yeah.

06:02.960 --> 06:06.100
So because this system is trying to find bugs and patch bugs, right?

06:06.100 --> 06:08.300
So we have different components.

06:08.600 --> 06:12.000
We call them subsystems in the tool.

06:12.000 --> 06:16.400
And we have the components for finding bugs, component for patching bugs.

06:16.400 --> 06:21.460
So for patching bugs, we are mainly relying on the foundation models, large language models.

06:21.460 --> 06:31.960
And we also use some tools to verify that the patch generated by the model is correct and thus remediate the bugs.

06:31.960 --> 06:34.160
So that's for the patching components.

06:34.160 --> 06:48.340
And for the components that's trying to find bugs, because in the final, we have a new model, which is called Delta model, which basically is like you have some code change, some code diff, and they're trying to figure out whether this code diff will introduce new bugs or not,

06:48.340 --> 06:48.480
right?

06:48.480 --> 06:55.200
So we use an existing technique, which is called a direct fuzzing to find the bugs in the code diff.

06:55.200 --> 07:01.200
But the direct fuzzing basically means that you must have some guidance about where the fuzzing should go, right?

07:01.200 --> 07:03.800
So we must give some feedback to the direct fuzzing.

07:03.800 --> 07:11.360
And we introduce some machine techniques trying to prove the call graphs generated by classical tools.

07:11.720 --> 07:18.340
For example, the classical tools can always generate some false positives, which will make the efforts diluted.

07:18.340 --> 07:26.740
But the machine learning techniques is able to prune some call edges in a call graph, and then we can be more focused on the target.

07:26.960 --> 07:28.420
Some examples, yeah.

07:28.420 --> 07:39.900
So this competition went over the course of two years, and we all kind of know that the large language models have gotten a lot better in the past two years, and some of them have gotten worse.

07:39.900 --> 07:54.860
But did you find anything surprising, as time went on, about how your techniques started using the large language models versus how they were, we'll say, in the second year?

07:54.860 --> 08:02.720
Like, how did your approach change over the first year to the second year, maybe with the patching mechanisms or the guided fuzzing mechanisms?

08:02.720 --> 08:04.540
Did anything surprise you?

08:04.540 --> 08:05.700
Yeah, of course.

08:05.880 --> 08:11.560
So personally, I think I kind of underestimate the large language model at the very beginning.

08:11.700 --> 08:14.120
So it's almost two years ago.

08:14.120 --> 08:19.680
At that time, we only have models like the GPT-4, and the Cloud 4 wasn't there, right?

08:19.680 --> 08:21.940
And GPT-5, of course, wasn't there.

08:21.940 --> 08:27.620
So I kind of underestimate the capability of the large language model.

08:27.620 --> 08:30.760
So at the very beginning, we have lots of doubts about them.

08:30.760 --> 08:36.720
So that's why we choose to use, for example, lots of classical techniques in our system.

08:36.780 --> 08:41.820
But the development of large language model is very surprising.

08:44.400 --> 08:50.720
And nowadays, people are talking about agents, and agents weren't there about two years ago.

08:50.780 --> 08:56.240
So yeah, I have to admit that we kind of underestimate the development of large language model.

08:57.000 --> 09:05.320
Actually, I don't think we fully leverage the capability of large language model, which is actually our future direction.

09:05.320 --> 09:15.720
It's like we want to introduce more techniques from large language model to try to make our system better and to be more general across different software.

09:15.940 --> 09:27.960
It's interesting to me when we talk to the other teams is it seemed that the teams that did better in the contest relied a lot more on the large language models than others, where they didn't just use the classical tools.

09:27.960 --> 09:31.680
And the ones that really embraced and pushed forward, did you notice that as well?

09:32.180 --> 09:43.180
You guys, do you think one of the things that made you do better in the contest was that you relied on large language models more or that you relied on more of the classical attacks more?

09:44.320 --> 09:45.280
Sure.

09:46.380 --> 09:47.120
Maybe.

09:47.940 --> 09:51.040
I think there are different stages.

09:51.780 --> 09:57.360
I mean, at the very first beginning, we will try to find bugs.

09:57.360 --> 10:01.940
And the next one, we will try to fix bugs.

10:01.940 --> 10:10.840
And for the portion of the large language models, I think most of the credit or large language models are used to generating patches.

10:10.840 --> 10:19.620
And for the very first stage, I developed a system for generating POC or initial seed for fuzzy.

10:19.620 --> 10:34.400
This is a combination of a traditional way and AI way to find a kind of effective path to a potential vulnerability sync point.

10:34.400 --> 10:49.060
And for the finals, they introduced another mode, like a serif mode, which is they broadcast a static analysis result in kind of JSON format.

10:49.060 --> 10:54.220
And they just want us to verify this is true positive or false positive.

10:54.340 --> 11:01.580
We use pure large language models, the AI way to verify the results.

11:01.880 --> 11:11.040
And thanks to the MCP, because MCP, the Model Context Protocol, is very new in this year, and it's very popular.

11:11.040 --> 11:16.580
So thanks to MCP, we can integrate it very fast with large language models.

11:16.580 --> 11:19.120
Yeah, and this part is pure AI, I think.

11:19.120 --> 11:19.520
Yeah.

11:19.520 --> 11:31.940
So I know that the teams obviously have been working in relative secrecy, you know, across from each other, but the contest was structured such that everyone needs to open source their solution at the end.

11:31.940 --> 11:33.880
I have two questions.

11:33.880 --> 11:35.540
Have you gotten any time?

11:35.540 --> 11:38.240
I know everything just got released and you're talking about it.

11:38.240 --> 11:42.380
Have you gotten any time to look at what the other teams did for the competition?

11:42.380 --> 11:48.900
And are you planning to go back and continue working on your current solution to evolve it further?

11:54.370 --> 12:02.030
I think, kind of improvement, I think for the AI portions is...

12:02.030 --> 12:08.430
I have to admit that we underestimated the power of the large language models portion.

12:08.430 --> 12:15.230
So I think for the most significant parts would be we can use everything.

12:15.230 --> 12:18.530
We can use AI to everything, every part of our component.

12:18.530 --> 12:21.650
And I think from the results, yeah.

12:23.090 --> 12:28.670
Yesterday I saw every team use large language models in every part of their component.

12:28.670 --> 12:30.530
I think it will be, yeah, significant.

12:30.530 --> 12:40.530
So after the announcement, we actually have lots of discussions with other teams and they're trying to explore what other teams are doing with the agent and the large language model.

12:41.210 --> 12:48.370
And so that's why I'm thinking like, because kind of underestimate the capability of large language models at the very beginning.

12:48.370 --> 12:57.710
But I think, I mean, it's the end of a competition, but it's not the end of the game of exploring large language models for vulnerability finding and vulnerability patching.

12:57.710 --> 12:58.850
They're just a start.

12:59.130 --> 12:59.570
Right .

13:00.070 --> 13:00.510
And...

13:00.510 --> 13:09.270
Yeah, it's been fun asking the teams, like in hindsight, if you had perfect vision of the past, what advice would you give to your past self?

13:09.350 --> 13:12.370
And a lot of teams are saying that we wish we would have relied on them more.

13:12.370 --> 13:13.770
We underestimated them.

13:13.770 --> 13:21.570
Is there something specific where you, if you could give yourself one piece of advice before the contest started, what would that advice be?

13:22.610 --> 13:30.670
So for me, so actually, I mean, our team, the system that developed by our teams are very excellent at finding bugs.

13:30.670 --> 13:41.190
So actually we are the second in finding bugs and we are the first reporting the serif reports, but we are not doing very well at patching bugs.

13:41.210 --> 13:45.710
So actually it's not because we are not using large command, large command a lot.

13:45.710 --> 13:53.350
It's because like, because some like small bugs, some critical, but a small but a critical bugs in our integration, right?

13:53.350 --> 14:14.830
So if I'm going to give some advice to myself, like two years ago, I would say, we should put more efforts in integration, put more efforts into the engineering things, but more importantly is, so I'm thinking it's like, maybe we can, instead of using the oracles or heuristics to integrate the system,

14:14.830 --> 14:22.670
I would say, okay, could you explore more potential of using larger language model to integrate the system?

14:22.670 --> 14:28.890
Because larger language model, it could have been, it's likely to be more general and more flexible than the traditional approaches.

14:29.910 --> 14:31.410
What about you guys?

14:31.490 --> 14:35.530
Yeah, for me, it's do not change the code at a deadline.

14:36.030 --> 14:41.330
Yeah, I mean, we did pretty well, like the fundamental vulnerabilities.

14:41.350 --> 14:45.090
Yeah, we want to sacrifice, find bugs and submit them.

14:45.090 --> 14:50.610
But yeah, as you know, the scoreboard, we didn't patch so much.

14:51.090 --> 14:59.430
Yeah , yeah, that's why we introduced a small box at the deadline before the, like submitting the code to the DAFA.

14:59.430 --> 15:08.830
Yeah, and that small mistake provide us submit 80% of our patches to the final.

15:08.970 --> 15:18.530
Yeah, so if I said to the previous myself, I would say like, just keep the code, do not change at the very end, yeah.

15:18.730 --> 15:21.050
Yeah, it's actually very interesting.

15:21.050 --> 15:26.290
It's like, actually we found this small critical bugs after we submit all the codes to DAFA.

15:26.670 --> 15:35.970
So actually we already know that our system is likely that, you know, because of bugs, our system is not fully behave itself.

15:36.710 --> 15:37.750
Yeah.

15:37.870 --> 15:39.810
Well, thank you so much.

15:39.810 --> 15:42.390
Again, your team was 42 beyond bugs.

15:42.390 --> 15:44.030
Thank you so much for sharing.

15:44.030 --> 15:47.410
I cannot wait to dive into your system when you release it.

15:47.590 --> 15:49.750
Thank you for sharing with us.

15:49.750 --> 15:50.870
Thank you for watching.

15:51.490 --> 15:52.410
And hack on.

