[00:00.000 --> 00:05.920] Okay, everyone, thank you for coming. Welcome. I'm calling [00:05.920 --> 00:09.780] this talk Ghosting the Paxman, Basics of Physical Access [00:09.780 --> 00:15.580] Control and Physical Access Control Systems and Beyond. This [00:15.580 --> 00:20.920] is a very fast and abridged but hopefully fun comprehensive [00:20.920 --> 00:25.340] crash course into physical access control systems. This is [00:25.340 --> 00:29.120] not only going to talk about RFID. A lot of people like to [00:29.120 --> 00:34.040] focus on RFID. And that's just the very tip of the access [00:34.040 --> 00:37.480] control iceberg. And so we're going to be jumping around a [00:37.480 --> 00:39.920] lot. We're going to be talking about a lot of different things. [00:39.920 --> 00:43.220] I hope that it all makes sense. This is normally content that it [00:43.220 --> 00:45.740] takes me two days, two eight-hour days to train folks [00:45.740 --> 00:49.860] on. I just spent the last few hours collapsing it all into 80 [00:49.860 --> 00:54.260] minutes or less. So fingers crossed. If there's any [00:54.260 --> 00:58.560] questions, there will be time at the end. If not, with me in front [00:58.560 --> 01:00.720] of the microphone, certainly with me standing right over [01:00.720 --> 01:04.380] there behind the table so there won't be a problem. So without [01:04.380 --> 01:08.820] further ado, let's get started. Who am I? My name is Babak [01:08.820 --> 01:13.340] Javadi. I'm a lock picker, hardware hacker and covert entry [01:13.340 --> 01:17.220] instructor. I have been teaching methods of covert entry for over [01:17.220 --> 01:21.720] ten years. I'm the co-founder of the Open Organization of Lock [01:21.720 --> 01:24.860] Pickers, otherwise known as TOOL. Who knows about TOOL? [01:24.860 --> 01:28.880] Yeah, that's right. It's pretty awesome, right? It's amazing to [01:28.880 --> 01:32.600] me how much that organization has grown over the years and I [01:32.600 --> 01:36.060] continue to be thoroughly impressed by all of the people [01:36.060 --> 01:40.280] who continue to be so passionate about it. I served as the [01:40.280 --> 01:46.100] director there for about 13 years and finally decided it's [01:46.100 --> 01:50.260] time to let other people dump in their passion into the project [01:50.260 --> 01:53.400] so I have some room for some other things. I'm also founder [01:53.400 --> 01:56.840] and director of research for the Core Group. That is my [01:56.840 --> 01:59.440] consultancy. We specialize in penetration testing, reverse [01:59.440 --> 02:02.400] engineering and research just like about every other company [02:02.400 --> 02:06.400] here. So, not very exciting. Also co-founder of the Red Team [02:06.400 --> 02:09.880] Alliance. We specialize in physical security training and [02:09.880 --> 02:13.160] certifications and that's all I'll say about that. So let's [02:13.160 --> 02:17.500] jump right into it. Who has used an electronic door lock? Yes, [02:17.500 --> 02:20.460] that's right. When most people think of electronic door locks, [02:20.460 --> 02:39.400] this is what they think of. That's so easy. That's one of [02:39.400 --> 02:42.000] the main reasons why we use access control, right? It's easy [02:42.000 --> 02:45.360] for everyone. It's easy for the user. You get to pull out your [02:45.360 --> 02:48.520] card. You just wave it. Some magic happens and the door is [02:48.520 --> 02:51.180] open. It's great. From the administrative side, it's also [02:51.180 --> 02:54.880] pretty easy, right? If someone says, oh, no, I lost my card. No [02:54.880 --> 02:58.860] problem. Credential revoked. Someone decides they want to do [02:58.860 --> 03:01.160] something against company policy. They get terminated. [03:01.160 --> 03:04.800] Credential revoked. Very, very easy, right? You want to do time [03:04.800 --> 03:08.140] of day access. You want to only let someone in during the hours [03:08.140 --> 03:10.980] of 8 and 5. No problem. Just punch that into the access [03:10.980 --> 03:14.980] control system. It's all taken care of. Very, very easy. But [03:14.980 --> 03:18.340] ultimately, anything electronic, there's some feedback, isn't [03:18.340 --> 03:22.360] there? Is that bothering anyone else? I want to make sure you [03:22.360 --> 03:29.040] all are comfortable. Yeah? All right. I have to pick the right [03:29.040 --> 03:34.640] distance somewhere between like here, deeper. I've got to eat [03:34.640 --> 03:41.380] the ice cream. All right. We're going to do our best. So anytime [03:41.380 --> 03:44.240] you have something electronic meeting physical, there has to [03:44.240 --> 03:47.300] be an interconnect, right? Where the electronic world meets the [03:47.300 --> 03:50.840] physical world has to have an interface of some kind. And when [03:50.840 --> 03:53.860] it comes to modern access control, that comes in usually [03:53.860 --> 03:57.300] one of three different ways. So first you have this. What is [03:57.300 --> 04:00.100] this? What are we looking at in these photos? Can anyone tell me? [04:02.260 --> 04:05.960] Electrified strike. That is correct. So this would take place [04:05.960 --> 04:09.740] of the existing strike plate. And it's a little solenoid in [04:09.740 --> 04:13.280] there. Whenever you apply a voltage to it, it allows the [04:13.820 --> 04:16.560] little strike thing to swivel out of the way and you can just [04:16.560 --> 04:20.060] pull the door open without even turning the handle. What's this? [04:20.640 --> 04:24.860] Mag lock. Yes, magnetic lock. Two-piece construction. You have [04:24.860 --> 04:28.060] an electromagnet and the giant boxy thing on the right. You [04:28.060 --> 04:31.020] have a steel plate and the boxy thing on the left. And when you [04:31.020 --> 04:34.240] apply power, they stick together really, really, really well. [04:34.240 --> 04:38.440] That's also very, very popular. Third kind is an electrified [04:38.440 --> 04:43.280] lock set. This is an example of an electrified lock set. So this [04:43.280 --> 04:48.460] does not use an electrified strike or a magnetic lock plate, [04:48.460 --> 04:54.520] but rather has a solenoid hidden inside of the lock. And I used [04:54.520 --> 04:57.660] to have a photo of this, of a different lock. This was the [04:57.660 --> 05:00.880] official manufacturer's photo. Does this photo bother anyone [05:00.880 --> 05:09.260] else? No? What bothers you about this photo, sir? What's that? [05:09.260 --> 05:14.920] Well, there's a lock. Okay. Red and black wires really in [05:14.920 --> 05:17.580] general should never be designed to go right into each other. [05:17.580 --> 05:19.880] That just seems like bad design. But that is the official [05:19.880 --> 05:22.400] manufacturer's photo. But regardless of all of those [05:22.400 --> 05:26.620] things and all of these cases, what's happening is you have a [05:26.620 --> 05:31.040] source of power, whether that be a transformer, AC or otherwise, [05:31.260 --> 05:35.980] and a backup battery perhaps, if the crap has really hit the HVAC [05:35.980 --> 05:41.620] system, so to speak. And these are powering these secure entry [05:41.620 --> 05:44.620] and exit devices, whether they be mag locks or electrified [05:44.620 --> 05:49.300] strikes. The simplest form can be sometimes seen in your [05:49.300 --> 05:52.540] friendly neighborhood cheap discount jewelry store. If you [05:52.540 --> 05:55.300] have ever walked up to a store where the door is locked and you [05:55.300 --> 05:58.760] have to like knock on the glass or press a doorbell and someone [05:58.760 --> 06:01.220] like presses another button underneath the counter, that's [06:01.220 --> 06:04.340] not access control that we're talking about today. What we're [06:04.340 --> 06:06.840] talking about is something a little bit more common in [06:06.840 --> 06:10.660] enterprise. So this is a better example of what we're talking [06:10.660 --> 06:14.100] about in terms of physical access control systems today. [06:14.100 --> 06:16.420] What we're looking at is a door controller. What is a door [06:16.420 --> 06:20.060] controller, you may ask? A door controller is a fancy term for [06:20.060 --> 06:24.220] embedded Linux device with some relays on it. That's about it. [06:24.540 --> 06:27.600] So this door controller is actually what's in charge of all [06:27.600 --> 06:31.480] the logic that takes place in an access control system. Every [06:31.480 --> 06:34.220] time you use the door, every time you open a door, every time [06:34.220 --> 06:37.900] you close a door, every time you present a card to the reader, [06:37.900 --> 06:41.500] there is a signal or a series of signals of some kind that is [06:41.500 --> 06:44.580] monitored by the door controller and that's making decisions. The [06:44.580 --> 06:47.500] most common type of input into a door controller is what? [06:47.700 --> 06:52.000] Credentials, of course. So I'm going to go ahead in parts of [06:52.000 --> 06:55.520] this talk, I'm going to insult your intelligence a little bit, [06:55.520 --> 06:58.240] not literally, but I like to use analogies. I like to use [06:58.240 --> 07:01.640] analogies because it demystifies how opaque some of this [07:01.640 --> 07:05.620] technology is. I want to really break it down into the simple, [07:05.620 --> 07:08.760] simple building blocks. So if this seems overly simplistic, I [07:08.760 --> 07:11.420] hope that you're not too bothered by it, but I do know [07:11.420 --> 07:14.320] that for a lot of folks it helps kind of drive the point home. So [07:14.800 --> 07:18.240] we are going to, and I'm going to have trouble with this word, [07:20.240 --> 07:24.800] anthropomorphize. Someone help me out here. That, what these [07:24.800 --> 07:27.140] groups of people here just said, we're going to do that to the [07:27.140 --> 07:32.140] access control system. And here are our players. We have our RFID [07:32.140 --> 07:35.160] credential in the lower left there. His name is Alberto. And [07:35.160 --> 07:38.900] we have our RFID reader as a security guard. That executive [07:38.900 --> 07:41.220] manager person over there, that's the door controller [07:41.220 --> 07:44.120] panel. And of course our electrified strike is played by [07:44.120 --> 07:48.640] the door hardware. Pretty straightforward. So, basic idea, [07:48.640 --> 07:52.140] door, the card reader is always going to be interrogating the [07:52.140 --> 07:54.980] credential, whatever that credential is. It's going to be [07:54.980 --> 07:58.100] saying hi, who are you, over and over and over again. The [07:58.100 --> 08:02.620] credential is going to identify itself. It's going to supply a [08:02.620 --> 08:06.240] means of identification to the card reader. The card reader is [08:06.240 --> 08:09.400] going to interpret that response, convert it, and [08:09.400 --> 08:12.300] sanitize it into a format that the door controller can [08:12.300 --> 08:14.620] understand and send that information to the door [08:14.860 --> 08:18.240] controller. The door controller receives that response, [08:18.240 --> 08:20.660] processes some logic. It says, hey, I know who that person is. [08:20.660 --> 08:23.000] I know that card number. I'm going to go ahead and let that [08:23.000 --> 08:25.880] person in and I'm going to fire the electrified strike and [08:25.880 --> 08:28.640] that's going to let them in. Pretty straightforward, right? [08:28.780 --> 08:32.180] That's the whole system in a nutshell. So, credentials are [08:32.180 --> 08:36.280] one type of input that goes into an access control system. Of [08:36.280 --> 08:38.280] course, credentials, we're going to talk about them a little bit [08:38.280 --> 08:40.880] more in depth in a moment. They come in a couple different [08:40.880 --> 08:44.700] formats. They can be something you have, something you know, or [08:44.700 --> 08:47.520] in the case of biometric systems, something you are, such [08:47.520 --> 08:51.940] as fingerprint, iris, facial, all that stuff. These are all [08:51.940 --> 08:55.800] different forms of inputs that go into the door controller. [08:55.920 --> 08:58.400] There is another really common type of input. We're going to [08:58.400 --> 09:01.860] get that out of the way first. It's this. Who can tell me what [09:01.860 --> 09:06.260] this is? This is a REX, otherwise known as a request to [09:06.260 --> 09:09.940] exit sensor. This is the most common use of this type of [09:09.940 --> 09:14.400] sensor. It is basically a fancy name for a motion sensor and [09:14.400 --> 09:17.800] that also gets tied into the door controller. And there's a [09:17.800 --> 09:20.400] couple of different ways that a REX can be set up. The most [09:20.400 --> 09:23.380] common type of way, show of hands, who has ever walked [09:23.380 --> 09:25.700] through a secure door and as you approach the door, the door [09:25.700 --> 09:30.460] unlocks? Yep. So that's using a request to exit sensor. Here's [09:30.460 --> 09:33.780] the basic concept behind it. Here's a request to exit sensor [09:33.780 --> 09:37.360] right over here. So our credential comes, or user rather, [09:37.360 --> 09:40.520] comes along. The sensor says, hey, I see some motion. Someone [09:40.520 --> 09:44.100] is probably trying to leave. Let the door controller know. Door [09:44.100 --> 09:46.700] controller says, hey, there's motion on the secured side of [09:46.700 --> 09:48.980] the door. We're going to go ahead and let them out. Fire the [09:48.980 --> 09:52.460] electric strike. They can exit. Easy peasy. Now here's the [09:52.460 --> 09:56.340] thing. This guy doesn't have a great vision plan. He can't see [09:56.340 --> 10:00.020] very well. So as a result, you can kind of trick him sometimes. [10:00.240 --> 10:03.520] And a lot of folks have probably seen this, but I want to show it [10:03.520 --> 10:06.480] to those who haven't just again to drive the point home. Here's [10:06.600 --> 10:09.000] a couple of examples of how you can do that and how you can mess [10:09.000 --> 10:18.980] with that. So what did we just see happen? We were standing on [10:18.980 --> 10:22.760] the secured side of the door and our friendly neighborhood doctor [10:22.760 --> 10:27.300] Tran himself used not a credential. What did he use [10:27.300 --> 10:31.580] instead to enter? Can of air. That's right. So he's turning [10:31.580 --> 10:34.500] that upside down, spraying it through the gap in the door and [10:34.500 --> 10:38.220] magically the door opens. Here's another example. Research lab in [10:38.220 --> 10:42.980] Philly. I'm showing my colleague how this works and trying to [10:42.980 --> 10:46.040] teach him building owners to standing behind us. And [10:46.040 --> 10:49.920] initially he's using it wrong. And so I have to correct him a [10:49.920 --> 10:52.440] little bit. And notice we're not interacting with the card reader [10:52.440 --> 10:55.320] on the right at all. We're just interacting with the gap in [10:55.320 --> 10:58.660] between to get into that particular lab and he's going to [10:58.660 --> 11:03.620] go ahead and spray that, turn that upside down and doors open. [11:03.800 --> 11:08.160] Well, why does that work? That's really dumb. Like this shouldn't [11:08.160 --> 11:14.460] be a thing, right? And it works all the time. You can do this in [11:14.560 --> 11:16.680] a couple of different ways and we're not going to go in depth [11:16.680 --> 11:19.880] into all of them. But basically the most common type of the [11:19.880 --> 11:23.820] sensor is called a PIR sensor. Anyone know what PIR stands for? [11:24.600 --> 11:27.980] Yes, that's right. Passive infrared. Infrared is really good [11:27.980 --> 11:34.020] at detecting a change in what? Heat. Right. So heat is a 2D [11:34.020 --> 11:37.000] heat map, right? So they're very good at detecting change in [11:37.000 --> 11:39.980] heat. Now the problem with that is if you folks in the audience [11:39.980 --> 11:43.700] saw the sensor and I take one step back or one step forward, [11:43.700 --> 11:46.580] has the 2D heat map that you can see change in an appreciable [11:46.580 --> 11:51.380] way? No, not really. I got to do this, right? So as a result, in [11:51.380 --> 11:54.180] order to prevent users from running smack into the door, [11:54.180 --> 11:56.380] they have to turn the sensitivity up really, really [11:56.380 --> 11:59.580] high so people can get in really, really easily, right? [11:59.600 --> 12:02.600] Because you don't want angry users. So as a result, they're [12:02.600 --> 12:05.620] very, very easy to manipulate. There's another type of sensor [12:05.620 --> 12:08.580] we're not going to get into really much. It's called RCR or [12:08.580 --> 12:11.700] range controlled radar, also known as microwave. That detects [12:11.700 --> 12:14.560] change in distance. It's very good in this forward and [12:14.560 --> 12:18.340] backward direction. Not quite as good as the side to side. And [12:18.340 --> 12:22.220] so these RCR sensors are usually dual technology sensors that [12:22.220 --> 12:25.780] incorporate both infrared and microwave and you have to [12:25.780 --> 12:29.160] activate both in order for it to fire usually. You'll see these [12:29.160 --> 12:33.260] all over the place. They'll be mounted above door frames, on [12:33.260 --> 12:35.740] the side of door frames. Sometimes you'll see them like [12:35.740 --> 12:38.300] in really, really high up places. Like take a look at [12:38.300 --> 12:42.000] where the sensor is here. It's all the way up top in this [12:42.000 --> 12:46.360] corner. And because you have this huge, wide hallway, we [12:46.360 --> 12:48.500] don't actually have to be very close to it in order to trigger [12:48.500 --> 12:55.120] it. Now, you don't have to use CanDare. Here's our colleague [12:55.120 --> 12:59.580] Dave Kennedy. And what he's going to do is he's just going [12:59.580 --> 13:03.340] to use his fancy physical security compromise tool in his [13:03.340 --> 13:07.340] hand. What is that? Yeah, it's a vape. Pretty straightforward. [13:07.460 --> 13:11.040] And it's our favorite door. And he's just going to blow right [13:11.040 --> 13:13.260] through. It's not going to work the first time. So he's going [13:13.260 --> 13:17.680] to give it another shot. And on the second draw, that vapor is [13:17.680 --> 13:20.380] just hot enough and warm enough to go ahead and activate that [13:20.380 --> 13:23.640] door. And we're in. Of course, if you don't vape, maybe you [13:23.640 --> 13:29.660] like whiskey, right? Here's my business partner, Deviant, out [13:29.660 --> 13:33.720] on a night on a town. And he's looking at this ATM lobby. And [13:33.720 --> 13:36.120] he's like, hmm, I don't feel like using my card. I'm just [13:36.120 --> 13:40.040] going to go ahead and do that. And the door will pop open. And [13:40.040 --> 13:43.440] again, you can use a lot of different varieties of [13:43.440 --> 13:47.780] substances to do this. But this is just one type of input in a [13:47.780 --> 13:51.020] access control system. So there's a couple of things that [13:51.020 --> 13:53.600] we need to consider when looking at an access control system. We [13:53.600 --> 13:56.220] have our credentials. And they can come in a variety of [13:56.220 --> 13:59.840] different formats. We're going to talk about that. We have our [13:59.840 --> 14:02.240] readers. They can also come in a variety of different [14:02.700 --> 14:06.300] architectures and formats. We'll talk about that as well. We have [14:06.300 --> 14:08.720] our door hardware, whether they be mag lock or electrified [14:08.720 --> 14:13.500] strike. We have our motion sensors and door contacts. We [14:13.500 --> 14:16.460] will talk about door contacts in a bit. We have our door [14:16.460 --> 14:18.980] controller, which all this is connected to that makes the [14:18.980 --> 14:22.740] logical decision. And of course we have our administrative [14:22.740 --> 14:26.260] software that door controller has to know which users are [14:26.260 --> 14:30.220] allowed to get in and which users are not. All of this is [14:30.220 --> 14:35.400] one happy family, right? Hmm, kind of. So each one of these [14:35.400 --> 14:38.560] links speaks a different language. And that creates some [14:38.560 --> 14:42.180] really fun security situations as we will find out. So when [14:42.180 --> 14:45.940] most people talk about RFID, what they're actually talking [14:45.940 --> 14:49.940] about is only that first link, right? When most people think [14:49.940 --> 14:52.800] of RFID, they're actually thinking of the whole system, [14:52.800 --> 14:56.740] right? They're like, oh, that whole thing is RFID. No. False. [14:56.940 --> 15:01.360] Only that very first link is RFID. Like I said, RFID is the [15:01.360 --> 15:04.760] very tip of the access control iceberg. So whether you have [15:04.760 --> 15:08.900] Prox, MyFair, iClass, MagStripe, who's a what's it, biometric, [15:08.900 --> 15:12.120] doesn't matter. It's still all only talking about that first [15:12.120 --> 15:15.000] link. So let's talk about that first link. Let's learn a little [15:15.000 --> 15:20.000] bit of the history of access control. Who's heard of WeGand? [15:20.620 --> 15:25.280] Yeah. Who knew WeGand was a person? A couple people. [15:25.280 --> 15:29.920] Impressive. So let's learn about John Richard WeGand, a very [15:29.920 --> 15:36.460] badass OG German hacker born in 1912. Immigrated to the U.S. to [15:36.460 --> 15:40.560] study choral conducting at Juilliard, right? Huge music nerd. [15:41.080 --> 15:43.080] And while he was there, you know, in order to reproduce [15:43.080 --> 15:47.000] music, you have to use what? Speakers, right? So he became [15:47.000 --> 15:49.840] really interested in audio amplifiers and through that [15:50.360 --> 15:52.420] electromagnetics. And he went through a couple of different [15:52.420 --> 15:55.820] really interesting jobs. He, for a while, made tape recorders [15:55.820 --> 15:58.900] for the U.S. government and stuff like that. And eventually [15:59.620 --> 16:02.440] he became so interested in electromagnetics that he made [16:02.440 --> 16:04.960] some really interesting discoveries. He came up with [16:04.960 --> 16:10.180] something called WeGand wire. Originally patented 1974. Very [16:10.180 --> 16:12.640] old technology. You can look up the patents yourself. It's [16:12.640 --> 16:16.700] really, really cool stuff. To put it bluntly, it is a little [16:16.700 --> 16:20.360] piece of wire with a soft inner core and a hard outer shell. Now [16:20.360 --> 16:24.320] that may not make any sense. You might be thinking, Bobik, metal [16:24.320 --> 16:26.500] is hard. What are you talking about? Soft metal. That doesn't [16:26.500 --> 16:29.000] make any sense. Well, what we're talking about is [16:29.000 --> 16:31.700] relatively speaking, right? So if you ever take a paper clip [16:31.700 --> 16:34.860] and you bend it back and forth, what happens to the material [16:34.860 --> 16:38.960] right before it breaks? Yeah, work hardening. It gets brittle, [16:38.960 --> 16:43.260] right? Its characteristics, its physical characteristics change. [16:43.260 --> 16:46.140] And you can twist wire and you can do interesting things to it [16:46.140 --> 16:50.020] such that the outer shell, the outer layers of the wire become [16:50.020 --> 16:53.100] more hard and more brittle than the inner layers. And when you [16:53.100 --> 16:55.700] do that to certain iron alloys, really interesting things [16:55.700 --> 16:58.200] happen. We don't have to get into the science really, really [16:58.200 --> 17:02.200] deeply. However, weekend wire is literally pieces of wire [17:02.200 --> 17:08.340] embedded in a plastic card, drum or encoder of some kind that [17:08.340 --> 17:12.600] passes by two permanent magnets with a sense coil in between. [17:12.600 --> 17:16.060] And as it passes in between, some really cool stuff happens [17:16.060 --> 17:20.300] inside the wire. Basically the outer core of the outer surface [17:20.300 --> 17:23.960] of the wire magnetizes first, then the inner core magnetizes [17:23.960 --> 17:29.280] and as you pass the wire past the second magnet, the inner [17:29.280 --> 17:34.120] polarity, the magnetic polarity of the inner core flips and that [17:34.120 --> 17:37.520] flip is actually detected as an electromagnetic pulse by the [17:37.520 --> 17:41.500] sense coil. And that's actually how original systems worked. [17:41.500 --> 17:46.680] This is an example of an original weekend card, okay? So [17:46.680 --> 17:49.620] the original access control cards, when access control, [17:49.620 --> 17:53.360] modern access control was first invented, were not proximity. [17:53.360 --> 17:56.260] They were swipe cards, not mag stripe. We'll talk about that in [17:56.360 --> 18:00.140] a moment. And they literally had two rows of wires. The wires [18:00.140 --> 18:04.080] physically represented the zero bits and the one bits. So as you [18:04.080 --> 18:07.840] slid this card through the reader, they would pass over two [18:07.840 --> 18:10.420] different read heads and those wires would physically produce [18:10.420 --> 18:15.040] little blips on the line, right? So here we have 26 wires in the [18:15.040 --> 18:18.320] card and as you slide that through the reader, there's a [18:18.320 --> 18:21.100] data zero and data one line. It's a five volt signaling [18:21.100 --> 18:25.740] protocol and every time a little wire passes by the sensor, one [18:25.740 --> 18:28.600] of those signal lines is shorted to ground for a very short [18:28.600 --> 18:31.100] amount of time and a signal is sent down the wire representing [18:31.100 --> 18:36.740] zero or one. This became very, very, very popular. So it was [18:36.740 --> 18:41.100] invented in 74. By the 80s, it was considered leading edge, [18:41.100 --> 18:45.260] best of the best. And by the mid 90s, this thing was [18:45.260 --> 18:48.280] everywhere. It was widespread. Everyone was using it. I mean [18:48.280 --> 18:52.840] everyone. To such an extent that by 1996, SIA, the security [18:52.840 --> 18:56.400] industry association adopted it as the official standard [18:56.400 --> 19:00.300] communication protocol for card readers and door controllers. [19:00.620 --> 19:03.520] And everyone began to use it to make things backwards [19:03.520 --> 19:06.000] compatible. So I want to show you an example of what weekend [19:06.000 --> 19:08.820] wire looks like because it's not something you get to see very, [19:08.820 --> 19:15.280] very often. And we're going to place this here. And let's see [19:15.280 --> 19:21.800] if we can get our camera working. We'll do... there we [19:21.800 --> 19:28.660] are. We'll do this. And we'll flip over to duplicate mode. [19:30.720 --> 19:37.460] All right. So what we have here is just a neat little demo tool [19:37.460 --> 19:50.650] that we've created. All right. This is an original weekend [19:51.270 --> 19:57.830] swipe card reader. And we have a weekend card. Now, for those of [19:57.830 --> 20:00.790] you that can't see, you'll notice that as I tilt it, you [20:00.790 --> 20:04.890] can actually see physically something embedded in the card. [20:05.190 --> 20:07.330] And what I'm going to do is I'm actually going to shine a [20:07.330 --> 20:09.710] flashlight through the bottom. You'll actually be able to see [20:09.710 --> 20:31.140] the physical zero bits and one bits. So you can actually see as [20:31.140 --> 20:34.200] we move the flashlight, there's literally wires embedded in the [20:34.200 --> 20:37.260] card. And that's actually what's going to be detected by the [20:37.260 --> 20:40.340] reader as I swipe this through. So we're going to go ahead and [20:40.340 --> 20:48.080] try that. And that's it. And so this screen here is a little [20:48.080 --> 20:50.900] decoder. It's going to take that, those little blips of [20:50.900 --> 20:53.480] weekend data and it's going to try to decode it in a number of [20:53.480 --> 20:56.440] different human readable formats. Now, here's what's [20:56.440 --> 20:58.400] interesting. We're going to talk about this a little bit later in [20:58.400 --> 21:03.800] the presentation. Notice how there's 36 bits, but there's a [21:03.800 --> 21:06.260] number of different ways to decode them. There are different [21:06.260 --> 21:09.420] facility codes and card numbers. And these are all just different [21:09.420 --> 21:13.240] ways of decoding the same physical data. So we're in a [21:13.240 --> 21:17.080] little bit going to talk about bit formats and how it's kind of [21:17.080 --> 21:19.780] a nightmare when it comes to access control. And that's a [21:19.780 --> 21:23.600] very important thing to understand about weekend cards. [21:23.600 --> 21:28.240] So we'll go ahead and minimize that. And let's talk about [21:28.240 --> 21:30.340] another old technology because context is really, really [21:30.340 --> 21:32.340] important. You might be thinking, man, we're in wireless [21:32.340 --> 21:34.540] village. Why are we talking about weekend? Because you got [21:34.540 --> 21:36.260] to know where you came from before you know where you're [21:36.260 --> 21:40.900] going, right? So let's take a look at a magnetic stripe card. [21:42.040 --> 21:45.960] One of these guys here, right? So we'll again switch back to [21:45.960 --> 21:49.620] our camera. Here's our mag stripe card. We'll go ahead and [21:49.620 --> 21:53.400] pop that into focus. Increase our exposure so we can actually [21:53.400 --> 21:59.800] see what we're doing. All right. So mag stripe, I like to think [21:59.800 --> 22:02.800] of it as fancy bar code. Not literally. It's not quite the [22:02.800 --> 22:06.420] same encoding, but it is close. What I'm going to use is pretty [22:06.420 --> 22:09.220] cool stuff. It's really, really basic, actually. This is [22:09.220 --> 22:12.620] magnetic developer, which is just a fancy way of saying [22:12.620 --> 22:15.380] really fast evaporating solvent with really, really tiny [22:15.380 --> 22:18.560] particles of iron in it. And I'm going to drip this on the card [22:18.560 --> 22:22.000] and you're going to again see the physical representation of [22:22.000 --> 22:59.760] that credential data encoded on the card. That is not my [22:59.760 --> 23:04.020] favorite example, but you can actually see on the left-hand [23:04.020 --> 23:07.680] side especially, you can see where that strip has been [23:07.680 --> 23:11.940] magnetized and where those iron particles are sticking. Again, [23:11.940 --> 23:15.020] these are all just different ways of physically encoding [23:15.620 --> 23:19.140] logical data, right? So if you have a card number, say 1, 2, [23:19.140 --> 23:22.760] 3, 4, 5, 6, there are different ways you can encode it, right? [23:22.760 --> 23:26.420] We can use weekend wire. We can use mag stripe. We can use a bar [23:26.420 --> 23:29.880] code. We can use a QR code. We can use a key pad. These are all [23:29.880 --> 23:34.120] just different ways of physically ‑‑ man, sorry, [23:34.120 --> 23:37.560] guys. These are all different ways of physically encoding the [23:37.560 --> 23:41.600] same data. And this is what we need to keep in mind when we [23:41.600 --> 23:47.000] talk about RFID and access control is ‑‑ let's go back [23:47.000 --> 23:55.920] here. There we go. These are all just different ways of saving [23:55.920 --> 23:59.320] different types of data on a physical card. How many [23:59.320 --> 24:02.860] different ways are there to save data? A lot. This is a [24:02.860 --> 24:05.060] really, really awesome website that one of the Proxmark [24:05.060 --> 24:11.080] developers created, cardinfo.barkweb.com.au. And just [24:11.080 --> 24:14.600] to show you what it looks like briefly, I wonder if I can zoom [24:14.600 --> 24:22.600] in. Let's see. There we go. So this is just 70, and this is [24:22.600 --> 24:27.280] not all inclusive. This is just 70 different card formats. [24:27.280 --> 24:30.540] These are weekend bit formats. And if you look, there's a lot [24:30.540 --> 24:33.840] of these that are the same number of bits long, and they [24:33.840 --> 24:38.960] all represent different ways of encoding the same data, right? [24:38.960 --> 24:42.300] So, for example, I just clicked on a random one. This is ATS [24:42.300 --> 24:46.260] weekend 32‑bit. This is 32 bits of data. And they're saying [24:46.260 --> 24:51.540] when used with an ATS system, we're going to use the first 12 [24:51.540 --> 24:56.340] bits as the site code or facility code, and then we have [24:56.480 --> 25:00.260] a card number, and then we have some parity bits as well. And, [25:00.260 --> 25:04.280] again, we are not going to be dealing with that a whole lot, [25:04.280 --> 25:06.860] but what's important to understand is these are the [25:06.860 --> 25:10.240] physical bits that are encoded on the card, and the card number [25:10.240 --> 25:14.880] is just how that particular vendor decides to decode that [25:14.880 --> 25:18.120] weekend information and is something human readable, right? [25:18.120 --> 25:21.580] Because a sysadmin or physical security person, they're not [25:21.580 --> 25:26.380] going to be sitting there typing in 47, 50, however many ones and [25:26.380 --> 25:29.660] zeros for each user to encode their credential, right? They [25:29.660 --> 25:36.640] want to just encode card number 4256 or card 555137, and they [25:36.640 --> 25:39.640] want to be done with it. So these are just different ways of [25:39.640 --> 25:43.140] representing that raw data as something that we can more [25:43.140 --> 25:46.700] easily and colloquially understand as we use our access [25:46.700 --> 25:51.020] control system. So let's take a look at a modern credential, [25:51.020 --> 25:53.700] right? So things ‑‑ that system became really, really [25:53.700 --> 25:56.760] popular, and they said, hey, this weekend stuff is awesome, [25:56.760 --> 25:59.400] but we have something new for you, right? So we've got this [25:59.400 --> 26:02.480] new awesome card reader, it's a prox reader, it's a whatever [26:02.480 --> 26:07.140] reader, and the best part about all this is, is you don't have [26:07.140 --> 26:11.260] to rip and replace your existing system. You can take it, and [26:11.260 --> 26:13.820] it's backwards compatible. You can keep your same door [26:13.820 --> 26:17.120] controller, and all you have to do is replace your card readers [26:17.500 --> 26:21.180] and your cards, and it just works. Isn't that wonderful? [26:21.740 --> 26:25.200] Yeah. It is and it isn't, right? Saves you a lot of money, but [26:25.200 --> 26:28.340] it means that even today in 2019, we're still using a [26:28.340 --> 26:32.380] communication standard developed in 1974 for transporting [26:32.380 --> 26:36.320] credential data. How awesome does that sound? Yeah. Really [26:36.320 --> 26:41.120] great. So let's see how things changed over time. So again, [26:41.120 --> 26:43.320] we're still just dealing with card numbers. We're still just [26:43.320 --> 26:47.140] dealing with different ways of physically encoding that [26:47.140 --> 26:51.120] credential data. Let's look inside of an RFID tag, right? [26:51.120 --> 26:56.040] What's inside of an RFID card? It's literally a chip and an [26:56.040 --> 27:05.370] antenna, and we are going to zoom in and focus here. All [27:05.370 --> 27:08.590] right. So here we are. These are two different credentials [27:08.590 --> 27:13.310] actually physically placed into the same piece of plastic. So [27:13.310 --> 27:17.290] we have a low frequency traditional prox credential. [27:17.290 --> 27:21.830] That is actually the thicker antenna in the middle. And then [27:21.830 --> 27:26.370] we have a high frequency, high freak, 13.56 megahertz [27:26.370 --> 27:29.230] credential. It happens to be I class. That's actually the [27:29.230 --> 27:32.730] thinner antenna around the outside. Generally speaking, [27:32.730 --> 27:36.950] you're going to find that low frequency readers and cards are [27:36.950 --> 27:41.430] going to use more turns, more loops of wire, and the higher [27:41.430 --> 27:45.850] frequency uses a shorter piece of wire. So fewer turns of wire. [27:45.850 --> 27:48.890] So one of the easiest ways to tell if something is low [27:48.890 --> 27:52.230] frequency or high frequency is literally just to shine a [27:52.230 --> 27:56.270] flashlight through it and see if the antenna looks like it's low [27:56.270 --> 27:59.390] frequency or high frequency without even having to connect [27:59.390 --> 28:10.360] it to your prox mark or anything like that. So when we talk about [28:10.360 --> 28:13.700] prox, as I mentioned, we are talking about credential to [28:13.700 --> 28:17.280] reader communication. So there are different types of [28:17.280 --> 28:20.440] credential readers. They represent different types of [28:20.440 --> 28:23.980] technologies. Here in North America, we have a couple of [28:23.980 --> 28:26.860] really, really popular low frequency and high frequency [28:26.860 --> 28:30.820] credentials. On the low frequency side, we have prox and [28:30.820 --> 28:34.960] DALA, IOPROX, EM and AWID. Those are less popular, but they are [28:34.960 --> 28:37.520] still here in North America and Europe. They have a lot of other [28:37.520 --> 28:41.060] credentials that they like to use. On the high frequency side, [28:41.060 --> 28:46.540] we have some other common brand names, HID I class and NXP My [28:46.540 --> 28:50.860] Fair and stuff like that. And we already talked about this, [28:50.860 --> 28:53.960] right? What's happening here? Well, when we talk about cloning [28:54.160 --> 28:57.440] a credential, what we're doing is we've basically learned the [28:57.440 --> 29:01.120] language that the card and the card reader are speaking. And [29:01.120 --> 29:05.160] so what we do is we pretend to be a card reader, right? So we [29:05.160 --> 29:08.340] go and we talk to the credential and we say the same thing the [29:08.340 --> 29:12.320] card reader says to it and says, hi, who are you? The credential [29:12.320 --> 29:15.240] identifies itself and now we have that information. And as [29:15.740 --> 29:19.440] long as we can produce it in the same way and reproduce that [29:19.440 --> 29:23.420] signal for the reader on demand, then the reader has no way to [29:23.420 --> 29:27.300] discriminate between an original and a clone, right? So we [29:27.300 --> 29:30.420] approach the reader, we present our credential, we can say the [29:30.420 --> 29:33.300] same thing. It's kind of like a replay attack basically, right? [29:33.300 --> 29:37.180] That's what a clone is. A clone is a delayed replay attack and [29:37.180 --> 29:40.520] everything works as you would expect it to. The most common [29:40.520 --> 29:43.680] type of tool that we use today to do this is the Proxmark 3. [29:43.700 --> 29:46.340] That's not this. This is the original Proxmark. It's gone [29:46.340 --> 29:49.260] through a couple of iterations. Originally designed by a student [29:49.260 --> 29:54.820] named Jonathan Westhues back in 2006, really 2004 and then he [29:54.820 --> 29:57.780] kept developing it, made the Proxmark 2, made the Proxmark [29:57.780 --> 30:01.060] 3, open sourced it and then people had this wonderful [30:01.060 --> 30:05.220] contraption to drag around with them. Here's mine with the [30:05.220 --> 30:08.480] hand-wound antenna that I had to make to make it work. And then [30:08.480 --> 30:11.040] eventually it was remixed a couple of different ways. If [30:11.040 --> 30:14.100] anyone saw Iceman's talk yesterday morning, he actually [30:14.100 --> 30:16.400] went really in depth into all the different hardware revisions [30:16.400 --> 30:20.260] that have been out there. But we have the Proxmark 2 and it had [30:20.260 --> 30:23.840] some really good antennas. Then there was a Proxmark 3 RDV3. [30:23.840 --> 30:28.040] Then now we have the current, in my opinion, best iteration, [30:28.540 --> 30:33.060] which is the Proxmark 3 RDV4. This is the same base hardware [30:33.060 --> 30:38.120] remixed to be more stable, more efficient in its use of [30:38.120 --> 30:41.860] physical space. So it's very, very compact. The antennas are [30:41.860 --> 30:45.800] really beautifully built into it and it's really just a [30:45.800 --> 30:49.540] delightful, wonderful package. So that was co-developed by [30:49.540 --> 30:54.940] Iceman and Proxgrind of the RFID research group. You can buy [30:54.940 --> 30:57.580] them at Hacker Warehouse. They're really, really awesome. [30:58.020 --> 31:02.120] So yes, you can use a Proxmark like this. You can use it in [31:02.120 --> 31:06.040] simulate mode. Here's one of my original Proxmark 3s way back in [31:06.040 --> 31:10.520] the day and I can do that. And that's really, really great, but [31:10.520 --> 31:14.820] that's not very practical, is it? So let's take a look at an [31:14.820 --> 31:17.820] example of what cloning a low frequency credential looks like [31:17.820 --> 31:22.220] just so folks can see what I'm talking about. So what we have [31:22.220 --> 31:27.140] here is we're going to connect our Proxmark 3. We have some [31:27.140 --> 31:31.400] credentials. Once I find the little plastic bag where the [31:31.400 --> 31:52.000] credentials are. Let's see. Here we are. All right. So we have [31:52.000 --> 31:55.440] our credential. And just to show you folks what we have here, [31:55.440 --> 31:59.480] this is a simulated access control system very similar to [31:59.480 --> 32:02.140] that more beautiful one and larger one that you see in the [32:02.140 --> 32:05.660] case over there. So we have two card readers. We have a real [32:05.660 --> 32:09.980] live genuine door controller making all of our decisions with [32:09.980 --> 32:13.460] some credentials cached and programmed into it. And of [32:13.460 --> 32:17.240] course, what demo is complete without very pretty, pretty [32:17.240 --> 32:23.530] lights, right? So we have those two. I mean, it looks pretty [32:23.530 --> 32:33.220] good, right? It's not bad. So let's take a look. And we have [32:33.220 --> 32:38.180] our Proxmark 3. We have our credential, right? We have our [32:38.180 --> 32:42.180] baggage handler that we're going to target. And at the moment, [32:42.180 --> 32:46.840] this credential will go ahead and open that door. Ooh, ah, [32:46.840 --> 32:50.820] right? If you want to make a door controller go or a door [32:50.820 --> 32:54.000] rather and card reader go green, you too can do that. We're [32:54.000 --> 32:57.300] running a CTF right now where you too can try your hand at [32:57.300 --> 33:00.140] cloning some credentials and seeing how many points you can [33:00.140 --> 33:04.100] accrue. So we have our Proxmark 3. We have our credential, but [33:04.100 --> 33:07.620] that's not enough. We also need to run our client. So I'm going [33:07.620 --> 33:12.860] to very awkwardly try to do that while using this microphone. [33:17.370 --> 33:23.090] All right. And if I don't move, it will work. So we have our [33:23.090 --> 33:26.610] Proxmark 3 client. This talk is not about how to use Proxmark [33:26.610 --> 33:29.330] 3. So we're going to go pretty quick. I'm going to use a [33:29.330 --> 33:33.250] command called LF search. And actually, I'll make it a little [33:33.250 --> 33:35.290] bit easier for you folks to see what I'm doing. I'm going to go [33:35.290 --> 33:38.710] ahead and bump that font size up to 20. And hopefully that will [33:38.710 --> 33:42.470] be less awful. Is that less awful? Yeah? Okay. I'm seeing [33:42.470 --> 33:45.810] some nodding. That's good. So we'll do LF search. And oh, my [33:45.810 --> 33:49.270] goodness, we found a Prox tag. Yay. And what we can do is we [33:49.270 --> 33:52.490] can just go ahead and grab that raw data. And we can use a [33:52.490 --> 33:59.730] different command called LF HID sim and that. And in theory, if [33:59.730 --> 34:07.270] all went well, there we go. Green. But that's not ‑‑ it's [34:07.270 --> 34:10.650] really easy. Trust me. I know you want to clap because that's [34:10.650 --> 34:13.630] the polite thing to do. But I'm sitting up here going, no, don't [34:13.630 --> 34:19.390] clap for that. But thank you. So let's talk about something a [34:19.390 --> 34:24.030] little bit more practical than that. Let's see here. Oh, that [34:24.030 --> 34:27.170] is the wrong presentation. You will see that at the end if we [34:27.170 --> 34:33.370] have time. We'll go back here. And we'll jump back. So we saw [34:33.370 --> 34:37.230] how we can clone a credential just by simulating it. And there [34:37.230 --> 34:40.410] are a lot of different credentials out there. We have [34:40.410 --> 34:44.290] Prox by HID. Sometimes their cards are labeled really, really [34:44.290 --> 34:48.390] obviously. Sometimes less so. Their readers are really, really [34:48.390 --> 34:51.790] easy to recognize if they're original readers. Although there [34:51.790 --> 34:55.350] are a lot of third parties that also make readers. There's [34:55.350 --> 34:58.390] another brand that they sell called Indala. Those are [34:58.390 --> 35:01.930] different credentials, different ways of encoding that same card [35:01.930 --> 35:05.270] number data. And of course their readers also look different. [35:05.270 --> 35:07.910] They look very cool in my opinion. They have that fun [35:07.910 --> 35:12.230] little four lights. And what's really important in my opinion, [35:12.230 --> 35:14.690] and this is something I go more in depth when I have more time [35:14.690 --> 35:18.170] usually, what's important to understand about these different [35:18.170 --> 35:21.510] readers is being able to identify them in advance allows [35:21.510 --> 35:24.530] you to tell what tools you need to bring with you if you're on [35:24.530 --> 35:27.110] an engagement. You need to do your proper recon on your [35:27.110 --> 35:32.030] target. Here's Kantech Tyco IO Prox. They have different tags, [35:32.030 --> 35:35.810] different readers. They all have a certain visual aesthetic that [35:35.810 --> 35:40.050] works really well. There's other tags, EM. They make them in a [35:40.050 --> 35:42.690] couple different formats. They make a couple different readers. [35:42.690 --> 35:45.630] Again, we're not going to deep dive into all this stuff because [35:45.630 --> 35:47.550] this is just a light overview of some of the different [35:47.550 --> 35:51.470] components of the system so you can see how it all works as a [35:51.470 --> 35:54.950] whole. We have AWID, Applied Wireless ID. They make their own [35:54.950 --> 35:58.350] special tags. They make their own special readers. But all of [35:58.350 --> 36:01.730] these things, these are just different ways of encoding the [36:01.730 --> 36:04.890] same data. So when we talk about cloning, you know, it's not [36:04.890 --> 36:08.570] really practical to hang a Proxmark 3 off of your badge [36:08.570 --> 36:11.770] holder. That's not really going to make you blend in very, very [36:11.770 --> 36:15.830] well, is it? So instead, we want to have a legit looking badge. [36:15.830 --> 36:18.550] And since we can't just take our badge, stick it in a copy machine [36:18.550 --> 36:21.870] and call it good, we're going to use the Proxmark 3 and we're [36:21.870 --> 36:26.050] going to use another type of credential called the Atmel T5577. [36:26.450 --> 36:29.370] This was not a chip that was originally designed for pen [36:29.370 --> 36:33.990] testers. This was originally designed for OEMs that were tired [36:33.990 --> 36:37.070] of making their own chips. They said, hey, instead of making [36:37.070 --> 36:40.330] your own silicon, you can buy our chip. You can make it [36:40.330 --> 36:43.090] emulate almost any credential you want. You know, you can [36:43.090 --> 36:45.330] change the frequency. You can change the data rates and the [36:45.330 --> 36:47.590] modulation. We don't have to worry about all that stuff [36:47.590 --> 36:50.050] because it's built into the Proxmark. And the Proxmark [36:50.050 --> 36:55.730] allows you to use that same T5577 to recreate almost any low [36:55.730 --> 36:58.850] frequency credential regardless of whether or not it's Prox or [36:58.850 --> 37:04.610] Indala or IOProx or EM or AWID. It's really, really cool. We're [37:04.610 --> 37:07.830] not going to go super deep into cloning other than I'll just [37:07.830 --> 37:11.670] show you really quick how that works. Actually, I don't have [37:11.670 --> 37:15.970] any T5577s in front of me. So for the sake of time, I'll [37:15.970 --> 37:18.470] actually do it with the same credential, which is not as [37:18.470 --> 37:23.690] exciting, I realize, because this is actually a T5577. So [37:24.190 --> 37:28.290] what I'll do is I will copy this, which is our original [37:28.290 --> 37:35.250] enrolled credential, and I will wipe the card first. And we'll [37:35.250 --> 37:39.150] make sure it's wiped by doing search. There's no known tags. [37:39.150 --> 37:43.530] So it does nothing. Oh, no. We broke our credential. Never [37:43.530 --> 37:49.290] fear. Proxmark is here. LF HID clone. And to check our work, [37:49.290 --> 37:52.990] we'll go ahead and do LF search. It says it's working. And that [37:52.990 --> 37:55.210] is basically how you would make a clone. And you can do that [37:55.210 --> 37:58.350] with almost any low frequency credential because these are all [37:58.350 --> 38:02.790] different ways. Yes, thank you. These are all different ways of [38:02.790 --> 38:05.430] encoding different types of data, different types of [38:05.430 --> 38:08.450] signals, but it's still following the same physical [38:09.190 --> 38:12.690] communication medium, right? So we're able to emulate different [38:12.690 --> 38:16.410] types of cards as long as they're all low frequency with [38:16.410 --> 38:21.090] this particular card. And that is really, really cool because [38:21.090 --> 38:23.670] you can actually get this in a couple different formats. They [38:23.670 --> 38:27.310] even make stickers and implantables. So you, too, can [38:27.310 --> 38:32.130] embed a T5577 in your hand if you want. And now you'll never [38:32.130 --> 38:35.150] forget your apartment key again. You can just wave your hand in [38:35.150 --> 38:38.530] front of the door and the door will open for you. They make [38:38.530 --> 38:42.350] them for MyFairCards as well. So if you want to open your hotel [38:42.350 --> 38:48.390] room with your hand, you can do that as well. Now, in the field [38:48.390 --> 38:51.710] we're not using a Proxmark. Proxmarks only work for very [38:51.710 --> 38:55.030] short distances. In the field what we do is we take a reader [38:55.030 --> 38:59.110] and we weaponize it. Ooh, ah, doesn't that sound great? [38:59.130 --> 39:01.610] Doesn't that sound hackery and cool? Well, it's actually very, [39:01.610 --> 39:06.570] very simple. Readers, remember, they take power and they take [39:06.570 --> 39:10.630] credentials and they spit out zeros and ones. That's it. It's [39:10.630 --> 39:13.310] not a bidirectional system. It's very, very simple. So that [39:13.310 --> 39:15.830] reader, once it gets that credential information, it's [39:15.830 --> 39:20.370] just sending that down the wire to the door controller. So when [39:20.370 --> 39:23.930] we talk about long range readers or weaponized readers, all we're [39:23.930 --> 39:28.210] doing is really just taking a long range reader that is used, [39:28.210 --> 39:31.810] say, for parking lots, for garages, any application where [39:31.810 --> 39:34.470] you don't want the user to have to get within two inches of the [39:34.470 --> 39:38.810] reader and you install like an Arduino or a Raspberry Pi or [39:38.810 --> 39:41.630] something just to record those ones and zeros. That's basically [39:41.630 --> 39:45.190] it. It's not a very complicated system, but it allows you to get [39:45.190 --> 39:49.350] very reliable longer range reads out of the device. I have to [39:49.350 --> 39:52.070] apologize. I realize I'm going pretty fast, but I am worried [39:52.070 --> 39:55.610] about getting everything done in time. So if you have questions, [39:55.610 --> 39:57.890] please forgive me. I'll do my best to answer them at the end [39:57.890 --> 40:01.590] of the talk. If you watch TV, you might have seen a show [40:01.590 --> 40:05.990] called Mr. Robot. Who's seen Mr. Robot? Yeah, they use a long [40:05.990 --> 40:09.930] range reader in the show. It's actually fairly accurate how [40:09.930 --> 40:12.290] they do it, although it's a little bit dramatized. They go a [40:12.290 --> 40:16.710] little bit over the top, right? So here we are. There we go. We [40:16.710 --> 40:20.110] won't make it quite so loud. Here's a scene that a lot of you [40:20.110 --> 40:23.670] folks might remember. They have their long range reader and, you [40:23.670 --> 40:27.710] know, he's getting himself psyched up. He's prepping and he [40:27.710 --> 40:30.150] does something that in my opinion is unnecessary. It [40:30.150 --> 40:33.310] attracts undue attention to yourself, but it drives the [40:33.310 --> 40:36.230] point home for the non-hacker folks out there, right? He kind [40:36.230 --> 40:39.310] of bumps into the guy physically and is able to read that [40:39.310 --> 40:42.150] credential. Of course in real life you don't have to do that. [40:42.150 --> 40:43.870] You don't have to get that close. You don't have to [40:43.870 --> 40:47.010] physically almost assault someone to get that credential [40:47.010 --> 40:50.570] information. And it's very easy to get credentials because [40:50.570 --> 40:54.070] credentials are usually very, very, you know, obvious, right? [40:54.070 --> 40:56.750] People are hanging them off their hip. You see them in [40:56.750 --> 40:59.210] trains. You see them in, you know, when people are standing [40:59.210 --> 41:03.190] in line. Very easy to get to. You see them where people are [41:03.190 --> 41:10.830] their most vulnerable. I wish I could say that I was better than [41:10.830 --> 41:16.050] the idea of not doing this, but I have to say that if you've [41:16.050 --> 41:19.110] ever been to a bathroom, a stall, you might have sometimes [41:19.110 --> 41:24.130] seen like a toilet seat cover dispenser, right? To make you [41:24.130 --> 41:26.950] feel a little bit better about using a public restroom. So you [41:26.950 --> 41:29.850] can actually buy those toilet seat cover dispensers and you [41:29.850 --> 41:33.890] can put RFID reading electronics behind them and then you go [41:33.890 --> 41:36.310] into the bathroom stall and you just kind of stick it with [41:36.310 --> 41:39.450] double stick tape as a convenience, right? You're [41:39.450 --> 41:44.450] offering a hygienic product to everyone. And in exchange for [41:44.450 --> 41:47.570] this toilet seat cover, all you ask is for a copy of their [41:47.570 --> 41:50.730] credential. And it works out well. People seem to be really [41:50.730 --> 41:54.890] happy with that exchange. So what about high frequency, [41:54.890 --> 41:58.130] right? What about these smart cards, these high end secure [41:58.130 --> 42:01.050] credentials, right? Well, again, I'm going to insult your [42:01.050 --> 42:03.310] intelligence a little bit because I think it's helpful to [42:03.310 --> 42:06.290] understand the main difference between low and high frequency. [42:06.290 --> 42:09.490] So if we pretend our low frequency credential is a piece [42:09.490 --> 42:13.810] of paper with a number written on it, right? We understand that [42:13.810 --> 42:17.670] we don't care if that number is in English or if it's [42:17.670 --> 42:21.630] obfuscated in some sort of weird wingdings type language. We can [42:21.630 --> 42:24.470] just take that piece of paper and stick it in a copy machine [42:24.470 --> 42:27.070] and as long as we produce another piece of paper with the [42:27.070 --> 42:30.290] same markings, it's going to work, right? So that's basically [42:30.290 --> 42:33.510] what low frequency is in a nutshell. As long as we're able [42:33.510 --> 42:37.010] to reproduce that signal, which is relatively easy to do, the [42:37.010 --> 42:39.410] reader is going to be able to talk to it because that [42:39.410 --> 42:43.450] credential information itself isn't protected really. It's [42:43.450 --> 42:45.630] just using a different communication medium. It's [42:45.630 --> 42:49.870] basically just a very fancy bar code. Now what we do when we [42:49.870 --> 42:52.450] talk about high frequency credentials, I'm going to shut [42:52.450 --> 42:54.910] this off for the moment. When we talk about high frequency [42:54.910 --> 42:58.270] credentials is we're going to take that piece of paper that [42:58.270 --> 43:01.750] has our very sensitive, secure credentialing information. We're [43:01.750 --> 43:04.170] going to fold it up. We're going to put it in an envelope. We're [43:04.170 --> 43:06.610] going to put that envelope in a safe, alright? And that's [43:06.610 --> 43:11.090] basically what a high frequency smart card is. It's a digital [43:11.090 --> 43:15.610] lock box. It's a digital safe for sensitive information and in [43:15.610 --> 43:19.130] this case it happens to be RFID. So this is actually a really [43:19.130 --> 43:23.150] cool example or analogy in my opinion because this particular [43:23.150 --> 43:28.990] safe has a serial number plate on the side and it has a [43:28.990 --> 43:33.710] combination to open it. So similarly, if you imagine that [43:33.710 --> 43:37.050] you could use a special algorithm and pre-shared secret [43:37.050 --> 43:40.150] key to based off of the serial number, which is on the outside [43:40.150 --> 43:43.290] of the safe, calculate what the combination is going to be, you [43:43.290 --> 43:45.850] can unlock the safe and get to the credentialing information, [43:45.850 --> 43:49.270] right? So if you're designing an access control system, you [43:49.270 --> 43:52.430] wouldn't use the serial numbers of the safe as the credential [43:52.430 --> 43:55.190] data, right? Because anyone can read that. You would try to [43:55.190 --> 43:58.550] protect it in some way. And when we talk about high frequency [43:58.550 --> 44:02.830] credentials, whether it's iClass or MyFair or Desfire, that's [44:02.830 --> 44:06.610] what we're talking about. We're talking about taking a [44:07.130 --> 44:09.930] credential information, putting it into a block of data and that [44:09.930 --> 44:15.450] block is read protected by a key, by a password, by some [44:15.450 --> 44:19.670] authentication mechanism of some kind. So by way of example, [44:19.670 --> 44:22.750] let's for example talk about MyFair Classic, very, very [44:22.750 --> 44:26.130] popular credentialing format used by a lot of transit [44:26.130 --> 44:30.470] systems, by a lot of events and by a lot of access control [44:30.470 --> 44:35.150] systems in Europe and abroad. So again, we're not going to get [44:35.150 --> 44:37.010] too technical into it because I don't think it's actually [44:37.010 --> 44:41.010] necessary to understand how the technology works as a whole. [44:41.210 --> 44:45.650] Here you have a MyFair credential memory map, right? So [44:45.650 --> 44:48.830] you have your credential and then the memory is broken up [44:48.830 --> 44:53.110] into different sectors and blocks. And in order to read [44:53.110 --> 44:56.470] those different sectors, you have to have the right key. So [44:56.470 --> 45:01.750] when you do cracking of MyFair, when you run MyFair dark side [45:01.750 --> 45:04.390] attack or the nested attack or this or that, these are all just [45:04.390 --> 45:09.590] different methods of recovering these keys that are on the card [45:09.590 --> 45:13.890] that protect the information encoded onto the blocks, right? [45:13.890 --> 45:17.510] So you would not use the serial number, which happens to be [45:17.510 --> 45:21.110] encoded in block zero. You would not use the serial number to [45:22.570 --> 45:25.990] run your access control system. Instead, you would store your [45:25.990 --> 45:28.910] credential in one of these other blocks and you would protect it [45:28.910 --> 45:31.650] with a key. And again, this is how all these different [45:31.650 --> 45:34.430] credentialing formats work. There is some method of [45:34.430 --> 45:38.570] authentication that is used that unlocks the card and that's [45:38.570 --> 45:41.450] what the reader is doing. That moment when you present your card [45:41.450 --> 45:44.390] to the reader, it's doing a little handshake, right? There's [45:44.390 --> 45:48.090] some mutual authentication that's taking place and it's [45:48.090 --> 45:51.250] unlocking the card and it's reading protected memory inside [45:51.250 --> 45:55.050] the card. So in order to clone that particular card, you [45:55.050 --> 45:58.710] actually have to figure out how to unlock it first. And so you [45:58.710 --> 46:01.730] have to either find the key, whether it's leaked or cracked [46:01.730 --> 46:05.670] or otherwise or find a way to brute force the key in order to [46:05.670 --> 46:09.030] clone it. We're not going to go in depth into how to do those [46:09.030 --> 46:13.790] things because again, this talk is talking about high level how [46:13.950 --> 46:19.110] a modern access control system works. So let's talk about [46:19.110 --> 46:22.170] another way that these things can be abused, right? So we've [46:22.170 --> 46:25.810] talked about how we have low frequency and high frequency [46:25.810 --> 46:29.790] credentials. But how does one switch from low frequency to [46:29.790 --> 46:33.690] high frequency? It's easy when you only have one system or one [46:33.690 --> 46:37.270] door because you go up to it on a weekend, you rip out all the [46:37.270 --> 46:40.030] stuff and you replace it and you're done, right? But imagine [46:40.030 --> 46:43.690] you're a company. Imagine you have hundreds or thousands of [46:43.690 --> 46:48.110] doors and hundreds or thousands of users. Is it reasonable to [46:48.110 --> 46:51.910] expect that in one weekend during non-business hours, you [46:51.910 --> 46:56.710] could go in and rip and replace everything? No, absolutely not. [46:56.710 --> 47:00.410] That sounds incredibly infeasible and impractical. So [47:00.410 --> 47:04.390] they make these things called migration readers. And I wish I [47:04.390 --> 47:07.550] had jammed a photo of a migration reader in here. I [47:07.550 --> 47:10.970] apologize that I don't have one at the moment. But imagine you [47:10.970 --> 47:15.350] have, it actually, this is a migration reader. This is an [47:15.350 --> 47:18.570] example of a migration reader. It reads both high and low [47:18.570 --> 47:21.810] frequency credentials. So again, by way of example, I'm going to [47:21.810 --> 47:26.010] go ahead and power this system on. I will grab the credential [47:26.010 --> 47:34.240] for it. And to show you that these are two different [47:34.240 --> 47:38.360] technologies, we remember that the airport credential, that was [47:38.520 --> 47:42.460] a low frequency prox card. What I'm going to do is we're going [47:42.460 --> 47:46.860] to pop back over to our prox mark and here we are. Here's our [47:46.860 --> 47:50.740] research assistance credential, Louise McDougall. And her [47:50.740 --> 47:56.400] credential, if I run my HF search command, you will find [47:57.920 --> 48:04.630] once it switches all the FPGA code, let's see if we can get [48:04.630 --> 48:07.550] that into the right spot. There we go. So this is an I class [48:07.550 --> 48:10.710] credential. This is a high frequency smart card type [48:10.710 --> 48:14.170] credential. These are two different technologies and yet [48:14.170 --> 48:19.170] we have both the old credential and once that door closes, we'll [48:19.170 --> 48:22.950] try our high frequency I class credential and we'll see that [48:22.950 --> 48:26.410] they both unlock the door. This reader can talk to two different [48:26.410 --> 48:30.130] technologies, both old and new. And the reason that exists is [48:30.130 --> 48:33.810] the idea is, okay, don't worry, you guys want to upgrade to our [48:33.810 --> 48:36.970] newest, latest and greatest technology. We got you covered. [48:36.970 --> 48:39.210] What we're going to do is we're going to sell you our migration [48:39.210 --> 48:44.130] readers. They can read both your old cards and the new cards and [48:44.130 --> 48:47.790] you'll slowly upgrade your readers at your own pace. And [48:47.790 --> 48:51.410] once all those readers are upgraded, remember meanwhile [48:51.410 --> 48:54.910] everyone's old credentials, they're still working, right? [48:54.910 --> 48:58.290] Once you've upgraded all the readers, then you can take [48:58.290 --> 49:01.130] everyone's credentials again at your own pace and you can [49:01.130 --> 49:04.990] replace them, right? Makes sense. Now here's the thing. [49:05.050 --> 49:11.070] After you do that, your fancy new reader can still read old ass [49:11.070 --> 49:17.310] credentials. So what that leaves you open to is what I call a [49:17.310 --> 49:22.030] format downgrade attack. This is something where you would take a [49:23.550 --> 49:32.150] secure credential such as a CEOS credential which is, hi. [49:32.150 --> 49:36.370] Datagram everyone. Oh, nothing. Just came up, said hi and left. [49:36.370 --> 49:40.750] All right. So you can take your secure credential and maybe you [49:40.750 --> 49:44.370] can't clone it but you can find a reader that reads it and [49:44.370 --> 49:48.610] remember, what does every reader use as a communications protocol [49:48.610 --> 49:52.470] to send credential data back to the door controller? WeGand, [49:52.470 --> 49:56.390] right. It still converts it to the same end format. So you can [49:56.390 --> 49:59.650] take this high security credential, you can read it with [49:59.650 --> 50:02.250] something besides the Proxmark, you can read it with a regular [50:02.810 --> 50:06.070] reader made by that particular company and then you can take [50:06.070 --> 50:11.170] that WeGand data, you can save it onto an older format card and [50:11.170 --> 50:15.370] now you can downgrade the format of the card to something that is [50:15.370 --> 50:18.690] more easily clonable and manipulatable and the door [50:18.690 --> 50:22.530] controller will treat that card the same way because there's no [50:22.530 --> 50:27.530] way for the door controller to know the difference between the [50:27.530 --> 50:29.630] different types of credentials that were presented at the [50:29.630 --> 50:32.290] reader. The reader doesn't give that information to the door [50:32.290 --> 50:36.230] controller. The door controller just sees 26 bits of WeGand, [50:36.230 --> 50:40.750] right. So that's also another important consideration. If you [50:40.750 --> 50:44.330] have questions about this, please feel free to ask. I'll do [50:44.330 --> 50:48.530] my best to clarify it. I know we're jumping around a lot. So [50:48.530 --> 50:51.950] let's talk about door contacts and sensors. We were talking [50:51.950 --> 50:55.490] about different types of inputs into physical access control [50:55.490 --> 51:02.770] systems. Whoops. There we go. So what we're seeing here is a tall [51:02.770 --> 51:08.330] door and we're going to use our mirror and it's really hard to [51:08.330 --> 51:15.030] see in this particular photo, but as we slide our mirror over, [51:15.030 --> 51:22.070] what we see here, let's see if it works, is the very edge of a [51:22.070 --> 51:25.750] little door contact and what that is, that's a little [51:25.750 --> 51:28.810] magnetic read sensor that tells the door controller the state of [51:28.810 --> 51:32.610] the door. How is that used? Well, that's often used as a way [51:32.610 --> 51:35.610] of detecting forced entry. So remember that door controller is [51:35.610 --> 51:38.910] always monitoring a bunch of different types of inputs. So [51:38.910 --> 51:44.010] for example, let's say you have a door that you're monitoring [51:44.470 --> 51:48.590] and you have a card reader on the secured side and you have a [51:48.590 --> 51:52.330] motion sensor like this on the other side, right? So what the [51:52.330 --> 51:56.310] door controller does, it says, okay, if I detect that the door [51:56.310 --> 52:03.010] is opened and there is no valid card read and there was no motion [52:03.010 --> 52:06.230] detected before the door was opened, what do I assume [52:06.230 --> 52:14.810] happened? What's that? I heard it. Forced entry, right? So [52:14.810 --> 52:18.870] logically, again, the access control system says, hey, this [52:18.870 --> 52:23.610] door has been opened. The door contact sensor is no longer in [52:23.610 --> 52:27.450] contact. I'm assuming the door is open. No one presented a card [52:27.450 --> 52:31.850] first and no one exited. So then it triggers an alarm condition. [52:31.850 --> 52:35.350] So again, by knowing that that's how the system is designed, we [52:35.350 --> 52:38.930] can take advantage of that. So what we're going to see here, [52:38.930 --> 52:43.610] here's a rec sensor. It is not used to automatically unlock the [52:43.610 --> 52:48.330] door. It is instead used to decide if there's a forced entry [52:48.330 --> 52:52.050] alarm or not. So what you're going to see is I'm going to use [52:52.750 --> 52:57.910] canned air and you can tell from the noise, where are we? We're [52:57.910 --> 53:01.550] in a server room, right? So we use the canned air to trigger [53:01.550 --> 53:05.150] the motion sensor and then we just slip the latch with some [53:05.150 --> 53:09.930] plastic. And because of this process, that video, you just [53:09.930 --> 53:12.530] saw an entry. But what did the door controller think took [53:12.530 --> 53:17.810] place? An exit, that's right. By simulating motion first before [53:17.810 --> 53:20.870] bypassing the door, we told the door controller that we're [53:20.870 --> 53:24.090] actually leaving instead of entering and so no alarm was [53:24.090 --> 53:28.130] triggered. How do you find door contacts? One of the easiest [53:28.130 --> 53:34.030] ways is to use a tool like this. This is really cool. This is a [53:34.030 --> 53:37.890] door contact sensor. That's what I call it. It's actually just a [53:37.890 --> 53:43.850] little magnet on a swivel. I'll show you what it looks like. [53:43.850 --> 53:49.690] Here it is. And basically any time it comes near a magnet, [53:49.690 --> 53:52.890] this little guy here points in the direction of the magnet and [53:52.890 --> 53:55.810] you can just kind of wave this around the edge of the door and [53:55.810 --> 53:57.930] anywhere where there's a magnet in the door, it will tell you [53:57.930 --> 54:00.710] that's where the door contact is. So if you're not as [54:00.710 --> 54:08.050] fortunate as being able to say just use a mirror to look into [54:08.050 --> 54:12.750] the side of the door and see that that door contact is there [54:12.750 --> 54:18.690] like this, and again, what we're looking at is right here. There's [54:18.690 --> 54:23.310] our door contact. By the way, in this example, we're about to try [54:23.310 --> 54:27.430] to break into this data hall. We see the door contact. What's the [54:27.430 --> 54:33.210] easiest dumbest way to bypass this door contact? Magnet, yeah. I [54:33.210 --> 54:36.190] didn't have a lot of fancy tools with me. We were overseas. So [54:36.190 --> 54:40.050] what I did is I just took out my hotel key card and I bent it at [54:40.050 --> 54:43.930] 90 degrees just to create a little shelf and I taped a [54:43.930 --> 54:46.990] magnet to it. I taped a magnet to it and I shoved that in the [54:46.990 --> 54:51.650] door and that was enough to bypass that sensor. So here our [54:51.650 --> 54:54.450] door into the data hall is opened but according to the door [54:54.450 --> 54:57.450] controller, according to the access control system, what is [54:57.450 --> 55:02.050] the current state of this door? It's closed. That's right. So [55:02.050 --> 55:05.050] these are all over the place. You'll see them on the top of [55:05.050 --> 55:08.550] frames. You'll see them on the sides of frames. Here's a really [55:08.550 --> 55:11.550] close-up photo of a door contact. What have we done to [55:11.550 --> 55:15.110] this door contact? Yeah, we stuck a magnet on there. But [55:15.110 --> 55:19.190] what did we do to make it extra clever? Our tape is in the shape [55:19.190 --> 55:23.890] of a circle. So unless I would have told you that, hey, this is [55:23.990 --> 55:26.810] a door contact that we bypassed, your average user is [55:26.810 --> 55:30.030] not going to notice that. And these are the small things about [55:30.030 --> 55:33.710] modern access control systems besides RFID that you want to be [55:33.710 --> 55:38.710] aware of in order to know, okay, what is the lowest, easiest path [55:38.710 --> 55:43.530] of entry. Oftentimes it's not the RFID card. It's finding a [55:43.530 --> 55:47.590] combination of bypasses to make the system behave or think [55:47.590 --> 55:51.770] differently. So we've talked about RFID and we've talked [55:51.770 --> 55:54.950] about how all these different credentials, whether they're mag [55:54.950 --> 55:59.410] stripe or smart card or high freak or low freak, these are all [55:59.410 --> 56:02.590] just different ways of encoding the same data that is stored on [56:02.590 --> 56:06.490] the card, right? And that's still sent over WeGand, right? So [56:06.490 --> 56:09.310] we talked about this. We talked about how this is all just [56:09.310 --> 56:13.130] different ways of doing the same function. But once that data [56:13.710 --> 56:18.290] leaves the reader, it's still usually WeGand. Now, there are [56:18.290 --> 56:21.930] other communication protocols that technically exist. They are [56:21.930 --> 56:26.190] not very popular. And even the other ones that do exist, with [56:26.190 --> 56:29.270] the exception of one protocol, which we will talk about, [56:29.270 --> 56:33.690] everything in red here, these are protocols that transport that [56:33.690 --> 56:37.170] credential information without encryption, without any [56:37.170 --> 56:40.730] protection. You can just connect to the wires and read that [56:40.730 --> 56:44.750] information. And this has been done for years. Like over ten [56:44.750 --> 56:47.950] years ago, Adam Laurie and Zach Franken, they came up with [56:47.950 --> 56:50.510] something called the Gecko. The Gecko was something that you [56:50.510 --> 56:53.330] would install behind the reader and it was a literal man in the [56:53.330 --> 56:56.970] middle. You would connect it to the WeGand data wires and you [56:56.970 --> 57:00.050] would try to read that information as it goes across [57:00.050 --> 57:04.910] the wires and then replay that information. And that's a very, [57:04.910 --> 57:07.450] very old technique. You don't even need a special tool to do [57:07.450 --> 57:10.430] it. You can use an Arduino or anything you want that can [57:10.430 --> 57:17.370] record and replay two minutes. Holy crap. They said 80 minutes. [57:17.370 --> 57:32.240] Someone said it was an 80-minute talk. Is that not correct? Oh, [57:32.240 --> 57:35.580] well, that's unfortunate. Okay. Someone in the audience said [57:35.580 --> 57:38.240] that it was on the schedule for 80 minutes, so that's why I had [57:38.240 --> 57:49.590] adjusted my talk. Okay. That's what the schedule says. That's [57:49.590 --> 57:55.870] what people are saying. All right. All right. Well, I will [57:57.090 --> 58:00.050] show you this last thing and then I guess if you have more [58:00.050 --> 58:03.510] questions, unfortunately, we'll just have to ‑‑ okay. So [58:03.510 --> 58:05.810] everyone is looking at their phones and they're saying 80 [58:05.810 --> 58:10.910] minutes. So I'm going to ‑‑ who's the next talk? Are they [58:10.910 --> 58:14.530] here? Okay. All right. So we're going to finish up this one [58:14.530 --> 58:17.810] section with apologies and then if you have more questions, [58:17.810 --> 58:21.130] please find me afterwards. So we can intercept the data. It's [58:21.130 --> 58:23.690] really, really easy. There's a couple different tools to do it. [58:23.690 --> 58:26.990] There was the Gecko. There was the BLE key a few years ago. One [58:26.990 --> 58:30.330] of our friends made an even better tool, Kenny McElroy, [58:30.950 --> 58:34.930] OctoSavvy on Twitter, he created this tool called the ESP key and [58:34.930 --> 58:38.390] the ESP key is the interception tool that you install behind the [58:38.390 --> 58:41.170] reader and it's a literal man in the middle, right? Look at that [58:41.650 --> 58:45.790] cool hacker looking guy, right? So that man in the middle is [58:45.790 --> 58:48.770] going to monitor those communications and as that [58:48.770 --> 58:51.670] credential information goes across the wire, we can replay [58:52.130 --> 58:56.110] that information. So what I'm going to do is we're going to [58:56.110 --> 59:00.410] skip through a couple slides as the very last thing and this is [59:00.410 --> 59:04.970] brave. I'm going to try to show you a demo of how this all [59:04.970 --> 59:07.310] works. You're going to watch me install one of these keys in the [59:07.310 --> 59:10.450] video and while that's happening, I'm going to try to [59:10.450 --> 59:17.670] set up my demo here and we're going to see if it works. Oh, [59:17.670 --> 59:22.630] video paused so I can't do that. So I'm going to fast forward [59:22.630 --> 59:27.850] through it. So we have our ESP key. I'm going to pop that out. [59:27.870 --> 59:31.090] I'm outside of a server room door. I have not disconnected [59:31.090 --> 59:34.750] the reader from the door controller. I'm just getting [59:34.750 --> 59:38.570] those data control wires out of there. I've got my power. I've [59:38.570 --> 59:41.910] got my ground. I'm just using a punch down tool to punch those [59:41.910 --> 59:47.890] wires down onto the wall there. And once it's all said and done [59:47.890 --> 59:50.410] and we're going to fast forward just a few seconds. Here we go. [59:50.410 --> 59:54.330] You can see our ESP key is turned on. And we're going to [59:54.330 --> 01:00:02.710] feed that back into the wall. And we're done. So this is a [01:00:02.710 --> 01:00:07.370] bold demo attempt in the wireless village. I'm going to [01:00:08.230 --> 01:00:14.650] see if this is even a possibility. If I'm able to [01:00:14.650 --> 01:00:19.550] connect to my ESP key or not. Or if someone is going to screw [01:00:19.550 --> 01:00:23.370] with it instead. Fingers crossed. Yeah, demo gods are not [01:00:23.370 --> 01:00:33.600] smiling upon us today. We'll try two more times. Nope. Yeah, of [01:00:33.600 --> 01:00:38.380] course. Wi-Fi village can't connect to any Wi-Fi. Such is [01:00:38.380 --> 01:00:51.040] life, right? All right. And last time. Nope. So in any other [01:00:51.040 --> 01:00:54.620] space but this one, we would be able to connect to our ESP key [01:00:54.620 --> 01:01:00.720] and be able to replay, intercept and replay that credential [01:01:00.720 --> 01:01:05.660] information without interacting with the card reader at all. [01:01:05.660 --> 01:01:09.640] Later on, I will try to have this working. I don't know how [01:01:09.640 --> 01:01:13.560] possible that's going to be with all of this stuff going on in [01:01:13.560 --> 01:01:18.700] the airwaves right now. But you get the idea. We can replay the [01:01:18.700 --> 01:01:23.300] information and that works. So let's see. I think that's going [01:01:23.300 --> 01:01:26.980] to have to be it. I can't think of ‑‑ we're going to shut [01:01:26.980 --> 01:01:31.380] this off. Let's see if there's any last minute great things [01:01:31.380 --> 01:01:36.600] that we can talk about in 30 seconds. Oh, yeah. I'll share [01:01:36.600 --> 01:01:39.940] one thing. There's an easy fix for interception. It's a new [01:01:39.940 --> 01:01:43.640] standard. It's called OSDP. If you install a new system, you [01:01:43.640 --> 01:01:48.700] absolutely 100% should be using OSDP. It protects the panel to [01:01:48.700 --> 01:01:54.060] server communication. It allows you to encrypt and secure that [01:01:54.060 --> 01:01:58.720] communication between the reader and the door controller. It's [01:01:58.720 --> 01:02:04.280] bidirectional so you can do cool things like preventing eaves [01:02:04.280 --> 01:02:08.620] dropping. It can do ‑‑ if you want to learn more about it, [01:02:08.620 --> 01:02:13.420] go to securityindustry.org slash OSDP or ask me more questions [01:02:13.420 --> 01:02:16.900] about it later. And then with sincere apologies, we're going [01:02:16.900 --> 01:02:20.760] to call that done. And I'm going to go ahead and put my contact [01:02:20.760 --> 01:02:24.640] information up on the slides here if you have any questions. [01:02:24.760 --> 01:02:29.740] We'll do this. We'll scroll all the way down. And there you go. [01:02:31.200 --> 01:02:38.900] Thank you. I'm really sorry that was so much information that we [01:02:38.900 --> 01:02:42.260] couldn't get through. As I said, this is normally two days worth [01:02:42.260 --> 01:02:45.940] of material that we tried to cram into just a few minutes. So if [01:02:45.940 --> 01:02:48.900] you have any questions, please come find me over there while [01:02:48.900 --> 01:02:52.060] Woody sets up his next awesome talk. Thank you again.