Latest / Jared's Technology Podcast Network / Sans, episode 39: A webinar on vulnerabilities and AI
Transcript
- 0:16Hey folks, welcome to another episode of SANS.
- 0:21I'm Jared Reimer. This time, we're not going
- 0:26to do a SANS News Bytes. At least, not yet. While
- 0:33we did release 38, we've not really had a lot
- 0:37of time to do any new News Bytes, even though
- 0:42several have come in. My 40 is right around the
- 0:48corner, and I really think that that would be
- 0:52better to be read on the 40. Although I could
- 0:57read it on the 20, because there's really no
- 1:01formatting issues. We are running into issues
- 1:08with formatting 40 versus 20 on the... But we
- 1:18are going to get the Bored Podcast out through
- 1:23a day in the life one way or the other. And I
- 1:27think I'm just going to use one file and call
- 1:30it good. But that's not what this podcast is
- 1:33for. What is this Sans News Bytes going to be
- 1:40about? It is going to be about a webcast which
- 1:44I was not able to attend anyhow, which Sans sent
- 1:48an email about. On April 16th, they had a webcast
- 1:54about a very serious issue about AI and vulnerability
- 2:02findings. More specifically, you can go into
- 2:09a program find a vulnerability just as fast as
- 2:19a human can. Apparently, Anthropic released and
- 2:31then pulled back a version of Claude called Mythos.
- 2:41And apparently, this can find vulnerabilities
- 2:46faster than your human counterparts. Was it actually
- 2:58publicly released? I'm not exactly 100 % sure.
- 3:05I don't want to make that claim. But they made
- 3:10it. And people were testing it. So maybe it was
- 3:19meant to be pounded on? And then it was pulled
- 3:27back and not made available to the world as a
- 3:32general release because it was apparently too
- 3:36powerful? Some of the staff that we've read names
- 3:47of, including Ed Skoudis, Chris Elgee, and Joshua
- 3:54Wright, are along in this one -hour webinar talking
- 4:01about this very issue. Why not give this a listen
- 4:15and make sure that you are in the know? Yes,
- 4:26it's not a News Bites, but I think this is bigger
- 4:31than a bite. We will be back when we're able
- 4:38to get a Sands News Bites ready to go. And until
- 4:45then, make it a great day. See you all soon.
- 4:58Stay safe, everybody. and welcome to this very
- 5:42special session that we've prepared for you.
- 5:44Let's please bring up our first slide, if we
- 5:46could. This session is called SANS Critical Advisory,
- 5:52Bug Busters, AI Vulnerability Discovery, Hype
- 5:55vs. Reality. My name is Ed Skoudis. I'm the president
- 5:58of the SANS Technology Institute College. I also
- 6:01am a director for Cyber Ranges for SANS, and
- 6:04we've got some very important information to
- 6:05share with you. If we can move to the next slide,
- 6:08I'd like to introduce my co -presenters. As I
- 6:10mentioned, my name is Ed, but I'm joined today
- 6:12by Chris Elgee, who is a SANS instructor. He
- 6:16also works with me on my team that does penetration
- 6:18testing. We also have Joshua Wright. who is a
- 6:21SANS fellow and the dean of students at our college.
- 6:25He also does penetration testing with me and
- 6:28our team of 16 penetration testers. So we are
- 6:31here to try to separate myth from reality regarding
- 6:34all that's been talked about in the press the
- 6:36last couple of weeks. I'm sure you've all seen
- 6:39that Anthropic has announced a new model, and
- 6:42they've released it in a very... a garden place
- 6:45where certain companies that are their partners
- 6:47can get access to it. They call it Mythos. And
- 6:50of course, you all know this. But they announced
- 6:53about a dozen companies that were named partners
- 6:55to use Mythos up front in a initiative that they
- 6:59call Project Glasswing. They also announced that
- 7:01there's over 40 other companies that have access
- 7:05to Mythos to use it to try to understand its
- 7:08capabilities and what you can use it for. So
- 7:10why is this getting so much attention? According
- 7:13to Anthropic, this is a step function change
- 7:16in the capability for advanced AI models to be
- 7:19able to find and automatically exploit vulnerabilities.
- 7:23So this has caused quite a hubbub in the industry.
- 7:26In fact, last week, Treasury Secretary Scott
- 7:29Besant and Federal Reserve Chair... Jerome Powell
- 7:32called an emergency meeting of all the major
- 7:34US banks to talk with them about how they're
- 7:37planning to deal with this kind of capability,
- 7:39not just in Anthropix release, but in other AI
- 7:43companies releases. Also, just this week, over
- 7:46450 CISOs had a call a couple of days ago to
- 7:50discuss how they were working through this. Also,
- 7:53the UK government had an open letter yesterday
- 7:55talking about. the need for banks in the UK to
- 7:58be able to deal with this new capability that
- 8:00we're seeing. And the Bank of England sent a
- 8:03response to that, warning other banks. And the
- 8:05European Central Bank supervisors are planning
- 8:08on issuing some advice and consult, and also
- 8:12some questions for bankers in European Central
- 8:15Banks about this thing. Now, if you read about
- 8:17this online, you'll see that some people are
- 8:19saying this is a huge deal. This is the vuln
- 8:22apocalypse. Oh, my goodness. This is terrible.
- 8:25Others are saying this is marketing hype. maybe
- 8:27by Anthropic itself, or maybe many of the large
- 8:30AI providers. In fact, if you look just yesterday,
- 8:35OpenAI responded by releasing a new version of
- 8:38their GPT model 5 .4, but one that's focused
- 8:41on cybersecurity. It's brand new, it was just
- 8:44announced yesterday, but people believe that
- 8:47they're going to lower some of the guardrails
- 8:48so that that thing can do more deep analysis
- 8:51of finding security flaws so cyber defenders
- 8:54can defend against it. And then there's been
- 8:56other rumors that other AI vendors are going
- 8:59to release similar capabilities soon. So we've
- 9:02got Anthropic with its Mythos release that's
- 9:04in the hands of about 40 different companies.
- 9:07I've had three different friends of mine who
- 9:09have Mythos access reach out to me in just the
- 9:12last few days talking about how you can use it,
- 9:15how they're finding certain things with it, and
- 9:18also they need some advice and counsel on how
- 9:21to use it. So it's been very much a dynamic changing
- 9:23situation here. The purpose of this webcast is
- 9:27to cut through the clutter by showing you what's
- 9:29possible now with existing models, and then discuss
- 9:33the implications for the industry. So I'm going
- 9:34to set the stage here, and then you're going
- 9:37to see actual hands -on video that Chris Elgy
- 9:41and my team have created over the last day to
- 9:44show you from vulnerability discovery. all the
- 9:47way through exploit creation and then launch
- 9:50of the exploit at the target. So you can get
- 9:52the reality of what's possible with current models,
- 9:55which you're going to see is not mythos. It's
- 9:57what current models can do. Then Josh Wright
- 9:59is going to present to us and talk about what
- 10:02this means for the industry, what we all need
- 10:04to be aware of, and what our organizations need
- 10:06to do to continue to thrive and keep our systems
- 10:10secure in an age where mythos and other related
- 10:13AI models are available. So let's go to the next
- 10:16slide, please. So my team has been doing source
- 10:22assisted penetration testing for 15 years. And
- 10:24if you're not familiar with what that is, that
- 10:26is where we'll have somebody who's having us
- 10:27do a pen test, give us the source code in advance
- 10:30and also give us access to the target environment.
- 10:33In source assisted pen testing, you don't really
- 10:35look at the source code up front. Instead, you
- 10:37do a traditional penetration test where you're
- 10:39trying to find vulnerabilities and you may find
- 10:41some sort of weird. situation inside the application
- 10:45or the system. And then you go and you look at
- 10:48the source code to try to determine where that
- 10:50weirdness is coming from. And you look at the
- 10:52source code and get an idea of whether this thing
- 10:54is really exploitable or not. You then go back
- 10:56to the traditional pen test and try to figure
- 10:58out an exploit for it. The benefit of doing source
- 11:00-assisted pen testing has been that when you
- 11:03find the vulnerability, you can more rapidly
- 11:05determine if it's really a significant vulnerability.
- 11:08You can more easily exploit it. And then you
- 11:11can tell whoever's getting the pen test exactly
- 11:13the module and maybe the line of code where the
- 11:15vulnerability is. That's a status quo. We've
- 11:18been doing it 15 years or more. But for the past
- 11:2015 months, my team has been doing AI enabled
- 11:24source assisted pen testing. And this is a very
- 11:26different workflow from traditional source assisted
- 11:29pen testing. With AI enabled source assisted
- 11:31pen testing, you start with the source code and
- 11:34you have an AI tool go through that source code.
- 11:37as an agent that you intelligently interact with
- 11:39to find potential flaws. You then need to help
- 11:43weed out hallucinations, false positives, et
- 11:46cetera, so you can figure out what the real flaws
- 11:48are. You then have the AI find those flaws, create
- 11:52potential exploits for them, and then you launch
- 11:55them at the target system and refine them to
- 11:57see if you get actual exploitation of the system.
- 12:00It's a very different workflow, and it's super
- 12:03efficient. In using this workflow for the last
- 12:0515 months, we've uncovered some major findings,
- 12:08things that we have pen tested year after year
- 12:11after year, or other humans have pen tested.
- 12:13And these are brand new findings. Like sometimes
- 12:16my team will do a pen test that we did the year
- 12:18before or the year before or the year before.
- 12:20And we had a really great human pen tester or
- 12:22multiple work on it. But then on day one of the
- 12:24pen test, we find five critical findings using
- 12:27AI -enabled source -assisted pen testing. Because
- 12:30what this methodology can find is subtle flaws
- 12:33in obscure workflows. I'm talking like a workflow
- 12:36that doesn't make any sense. That said, if you
- 12:38click on the certain buttons or move the system
- 12:40in a certain way or execute certain commands,
- 12:42you can get the system into an unusual state
- 12:44that a normal workflow wouldn't touch. But then
- 12:47within that, there is an exploit or vulnerability
- 12:49path that you can then use. And we're seeing
- 12:52things like authentication bypass here, authorization
- 12:55flaws. BOLA vulnerabilities, broken object level
- 12:59access, IDOR flaws, insecure direct object reference,
- 13:03cross -tenant access, race conditions, all of
- 13:05these different things. So my team's been doing
- 13:07this for 14 months. And now we're seeing the
- 13:10acceleration of the capabilities of the models.
- 13:12And that's what's gotten the big hubbub is all
- 13:15these models getting so much better. And we do
- 13:17believe this will change our industry. It's not
- 13:19the end of the world, but it is a significant
- 13:21sea change. So Chris Elgy is going to demonstrate
- 13:24to you the discovery process, the exploit process
- 13:27using current models. And then Josh Wright is
- 13:30going to talk about what this means for the industry
- 13:31and what we all need to start doing. So let me
- 13:34turn it over to Chris Elgy. Chris, please take
- 13:35it away. Thanks, Ed. Yeah, so let's look. through
- 13:39exactly what Ed just described, right? This is
- 13:41code -first pen testing with current models.
- 13:44And I think we'd be remiss if we didn't first
- 13:46talk about legal concerns. It's easy to do the
- 13:48wrong thing here, right? It's easy to be on an
- 13:50engagement and take all of somebody else's source
- 13:52code and shove it up into a model you don't control
- 13:54and violate some terms of service here or are
- 13:58NDAs of the clients. So the first thing we want
- 14:01to make sure is that we have permission to share
- 14:02these with models. And if not, maybe it's something
- 14:04we can test locally, right? We don't get as much
- 14:06mileage out of local models. even with strong
- 14:09hardware, but that's still generally the same
- 14:11kind of flow. And throughout this whole section
- 14:14here, picture whatever the underlying model,
- 14:17it could be anything, right? It could be Gemini,
- 14:19Codex. It's not super important because it's
- 14:21the workflow we're really trying to focus on
- 14:23here. And one of the things that is a limitation
- 14:26in all models is context window. There's only
- 14:28so much... space that the model can use to think,
- 14:32if I can use the term think, right? Not really
- 14:34thinking, but there's only so much that can be
- 14:35processed at once. And that includes the system
- 14:38prompt. It includes the code you're feeding it,
- 14:40the prompts you're giving it. It also includes...
- 14:43all the output tokens. So there's a context window
- 14:46measured in tokens because I guess anything to
- 14:49avoid the metric system. And we have to manage
- 14:51that throughout the process. So a lot of what
- 14:52we'll go through in the next few slides is just
- 14:55managing context window and trying to keep it
- 14:56focused on what we actually need. Sorry, I got
- 14:59excited. I keep hitting my microphone. The next
- 15:01one is that kind of a truism here where... Most
- 15:05of the vulnerabilities happen usually in a small
- 15:07proportion of the code. We're generally less
- 15:09interested in things like cascading style sheets.
- 15:11We're more interested in authorization flows
- 15:13or in coupon redemption processes or OAuth. Those
- 15:18are the kind of things where the bones tend to
- 15:20live. And we'll have the model focus in on exactly
- 15:23what we're looking at. The next one, if you've
- 15:26used LLMs at all, you know they make mistakes.
- 15:29They have issues. They hallucinate. They tell
- 15:31you how smart you are and what a great idea you've
- 15:33come up with. And that bleeds into this significantly,
- 15:36right? We can have it ask for volumes, and it'll
- 15:38come back and say, yes, here's an easily exploitable
- 15:41critical vulnerability that just doesn't exist.
- 15:43So we'll use our prompting to guide that in and
- 15:47then use subsequent prompts to validate and prove
- 15:50things out to make sure that we're getting actual
- 15:52results. And then, of course, we'll exploit it
- 15:54ourselves. ourselves to validate, because that's
- 15:56what pen testing is, right? We're not just running
- 15:58a vuln scanner and telling them that the sky
- 16:00is falling. We're actually going to prove things
- 16:02out through exploitation. But the upside is here,
- 16:05models are really good at some things. For example,
- 16:07creating tools. If you are trying to rip through
- 16:10some code and you just needed to look for certain
- 16:12things like... LLM is there for you. If you need
- 16:15to build out a proof of concept, or one thing
- 16:17we'll do here in the demo is build out a test
- 16:19harness. We'll take a slice of the code that
- 16:21we're going to be looking at and just rebuild
- 16:24that as a local application we can test against.
- 16:26That's something the LLMs are great at building
- 16:28on the fly. Another thing they're great at is
- 16:31searching for patterns, looking for things like
- 16:34specific authorization flows. And, oh, here's
- 16:37a place where we're filtering input a certain
- 16:39way and it's flawed. Where else do we filter
- 16:41input in that same manner? Where else can we
- 16:43find this pattern? So we'll use the LLMs to do
- 16:46that. Also, following code, right? Code can be
- 16:49a mess. We're going to look here at a code platform
- 16:52that's about half a gig of code and well over
- 16:54a million lines of code. And humans can follow
- 16:58those code trails, but it takes us a long time.
- 17:01We have to pick through, and LMs are good at
- 17:03following that, finding all the dependencies
- 17:04and child functions and everything. And lastly,
- 17:07iterating. We humans get bored. right we we get
- 17:12sick of looking back at that same block of code
- 17:13again we don't want to test it one more time
- 17:15but the llm doesn't mind it'll iterate through
- 17:17as many times as you want and and that's great
- 17:19we'll leverage it to do that hey chris can i
- 17:21add something in real quick so hey we'd love
- 17:24to hear from you some people are already typing
- 17:26into the chat now if you have specific questions
- 17:28we've set aside time at the end for q a so type
- 17:31those questions in there we have the sans team
- 17:33pulling out those questions and they're sending
- 17:35to us and we'll do a whole q a with me asking
- 17:37questions of of chris and josh at the end Also,
- 17:40I want to point out that we wrote a brand new
- 17:42course. It's a two -day course at SANS that covers
- 17:45the methodology Chris is going to introduce next.
- 17:47So what you're about to see is actually directly
- 17:49from the course, although this is a separate
- 17:52example from what's in the course materials.
- 17:54So Chris, back to you. Yeah, thanks, Ed. And
- 17:57I think it's... It's important to note that the
- 18:00hype right now is about a specific model, but
- 18:02this workflow applies to whichever model you're
- 18:04using. You might be able to, with a local LLM,
- 18:08rip through 500 lines of code of something you
- 18:10wrote and have no problems. And then maybe with
- 18:13a current Opus or Gemini or whatever, you can
- 18:15get through 100 ,000 lines. But either way, when
- 18:19you get to sufficient size, the... the technique
- 18:22matters. At any size, the technique matters.
- 18:23So these are the steps we'll walk through. The
- 18:25first is to map the repository or the code repo.
- 18:28We want to generate basically a summary, a table
- 18:31of contents of what the code looks like. And
- 18:34this is a model that the LLM will use throughout
- 18:37just to reference where things are and where
- 18:40it can find specific functions in code. Next
- 18:43is to find that 20%, right? It's a relatively
- 18:45small proportion of code that has most of the
- 18:47vault. So we want to zoom in on those. And we'll
- 18:49do this here in the upcoming slides. And then
- 18:51as we progress, we're going to keep narrowing
- 18:53and narrowing the context because, again, the
- 18:55model, whichever model, they can only process
- 18:57so much data at once. There's only so much code
- 18:59that can be run through at a given time. Once
- 19:02we're there and we think we're maybe getting
- 19:04close to something that's significant, then we
- 19:07have it. We work with it to find vulnerabilities.
- 19:10And really, again, with this constrained context
- 19:14here, hopefully we're finding things that are
- 19:15real and not just hallucinated. At this point,
- 19:18when we've got a good candidate vulnerability,
- 19:20that's when we can create the test harness. That's
- 19:22when we can take pieces of the code and run it
- 19:24locally and test it quickly and many hundreds
- 19:27of times over. If it's a small code base, maybe
- 19:29you run the whole thing. But in our example here,
- 19:31We're working with a large code base, so we do
- 19:33want that test harness. And then here, exploit
- 19:36dev, right? The test harness is up, so we can
- 19:38let it rip through and create a thing. And then
- 19:41lastly, every pen tester's favorite part of the
- 19:43engagement, of course, is writing the report.
- 19:45It won't do it all for you. I mean, it'll spit
- 19:47something out for sure. We still want to massage
- 19:50it a bit ourselves, but it gets you at least
- 19:5280 % of the way there. And really, that's the
- 19:54truth with all of this. It is artificial intelligence.
- 19:56You do have to bring your actual intelligence
- 19:58to the game here. That's part of the show. So
- 20:02the code base we're looking at here is something
- 20:04called Data Ease. And suffice it to say, it's
- 20:07large. Like I said, about half a gig, 1 .7 million
- 20:09lines. And there's a language issue here, right?
- 20:13Looking at this, I know I'm going to have trouble
- 20:14because, forgive my cursor here, Java. Ew, right?
- 20:18I move Java in view. So there's that. Also, Japanese.
- 20:22I don't speak Japanese. I wish I did. That's
- 20:25going to be a problem for me, but not for the
- 20:26LLM. So a great code base to work with here.
- 20:29And I think it's worth pointing out, too, that
- 20:32we've got folks on our teams like Chris Davis
- 20:34and Evan Booth that have really done a lot to
- 20:37develop these methods. And I know other people
- 20:38in parallel have developed similar methods, but
- 20:40I do want to give them a specific shout out.
- 20:42And Evan wrote through data ease for us here.
- 20:44So let's walk through what we found. Chris LG,
- 20:47so can you, what is data ease? What does it do?
- 20:51This is a real thing that we found online? Yeah,
- 20:54no, that's a great question. Yeah. So this is
- 20:55basically a CMS, a content management system.
- 20:59And it had, oh, this is very important to mention.
- 21:01Thanks. You reminded me. The bugs we're going
- 21:04to walk through here were found about a year
- 21:06ago and disclosed and patched. In the course
- 21:09of testing this. Evan found some unpatched bugs,
- 21:11reported them responsibly. But we're not dropping
- 21:14ODE on anybody here. These are bugs that already
- 21:16exist and have been patched. Thank you, Josh.
- 21:21So here we are. And we'll just roll through.
- 21:25We're not doing this live because LLMs are non
- 21:27-deterministic by nature. So we didn't want any
- 21:29surprises today. So this is all pre -done. And
- 21:32the first step here is just asking the system.
- 21:35to focus on what we're looking at. Hey, we're
- 21:37looking at this version of Data East. Please
- 21:38confirm. And that's it. And it comes back with
- 21:41a reasonable response. Yes, this is the code
- 21:44I'm looking at. So now we know we're about ready
- 21:46to go. So then we begin the mapping. And here,
- 21:51this one runs longer, so I'm going to skip through
- 21:52it because we don't want to wait five minutes
- 21:54for it. But here we're saying, great. go through
- 21:56the repository go through the repo and look for
- 21:58everything write a map of everything so that
- 22:01so that you the lom can reference where things
- 22:03are so that as we start to focus in on potentially
- 22:05vulnerable areas you the lom know where they
- 22:08are so it churns and churns and churns and then
- 22:13toward the end here we get a couple of key output
- 22:15files you see those on the right one is a repository
- 22:18map and that's basically a flat text file that
- 22:21it can reference you can reference and then also
- 22:24we get here some attack surface notes. So you
- 22:26might notice as you try this, the system may
- 22:28try to get ahead of you. And one of the things
- 22:30we manage, and to Ed's note about 543, one of
- 22:33the things we try to manage in that class specifically
- 22:35is keeping the system from getting ahead of us.
- 22:38It's very helpful. It really wants to lean forward
- 22:43and find you the vulnerabilities before it's
- 22:44really gotten a narrow enough context to do a
- 22:46great job at that. So anyway, we have these two
- 22:48outputs here, the repo map, attack surface notes,
- 22:50and those notes look... like this. So standard
- 22:54markdown. It's fairly human readable. This isn't
- 22:57XML, right? We can more or less read this. But
- 22:59more importantly, the LLM can reference it as
- 23:01well. All right, so then now that we've got this
- 23:06all mapped out and we've got some ideas here,
- 23:07we've got different functions. It's already identified
- 23:10different workflows. We might want to zoom in
- 23:12on. We can say, all right, give me a short list.
- 23:15You now see all these functions. I don't want
- 23:18to do exploit development yet, but just find
- 23:20some things that are worth. paying more attention
- 23:23to. And again, with a smaller repo, you could
- 23:25probably do this in fewer prompts, but this is
- 23:28significant, right? 1 .7 million lines. So we
- 23:31need to do some culling here and some zooming
- 23:33in. Again, we'll skip ahead a bit. And Chris,
- 23:35can I add one point to this? While Chris mentioned
- 23:38that this is a vulnerability that was disclosed
- 23:39a year ago and patched, when we built this demo
- 23:42that Chris is doing for you, we made sure that
- 23:44the system had no information about that vulnerability.
- 23:47It is discovering it uniquely here in this session
- 23:50run. But at the same time, we didn't want to
- 23:52drop a zero day on somebody's head here and be
- 23:54irresponsible in this session. So that's why
- 23:56we purposely re -found a vulnerability that had
- 23:59already been found and already been patched so
- 24:01we could demonstrate that to you. But as Chris
- 24:03pointed out, it found a bunch of other vulnerabilities,
- 24:04too. But that is an exercise to the reader. We're
- 24:09the good hackers. We're the nice hackers, right?
- 24:11Try to be. Hopefully. All right. So what we get
- 24:14out of this here is another markdown file, candidate
- 24:16matrix. And this is like this. So more markdown.
- 24:21giving some potential areas to focus on. So you
- 24:26can see it marks some as primary candidates.
- 24:27It has some held, some that are maybe less likely
- 24:30to be fruitful for us. Note that with this step
- 24:33and with all the steps, your mileage will vary.
- 24:35You can use the same model, the same code, the
- 24:37same prompt and get a different response, but
- 24:39you can see where we're going, right? You can
- 24:40see where we're narrowing in on things that we
- 24:42can test and getting closer and closer with each
- 24:44prompt, focusing that context window. So here
- 24:49with that candidate matrix now, we can say, all
- 24:53right, I want to pick this particular save validate
- 24:55path. And why that one? I don't know. It looked
- 24:57good. I thought there might be something there.
- 24:59Or maybe the LLM recommended it as most likely.
- 25:02But it seems like a good thing to test. And what's
- 25:05great about this is it's really helping us save
- 25:08time. This is stuff that we could, given enough
- 25:10time, find without the model itself. but we get
- 25:14bored and we move on, right? We're always limited
- 25:16as pen testers by the amount of time we have
- 25:18to spend. So this is just helping us go a lot
- 25:19quicker. So we'll start with this function and
- 25:21we'll let it run through, again, skipping some
- 25:23of the sausage making there. And it's gone through
- 25:27this function and now it has a good understanding
- 25:28of how the save validate process works in the
- 25:31code and comes back with focus context. So with
- 25:36each of these, I'm not bringing the full context
- 25:38forward, right? I'm not bringing all the code
- 25:41I looked at at first to make the map and then
- 25:42the full map and all those things. Each time
- 25:45I'm bringing it in tighter so that now as I go
- 25:47forward, I can begin with this focus context.
- 25:49And it tells it, you can see here on the screen,
- 25:50hey, here's a function and here are some dependencies
- 25:52that it requires that feed into this. And here's
- 25:55where it goes from there next in data processing.
- 25:58And again, just zooming in tighter and tighter
- 25:59on what we're hoping to find for vulnerabilities.
- 26:05So there on the right now, we see we have that
- 26:07focus context. That's our input. So great. LLM,
- 26:11I want you to go ahead and read the code there
- 26:13and just see what you see, right? So we've got
- 26:16a nice focus window here. Maybe we find something,
- 26:18maybe we don't. Spoiler, we do. But again, something
- 26:21that's already been patched. So it goes through
- 26:24and just looks at all these paths and just does
- 26:27a lot of the hard work that we either don't have
- 26:29time for or maybe don't have patience for. maybe
- 26:32it's java and i just i just don't want to right
- 26:34but it's going to go and do all the analysis
- 26:36and then uh what it comes back with now are some
- 26:39some good notes so on the right hand side you
- 26:41see it's a verification notes here's some stuff
- 26:43that looks bad and here's why um here's how it
- 26:46might get patched here's here's a thing that
- 26:48might be a finding and we're not really at the
- 26:50end yet we're not reporting but we're getting
- 26:51closer to it You know, Chris, there's one thing
- 26:53I really like about this, just the layout of
- 26:55the screen. You see everything that the agent's
- 26:57doing on the left -hand side. The artifacts appear
- 26:59dynamically. I don't know if people saw that.
- 27:01They just kind of pop up as it creates them so
- 27:03that then we can inspect them. But also it's
- 27:05a little more subtle. On the top of the screen,
- 27:07you can see the different tabs here. That is
- 27:10the actual methodology from this new SANS course,
- 27:13SEC 543. So right now we're in zero to vulnerability.
- 27:16Next is going to be component isolation and so
- 27:18forth. So you could see the methodology right
- 27:20there in the tabs. Absolutely. So with this now,
- 27:26we'll look at one of those markdown files and
- 27:28here's verification notes. So it's starting to
- 27:30describe not just the function itself, but really
- 27:32what pieces of code are going to be an issue
- 27:36and what the technical analysis of what the flaw
- 27:39is itself. So we're really getting close at this
- 27:42point, but just step by step, zooming in deeper
- 27:45and deeper. So with those notes as an input,
- 27:49then we say, all right, I'd like to start hammering
- 27:52this. I want to try to prove out a vulnerability.
- 27:54So go ahead and create a test harness. So take
- 27:56that code, that 1 .7 million lines, and pull
- 27:58just the pieces you need. Build me some tool
- 28:01that will allow me to simulate this vulnerable
- 28:03process. And then we can build our exploit. So
- 28:06it goes and builds. And again, something a human
- 28:09could do. I could not do this in one minute.
- 28:12There's just no realistic way. So it does for
- 28:15us. And here's just a snippet of the top of the
- 28:17code there. Built it in Python, not Java, okay?
- 28:20And gives us something we can work with. It'll
- 28:22run a local host on a high port. That's great.
- 28:24So this then I can test or I can ask the machine
- 28:28to test for us. So now with that up and running,
- 28:32I ask the LLM to go and do it, right? Exploit
- 28:37this thing. that we both have come to the conclusion
- 28:40may be vulnerable and off it goes. So notice
- 28:44too that part of the problem there, don't over
- 28:45-claim. I want you to prove this thing out. Don't
- 28:47just say it's critical, it's bad. I want you
- 28:49to specifically show that it works. And it may
- 28:51still hallucinate. That's always a risk here
- 28:53with these systems. And that's why we, of course,
- 28:55bring the human actual intelligence here along
- 28:57with the AI. So it runs through and then, great,
- 29:02it's coming here with some JSON output. So it's
- 29:05bringing to the table here what it's saying is
- 29:06proof of an actual vulnerability, that it has
- 29:09exploited it. And great, that's what I want.
- 29:13So what we've got next is... Show me, right?
- 29:18It's show me time. Let's see what this actually
- 29:19looks like. So here on the right, we have our
- 29:22test harness. This is a mock -up of the critical
- 29:25portion of data ease. And on the left, we're
- 29:27going to be ready to run our test exploit. So
- 29:30on the right -hand side, first what we do is
- 29:33we try to go to a page that doesn't exist. So
- 29:36this is basically a 404 error. This page does
- 29:38not exist. The SEC 543 RCE. So we get an error
- 29:42page. On the left now, we run the exploit and
- 29:45we write to the database, or we write to the
- 29:47web root. This shouldn't be possible. We shouldn't,
- 29:49as an unauthenticated user, be able to do this.
- 29:51But we run the exploit, go back to the web browser,
- 29:54reload, and here we are. We've just written this
- 29:56here. And for those who might miss the subtlety
- 30:00here, we've popped calc, if you will. This is
- 30:02kind of a classic proof of an exploit. In a Windows
- 30:05system, you make the calculator pop up, and we've
- 30:07done that here. So again, a nod to the creativity
- 30:10of our own Evan Booth. So great, that's it. I'm
- 30:15done, right? Almost, right? I've still got to
- 30:17write the report. So at this point, I asked the
- 30:20system to do that. And when we do this, when
- 30:23we do pen testing, we have a format that we like
- 30:26to write in. And it's not in Markdown, it's in
- 30:27ASCII Doctor. And we like to structure the information
- 30:30in a specific way. So that could be another input
- 30:32of here's a sample finding, here's a structure
- 30:34of what we want. But it takes that plus the vulnerability
- 30:37it's built and all the information it has about
- 30:39this particular issue and then writes something
- 30:42for us. I always need some human massaging here,
- 30:45but here it is. So rendered from Markdown, we
- 30:48can see it's got an executive summary. It's got
- 30:50CVSS score of 9 .6. Maybe that's legit. Maybe
- 30:53it's crazy. But I mean, if I can write to the
- 30:55web route without authentication, that's probably
- 30:57an okay score. And then on it goes. So that is
- 31:01end -to -end, starting with source code and ending
- 31:03with a validated volume and report. Very good.
- 31:09Thank you, Chris. We appreciate that. Questions
- 31:11are coming in. They're great. You know, one of
- 31:13the questions is, you know, are you finding zero
- 31:15days with this? And the answer is yes. These
- 31:17are brand new vulnerabilities that no one's seen
- 31:19before in the code bases that we're analyzing.
- 31:21But while they are zero days in that they were
- 31:24unknown before and there's no patch yet available,
- 31:26although the LLM can help with a patch. These
- 31:30are not brand new classes of vulnerabilities.
- 31:33You know, I had listed earlier IDOR, BOLA, race
- 31:35conditions, et cetera. You know, somebody said,
- 31:38how many new found vulnerabilities are novel
- 31:40zero days? Well, there's zero days in that there's,
- 31:42they've never even seen before, but they are
- 31:44in a class of vulnerabilities that are well -known
- 31:47and well -understood. And the LLM understands
- 31:49that as well and can speak to us about those
- 31:51kinds of things. So it was a great question.
- 31:52I wanted to kind of address that right now up
- 31:54front. There's also some questions people are
- 31:56asking commonly about. what model was used for
- 32:00this um the point is there's several models and
- 32:02i talk with my friends who have access to Mythos
- 32:04about other models and how they're comparing
- 32:06that to, say, Claude Opus. By the way, I heard
- 32:09from Josh this morning that Claude just dropped
- 32:11a new Opus model yesterday or today, 5 .7, I
- 32:14think it is. Yeah, whatever. I can't even keep
- 32:17track of it, 4 .7. But the models that you're
- 32:20seeing and that LG just demonstrated are current
- 32:22existing models. Our team is using Gemini a lot.
- 32:26We're using Codex a lot. We're using Opus a lot.
- 32:29Chris, did you care to share what the model was
- 32:31that you were just relying on? on there? Yeah.
- 32:34So this was primarily GPT -5 -4, although Evan
- 32:39had to use some Opus 4 -6 as well to do some
- 32:42of the validation because you run into issues,
- 32:43right? The non -determinism, maybe it refuses
- 32:45to do a task for you at a certain time. So a
- 32:48couple of different models went into this. Yeah.
- 32:49And any workflow that you create that uses AI,
- 32:53this is a principle I've been talking with a
- 32:54lot of people about, needs to have the ability
- 32:56to seamlessly change out the underlying model
- 32:59because models... sometimes go crazy they get
- 33:02stupid that you run out of tokens because you
- 33:05spent more than you expected like uber did it
- 33:07was announced the other day they spent their
- 33:08entire yearly allocation in tokens by april um
- 33:12so so you need to have the ability to dynamically
- 33:15change the underlying model uh or else you might
- 33:18get yourself into a you know a blocking situation
- 33:22okay so so chris thank you for demonstrating
- 33:24that to us very interesting really great workflow
- 33:28notice how different it is from traditional pen
- 33:29testing But what does this mean for the industry?
- 33:32We want to cut through the hype and focus on
- 33:34what do we need to know as security practitioners,
- 33:37as security leaders, about where this is headed,
- 33:40what comes next, and what do we need to do? And
- 33:42I can think of nobody better to share that with
- 33:44us than Joshua Wright. Thank you, Ed. Thank you,
- 33:48Chris, for going through all that. Thanks, everybody,
- 33:49for joining us here today. So I want to tell
- 33:52you a story about my Monday morning. Monday morning,
- 33:56I'm reading the Anthropic report for the Mythos
- 33:59preview that's linked here, and I came across
- 34:02this couple of sentences here where Anthropic
- 34:07is saying that the last 20 years in cybersecurity
- 34:10have been relatively stable from a security perspective,
- 34:14but that large language models are going to identify
- 34:18and exploit vulnerabilities, and that's going
- 34:21to seriously upend this. tenuous equilibrium.
- 34:25And I'm thinking about this and I'm thinking,
- 34:28whose version of relatively stable are we talking
- 34:33about? And I'm thinking about supply chain vulnerabilities,
- 34:37I'm thinking about zero days, I'm thinking about
- 34:38all the attacks that were constantly firefighting.
- 34:41Ed calls me up and I'm talking to Ed and I say,
- 34:46can you believe that they said this? And he's
- 34:49like, yeah, I think it's completely accurate.
- 34:51And I'm like, what? Ed was a little bit farther
- 34:55ahead of me on this topic. I hadn't quite processed
- 34:58it yet. But Ed was really right. And although
- 35:03it seems like things are on fire a lot and we're
- 35:07constantly trying to deal with vulnerabilities
- 35:10and deal with patching and things like that,
- 35:14you know, I think that if we reflect back and
- 35:18look back, things have been relatively stable
- 35:20from a cybersecurity perspective. for a good
- 35:23many years. I've been in cybersecurity long enough
- 35:26to remember before Microsoft Patch Tuesday and
- 35:31how things used to be distributed all over the
- 35:36place instead of maybe three zero days a week
- 35:40that we're dealing with. Although we have a lot
- 35:44of problems in cybersecurity in our industry,
- 35:46I think that we have been in a period of relative
- 35:50stability. And I think that when we look back
- 35:55maybe three, five, ten years from now, we'll
- 36:00look back and think, wasn't that nice? Wasn't
- 36:03the first half of the 2020s, wasn't 2025 nice?
- 36:08Things seemed like it was so much simpler back
- 36:10then. And I think here's the important thing
- 36:13that we need to take away. AI is going to be
- 36:17asymmetrically advantageous to attackers. I don't
- 36:23mean that there's no opportunity for defenders
- 36:25to use AI better, because I think that's true.
- 36:28But I think right now, the advantage is really
- 36:31in the attacker's court. And I think Anthropic
- 36:35coming out, people are saying, you know, is this
- 36:37a PR stunt? Is it really groundbreaking? My answer
- 36:41is, can't it be both? Can't it be all of those
- 36:45things? I think that we are looking at a time
- 36:48when we are dramatically shifting. how we're
- 36:51going to have to deal with vulnerabilities and
- 36:53how we're going to have to deal with addressing
- 36:55not three new O days a week, but hundreds of
- 37:00O days per week or possibly even many more than
- 37:03that. And I think that the next several years
- 37:07are going to be a very difficult time for the
- 37:10cybersecurity industry and for a lot of us. Chris,
- 37:13we can move on to the next slide here. So what
- 37:18do we do about this? Chris showed us a great
- 37:21demonstration about how at CounterHack we've
- 37:24been using AI models to identify vulnerabilities
- 37:27with source -assisted pen testing. And I think
- 37:30we're starting to see attackers use this as well,
- 37:33not just in identifying vulnerabilities, but
- 37:36in weaponizing a lot of these vulnerabilities.
- 37:38And if you look at some of the more recent supply
- 37:40chain attacks and you see the kind of processes
- 37:43and the kind of techniques and you look at the
- 37:46timing that adversaries are using, I think that...
- 37:49It is pointing to the idea that attackers are
- 37:53using AI more and more for adversarial attacks,
- 37:56not just finding vulnerabilities, but coordinating
- 37:58distribution, creating frameworks to deliver
- 38:01that, creating believable environments to duke
- 38:03people into doing things that might not have
- 38:05done without a really rich environment making
- 38:08them think that everything is just normal. And
- 38:11I think we need to take action against this.
- 38:15did some brainstorming here and I came up with
- 38:18a couple of recommendations here. I think we
- 38:21need to very carefully look at every step of
- 38:24patching. We kind of treat patching as we need
- 38:27to do better at patching. Okay. I think we need
- 38:30to not only do better at patching, we need to
- 38:33do much better at patching and not just at any
- 38:36single part of the patching process, at the creation
- 38:39of patches. The distribution of patches, the
- 38:42acquisition of patches, testing patches, deploying
- 38:45patches, validating patches as well. We need
- 38:48to do better in all parts of our ecosystem. Some
- 38:51things we do patching really well on Chrome browsers.
- 38:55They do really good at patching things. We have
- 38:57Microsoft Office auto update. That does a pretty
- 39:00good job. But there's a whole slew of other areas
- 39:04where patching is very difficult, like. Mac systems
- 39:07needing to access a read -only portion of the
- 39:10operating system to be able to change a critical
- 39:12file to address a vulnerability. That kind of
- 39:15outage mechanism is hard to automate. And I think
- 39:19this is not just an enterprise problem. This
- 39:21is a vendor problem too. I think in all parts
- 39:25of our industry, Apple, Microsoft, every vendor,
- 39:28cloud vendors, everybody needs to do much better
- 39:31at patching and very critically look at all the
- 39:33steps to figure out how we can accelerate. patching
- 39:36to stay in front of a lot of these vulnerabilities.
- 39:39I think as part of that, we need to really reconsider
- 39:42our business risk calculations. A lot of my customers
- 39:46that I talk to look at vulnerabilities that we
- 39:48report and they might say, I've got a lot of
- 39:51vulnerabilities to deal with. This one doesn't
- 39:53rise up to something I need to take action on
- 39:55right now until it does. We need to do much better
- 40:00at understanding what the risk is to businesses
- 40:02and what is going to be acceptable from a downtime
- 40:05perspective. Maybe we have critical systems that
- 40:07we have to think we can't operate in a post -mythos
- 40:12type of vulnerability discovery world when we
- 40:15have so many O days hitting us all the time where
- 40:18we're trying to schedule a two -hour outage window
- 40:21to be able to reboot systems. to apply some patches.
- 40:24We have to really carefully reconsider that.
- 40:27And that's at the CISO level on down. Winston
- 40:30Churchill, one of my favorite quotes is, never
- 40:32let a good crisis go to waste. This is an opportunity.
- 40:36We can look at mythos. We can look at these problems.
- 40:38We can say, this is scary. Yes. I think the wise
- 40:43among us will also look at this and say, this
- 40:46is an opportunity. It's an opportunity for everybody
- 40:49on this webcast right now to be able to say,
- 40:53how do I counsel my manager, my manager's manager,
- 40:57the CISO level? How do we get in front of this?
- 41:00How do we understand? How do we translate these
- 41:02kinds of practical risks into what's appropriate
- 41:05for your organization? Understanding your business
- 41:08is something that you will always do better than
- 41:10I will as a consultant every day. So how do you
- 41:14use your insight knowledge to be able to promote
- 41:16your position as an industry expert to help your
- 41:19organization understand what they need to do
- 41:22to stay in front of this? Don't let this as an
- 41:24opportunity go to waste. Get in front. Establish
- 41:27yourself as a subject matter expert. Do the legwork.
- 41:30Do the research. Make sure you're speaking from
- 41:31confidence and with supporting information. But
- 41:34use your own insight to get in front of executives
- 41:37and other people in your organization to be able
- 41:39to give them the insight that only you can provide.
- 41:42I think we also need to do a better job at not
- 41:45losing grasp of the conventional controls. Although,
- 41:50yes, we're going to be seeing a lot more exploits,
- 41:52a lot more attacks, the traditional controls
- 41:55also help us significantly. Limit the blast radius.
- 41:58When a system gets compromised, what else can
- 42:01the attacker do? Reduce your excess access. Privilege
- 42:06management and IAM systems need to be carefully
- 42:08scrutinized. Where can we really limit what an
- 42:10attacker can do and what privileges somebody
- 42:13has access to? Use your threat hunting techniques.
- 42:16Look for opportunities to shrink your mean time
- 42:18to detect, how long it takes to detect and react
- 42:21to vulnerabilities. And we need to really carefully
- 42:24think about how we can refactor and restructure
- 42:27our incident response programs. We need to prepare
- 42:31our organization as well. Tabletop exercises
- 42:34have been a standard recommendation for incident
- 42:37response teams for many years now. And I think
- 42:39they will continue to be vulnerable, but we need
- 42:42to think about what those exercises look like
- 42:44in the modern mythos era. And that is not just,
- 42:48here's an attack and let's go through how we
- 42:50would respond to it. Here's 10 concurrent attacks,
- 42:53stretching your team beyond their capability.
- 42:57How do we deal with this? When one person that
- 43:00typically leads the team and is the expert in
- 43:02all the things and knows who to talk to and where
- 43:05the bugs are and where the skeletons are, what
- 43:07happens when that person just doesn't have enough
- 43:10capacity to manage multiple incidents at the
- 43:13same time? These are the problems that we're
- 43:15going to have to deal with, and it's best if
- 43:16we can get in front of them as quickly as possible
- 43:18to know where we need the resources to be able
- 43:21to respond to these new threats effectively.
- 43:25The term that I keep hearing now is Von Ops.
- 43:28You've heard of DevOps. You've heard of all these
- 43:31different things. But Von Ops is a vulnerability
- 43:33management program. You might also call this
- 43:36ASM. And these types of vulnerability management
- 43:42programs or attack surface management plans are
- 43:45what we need to start thinking about for our
- 43:46organizations. If attackers can find vulnerabilities
- 43:49in software that is high profile, it gets disclosed
- 43:53quickly, maybe patched quickly, we know how to
- 43:56deal with that. But how do we deal with it when
- 43:59it is broadly distributed across not just high
- 44:02profile software, but every part of your organization?
- 44:06Vulnerability management for a long time has
- 44:08been based on a relatively small number of people
- 44:10writing exploits against high profile targets.
- 44:13That's how we manage zero days. And for most
- 44:15organizations, You will never see a zero -day
- 44:18exploit. That is changing. Because now you don't
- 44:22need the expertise that was formerly required
- 44:24to identify vulnerabilities and write exploits.
- 44:27AI is helping us with that, with mythos or even
- 44:30without mythos. And so now more and more organizations
- 44:34are going to have to deal with these threats.
- 44:36This is a reality that we're going to have to
- 44:38deal with going forward. Chris, we can move on
- 44:40to the next slide here as well. One other piece
- 44:45of advice that I really want to offer people
- 44:47is this. Take a deep breath. It's really hard
- 44:54to keep on top of things. I was just saying an
- 44:56hour ago to my team, look, Opus released a new
- 45:00model. Opus 4 .7 is out. Yay. It's really hard
- 45:06to keep on top of things. It's really difficult.
- 45:08And if you're feeling a little frazzled, if you're
- 45:11feeling like you're being pulled in a lot of
- 45:13different directions, we all are. I think the
- 45:16important thing is to stop and think about what
- 45:19is this going to look like? How is this going
- 45:21to affect our organizations? And what can we
- 45:24expect for the future? Now, I did a little speculation
- 45:27here on this graph. This graph is completely
- 45:29made up, so none of these numbers are real. And
- 45:32what I graphed is, let's say, how many vulnerabilities
- 45:36are we seeing in, let's say, the national vulnerability
- 45:39database? On a year -over -year basis, it's about
- 45:4240 ,000, about 40 ,000 new vulnerabilities a
- 45:44year. And I think in 2026, we're going to see
- 45:49probably... 20 times that with AI, maybe more,
- 45:5440 times that with AI systems. But I think we're
- 45:58going to get to another point as well. Chris,
- 45:59if you could move ahead one more step. The thing
- 46:03that I think we haven't quite figured out yet
- 46:06is what's going to happen when models are able
- 46:10to identify vulnerabilities in closed source
- 46:13software. Right now, Mythos and a lot of platforms
- 46:16are focusing on open source software. And this
- 46:20morning I opened Photoshop and I clicked on the
- 46:23About screen and I saw the list of open source
- 46:25elements that Photoshop links to for image parsers,
- 46:28for file parsers, for dealing with all kinds
- 46:30of different operations. And it's long. There
- 46:33is plenty of open source software vulnerabilities
- 46:36to attack closed source software. And I think
- 46:39that's going to be the initial peak that we see
- 46:41going up here. But I think maybe in the next
- 46:44six months, 12 months, we're going to see AI
- 46:48models getting even better at reverse engineering
- 46:51closed source software. And that's going to create
- 46:55another peak. And that's going to be even more
- 46:58difficult for organizations to deal with. On
- 47:01the bright side, you might say, well, we've got
- 47:03some time to catch up because we're only really
- 47:05focusing on open source software vulnerability
- 47:08discovery right now with mythos and other models.
- 47:12But I think that's going to change. And I think
- 47:13that's going to be another big jump in vulnerability
- 47:16discovery, whether it's this year or next year,
- 47:18it's definitely going to happen. Now, I think
- 47:21what's going to happen is we're going to see
- 47:22a time where that's going to plateau. Maybe it's
- 47:25a year, maybe it's five years, and we're going
- 47:28to see a very tumultuous time of vulnerabilities.
- 47:32But I think that's going to fall off. And eventually,
- 47:36software vulnerabilities will dry up. Maybe that's
- 47:40three years out. Maybe it's 10 years out. Nobody
- 47:42knows right now. But I think over time, we will
- 47:46see a much more secure software ecosystem. I
- 47:51was talking to my cousin cybersecurity or my
- 47:53nephew, rather, cybersecurity professional, recent
- 47:56grad. And he was saying, yeah, all these vulnerabilities
- 48:00that are coming up because people are vibe coding
- 48:02software. Yes, but that's not going to continue.
- 48:06AI models are getting better. We'll see fewer
- 48:08and fewer vulnerabilities in vibe coded software.
- 48:10We'll see fewer and fewer vulnerabilities in
- 48:12open source and then closed source software as
- 48:14well. So if you look far into the horizon, you
- 48:17keep looking, there's a glimmer. It's way over
- 48:20there, but there's a glimmer somewhere for a
- 48:23much more secure planet. And I want to be a part
- 48:27of that. And in order to do that, we have to
- 48:30take care of ourselves. We have to look carefully
- 48:32at what the opportunities are. We have to try
- 48:35to get in front of these things. And we've got
- 48:37a lot more really meaningful work to do. The
- 48:41future is pretty bleak in the next couple of
- 48:45years, but I think that there's a bright opportunity
- 48:48in the years to come after that. Chris, we can
- 48:52move on one more. And we want to not just leave
- 48:57you with here's a bunch of problems, but we want
- 49:00to talk about here's some resources as well.
- 49:02So we put together a bunch of resources that
- 49:05I think are going to be helpful for people. So
- 49:08next week, there's an AI cybersecurity summit
- 49:11that SANS is hosting. This is free for live online
- 49:14access. If you're in the D .C., Virginia area
- 49:18and you want to join, you can do so. But you
- 49:21can also join for free by streaming online. And
- 49:24even if you just sign up and kind of. Manage
- 49:27your work and kind of keep it on the side. I'm
- 49:29excited to see the really great content. That's
- 49:31on Monday and Tuesday next week, and you can
- 49:34join that as well. The Cybersecurity Alliance
- 49:37posted a paper that Ed told me about recently,
- 49:40and I really enjoyed it. It's called the AI Vulnerability
- 49:43Storm, Building a Mythos -Ready Security Program.
- 49:46It is much more CISO -focused than technical
- 49:50-focused, but that is a really valuable resource
- 49:53for all of us. Because if you read this, there's
- 49:57a lot of actionable advice that I think is high
- 50:00level advice, but great for planning purposes.
- 50:02And I think that there's probably a lot of valuable
- 50:04content that you can share with your CISO to
- 50:07be able to give them insight into what's going
- 50:09on and what to do about these coming risks. Rob
- 50:14Lee, SANS Chief of Research and Chief AI Officer,
- 50:17is hosting what we're calling a Find Evil Hackathon.
- 50:21This is a community building program to be able
- 50:24to build new software to fight attackers using
- 50:27AI tools primarily focused around forensic analysis.
- 50:30SANS is hosting some cash prizes. People can
- 50:33start building and you can get involved there.
- 50:35And I think that's a great community way to contribute
- 50:37back as well. And then, of course. Our SANS Security
- 50:41543 class, the new two -day class that Ed was
- 50:44talking about earlier, AI -assisted source code
- 50:47analysis and exploitation for penetration testers,
- 50:50is something that we're... very proud of and
- 50:52is only just getting started with that we also
- 50:56have a handout this is brand new it really we
- 50:59saw for the first time yesterday we made the
- 51:01content but we have a new um using ai for source
- 51:05code vulnerability analysis handout what we're
- 51:07calling our 543 field guide so you can grab that
- 51:11resource as well which summarizes a lot of the
- 51:14steps and a lot of the techniques that chris
- 51:15talked about in the presentation here into one
- 51:18nice uh densely information -packed page of guidance
- 51:23on how to use AI tools for vulnerability analysis.
- 51:27So hopefully these resources are helpful to you,
- 51:29and I would definitely take a look at all of
- 51:31these resources to help you in your own journey
- 51:33about understanding how these tools are enabling
- 51:36attackers and what we can do about it as well.
- 51:39I think Ed will go back to you. yes uh that was
- 51:42great thank you josh thank you chris we've got
- 51:44tons of questions if i could ask the people who
- 51:47are running the webcast i know you want to focus
- 51:48back on our faces but can we leave that resource
- 51:50thing up because they're so valuable for folks
- 51:52maybe leave it up for three four minutes and
- 51:54then come back so we can you know see the the
- 51:56beautiful chris lg shirt and and and josh your
- 51:59shirt's nice too um so but yeah leave that up
- 52:02for three minutes so people can get those resources
- 52:04but there are tons of questions Really good questions.
- 52:07I love how thoughtful this community is and how
- 52:11great these people are part of the SANS community.
- 52:14I'm going to start out, I'm going to bundle the
- 52:16questions because there's so many of them. So
- 52:17I'm going to bundle them and I'll shoot some
- 52:18to Chris, some to Josh, or if you want to answer
- 52:21the other person's questions, that's fine too.
- 52:23So Chris, I'm going to bundle these two for you.
- 52:25First, is this just for... application or web
- 52:28app specific pen testing? And at what point would
- 52:31I switch from using the LLM in the, say, the
- 52:33543 methodology to manual pen testing back and
- 52:37forth? So if you could answer those two questions
- 52:39together, I think that'd be great. Yeah, no,
- 52:42I was seeing the same questions in the comment
- 52:44thread there. So I'm glad you asked those, Ed.
- 52:46Yeah, so... Obviously, what we demonstrated is
- 52:48open source web application would work similarly
- 52:51for a compiled application as well. But no, like
- 52:54Josh pointed out, there comes a time and we're
- 52:57already approaching it where the LLMs are good
- 52:59enough to reverse engineer things. I know some
- 53:01people have had luck already using LLMs in conjunction
- 53:03with applications like Ghidra to start doing
- 53:05some of that. So I think that's already on the
- 53:07horizon. We're also in our shop. doing some of
- 53:11this with hardware. And I know that still gets
- 53:13down to software at some point, right, where
- 53:14we're pulling out a compiled application and
- 53:16analyzing it. But Chris Davis and our team right
- 53:18now is working with an LLM and a Pico 2 and all
- 53:23the cool test harnesses and soldering and all
- 53:26that to do hardware work. So this absolutely
- 53:29does apply to more places. And sorry, the second
- 53:31part of the question, Ed? At what point do you
- 53:33switch from doing this methodology that we saw
- 53:35to help find vulnerabilities to maybe traditional
- 53:38pen testing with lateral movement, et cetera,
- 53:40et cetera, back and forth? What does that flow
- 53:42look like? Yeah, so first I'm going to answer
- 53:45the question I want to answer. Because at first
- 53:47I understood that to mean when do you kind of
- 53:49stop with the LLM and start with the human? And
- 53:51really the human is going to be. mentally engaged
- 53:53the whole time. There are plenty of opportunities
- 53:56throughout the process for the LLM to kind of
- 53:59go in a weird direction and follow it on a path
- 54:01that isn't going to be fruitful so that the human,
- 54:02the actual intelligence has to be engaged the
- 54:04whole time. But then, yeah, the next question
- 54:07with when does it switch to other tasks? Honestly,
- 54:09we're doing a lot of those with LLMs as well.
- 54:12We've found opportunities to have it do some
- 54:16of the traditional LLM &R poisoning and fabricating
- 54:21tickets. And again, with a human right there
- 54:23watching it, giving it permission to do different
- 54:25things. But there really doesn't have to be a
- 54:27hard handoff. We just have to make sure the human
- 54:29is engaged the whole time. You're right. Seamless.
- 54:32Very well said. So, Josh, I have strong opinions
- 54:33about the next question, but I'm going to ask
- 54:35it of you because I know you'll probably give
- 54:36a great answer. Do you believe that AI pen testing,
- 54:40defined however you want to define it here, will
- 54:43become an industry standard for compliance purposes?
- 54:50From a compliance perspective, I think we're
- 54:55a ways out from that still. I think that there
- 54:59is some logic to that. I think that there is
- 55:02certainly some value in having a standardized
- 55:05mechanism to be able to integrate that. But I
- 55:08think that from a governance perspective, we're
- 55:12pretty slow to adopt those things. It might take
- 55:16some time. I do think that there is probably
- 55:20an inevitable future where this is integrated
- 55:23into something that we're doing all the time.
- 55:25I think when we specify governance, I don't know
- 55:28that we would say you must use AI. I think it's
- 55:33much more outcomes driven. You must have a comprehensive
- 55:36assessment to find vulnerabilities in your source
- 55:39code. But I think the logical play is that more
- 55:42and more organizations will start integrating
- 55:44AI tools into those processes. I think that's
- 55:47very well said, Josh. You know, if you'd asked
- 55:49me that same question, you know, a long time
- 55:50ago, like eight days ago, I would have said,
- 55:53no, it's quite a ways off. But then after what
- 55:55happened last week with all the bank, you know,
- 55:58CEOs being called in by Scott Besant and Jerome
- 56:00Powell. I think it might be coming sooner rather
- 56:03than later. It still weighs off. These are complex
- 56:05things. And then you know what's going on in
- 56:07the EU as well as in the UK with all the awareness
- 56:11and concern of banks. My belief is that before
- 56:14too long, this will just become an expectation
- 56:16that, well, of course you did this. You had to
- 56:19do this. How else did you find the vulnerabilities?
- 56:20You didn't have a human go through it all, did
- 56:22you? And there's some economic arguments here,
- 56:25too. The expense of humans versus token costs
- 56:27are high. And in fact, that is another question.
- 56:30Maybe I'll talk to Chris Elgy about that one.
- 56:32So someone's saying, hey, you know, token costs
- 56:34are high. And sometimes models get really weird,
- 56:39like Opus has been seemingly not as smart as
- 56:43it was three or four weeks ago. Recently, it's
- 56:45just kind of gotten stupid. So what about token
- 56:49costs? Do you think that... Once this isn't subsidized
- 56:54by all the investment capital, that this will
- 56:57actually become far less practical than it is
- 56:58now? Yeah, I'm thinking about Josh's graph, actually,
- 57:02right, where we see the curve go up. And if at
- 57:05some point, as some people predict, the VC bubble
- 57:08pops and we start paying the actual cost of the
- 57:11electricity and the compute and everything, then
- 57:13it's I mean, it's necessarily. got to slow down,
- 57:16right? I mean, otherwise, we're just spending
- 57:18a lot more on it, either on the consultants or
- 57:20on internal token costs. So I've got to believe
- 57:23that's going to at least add friction to the
- 57:25process and not halt it. I think we'll all be
- 57:28a lot more mindful and have fewer throwaway single
- 57:30prompts, right? We'll be more responsible users,
- 57:32just like we bring reusable bags to the grocery
- 57:34store, right? But I think it will cause some
- 57:37friction and slow it down to some extent. I think
- 57:39you're right. I saw a tweet last week about somebody
- 57:41who came up with a prompt for his AI, speak in
- 57:44caveman tones, because it just saves tokens.
- 57:47There's no articles like a and or the, it's just
- 57:50very grunt -like, but it saves tokens. Crazy
- 57:53world we live in. You two are like the perfect
- 57:56people to ask this next question of, okay? Because
- 57:58you help figure out the staffing for all of our
- 58:00projects, right? So for a high value project,
- 58:03what does staffing for this type of pen testing
- 58:05look like? Do you have any recommendations? How
- 58:07do you even construct a project that uses the
- 58:10techniques you just discussed? So I find that
- 58:15on our team, there's a spectrum for people that
- 58:21love AI and are really great at it and also are
- 58:25very imaginative to people that are much more
- 58:28methodical. in how they go about finding vulnerabilities
- 58:32and maybe have been a little bit later to adopt
- 58:35AI, but are continuing to integrate that into
- 58:37their processes. And I think the interesting
- 58:42thing is they all contribute so meaningfully
- 58:45to assessments and engagements, but they bring
- 58:48different things to the table. When we're looking
- 58:53at projects and we're planning on staffing and
- 58:55we're saying, OK, who's available and who's in
- 58:56the team and who is the expertise and things
- 58:58like that? We try to have a mix of different
- 59:01skill sets. You have to have the technical skill
- 59:03sets. You have to be great at penetration testing.
- 59:06Right. At CounterHack, we really don't have any
- 59:08junior analysts. Right. Everybody is well experienced
- 59:11in the industry, but people bring different expertise.
- 59:15And so we try to have. the super creative thinking
- 59:19well outside the box, but we also try to have
- 59:21the person that is very methodical and can capture
- 59:25all the different elements there. And I think
- 59:27it's the combination of those different roles
- 59:29that really makes for the most effective engagements.
- 59:32Yeah, I think the other piece of that too is
- 59:34development, right? We're always trying to make
- 59:37our employees better. We always want to make
- 59:39people smarter. So, you know, Ed and Josh and
- 59:42everybody have done a lot to encourage us all.
- 59:44to learn, to get better at using this so that
- 59:47regardless of what our tendencies are, then we're
- 59:50all better at using the LLMs for the tasks that
- 59:52they're good at. Yeah. And we want to share this
- 59:54with the community. That's why we wrote that
- 59:56two -day SANS class. In fact, we built an in
- 59:59-house CTF so that our team that does pen testing
- 1:00:03could learn these techniques through a fun kind
- 1:00:05of internal thing. And then at a certain point,
- 1:00:07we're like, well, why don't we turn this internal
- 1:00:08CTF, build all the lessons we want people to
- 1:00:10know about it, and then... offered as a class
- 1:00:13through SANS. So this is all very dynamically
- 1:00:16created here based on those needs. All right.
- 1:00:18I've got another one that I'll address to both
- 1:00:20of you. You can order it out as you wish. I'm
- 1:00:22going to bundle like three different questions.
- 1:00:24There's sort of an optimistic view of a question,
- 1:00:27sort of the pessimistic view of the same question,
- 1:00:29and then something in the middle. Okay. So here's
- 1:00:33sort of... the optimistic view a lot of the vulnerable
- 1:00:36a lot of the recommendations that josh had suggested
- 1:00:38seem to be accelerated versions of things that
- 1:00:40companies have struggled to do for a long time
- 1:00:42are there more innovative solutions as well keep
- 1:00:45that in your mind so this is optimistic it's
- 1:00:47like there must be other solutions that we can
- 1:00:49apply right right here's the negative view of
- 1:00:51it now they're releasing capabilities uh being
- 1:00:54exploited effectively everyone has to drop all
- 1:00:57their other investments and focus just on vulnerabilities
- 1:00:59josh is that telling us We got to drop everything
- 1:01:01else that we're doing that was cool and useful
- 1:01:02and just focus on this. So it's more of a negative
- 1:01:04view, which, hey, that's good. We need both,
- 1:01:06right? And then somebody said, I don't mind additional
- 1:01:09funds for these new workloads, but I'm worried
- 1:01:11about hospitals and schools, the people who are
- 1:01:14not flush with money, who are relying on razor
- 1:01:17thin budgets. Are there any recommendations for
- 1:01:20those? So, I mean, it's three different kinds
- 1:01:21of views of the same thing, but what do we make
- 1:01:24of this? How do you prioritize your resources,
- 1:01:26your teams in light of what's coming? So, Chris,
- 1:01:31I'll go first. That's OK. I'll capture that.
- 1:01:33So I don't think anybody is saying drop every
- 1:01:39single project that you're working on. At least
- 1:01:42we should not be saying that because there's
- 1:01:44important work that is being done all over. I
- 1:01:47think that we need decision makers, which might
- 1:01:51not be us. We might be technical people doing
- 1:01:53technical work, trying to get the job done. But
- 1:01:55we need decision makers to very carefully say.
- 1:01:59what are the priorities of the business? What
- 1:02:01do we need to do for the organization? I also
- 1:02:03think we need to be very careful about managing
- 1:02:05burnout. I think that it is very easy for people
- 1:02:09to become overwhelmed and then stop producing
- 1:02:12meaningful work. And that's not great for the
- 1:02:14organization either. And I think we need to very
- 1:02:16carefully look at staffing for all these things.
- 1:02:19I am concerned about the gap, the gap between
- 1:02:23people that are doing okay from a security perspective
- 1:02:26and have the resources and have the money and
- 1:02:29have the investment and people that don't and
- 1:02:30i think that gap is getting wider and wider i
- 1:02:33think that it's going to create a more and more
- 1:02:36difficult scenario and that is schools that is
- 1:02:40small businesses that is medium businesses but
- 1:02:43it's also things like water refinement factories
- 1:02:46or water refinement plants and and you know um
- 1:02:49municipalities at you know in uh state or regional
- 1:02:53government level And I think this is going to
- 1:02:56create more and more of a problem for a lot of
- 1:02:59organizations. I think that there is opportunity
- 1:03:01for AI to help with that as well. But I think
- 1:03:04right now we're seeing a lot more interest and
- 1:03:07emphasis on the attack side. And the defense
- 1:03:10side of things, while there are some vendors
- 1:03:12doing some great work there, isn't quite catching
- 1:03:14up or the costs are so prohibitive that... people
- 1:03:18aren't being able to catch up. This is why I
- 1:03:21think some of the projects like the Find Evil
- 1:03:23Hackathon that Rob Lee is hosting is such a great
- 1:03:26idea. Because I think when we embrace this as
- 1:03:29a community, we contribute our time and our expertise,
- 1:03:31and we make open source software, that creates
- 1:03:34an option for a lot of people to shore up that
- 1:03:37gap. And then hopefully that drives down the
- 1:03:40cost of some of the more widely applicable commercial
- 1:03:42solutions too. Josh, I think you nailed it. Let
- 1:03:44me do one final question, then we'll close this
- 1:03:46out. Hey, Chris Elgy, are you providing suggested
- 1:03:48patches to your pen testing clients from stuff
- 1:03:51like this? Oh, yeah. So yes, we always have.
- 1:03:55We always will, right? So we could potentially
- 1:03:59offer full code, but at the very least, we're
- 1:04:01very specific about the kind of functions that
- 1:04:03we want to see adjusted. or we're specific about
- 1:04:06the types of recommendations that we think will
- 1:04:08remediate the vulnerabilities. Absolutely. And
- 1:04:10sometimes that includes listing a code change
- 1:04:13that we'd like to see. However, we point out
- 1:04:15that we're penetration testers, not software
- 1:04:17developers, and these things need to be evaluated
- 1:04:19by skilled software developers and tested thoroughly
- 1:04:21in a QA environment. But that will bring us to
- 1:04:23a close. Our time is up. Chris Elgee, Josh Wright,
- 1:04:26thank you so much for sharing all of that information.
- 1:04:29Maybe we could real quick bring up the resource
- 1:04:30slide again for anybody who wants to take that
- 1:04:33down. There's very useful things here. If you
- 1:04:35take just one of these away, read that Cloud
- 1:04:37Security Alliance paper written by Gadi Evron
- 1:04:40and Rich Mogul and Rob T. Lee of SANS. It's a
- 1:04:43great read. It'll give you a lot of insight and
- 1:04:45build on many of the things that we talked about
- 1:04:47here. But look at all these other resources too.
- 1:04:50I hope you find them useful. So on behalf...
- 1:04:52of Chris, Josh, me, and the entire Stan team.
- 1:04:56Thank you. And stay in touch. We appreciate it.