CIFF personnel have been performing cutting-edge research on autonomous cybersecurity for over 25 years. Even with that experience, the DARPA challenges have been key to really accelerating and expanding the scope of our research. Around 2008, we were working on fuzz testing, which involves generating semi-random inputs to a program to find ways it can be vulnerable and crash. For the first DARPA Cyber Grand Challenge, about 10 years ago, we evolved our software fuzz testing technology into a massively parallel cyber reasoning system, or CRS, capable of coordinating the search for vulnerabilities and repair efforts across 500 or more parallel computing nodes. Back then, it was one of the largest scale efforts to automatically find and fix software vulnerabilities. The new AI Cyber Challenge is giving us the opportunity to incorporate recently developed large language models, or LLMs, into our cyber reasoning system, giving it more generalized methods to reason about code flaws and fixes. While large language models do not actually understand the code that we present to them, they have learned from so much existing code, good and bad code, that they can recognize the code and often usefully answer questions like, does this code have vulnerabilities? What inputs would crash this code? We can even ask them, how would you rewrite this code to eliminate the vulnerability? And they will sometimes get it right, but not always. Our new LaCrosse cyber reasoning system uses these answers to help chew its more reliable, robust methods, such as symbolic analysis and fuzz testing, to find real crashing inputs and real software patches that fix flaws. The large language models are wrong sometimes, but LaCrosse double checks their answers and asks again until they get it right. Overall, the DARPA challenges have significantly accelerated our research and pushed us to develop a cyber reasoning system that is scalable to real-world problems and deployable in a realistic cloud computing setting. A cyber reasoning system can find vulnerability by examining a program's source code, its binary executable code, or its actual behavior during execution. We have technologies try to find vulnerabilities in all of these different situations. For the AI cyber challenge, we're fortunate to have the target source code, so our LaCrosse cyber reasoning system can start at the beginning and ask large language models if there are any apparent source code vulnerabilities. LaCrosse can also use compiler checks to directly identify source code weaknesses. LaCrosse can also use fuzz testing to directly explore the behavior of the target software, trying to drive it towards new execution paths that may, with luck, reveal vulnerabilities. A vulnerability can take many different forms in code. Some are fairly obvious, and some are quite subtle. Here's a simple example of a small piece of vulnerable code. First, a character string of size 256 bytes is allocated, and then another string, an argument to the program, is copied into the buffer. Because whoever calls this program controls what goes into that argument vector, they can put in very large strings, longer than 256 bytes. And since the string copy command here does not limit how much data it will copy, the attacker can cause the copied data to get written past the end of the allocated buffer, potentially corrupting other program memory and even allowing the attacker to execute any code they want. So a normal short input to this program will not cause any problems, but a long input can be an effective attack. This is an example of a buffer overflow vulnerability, and it is so common that any code trained large language model will detect it immediately and produce an effective patch. Compilers will also detect and warn that this is bad code. LaCrosse is designed to handle simple examples like this, and also much more complicated software flaws that can span many lines of code across different files and even different programming languages. One challenge in the current AICC contest is that the cyber reasoning system must demonstrate a detailed understanding of each bug it finds by actually finding an input that will trigger the bug and also finding which change to the code introduced the bug. The example we just showed is trivial because any long string will trigger the bug, but other examples, including those given by the contest organizers, can be much more complex. One of the provided example triggering inputs is over a thousand bytes of carefully structured data. Figuring that out is really challenging indeed. Fixing likely software flaws without finding actual proofs is considerably easier. Bug hunting really boils down to capturing all the details of what's going on in a program and trying to figure out ways that things can go wrong. If a fuzzer can't figure it out, the LLMs won't help much on complex problems because they will just hallucinate a solution to the problem that just won't We had a pretty sophisticated cyber reasoning system when we started, but we did have to do a lot of work to adapt it to the running conditions of this competition. But that's an expected challenge, as is the tremendous time crunch to get everything working in time. I think the biggest lesson learned is probably how unreliable the large language models are at performing any sort of task that requires high confidence results. We had already explored a lot of large language model technology, building, training, and fine-tuning models on our own. Here we're using off-the-shelf models, and they hallucinate or confabulate wrong answers all the time. For example, in one of our early tests using the large language models, we had a bug in our code that mistakenly omitted the target code to be analyzed from the prompt given to the large language model. So we essentially asked it to patch an empty code file. The large language model hallucinated the code to analyze, complete with variables and comments suggested in our prompt. On the surface, the large language model response looked reasonable, but it was, of course, totally wrong. That was our fault, and we fixed it, but the large language model never blinked an eye, or gave any indication that our query didn't make any sense. Those kinds of hallucinations can range from whole software modules to tiny components, like a missing macro definition. Detecting some of these subtle hallucinations would require hours of human analysis. Our LaCrosse cyber reasoning system does check every output from a large language model, and try to confirm its correctness using testing and comparison to other model outputs. But even so, mistakes may slip through. Another interesting lesson is that many of the LLM vendors have augmented the base LLM technology of token prediction with their own layers of AI to improve results. For example, some of the models can call to tools such as symbolic analysis and math solvers to try to answer queries that go just beyond language token prediction. We've done several experiments to try to figure out what each of the LLMs are good at, but the technology is moving really quickly, so our results can be outdated in just a few days. That's probably the biggest lesson. Everything is moving incredibly quickly in this space. The intersection of AIs, LLMs, and cybersecurity is exciting, and yes, a little bit scary.