start	end	text
0	1540	Hi, I'm Sven.
1540	8660	I founded the AI Village back in 20... basically in 2017.
9180	10640	I've been running the AI Village.
10660	13240	We first showed up at DEF CON in 2018.
13780	17780	And half the time I meet someone and they're like, Oh, you've been doing the AI Village for two years?
18280	18920	Sorry.
19920	23200	Half the time I meet people like, Oh, AI Village, have you been going on for two years?
23200	26160	I'm like, no, we've been around since 2017.
26160	31840	So there's been AI talks at DEF CON for years before that.
32320	42880	And back in 2017 I gathered up a bunch of the people who were doing malware models and spam models and started a village, mostly because I'm a mathematician and I like geometry and not algebra.
42880	45120	So I wanted to talk about geometry at DEF CON.
45600	51520	And Crypto and Privacy Village was the closest thing to a home with algebraic stuff.
52680	53380	So...
56740	57440	It's...
57440	60880	Okay, I don't...
61700	62400	So...
63250	65240	But I showed up...
65240	70320	When I started AI Village, I was a postdoc at Johns Hopkins doing geometric machine learning.
70520	80920	And I showed up in Vegas and moved to the Bay, started talking to everybody who was doing AI security stuff.
80920	83940	Got a job at a malware model company.
84600	86500	Oh, bugger.
86860	89080	Yeah, sorry.
90040	96220	So, got a job at a company building malware models and maintaining those.
96220	106380	And then had lovely long conversations with people on the spam teams at Quora and Facebook and Google and learning about how model security actually works.
106380	112280	In my postdoc, I worked a bit at Johns Hopkins APL on adversarial machine learning.
112280	115520	And then I got to industry and I found out it was very different to what it was.
115600	119360	And quickly learned how to manage things.
119360	131380	For four years, I managed the malware model at Endgame, later Elastic, and learned some things about how to actually make this stuff work well and what actually goes into maintaining a secure model.
132540	134500	And I learned a bunch of stuff.
134500	138600	But I'm trying.
140300	141940	Anyway.
142280	147740	So, I can probably project over this versus that.
148080	151160	So , sorry.
151160	158000	The first vulnerability in a production machine learning software was Proofpoint.
158620	161360	And the disclosure happened in 2003.
161360	170120	And the remaining evidence on the internet is from a slideshow from John Cummings Graham, who was the CTO of Cloudflare up until recently.
170120	172880	But that is from 2003.
173040	175560	That is a lot older than what most people think.
175560	185460	And I've told enough reporters this that he contacted me on LinkedIn asking, who are you and why did the Wall Street Journal ask for an interview about this thing I did 20 years ago?
186040	187440	And it was Bayesian poisoning.
187440	199460	And everybody who's dealt with a model in production, a spam model, knows about Bayesian poisoning and knows not to use a Bayesian model, a naive Bayesian model classifier, in a spam model.
199460	201920	This is common knowledge in the industry.
202160	204580	And it's published and you just don't do this.
204660	207420	And basically you just add a bunch of spam models.
207440	208780	The model still does this.
208780	211280	There's a bunch of work to address this sort of thing.
211280	214100	But this is still an effective attack if you're using that model.
214100	215220	It's never going to change.
215520	217240	It's in part of that model.
220780	231060	And John Thomas Graham's slides are the remaining thing from spam filters conference back in 2004 with a lot of fairly rich people.
232060	236440	And the first thing you learn is there's always other bypasses for machine learning model.
236440	238180	It's just basically not secure.
238180	240740	You're never going to get 100% security on the thing.
241120	244260	And they learned that back in the day.
244260	253060	So they had a whole training mechanism that they were talking about for how to maintain this spam model back in 2003 and 2004.
253060	255700	It was a maintenance problem that they had figured out.
256920	262660	And the reason why you maintain it is you can't guarantee the security, but you need to maintain an efficacy thing.
262660	267340	The reason why you spam is because you can't manually review every single email and you need to make sure.
267340	271260	And you just want to stem the tide of the bad emails that actually get through to you.
271260	280060	So if a model is 99.9% accurate, you're still going to get 0.01% malware through, and that can really screw up your customer's day.
281940	296460	And the reason being is attackers will find that one time you make a mistake and just repeat that thing and just mess with you by finding where you've screwed up and exploiting that mistake.
296460	301260	And you can't fix it because if you could, you've solved machine learning.
301440	308700	You need a Fields Medal, a Turing Award, if you make a model that is 100% accurate every time.
308760	313440	And so the company is telling you, we'll secure your model.
314040	319400	They're telling you that they're going to sell you a perfect machine learning model.
320100	325800	And then another big problem that happens is out-of-distribution data.
325860	339280	So if you have a model which is very secure on malware to model as of March of this date, in six months, people have released new malware and it's going to be a completely different type of malware and completely different things.
339620	343660	And your model today is not going to correctly classify that stuff.
343660	351020	They're going to go do something weird in a weird part of the data set that you never thought about and maybe get past you.
351020	357520	And it's basically like you've got an image classifier trained on empty digits, and you suddenly start feeding it fashion MNIST.
357520	359280	Your model will screw up.
359320	360040	And that's okay.
360040	361320	It's not designed for that.
361320	364220	But when it happens, you need to go back and fix it.
364220	369060	The whole process principle is, when something weird happens, go back and fix it.
369060	374320	You're never going to be able to deploy something that is perfectly secure, and you're never going to be done with this thing.
376620	383460	And with PE data, malware data from 2020 is out of distribution for model and trained in 2019.
385380	395820	And if you ask me, from trying to do math research on models, I'm solidly on the side of model-memorized data and interpolate between stuff that they already know about.
395820	399460	And then I just do weird stuff on things outside of that.
399460	402560	Sometimes it works on out-of-distribution data, and that's fantastic.
402560	409200	And with LLMs, they're trained on so much data that it's hard to find something that is truly out-of-distribution, so they just tend to work on a lot of stuff.
410520	411960	But there's a whole thing.
412580	415320	But the thing is, attackers, they do weird stuff.
415320	417380	They're not in distribution.
418040	421200	And there's a bunch of examples from LLMs that have shown up over the years.
423320	432380	When I talk to policymakers about this stuff, the idea has to be, the way you think about software security has to be different.
432460	448000	If you think about securing a single endpoint that is just one C binary that's responding to HTTP, and you just need to make that one little binary secure, you could probably read every line and make sure that there's no vulnerabilities in that, full stop,
448000	449880	if there's only 5,000 lines of C.
449880	455260	That is entirely possible for a small team to do, is to make one little thing secure.
455520	461700	You guys are familiar with software, and banks have done this.
461700	470580	They've got small binaries that execute very well and they have high-quality software practices, and they managed to get things.
470580	475220	Since the 80s, we haven't had any serious bank hacks.
475220	490220	We haven't had something where the bank doesn't know where their money is supposed to be, because the databases behind that are written in a way when they took the time to actually do it, and they made the binary small enough and focused enough that they could keep a secure binary for that.
490280	492560	It is possible to write secure software.
493200	500260	But if you're trying to do it for AI, it's more about you have an EDR environment with tens of thousands of endpoints running all sorts of software.
500260	503220	The attacker is going to find some soft point that you're going to get.
503720	507820	But this is an analogy to trying to bring it home to security practitioners.
508280	513140	You're never going to secure an enterprise environment with tens of thousands of endpoints completely.
513280	514480	So what do you do?
514480	516640	You have enterprise detection and response.
516640	521700	You find the things that would get past you, find things where you screwed up, and you fix it.
521920	523080	It's a maintenance issue.
523080	528440	You have a sock that just sits there and watches the network all day, every day, dealing with tickets.
528540	533360	That's how you manage large enterprise software deployments because you've got no hope of fixing it.
533380	538120	And when you talk about AI security, you have to come to the perspective of there's no hope of truly fixing it.
538120	540720	You just have to maintain it the whole time.
543880	548560	This is a visualization that is kind of a weird thing.
548560	557900	But this is a two-dimensional slice of MNIST, a neural network trained on MNIST.
557900	566600	So MNIST is a tiny little image data set from the 80s that is for postal code numbers.
566600	569120	It's just the digits 0 through 9.
569720	572560	And this is a tiny model on that.
572560	575920	It is not a model that would remotely get near production.
577280	581240	This model has 60 hidden layers in one layer.
582620	584600	It's this tiny little model.
584600	586800	And we take a two-dimensional slice through it.
586800	592460	Every single different color is basically a different decision path through the neural network.
592460	595100	And I will happily tell you why that is.
596420	597620	Weird math stuff.
597620	598740	Tropical geometry.
601040	603760	But every single one of those is a slightly different decision point.
603760	606160	And you don't exactly know what the model is going to do on them.
606160	607360	You have to go test it.
607360	608680	There's no way to know.
609040	614740	I know there's caveats to this, but there's no real way to know how the model is going to do on each and every one of them.
614740	621000	And this is an MNIST model with thousands of parameters.
621000	627180	When you get into a CAT GPT with billions of parameters, there's no hope of figuring that out.
629340	630920	So you just have to sit there.
631040	632480	Someone's going to pop my model.
632820	635780	All I can do is delay the pop by making my model robust.
635780	637380	And we'll talk about that in a bit.
637380	640020	And then how fast can I respond to that?
640020	642800	And the response doesn't need to be retrain and redeploy the model.
642800	645160	The response can be just block that one thing.
646540	653020	You can have a nice layered response where you actually address the problem immediately and then have a long-term solution for later.
654280	657760	But I know there's going to be people in the audience who've got some adversarial thing.
657760	658740	What about my model?
658740	661580	Adversarial training actually makes your life worse.
661760	671200	If you've got a model in production, you care about how long can you keep it in production before the efficacy of that model drops below an acceptable level and you need to replace it.
671200	677200	If you do adversarial training on that, you've lowered its efficacy level at the start and it's going to get lower in the pile.
677420	679820	So it just doesn't work so well.
679820	687740	Adversarial detectors, if you've got a classifier and you want to put another classifier in it, that's a layer of security that doesn't really help you so well.
688020	689600	And then there's all sorts of stuff.
689600	696020	Go look at Nicola Carlini's work on all the different ways he's popped adversarial defenses.
697180	699140	How do you actually defend the model?
701640	704060	It's a service, as I've said at the thing.
704660	715360	There's a quote from one of the founders of the Facebook Site Integrity Team, who are probably one of the most experienced AI risk management teams on the planet.
718480	726340	Pedram Khayyam is actually working at OpenAI now, but the Facebook Site Integrity Team have more experience actually defending models than the entire DoD.
726340	728040	And there's like eight people there.
729340	731360	And they maintain it as a service.
731360	736800	So we measure our seeds on the speed, we can detect and respond to new types of attacks and mitigate the potential damage curves.
736800	738460	That is their sole objective.
738460	742080	They retrain and redeploy the model every three days, and it's expensive.
742080	747740	It costs them millions of dollars a month to maintain the spam detection systems on Facebook.
748280	749720	For malware, it happens too.
749720	753600	In endgame, one of my jobs was to forecast when the model's going to go bad.
753600	756700	So I built this thing for detecting the drift rate.
758700	761440	This is the false negative rate, false positive rate.
761440	763540	You see the spike happen every year.
763620	766560	We trained this model on January 1st, 2019.
766640	771300	We got very good performance on the historical data, the industry data that I know how it works.
771300	772380	Great performance.
772380	775720	I know that I've got five nines of accuracy on the stuff that I've already deployed.
775800	784360	I need five nines of accuracy on that stuff because in three months, my accuracy explodes.
784360	786640	And some of my customers still had that model in place.
786640	788600	So that is when the model goes bad.
788680	791540	Something gets passed, and you see the false negative rate.
791540	795020	This is the number of mistakes I make on benign data.
795020	797920	This is the benign stuff that I screw up on.
797920	799400	That doesn't go up.
800100	810880	The false positive rate, the false negative rate, the number of stuff that I've screwed up, the malware I've screwed up that I've allowed to execute on my customer environment, that's the stuff that spikes.
813920	821400	And that's the reason why, because the benign people aren't trying to get past me, the adversaries are trying to get past me.
822180	825940	So the historic strategy semantics.
825940	828440	First thing, robust features.
828440	829940	Not robust things.
829940	833000	Features that are hard for the users to change.
833760	839540	For a lot of security places, you choose what features they have.
839540	842280	So for spam, use the behavior of the model.
842280	845740	Most spam detection systems don't even look at the content of your email.
845740	847300	They never even read your email.
847300	856860	They look at the IP address and the metadata for who is sending that email, and they decide on whether it's spam based on the behavior of the spammer, not behavior.
856860	862920	And that behavior is hard for that spammer to change because he wants to send a lot of emails.
863320	874440	So for him to send less emails, that's the way past the thing, but now you've accomplished your goal of reducing the amount of spam there is because the spammer is rate-limited.
874600	880260	For malware, you change the features that make execution change.
880420	890500	And for LMs, if you've seen this with OpenAI stuff, they use behaviorally what you're doing to query the stuff just as much as the content of what you're doing.
891380	894500	An example of this going badly...
895860	896980	So Silance, I kill you.
896980	917000	In 2019, Silance's strategy for deploying malware models was to deploy one really, really good malware model and then not change it because they're going to solve machine learning and they're going to have a model that is perfect and are going to solve malware for the next few years.
917000	921820	They deploy the model and it's got 7,000 features.
921820	924140	They include everything in the kitchen sink.
924940	927740	They classify it and they put PE data.
928520	930260	That's the header of the PE file.
930260	934460	So they do static analysis on that, get 7,000 features of it with all sorts of things.
934460	943160	You look up the Ember dataset that Phil Roth and Hiram Anderson just released another update on that just a few months ago.
943940	946360	I helped them in 2018 about that.
946500	953040	But you get that 7,000 features and then you shove it into a deep learning model, train it to say good or bad.
955120	956840	But they had a problem.
957200	958600	You play Rocket League.
958600	967440	Rocket League has some hooks in your environment that prevent cheating that are very similar to some of the malicious stuff.
969360	974580	They were misclassifying Rocket League as a malicious binary.
974580	984900	Rocket League, Fortnite, a lot of these games have anti-cheat capabilities that are basically memory hacks to make sure that you aren't cheating.
984900	986780	And that looks a lot like malware.
986780	992680	If you have a classifier that you are just trying to maintain and never change, you are going to misclassify them.
992680	999160	What they did was they took a subset of the features, normalized them, and then did k-nearest-neighbors.
999160	1002360	If you've done RAG stuff, RAG stuff uses k-nearest-neighbors stuff.
1002360	1021100	They just took a small ball around the stuff that they want to let run, so the hackers, one of the things that they had was the strings from the binary.
1021120	1026240	Strings from the binary are extremely insecure, extremely easy to change.
1026240	1028000	You can just write your own strings.
1028000	1032040	You can pad the strings from Rocket League onto a malicious binary.
1032260	1034000	It doesn't change the execution rate.
1034000	1041400	It just adds some text data to the end of the binary and silence just let it run because it looked like Rocket League to them.
1044580	1047840	That's just a very easy-to-change thing.
1048020	1052120	You need good features that are hard for attackers to modify.
1052280	1055120	Spam, IP address, domain behavior, malware.
1055460	1059680	The execution environment means it's really hard to actually make a malware of stuff.
1059700	1065980	There's some scary research out of Italy that kept me up at night while I was still maintaining this, but I haven't done this for a few years.
1067120	1072220	Dynamic behavior is basically computationally too expensive to actually maintain.
1072220	1089500	That is going to change maybe with the rise of some of the weird NPU processors that some of the chips are coming out and the AI coprocessors on the latest range of laptops will enable behavioral analysis in the models and then we have a completely different world.
1089900	1099400	But dynamic behavior is what we care about because ransomware is very easy to detect from a dynamic behavior perspective, but very hard to do from a static analysis perspective.
1101060	1104780	Next thing, obscurity is security.
1105200	1109880	The more your attackers know about your model, the faster they can figure out ways past it.
1111660	1113720	Spam, you just don't say anything.
1113720	1120800	Mauer, even rejecting a sample and saying you won't execute it is saying something that a hacker can learn from.
1121120	1122820	Say nothing more than you need to.
1122820	1124180	And LLMs, same thing.
1124180	1126160	Rejection is information.
1126500	1131140	Just responding to their API with, I'm not responding, has told them information.
1131420	1132580	But you can't help.
1132580	1134500	You have to release some information.
1135740	1137700	Some bad obscurity.
1137700	1138740	Proof-putting.
1138740	1140980	The proof point is a spam classifier.
1140980	1146020	And this is actually the world's first CV from Will Pierce for machine learning models.
1146020	1149800	They responded in the header information with all those scores.
1150540	1159940	Beautiful was a data scientist because now I know exactly how to steal your model, make an imitation of it, figure out how to get spam stuff that gets past your model in an offline way.
1159980	1161000	Don't have to query.
1161000	1165060	You don't have to know about, I can speak softly and carry a bit of a stick.
1167300	1168920	And they just leaked that.
1168920	1173000	They put it in the email header for every single response, even the stuff that they reject.
1173000	1176160	They just told you exactly why they're rejecting it with all the scores.
1177740	1182960	So they got popped, and they got the world's first CV for machine learning models in 2019.
1183720	1185900	A good obscurity thing.
1185900	1188320	This is a social media website.
1189260	1191640	As I said, you've got to do feature extraction.
1191640	1195940	You've got to figure out which features you're going to have your model look at.
1199360	1203800	And you're only going to featureize what the model is allowed to see.
1204060	1205680	And I can choose.
1205980	1216460	One spam company, one cam company built 50 featureizers when they only really needed about 10 to 15 to make it work.
1216460	1218360	But they had a library of 50.
1224440	1226240	Rejection gives you information.
1226240	1226900	Sorry.
1227060	1228340	Stepping back a moment.
1228920	1233180	When you get rejection information, you can start probing the model and start learning things.
1233180	1243020	Every single time you get a response back, you can infer the exact shape of the gradient and model near a single point if you query near that point enough.
1243020	1246360	And if you know what you're doing, you can get those down to a reasonable number of queries.
1246360	1253420	There's a lot of black box attacks that you can build models of your model without ever seeing what's in there.
1254440	1257740	So just the rejection stuff is information.
1257740	1265520	What the spam media company did was like, I'm going to fundamentally change how this model works by not just changing, retraining, and redeploying it once a week.
1265520	1269580	I'm going to only let it see a subset of the features I have capable.
1269640	1276200	So you can't get a good handle of what the model's going to do week from week because I don't know what it's going to do.
1276200	1278500	I'm going to randomly pick what it sees.
1278500	1285660	And I've got enough data in there that it will do a good job of classifying it.
1285660	1288120	I don't need to have 100% accuracy.
1288240	1292060	My accuracy quota might only be 99.9% accuracy.
1292180	1294600	And if I put all of them in, I easily reach that.
1294600	1296620	But if I put 15 of them in, we're good.
1296620	1299080	So I'm only going to pick 15, randomly choose it.
1299080	1303720	Do the ETL transform globe to train new models and have that whole system working.
1303720	1308540	It works really well for my friend, the social media company.
1309680	1311320	So, next thing.
1311320	1313240	Speed is security.
1313380	1315980	You have to respond to the attack as fast as possible.
1315980	1320140	It will happen, and then the next thing you do is respond.
1320180	1322860	So the first thing for spam, block lists.
1324100	1327340	If the spam comes through, you can put a block list on the content.
1327340	1329560	Whatever it is, just stem the tide quickly.
1330300	1338800	Malware, chart statistics, the binary thing, just block all the ones you find and quickly retrain, redeploy your model, do all the things you need to do.
1340260	1342360	There's different ways to do the block list.
1344180	1347300	But spam, it doesn't have to be a robust block.
1347300	1348500	It just needs to stem the tide.
1348500	1350980	You just need to respond quickly so you can stop the bleeding.
1352540	1355380	This is how Sophos used to manage.
1357880	1362620	Josh Sachs, who's now the head of AI security at Meta.
1363700	1372020	But one of the problems with a lot of AI security models is you just have the model and you're like, I have to secure this one model and they treat it as one thing.
1372020	1374500	We're going to secure it, and that's it.
1375020	1378040	In actual fact, you've got so many layers of security.
1378040	1381020	Each of them can be changed and improved and upgraded.
1381020	1383740	You might have a system where it's very easy.
1383740	1387140	If it's an email interest, you might be able to block the email quickly.
1387320	1389400	Then you've got binary, you block the thing.
1389520	1399720	You've got a whole stack of layers around the model to make sure that you can fix it, fix the environment quickly, have things that you have easy response time.
1399720	1405820	Because retraining a model, I took the retraining time at endgame from a week to a day.
1406000	1407140	Big improvement.
1407140	1415420	But every month, that got slightly longer because we got more data and it took a slightly longer time more time to train.
1415420	1417520	I'm sure now they've got a different thing.
1418660	1422460	You can't retrain and redeploy a giant language model.
1422460	1423560	It's going to take you months.
1423560	1427700	You have to build your security layers and layers around it.
1428780	1430480	Otherwise, it's not going to work.
1432780	1439220	One of the main things you have to do as a practitioner is reduce the retraining time.
1439220	1449820	Time from, oh shit, we got popped, to I have fixed it with a new model that is robust and it's going to take them another week or two before they pop us again.
1450120	1458740	The time from, oh, I figured out that I've been popped to a replacement is a critical metric from your AI security team.
1460940	1474280	A whole big thing, you need to make sure that your ETL steps have caching layers so you don't have to wait two days for your ETL to run to re-extract features for a billion samples of malware.
1474280	1479160	You need to prepare that so you have some cache data so you can go quicker.
1480460	1482560	Spark is terrible for this.
1482560	1483940	It's not that fast.
1485740	1490120	I debugged Spark for weeks and I eventually ripped it out because I couldn't get it going.
1492040	1499020	And then testing, you need to test and deploy and you have to have evaluations and deployment metrics that are automated.
1499500	1505100	Humans need to be a critical part of this thing, but you can get a report that the human can make a decision on.
1505680	1511040	Automated so the humans don't have to spend two days doing all sorts of weird testing.
1511040	1513360	Automate that stuff as quickly as possible.
1514500	1519420	Critical blocking, if you're managing a malware model, you are going to misclassify a Windows binary.
1519420	1533180	If you misclassify a Windows binary in production on a customer system, you could destroy a hedge fund server by accident and then that costs them $100 million a day.
1534860	1544820	Things like that you can automate, make sure that Windows is fine, make sure that that is already in the allow list and all the weird binary things are in the block list.
1545120	1549340	You can pre-populate that and maintain it so that you are good to go to redeploy.
1551240	1555180	But the difficult thing is actually finding a breach.
1555240	1565000	If you have a billion uploads of PE data a day, finding the new strain that gets past your model might be only a few hundred samples in the first few days.
1565960	1567120	You're not going to see that.
1567120	1568000	You've got a billion.
1568000	1572020	It's a god-awful signal-to-noise ratio.
1572420	1574820	But billions of new posts on Facebook a day.
1574840	1577740	Maybe a few million are spam.
1578340	1578840	Maybe.
1578840	1580700	The ratio is awful.
1582820	1586200	It's a tiny needle in a very large haystack.
1586200	1589780	But this needle grows larger and larger every day.
1589780	1596840	So at one point you're going to notice because your customers are complaining because they've got ransomware or something on their network.
1597260	1598900	Because you missed it.
1599300	1603000	And when your customer calls and says, Hi, I've been popped.
1603220	1607280	Now I'm calling the cybersync insurance company to pay this ransom.
1608320	1609780	And they have questions.
1609780	1611200	It's not a good call.
1611900	1615960	But if you can find that and address that earlier, that's a huge boon.
1615960	1627480	As you mature in machine learning security, you switch from making sure the model is robust to making sure that you can do this faster.
1627480	1630620	You get the model robust enough and eventually that's fine.
1630620	1634120	You may need to do detections for watching that thing.
1634120	1635420	The model is going to screw up.
1635420	1637220	You need to find out when the model screws up.
1638340	1639700	There's different systems.
1640040	1651140	For cloud systems you can do this thing where you deploy two models and the canary model performs slightly differently and you can get different metrics.
1651460	1658460	Your data scientists get a good idea of something's gone wrong because the dashboard looks wrong.
1658500	1664520	Ensemble systems, there's ways to do figuring out that things have gone wrong with ensemble systems.
1665400	1671680	Outline detection is extremely hard, especially for heterogeneous density data sets like malware.
1672520	1681440	You get large areas of malware that are extremely low density because there's lots of little PE binaries that are just scattered.
1681440	1684540	Lots of benign data that has the density of interstellar gas.
1684540	1688500	And then you have some malicious data that is like neutron stars.
1688940	1697220	And so outlier detection doesn't work for that because basically every benign, you're going to catch some things.
1699060	1705540	But it gets difficult and it's kind of something down to the exact system you're running.
1706240	1711020	But mature companies spend far more on detection than model development.
1712260	1714820	And the thing is, you learn from the attackers.
1715140	1726080	So one of the best AI red team things, if you want to learn how traditional AI red team stuff works, is to look at the SEO community.
1726080	1731600	Search engine optimization is a bunch of people red teaming the Google search engine.
1731880	1734120	They have read the papers of how it works.
1734120	1737240	They have read everything that Google has ever released about that thing.
1737240	1741580	And they are doing everything they can to get to the top of the listing without paying for it.
1742540	1745760	Those people are excellent AI red teamers.
1745860	1748160	They may not know how the model works exactly.
1748160	1750680	They may not have all the mathematical understanding of it.
1750680	1755780	But they are doing what malware models and spam people are doing every day.
1755780	1760080	They are just trying stuff, learning, and talking to each other.
1760100	1762000	Spam, they sell the techniques.
1762000	1772220	You can see that someone in Malaysia figures out that this way is the way to get past the spam detection of this week from Facebook.
1772220	1777020	And it spreads, because they make money selling and communicating with each other.
1778300	1783920	Malware, reverse engineer the strains you persistently miss and learn why you miss it.
1783920	1787640	Sometimes it's, oh, they packed my binary and I just don't know.
1788200	1793440	This packer is not going to get past my static analysis detector.
1796540	1802120	And yeah, for LMs, there are Discord servers devoted to jailbreaks and stuff.
1802120	1804940	You can go on those Discord servers and see what they're doing.
1807420	1808340	Okay.
1809340	1810560	Oh, well.
1813440	1814300	Oh, well.
1815740	1816460	Yeah.
1817080	1818860	Search engine optimization.
1822320	1827140	One of the questions that shows up in adversarial and machine learning is, have you seen an adverse example?
1827200	1830540	This is the mandatory image thing.
1830560	1833020	Panda, nematode, gibbon.
1833060	1834440	It's from a thing.
1834440	1837460	Christian Chesney and Ian Goodfellow did amazing work with this stuff.
1837460	1840080	It's great at understanding how neural networks work.
1840100	1842040	It's not really a security vulnerability.
1843560	1849380	Because it's cheaper just to try stuff and you get a good feeling for how the model's working.
1849380	1855180	And you may not be able to do weird stuff with the gradients of the thing and all that stuff.
1855180	1856660	And you have to learn about all that stuff.
1856660	1862240	And you're a spammer who has a limited budget and a tiny margin for making money.
1862980	1868120	So are you going to learn some tricky math that is really hard to use in production?
1868120	1871420	Or are you just going to try more people and get the wisdom of the crowd?
1871740	1873280	And it's much cheaper.
1873280	1881040	So there's a lot of AI security stuff that just doesn't work in production for the attackers.
1883560	1886440	One of the big concerns that people have is model poisoning.
1886440	1888480	Especially with VirusTotal data.
1888860	1893800	Do you know how much data that we delete from VirusTotal every day?
1894440	1899440	We had a feed where we could download every single PE file that is uploaded to our VirusTotal.
1899440	1901060	We can't handle that much data.
1901060	1902920	We delete most of it.
1902920	1904720	We delete the vast majority of it.
1904720	1909120	If you have a sample that we already have something very similar to, we're just deleting it.
1909440	1924940	If you want to do a model poisoning attack where you're going to slowly infiltrate one sample of the data and add to it and make them misclassify that one sample of data, I'm probably going to delete your model poisoning attack by accident.
1925000	1926160	And never notice it.
1926160	1932540	Because you are manipulating a tiny fraction of one part of the data that I already have.
1932540	1937220	And I'm automatically just going to clean it up because I don't need that much data.
1937220	1941240	This is for malware stuff.
1941240	1943020	And spam stuff is the same sort of thing.
1943760	1946180	The feeds of these things are enormous.
1948740	1950880	You've got to ask, how are they actually getting the data in there?
1950880	1966220	Some of the LLM stuff, the way that the data gets ingested from just scraping the internet and the way that these models memorize and the quantity of data that these models can memorize, it's perfectly possible to poison data.
1966420	1969400	But how are they actually getting the data, where are they putting it?
1970920	1974360	Because Fortran tries to poison these models all the time.
1974540	1978800	They know that Fortran is automatically deleted from all of these datasets.
1980660	1987980	And the subreddits devoted to Fortran are automatically deleted from the large language model datasets.
1987980	1989240	They've got to find other things.
1989240	1992880	I know there's a cat-and-mouse game trying to do it, and there's concerns there.
1992880	1996640	But for security models, it's probably not going to happen.
1997220	2002920	Especially for the scale of problems that you need a machine learning model for.
2005440	2007440	Dilution is the solution to pollution.
2013890	2020650	You're sending a thimble full of poison data down the Niagara Falls from trying to do something on VirusTotal.
2021510	2023610	I know there have been attempts.
2023610	2025490	There's things I know that people have tried.
2025490	2028110	I don't think it's ever going to actually work in production.
2028550	2030110	I don't think it's going to succeed.
2034370	2037390	My attempt at a recap diagram for your executives.
2039370	2041350	You've got the attacker quantity.
2042450	2047990	And the way you reduce the number of attacker quantities is verified accounts, API limits, and being less popular.
2048410	2053110	It's very easy to be, if no one cares about your service, you don't have to worry about their security.
2054170	2056610	The attacker controls the other axis.
2056770	2059870	How much control do they have over the data that you care about?
2061150	2067490	And so you can change that by reducing the harder-to-manipulate features, less public information, moving target.
2068610	2070690	And you get this curve.
2074830	2076650	There's a lot of attackers, there's no hope.
2076650	2078570	You're going to be redeploying once a week.
2078590	2081910	If they've got a lot of control, they're going to be redeploying once a week.
2082370	2089210	The better you can get the origin, probably the more secure you can think about your model.
2090850	2093170	You've got modern spam up here.
2093590	2094870	There's just so much of it.
2094870	2096110	You're going to get past there.
2096110	2102130	Our models, probably around here, it's very hard to manipulate.
2102150	2108030	Self-driving cars, from a security perspective, probably fine.
2113170	2114130	Silence.
2114730	2122590	With the way they did their thing, the reason why it was a vulnerability, the reason why it was a concern, is not because they screwed up the machine learning model.
2123410	2127730	We know all the models are going to screw up, all the models are going to have it.
2128550	2133850	The reason why it became a problem is because they unnecessarily moved the access that way.
2135010	2136430	This way, sorry.
2136490	2137710	Gesturing is hard.
2139430	2142990	Prompt rejections, it's hopeless.
2142990	2144870	They've got full control over the input data.
2147130	2150890	For mature teams, you can't control how popular the service is.
2150910	2153710	Better features eventually become too expensive to maintain.
2155290	2157650	You've just got to focus on the response time.
2160970	2169170	Just closing that remark, if we measure ourselves in speed, we could detect and respond to new types of attacks and mitigate the potential damage.
2169170	2177310	The reason why I had this talk is because I've given this rant to people and eventually someone said, you're giving me a keynote.
2178310	2180350	Because this is old stuff.
2180470	2184230	People know about this, but one of the principles of AI security is you just don't talk about it.
2184230	2186150	So it's really hard to find this stuff.
2186890	2193130	I've had friends relearn AI security from scratch because they didn't know that there was a community out there.
2193130	2197110	They didn't know how this stuff worked and there was no documentation.
2200450	2204250	So the core team for spam just had to learn it from scratch.
2204250	2210530	They got their ass kicked for six months while they learned how to deal with spammers without talking to anyone.
2210530	2212510	But they settled on these principles.
2213150	2218270	The malware community, it's a slow enough thing that it's not really that a problem.
2218270	2220510	But we all learned this stuff alone.
2221590	2226650	One of the problems with AI security is this is all old history.
2226890	2232510	The Facebook Site Integrity team have practices and principles that could help everybody.
2232510	2237230	But one of those principles is to not tell anyone so they don't actually go and force and help them.
2237270	2238950	And they should be left to do it.
2238950	2242530	We have no right to them giving lectures on how to do this stuff.
2242570	2250850	But we need to find a different way of actually communicating this stuff to people and teaching people how model security has worked in the past.
2250850	2258790	Because you go talk to some of the people on AI Red teams at big companies, they're like, oh, it's hopeless because the classifier is never going to work perfectly.
2258790	2261410	The classifier has never worked perfectly.
2261470	2266010	But for spam or malware, it's never going to work perfectly.
2266010	2268430	You just have to sit there and maintain it.
2268430	2272890	Your prompt injection thing, it's just a layered security thing with maintenance.
2273010	2279750	And I'm sorry, but you're going to have to have an expense account for the engineers to sit there and watch it and help and retrain it.
2280490	2282230	That's how it works.
2282230	2285310	That's how it's always worked, and I don't see that changing anytime.
2285310	2287390	But, yeah.
2287390	2290410	Anyway, if you've got any questions, I'm up in AI Village.
2290410	2294070	I'll answer them.
2294290	2296250	But I'm Sven.
2297630	2299110	Thank you very much.
