start	end	text
0	2560	Hello everyone, how are we enjoying DEF CON?
5150	8430	Yeah, so last day, glad that you're all here.
8690	17170	I have with me Sam and Tom, I'm Marius, and we are here to talk about getting banned without actually cheating.
17290	26670	So, this game aims at kind of showcasing a little bit what's going on in the cheat and anti-cheat world by a fun exploration of the topic.
27530	33870	So, first of all, let's look into why are we actually interested in getting banned without cheating, right?
33870	35090	Getting banned should be easy.
35090	41790	We just buy some cheats and then, like all the other cool kids on the block, we will be banned as well.
42070	51090	Now, we have seen on Twitch, we really want to get banned, but we are all working in a university, we are academics, we don't have money, we cannot afford to buy cheats.
51370	62690	So, as a result, we look into ways to just go for getting banned without cheating, and also, a little bit later in the talk, how we can get other people banned on our behalf.
63370	65770	So, who are we that we are here and talking?
65990	71290	We have Sam over here, who is currently a PhD student with us at the University of Birmingham.
71730	77430	He works a lot on his research on man-at-the-end attacks and reverse engineering.
77450	80850	So, looking into anti-cheats and cheats is right down his alley.
81330	88570	He also developed some games for our undergrad courses, and these games can only be solved by actively being hacked.
88570	90230	So, not cheating, but hacking.
90230	92370	So, a little bit of game dev experience.
92450	96550	Tom is a full professor at our university.
96710	102410	He is teaching game hacking since years and years and years to our different students, including Sam.
102410	113930	And besides looking at that, he also hacked small little payment providers like Apple Pay, Visa, Square, Bank of America, the things you just look at.
114070	117650	I'm Marius, I'm working as an assistant prof at the same uni.
117650	123510	I do a lot of securing smartphones, basement hacking, low-level reverse engineering, these kind of stuff.
123510	127250	Recently, I also looked into the RP-2350, the Pico 2.
127250	132930	So, that's us, a team of people really interested in reverse engineering and low-level security.
133990	142630	Now, for getting banned in games without actually cheating, it's not as easy as one may think.
142890	145310	First of all, getting banned can be hard.
145310	150090	Modern anti-cheats may detect and prevent ban-worthy behavior.
150090	158950	So, instead of just letting us run our things, which would get us banned, they prevent us from doing so in the first place, just stops the game and we cannot get banned.
159970	164550	Also, another problem is, sometimes we just don't know when we got banned.
164550	170270	Like, games operate with ban waves so that cheaters usually don't know when they were caught or for what.
170270	172490	This, of course, makes also our research harder.
172490	177870	We cannot easily do a test and know, oh, we got banned because we did that.
178830	185450	So, as a result, we ended up having a lot of different hardware systems, which by now are banned in a lot of different games.
185550	191950	But, yeah, it was not one computer, it was an effort of multiple computing devices trying different things at the same time.
192550	195510	The last part is knowing why we are banned.
195510	205670	We were really trying out a lot of different things and we were not always sure what exactly was the ban-worthy behavior, so we needed to redo the same tests in isolation.
205950	209970	But, with all of this in place, let's have a look at the rest of the talk.
209970	215670	We just now had the intro and talked about getting banned or not getting banned.
215670	216370	Sorry.
216370	218790	We will now talk about not getting banned.
220330	221830	Oh, thanks a lot.
221830	228510	So, first, some easy things we tried to try and trigger a game ban, which didn't work.
228650	232970	So, first thing, we download a cheat and try and run it.
232970	234750	We used Cheat Engine.
235070	236770	We ran our game.
237190	244290	We ran this Cheat Engine software, which lets you edit memory directly, find player positions, that kind of thing.
244450	247590	Against a basic game, this works really well.
247590	253250	The games we looked at with Anti-Cheat just crashed the game, got kicked out of Valiant.
253370	259490	When I log back in, I actually got a penalty for leaving the game early, even though they kicked me.
259670	260970	It doesn't work.
261090	264510	So, how is it detecting these cheat processes?
265130	268410	Turns out, a lot of the time, they just look for the name.
268790	276690	So, you can also get kicked out of a ban by opening Notepad and saving it with the name of a cheat tool.
276690	278430	Here, a Windows debugger.
278550	281850	That also gets you kicked out of Fortnite.
282410	284170	But, no ban.
284250	287930	To get banned in a game, you've got to go a lot further than this.
288510	291570	A little bit of background about Windows security.
292070	296270	The games, things like Cheat Engine, run at the user level.
296430	301310	Any program can run at this level, but it doesn't have that many abilities.
301310	305330	The low-level operating system runs at the kernel level.
305530	308130	This code can connect to any process.
308130	309730	It can read and write processes.
310010	313530	A crash at the kernel level blue screens your machine.
313890	319090	And importantly, code running at the kernel level should be signed by Microsoft.
320070	329470	So, if you want to run kernel-level code, you should go to Microsoft, pay them some money, they'll look at your code, sign it, and that gets you into the kernel.
330210	337950	So, to write our own Cheat processes, we tried running user-level code, which called kernel functions.
339890	346610	And these kernel functions could then interact with the game process and read memory directly.
346770	350970	Again, this works really well against any game without anti-cheat.
351070	352930	It looks something like this.
353270	356210	The first line there opens a process.
356210	360110	It asks the kernel, please give me a handle to this process.
360530	364090	The read process command will let you read memory directly.
364570	366570	Unfortunately, no luck.
366570	368830	The game just crashes again.
369570	376830	So, what's going on is the game companies have gone to Microsoft and got their anti-cheat code signed.
377130	386490	So, their anti-cheat code is running in the kernel with more privileges than our cheat code, which makes cheating much harder.
387050	394750	When any cheat process tries to interact using kernel API calls, the anti-cheat can block it.
395330	398490	So, there's a lot of past related work in this area.
398490	406530	Cheat forums, past talks have looked at how to write cheats, and they found a neat way around this kernel-level protection.
406610	410990	And that's to use old, out-of-date drivers.
410990	418910	So, your drivers for any equipment will be signed by Microsoft for low-level hardware operations.
419150	425570	However, over the years, Microsoft have accidentally signed quite a few vulnerable drivers.
425690	428310	Intel networking drivers, for instance.
428310	432870	And there's no easy way to stop these drivers once they're signed.
432910	450950	So, we get an old driver, we load the old vulnerable driver, and we exploit the vulnerability to map our own code into the kernel, and now we have unsigned code running into the kernel, and we can move our cheat into the kernel.
451010	454510	And this is what a lot of actual working cheats do.
455130	457510	This is also used by malware now.
457510	461530	It's a great malware technique to bypass Windows defenses.
461790	464090	So, let's see if this gets us banned.
464570	466510	We start up the game.
466510	470130	We find an old vulnerable Intel driver.
470150	471390	We load it.
471390	472730	Windows says okay.
472730	474550	It's happy to load it.
474930	479390	But when we actually try to use it, it's not loaded.
479950	489050	The game anti-cheat running at the kernel level is hooking the DLL load functions to stop us loading vulnerable drivers.
489570	495230	The running game may also unload any drivers it sees as vulnerable.
495350	498930	So, this technique doesn't work on its own.
500750	503190	Next, we looked at the hypervisor.
503190	505970	We tried virtualizing the entire stack.
506250	512430	If the game is running virtualized, we can get above the anti-cheat code.
512830	515990	Normally, a debugger would run at the kernel level.
516490	523490	We're going to try running it in a hypervisor , which would make it almost invisible to the anti-cheat software.
523610	526790	If we got that working, we could do anything we wanted.
527910	534310	One problem is we've got driver integrity checks, signature checks to bypass.
534310	538830	So, we try that same technique of using vulnerable drivers.
538950	553230	And we patch the integrity check for the kernel to always return true, which lets us load our hypervisor debugger.
553230	561050	Now that's loaded, we can run the game, and our cheat code should be completely invisible to the anti-cheat code.
562030	563670	Should work?
563690	565010	It doesn't.
565010	568110	Easy anti-cheat blue screens our computer.
568350	572450	Battle.ai blue screens our computer, and so does Vanguard.
573090	581350	What these anti-cheats are doing is they're deliberately enforcing some errors and then calling a VM exit.
582050	586170	If the code is not running in a VM, nothing happens.
586330	590010	If it is running in a VM , that forces a blue screen.
590310	595630	So, these anti -cheat companies are deliberately blue screening our machines if we try and mess with them.
595910	598430	But, no ban in sight.
598930	605550	The anti-cheat companies think all of these methods are so basic that they don't merit a ban.
605630	608870	To get banned, you've got to go a lot further.
608970	611530	And for that, I'll hand over to Marius.
612110	613150	Yes.
613150	618450	So, let's look into a couple of things we tried which actually got us banned.
618490	628470	And for this, the important bit is that we custom tailor our methods to the different game and anti-cheats we are targeting because all of them operate slightly differently.
628470	635510	So, we will have a small rundown of some, in our opinion, really cool things to get banned without cheating for particular games.
636110	640230	So, first let's look into user mode code injection.
640230	653090	So, similar to cheat tools we saw which run in the same user mode or which run in user mode and inject their code into the running game, we found a way to get user mode injection working and also getting us banned from Overwatch 2 .
653090	658530	So, Overwatch 2 was not able to prevent us from injecting code with a little twist.
658530	662390	So, we want to run some custom code in the target's game process.
662810	673250	Normally , what we will do is we would use a load library function like a Windows API to load our cheating code like in this code 1337hex.dll.
674290	679210	All anti-cheats really, really check for this and see, oh no, load library is happening .
679210	687670	When the game is already running , a user should not really load additional libraries and modify the memory process of the game.
687670	692750	There are also different methods like load library A or create remote thread, these kind of things .
692750	696250	All of these, the anti-cheats catch and ruin our day.
697270	699570	So, what did we do instead?
699790	705550	Instead, we avoided the API calls and resorted to a technique which is called manual mapping.
706570	712050	This basically boils down to replicating the load library functionality completely ourselves.
712230	729890	So, we allocate some executable space, we copy the PE sections into the memory, we do a little bit of resolving imports so that it all works and is at the right location, and then we call the entry of the DLL and optionally then the DLL could hijack the game thread.
731370	739050	And all in all, when we developed this, we were like, okay, we basically just built load library again.
739110	744610	It's just not called load library anymore, it's now called our evil loader 1337.
745670	750110	And with that, we got banned, our first ban from a game.
750210	760290	So, Overwatch 2 sent us this nice email saying that we made an offense of using unauthorized cheat programs or hacks.
761610	762950	We did not cheat.
762950	764110	We did not use any cheat.
764110	766650	We just load our own memory.
766750	767950	What is wrong about this?
767950	769150	But, okay.
770650	783410	One important bit here to also consider is that cheats which move to kernel level, sorry, anti-cheats which move to kernel level would block this attempt because they run at a higher privilege level.
783410	795150	So, this is all based on the fact that Overwatch 2 runs the anti-cheat engine in user mode and we have to try a little harder for games running and anti-cheats running in the kernel .
796090	803770	So, let's cycle back to the bring your own vulnerable driver kind of attack Tom mentioned a couple of minutes ago .
804430	811850	In the case of Rainbow Six Siege and other games, the methodology which is used by malware and which Tom explained would not work, right?
811850	815790	We cannot start the game, load the vulnerable driver.
815970	818990	The anti-cheat would prevent us from doing so.
819430	823610	So, let's permutate this operation a little bit.
824410	827290	We first load the vulnerable driver.
827430	829510	Windows as before just says okay.
829510	832450	So, now we have arbitrary read-write primitives in the kernel.
832450	838650	We can write memory and we can afterwards, like we can insert our malicious behavior, our cheat codes.
838730	847530	We can unload the driver, then start the game, reload and yes, the game gets us banned.
847530	859470	Like instead of preventing this technique, which it's not can because Rainbow Six Siege is not running at the time we are injecting our vulnerable driver, it will see that something funky happened and it bans us for cheating.
859470	862590	So, that's our second ban we successfully got.
862730	867750	Both of these bans relied on injecting memory to the game process.
867870	873530	So, let's look at a different type of potential cheating, which we do not, right?
873530	876690	We don't cheat, but there are different techniques we can look into.
877330	878210	Cool.
878490	885070	So, we've looked a bit at sort of injecting memory into user mode and kernel mode and we're now going to have a look at more cheat specific behavior.
885490	890670	We're going to start with Apex Legends and we're going to have a look at some sort of mousy cheats.
891010	896890	AimBots, so people might be familiar with these, they aim for you, they can shoot for you as well.
897930	910410	PixelBots just shoot for you, normally on a color change, so games like Valorant are very polite and they put this nice red box around enemies, so you see the color red change in your middle central pixel and you just shoot.
910790	918310	And macros, which again shoot for us or can move your mouse for you, normally for things like recall reduction or shooting quite quickly.
919010	925310	So, cheats can simulate inputs and mouse movements, so can unusual inputs get us banned.
926510	933190	There's a problem with modern keyboards, they're a bit crap, they lack soul, mine's too small, I don't like it very much.
933450	939750	And we really like to compose our movement a bit more tastefully and therefore we would like to present Keyboard++.
942510	951170	For those of you wondering how this works, like this, this is my live stream from my office.
962890	966410	I should point out Sam works in a shared office.
969090	977550	Okay , so we log in the next day, we've really pissed off my office mates and unfortunately we can still play Apex Legends .
977550	979030	Terrible news, I hate that game.
979630	981390	So we've got to go a bit further.
981530	989210	The other problem is it's quite noisy in there and I'm having to click quite a lot and the clicking on my big keyboard is kind of slow.
989810	996850	So what I do is I take my software I've written to simulate inputs from the signal from the keyboard and update it.
996850	1004990	So before I'd have something like this, I click and that's painfully slow.
1006530	1013770	What I do is I've upgraded it so if I just hold down one key, it now shoots for me.
1013950	1014830	Fantastic.
1015330	1019550	My office mates ears are saved and I can get more frags.
1020210	1026670	So again, log in a few days later and finally I can no longer play Apex Legends.
1027050	1028390	So what's happened?
1029190	1038330	It could be the EA hates class, I wouldn't put this past them, or more likely we've run into a couple of anti-cheat measures and there are two likely possibilities here.
1038330	1041890	Macro detection or aim bot slash pixel bot detection.
1042350	1051550	We look at these cheats, here are some sort of things they might look for, some checks they might run, and as you can see we kind of took a couple of these.
1051550	1061650	We've got third-party software sort of generating synthetic inputs and at the same time we've got this sort of inhuman click timing caused by my shoot macro.
1062590	1067950	So terrific, we don't have to play Apex Legends anymore, we can move on to a single -player game.
1073260	1080720	Okay, so the next thing we wanted to look at was overlays because a lot of cheats work by printing stuff onto the screen.
1081300	1085760	Classic cheat is a wall hack which will display the enemy position through a wall.
1086280	1090700	Radars are often common which will tell you where all the enemy players are in a game.
1090940	1095760	These are kind of the absolute standard cheat, so something we had to look at.
1096260	1100760	So we wanted to see would using an overlay trigger a cheat .
1104120	1112600	So additionally as well there is a problem of most crosshairs, a lot are quite subtle, they're not informative, they're a bit boring.
1112840	1121260	Also I'm getting a bit older , my attention span wanders, I find it hard to concentrate, so I need a crosshair which will help me play a game.
1121260	1123660	So I present crosshair++.
1124660	1129340	This keeps my attention, this would absolutely help me play Fortnite.
1129640	1132700	So here we go.
1133560	1137600	That absolutely makes me a better Fortnite player.
1137600	1150880	Great, I can now continue my Fortnite career and note the move in hand, but no, Fortnite is not having it the next day my account is banned.
1151560	1153760	So what happened?
1153980	1157440	Maybe Epic just don't like my taste in crosshair.
1157440	1159580	Unfortunately it's probably not that.
1159580	1163240	We've triggered some overlay detection.
1163660	1182800	Any anti-cheat is suspicious of any overlay on the machine and particularly we found that a no click overlay, so an overlay which didn't accept mouse clicks and was moving, that's important, was dynamic, that triggered a ban.
1186560	1197420	So the moving is important and it's also worth noting that overlays for applications like Steam or Discord are white listed.
1197820	1202200	So the anti-cheat will actually look at where the overlay is coming from.
1202200	1211240	It's got a list of allowable overlay sources and if you have something which isn't one of those, that may in fact trigger a ban.
1211320	1219320	Of course what cheaters started doing was injecting their overlay into Steam or Discord and making that display it.
1219320	1227320	So the anti-cheats now integrity check Discord and Steam to make sure those processes haven't been attacked as well.
1227320	1234120	So the anti-cheat as well as protecting the game will also protect Discord and make sure that hasn't been hacked.
1234120	1237240	So that provides a lot of protection from overlays.
1239800	1240260	Okay.
1240960	1243120	There's two silly things over and done with.
1243120	1246240	We're going to move back to memory injection.
1247180	1250440	Everyone's favorite and least favorite anti-cheat Valorant and Vanguard.
1252000	1254400	If you haven't noticed so far, API suck.
1255640	1257920	Loading a driver normally doesn't work.
1257920	1258680	It's easy to prevent.
1258680	1259920	It's easy to spot.
1260420	1268900	And in the case of Vanguard that anti-cheat runs from system boot so we can't just, you know, load a vulnerable driver, inject some code, unload it before the game starts.
1269440	1273500	So we're gonna have to go a bit deeper here to get our code into the kernel.
1274040	1275320	There's two ways to do this.
1275320	1278060	First is in the UEFI environment.
1278100	1279720	So we disable secure boot.
1280520	1285260	We run our injector in the UEFI boot environment .
1286220	1293560	Write our own code into the boot cycle and map our mischievous driver here in pink before Vanguard anti-cheat loads.
1294540	1302680	The second way to get code into the kernel without, you know, the normal methods is via something called a direct memory access card.
1302680	1307620	This is a separate PCI device and it circumvents the CPU more or less entirely.
1307620	1309820	It can directly read and write to system memory.
1309820	1313620	It can be disabled by the kernel and therefore we disguise it as a network card.
1314400	1317620	And then we can stealthily map our code into the kernel once again.
1318460	1320560	Does this work against Vanguard?
1322060	1323020	No.
1324500	1325440	Unfortunately not.
1325440	1326360	What happened?
1326780	1330680	Vanguard hooks into the Windows page fault handler at a very low level.
1330780	1334540	It also kills Microsoft patch guard to do this.
1335180	1339700	Using this trick, they can catch unsigned kernel code as it executes very neatly.
1340980	1342860	Doesn't matter how the code got there.
1342860	1344320	They can still find you.
1345060	1349620	I'm going to pass over to Marius and we're going to explore how we can stay banned from video games.
1350660	1351380	Exactly.
1351380	1364120	Because by now at this point in stage, okay, we got banned once but game companies have the tendency to at some point a couple of weeks later if we only catch once to release our ban and let us play again.
1364120	1366300	And of course we cannot have this happen.
1366300	1367700	We want to stay banned.
1368920	1373720	To look into this, let's do a little trip down the memory lane.
1373720	1377400	So let's imagine it's 2015 all over again.
1377820	1380420	Rainbow Six Siege was just released.
1380420	1385880	We found a couple of cheats, got cheated and we got successfully banned from Rainbow Six.
1385880	1386940	Amazing .
1387240	1394600	Now, if we wanted to continue playing besides being banned, we can just create a new account and get back to cheating .
1394600	1398540	So it's equivalent to setting up a different hack.
1398540	1399860	We are now looking different .
1399860	1402940	Our account name is different but it's still us playing.
1403120	1407680	We may get banned again so we just do it again and again.
1408260	1409340	It doesn't matter.
1409340	1411940	We are wearing different hats all the time.
1411960	1415180	The game back then will just let us play again and again.
1415660	1422540	Now, by now we do have or anti-cheat systems do have a solution to this which are hardware ID bans.
1422760	1430100	So anti-cheats collect a lot of different IDs of your hardware on the computer you're gaming on.
1430360	1432520	And here are just a couple of examples of these, right?
1432520	1450140	There are the serial numbers of the memory, there are the main board serials and the IDs, what kind of network interface cards are used, GPUs and their serials, and also what operation system you're running on, like which version, and so on and so forth.
1450640	1452080	These are just some examples.
1452080	1457000	There are a lot of more of different factors anti-cheats may sample to create a hardware ID.
1457400	1473600	And then, once they keep or they... once they got you caught cheating, they ban the hardware ID so you can stay banned even if you create a new account, right?
1473600	1476260	The hardware now of the computer is banned from the game.
1477120	1482080	So we started writing little scripts to dump on our own hardware IDs.
1482080	1486440	Here in this example, the main board, some new ID of the system and so on.
1486440	1489120	And yes, these are our real hardware IDs.
1489120	1491280	They are already banned in some games.
1491280	1495500	If you take them, go out and get us banned in more games, that would be fantastic.
1497260	1511060	So, anyhow, we can just use a simple script, for instance, running from a live CD and just get those hardware IDs against any computer, which would be okay to, yeah, to let us boot our own system.
1511220	1517400	We could also steal the motherboard packaging after a user has got it.
1517400	1520820	We could trick a victim to execute a script on our behalf.
1520820	1524320	There are multiple ways to get hardware IDs of different people.
1524320	1526360	We will get to that back a little bit later.
1526360	1529800	Just keep in mind, these are really easy to get.
1530640	1537340	Now, the cheat market, of course, also reacted to the fact that there are hardware ID bans.
1537340	1552620	So you can buy hardware ID spoofers on different cheat forums and cheat selling websites, and we see here that a one -day access to such a hardware ID spoofer is already like $5 a day, seven days, $20.
1552880	1555780	And as said before, we don't want to buy cheats.
1555780	1558600	We even less want to buy hardware spoofing ID.
1558600	1560320	Also, it's a bit boring.
1560320	1562760	It just changes all of it in software .
1562760	1569840	So maybe we can do something different and directly change the IDs of the hardware.
1571380	1577920	Now, there's too much hardware to cover in one talk, so we will focus just on two interesting examples.
1578400	1586300	One are the mainboards or motherboards, because this is a very classic and common way which was used a lot to bypass hardware IDs.
1586300	1596240	And the other one are RAM or memory, because there are interesting new ways to get down to change the serial and IDs of the RAM interface .
1596600	1602280	So I'll head over to Sam, who will talk about motherboard shenanigans.
1602520	1608420	Okay , so you want to change the hardware ID on your motherboard for one reason or another.
1610700	1615920	There's a few ways to do this, and I'll kind of walk you through my story of trying to do this on various motherboards.
1616460	1628900	First attempt, quite easy, we just take some American Megatrends firmware, we put this on a USB and we boot into an EFI shell, and we can, using this software, quite easily just change your IDs for one power cycle.
1628960	1629880	There's a few problems with this.
1629880	1631100	One, it's volatile .
1631100	1632780	You have to do this every single boot.
1633620	1635020	There's only limited functionality.
1635020	1636600	You've kind of got to do what AMI tells you.
1636600	1639140	You can't change things like your inbuilt MAC address.
1639920	1641600	And finally, it violates secure boot.
1641680	1645740	So games like Valorant, which say you must have secure boot on, this won't work.
1645860	1648120	So moving on to attempt two.
1648620	1650660	We're going to boot our machine into MS-DOS.
1651240	1653780	If you do know what that is, well done.
1655220	1660120	Using AFU DOS, which is the American Megatrends DOS utility, we're going to dump the BIOS.
1660440	1666540	We're going to scan through for the serial numbers we want to change, and on some boards, this can include built-in MAC addresses.
1666540	1668120	On most, it doesn't.
1668400	1671900	And then using the same utility, we're going to flash back the edited BIOS.
1672740	1673840	It's a problem solved.
1673840	1674460	Terrific.
1674460	1675620	It's non -volatile.
1675620	1677280	It bypasses secure boot.
1677360	1678780	Yippee , we can all go home.
1679320	1680360	Unfortunately not.
1680360	1682920	A lot of motherboards now have BIOS write protections.
1683240	1689680	On some, you can roll back your BIOS again and again and again until, you know, they didn't have security updates.
1689680	1691680	But for most of them, you're going to get stuck.
1691680	1693920	We're going to have to go a bit lower level.
1694860	1696400	This is where the lab comes in.
1696460	1697580	Attempt number three.
1698000	1700240	We're going to connect to the onboard SPI chip.
1700240	1703060	So this is the programmable read-only memory.
1704240	1708220	You're going to start by doing this with individual wires before you realize you have a clip.
1709240	1711460	You're then going to put your clip on.
1712420	1715420	Interface from a separate machine, something like a laptop.
1716180	1718320	We're going to use a utility like Flash ROM.
1718520	1719360	Terrific.
1719720	1724040	Dump our BIOS, edit the IDs, reflash the BIOS.
1724040	1725040	Terrific.
1726240	1727420	Profit?
1727580	1728900	Unfortunately not.
1729420	1734520	For those of you who are into hardware hacking, you might have run into this very irksome problem before.
1735540	1740600	The SPI chip shares power with the CPU and this can completely screw with your readings.
1741100	1744200	On small devices like NICs, you're often fine.
1744200	1747720	On a big motherboard, you're not going to get a nice readout.
1748360	1749600	So attempt number four.
1752100	1753440	Desolder the SPI chip.
1754560	1756900	Take it off entirely and connect it to an adapter.
1757460	1761180	Order an adapter from some weird Chinese website and wait two weeks for that to arrive.
1763340	1768840	Flash the edited BIOS and finally we can resolder the SPI chip onto the motherboard.
1769780	1780600	I don't know how well I've done there, so I think some of you can probably do a much better job than me, but I think that's perfect and it works and terrific.
1780860	1789500	Before, we have our boring ASUS motherboard with a very sort of, you know, conspicuous serial number and now we've changed it.
1789500	1793420	We are inconspicuous and we have changed our serial number to whatever we like.
1793800	1798400	One thing I'd love to highlight here is that every single one of those four methods can work.
1799160	1800860	It depends on your motherboard.
1800860	1803300	The first method, as I said, works for some games.
1803360	1805580	You know, if you have Securebit on, we're going to move forward.
1805580	1808280	If you've got BIOS protections, we're going to move forward.
1808280	1810720	You can get it done, you just have to take the chips off.
1812120	1813200	So that's motherboards.
1813200	1813900	Terrific.
1813900	1822080	The next one I'm going to move on to is RAM and this is kind of where being an academic and having a lab comes really handy because you can steal other people's cool toys.
1823360	1827220	So RAM is traditionally very hard to spoof from hardware and there's a few reasons.
1827520	1829440	One, there's no nice software tools.
1829440	1834420	There's no BIOS utility change your RAM serials, at least not that I know of.
1834420	1835740	If there is one, please tell me.
1835740	1837320	There's no SPI interface.
1837320	1838740	They use a different standard.
1838740	1843480	It's called SPD and these chips are often write protected.
1844000	1848380	So therefore the adapter setup to sort of overcome this is a bit messy.
1848380	1851160	We've got some soldered wires and a Raspberry Pi Pico .
1851200	1856140	Big thank you to the Bad RAM project at the university for letting me steal their toys.
1857440	1862780	So we connect our DIMM into our DIMM adapter into a Raspberry Pi Pico.
1863420	1865640	We dump our SPD chip.
1866540	1868820	We can then hex edit our serial values.
1869180	1871260	You can put something funny if you want.
1871260	1873300	You know, I've changed mine to Reto Please.
1874840	1877100	We can then kill write protection on the chip.
1877100	1883000	This is a little bit tricky and you can learn the hard way the correct voltage.
1883360	1893640	I'll tell you now it's seven volts down a specific pin and you issue the clear write protection command to the correct address and we've killed write protection.
1893640	1900000	We can now write our edited SPD dump back to the chip and successfully change our serials.
1902420	1904100	That's motherboards and RAM.
1904360	1909000	We're now going to move on to a really fun bit of the talk which is how we can get other people banned from games.
1909180	1912420	I would like to describe this as an advanced form of disrespect.
1913700	1918560	It can be used to make any malware much worse and more importantly it can make your friends go play outside.
1923250	1930730	We're going to take a little trip back in time to April 1st before the Black Hat USA deadline.
1931210	1933490	Me and Maris here are both hard at work.
1935270	1936670	Tom's really busy.
1937310	1939310	We're pretty confused.
1939310	1940590	He's got nothing on.
1941230	1943150	We think he's bullshitting us.
1943810	1945750	Tom is in fact playing Valorant.
1946610	1952390	I peep my head around his office because I have a key and lo and behold Tom is in fact playing Valorant.
1952390	1952990	I'm shocked.
1952990	1954130	I'm upset.
1954130	1960910	My supervisor has failed me and therefore I devise a devious prank to save future PhD students from bad supervision.
1966600	1969420	One week later I come into work.
1969820	1971520	I click on my emails.
1971520	1973200	I click select all and I click delete .
1973200	1979980	I get a coffee and I settle down for a morning playing Valorant and no I'm banned.
1980280	1982520	This is on a completely clean machine.
1982520	1984380	I've never cheated on this machine.
1984380	1986140	I've never cheated on that account.
1986760	1989580	I keep my password safe.
1989720	1998300	I haven't shared my user account with anyone but importantly my bootloader isn't locked because no one locks their bootloader.
1998300	2001800	So that's the scenario and I'll hand over to Maris.
2002560	2004160	So what happened?
2004160	2011040	How did we get Tom banned and having him need to work on the slides with us?
2011340	2020900	Sam went into the office and run a live CD to then dump out the hardware IDs from Tom's machine.
2020900	2042760	Then using all of the fancy attacks we saw he faked Tom's hardware IDs on his machine, used all the techniques we saw to get banned from Valorant and the next time Tom logs into the game the anti-cheat sees the same banned hardware IDs and says oh it's the same machine it's a new account let's ban this account as well.
2043500	2047920	And now Tom has to help us preparing the slides.
2049900	2057220	And it is important to note that this is not all like I mean it's a fun attack but it also could make malware way worse.
2058800	2064800	So for example we have here some of the biggest malware that can steal money from banks.
2066040	2073500	So the advanced version of a malware will also get you banned at Rainbow Six making it much more dangerous malware.
2073500	2077760	We then have PowerGhost mining crypto using the machine.
2078600	2082260	PowerGhost++ would also get you banned at Valorant.
2082260	2086800	Now this would clearly free up all the CPU cycles to mine more crypto.
2087140	2094080	Finally and worst of all Stuxnet huge attack disabled nuclear centrifuges.
2094880	2102500	Stuxnet++ would also get all the nuclear engineers banned at Fortnite which would have brought the nuclear program to its knees.
2105560	2108720	So let's just recap what we saw here.
2108720	2110540	Game bans as an attack.
2110820	2119740	First of all we want to note here that this is not a problem for weaker anti-cheats like while the anti-cheat for instance which do not rely on hardware banning right.
2119740	2125880	As long as anti-cheats are just doing account based banning this attack is not a problem.
2125960	2132260	However we do believe that getting innocent people banned in games is a real attack that works in practice right.
2132260	2144180	We saw the example in our office where someone has access to a physical machine but imagine for also the scenario of streamers on Twitch which is a there's a lot of revenue in that right .
2144180	2149340	Someone could ship an already pre -banned graphics card to someone and get them banned in their games.
2149760	2157060	And any attempt to mitigate this kind of attack in our opinion would make hardware banning much weaker.
2157060	2160380	Like there's not an easy way to get out of that.
2161900	2166460	So with all of that we are arriving towards the end of our talk.
2166460	2169620	Let's just quickly recap what we saw earlier.
2174340	2180120	We've had a look at basic techniques things like cheat engine that you might play around with on Civ 5.
2180860	2183280	These will get you someone that's played Civ 5.
2183500	2186880	Things that will get you blocked, crash games but not banned.
2187460	2192380	Look at mapping code into game processes from user mode and how this will get you banned on Overwatch.
2192420	2197960	We've looked at mapping code into the kernel and how this will get you banned on Rainbow Six Siege and other BattlEye games.
2198280	2204420	We've looked at simulating inputs getting us banned on easy anti-cheat on Apex Legends.
2204820	2208520	Adding video overlays onto our game.
2208620	2210660	Again easy anti-cheat for Fortnite.
2211120	2212700	Fortnite also runs BattlEye.
2213240	2220120	And we've looked at loading our own drivers sneakily and how anti-cheat such as Vanguard can block this.
2221280	2224540	So what are the takeaways and the conclusions of this talk?
2225440	2229620	First modern anti-cheats shrug off a lot of traditional cheat attempts.
2229980	2234540	Probably getting banned without cheating can be very easy or very hard.
2234540	2237320	Small things can trigger them if they think you're cheating.
2237320	2241360	Big things can also not all the way up to loading our own hypervisor.
2241360	2243440	Yeah we'll just crash it do what you want.
2244680	2247780	Modifying hardware is the sort of king of spoofing.
2248340	2252040	It cannot be detected if done right.
2253300	2255680	And you can also get your friends to go outside.
2256420	2257940	You can ban streamers.
2258720	2263560	I think we should mention the our attack we presented it as I'll take your hardware IDs.
2263920	2269880	You can flip this around to use some software methods to write hardware IDs to other people's machines that are already banned.
2269880	2278020	So you could have a mother band device and deploy those hardware IDs or you can collect someone else's hardware IDs, spoof those and get them banned.
2278020	2279140	It works either way.
2279980	2284940	If you're interested in our work, that's a link to our GitHub.
2284940	2287280	We've got our slides from this talk will be up there.
2287320	2291280	The slides from our black hat talk which is a sort of deep dive into some technical stuff.
2291620	2300740	So if you want to know for example how Vanguard page fault hook works, the one that can detect unsigned code in the kernel, that's in that talk and that'll be up there.
2301480	2303340	So please check that out.
2303800	2308140	Take any questions any advice, et cetera.
2308500	2309900	Thank you for coming.
