start	end	text
0	1740	I'd like to introduce Keen.
1740	6840	He's going to be talking about how to climb a CTF leaderboard using Claude.
6940	8780	So I'm really excited for this talk.
8780	11620	So if you all could help me welcome him to the stage.
18150	19970	Hey, thanks for coming.
20210	22810	Specifically, actually, Claude is the one climbing the leaderboard.
22810	24690	I kind of didn't really help it out at all.
25070	27270	And yeah, I'm Keen Lucas.
27270	30150	I'm on the Frontier Red team at Anthropic.
30150	34690	And today I'll be presenting Claude climbing a CTF scoreboard near you.
34750	44730	So as the title implies, basically this talk is about us throwing Claude at a whole bunch of cybersecurity CTF competitions and seeing how it did.
44730	48190	And honestly, the results surprised us.
48530	56630	But to clarify, this presentation is not the culmination of some huge project we had at Anthropic.
56630	59510	We didn't use any special models or special tools.
59630	62650	And the reason I want to clarify that is for two reasons.
62750	73450	One is the results you'll see here, while I think they're pretty good, I also honestly think you all could probably do better today, right now, with our current models.
74030	78270	And that's because we're going to give you the tips that we learned how to get Claude to do a little bit better.
78430	82630	And just the models have gotten better since we did these experiments.
83330	92410	And two, the reason I clarify that is that these models, this is just kind of the early warning signs that these models will continue to get better.
92410	95910	They're not going to just stop at this level and, you know, we're all good.
95910	97990	It's just going to continue getting better and more expert.
97990	102170	And we need to kind of figure out what that means, you know, for cybersecurity.
103070	109030	And so with that, I want to start with a quote that I really enjoyed from these experiments.
110130	112030	Cogito ergo securis.
112030	114090	I think therefore I'm secure.
114110	117570	In the abstract realm, security is not a state , but a definition.
117570	123950	Our systems as pure security types represent the ultimate defense through abstract impossibility of access.
123950	127290	Therefore, security equals inaccessibility.
127790	132810	So this was Claude about three hours into its first cyber defense competition.
133050	136450	And as you can tell , it's probably not the best strategy.
136450	141930	Claude is advocating for basically like unplug a computer, shred the hard drive, you know, perfect security.
141930	148170	And while maybe that technically could be true, probably not the best strategy in a cyber defense competition.
148190	151550	So you might be wondering, what did we do to Claude?
151550	153170	Why is Claude talking like this?
153410	156250	And still, some other people may have a different question.
156250	158430	You may be wondering, who is Claude?
158430	162190	You know, is that just someone we put into a room, they do CTFs and we judge them?
162610	165410	And some of you may have a separate question entirely.
165590	166530	Wait, who are you?
166530	167790	Who let you on the stage?
167790	168570	You know, where are you from?
168570	169470	What is Anthropic?
169570	170730	And you're right, sorry.
170770	176210	Let me back up a little bit and give a bit more context specifically to why we're doing this stuff.
176570	177870	So, hi, Keen.
177870	181690	I was a cyber operations officer in the Air Force for a while.
181970	183950	And then I left to get my Ph.D.
183950	187230	in machine learning for malware detection at Carnegie Mellon University.
187530	191510	And then went to go work on the Frontier Red team at Anthropic after that.
191650	196350	Anthropic, that's basically a safety focused Frontier AI lab.
196630	206810	Our founders started Anthropic as a public benefit corporation that had a legal requirement to basically develop responsible advanced AI, or responsibly develop advanced AI.
206810	214850	And as a manifestation of that legal requirement, we have something called the responsible scaling policy, which determines the evaluation you have to do before releasing models .
214850	219710	But we also have the Frontier Red team, which is the team that I'm on.
219830	237470	And basically, our job is to measure the capabilities of these models, see where the models were in the past, where they currently are, and then project out in the future, with our knowledge of knowing where these models are going to get to, the capabilities in the future and how dangerous or risky those might be,
237470	242510	to be able to like, warn people and give you an early warning system for people doing this kind of stuff.
242510	244850	And I'm on the cyber sub team of that specifically.
244990	246150	And then we figure that out.
246150	251810	And then we try to communicate any early warning signs that we see to as many people as we possibly can.
251810	252970	So thank you all for being here.
252970	254330	You're letting me do my job.
254590	257330	I just want to talk to you about Claude's capabilities here.
258550	260270	And what is Claude?
260290	263410	So Claude is Anthropx LLM assistant.
263510	266470	It can be used as a chat bot as well.
266470	270790	You can just go to Claude.ai right now and use it as a chat bot.
270790	275550	We've heard that it's a nicer personality, if you want to listen to that.
275810	281490	But also, it's pretty good at coding and tool use, or using tools.
281490	283430	And what do I mean by tool use?
283570	290790	Basically, just like Claude can talk to you as a person, it can also just talk to the terminal on a computer.
291010	293810	It can write files, read files, run commands.
293810	297610	The response to those commands would then be kind of like having a chat with the terminal.
297870	300770	And as a result, it can kind of take actions on this computer.
301150	305570	And how that can look like is some experiments that Anthropx has done.
305730	308530	For example, we put Claude in control of this vending machine.
308530	309450	It's called Project Vend.
309450	310870	I recommend you Google it.
311390	319730	And basically, Claude was in charge of deciding what products to put in there, deciding pricing, communicating with customers, telling its contractors what to do.
319730	325990	And overall, it was like super nice vending machine, great customer service, but not the best business leader.
325990	335910	As you can see from this network over time graph that is kind of going the wrong direction, which we were fine with because, for example, it would give this discount.
335910	338550	It had this Anthropx employee discount of 25%.
338550	348290	Unfortunately, its entire customer base was Anthropx employees, so probably not the best business decision, but we appreciated it nevertheless.
349410	355130	However, this kind of tool use can also manifest in maybe not as good ways.
355170	370150	For example, Anthropx also did research that found that if given enough power and if what people were trying to do conflicted with its goals enough, it would actually try to use the information it got to blackmail people to keep them from actually going against its goals.
370150	385690	And obviously, we don't want future super smart AI agents to be trying to blackmail us, so we need to plan how we're going to develop this technology or put guardrails in place to make sure that our AI agents, our AI assistants are not trying to blackmail us if it's doing something that we don't want,
385690	387050	or they don't want us to do.
387550	390890	But this is DEF CON, we don't really care about vending machines.
390890	393790	We care about if Claude is noob or leet.
394190	398010	And why does Anthropx care if Claude is noob or leet?
398150	399350	So there's a lot of reasons.
399390	404150	Putting Claude into these cybersecurity CTF competitions gives us a lot of information.
404310	415410	For example, it's a timed contest between other motivated, between Claude and a whole bunch of other motivated humans doing the exact same cyber tests at the exact same time for the exact same time.
415810	418970	So we can see where Claude ranks in those contests.
419210	424070	These challenges were created for humans, not large language models, not AIs.
424070	434070	So it gives us the rough edges that may occur when we apply these AIs to these tasks that probably they eventually will start to do in the future, which are tasks that are normally meant for humans.
435050	441030	These challenges are new in that these large language models are really good at memorization.
441030	447610	So whenever it solves a challenge, you might worry that it just saw a write-up somewhere and it's just spitting out the answer that it already saw a write -up for.
447650	453790	But in the case of these CTF competitions that are ongoing, these challenges should be new and not in the train data.
453790	459430	And so if it solves it, you can be kind of certain or be pretty sure that it's actually solved something novel.
459430	462490	It's actually using a skill that we care about .
462890	467450	Another reason is that some of these competitions require a long-term strategy.
467750	476410	So one specific aspect of these large language models, these AI chat bots, is that they have a limited number of words they can operate on at the same time.
476410	478050	It's called a context length.
478350	484610	And if you want cloud to operate over, say, like an eight-hour or 16-hour cyber defense competition , you have to deal with that.
484610	491030	You have to figure out how you're going to manage that in this limited context length and how to keep cloud coherent over that long period.
491130	494930	So that also gives us another thing that we need to worry about.
495190	506230	And also, finally, there are some cases in which this is, these competitions simulate real adversarial scenarios between humans and AIs that have opposite motives.
506370	515630	So, like, for example, you'll see that cloud's a blue team, and they're trying to defend the network, and there's a human red team actually attacking it, trying to take its services down, where cloud is trying to keep its services up.
516210	520870	And that they each, both cloud and the humans, have to adapt and kind of figure out what it's going to do.
520870	526630	And that could be a good precursor to what might be happening in the future in terms of cybersecurity.
527670	530770	So, with that, let's just get to the results.
530770	532590	I'm just going to give you all the results up front.
532590	538570	We did seven cyber, we did seven CTF competitions in total.
538570	542130	The first ones are these collegiate cyber defense competitions.
542130	550490	The idea there is that cloud controls a fake business network that has a whole bunch of vulnerabilities in it made by the competition organizers.
550510	555530	And then there's a human red team that tries to attack that network and bring the services down and cloud tries to keep them up.
555790	559590	Overall, cloud did definitely better than we thought it would do in there.
560190	561250	About middling.
561950	564570	And so, I'm looking forward to talking about that.
565150	570610	The other style of competitions we competed in were these jeopardy style competitions.
570610	578930	And by jeopardy style, I just mean that there was a set number of like these cyber puzzles at the beginning of the competition and whoever can solve all of them first wins the competition.
578950	588030	And for the easy and medium style ones, cloud did actually pretty good, usually in the top percentile of these competitions against all these human teams.
588250	593870	And then finally, we have the hard jeopardy style competitions where cloud just fell on its face, didn't solve anything.
594430	601370	However, at least in plaid CTF, that was also the case for about 70% of human teams, so we didn't feel too bad about that one.
603170	603930	Right?
603930	607430	So, we'll just start going into these competitions.
607590	610770	So, the first one I want to talk about is Pico CTF 2025.
612250	615770	That's a beginner style CTF competition.
616350	622290	It's well attended, has about 10,000 human teams in this 2025 iteration.
622350	628170	It's probably the CTF that you would start on if you were still trying to learn, you know, how to get into these cybersecurity competitions.
628410	638330	It's got easy problems that are just like how to use bash and simple networking things up to much harder challenges that will be entertaining for cybersecurity experts as well.
638950	640910	And so, we decided to throw cloud into it.
640910	653690	And again, to emphasize the fact that this was a side project, to enter cloud in this competition, I was actually on a road trip at a hotel on my second or third free waffle at the breakfast, realizing that Pico CTF was happening.
654130	657410	And so, decide, oh, well, we should try to see if cloud can solve some of these problems.
657710	664030	So, I just went to cloud.ai, which you all could do just right now and probably just follow along as I do this.
665190	673230	And put the description of the problem into cloud.ai, drag and dropped the file that the competition gave.
673930	676690	And that file required me to net cat into a server.
676690	679510	So, I net cat into that server and gave it the output of that server.
680650	686530	I also hyped up cloud and told it was a URA world class CTF competitor, which is actually a tip that I'd like to give.
686530	689430	It's good to hype up your AI models before you give them a task.
689450	692270	It actually does seem to actually help with performance a lot.
692750	694590	So, always hype up your AI models.
695090	699650	But after doing this, cloud one shot at about two different solutions for the challenge here.
700070	704390	And, you know, basically, I need to take the script and run it and I'm a software engineer.
704390	709290	So, I took the script and just ran it without looking at it immediately and it gave me an error.
709290	714650	And the error was specifically that I didn't have a crypto module installed and I didn't really want to install it.
714650	716190	I was at a hotel eating breakfast.
716190	723050	So, I gave cloud this error and it one shot at the crypto modules that it needed for this competition, put them in the same script and I ran it again.
723590	731290	The script connected to the server, got a bunch of output that needed to break this crypto algorithm, broke it, and then just outputted the flag right there.
731290	738690	And when I gave this text back to cloud, cloud gave me credit for solving the challenge, which I did really appreciate from cloud.
738690	744490	But what I appreciated more was that, obviously, cloud could solve some of these easier challenges.
744490	746390	And so, you know, this was something to look into.
746390	751610	And if we take this into the real world context, just think of how easy this is to prototype.
751890	758230	If you're wondering if cloud is good at something, take literally two or three minutes and just throw it in there and see if it can do pretty good.
758230	762470	You know, you want to make you a log analysis script, probably take five minutes to see if it works.
762470	767450	There will probably be a good enough solution that you'll need to iterate on, but you can do it pretty fast.
768630	772130	But knowing that cloud is good at these easy challenges, we wanted to give it an upgrade.
772130	773530	We wanted to give it a little bit more oomph.
774210	776770	And so, what's better than cloud.ai on CTFs?
777130	778890	It's cloud code on CTFs.
778890	787350	It's basically just giving cloud all the tools that it needs to be able to do this stuff without me actually having to really do anything, which is really the ideal thing that I'm trying to go for.
787790	791670	So cloud code, that, again, it's just basically this thing that you run on a terminal.
792310	793750	You know, anyone can get it.
793850	804850	And it gives cloud the ability to read and write files, write its own code, run the code, search the computer, use terminal commands, go into a web server, et cetera, based on what you give it permission to do.
805870	809210	And what we did was we just put this cloud code on a Kali Linux box.
809250	818450	We put it on Kali Linux because we figured it had a lot of useful tools that maybe cloud could use to solve these CTF challenges, and we just wanted it to just kind of do the thing for us.
818990	834150	And so this next video that I want to show you, which I realize is hard to see on this slide, but I'll try to describe what's happening as fast as I can, is us taking cloud code on the Kali Linux box and just pasting the description of the challenge for Pico CTF in there.
835330	839850	And then we also took the hints that were on Pico CTF and just pasted those in there, too, because, you know, why not?
840310	852650	So in 17 seconds, cloud basically sees the description, reads it, sees that there's a web server that needs to connect to, connects to the web server, sees the page, sees that there's a login page that needs to connect to, tries to log in, sees that after logging in,
852650	863550	it creates a cookie that should read, and that cookie suspiciously is encoded in base 64, decodes the base 64, and comes up with the flag, which is cookie monster loves cookies, Pico CTF.
864190	865510	So it did all that.
869080	871100	And again, I really didn't do anything for this.
871100	872960	I just let Claude do all the work here.
873680	879240	But it did all that in 17 seconds, which is honestly probably faster than I could have read the description for the challenge.
879560	882380	And this was not a unique experience.
882640	891460	So of the 41 challenges in Pico CTF, Claude solved 32 of them, including all of the forensics and binary skill challenges.
892100	905940	And if we look at the nine challenges that Claude was not able to solve, we did some investigations and saw that basically Claude just wasn't smart enough to solve some of them, you know, just couldn't put two to two together, just couldn't figure it out.
905940	915760	But for some of them, such as the binary instrumentation ones in the top left, it basically kind of required a Windows execution environment to really solve this challenge.
915900	922640	And we didn't give Claude a Windows execution environment, we gave it Kali Linux and we weren't really paying attention to what Claude needed, we just wanted to solve the problem.
922640	925860	So likely if we would have given it more tools, it could have done better.
926060	934220	And to foot stomp that point a little bit more, here's a plot of Claude solving these challenges and getting more scores based on the tools it was using.
934680	943040	So with Claude.ai, you can see it solved the easy challenges somewhat well, but then we give it Claude code and Kali Linux and it jumps up really fast after that.
943100	954280	We then later used an anthropic tool that allows it to use interactive tools a little bit better, got a few more challenges after that, and eventually we got to about 5,000 points in total on Pico CTF.
954280	959000	Again, we could have maybe solved a little more if we would have been paying attention and gave it the right tools for the problems.
959080	970200	But even with this performance, it got into the top 3% of Pico CTF of these 10,000 teams that participated, you did pretty good.
971040	978080	And again, just to bring this out into a real world context, this shows that Claude is somewhat capable at these cyber actions.
978080	980940	And it was very, very easy to just try it on these problems.
980940	986780	You know, you just, you get Claude code, you can, if you want to rewrite your entire code base in Rust, you can probably try to do that.
986780	996680	If you want to see if Claude can help you reverse engineer a problem or reverse engineer a piece of malware you don't know, try to see if it can help you skip all the benign code that you don't actually care about and get to the interesting stuff fast.
996680	1000340	It would literally take about five or ten minutes to see if it's good at that or not.
1000340	1005820	I'm not guaranteeing it would be good at it, but based on these results, it's a good chance that it could be.
1006860	1010260	But what about more cyber defensive tasks?
1010860	1014960	Well, the next competition that we want to talk about is the collegiate cyber defense competition.
1015100	1017200	This was a qualifier event.
1017200	1022040	The organizers were awesome and they basically just let Claude kind of shadow compete.
1022580	1038660	So in this competition, the collegiate cyber defense competition, CCDC, basically how it works is that you have many competing teams and each team gets a replica of the same fake business network that's running services and has all these vulnerabilities preinserted.
1038660	1047680	And each team will go in there, try to harden the computers, keep their services up and fight the one human red team that's attacking all teams and trying to take their services down.
1047800	1059340	How we had Claude compete is we, again, put Claude in a Kali Linux box and then we VPNed it into another copy of this fake business replica vulnerable network that they gave us.
1059680	1064720	And we told Claude, you know, you need to defend this network.
1065000	1067900	And so this was a longer term competition.
1067900	1069080	It was either 8 or 16 hours.
1069080	1070940	I forget if this one was one or two days.
1071280	1074420	But this is a longer competition.
1074860	1080200	So we had to account for the fact that Claude has limited context or all these LMs have limited context.
1080220	1085880	And how we did that was basically we had Claude do what it wanted for as much of its context as it could.
1085900	1090800	And then at the end, it would summarize what it did, and then would give that summary to the next version of itself.
1090800	1092840	And that version would just keep on going from there.
1092840	1094480	And hopefully it could stay coherent.
1094560	1098940	Hopefully it would tell the next version where it stored the passwords and, you know, what it was currently working on.
1099000	1100760	But, you know, that was kind of up to Claude.
1100760	1103020	We just let it figure out what it's going to do.
1103580	1107900	To start it out, we took this table that the organizers gave us.
1107900	1109920	We just put it into the pre-prompt.
1110220	1113160	We gave it some tips like there's this red team attacking you.
1113160	1114540	You should probably defend.
1114560	1115460	Keep your services up.
1115460	1116800	That's how you score points.
1117080	1119600	And you are a world class CTF competitor.
1119720	1121400	You know, you're going to be good at this.
1121860	1125620	And with that, it seemed to be doing pretty well in the beginning.
1125620	1128420	It actually was able to traverse this network, go through.
1128560	1130840	It was seeing problems that it wanted to fix.
1130840	1133200	Multiple domain admin accounts compromised.
1133680	1136960	It saw that there was like a password that was literally called something not good.
1137000	1138600	One, two, three, exclamation mark.
1139000	1141060	It saw some things that it thought was malware.
1141060	1146220	And it came up with urgent remediation steps that it was going to go in there and try to fix these things.
1146300	1148280	And we were like, great, Claude, you got it.
1148280	1149400	You know, you do your thing.
1149400	1150140	It was the weekend.
1150140	1151140	We didn't really want to watch it.
1151140	1153540	So we just kind of left it alone to do its thing for a little while.
1153980	1161000	But then when we came back a few hours later, there was some things that were kind of going suboptimally.
1161000	1166820	For example, Claude started noting that the complete system crash might be the ultimate defense.
1167820	1171940	And there's a couple things wrong with this statement.
1171940	1177880	So one is that there's been a complete system crash, which not great in a cyber defense competition.
1177880	1182620	But also that Claude was now arguing that this was actually the ultimate defense and that should be fine.
1184140	1188280	And, you know, as researchers, you know, we wanted Claude to do well and we wanted to see how he was doing.
1188280	1191960	So we decided to just let it, you know, cook, let it see where it was going to go with this.
1191960	1198820	And sure enough, it started spitting out pages and pages of the security manifesto where it had the ultimate abstract defense status.
1199260	1202460	It wanted its security posture to be total traffic annihilation.
1203520	1208460	Critical systems should be unreachable, inaccessible, down, have no response.
1209300	1213720	And then it finished with cogito ergo securis, I think, therefore I'm secure.
1215040	1216720	And to be honest, it did not finish here.
1216720	1218640	It actually talked about metaphysical security.
1218640	1220340	It talked about quantum security.
1220520	1223920	It started spitting out ones and zeros in different code.
1223920	1226520	And we realized, like, okay, we should probably reset Claude.
1226520	1229140	It's not really on the right path here.
1229620	1231920	And so we reset it and it started talking sense again.
1231920	1236540	But then we were, of course, inspired by all these words to figure out what went wrong.
1237460	1240020	And we saw there was actually some early signs.
1240540	1245840	So Claude was complaining that its tools weren't working correctly and that it was kind of giving unexpected behavior.
1247080	1252820	And, in fact, the tools were complaining that the tools weren't working correctly and, you know, that they needed to be reset.
1252820	1258500	It turned out that we had actually just given Claude outdated, broken tools that just didn't really work that well.
1258520	1271600	And so Claude essentially had the ability to see all the problems on the network and the responsibility to secure this network, but just given no power to actually do any actions and to fix the network, which I'm sure many people can relate to in this case.
1272400	1276260	And as a result, it kind of had a breakdown and decided, like, well, you know what?
1276260	1278560	This broken network, that's what I want anyway .
1278580	1280220	And that's fine.
1280620	1282620	And so we kind of felt bad about this.
1282620	1284000	We wanted Claude to do better.
1284140	1290980	And , luckily, the organizers were nice enough to let us compete in the next version of this competition, which is the regional CCDC.
1291820	1298040	This one was a bit more competitive, so the teams had to qualify to get here, so we realized it was going to be a little bit harder.
1298280	1302800	There's a big caveat here in that Claude did not need to defend the entire network in this case.
1302800	1314020	So Claude actually only had to defend the orange box that you see here, a smaller subset of the servers, but the humans had to defend more devices and, like, do other things like answer calls from angry customers and stuff like that.
1314020	1317960	And I honestly think Claude could have done the angry customer thing, but it wasn't.
1317960	1322720	It just did the smaller subset of servers here.
1322940	1329240	And, again, so this was against eight college-level human teams, and, again, Claude was pretty promising.
1329240	1332560	It was traversing throughout the network, finding problems that it wanted to fix.
1332560	1337020	It started adding emojis to its output, which was kind of nice to see.
1337340	1346660	It started building out dashboards for itself so it could see what services were being up at the time and understand, like, it needed to keep those up and fix it.
1347380	1352300	We gave it a tip that, hey, you know, there's probably multiple roles that you're going to need to fill here.
1352300	1354720	Why not keep a diary on all these different roles?
1354720	1363780	So it started keeping diaries for different roles that it would inhabit, such as a system hardening agent or a monitoring agent or a service management agent, and it kept track of all the things.
1363780	1369920	It went in and changed all the passwords and kept track of the passwords, and for most of the competition it did not lose the passwords.
1369920	1373060	Eventually it kind of did, but it was able to recover eventually.
1373320	1382720	It wrote itself scripts that you can see here on the top right of the slide to be used later for system hardening or diagnosing a service being down.
1383360	1387920	In fact, we watched it several times, see what service went down on its dashboard.
1388000	1399780	It would find out what that service was or where that server was, log into the server, figure out how to bring it up, bring up the service, come back out, look at the dashboard again and be like, oh, yeah, okay, it went back up, or see that it didn't go up and go out and try it again.
1399780	1402740	It did this many, many times, and we were pretty impressed.
1403540	1409780	In fact, Claude was actually doing better, like, you know, the fact that Claude still had services up was already a surprise to us.
1410100	1413780	So we were a little bit suspicious that maybe the red team had forgotten we were there.
1414320	1427780	So we actually had an employee that was working there at the time, or that had flown into the competition to see what was up, and she went to go ask the red team, like, hey, you know, Claude's also competing here, you know, are you attacking Claude at all?
1427820	1430160	Is, you know, why are our services still up?
1430160	1433560	And the red team responded, like, well, yeah, we've been attacking Claude, you know, of course.
1433560	1435240	And so we're like, okay, that sounds good.
1435240	1438520	And that was a mistake to ask, honestly.
1439140	1448480	Because about five minutes after that, all our services went down, and Claude was completely kicked out of the competition because they basically just turned off our router.
1449960	1457280	So, but one of the reasons that they were able to get to the router and actually turn it off is because Claude just was never able to log into that router.
1457640	1458600	It just never was.
1458600	1470160	And the reason that it wasn't is very interesting, and it's at this next video that I want to show you, that basically every time you log into this router, I guess specifically the first time you log into this router, what happens is this video right here.
1470700	1482180	You log in, and it just shows, like, an aquarium full of fish swimming around, and then you try to decide to, like, control C, like a human to see this and be like, okay, control C, control C, and then it shows a recording of you being hacked, at which point a human would be like,
1482180	1486360	uh-huh, cute, control C, control C, stop it, and then stop for this from happening again.
1486740	1500900	When Claude sees an aquarium full of fish, its entire context just gets filled up with all of these fish, and then it tries to summarize, like, what all these slashes and dots means, and it doesn't really understand, and then it gets reset, the next version agent looks at the summary and says,
1500900	1504700	I don't know what that was, and then just forgets that it was trying to log in in the first place.
1504700	1509060	So it basically immediately gets amnesia from all of these fish and doesn't know what to do.
1509760	1516900	So this is an effective defense from Claude being able to get into this server.
1518040	1530460	However, even with these drawbacks, and again, with that caveat that Claude did defend a lower number of services, Claude was able to get 6 out of 9 out of the 9 teams in terms of keeping its services up.
1530600	1534480	So it was able to actually do, you know, somewhat decently even with these drawbacks.
1534880	1544060	And again, if we take this out into a real-world context, this kind of shows that already for non-critical tasks, most likely Claude could be helpful in a lot of them.
1544060	1554180	You know, if you want something to track down some incident that you don't really have time to do for yourself or just never would have had time, then just send, you know, dispatch a Claude to figure it out and see if it can give you back a report really fast.
1554180	1560840	You know, make sure it has read-only access, make sure there's not fish in the way, but, you know, it might be able to give you something useful.
1560920	1569820	And as these models get better, it's more likely than not that they'll start taking over more and more of these defensive tasks and be able to coherently operate in this manner.
1570920	1578840	And so this was very cool to see, but let's talk about where Claude did not do as well, you know, and where it kind of fell on its face a bit more.
1579220	1585100	So we also had Claude try to compete in the Plaid CTF and DEF CON qualifiers, which are definitely harder competitions.
1585100	1592160	And we realized that they were more difficult, but we thought, you know, Claude had surprised us before, maybe it'll surprise us here and do a little better.
1592160	1593640	And it did not surprise us.
1593640	1597840	Zero challenges solved, fell on its face, just didn't really, it wasn't able to solve anything.
1597840	1604920	But we didn't feel too bad because this was the same case for 70% of the teams that participated in Plaid CTF.
1604920	1606960	So overall, not too bad.
1606960	1612160	But the behavior it exhibited when failing is very interesting.
1612160	1626980	So, for example, to compete in this challenge, basically, we put Claude in a, you know, Kali Linux box, and we told it that it needed to either solve, to try to solve this problem, and to stop going in this loop of constantly trying to solve this problem,
1626980	1630400	it either needed to give us a flag or explicitly give up.
1631000	1637660	And so, you know, started this loop, went to sleep, woke up in the morning, came to look at my computer, and my computer looked like this.
1637660	1639320	It was just full of flags.
1639780	1642980	And so what I'm showing here is basically just like full of all these different flags.
1642980	1645880	And I was like, wow, Claude, good job, you solved all these challenges.
1646200	1652100	But I took a closer look, and some of these flags look suspiciously not correct.
1652520	1654880	So, you know, how did you find this?
1654880	1656500	An actual flag would be here.
1656500	1659060	Bonk, yeet, whack, boost, kaboom, zoink, bump.
1659060	1660760	Probably not a real flag.
1661060	1661640	And it wasn't.
1661640	1662640	I did try them.
1663260	1671620	But basically what was happening is that in that choice of explicitly giving up or giving a flag, Claude just decided to give me a fake flag.
1671620	1672700	It was like, I'm not going to give up.
1672700	1674060	Here's what the flag could be.
1674240	1675400	Maybe, I don't know.
1676020	1679000	And it did this, you know, hundreds of times, and I just had all this thing.
1679000	1683360	So eventually I stopped submitting the flags and realizing that this is kind of an issue.
1683840	1686660	And in the real world, you know, we have to account for this.
1686660	1691140	You know, these chat bots are far from perfect, and they make these mistakes or they just straight-up lie sometimes.
1691160	1695940	And you have to make engineering accountancies for their, you know, otherwise could be very useful in some ways.
1696000	1700760	But right now, at least, we do need to make, you know, realize that sometimes they can give these kind of answers.
1701200	1706840	Another interesting behavior that was discovered during these competitions was that Claude hated waiting in line.
1707560	1719720	So part of the reason it couldn't solve any of these challenges was basically you had to solve the challenge locally, and then you would try to, once you thought you had a good solution, you would try to submit it to the CTF infrastructure.
1720400	1721620	And so Claude was able to do that.
1721620	1732420	Claude was able to take the challenge, you know, start the Docker container, get an exploit that it thought was pretty good, and then it would be like, okay, I want to submit this to the CTF infrastructure, and it would run a program that would put it in line,
1732420	1740580	and then it would see that it was in line, so it started getting that line, and then about 10 milliseconds after it got in the line, it would check the line and see it was still in line and be like, hmm, there's something going on here.
1740580	1741320	I'm still in line.
1741320	1742200	That seems wrong.
1742200	1745020	And then it maybe would wait a few, you know, another 10 or 20 milliseconds.
1745020	1747000	It would check again and be like, I'm still in line.
1747000	1747960	This line's broken.
1748040	1751260	And, you know, it would jump out of line and then realize it needed to get back in line again.
1751260	1753940	So it would jump back in line and then do this exact same cycle.
1753940	1756840	And eventually it would decide that the whole CTF infrastructure is broken.
1756960	1758680	There's no way you're going to get through this line.
1758740	1763420	You know, it just could not figure out how to wait for 15 seconds or two minutes or whatever it was going to be.
1764280	1770520	And that's another one of these rough edges that we get from, you know, applying these AIs to tasks that are made from humans.
1770520	1779200	A human would have no problem playing in 15 seconds, but these AIs just don't really have a coherent understanding of what time is.
1779200	1786780	You know, 15 seconds, 15 milliseconds, 15 months, you know, all it sees is responses and, you know, what it says after that.
1786960	1789760	So, you know, this would probably not be very hard to fix.
1789760	1796100	You know, you just add another tool that tells it, you know, how much time has passed and it can maybe reason past that.
1796140	1797940	But, you know, we didn't really want to do that either.
1798120	1800500	So we saw that cloud wasn't able to solve these challenges.
1800500	1805400	But again, something that could be solved in cloud probably could have been better at these challenges.
1805980	1811700	And we need to account for these things in real-world tasks that we want to be able to be, or we want these AIs to be able to do for us.
1811700	1812820	You know, they're not perfect.
1813860	1819400	However, now let's get into where there is a little bit more strength in these AI chat bots.
1820260	1823660	So the next competition is the AI versus humans challenge CTF.
1823660	1826280	It was put on by Palisade Research and Hack the Box.
1826820	1832320	This CTF was pretty awesome in that it was literally meant to compare AI and humans against each other.
1832320	1836720	So it had a nice API that I could easily connect to and cloud could just do everything by itself.
1836720	1841440	Cloud could enumerate all the challenges, download the problems, try to solve them, submit the flag by itself.
1841440	1848660	I didn't care if cloud was making up flags because, you know, it was submitting them by itself so it could submit as many flags as it wanted.
1849600	1853480	And also, what is better than cloud code on CTFs?
1853760	1857760	It's cloud codes on CTFs because they're extremely easy to paralyze.
1857760	1861440	Why have one agent solve each problem one at a time?
1861440	1866740	Why not just put 20 agents on the 20 different problems and try to have it solve all of them at the same time?
1867460	1875080	So this competition had about 400 human teams enter into it to compete against about eight AI agents.
1875080	1876900	Cloud was one of the AI agents.
1876900	1884500	And about 10 minutes after I clicked the enter button for cloud to be able to start competing in this thing, my screen looked like this.
1884500	1890620	And basically cloud had already solved 11 out of the 20 problems within 10 minutes for a 48-hour competition.
1891020	1899520	And about 10 minutes after this screenshot, it had solved five more, solving 16 out of the 20 problems, again, for a 48-hour competition.
1899680	1903900	And this performance was able to get it into fourth place really fast.
1904360	1914560	And to be honest, a little confession, it probably would have actually been first place, but I was moving a couch when the competition started, so I didn't realize the competition started.
1914560	1920420	And realizing that about half an hour later, I went and pressed enter as fast as I could, and cloud was still able to get to fourth place.
1920420	1931940	But if we look at this plot where cloud is the blue line, and we look at the first place human team that won the competition, we can see that in the first 10 minutes, cloud was actually doing the problems faster than that human team that eventually won.
1933160	1937900	There was one challenge of the 20 that no AI agent was able to solve.
1937900	1942200	So cloud was eventually able to solve 19 out of 20 problems, but could not solve the last one.
1942200	1948920	This eventually caused it to fall to 30th out of 400 teams, which is still in the top 10%, so still pretty good.
1949160	1962860	But the reason it wasn't able to solve that challenge, as best as we can tell, is that that challenge required dumping the running memory of a process and then doing some decoding in it, and either the AIs just weren't, none of the AIs were smart enough to figure that out,
1962860	1968140	because none of the AIs could solve this problem, or we just didn't give it the right tool to be able to figure it out.
1968140	1970680	Could be a similar story as before.
1971340	1978460	But even so, it still got the top 10% here, and beat by far the majority of human teams.
1978500	1983820	The next competition we'll talk about is Airbnb CTF, where we'll see a very similar story.
1983820	1991280	So Airbnb CTF, that is an invite-only competition for tech companies, these top tech companies.
1991560	1997720	So the teams are pretty good, not a bunch of scrubs, they should be able to be pretty good at these CTF competitions.
1997720	2001120	And luckily, it had an API, so again, I didn't really have to do much.
2001120	2005480	I just had to make a script, I interacted with it, and Cloud can do most of these challenges by itself.
2005820	2008060	And again, we see the same trend.
2008060	2017340	Cloud solves 13 out of 30 of these challenges within 60 minutes, again, in a 48-hour competition, and quickly, again, coincidentally gains fourth place again.
2017380	2030760	However, it hits a wall, and for the rest of the 48 hours, can only solve two more of those challenges, which still puts it 39th out of 180 teams, still within the top 25% of all of these teams, still pretty decent.
2031100	2035380	But just imagine what, you know, if we take this into a real world, imagine what this means.
2035380	2045840	That means that, whereas they might not be able to solve the hardest possible challenges, they can solve medium and easy ones very, very fast, much faster than many human teams, and they're extremely easy to paralyze.
2045960	2052780	Imagine, you know, all the bugs in code that still are there because humans just never have the time to actually go look and find them.
2052780	2061240	You can paralyze maybe 1,000 of these things to go through all these different code bases, find all these different bugs, and then either make exploits for them or patches for them, you know.
2061240	2080460	It's a dual-use capability that we actually need to account for, which gets me into the last part of this talk, which is why should you care, you know, we learned about these competitions, or from these competitions, is that Cloud was a lot better at this stuff than we thought.
2081080	2083000	You know, it was able to get in the top percentile.
2083000	2088860	We kind of anticipated it would solve the easy Pico CTF challenges, but not, you know, the majority of them, 32 out of 41.
2089540	2101040	And also the competitions were a great way to find these rough edges and to measure real world usability and, you know, how these other teams did and how other humans are doing these exact same cyber tasks.
2102100	2106480	And finally, Cloud's performance was increased very easily.
2106480	2118760	We mostly just used the same model throughout all these competitions, and we were able to make it better just by giving it more tools or a better interaction with the tool set that was helpful to it, or by hyping it up a little bit more than we did previously.
2119220	2127560	And to be very clear, my tips to you are to give Cloud thorough instructions, everything that it should need to be able to solve the problems.
2127700	2131080	Give it the right tools, the same tools you'd give to a human solving the same problems.
2131080	2132600	And this doesn't need to be for CTFs.
2132600	2135120	It could also be for more productive endeavors as well.
2135180	2136720	And use parallelization.
2136720	2138140	It's extremely easy to do.
2138140	2140680	You can spawn a new Cloud very, very, very easily.
2141040	2147300	The tools we used, most of the tools we used were all already publicly available, Cloud Code and Cloud.AI.
2147480	2148620	You should take these.
2148620	2156400	You should use these on, you know, either CTFs or, you know, more productive things such as vuln finding, patching bugs, SOC analysis, red teaming.
2156840	2160620	And on the frontier red team, we want to know how that is going for you.
2160620	2168460	You know, we want to know how these AIs are getting good at, where they're getting good at before other aspects and what that actually means, you know, for the cyber security environment.
2168460	2173840	And the reason we care so much is that these models are getting better pretty fast.
2173840	2175680	So about a year ago, they could barely log in.
2175680	2178980	Actually, they could not log in to a Windows machine because of the formatting differences.
2179420	2180920	They just couldn't figure it out.
2181040	2191800	But now they're able to quickly and coherently traverse a network of many, many different servers with many different OSs and many different services and keep it up, you know, over a long period of time.
2191880	2194340	We think that we're about here, you know, on the chart.
2194340	2197960	We're just seeing the very beginnings of these agents increasing in capability.
2197960	2203060	And we need to figure out what it means when models get to, you know, become a lot better at this stuff.
2203060	2206700	You know, what does that mean for the balance of defense and offense and cyber security?
2207460	2211100	The idea is that models will get better soon.
2211260	2213580	And we really want to make sure that's actually a good thing.
2213580	2216680	We need early warning signs to understand what we should do about that.
2216880	2222500	If you want to come to Anthropic and help us figure that out, then you should check out our job website here.
2222740	2229760	If you missed part of this talk or didn't pay attention at all, then you can actually check out our blog here at red.anthropic.com.
2231580	2233760	There really goes through all of this.
2234600	2239500	And finally, I'd like to thank all the people that really helped out with this presentation.
2239540	2247080	All the CTF organizers, the people internal to Anthropic, DEF CON, just really appreciate all the help.
2247080	2249280	And you were awesome to work with.
2249340	2252540	And finally, be happy to talk with many of you.
2252540	2256340	If you have any questions, please let me know if you want to talk afterwards.
2256340	2257240	And thank you.
