1 00:00:13,780 --> 00:00:18,580 So, there is latency at every step in the chain, right? 2 00:00:18,580 --> 00:00:23,060 Whether it's the ticket sitting in the queue before the analyst can get to it or the back and forth with the employee. 3 00:00:23,380 --> 00:00:26,260 And then there is toil for the analyst, right? 4 00:00:26,260 --> 00:00:32,480 They're having to go and investigate alerts that often don't have enough context. 5 00:00:32,480 --> 00:00:34,220 They're having to go and talk to employees. 6 00:00:34,520 --> 00:00:41,900 And they're having to deal with the overhead of managing not just this, but like all the other things that are in their queue they have to deal with, right? 7 00:00:41,900 --> 00:00:43,060 So, there's a lot to chase. 8 00:00:43,440 --> 00:00:52,160 So, one of the things that my team built is some basic process automation, wrapping some of this information analysis that goes into investigations. 9 00:00:52,400 --> 00:00:53,400 So, here's an example. 10 00:00:53,400 --> 00:00:56,820 This is a chat bot that we built, creatively named our incident response bot. 11 00:00:57,780 --> 00:01:07,240 So, the way that this works is when the alert goes off, rather than the security engineer reaching out to an employee and saying, hey, it looks like you just made this change. 12 00:01:07,240 --> 00:01:08,980 Did you intend to do this? 13 00:01:08,980 --> 00:01:14,460 We instead have a GPT4 powered Slack bot that will go and do that outreach and that back and forth for us. 14 00:01:15,000 --> 00:01:17,060 It's prompted to be friendly and helpful. 15 00:01:17,240 --> 00:01:19,200 Hey, I'm just looking to get some more information. 16 00:01:19,200 --> 00:01:22,380 It looks like you made this change. 17 00:01:22,380 --> 00:01:24,000 Can you give us some more information about it? 18 00:01:25,040 --> 00:01:27,900 The alert still goes to the security team. 19 00:01:28,180 --> 00:01:32,140 So, a security engineer still looks at the ticket. 20 00:01:32,140 --> 00:01:38,680 But because this bot is there, oftentimes by the time they get to the ticket, it's already prefilled with the context of that back and forth. 21 00:01:39,880 --> 00:01:42,760 And I love this example because it's not very cyber. 22 00:01:42,760 --> 00:01:44,140 This is so boring. 23 00:01:44,140 --> 00:01:48,980 But this is something that every security team at a certain point has to deal with. 24 00:01:48,980 --> 00:01:51,060 How do you scale your operations? 25 00:01:51,680 --> 00:01:56,480 And little bits of this, you know, applications like this can go a long way. 26 00:01:57,380 --> 00:02:08,420 Actually, one thing that we found is in many cases by the time the security engineer gets to the ticket, just the back and forth with the bot has been enough for the employee to realize, oh, actually, I should think about this. 27 00:02:08,460 --> 00:02:13,180 And oftentimes, they've already corrected the condition before we need to intervene. 28 00:02:14,540 --> 00:02:15,920 We've open sourced this. 29 00:02:16,040 --> 00:02:20,860 So, if you want to check it out, we've got a collection of security tools that we've open sourced on GitHub. 30 00:02:22,200 --> 00:02:25,640 So, you can check it out and try it for yourself. 31 00:02:26,300 --> 00:02:29,560 We've also done the same for our bug bounty automation. 32 00:02:30,480 --> 00:02:32,580 Raise your hand if you've ever worked on a bug bounty. 33 00:02:34,280 --> 00:02:34,760 Okay. 34 00:02:34,760 --> 00:02:37,580 Keep your hand raised if you love doing triage. 35 00:02:39,000 --> 00:02:40,680 I see no hands. 36 00:02:41,560 --> 00:02:42,660 It's grueling, right? 37 00:02:42,660 --> 00:02:45,300 You know, you've got a lot of volume, a lot of back and forth. 38 00:02:45,760 --> 00:02:54,280 We've just built some simple automation to help us classify tickets and help us get to the security tickets faster. 39 00:02:54,280 --> 00:02:56,860 We're not making payment decisions or anything like that. 40 00:02:56,860 --> 00:02:58,200 So, don't get any ideas. 41 00:02:59,860 --> 00:03:10,520 But, you know, things like this that help us sort security tickets from customer support and things that just don't belong in the bug bounty so we can get to the things that matter faster. 42 00:03:10,680 --> 00:03:11,480 And that's open source, too. 43 00:03:11,480 --> 00:03:12,260 You can check it out. 44 00:03:13,760 --> 00:03:14,220 All right. 45 00:03:14,220 --> 00:03:19,080 So, those are some, like, pretty, you know, well, I don't think they're boring. 46 00:03:19,080 --> 00:03:21,700 But kind of boring process automation examples. 47 00:03:21,700 --> 00:03:23,380 Let's get to some things that are a little bit more technical. 48 00:03:24,080 --> 00:03:29,960 So, we found that language models like GPT-4 can be pretty useful for command classification. 49 00:03:30,380 --> 00:03:36,420 And this is exciting because detection engineers face tons of toil in their work, right? 50 00:03:36,540 --> 00:03:41,440 And they're often constrained by in a few different dimensions in terms of what they can take on. 51 00:03:41,440 --> 00:03:45,020 Whether it's capabilities, speed, or scale. 52 00:03:45,080 --> 00:03:52,240 So, capabilities might be, you know, access to talent or access to services that can, you know, that can do certain analysis. 53 00:03:53,140 --> 00:03:57,780 Speed is the ability to, you know, get to the alerts that matter fast. 54 00:03:57,780 --> 00:03:59,240 Time can be everything in an incident. 55 00:03:59,240 --> 00:04:01,240 And, you know, speed really matters. 56 00:04:01,240 --> 00:04:02,520 And then lastly, scale. 57 00:04:03,160 --> 00:04:10,920 You know, they're often constrained by the amount of, you know, the operational serviceability of the detections they write. 58 00:04:12,480 --> 00:04:20,620 So, we're able to we found that we're able to use GPT-4 to complement our existing sort of conventional detection strategy. 59 00:04:20,620 --> 00:04:22,680 We're not throwing out the conventional detections. 60 00:04:22,680 --> 00:04:30,940 But we're using this as another sort of, you know, layer of another layer of depth and some more contour in terms of how we do it. 61 00:04:31,180 --> 00:04:35,620 So, we can zero shot command classification. 62 00:04:35,620 --> 00:04:43,560 So, here we're giving it a, you know, a reverse shell and pearl and it's able to make a correct judgment about it being malicious. 63 00:04:43,880 --> 00:04:45,420 And the inverse works, too. 64 00:04:45,420 --> 00:04:54,520 So, we give it a benign operation, something like a media transcoding command, like an FFmpeg call and it's able to classify that as benign. 65 00:04:55,080 --> 00:04:57,280 This works over large datasets, too. 66 00:04:57,460 --> 00:05:12,240 So, you can imagine taking, like, interactive SSH sessions or Bash history or things like that, pumping that through, you know, GPT-4 and having that make triage decisions that might otherwise be out of the reach of your team. 67 00:05:12,740 --> 00:05:23,100 Asking a security analyst to read every line of, like, interactive SSH history or Bash history that's generated in an organization, like, wouldn't just be ineffective. 68 00:05:23,100 --> 00:05:24,600 It would be cruel and unusual. 69 00:05:25,920 --> 00:05:35,000 So, approaches like this can help security teams access more log sources, more depth, and in different ways than they might otherwise be able to get. 70 00:05:35,780 --> 00:05:38,100 So, this is a benign example. 71 00:05:38,100 --> 00:05:45,160 Here on the left, it's, you know, just basically toy Bash history of, you know, like an engineer, an SRE setting up a web server. 72 00:05:45,820 --> 00:05:48,680 So, you know, it's able to kind of analyze this appropriately. 73 00:05:49,460 --> 00:05:54,300 Here's that same history with a little bit of added value sprinkled in. 74 00:05:54,300 --> 00:05:57,680 That command that you see in the second column in bold is a river shell payload. 75 00:05:57,900 --> 00:06:03,960 And you see it's able to pick the needle out of the haystack there and say, you know, this looks like what's going on, except for this. 76 00:06:03,960 --> 00:06:04,720 This looks weird. 77 00:06:04,720 --> 00:06:07,000 You should probably call the security team and have them look at it. 78 00:06:08,940 --> 00:06:10,900 Here's what this looks like at OpenAI. 79 00:06:11,320 --> 00:06:21,600 I mentioned this a little bit earlier, but just to go into a little bit more depth, we use GPT power detections to complement our sort of conventional detection and alerting strategy. 80 00:06:21,980 --> 00:06:34,380 So, we're able to write prompts in natural language that can provide, you know, additional layers of depth and help us sort of access logs that otherwise we might not be able to service with sort of a more conventional approach. 81 00:06:35,320 --> 00:06:36,800 I think this is really exciting. 82 00:06:36,800 --> 00:06:38,080 We're just at the beginning of it. 83 00:06:38,100 --> 00:06:41,020 And I'll reflect more on that at the end. 84 00:06:44,570 --> 00:06:45,030 Cool. 85 00:06:45,030 --> 00:06:49,350 So, here's another example of how we use our models at OpenAI. 86 00:06:49,470 --> 00:06:52,050 And I'm not sure if this video is going to work, but we can give it a shot. 87 00:06:53,350 --> 00:06:54,110 No video. 88 00:06:54,110 --> 00:06:54,850 That's okay. 89 00:06:54,950 --> 00:06:55,830 We're doing it live. 90 00:06:56,870 --> 00:06:59,650 So, if... we tried. 91 00:07:00,890 --> 00:07:07,170 So, yeah, at any organization, your employees are going to need access to resources to do their jobs, right? 92 00:07:07,170 --> 00:07:09,750 Whether it's documents or cloud resources, you name it. 93 00:07:09,930 --> 00:07:19,670 And internal access management is something that companies need to get right in order to facilitate least privilege, you know, the attainment of least privilege access controls. 94 00:07:19,930 --> 00:07:33,170 And the way that most companies do this is they often wind up building either self-service access portals or, you know, different services or automation to facilitate mapping employees or employee requests to resources. 95 00:07:33,170 --> 00:07:38,790 Because otherwise, you wind up with all those going through a central team like the IT team or the security team. 96 00:07:38,790 --> 00:07:44,030 And oftentimes, those teams aren't resourced to, you know, manage these requests at scale. 97 00:07:44,030 --> 00:07:46,870 And also, they're not the right decision-making authority. 98 00:07:47,010 --> 00:07:57,710 Like the IT team probably is not going to have the context to know whether or not the, like, you know, production or like the administrative role that's being requested for your production environment is really needed or appropriate or should be given out. 99 00:07:57,930 --> 00:08:01,310 So we built a tool at OpenAI called Access Manager. 100 00:08:02,110 --> 00:08:04,270 We're creative at naming things, right? 101 00:08:04,330 --> 00:08:06,750 You saw with security bots and Access Manager. 102 00:08:06,750 --> 00:08:07,630 But it's descriptive. 103 00:08:07,630 --> 00:08:08,510 It's sort of this. 104 00:08:08,510 --> 00:08:10,350 It's a self-service access portal. 105 00:08:10,350 --> 00:08:12,470 So it's an internal website you go to. 106 00:08:12,770 --> 00:08:23,670 And through that portal, employees can request to, you know, groups and roles different like IAM resources that bestow access to internal resources. 107 00:08:24,370 --> 00:08:34,470 And the access is both time-bound and requires sort of secondary approval based on, you know, based on the policy of the resource that's being requested. 108 00:08:35,190 --> 00:08:39,750 We've baked GPT-4 into Access Manager to help facilitate role assignments. 109 00:08:40,010 --> 00:08:50,750 So if you're, you know, if you have, like, an error message, you know, if you're in your terminal, and you get some error message, you're not authorized to it, you can dump that error message into Access Manager. 110 00:08:51,230 --> 00:08:56,830 And it will use our models to suggest a resource for you to request access to. 111 00:08:57,190 --> 00:09:09,910 And what's cool about this is without that mapping, without the ability to play that matchmaker, there's a tendency, a natural tendency for developers when they're just trying to get their code to run to request the biggest role that will that's there. 112 00:09:10,130 --> 00:09:13,130 You know, like, oh, this admin role gets me access to everything. 113 00:09:13,130 --> 00:09:14,490 So let me just request that. 114 00:09:14,570 --> 00:09:21,990 But that's, of course, because then you have users that are over permissioned and, you know, sort of defeats the least privileged goals that we want to pursue. 115 00:09:22,650 --> 00:09:28,550 So using GPT-4 to play that matchmaker can help us get that scoping better. 116 00:09:28,550 --> 00:09:39,610 And if you think about the number of access requests over the duration, like, of a company's lifetime, you know, compounding value here really, really adds up to a lot of risk reduction. 117 00:09:40,310 --> 00:09:42,290 So I think that's pretty cool. 118 00:09:42,390 --> 00:09:47,270 Again, not very cyber process automation, but, you know, this stuff can really matter at scale. 119 00:09:48,510 --> 00:09:50,370 And yeah, let's move on. 120 00:09:52,510 --> 00:09:53,010 All right. 121 00:09:53,010 --> 00:09:54,150 This is a fun example. 122 00:09:54,890 --> 00:09:59,230 So we've so language models are good at information analysis. 123 00:09:59,230 --> 00:10:02,050 And that means they can be useful for analyzing threat intelligence. 124 00:10:02,930 --> 00:10:10,030 We've had a lot of fun, you know, doing this both recreationally and, you know, within sort of the scope of our program. 125 00:10:10,030 --> 00:10:11,770 So here's an example. 126 00:10:13,010 --> 00:10:17,290 This is an excerpt from the Conti ransomware group. 127 00:10:17,290 --> 00:10:19,450 I don't know if you remember Conti from a couple of years ago. 128 00:10:19,450 --> 00:10:30,610 They were a criminal group that was going after hospitals and just doing some really nasty and effective ransomware attacks. 129 00:10:31,030 --> 00:10:39,090 They got compromised back in 2022, I want to say, and their internal chat logs got posted on the internet. 130 00:10:39,830 --> 00:10:46,490 We got ahold of them and we ran them through GPT-4 and were able to ask questions of this big data set. 131 00:10:46,610 --> 00:10:51,570 Things like, you know, what kind of companies is this group going after? 132 00:10:51,570 --> 00:10:53,950 What kind of tactics, techniques, and procedures are they using? 133 00:10:53,950 --> 00:10:56,550 If we want to defend against them, what should we look out for? 134 00:10:57,010 --> 00:11:00,710 And it's able to do a pretty good job of giving us some things to look for. 135 00:11:00,910 --> 00:11:02,430 It's a very large data set. 136 00:11:02,730 --> 00:11:05,690 And not only is it big, it wasn't in English. 137 00:11:06,070 --> 00:11:07,450 It was in Russian. 138 00:11:07,490 --> 00:11:08,770 And it wasn't just in Russian. 139 00:11:08,770 --> 00:11:10,570 It was in Russian internet slang. 140 00:11:11,890 --> 00:11:24,430 I have a Russian linguist, native Russian speaker on my team, who had a hard time reading it because of how kind of, you know, internet-y it was. 141 00:11:25,570 --> 00:11:30,130 But, you know, GPT-4 was able to get through it and produce some useful insights from it. 142 00:11:31,230 --> 00:11:35,090 We did the same thing with the ISUN leaks that came out earlier this year. 143 00:11:36,290 --> 00:11:44,870 ISUN was a defense contractor that was suspected as developing offensive security tools for a foreign government. 144 00:11:45,610 --> 00:11:59,410 Their logs went up online, same story, ran through GPT-4 and chatGPT, and were able to, you know, ask questions of it that led us to the insights that we were looking for, which was information about the offensive cyber tools that we're building. 145 00:11:59,990 --> 00:12:02,750 And what's cool about this example is that it wasn't just text. 146 00:12:02,750 --> 00:12:04,990 It was also media. 147 00:12:04,990 --> 00:12:12,370 So some models are multimodal, meaning that in addition to text, they can operate on other media formats like audio and images. 148 00:12:12,570 --> 00:12:28,010 So for this dataset, where we have things like PDFs, network topology diagrams, data sheets, things like that, that multimodality helps us search not just across the text corpus, but all the other types of data that we want to be able to reach within to draw those insights out of. 149 00:12:28,010 --> 00:12:36,570 And just to provide a little bit more context in this example, there were no linguists involved, no translators or anything like that. 150 00:12:36,650 --> 00:12:41,470 This analysis was done by one Australian who speaks English and chatGPT. 151 00:12:42,390 --> 00:12:56,590 So, you know, this is a capability that, you know, I, you know, leading a security team, you know, can, we can now access and do this type of analysis that otherwise would have either been expensive or out of reach or slow or resource intensive. 152 00:12:56,590 --> 00:13:00,470 So extra leverage for us to go in and do our work. 153 00:13:01,830 --> 00:13:02,430 All right. 154 00:13:02,430 --> 00:13:05,950 So language models are really, really powerful. 155 00:13:05,990 --> 00:13:08,010 But they are not without their limitations. 156 00:13:08,910 --> 00:13:11,430 And I'll talk about a few of them here. 157 00:13:11,730 --> 00:13:16,030 The first is that language models just aren't the right tool for every job. 158 00:13:16,210 --> 00:13:24,970 Their general purpose, but just because their general purpose doesn't mean that they are universally applicable or even universally a good idea to use in different scenarios. 159 00:13:26,110 --> 00:13:32,770 And it's just because they, you know, they're good at some things and their capabilities in other domains are still yet to be proven. 160 00:13:33,070 --> 00:13:45,030 And one area that has been hyped, but in my assessment has been a little bit overhyped, has been the ability for language models to aid sort of static analysis and code security. 161 00:13:46,110 --> 00:13:48,050 I used to lead an AppSec team. 162 00:13:48,050 --> 00:13:55,710 And in that capacity, I worked with many of these sort of commercially available and open source static analysis tooling. 163 00:13:55,710 --> 00:13:57,650 And they all kind of left me wanting in different ways. 164 00:13:59,450 --> 00:14:02,490 They can do things like look for CDEs. 165 00:14:02,490 --> 00:14:06,290 They can do things like look for types of bugs you can write regular expression for. 166 00:14:06,370 --> 00:14:08,290 Simple things like that that are general purpose. 167 00:14:08,290 --> 00:14:25,610 But they can't, they couldn't do what I often wanted them to do, which was offer sort of bespoken actionable insights to my developers, something I could put into like a CI CD pipeline, so that when they were writing like business logic bugs, things that they were making decisions about, 168 00:14:25,610 --> 00:14:28,230 I could get that get those insights back to them in real time. 169 00:14:28,750 --> 00:14:33,590 And it's because these like commercial and open source tools, they're written to be sort of general purpose. 170 00:14:33,590 --> 00:14:51,370 And they're not going to be able to understand the sort of internal context of your company, whether it is, your cloud configuration, your developer documentation, things like that, they just don't have access to. 171 00:14:51,750 --> 00:14:57,530 Language models, however, if we look ahead, this is exactly what they should one day be able to do, right? 172 00:14:57,530 --> 00:15:15,070 And just not just the line of code that's being analyzed that contains the, you know, the vulnerable code, but the entire code base, and not just the entire code base, but also your developer documentation, cloud configurations, basically all the context that you can give it to make the best judgment. 173 00:15:16,810 --> 00:15:20,330 So, we've seen some really good research happen in this space. 174 00:15:20,410 --> 00:15:26,170 But we haven't seen sort of the scaled, you know, positive impact that we're hopeful for. 175 00:15:26,170 --> 00:15:27,190 There's some great work going on. 176 00:15:27,190 --> 00:15:28,290 I'll talk about that in a minute. 177 00:15:29,390 --> 00:15:38,470 So, here's an example of like what I... this is a toy example showing proof of life of how these tools could one day become useful for static analysis. 178 00:15:38,470 --> 00:15:40,310 And we can play spot the bug on the left. 179 00:15:40,310 --> 00:15:42,050 This is just some toy code. 180 00:15:42,230 --> 00:15:44,490 And I'll lead you to it. 181 00:15:44,490 --> 00:15:50,070 There's a method that performs a write operation against a database that checks against a reader role. 182 00:15:50,070 --> 00:15:51,930 There's a type of role mismatch there. 183 00:15:52,890 --> 00:15:58,190 In this toy example where we kind of tee it up for GPT-4, it's able to call it out and label the bug. 184 00:15:58,910 --> 00:16:04,990 And can we then take that, you know, knowledge of that vulnerability and use that to generate a fix? 185 00:16:04,990 --> 00:16:06,210 You know, that would be great. 186 00:16:06,330 --> 00:16:08,270 The G in GPT stands for generative. 187 00:16:08,270 --> 00:16:17,690 So, it would be great to be able to use the, you know, like the language model or the code generation capabilities to make, you know, more secure code. 188 00:16:17,890 --> 00:16:22,970 And in this, again, this contrived example, we're able to get it right. 189 00:16:23,510 --> 00:16:29,990 So, how good are language models today and what's next? 190 00:16:30,190 --> 00:16:36,810 That is exactly why I'm excited to be right here with you all today at the AI Cyber Challenge. 191 00:16:36,990 --> 00:16:39,350 This is a phenomenal program that DARP has been running. 192 00:16:39,350 --> 00:16:44,130 We're proud to be a technology partner to that is exploring exactly this question. 193 00:16:44,310 --> 00:16:51,870 What can language models do to improve the security of the code that both we and our critical infrastructure depends on every day? 194 00:16:52,610 --> 00:16:55,410 And I am eagerly awaiting the results. 195 00:16:55,630 --> 00:17:00,670 I have no idea how teams are doing or what approaches they're taking. 196 00:17:00,670 --> 00:17:02,370 I'm here to learn just as you all are. 197 00:17:02,370 --> 00:17:04,310 And I think this is just a really exciting moment. 198 00:17:05,190 --> 00:17:09,830 So, excited to see what this produces. 199 00:17:11,830 --> 00:17:15,550 There are other limitations that we've published sort of extensively on. 200 00:17:15,550 --> 00:17:19,510 If you want to know more about this, you can check out the GPT-4 system card. 201 00:17:19,610 --> 00:17:25,890 This was a paper that we published along with the GPT-4 release a little bit over a year ago. 202 00:17:26,670 --> 00:17:36,510 And it walks through some, you know, sort of limitations, drawbacks of these models and also methodologies for testing, evaluating, and mitigating them. 203 00:17:37,030 --> 00:17:38,330 So, you can check that out. 204 00:17:41,630 --> 00:17:46,750 We can make some changes to the models themselves to make them more robust and resilient. 205 00:17:46,750 --> 00:17:52,750 So, we have a methodology called instruction following or reinforcement learning through human feedback. 206 00:17:52,750 --> 00:17:55,990 We're able to train in certain behaviors in the models. 207 00:17:55,990 --> 00:18:03,710 So, for example, one thing that we do is we train them to refuse to generate certain types of content if prompted for them. 208 00:18:03,910 --> 00:18:14,370 So, you know, if you're asking for things that violate, you know, policies or, you know, are harmful or, you know, against whatever policy you train into them, we can build some guardrails in the model. 209 00:18:14,970 --> 00:18:16,730 These guardrails are not a silver bullet. 210 00:18:16,730 --> 00:18:17,490 They're imperfect. 211 00:18:17,590 --> 00:18:22,830 They can be defeated with different techniques like jailbreaking and, you know, sort of prompt injection and things like that. 212 00:18:22,890 --> 00:18:25,190 But they do provide, you know, a layer of depth. 213 00:18:25,190 --> 00:18:29,370 And there's been a ton of great research into how to make these guardrails even better. 214 00:18:29,710 --> 00:18:38,030 There's a paper that we put out a few weeks ago on it's called Instruction Hierarchy, which is a new approach. 215 00:18:38,030 --> 00:18:43,030 And it was done by some great great work from our safety systems researchers at OpenAI, our colleagues there. 216 00:18:45,050 --> 00:18:47,590 And also from beyond our four walls, too. 217 00:18:47,590 --> 00:18:53,930 This is a topic that's sort of being actively explored by the community and I expect will continue to improve. 218 00:18:56,090 --> 00:19:03,070 And where sort of refusals and sort of the upfront mitigation doesn't work, sometimes you have to rely on good old-fashioned enforcement. 219 00:19:03,390 --> 00:19:04,830 And we do that, too. 220 00:19:05,030 --> 00:19:22,450 So earlier this year, we published a report that we did in collaboration with Microsoft's, with Mystic, their Threat Intelligence Center, where we were able to identify and disrupt five different state affiliated threat actors who were using AI for various purposes. 221 00:19:22,670 --> 00:19:30,370 And we published a pretty extensive blog post and then Microsoft published one, too, sort of on what we found, who the actors were, et cetera. 222 00:19:31,330 --> 00:19:36,410 And we've done some more work since then and we're going to keep doing this because we believe in it. 223 00:19:36,410 --> 00:19:42,150 And we're sharing these insights because we want the community to learn from what we're seeing, right? 224 00:19:42,150 --> 00:19:50,750 A more secure ecosystem is supported by information sharing and by collaboration and it's something that we're very happy to support and we believe in. 225 00:19:53,420 --> 00:19:54,040 All right. 226 00:19:54,040 --> 00:20:00,820 So, you know, presumably we're here at DEF CON, you all are hackers, you're all going to use these tools for different purposes. 227 00:20:00,820 --> 00:20:06,080 I wanted to impart some tips on how to, you know, use them responsibly. 228 00:20:06,120 --> 00:20:13,300 When I tell people that, you know, we use our tools within our security program, reaction either goes one or two ways. 229 00:20:13,300 --> 00:20:23,680 Other people think it's cool and they want to know more about it or that they're just like aghast that we could think about using a tool like a language model in a scenario like security. 230 00:20:24,100 --> 00:20:41,380 But we found that we're able to, you know, mitigate a lot of the downsides that you might come to expect with these tools through what we apply them to and how we constrain them so that we can capitalize on their upsides and also sort of have the guardrails around, 231 00:20:41,380 --> 00:20:47,740 you know, when they don't get things perfectly right or, you know, sort of work around the limitations here. 232 00:20:48,800 --> 00:20:57,280 So, the first tip is, oh, and by the way, just to put the accordingly. 233 00:20:57,540 --> 00:20:59,260 All the best practices still apply. 234 00:20:59,260 --> 00:21:01,860 So, that is what these recommendations are derived from. 235 00:21:02,140 --> 00:21:04,220 So, the first is, you know, sanitize your inputs. 236 00:21:04,340 --> 00:21:11,800 If you're taking input from a user and you're actuating against, like, you know, a system or sensitive data or things like that, think of it just like SQL, right? 237 00:21:11,800 --> 00:21:16,740 You wouldn't take raw SQL from, you know, one of your users and just, you know, execute it, right? 238 00:21:17,200 --> 00:21:22,200 You'd validate it, you'd sanitize it, you'd do something to make sure that it's safe to execute and constrain it. 239 00:21:22,200 --> 00:21:23,440 So, that's one. 240 00:21:23,920 --> 00:21:29,800 The second is we've found that these tools are useful and we can mitigate a lot of the downsides if we keep humans in the loop. 241 00:21:29,980 --> 00:21:38,080 So, many of the examples that I showed you earlier, the access manager example I told you about, the way that we are incorporating models into our incident response process. 242 00:21:38,160 --> 00:21:45,840 The model is able to do a lot of the legwork to remove the toil from the work, but we still have a security engineer who is validating the decisions the model's making. 243 00:21:45,840 --> 00:21:50,440 And in many cases, this is the one who's actually making the actuating decision on the back end of it. 244 00:21:50,440 --> 00:21:54,580 So, models assisting humans can be very, very powerful. 245 00:21:54,660 --> 00:22:01,980 It mitigates a lot of the risk of a model either, you know, hallucinating a wrong answer or, you know, getting something wrong. 246 00:22:02,580 --> 00:22:06,900 And the third is just remember that language models just aren't going to be the right tool for every job. 247 00:22:06,900 --> 00:22:09,180 So, don't try to force a square peg into a round hole. 248 00:22:09,380 --> 00:22:15,660 If your workflow requires being correct 100% of the time in an eyes-off way, language models are probably not the tool for you. 249 00:22:15,660 --> 00:22:16,480 At least not yet. 250 00:22:16,480 --> 00:22:20,440 Like, maybe they'll get better and they'll become fit for purpose for that one day. 251 00:22:20,440 --> 00:22:25,200 But just know your use case and design accordingly. 252 00:22:27,810 --> 00:22:36,750 Just to close, I'm going to take a quick look at what's coming to share what I've seen having been in this seat for the last four years. 253 00:22:37,930 --> 00:22:50,530 So, if we look back over different model families that have developed, whether it's GPT-3 to 4, as models have gotten bigger and more capable, new security capabilities have become unlocked as they've gotten. 254 00:22:50,910 --> 00:23:05,870 So, the way that I would characterize this is that while GPT-3 family of models had sort of knowledge they knew enough to be convincing, GPT-4 is where we actually saw the capabilities step up to the point where we could really start to use them and where things started getting very exciting. 255 00:23:06,670 --> 00:23:08,470 And I expect this will continue, right? 256 00:23:08,470 --> 00:23:13,630 I think what we learned this weekend is going to shed some light on this as well. 257 00:23:14,210 --> 00:23:20,770 Static analysis is sort of one of the security use cases that we haven't seen models become amazing at yet. 258 00:23:20,770 --> 00:23:23,970 And maybe this will be the step towards the next frontier. 259 00:23:23,970 --> 00:23:25,010 I'm very excited. 260 00:23:26,450 --> 00:23:30,590 At OpenAI, we are actively investing in security research. 261 00:23:30,590 --> 00:23:32,930 We do security research internally within our team. 262 00:23:32,930 --> 00:23:41,550 We also are looking to activate the security research community to work on what is this very important frontier of security research. 263 00:23:41,790 --> 00:24:00,010 So, to that end, we have our cyber security grant program where we're giving out in aggregate a million dollars and then API credits to security researchers who want to work on defensive research on defensive applications of LLMs and on AI security problems. 264 00:24:00,750 --> 00:24:13,050 And again, our mission here is really to empower defense, help get these tools, help understand their capabilities and get them in the hands of defenders, understand their limitations too. 265 00:24:13,050 --> 00:24:15,330 So, if you are interested, please apply. 266 00:24:15,550 --> 00:24:18,870 If you know anybody who might be interested, please tell them. 267 00:24:18,870 --> 00:24:22,450 And if you want to know more about this, I'll be hanging out here down here after. 268 00:24:22,450 --> 00:24:23,450 You can come talk to me. 269 00:24:27,350 --> 00:24:30,770 We're also deeply invested in protecting these tools. 270 00:24:30,910 --> 00:24:40,990 We believe that conventional security controls can enable robust defense, but this is a new form of software and we're looking wide in terms of all the tools you can bring to bear to protect them. 271 00:24:41,490 --> 00:24:43,350 So, we wrote a blog post on this that you can check out. 272 00:24:43,350 --> 00:24:52,490 It talks about things like trusted computing for GPUs, advances in data center security, and then some more policy support that we're excited about. 273 00:24:52,490 --> 00:25:00,590 Things like new compliance regimes and whatnot that together can give us some more tools in the quiver to protect language models. 274 00:25:01,810 --> 00:25:02,450 All right. 275 00:25:02,450 --> 00:25:03,630 So, we're almost at the end here. 276 00:25:03,630 --> 00:25:11,650 Just to recap, we've covered how language models can help security teams as illustrated by how we're using these tools within our program at OpenAI. 277 00:25:12,950 --> 00:25:20,330 I hope this has given you some ideas if you work on a security team to bring back and start to think about how you might be able to get some leverage out of these tools. 278 00:25:21,330 --> 00:25:23,650 And remember, we're just at the beginning, right? 279 00:25:23,770 --> 00:25:28,210 The space is moving so fast that everything that we just covered could be disrupted. 280 00:25:28,330 --> 00:25:33,990 And I expect it will, because the research community is very, very involved. 281 00:25:33,990 --> 00:25:38,190 And we've just seen so much growth in the last couple years. 282 00:25:38,190 --> 00:25:40,130 GPT-3 came out in 2020, right? 283 00:25:40,130 --> 00:25:43,970 It feels like it's been around forever, but that was only four years ago. 284 00:25:44,170 --> 00:25:46,950 So, stay tuned. 285 00:25:48,190 --> 00:25:51,450 I want to end by acknowledging my team at OpenAI. 286 00:25:51,450 --> 00:25:56,530 I am so fortunate to be associated with not just the people here, but the entire team. 287 00:25:58,370 --> 00:26:02,230 I'm in it to be able to serve them in the small way that I can. 288 00:26:02,550 --> 00:26:03,770 We're also hiring. 289 00:26:03,770 --> 00:26:10,590 So, if you're, you know, looking for a job, you want to come work on AI and security, please consider applying. 290 00:26:11,050 --> 00:26:20,510 I also want to give a shout out to Mystic for their collaboration on the disruption work and all of our cyber grant program participants for working with us on this. 291 00:26:21,290 --> 00:26:22,330 Thanks a lot. 292 00:26:22,350 --> 00:26:23,810 I'll be down here if you want to talk. 293 00:26:23,810 --> 00:26:24,850 Enjoy DEF CON. 294 00:26:24,850 --> 00:26:25,510 Thanks, everybody.