1 00:00:16,420 --> 00:00:21,900 We are team All You Need Is a Fuzzy Brain. 2 00:00:21,900 --> 00:00:27,380 We're actually very excited to have the opportunity to speak here. 3 00:00:27,380 --> 00:00:31,940 As you can see, we have four members of our team here. 4 00:00:31,940 --> 00:00:34,740 Actually, we have eight in total. 5 00:00:35,060 --> 00:00:41,360 Most of them are Texas A&M students and faculty members. 6 00:00:41,360 --> 00:00:43,740 My name is Jeff Huang. 7 00:00:43,740 --> 00:00:49,040 I'm a professor of the computer science department at Texas A&M. 8 00:00:49,040 --> 00:00:52,240 I'll let these folks introduce themselves. 9 00:00:52,560 --> 00:00:54,020 Hi, everyone. 10 00:00:54,020 --> 00:00:55,220 My name is Zixuan. 11 00:00:55,440 --> 00:00:58,660 I'm a PhD student of Professor Huang. 12 00:00:59,320 --> 00:01:02,880 I'm honored to be here to share the ideas of our CRS here. 13 00:01:02,880 --> 00:01:04,140 Nice to meet you guys. 14 00:01:04,140 --> 00:01:05,520 Enjoy DEF CON. 15 00:01:06,120 --> 00:01:08,740 Hi, my name is Matthew Woodcock. 16 00:01:08,740 --> 00:01:12,520 I am going into my sophomore year of undergraduate, actually. 17 00:01:12,520 --> 00:01:17,180 Also at Texas A&M, and I've had the privilege of working with Dr. 18 00:01:17,180 --> 00:01:18,620 Huang and the entire team. 19 00:01:18,620 --> 00:01:19,520 It's been wonderful. 20 00:01:20,160 --> 00:01:24,020 Hi, I'm Qingxiao Xu, and I'm also a graduate student. 21 00:01:24,020 --> 00:01:29,700 And I'm very happy to be here and to share our great CRS work with you guys. 22 00:01:29,700 --> 00:01:31,180 Thank you. 23 00:01:31,260 --> 00:01:32,740 Go to the next slide. 24 00:01:36,380 --> 00:01:48,780 Okay, the first most important part I want to show the first slide is we have formally open sourced our CRS. 25 00:01:48,840 --> 00:01:58,440 The top one is the version that we submitted for the AICC finals. 26 00:01:58,760 --> 00:02:03,240 So this is identical to whatever was submitted. 27 00:02:03,240 --> 00:02:08,040 At the same time, we have a local version, which is on a different branch. 28 00:02:08,040 --> 00:02:15,040 So this branch will allow you to run on your desktop with a Docker image. 29 00:02:16,000 --> 00:02:20,540 We also open sourced our semi-final CRS. 30 00:02:20,540 --> 00:02:23,780 So the third one was actually very, very simple. 31 00:02:23,780 --> 00:02:29,180 It actually contained only maybe 500 lines of Python code. 32 00:02:30,500 --> 00:02:33,860 Okay, so go to the next one. 33 00:02:34,620 --> 00:02:47,860 First of all, I want to spend some time talking about the name because this is probably the biggest lesson we have learned throughout this challenge. 34 00:02:48,060 --> 00:02:50,980 All you need is a fuzzing brain. 35 00:02:50,980 --> 00:02:57,520 As you can easily tell, this was inspired by the famous transformer paper. 36 00:02:57,520 --> 00:03:04,020 But what's interesting here is the brain is not fuzzing. 37 00:03:04,380 --> 00:03:09,260 I know most folks here in cybersecurity love fuzzing. 38 00:03:09,260 --> 00:03:15,920 But what I want to say or what we want to say is the big thing here with AI is the brain. 39 00:03:15,920 --> 00:03:24,940 We can see the large language models as the brain of our system versus fuzzing is actually minimal. 40 00:03:24,940 --> 00:03:27,420 If you go to the next slide. 41 00:03:28,440 --> 00:03:34,840 In fact, in our entire CRS, we had minimal fuzzing. 42 00:03:34,840 --> 00:03:37,800 In the semi-final, we had zero fuzzing. 43 00:03:37,800 --> 00:03:46,340 In the finals, we had a very basic version of fuzzing, which turns out had minimal influence in our whole system. 44 00:03:46,340 --> 00:03:58,020 If we just take out those fuzzing components in our final CRS, I would say our score won't change at all. 45 00:03:58,380 --> 00:04:03,500 Typically, if you run our CRS, you will see some things like this. 46 00:04:04,860 --> 00:04:07,240 Fuzzing was not performed. 47 00:04:08,220 --> 00:04:15,500 You only execute the target code and some single input or set of inputs generated by large language models. 48 00:04:16,580 --> 00:04:18,860 Okay, here is the agenda. 49 00:04:19,800 --> 00:04:24,730 The four of us will talk some of the major components in order. 50 00:04:26,720 --> 00:04:29,120 If you go to the next slide. 51 00:04:30,860 --> 00:04:37,440 I want to say three things before the students introduce their components. 52 00:04:37,440 --> 00:04:41,080 Number one, this is a fantastic challenge. 53 00:04:41,120 --> 00:04:51,520 We were able to involve not only academic professors in this competition. 54 00:04:51,520 --> 00:04:57,700 We also have lots of graduate students and undergraduates, including Masu, who is sitting here. 55 00:04:57,700 --> 00:05:10,020 I want to thank the organizers from DAPA and DAPA-H and their leadership for organizing this event. 56 00:05:10,440 --> 00:05:12,940 This is a great challenge. 57 00:05:13,400 --> 00:05:16,760 The two highlights at the very beginning. 58 00:05:16,760 --> 00:05:27,220 Number one, today's large language models are already very, very good for discovering and patching code-level vulnerabilities. 59 00:05:27,220 --> 00:05:37,400 With the right context engineering, you can probably achieve the same level of performance as we are doing in our CIS. 60 00:05:38,340 --> 00:05:49,500 Number two, the key thing is how to build a reliable AI-based system, which contains tons of engineering. 61 00:05:51,560 --> 00:05:56,000 We look at the logs after the results announced yesterday. 62 00:05:56,000 --> 00:06:00,680 We found after day four, we never submitted anything. 63 00:06:00,680 --> 00:06:03,060 There were seven days or more than seven days. 64 00:06:03,060 --> 00:06:07,040 All the submissions we had were in the first two days. 65 00:06:07,580 --> 00:06:12,660 Very likely our system crashed due to some unreliability issues. 66 00:06:12,660 --> 00:06:14,380 All right. 67 00:06:22,320 --> 00:06:40,020 Well, from the result shown yesterday, and our CIS actually has a very unique point, is that we find a vulnerability within five minutes, which is called the most speeded CIS. 68 00:06:40,020 --> 00:06:51,640 We are happy with that because we are actually designing many, many different strategies for different challenges with different difficulties. 69 00:06:51,760 --> 00:06:57,960 We have a very aggressive, very greedy, basic strategy for easy tasks. 70 00:06:57,960 --> 00:06:59,900 That's why we are fast. 71 00:07:00,080 --> 00:07:06,000 And actually, from the framework side, we are actually running everything in parallel. 72 00:07:06,000 --> 00:07:14,360 We have 96 worker nodes, and we have 23 strategies, and all of them are run in parallel. 73 00:07:16,040 --> 00:07:21,120 And now, let Qingxiao introduce some of the framework of our CIS. 74 00:07:23,930 --> 00:07:25,410 Hi, everyone. 75 00:07:25,450 --> 00:07:31,770 I will give an introduction to our CIS system. 76 00:07:31,770 --> 00:07:34,390 This is an overview of our CIS. 77 00:07:34,390 --> 00:07:39,110 It's quite complicated, but I'll break it down and introduce each of the components. 78 00:07:39,190 --> 00:07:42,430 We have, in total, four services. 79 00:07:42,470 --> 00:07:49,910 So, first, our CIS web service will receive a task and determine if it's delta or full scan. 80 00:07:49,910 --> 00:07:54,630 And then the worker service handles it. 81 00:07:54,630 --> 00:08:00,170 And actually, in our worker services, we are running hundreds of worker nodes in parallel. 82 00:08:00,170 --> 00:08:06,090 And in each worker node, they'll be doing the exact same work for different fathers. 83 00:08:06,090 --> 00:08:14,570 And during which, we have our static analyst service, which will provide analyzing to assist our worker services. 84 00:08:14,570 --> 00:08:26,500 And if a POV and patch is found in our worker service, it will be passed to submission service, which does the validation, de-duplication, and bundle. 85 00:08:27,660 --> 00:08:28,980 Matthew? 86 00:08:30,500 --> 00:08:31,820 Next. 87 00:08:32,480 --> 00:08:33,100 Yeah. 88 00:08:33,100 --> 00:08:38,830 That was the high-level idea, and now I will walk you through our workflow step-by-step. 89 00:08:39,240 --> 00:08:46,940 So, first, our web services receives a new task, determines if it's delta or full scan. 90 00:08:46,940 --> 00:08:55,180 And then it passes the information, and it will send this task to our analysis service. 91 00:08:55,180 --> 00:09:09,580 So, in our static analysis service, we'll do reachability analysis, co-pass analysis, and we have language-specific analysis, which we use different tools for C and Java projects. 92 00:09:10,100 --> 00:09:12,120 And... next, please. 93 00:09:12,220 --> 00:09:12,740 Yeah. 94 00:09:12,740 --> 00:09:18,300 And also, our web services will assign the fathers to our worker nodes. 95 00:09:18,300 --> 00:09:26,860 And before that, we actually have a specific design in our web service, which is a task distribution with workload awareness. 96 00:09:27,260 --> 00:09:34,320 And for each of the fathers, we have three harnesses built with different sanitizers. 97 00:09:34,400 --> 00:09:38,280 So, we assign the fathers to each of the workers. 98 00:09:38,280 --> 00:09:41,240 That is, there's one worker for each of the fathers. 99 00:09:41,240 --> 00:09:48,900 And in each of the workers, the things are running the exact same with different fathers provided. 100 00:09:49,480 --> 00:09:50,620 And... next. 101 00:09:50,620 --> 00:09:51,340 Yeah. 102 00:09:51,340 --> 00:09:54,880 Let's take a specific worker node, for example. 103 00:09:54,880 --> 00:09:59,940 So, we have father X, and it's being assigned to worker X. 104 00:10:01,880 --> 00:10:06,500 And so, we already have, like, hundreds of worker nodes running in parallel. 105 00:10:06,500 --> 00:10:11,000 What happens inside a worker is that we have more threads running in parallel. 106 00:10:11,000 --> 00:10:15,600 We have more than 20 strategies for POV and for patching. 107 00:10:15,600 --> 00:10:23,220 So, we create, like, 20 or 30 strategies for our POV strategies and patching strategies. 108 00:10:23,220 --> 00:10:26,920 And we also have a very unique X patching strategy. 109 00:10:27,120 --> 00:10:29,100 And... yeah. 110 00:10:29,100 --> 00:10:37,640 They will be running in parallel, and that actually explains our very fast speed. 111 00:10:37,640 --> 00:10:44,160 And in this worker X, what happens first is it builds the Docker image and builds the father. 112 00:10:44,160 --> 00:10:50,100 And it focuses on this specific father, and then it runs our strategies. 113 00:10:50,100 --> 00:10:55,140 Actually, from here, they will take over and introduce our strategy... 114 00:10:55,140 --> 00:10:57,820 Well, hello again. 115 00:10:57,880 --> 00:11:02,480 Well, let's dive deeper into the core of our CRS. 116 00:11:02,480 --> 00:11:09,480 We are going to talk about POV generation, patch generation, and another strategy called X patch. 117 00:11:09,480 --> 00:11:14,320 And then we're going to talk about how do we submit Bundle to the competition API. 118 00:11:14,640 --> 00:11:18,040 Basically, I want to add one more thing about the framework. 119 00:11:18,180 --> 00:11:23,060 So , we are actually... the whole CRS is written in two programming languages. 120 00:11:23,160 --> 00:11:29,200 The web services are written in Go, and the strategies are written in Python. 121 00:11:29,200 --> 00:11:33,400 We, in total, have 23 different strategies. 122 00:11:33,580 --> 00:11:38,520 And 10 for maybe Stelda scan, and 10 for full scan, and 2 for X strategies. 123 00:11:38,760 --> 00:11:40,180 And, well, here we go. 124 00:11:40,180 --> 00:11:50,120 So, basically, for POV generation, patch generation, you can think the inner core of the system is actually a multi-round chat with AI. 125 00:11:50,340 --> 00:11:54,320 Well, also, our name is fuzzing brain, but, you know, less fuzzing here. 126 00:11:54,320 --> 00:12:02,100 Well, basically, we let large language model to decide what is the vulnerability and where the vulnerability is. 127 00:12:02,100 --> 00:12:16,760 And after the model generate the location, the vulnerability info of the code snippet given, we're going to let another model to generate a Python code. 128 00:12:16,760 --> 00:12:23,420 And this Python code will output a set of blob input file as fuzzing input. 129 00:12:23,420 --> 00:12:28,260 And then we will run the fuzzer provided by the competition. 130 00:12:29,160 --> 00:12:36,820 And if there is a crash, which means that we find vulnerabilities in a given repository, right? 131 00:12:36,820 --> 00:12:38,360 And everything goes well. 132 00:12:38,360 --> 00:13:01,780 And if it failed to trigger the vulnerability, we feed back some runtime information from the fuzzer, from static analysis tool, and other context, like related functions, or other kind of things to the large language model to let it generate more inputs again. 133 00:13:01,780 --> 00:13:03,120 Next, please. 134 00:13:03,120 --> 00:13:10,400 And for the patching, fortunately, now we get a valid POV, and now we need to do patching, right? 135 00:13:10,480 --> 00:13:19,320 And for patching, the first thing we're going to do is to find what functions are we going to patch, right? 136 00:13:19,340 --> 00:13:22,480 Which we call the target functions in our system. 137 00:13:22,560 --> 00:13:26,980 Basically, we also let large language model to do such kind of thing. 138 00:13:26,980 --> 00:13:34,640 Large language model will read the POV we generate and the code of the code base, right? 139 00:13:34,640 --> 00:13:38,320 The target code to generate a JSON file. 140 00:13:38,320 --> 00:13:45,520 Actually, you can think of it as a list of the functions that the model thinks should be changed or should be patched. 141 00:13:45,520 --> 00:13:55,000 And then, based on the list of the target function, we let large language model to generate a full code after the patch. 142 00:13:55,000 --> 00:14:06,940 And this is quite different from what other team did, because we actually generate the full patched code, not the defiled directly. 143 00:14:06,940 --> 00:14:21,180 And the next step is to override the original buggy function with the function after the modification, which we overrided the original function, right? 144 00:14:21,180 --> 00:14:31,840 And we try to build a project to try to compile it and try to validate whether it can trigger the vulnerability again and whether it can pass the test. 145 00:14:31,840 --> 00:14:36,920 And if everything goes well, we're going to use git div to generate a div file. 146 00:14:37,300 --> 00:14:41,280 This is kind of a stable way for us to generate a div file. 147 00:14:41,280 --> 00:14:50,600 If we just let large language model to generate the file, it will cause some error, format error, metadata error, some kinds of like that. 148 00:14:51,520 --> 00:14:54,060 And, yeah, we use git div to generate div. 149 00:14:54,060 --> 00:15:00,100 So in this case, our div file can definitely apply to the source code. 150 00:15:00,100 --> 00:15:01,080 Next one. 151 00:15:01,460 --> 00:15:02,200 Yeah. 152 00:15:02,800 --> 00:15:08,560 However, things may not go very well in the real life. 153 00:15:08,560 --> 00:15:16,900 Imagine if we cannot find the valid POV within maybe 45 minutes, one hour, what should we do? 154 00:15:17,380 --> 00:15:27,800 We actually provide X strategy, which we let large language model to do patch with no POV information. 155 00:15:28,320 --> 00:15:36,840 Here, the logic is, there are a lot of details here, but overview logic is that large language models scan all the reachable functions. 156 00:15:36,840 --> 00:15:41,560 These reachable functions are generated by static analysis service. 157 00:15:41,600 --> 00:15:52,500 You can think it's a call pass graph from the entry point of the father to whatever, because we don't know the target function, right? 158 00:15:52,500 --> 00:16:01,820 And let large language models scan all the reachable functions from the father and to rank top five vulnerable functions per common of a common vulnerable. 159 00:16:01,820 --> 00:16:07,880 This is stored in a catalog, like for C, for Java, we have some CWEs, right? 160 00:16:07,880 --> 00:16:11,620 For each CWE, we may have a top five vulnerable functions. 161 00:16:11,800 --> 00:16:20,440 And there's a confidence level, and this indicates how likely large language models think the function is vulnerable. 162 00:16:20,800 --> 00:16:26,060 And after that, we actually have a list of target function again, right? 163 00:16:26,060 --> 00:16:28,140 And the next step is to try to patch it. 164 00:16:28,140 --> 00:16:29,620 It's trying to patch it. 165 00:16:29,620 --> 00:16:30,660 Next one. 166 00:16:31,260 --> 00:16:32,220 All right. 167 00:16:33,360 --> 00:16:38,880 And the next step is almost the same as what we talked about in a patching slide. 168 00:16:39,340 --> 00:16:45,840 And after that, we run funding for 60 seconds to validate if there is something wrong with it. 169 00:16:45,840 --> 00:16:50,000 And then we generate the div file via git div. 170 00:16:50,000 --> 00:16:51,260 It's the same. 171 00:16:51,340 --> 00:16:52,400 And next. 172 00:16:52,680 --> 00:16:55,920 Since we already have POV, we already have patches. 173 00:16:55,920 --> 00:17:02,220 And we are going to submit it to the competition API to get score, right? 174 00:17:02,580 --> 00:17:04,080 This is important. 175 00:17:04,080 --> 00:17:15,880 Well, we actually build another agent service between the CRS and the competition API, which is called submission service. 176 00:17:15,880 --> 00:17:25,680 And this service is actually taking charge of deduplication because it has all the POVs. 177 00:17:25,680 --> 00:17:29,080 It has all the patches for specific tasks. 178 00:17:29,460 --> 00:17:40,580 So here, if a new POV is generated, it will send to the submission service first for deduplication. 179 00:17:40,580 --> 00:17:44,160 Here, for each POV, we generate a signature. 180 00:17:44,160 --> 00:17:47,820 It basically consists of a crash type and a crash trace. 181 00:17:48,020 --> 00:17:52,260 You can extract it from the sanitizer report, right? 182 00:17:52,260 --> 00:18:03,740 And based on this information, we can determine whether this POV is duplicated with some POV we found previously, right? 183 00:18:03,740 --> 00:18:08,640 And this is what we did for deduplication. 184 00:18:08,640 --> 00:18:19,940 And then we match the POV and the patches to form different bundles to make the final submission to the competition API. 185 00:18:20,400 --> 00:18:27,280 And also, this submission service is also taking charge of serif report parsing. 186 00:18:27,280 --> 00:18:34,440 Remember, we have all the POVs and patches for specific tasks in the submission service, right? 187 00:18:34,440 --> 00:18:38,840 So one of the strategies here is that we parse the serif report. 188 00:18:38,840 --> 00:18:46,180 And if this report indicates some POV we found previously for a specific task, then we can directly use it. 189 00:18:46,180 --> 00:18:50,480 We can directly submit it if it has a valid patch, right? 190 00:18:50,480 --> 00:18:58,340 And this is the logic of our POV, our patching strategy, and something like that. 191 00:18:58,340 --> 00:18:59,440 Next. 192 00:19:01,320 --> 00:19:05,300 And then let Qingxiao introduce Static Analysis product. 193 00:19:05,300 --> 00:19:13,140 Hi, I just want to clarify more on what kind of information can our Static Analysis service provide. 194 00:19:13,140 --> 00:19:19,600 So the CodeQL is applied for Java project, and I'll just introduce this one. 195 00:19:19,600 --> 00:19:29,840 So what we have in our Static Analysis is we extract the function metadata, and we do reachability analysis and call pass analysis. 196 00:19:29,840 --> 00:19:33,440 That is from the entrance function in each of the file. 197 00:19:33,620 --> 00:19:44,560 We use CodeQL to run the query scripts and see what kind of reachable functions can be reached from the entrance function. 198 00:19:44,560 --> 00:19:56,780 The information that will be passed to our worker nodes is for each fuzzer it will store all the reachable functions, and for each reachable function we will store all the possible call pass. 199 00:19:57,120 --> 00:20:03,940 And as Zuo has mentioned before, we are trying to parallelize running everything in parallel. 200 00:20:03,940 --> 00:20:19,580 So intuitively we try to run the reachable function query scripts in parallel, but we found that the actual latency in our Static Analysis is building the connection with our CodeQL databases. 201 00:20:19,580 --> 00:20:29,420 So instead of doing that, we actually concatenate all our query scripts in one, so that we only need to build connection with our databases once. 202 00:20:29,420 --> 00:20:42,480 And in this way, we actually reduced our time of doing Static Analysis for each of the projects in less than five minutes, which actually depends on the project size, but it's still very fast. 203 00:20:42,480 --> 00:20:45,160 And that's for the Static Analysis. 204 00:20:54,470 --> 00:21:01,170 So now I'm excited to talk to you all about the surprises and challenges that we encountered throughout this project. 205 00:21:01,230 --> 00:21:08,100 Because there were a couple, but the ones we wanted to highlight were first off, the improvement speed from large language models was dramatic. 206 00:21:08,530 --> 00:21:11,570 Part of my task was looking at model evaluation. 207 00:21:11,570 --> 00:21:20,390 And so from week to week, sometimes people will get, I guess, a little bit used to the pace of increase, but really just taking a step back and looking at it. 208 00:21:20,390 --> 00:21:32,130 We have some examples that we thought were worth mentioning, but from 3.5 to 4.0, at least for the GPT models, and then, I guess, especially recently, the competition between different model providers has really gotten awesome. 209 00:21:32,310 --> 00:21:34,870 Cloud 3.5 and then GPT 01. 210 00:21:35,430 --> 00:21:38,450 And as it gets better, it's helped us with patch generation. 211 00:21:38,450 --> 00:21:46,230 So many of these large language models can often successfully generate these complex structures of working code in just one to two attempts. 212 00:21:46,950 --> 00:21:52,230 In fact, for our CRS, actually 90% of our CRS's code was done with AI. 213 00:21:52,230 --> 00:21:53,550 We used Cursor. 214 00:21:54,550 --> 00:21:55,150 90%. 215 00:21:55,150 --> 00:22:01,190 And that's 50KLOC of Go, 50KLOC of Python. 216 00:22:02,010 --> 00:22:06,250 And then the last is building a reliable CRS is highly challenging. 217 00:22:08,470 --> 00:22:19,250 We've had a lot of improvements, actually, since the semifinals, but testing and debugging some large language model-based components, working with large language models, that can be frustrating. 218 00:22:19,250 --> 00:22:22,310 But what's really frustrating is sometimes having to deal with rate limits. 219 00:22:22,370 --> 00:22:23,470 We have fallback models. 220 00:22:23,470 --> 00:22:29,070 For example, we have a hierarchy of what we'll go to if we end up facing rate limits. 221 00:22:29,070 --> 00:22:30,450 Then we have race conditions. 222 00:22:30,950 --> 00:22:32,710 And I already mentioned fallback models. 223 00:22:36,040 --> 00:22:37,680 Yes, indeed. 224 00:22:37,940 --> 00:22:42,520 And here are some examples for some specific challenges. 225 00:22:42,960 --> 00:22:55,900 And as you can see, developing a CRS using multiple programming languages with concurrent strategies can cause a lot of concurrent bugs in our CRS. 226 00:22:55,900 --> 00:23:08,640 Well, just as I mentioned, we use Golang, we use Python, and it is pretty hard to debug such kind of thing, debugging Python code is painful for us. 227 00:23:08,640 --> 00:23:11,240 We spend mountains of time on it. 228 00:23:12,060 --> 00:23:15,800 And there will be a case study later, right? 229 00:23:16,940 --> 00:23:22,060 It's an example of race conditions, which we encountered in the competition. 230 00:23:22,880 --> 00:23:28,740 And for the full scan challenges, we are given, actually, the full code base. 231 00:23:28,740 --> 00:23:31,760 And you can imagine how large is it, right? 232 00:23:31,760 --> 00:23:55,940 And in this case, even we have a lot of different strategies to shrink the size of the searching space, the searching space is still very, very large because the functions, the data flow track is very, very long. 233 00:23:55,940 --> 00:23:58,880 Maybe the vulnerability is pretty deep, right? 234 00:23:58,880 --> 00:24:04,180 I remember there was one challenge in semi-final about Linux kernel is an example challenge. 235 00:24:04,180 --> 00:24:06,080 That is really painful. 236 00:24:07,000 --> 00:24:12,940 And patch generation, actually, is also the challenge we faced. 237 00:24:12,980 --> 00:24:21,500 And sometimes we can generate a POV, we can generate a patch that can pass the POV test, which mitigates the vulnerability. 238 00:24:21,500 --> 00:24:26,900 However, it actually destroys the function of the program itself. 239 00:24:26,900 --> 00:24:49,190 And this is quite common in nowadays programming because when we are using large language models to write codes, and sometimes the large language model focuses on some limit area to fix the vulnerabilities, however, it will break the overall functionality, 240 00:24:49,600 --> 00:24:51,260 which is really bad. 241 00:24:51,260 --> 00:25:12,280 And the last one is that since we are getting a longer and longer context window, if the vulnerability is harder to find or harder to patch, LLM will have very, very severe hallucination problems when generating content. 242 00:25:12,280 --> 00:25:18,460 And this is really a headache for us to deal with. 243 00:25:18,460 --> 00:25:21,820 And here we go, a case study. 244 00:25:22,460 --> 00:25:29,740 So one thing I'd like to highlight is building reliable AI-based state is super, super challenging. 245 00:25:29,740 --> 00:25:31,320 I want to give you an example. 246 00:25:31,700 --> 00:25:36,780 I've been doing, actually, research on race condition in the last 10 years or so. 247 00:25:36,780 --> 00:25:43,120 I find myself still got hurt by race condition in my own code. 248 00:25:43,280 --> 00:25:46,200 So this was race condition. 249 00:25:46,200 --> 00:25:52,340 We took us probably 20 hours of our time finding out the root cause. 250 00:25:52,340 --> 00:26:00,200 So we find there was an exhibition run which submitted many false positive POEs. 251 00:26:00,440 --> 00:26:04,620 And we were, you know, surprised, how could that happen? 252 00:26:04,620 --> 00:26:11,580 And it ended up there are race condition between these three lines of code. 253 00:26:11,580 --> 00:26:20,420 Imagine there are multiple processes running the same thing and checking if POE success. 254 00:26:20,420 --> 00:26:27,560 If yes, submit that POE with the blob input generated by AI. 255 00:26:27,560 --> 00:26:36,940 And that blob path basically stored two instances of the POEs generated by two processes. 256 00:26:36,940 --> 00:26:39,600 One is success, one is fail. 257 00:26:39,600 --> 00:26:44,660 Because of the race condition, we submitted false positive ones. 258 00:26:45,380 --> 00:26:48,980 So that basically killed us 20 hours of time. 259 00:26:52,070 --> 00:26:55,270 Okay, we only have a few minutes left. 260 00:26:55,270 --> 00:27:09,550 I want to, you know, from my perspective of research in this field, I think that a few important things I would hope our cybersecurity researchers to pursue. 261 00:27:09,550 --> 00:27:26,990 Of course, out of this final, I think that more than 50, you know, cybersecurity challenges, I think only 77, wow, it's a big number, but still that 23% not being discovered. 262 00:27:26,990 --> 00:27:29,390 So there is a gap still. 263 00:27:29,390 --> 00:27:38,810 I think one way to improve this gap is to further improve the capability of both frontier and open models. 264 00:27:38,810 --> 00:27:43,930 Number two, developing evaluation and training data sets. 265 00:27:43,930 --> 00:27:52,050 Out of this competition, we have accumulated a huge amount of data, and this data are very valuable for training purposes. 266 00:27:52,650 --> 00:28:00,070 Of course, more advanced agents, you know, if you just stick to one model, you can develop more advanced agents on that. 267 00:28:00,070 --> 00:28:05,270 And also debugging, testing debugging tools for building such systems.