start	end	text
0	1360	Well, thank you all for coming.
1360	2520	That was an amazing line.
2520	4080	We really appreciate it.
4160	7520	And I'm glad you all are the last survivors of that line.
7740	9320	I'm Langston Clement.
9480	14640	I've been in the industry of red teaming and pentesting for over 15 years.
14800	20500	And had the pleasure of working with this guy for seven of these years doing red teaming.
20500	23420	And we were lucky enough to do a lot of physical engagements.
23600	26480	So, we're very excited to share some of these techniques with you.
27140	28160	Hi, everyone.
28160	29220	My name is Dan Goga.
29220	35240	I've been working with Langston for the past six years doing all types of penetration tests and physical red teams.
35240	42420	So, this presentation is a culmination of our experiences over the past few years and how it's been changing.
42420	45240	And it really changed a lot with the Flipper Zero.
45240	48960	So, we're really excited to share those experiences with everyone here .
48980	53540	And thanks again for bearing with us with these difficulties we're having.
57070	63250	So, over the years, there's been so many great people that have come before us with badge cloning technology.
63250	64810	We've had the Proxmark.
64810	68970	We've had the ESP RFID tool.
68970	78430	And all of these different technologies have allowed people to surreptitiously clone badge technologies.
78430	84530	So, those RFID badges that everyone carries around nowadays, those are very susceptible to cloning.
85090	91030	All of these different hardware, we started out with the Proxmark 3, for anyone who's unfamiliar with that.
91030	94650	That was kind of the entry point for RFID cloning.
94670	97970	And then over the years, we've come to the Flipper Zero.
98070	101950	So, now all those things are much easier to do.
102470	104030	And just palm of your hand.
105230	108930	So, with the Flipper Zero, it is a great device, right?
108930	113430	But if you want to do remote badge cloning, you're gonna need some friends to follow along, okay?
113430	122810	And this is something that was really unique that we kind of came across because we had to figure this out in a certain time period.
122810	129890	But we're gonna talk about just real quick what RFID cloning is first, if you don't understand or know anything about that.
129890	133190	So, basically, you're talking about radio frequency identification.
133190	135750	It supports many protocols.
135750	137150	There's unencrypted protocols.
137150	137990	There's encrypted.
137990	139590	We're gonna talk about both today.
139850	145150	And a lot of these are just widespread all over the country, all over the world, really.
145250	149290	And so, these sort of antiquated badge systems are very easy to break.
149410	156470	And you come across these, you know, different protocols as you're sort of traveling around.
156470	159770	One would be the low frequency versus high frequency slide.
159770	161610	That's where we're at, in case you're wondering.
162110	164890	So, low frequency is less secure.
165250	169150	And essentially, it's got a longer range.
169410	175970	But then the high frequency, 13.5 megahertz is secure.
175970	180310	And it's also a little bit of a shorter range when you're getting close to them.
180370	184370	Now, when you're doing your reader recon, okay?
184370	186830	So, the reader recon is really important.
186830	191510	Because what you're gonna do is you're going to walk up to a badge reader.
191590	200990	And depending on if you have this little device here that I always carry on my keychain, this is the RFID Proxgrind field detector.
200990	212470	It's really neat because what it does is that when you prop it up to a reader, it's just automatically going to flash these two different colors depending on what type of frequency it has, right?
212470	215870	So, it might be a low frequency or it might be a higher frequency.
215870	217170	In this case, it's both.
217170	218790	Which is very interesting, right?
218790	222250	So, we'll talk about what this type of badge reader is later.
222250	228930	But really easy way to just find out what type of frequency that the badge reader is giving off, you can just get one of these.
228970	239270	Now, if it does both, like I said, that's a different type of reader called a multiclass reader that we have a really fun sort of workaround to get to that.
239350	245930	But the key thing here is that if it flashes red, if it's red, you're dead.
245930	246270	All right?
246270	248030	So, that's just the rule of thumb, okay?
248110	249650	Because it's unencrypted.
249650	255910	It's gonna be super easy to get around and clone these badges out of thin air and we're gonna show you how to do that.
255910	262250	Now, if you don't have your trusty Proxgrind and you've left it at home for some reason, how dare you, right?
262250	265070	You can always just use an app on the Flipper.
265070	271590	So, if you go to the Flipper lab, you will actually be able to download an app called RFID detector app.
271590	272570	Very simple.
272570	285230	And it does the same thing that the Proxgrind does, that you just hold it up to it and it will tell you if it's a high frequency, sorry, 13.56, or if it's low frequency, 125 kilohertz, and then boom.
285230	287550	You'll at least know where to start.
289170	296430	So, before we get into the sort of remote side, we're gonna talk about the old school stuff that we used to do, right?
296430	299230	During this whole time, we didn't even have Flippers, like Dan mentioned.
299230	305150	We used to have a Proxmark, so we'd have to bring a laptop around, and that little device that you plug into the laptop.
305150	306510	It wasn't very stealthy.
306510	308790	It was very obvious you were doing something weird, right?
308790	316890	And so, there are other ways that, like before we started doing this remote method, there are just traditional methods that we can do to clone our badges.
318390	331890	Yes, so some pretty well documented cases or ways to clone a badge is with the, as you'll see, now we're on the traditional cloning methods, the brush pass and the clipboard cloner.
331890	340190	So, these have been well documented cases from people who've come before us, from some people who are even talking this weekend at DEF CON 2, so check them out.
340190	348710	But basically, you could put a rogue badge reader in a clipboard like we have here, or you could put it in a messenger bag and try to get up close to somebody.
348770	354130	These have been great ways to get a badge clone, but they weren't always super reliable.
354210	363110	And then, of course, a few years ago, we had that little thing called the coronavirus pandemic that threw a wrench into all of the traditional RFID cloning methods.
363170	370050	And so, you couldn't be within six feet of somebody, and there just weren't many people in office locations to even get badge reads from.
370050	383150	So, this forced us to rethink how we do badge cloning and physical assessments, and that led us to use things like the standalone wall implant method, which you can see on the slide there.
383370	401330	Basically, what this is, is you just put the power source and ESP RFID tool into a rogue badge reader, and you stick it on the side of a building with some type of social engineering placard saying, hey, everybody, use this badge reader and not the real one.
401330	411590	So, everyone comes up, they present their badge, not knowing the difference, and you get a read on that information because of some implanted hardware in the badge reader that we'll get into here in a second.
411590	414810	But this is great because we maintain our anonymity.
414810	418350	We can get there really early in the morning, even with not much foot traffic.
418350	426410	We plant it on the side of the building, and then we sit in the car with a long range Wi-Fi antenna, and we can read all the data from that badge reader.
426450	436530	So, even though we're five years past the pandemic, this still has been a really great method that's persisted because of different hybrid work environments or just buildings with low foot traffic.
439780	445400	And then quickly about the ESP RFID tool, you'll see a slide there about the background information on that.
445400	446560	So, that's what it looks like.
446560	455620	You connect to it over a Wi-Fi interface, and then anytime someone presents badge credentials or presents their badge, you get that piece of information.
455620	471360	Now, this is going to be a little more difficult with our environment, but keep in mind that binary code that you see there, that's what the ESP RFID tool does, and that's the important piece of information that we'll need, and we'll need to transform that to work with the flipper zero here in a second.
473880	476680	And the wall reader is pretty easy to do on your own.
477100	483140	It's not that expensive to find the parts, and there's no soldering, so this can be done pretty easily.
485640	486280	All right.
486280	503920	So, on the wall reader build slide, so you're basically these parts are all, again, all listed on the GitHub, so you don't have to memorize this or, you know, all the slides are here, but basically you're going to be using this little, the key thing is this little tiny tool called the ESP RFID tool.
503920	504940	This tiny, right?
504940	513920	And what it does, it basically dumps the data onto a text file for you, and it's got these little screw-in terminals, that's why it's solderless, right?
513920	519300	So you can just take, use a screwdriver, take some wires, plug them in there, screw it down, you're done, right?
519300	523700	And then on the next slide, you see that the connection guide, okay?
523700	532500	So basically you're going to take the inside, this weekend terminal interface, this is common across all types of badge access, okay?
532500	547140	So this is going to apply for no matter what brand you're using, we're using HID because that's mainly what we see in the United States, but again, this will work with anything, and all you're going to do is just take four simple wires, all right, you're going to take a white wire and a green wire,
547140	550520	and that's going to give you your one and your zero, those are two data wires, okay?
550520	562540	So that's where the binary data is going to get grabbed from, and then dumped onto this little tool, and then you're going to just take a little wire T connector, and you're going to connect it, and with the batteries, that's going to power up this little thing,
562540	567700	because this has a Wi-Fi module on it that you need to access, and your actual badge reader itself.
568080	576180	So again, it's really simple, super easy to do, and then when we get to the clipboard cloning method, I'll show you how the batteries are even simpler.
576180	581300	So the compact standalone wall reader, if you take a look at that picture, that's exactly what it looks like.
581300	591460	So with those two batteries, I did a little bit of prototyping, and it took me a little bit to figure out what would squeeze into this thing, but once you get it, everything is just inside of the unit now.
591460	598320	And then you just take some 3M tape, you literally can slap it on concrete, you can put it on glass, steel, anything, right?
598320	606220	So the client's not going to make it mad that you installed a rogue badge reader, you can just rip it off and take it home with you, and it's really, really simple.
606440	616120	So the first time we did this, it was really funny, because we were super hyped, we were like, oh man, this is going to work, we prototyped it, we practiced, and we're like, okay, let's go stick this on a wall now, right?
616120	628520	So we stuck it literally next to the actual badge reader, and there are some unfortunate consequences that it had, because apparently with low frequency, if you stick them too close to each other, it cancels it out.
628520	632060	So you're basically dossing the badge reader.
632060	633520	We did not know this, right?
633520	640620	So we got a call from our client and said, hey, you took down our badge reader, nobody can get into the front door.
640620	643660	We're like, okay, yeah, we'll go check on that.
643660	650080	Meanwhile, we're in the car watching people, you know, and they're walking up to the door, we're like, oh, there we go, somebody's going to touch the badge reader.
650080	655760	And then all of a sudden , they couldn't get in, the security guard was letting all these people in, what's going on?
655860	671040	So that gave us a good opportunity to do this sort of idea for the next time, if you actually intentionally want to do that, you can do misdirection, so now you can lead people to a back entrance where there isn't a security guard, you can try to tag their badge there or,
671040	676080	you know, something, you can catch them along the way if you're trying to do some badge cloning.
676660	682960	So the cool thing about this is that you can basically do a really quick build.
683060	687820	So if you don't want to use the wall reader, you can use this clipboard cloner, right?
687820	703880	So you can literally take that off the wall and slap it inside of this clipboard, and this clipboard is listed on the link as well, but basically you can just charge this with a 9 volt battery, and it's really nice because you have your obviously super legit paperwork that you,
703880	717860	you know, are walking around the building with, and you can just say, hey, we're doing a security audit, we just need to check your badge, and then they hand you their badge, and you literally hover it over the clipboard, hand it right back to them, within that split second,
717860	719100	you've cloned the data.
719260	731580	It's super quick, you don't even have to hold it that long, just like, okay, you flip it once or twice, get two reads on it, hand it back, you're like, okay, all right, thank you so much, really appreciate it, have a great day, and now you have this data that you can do.
731800	737340	The clipboard cloner build slide that we're on here, again, it lists out everything you need to do.
737340	741760	This one's even simpler, again, because you're using a 9 volt battery, so you only have to use one battery.
742100	754940	We highly recommend these batteries have, like, a little charging port on the side, so if you have, like, USB-C or something, you don't need special equipment to charge it, if you get to the hotel, you know, you get there late, you need to charge the batteries real quick,
754940	757860	you can just do that without having to go grab more batteries.
757960	771420	And then the connection guide for the clipboard connection guides, literally the same thing, you're just using a 9 volt battery, very easy to do, that T-connector just clamps down, so you're not actually soldering any wires, you're just making the connection.
771420	781500	So, yeah, this is the janky version, but you can see that that's literally just connecting the power between the ESP RFID tool and the reader itself.
781500	782420	It's that simple.
784740	795380	And then, yeah, so then we're, like, okay, what are we gonna do if we, you know, like, this is cool, these little guys are cool, but, like, why don't we crank it up a bit, right?
795380	797600	Why don't we, like, go a little bit crazier?
797720	800540	Can we get something that's, like, a long-range reader?
800760	807740	And then after, like, thinking about it, we're, like, oh, okay, what are those things that are outside of parking garages all the time, right?
807740	809280	This thing called the gooseneck.
809340	819940	So the gooseneck is just a metal pedestal that sits there, and basically if you think about it, right, it's set up for parking garages so people can pull up and they can just wave their card.
819940	820860	They don't have to get close.
820860	822640	They don't have to tap their badge to anything.
822640	825600	They just wave it, and then it lets them in the area.
825600	834340	But with that, right, it's usually drilled into concrete, so you're not just gonna, like, pull up to the client's site and drill into concrete in the morning and get away with that, right?
834340	834980	That's impossible.
834980	835760	It's not gonna work.
835840	845000	So I was, like, let's just keep it as simple as possible, and I just took a piece of plywood and some spray paint and some furniture feet, and I was, like, all right, that's it.
845000	846340	This is the gooseneck reader.
846340	851420	So if you see the slide with it next to the trash can, that's what it looks like.
851420	856220	And right now it's in the physical security village, so as soon as you walk in the physical security village, you will see it.
856220	857480	It is turned on.
857940	859940	You've been warned, okay?
860320	866100	We use it for our RFID wall of sheep, so if anybody got, like, badge clone, they're in trouble.
866480	870460	So it sits right next to this trash can.
870460	871540	It's really easy to do.
871540	876080	And the way you can position it next to the door, as soon as somebody walks out that door, game over.
876080	877740	Like, it's too late for them, right?
878160	879540	It just sits there.
879540	883280	It's just, like, you know, it has a 12-hour battery.
883280	884480	You can read up to three feet away.
884480	885440	It's pretty scary.
885580	889020	And then it's the same thing, but it's just a larger version of that, right?
889020	893220	And all these manufacturers have a long-range reader of that.
893280	897740	Then I had a goose joke about, you know, the goose is crying.
897740	901280	So it really doesn't have the same effect when we don't have slides on the screen.
904080	904620	Yeah.
904620	909080	And then the goose neck reader is great, because it's basically the height variance.
909080	915880	So if somebody has their badge around their neck or if they have it on their hip, it really will read both of those.
915880	918220	So it's sort of a perfect type for that.
918260	920980	The build guide is there as well.
920980	922200	Same thing.
922420	925260	But I'm just naming, like, the different types of readers.
925260	930500	So the one that's in the physical security village right now is the MaxiProps 5375.
930740	934080	The high-frequency version of that is the R90.
934560	938260	And then, yeah, the connection guide is the same.
938340	940780	Literally just connect all those wires together.
940780	943580	And then you can see the long-range reader wiring.
943800	947520	Inside of it, it's that simple, just like we're showing you.
947520	949680	It's just a couple wires spliced together.
949680	955660	This time you're going to use a bigger battery, because you need to hold that battery charge for that large reader.
955660	957320	So you just use a 12-volt battery.
957320	958540	It'll last all day.
958540	960180	You really only need it for, like, the morning.
960180	962960	You know, like, just people walking into work.
963680	966060	And then, yeah, the base is very simple.
966140	975620	If you have... if you're fancy and you have, like, you know, a CNC machine or a laser cutter or anything like that, you can use the template that's on the GitHub.
975620	981460	Or you can literally just cut out a 16x16 piece of plywood.
981460	982520	Super simple.
982800	986820	And then you can just trace the holes and then drill them out.
986820	988680	Spray paint it in your backyard.
988680	991160	It's a fun little, you know, day project.
991180	992780	And then you're good to go.
992780	1000700	So when you sit there and you look at the installation, the last slide there, it's just showing it's sitting there with the battery installed.
1000700	1002480	And it's sitting next to a door.
1002480	1004500	It's sitting there on rocks.
1004520	1009780	And because of the distance away from the edge, it counterbalances the weight.
1009780	1012400	So you don't have to worry about tilting or falling over.
1012400	1014660	So it really works out when you do that.
1017990	1018590	Right.
1018590	1024790	So now that you have your Gooseneck Reader implanted, you can do the same angles we did with the Wall Implant Reader.
1024790	1030530	So again, we're just sitting in the parking lot watching the chaos ensue.
1030530	1035170	And we're able to collect all those credentials without anybody knowing our identities.
1035170	1037090	So we can go in later, collect it.
1037090	1045430	In fact, one time we put the Wall Implant Reader on the side of a building and we went away for a little bit, back to the hotel to wait for us to collect credentials.
1045430	1063790	And we come back, we did something else to get inside the building, and then we're sitting in the break room and we watch, or the lobby, and we watch as the local police comes in with the Wall Implant Reader in a little evidence bag because someone called the police and thought it was much more serious than just a badge reader on the side of a building.
1064310	1067850	So that was a pretty fun experience.
1067850	1070850	But we got our creds and we got in the building.
1070850	1079770	So we've gone through all of those different angles and we did our homework there, explaining the background and the RFID.
1079770	1085050	So now it's for the fun stuff and why all of you came to see this talk, the Flipper Zero.
1085050	1091070	So we're going to bring it together as to why all that was important and how the Flipper Zero fits into that.
1092490	1102530	So what you'll need for this is Flipper Zero, some blank low-frequency cards, and the Flipper app on the phone, because that's a real game changer.
1102530	1106890	And then also a bin-to-hex calculator app on your phone.
1108290	1118150	And going back to that ESP RFID interface, you take that binary and now we're going to manipulate that data a little bit to make it compatible with the Flipper.
1118150	1122190	And I'll let Langston explain the card number and facility code here.
1123030	1123470	Okay.
1123470	1129370	So when you're talking about access controls for physical, there's two main things that you need, right?
1129410	1132550	What's the magic behind these cards in the first place, right?
1132550	1137610	So if you hold it up to a light, you'll see sometimes you'll see just the copper wire inside, right?
1137610	1140370	That's dumping, this is binary data on it.
1140370	1143570	And so the card basically holds two key numbers.
1143570	1146790	There's the facility code and then there's the actual card number.
1146790	1154230	So the facility code ranges from 0 to 255 and then the card number can range from 0 to 65,000 plus, right?
1154230	1158530	So you're not really going to just start guessing what the card number is, right?
1158530	1165630	Now, the interesting thing is that sometimes you can pick up a card, on the back of the card, the card number part is actually printed on the card, right?
1165630	1167030	You will actually see that.
1167030	1175710	So if you see some of these that come from the manufacturer, they will actually have the card number printed on the back, but you might not necessarily have the facility code in most cases, right?
1175710	1179690	It's just kind of like writing your password on a sticky note, sticking it on your monitor.
1179890	1181170	We've never seen that before.
1181170	1183210	So that never happens in real life, right?
1183230	1190310	But so basically in this sense, we're going to sort of show you what the binary data does and how you get to those two numbers in the first place.
1190310	1193690	So go to the binary code breakdown slide, okay?
1193830	1199790	And in there, if you check out this, there's a link there.
1199790	1201970	Shout out to the physical security discord.
1201970	1203250	Somebody dropped this link in there.
1203250	1205450	It's super helpful to explain this.
1205450	1209990	But you have essentially a 26-bit card, right?
1209990	1214070	And on your flipper, you're actually going to see the H10301.
1214630	1218190	Now, this is the standard unencrypted card, right?
1218190	1218830	You're going to see that.
1218830	1220390	Sometimes you might see a 37-bit.
1220390	1224030	There's an example of how you break that down, but we're just going to go with the 26-bit.
1224070	1227630	It's composed of an even parity bit and an odd parity bit.
1227630	1228910	Those are the bookends.
1228910	1230150	What we do is just take that.
1230150	1231750	We kind of just toss it away, right?
1231750	1236110	And then there's an 8-bit facility code, and then there's the 16-bit card number.
1236110	1245050	Those are our key numbers that we need, and again, so if you look at this whole loot.txt, you see this 26-bit card, right?
1245050	1246230	18-bit preamble.
1246230	1247290	Don't worry about that.
1247290	1251150	And then the hex that's listed there is actually for Proxmark 3.
1251150	1252990	And again, we're not using Proxmark 3 anymore.
1252990	1253930	We're using the flipper.
1253930	1258450	The flipper accepts a different type of hex code, so that's what we're going to explain how to do.
1258450	1260070	Now, look at the next slide.
1260070	1263430	Binary conversion to hex for the flipper zero.
1263430	1265690	Again, you get your 26-bit card.
1265690	1269950	You're going to just copy that on your phone or on your laptop or whatever.
1269950	1273830	You're going to paste it into this calculator.
1273870	1280950	Remember to move those bookends, those trailing and leading parity bits, so that you're stuck with just your facility code and your card number.
1281030	1284450	And then when you convert it, you're going to get this six-digit hex code.
1284450	1289950	That's what the flipper uses in order to add a card into your system, okay?
1289950	1299090	And so this is the manual way of doing it, and it's good to know how to do it, because again, you might come across a 37-bit that you might need to convert, but it's as simple as that.
1299090	1306390	You're just copying and pasting things, and then you'll get a conversion there, and then you just add it to your flipper here.
1308050	1311690	Right, so from here, you'll see on the sides, it's pretty simple.
1311870	1321330	I'm sure a lot of people in here are familiar with the flipper's general interface, but you're going to take that 125 kilohertz, that's the low-frequency version of the flipper capability.
1321450	1322850	We add it manually.
1322870	1331290	We're going to choose HID H10301, and then we enter that hex data that we just got from the calculator.
1331730	1340710	And if you will go, and of course you got to name it DEF CON 33, and then if you check the info on that entry, you'll see a little easter egg.
1340710	1345630	So facility code 33 and card leap for DEF CON 33, of course.
1345750	1351830	And now you can either write it to a card or use it just emulate with the flipper zero.
1351970	1358910	I mean, bonus points for writing it to an extra card, especially a card that you've done your research on and know what the company's badge looks like.
1358910	1363730	That's super stealthy and that has got us by so many security guards.
1364590	1366390	And then now you're in.
1366850	1371130	So not everyone can see it, but we had a lot of shout outs to Severance here.
1371470	1379430	So it's a little bit of a buzzkill, but you can get all those waffle parties with using the flipper zero and the low frequency.
1380090	1387230	Now also, we just kind of talked down on the low frequency and how easy it is to copy that.
1387230	1394810	But there also are some cases where HID SE and COs readers can be cloned as well.
1394810	1405830	And we mentioned earlier about how the multiclass readers, and I'll just say that keep your eyes open for as you go through society, look at all the badge readers near and far.
1406930	1417210	I'll just and that are vulnerable to basically the downgrade attack, which is what we were alluding to earlier.
1417210	1423150	So if there's a high frequency, multiclass is designed to take high frequency and low frequency.
1423150	1428610	So that multiclass reader that Langston is holding up, that can take either a low frequency card or a high frequency.
1428610	1439130	And it's designed to serve in an environment where they're transitioning cards from, you know, they're issuing new, what they think is higher security, high frequency cards.
1439130	1443590	Yet there's still a vulnerability there where you can downgrade the information.
1443590	1448850	Because essentially it's the same information that's being communicated to the card, just in a different way.
1448850	1457370	So if we collect information from using this multiclass reader, you can still get that same data and write it to a low frequency card.
1457370	1459930	And then that reader can take low frequency too.
1459930	1462410	So okay, I see low frequency or high frequency.
1462410	1464610	Doesn't matter how it got here to the reader.
1464610	1467470	So it's still going to accept it and grant you access.
1472010	1473050	And yeah.
1473050	1477430	So, you know, use the Proxgrind detector tool to go around.
1477430	1484430	If you see those two red lights or two lights blinking, then you're good to go and you're going to be able to get into even more buildings.
1487810	1495970	And this same also the great thing about the basically everything we're talking about today is that it's so versatile and you can take it out of a clipboard cloner.
1495970	1499230	You can slap it to a wall with the right casings, of course.
1499230	1503910	But you can do this just as easily with a clipboard cloner that we did with the low frequency.
1504070	1508270	But of course you need this special R40 multiclass reader instead.
1510330	1512950	And also, yeah.
1512950	1515490	So it applies to many different situations.
1515490	1522150	But same process of getting that binary from ESP RFID tool.
1522150	1528230	And then, of course, for the flipper, we're still doing it on the low frequency, 125 kilohertz.
1528230	1530510	Now I'm on slide 74.
1530570	1532850	And same general interface.
1532850	1534710	Same HID 103.
1534710	1536170	Right to the card.
1536170	1538330	And it's going to be slightly different.
1538330	1539570	Show up in the info.
1539570	1546310	But it'll still work for you to either write to another low frequency or also emulate as well.
1546430	1555870	So bottom line, if you see multiclass readers in an environment, encourage them to move on.
1557110	1557830	Everywhere.
1558830	1560030	Yeah.
1560030	1562410	Hopefully everyone's catching our drift there.
1563670	1566990	So there's ways to disable this.
1567570	1570950	You have to ideally replace all the card readers.
1570950	1577570	But you can disable the low frequency with a power cycle and a special configuration card from HID.
1580960	1581900	So, yeah.
1581900	1592620	So with the multiclass, again, so like the detect either use your proxy or literally walk up to the reader and it'll literally say HID multiclass SC on it and then you just know.
1592620	1592780	Right?
1592780	1599100	You just walk up to readers and read them and then you'll start to understand the more you do this that you're like, oh, okay.
1599100	1608620	And this is actually worked out for us one time because the client had all their upgraded readers to the new SC, which I'm about to talk about in a minute here.
1609080	1610540	And so it's really hard to do that.
1610540	1611720	You can't do that downgrade attack.
1611720	1614820	But they had one multiclass at one door.
1614940	1616620	And we were like, oh, my gosh.
1616620	1617760	This is awesome.
1617760	1621120	So we were able to clone someone's badge, do that whole technique.
1621120	1622800	Then we put it down to a card.
1622800	1626200	We obviously tried the card just for fun at all the other readers.
1626200	1627020	We knew it wouldn't work.
1627020	1631460	And then when we walked up the multiclass, it just led us into that one door and then that was it.
1631460	1632180	Game over.
1632180	1633340	So, yeah.
1633340	1636280	Very important to get your clients to make sure that they upgrade.
1636280	1643120	So on the purple slide, on the number 2 HID SE SEOS legacy attack.
1643200	1647660	So to talk about these sort of readers, right?
1647660	1651820	So this is for iClass SE and SEOS only.
1651820	1657520	So these are the updated versions that don't have these, you know, unencrypted cards.
1657520	1659580	They do have encrypted cards now, right?
1659580	1664720	And the downgrade won't work because it only reads the high frequency thing.
1664720	1666760	So you can't take that low frequency card.
1666760	1668360	It doesn't know how to read that signal.
1668360	1670800	So you tap it to, it's not going to do anything.
1671180	1677860	And the thing with SE cards, to this moment that we know, you can't copy them just one to one just like you can with low frequency, right?
1677860	1680300	You're literally just copying badge data.
1680620	1681740	So you can't do that.
1681740	1685740	So with this one, there's a thing called a legacy attack, okay?
1685760	1690900	And so what it is, is basically it's vulnerable to ICS cards.
1690900	1692760	And this is just the type of card.
1692780	1696060	And what this card is, it's like a legacy card.
1696060	1702440	And basically what it's telling you is that, you know, it can sort of use an older protocol.
1702440	1705040	But these cards are only one time use, right?
1705040	1709900	These other cards that we're using, low frequency, you can rewrite them to infinity, right?
1709900	1713620	But with these ICS cards, they're only one time use.
1713620	1715020	They're like 20 bucks each.
1715020	1716880	So make sure you do it right, okay?
1716880	1723200	But basically all of these I class readers that are all over the place, this is the default configuration.
1723200	1731480	So a lot of the people installing them do not understand that that has this default configuration that's vulnerable to this attack, right?
1731480	1732540	They just sort of install it.
1732540	1735180	They know how to get everything set up on the database.
1736020	1738780	And, you know, you can basically do the same thing.
1738780	1745160	So this actually entails an ICOPYX and this ICS decoder.
1745160	1746600	It's pretty expensive.
1746600	1747160	Not gonna lie.
1747160	1749360	It's like, you know, $800, $900.
1749360	1756400	But we had a client one time that actually asked us to test once they upgraded their badge systems, if they were good.
1756480	1759140	And we were able to purchase that through that.
1759140	1765120	So basically you need this ICOPYX sort of like badge reader.
1765200	1769040	It's a special I class SE reader that connects to the ICOPYX.
1769080	1771500	And you just present the card to it.
1771500	1772300	We did the same thing.
1772300	1775860	We took the clipboard cloner, put it inside, everything inside.
1776060	1779500	Walked up to the front desk and said, hey, we're just doing our security audit.
1779500	1781260	We just need to check your badge real quick.
1781260	1781580	Yeah.
1781580	1782940	The badge audit, yeah.
1783620	1786060	The badge audit is not a real thing.
1786300	1789160	So they handed the badge over.
1789160	1790860	We just hovered it over the top.
1790860	1791960	Handed it right back.
1791960	1793240	Said thank you so much.
1793240	1794480	Went out to the car.
1794600	1800080	And so what happens is that once you read it, it goes... I think I'm on 88 now.
1800080	1800660	Yeah.
1800860	1804180	You basically just have to present it once.
1804180	1807200	The screen's gonna hold the badge reader there.
1807200	1813020	And then you just take your ICS card and you tap the ICS card to the badge reader inside the clipboard.
1813040	1814940	And then it says write successful.
1814940	1817800	So now you have this special legacy card.
1817980	1819880	And then again, boom, you're in.
1819880	1821880	Waffle parties for everybody.
1821880	1823840	Make sure Milchek doesn't find out.
1823840	1833760	Now, the legacy mitigation for this, okay , there is, again, your configuration cards are your friends when you're doing remediation for this stuff.
1833760	1843000	So either have the person who installed it reach out to the manufacturer, get a configuration card, and then you can disable the legacy card authentication.
1843460	1846640	Again, that's the default with this configuration card.
1846640	1849080	And then that should stop that attack.
1850160	1851080	Okay.
1851080	1861540	So yeah, as we're getting to the end here, we're gonna talk about some other real quick, really cool things that we think you should research and discover yourself.
1861540	1864660	So the other long-range RFID readers.
1864760	1877980	So if you're dealing with MyFair stuff, there's this LibNFC Excel reader that Lab 401 makes that you can hook up to a phone that does long-range reads for different types of MyFair NFC cards.
1878300	1882840	And then the one to the right is that Indala reader, the ASR620++.
1882980	1886480	Again, it's the same exact reader that LongRanger did.
1886480	1888760	It's on the gooseneck, but it's just from a different manufacturer.
1888760	1890160	So everything applies the same.
1890160	1891920	You'll do exactly the same thing.
1891920	1899020	But you just have to do your research and make sure you know what type of badge infrastructure that your target is.
1899020	1900440	So you can do the research.
1900440	1904900	Usually we'll go on Google Street Maps and like, Street View, we can zoom in.
1904900	1911820	And once you learn all the different manufacturers, you can just tell from far away what type of badge reader is in there.
1911860	1916080	And then on the next one, there's a thing called MagSpoof, which is amazing.
1916080	1919360	So shout out to Sammy for creating MagSpoof.
1919360	1921420	If you don't know about that, research that.
1921420	1927480	But basically, there's a little extender on the flipper that you can add.
1927540	1931960	And it will read magnetic stripe data through magnets.
1931960	1932920	It's really cool.
1932920	1937320	So this unit will basically, it can read that card data off of it.
1937320	1940820	And then you can put mag stripe data onto your flipper zero.
1940820	1942000	So that's a cool add-on.
1942000	1942440	Check that out.
1942440	1945960	I think they actually might be a vendor here as well from Mexico City.
1945960	1949380	And then the RFID thief, this thing is incredible.
1949380	1961280	So everything we just taught you of how to do this manually and converting everything from bin to hex, this unit automatically does it for you through the ESP RFID tool.
1961280	1965340	So do everything that we just taught you, but add this unit to your flipper.
1965340	1975460	And what it does, it interfaces with the Wi-Fi on the ESP RFID reader, and it just automatically pulls in the cards for you into flipper format.
1975460	1978040	So it creates your workflow super simple.
1978040	1982020	This was just presented in, like, February of this year.
1982020	1984540	And you're selling them for, like, 100 bucks each.
1984540	1989920	So go online quickly after this talk and buy them before your friends, because I think they're sold out.
1990500	1992260	But super cool.
1992460	1993720	Automates your workflow.
1993720	1995540	Makes it really, really awesome.
1995960	1996460	And yeah.
1996460	1999240	And then we're gonna just talk about some stories from the field here.
2000720	2001200	Yeah.
2001200	2009180	So the great thing about the flipper is that it's allowed us to do all this on the fly from the car, or even on client property.
2009320	2016140	In the past, we had a laptop and a Proxmark, and we were juggling all these different things in multiple cards.
2016140	2018360	Now we can do it all just from the flipper.
2018360	2027840	And so this allows us to be really stealthy and really agile on the ball and getting into different rooms we didn't think we'd be able to get into.
2027840	2033360	But whenever you use these different techniques, they just work.
2033460	2035860	It's not that hard to put these things together.
2035860	2040620	And you find yourself in company break rooms, conference rooms.
2040620	2045280	You'll see on the slides there of us with different company logos obscured.
2045280	2060600	We've gone the route of just making company branded polos and other merch to get us into buildings, because people love holding the door open when you're wearing a Nike dry fit corporate branded polo for some reason.
2060600	2069140	And so you'll see in the slides Langston hanging out in the conference room, me hanging out in a IT location room.
2069140	2074480	And of course, to maintain your cover, you really have to become the IT guy.
2074480	2079000	And even if that includes helping to unjam printers on the spot.
2079000	2080620	That is something we have done.
2080780	2082660	We've looked up different things.
2082660	2084800	We've done, you know, Wi-Fi speed tests.
2084800	2086840	And of course, our favorite is the badge audit.
2087480	2095020	But yeah, it's, you know, you gotta get back sometimes to the client and help with them on their printer jams.
2096520	2107040	And then, and then yeah, so the slide of the second one has seen IRL of Dan in the front there.
2107040	2110840	Again, this polos were just so clean, we got them embroidered.
2110840	2116040	And we did a whole talk on ponying with Vistaprint at the social engineering village like two years ago.
2116040	2123520	And we just talked about our workflow of how we just go on Vistaprint, download the logo, embroider it, and then we were walking up to the door.
2123520	2129500	We had already badge cloned somebody in the parking lot, clipboard clone, got them tagged onto our own.
2129500	2135120	And then we walked up to the door, and the person saw the polos and just opened the door for us and just let us right in.
2135120	2138460	So we're like, we did all of that effort, all that work for nothing.
2140380	2146020	And the second picture you see of Dan inside of the server room.
2146020	2148600	So sometimes you take so much time, right?
2148600	2151340	You're like, after hours, you got to go back in.
2151340	2153660	Do they have a lockout policy after hours, right?
2153660	2158940	Do you need to use a special tool like the under door tool to get inside of the server room sometimes, right?
2158940	2160260	When nobody's around.
2160380	2164420	And then all of a sudden, you just see a key that's just like sitting there, right?
2164420	2165620	Like next to the server room.
2165620	2169480	Once you get inside, you're like, oh, I don't have to break into the actual closet itself.
2169480	2171560	It's just taped here on the side, which is ridiculous.
2171560	2174240	So we have some crazy stories, fun stories.
2174920	2176900	And yeah, so there's just a few of them.
2177040	2178240	Check out the references.
2178240	2181940	I highly recommend if you're into this stuff, check out all these references.
2182800	2184780	They're insanely helpful.
2184980	2189700	Brent and Tim are actually... we've been referencing them for years.
2189700	2190700	They're amazing.
2190700	2193160	Their talk is tomorrow, I believe.
2193280	2196660	Make sure you check them out as well from Physical Security Village.
2196960	2198360	And then, yeah, thank you so much.
2198360	2201640	There's our social media there at the end.
2201640	2204000	The QR code, obviously, you already have the link to the GitHub.
2205360	2209640	That's free to go there, start the project, help us out, share with some friends as well.
2210200	2211520	So we got a little bit of extra time.
2211520	2212640	We can come hang out.
2212640	2214680	And if you have any questions, just let us know.
2215040	2215760	Enjoy your DEF CON.
2215760	2216760	Thanks, everybody, for coming.
