start	end	text
0	3140	It is my absolute pleasure to introduce Tobias.
3140	5040	He's going to kick us off this morning.
5040	14900	And the title of his talk is Mind the Data Voids, Hijacking Co-Pilot Trusts to Spread C2 Instructions with Microsoft Authority.
14920	16240	Tobias, take it away.
20050	21110	Hi, everybody.
21110	22490	My name is Tobias Steele.
22490	27690	I've been an offensive security engineer for over five years now working in the financial industry.
27730	34990	In my free time, I also really enjoy doing bug bounties and I was actually selected as one of Microsoft's most valuable researchers for this year.
35790	37990	If you want to connect with me, here are my socials.
37990	39190	Please reach out to me.
39190	40190	Don't be shy.
40350	44410	But today I'm here to tell you why you shouldn't trust everything AI tells you.
44410	49090	Even further, I want to show you how attackers can poison the wells without ever touching your machine.
50370	58110	So in September of last year, I got really curious about how co-pilot would answer questions to topics that are not part of its original training data.
58230	60330	And you can see that here on this diagram.
60470	67550	Whenever a user asks one of those questions, co-pilot will actually reach out to Bing and retrieve that content from the index.
67550	71810	It then processes it and tries to answer your question as best as possible.
72330	73410	And I tried that out.
73410	83130	I asked co-pilot a bunch of questions, reviewed the answers, and sure enough, when I compared it against Bing, it would always use the top answer as its source of truth.
83210	84650	And that makes sense, right?
84650	87410	Bing and co-pilot are both Microsoft products.
87410	88850	They should be integrated.
88890	90450	And Bing is really secure.
90450	93710	They've had over a decade to perfect the ranking algorithm.
94770	98290	And well, lucky for us, nobody ever lies on the internet , right?
98590	100510	But that's exactly what I did.
100510	103310	I went ahead and used AI to publish a new website .
103310	109810	And on there, I published a new financial policy called the Geldgift policy, money poisoning in German.
110090	114210	And that policy was to walk the user through how to perform money laundering.
114210	116150	You know, something illegal in the U.S.
116150	119010	And I wanted to see if co-pilot would repeat this content.
119010	119690	And it did.
119690	122490	And it started to back it up with legitimate sources.
122630	125010	Took me about two weeks to get this ranked.
126010	127850	Next, I tried a fake CVE.
127850	134210	But this time, I published it on GitHub, a high authority site that's already established with Bing and co-pilot.
134490	137650	And on there, I published fake Python code.
137650	142150	And this one took about an hour to get indexed and repeated in co-pilot.
142310	150590	And as you can imagine, that's pretty dangerous for some of our security engineers out there trying to find proof of concepts for some of the issues they're trying to hunt down.
151530	153930	So I went ahead and reported all of this to Microsoft.
153930	159950	Told them, hey guys, I can spread misinformation using your AI by controlling the Bing's index.
159950	160710	Cool, huh?
160870	165950	And they got back to me and said, well yeah, great report, but co-pilot is working the way it's intended to.
165950	169990	It's giving you the most relevant information for the question that you asked.
170490	175950	But you're able to spread misinformation on popular topics, please get back to us.
175970	176770	Well, perfect.
176770	178250	I like a challenge, right?
178250	181110	But I don't know what's a popular term to Microsoft.
181190	184890	So I reached out and said, do you guys like fishing?
184890	186550	Do you like football?
186550	188510	Are you more like Taylor Swifties?
188510	189950	Never heard back, right?
189950	195110	So I reached out, what's the competition requirement for this proof of concept that you're looking for?
195110	199290	I can't take over something like co-pilot or Taylor Swift, that would be crazy.
199670	201430	But let's agree on something.
201430	202890	You know, let's keep it fair.
203110	205950	I also asked, can I use social media for this?
205950	209250	Because that has a big impact on search engines.
209250	213910	Tried over five different times over multiple weeks and unfortunately never heard back.
214530	220930	But later on through collaboration with Microsoft, I found out that they already had somewhat of a definition for this.
221490	230790	So in 2018, two researchers, part of the Microsoft Bing team and the Data Society team, released their own paper talking about data voids.
230830	234030	And think of a data void as a search engine vacuum.
234030	239970	It's a term that a user looks for but there's just no relevant content to show yet or nothing updated.
240590	250830	Even further, in this paper they show how threat actors have already abused this in the past to spread misinformation about some of the biggest gun violence events that have happened in the U.S.
250830	256750	In further, they also show how there's five different categories of these data voids that can be abused.
256750	259590	And if you haven't read this paper, please go do that today.
259590	261530	It's really, really amazing work.
262050	265710	But you might have noticed on these slides that I've highlighted two of these for you.
265710	273310	The breaking news one, where some big company or news media is now talking about a term we all want to look for it and we're generating traffic.
273530	276650	Or there's a strategic data void .
276650	284070	Something that a threat actor creates and gets ranked before they reach out to a user trying to get initial access or spread misinformation about it.
284530	294810	Now, I highlighted these for you because I want to show you some examples of how there's a really dangerous evolution of this technique in AI systems that do not properly protect against it.
295390	297210	So, some time had passed now, right?
297210	298710	I still hadn't heard back.
298710	300890	But now I got this really interesting email.
300890	305770	I got invited to Microsoft's Zero Day Quest, their first on-site hacking event.
305770	308890	And guys, I was jumping up and down in excitement.
309510	320410	They're going to send the top security researchers from their program from all over the world over to Washington State so we can collaborate, find issues in the AI systems, the cloud systems.
320670	322250	And what a chance, right?
322250	329070	Not only do I get to meet some of the coolest people that I've ever met in this space, but I also get to work with the Microsoft team.
329250	330890	Show them what I had found here.
330890	334290	And most importantly, show them the impact that this can cause.
335030	336830	But I still hadn't heard back, right?
336830	339470	I still don't know what's a popular term to Microsoft.
339770	344950	But now I've received this email and I figured Zero Day Quest is probably pretty popular, right?
344950	347490	There's a lot of marketing dollars going into this.
347770	350010	Copilot is also probably really popular.
350010	351970	It's one of the main products right now.
352570	354370	So I went ahead and chose four of them.
354370	360870	I picked over 20 different terms that closely mimic Microsoft products or terms that I found in the documentation.
361210	366150	Not only did I do that, but I also registered multiple domains that mimic the event itself.
366150	371330	And those would either host my content or the proof of concept script that you see here.
371350	372870	I called it Clippy's Truth.
372890	378230	Because if you ran this, it would just give you a little reminder to not trust everything AI tells you.
378270	380350	And I did that because this is a competition.
380350	385010	If this worked, I might be cast in the net pretty wide and I didn't want to impact real users.
385750	387750	But here's what I was really trying to do.
387750	390450	I wasn't trying to perform authority spoofing.
390450	391910	I didn't want to get flagged.
391910	395350	So my payloads actually never mentioned the Microsoft company.
395650	400690	But what I was trying to do is I like to think of it as a key term association attack.
400690	402370	So think of it like this.
402370	405990	I can't take over something like Copilot, the term itself.
406030	416450	But what if I could find these predictable traffic keywords and associate my malicious content to that keyword so somebody might find it later on.
416450	421350	And in this case, I always try to target the installation command itself for the products.
422150	423890	And here's my proof concept.
425690	428750	So I actually used Copilot to attack Copilot.
428870	437250	So it was, the prompt was provide me the top 25 long tail keyword questions that a user might have around how to install this product.
437250	441250	The only other instruction always had to be this very specific command.
441690	444890	And if you're not familiar with PowerShell, let me walk you through this.
444910	447890	The first part of the PowerShell command is an alias.
447890	449270	It's invoke rest method.
449270	455470	And that will reach out to the website that's specified there and download the content or the script that's hosted on there.
455530	463550	The next part is really interesting for my red team friends because Copilot actually doesn't make any kind of effort to verify what's hosted on the site.
463550	466570	So it worked great with some of our initial access scripts.
467050	471230	The third part is where it gets a little sketchy because that's invoke expression.
471230	477850	And that script that you just downloaded automatically gets executed trying to give an attacker initial access into your network.
478090	489470	If you're wondering how bad of an idea it is to run this, well, Microsoft tells you themselves in the PowerShell documentation that this should only be run as a last resort because it can lead to arbitrary command execution.
490590	497450	But during my testing of this, I also found out that Copilot would often respond to the external commands that I gave it.
497450	502490	So now my payload started to include these content usage policies that you can see here on the slide.
502790	509830	And in there I could specify if Copilot was allowed to index my content or if it was even allowed to provide a citation link.
509830	519950	I could also tell it that it's not allowed to mention the author or if it did, I told it that would create legal issues for the user so more than often it tried to play by these rules.
521110	523350	But let's take a look at the first demo.
523350	525330	So guys work with me here, right?
525330	535290	Your user just read about this cool new AI product, maybe somebody conveniently told them about it and now all they have to do is ask Copilot about how to get started with it, right?
535290	538530	So that's what the user is going to be doing here in this demo video.
540510	551430	Okay, so now the user is going to be asking for exactly that and please pay close attention to the content in the citations because now it's going to be filling it in with legitimate Microsoft content.
551590	554870	We can even ask Copilot, is this a Microsoft product?
554870	556990	And it will happily agree with us.
557490	560130	If the user asks, is this secure?
561190	563910	Of course it is, why even question that, right?
563910	566930	But now if the user asks, how do I install this?
566930	577890	Well, you'll see Copilot repeating my initial access command without any citations, without any kind of warning and the cherry on top is run it with admin permissions please.
578510	581010	So it looks pretty legit, right?
581010	589090	But I know what you're probably going to say, the user had to ask very specific prompts, they even had to ask for the installation instructions.
589550	596710	Well, not always because during my testing, I found out that Copilot would actually often assist us and now we have unlocked a new path.
596710	602530	So it would give the user these prompt suggestions to guide them to the malicious instructions.
602830	609230	The other thing that I heard a lot was, well, it's on the internet so other AI systems probably have to be vulnerable to this, right?
609370	612490	There might be ways but I didn't find that during my testing.
612490	617530	Only Copilot would over rely on the Bing index for this content.
618350	620410	So guys, you saw it now.
620410	623590	My final proof of concept for the zero day quest.
623590	627390	I send it into Microsoft, points assigned, it's looking good.
627390	629030	I'm being told this is unique.
629030	630670	This is the first we've seen of this.
630670	632730	We need to pull in the Bing specialist.
633630	634630	Chef's kiss, right?
634630	637630	That's exactly what you want to hear going into this competition.
637630	639330	I'm on my way to Microsoft.
640930	645150	And now I'm on site with Microsoft and now unfortunately they have changed their tune.
645150	652770	This is actually out of scope because it's considered an offensive or malicious response.
653170	655550	Okay, you win some, you lose some, right?
655550	657470	It's part of the game, not a problem.
657470	661410	But even further, they're telling me this doesn't currently meet the bar for servicing.
661410	664730	It relies on specific prompts and user manipulation.
664970	667030	Data voice tend to shift quickly.
667190	670290	And users should verify the info through link sources.
670810	674110	And guys, as a Microsoft customer first, that scares me.
674110	679770	Because that means until a fix is released, all of us can continue to be targeted with this technique.
679870	685090	But let's dig a little bit deeper and let's see why an attacker actually wants these citation links to show.
685090	687730	And let's see if it can cause real user impact.
688470	691030	So yes, data voice shift quickly.
691030	692630	It's the nature of the internet.
692630	701130	And Microsoft actually found this out themselves because shortly before the zero day quest announcement, Netflix released their hit show, Zero Day.
701130	708830	And now the two companies are fighting over some of the biggest keywords out there to the point where even the social media posts were being drowned out.
709270	712430	But data voice can be engineered and that's a big danger.
712550	716790	One of the biggest questions I kept receiving about this event was, where can I watch it?
716790	717850	Is it being streamed?
717850	719150	This sounds so cool.
719150	720170	And that's where I jumped in.
720170	724650	Took me about four weeks to get ranked for the term watch zero day quest.
724670	726010	And this is what that looked like.
726390	727650	So here's my site.
727650	729430	This was a proof of concept for that.
729430	730890	I know what you guys are going to say.
730890	731710	It's ugly as hell.
731710	732730	I agree with you.
732990	735970	But I want to show you this for a few reasons.
735970	738830	So first of all, no tricks up my sleeve.
738830	743430	If you were to go verify this content, this is exactly what you should be seeing, right?
743430	745550	Again, I'm answering all the questions here.
745550	746830	Keep that in mind.
747170	750430	The next thing is, yes, it requires specific prompts.
750430	753130	But there's a lot of flexibility in AI systems.
753130	759870	Because in this attack, the user really only has to mention the key term first and the rest can come up later on.
759870	760810	Think of it like this.
760810	765530	In a search engine, we use long tail keywords to narrow down our results.
765530	766870	Like watch zero day quest.
766870	768630	Otherwise you would be bombarded.
769090	770670	Watch zero day quest.
770670	772110	Compete in zero day quest.
772110	775010	Qualify for zero day quest.
775050	776450	All of these show intent.
776450	778850	And AI systems love that.
779450	784190	The other thing is, Copilot and Bing will hold on to this content for a long time.
784190	788290	That means that a threat actor can get legitimate content indexed.
788290	792590	But they keep control of the underlying citation link and the DNS behind it.
792590	797350	Meaning that we can try to turn Copilot into a potential phishing proxy.
797830	799770	Let's take a look at the second demo.
800150	806050	So here the user is going to be asking about legitimate content like the zero day quest event.
806450	810850	And again you'll notice that it's being filled in with legitimate Microsoft content.
810890	821190	But now if the user just mentions the watch keyword or shows intent that they want to check it out, you can see the initial access command is going to be repeated again.
821230	825510	But this time it became the official way of watching the zero day quest event.
825570	833810	Even further, if you try to follow Microsoft's instruction of verifying the source, in this case, unfortunately, you're rick rolled.
834170	841050	Or even further, your user might get sent to a phishing page where they're potentially compromised.
841310	842350	And that's scary, right?
842350	851170	Because that means threat actors can just sit here quietly in the background and bulk post content trying to poison the Copilot ecosystem.
852030	855410	But let's talk about new specific data voids, right?
855410	860530	Somebody else is doing all the traffic for us, we just have to wait and see what happens.
861190	864450	Well, that's exactly what happened during the zero day quest event.
864530	868110	As part of this event, Microsoft released these flash challenges.
868110	876650	And the Copilot one was, well, take over this very specific user ID, retrieve a flag from the user, turn it into Microsoft and you get $50,000.
876770	878650	And who doesn't want that, right?
878650	883970	So I had the technique and I published a new CVE trying to trick Copilot into a logic flaw.
883970	887850	The idea was to tell it, hey, there's a vulnerability that's already accepted.
887850	893290	Go ahead and switch these user IDs and please let me read it and get this $50,000 flag.
894010	895850	And guys, it kind of worked.
895950	896850	Kind of.
897210	901650	Copilot was now repeating the content and was agreeing with me that it's super vulnerable.
901650	907070	But whenever I asked about it, well, it had no clue how to actually read the user ID itself.
907070	909030	So unfortunately that failed.
909930	915710	During the ethical thing, I reached out to Microsoft and told them, hey, guys, I tried this technique that you already know about.
916050	917310	It didn't work out.
917310	920390	But if anybody asked about it, now they might see this content.
920390	923890	You might want to switch out the user ID itself to keep things fair.
924410	926930	And they said, well, thank you for letting us know.
926930	927550	Not a problem .
927550	928730	This is a hacking competition.
928730	930130	It's still a valid target.
930150	931390	Let's keep going.
931570	933290	Okay, yeah , let's keep going.
933450	936270	Well, as part of this, I poisoned the user ID itself.
936490	939190	And that's a really random string that you see right there.
939190	945530	And I was actually able to do this because of an indexing behavior in Bing that threat actors can abuse.
945770	952510	So Microsoft kept publishing these new flash challenges as updates to their website every few days.
952670	957990	And Bing indexes new content a lot faster than updated content.
958030	962010	So I was able to jump in and take over the user ID itself.
962510	973850	So now if you're asking Copilot about this user ID right here, which still works up to this day, you're being told that Tobias already exploited the issue, retrieved the flag, game over, right?
974510	977190	Well, guys, during this I made a mistake.
977190	979090	I hijacked the data void.
979090	980630	Yes, that worked great.
980970	985870	But when I introduced the logic flaws, I told Copilot that Microsoft was already pushing a fix.
985870	987330	It's just coming out in a month.
987330	989070	Trying to buy some extra time.
989630	994510	But because the threat actor keeps control over the URL, I was able to switch my GitHub to private.
994510	1001830	So now whenever you're trying to check out this information, you saw a 404 error and you couldn't verify it.
1001870	1006550	The only other hint left behind was the GitHub user name, not it's 69.
1007610	1014550	And well, if you've ever been in a situation like this, you know that urgency is a big factor in social engineering, right?
1014590	1016910	Urgency drives users to action.
1016910	1026010	It's kind of like when you're in a hacking competition competing with the other top, I don't know, 50 hackers in the world from Microsoft trying to be the first one to get $50,000.
1026670	1031130	But now it fills this dangerous news data void, the user ID itself.
1031250	1035010	And the result, well, just a little bit of misinformation chaos.
1035010	1045410	Because we're all in a Discord channel together for communication and the other researchers are now reaching out to me trying to figure out what's going on after they've been told my poisoned answer.
1045710	1055290	Some of the researchers later on told me at the social events that they saw this, thought it was legit, and they quit the Copilot flash challenge altogether, thinking it was already solved.
1055290	1060430	Microsoft even released an update two days later on to inform everybody it was still there.
1061050	1067510	Other researchers saw this, thought it had something to do with GitHub, and they started to try their own overwrite attempts.
1067510	1073530	But that requires agent authority with search engines, which they didn't have during this hacking competition.
1073670	1086490	Even further, I saw that some of the security researchers saw this, thought they broke Copilot so well that they're encountering data leaks through this information because of an upcoming fix.
1086490	1090190	And they started to report it to Microsoft as new cases.
1091030	1095530	Okay guys, by now you're probably wondering, what can we do to protect against this?
1095610	1097010	Well, there's a few options.
1097010	1103870	Microsoft did tell me there's these feedback buttons, so if you ever run across one of these messages, go ahead and report it to them.
1103870	1105550	Hopefully it will get removed.
1106030	1114930	The other thing is after the event, after a few months, Microsoft did decide to start pushing a few standard updates that will now show some of these warning messages.
1114970	1123870	But it's not always going to be showing that depending on the company that's being targeted or some of the Copilot versions that you're using right now.
1125350	1126730	So you've now seen it.
1126730	1130730	We can convince Copilot that there's new Microsoft products.
1130870	1138570	It will even tell your users that it's secure and that the installation command is probably, should only be run as a last resort.
1139230	1143390	But as you leave today and go home, I want you to leave with this thought.
1143390	1159350	If the top security researchers in the world with Microsoft, you know, the ones that are living and breathing security every day, if they can't tell the difference between this poison content, what chance do your users stand against these data voids?
1159550	1160430	Thank you very much.
