1 00:00:00,000 --> 00:00:06,280 Hi guys, I'm going to give everyone a quick overview of some quite cool stuff I've been doing. 2 00:00:07,600 --> 00:00:11,740 So, we're going to look at physical access control technologies. 3 00:00:13,000 --> 00:00:19,800 So, a quick overview of physical credentials, like access cards, tokens, etc. 4 00:00:21,220 --> 00:00:23,100 I'll look at biometric systems. 5 00:00:24,460 --> 00:00:30,060 And I'm going to take you through a worked example of a biometric system, one of my favorite ones, actually. 6 00:00:30,920 --> 00:00:36,340 And then we're going to have a look at a common attack that they're all susceptible to. 7 00:00:36,480 --> 00:00:39,140 And I'm going to do a quick demo for you as well. 8 00:00:40,920 --> 00:00:44,880 So, most of you should be aware of the kind of standard access control system. 9 00:00:45,700 --> 00:00:50,180 You tend to have access control reader on the outside. 10 00:00:50,380 --> 00:00:51,500 It may be biometric. 11 00:00:53,100 --> 00:00:55,000 Obviously, an electric lock on the door. 12 00:00:55,940 --> 00:00:58,080 Generally, a push-to-exit button on the inside. 13 00:00:58,780 --> 00:01:01,380 They all hook back to an access control system. 14 00:01:01,500 --> 00:01:02,080 Quite simple. 15 00:01:03,680 --> 00:01:05,080 Slightly smarter system. 16 00:01:05,620 --> 00:01:08,780 The actual access control system may be remote to the door. 17 00:01:08,880 --> 00:01:10,980 So, it may be talking to a local door controller. 18 00:01:12,380 --> 00:01:16,380 And this one is actually configured as what they call an anti-passback system. 19 00:01:16,640 --> 00:01:20,200 So, basically, you have to swipe to get out. 20 00:01:20,700 --> 00:01:23,020 They tend to use this with things like turnstiles. 21 00:01:23,640 --> 00:01:26,580 So, you've got an exit reader, an entry reader. 22 00:01:26,760 --> 00:01:29,640 So, people know that you're actually out of the area. 23 00:01:32,060 --> 00:01:37,260 So, we have, as you're all aware of, the MagStripe card. 24 00:01:37,580 --> 00:01:39,480 Everyone's got one in their pocket right now. 25 00:01:40,500 --> 00:01:44,760 The YGAN card, which we'll go into a little bit later. 26 00:01:45,620 --> 00:01:46,440 Proximity cards. 27 00:01:46,540 --> 00:01:48,820 Again, most of you probably actually own one of these. 28 00:01:49,600 --> 00:01:52,500 The Barium ferrite card, which you probably don't. 29 00:01:52,500 --> 00:01:58,560 you might have done like 10, 15 years ago, the concealed barcode card, which I hope you 30 00:01:58,560 --> 00:02:08,080 don't own, and contactless smart cards. So, I am going to go through this stuff quite 31 00:02:08,080 --> 00:02:13,720 fast because it's just to give you a brief overview of how this stuff works. So, the 32 00:02:13,720 --> 00:02:23,920 concealed barcode card. It is as crappy as it sounds. Basically, it looks somewhat similar 33 00:02:23,920 --> 00:02:30,840 to a mag stripe card. You've got a black bit that goes right to the bottom of the card, 34 00:02:31,000 --> 00:02:37,480 and that's IR transparent, and in the middle of that, you've got a barcode. So, basically, 35 00:02:37,620 --> 00:02:43,700 with a torch and a photocopier, you've got it owned. It is just fucking impossible. 36 00:02:43,720 --> 00:02:49,960 It's embarrassing. If you see someone with one of these, I want you to shoot them. 37 00:02:53,100 --> 00:02:59,420 Mag stripe cards. So, we're all familiar with them. Normally, they've got about three tracks. 38 00:03:01,160 --> 00:03:05,820 Some manufacturers kind of mess around with the standard track configuration. 39 00:03:08,360 --> 00:03:13,560 We've got two different strengths of cards. Basically, high coercivity cards, 40 00:03:13,720 --> 00:03:18,500 quite a lot of driver's licenses are high coercivity cards, and local. They were the 41 00:03:19,360 --> 00:03:25,680 original kind of bank mag stripe cards, quite easily erasable. Your hotel key will almost 42 00:03:25,680 --> 00:03:34,660 certainly be a local card. So, the standards generally have three tracks at different bit 43 00:03:34,660 --> 00:03:40,540 densities. They're read by an exposed read head in the reader, which makes them a little bit 44 00:03:40,540 --> 00:03:43,700 vulnerable. And when someone sells a card, they're not going to be able to read it. They're not going to be able to read it. 45 00:03:43,700 --> 00:03:52,200 When someone sells you a high security barcode system, sorry, barcode, mag stripe system, it can be as simple as they adjust the 46 00:03:52,200 --> 00:04:03,360 offset on the heads, so the tracks aren't where your reader writer thinks they are. Or they can screw around with the bit padding and things like that. 47 00:04:03,680 --> 00:04:11,580 So, generally, they're trying to protect something that's inherently not really protectable. 48 00:04:13,760 --> 00:04:17,880 There's a thing called clocking data. So you've got the clock signal on top, 49 00:04:18,960 --> 00:04:23,920 and it just clocks out the data bits on the data line at the bottom. 50 00:04:26,360 --> 00:04:32,460 That's what it actually looks like in real life. This is actually ... I have to add a very, very small part of my visa card. 51 00:04:35,540 --> 00:04:37,980 Okay, moving right along.ΓΌ 52 00:04:37,980 --> 00:04:39,100 Barium ferric cards. These 53 00:04:43,700 --> 00:04:50,240 use an insertion reader, but more modern ones I've seen have a, you place the card flat 54 00:04:50,240 --> 00:04:57,940 on the reader, and basically, if you were to take a card, sprinkle iron filings over 55 00:04:57,940 --> 00:05:04,580 it on a sheet of paper, you'd see these discrete little magnetic domains, and that's how the 56 00:05:04,580 --> 00:05:11,480 cards are encoded. So if you break them open, it tends to look very much like a fridge magnet 57 00:05:11,480 --> 00:05:17,260 inside. And as I mentioned earlier, it was the original card key. 58 00:05:19,240 --> 00:05:26,620 The YGAN card. Now, this is where you've got to start paying attention. YGAN cards 59 00:05:26,620 --> 00:05:33,520 have a special alloy wire, and basically it exhibits what's known as the YGAN defect. 60 00:05:35,160 --> 00:05:41,340 And as you see, the wire is embedded in the card in a distinct pattern. In fact, 61 00:05:41,480 --> 00:05:49,160 we have two rows. We have a row of 1s, and we have a row of 0s on the bottom. And that's 62 00:05:49,160 --> 00:05:57,000 a simple bit pattern. When you swipe it through the reader, there's a set of 1 readers and 63 00:05:57,000 --> 00:06:04,260 a set of 0 readers, and it just lifts the code straight off the card. That's what 64 00:06:04,260 --> 00:06:07,020 one looks like, and if you actually hold it up to a bright light, you can actually 65 00:06:07,020 --> 00:06:11,460 see the discrete wires embedded in the card. 66 00:06:11,460 --> 00:06:21,680 And again, this arrangement's important because you'll be able to see what it actually looks like when we talk about the electrical protocol, and it looks stunningly similar. 67 00:06:23,580 --> 00:06:31,640 The Weygand effect, basically they thought this was so secure because the wire is really, really hard to manufacture. 68 00:06:31,640 --> 00:06:39,760 It's coaxial, and the center is in tension and the outside's in compression. 69 00:06:39,760 --> 00:06:51,080 It's all very wacky stuff, but the bottom line is you wave your bit of Weygand wire past a magnet polarized in one direction, and it kind of stores charge. 70 00:06:52,220 --> 00:07:08,540 When you wave it past the charged wire, past an oppositely polarized magnet, it kind of dumps this magnetic flux, which with a small reed head, like a magnetic reed head for a swipe reader, you can pick up this tiny little pulse. 71 00:07:10,920 --> 00:07:13,960 Now, that was how the card worked and the Weygand effect. 72 00:07:14,080 --> 00:07:23,600 Coming out of a Weygand reader, you've got this thing called the Weygand electrical protocol, and this is the thing that we're going to look at a lot later on. 73 00:07:24,700 --> 00:07:26,880 So, basically, you've got three wires. 74 00:07:27,180 --> 00:07:30,920 You've got a one wire, a zero wire, and a ground. 75 00:07:32,780 --> 00:07:39,740 Here we can see the code that's being transmitted down this line at the moment is 1-0-1. 76 00:07:39,760 --> 00:07:42,240 0-0-1-0-1-1. 77 00:07:43,180 --> 00:07:44,180 It's that simple. 78 00:07:45,860 --> 00:08:00,260 The timing can be quite flexible, but generally, with a particular reader, I'm looking at here in this demo, it's a dip of about 40 microseconds with about a 2 millisecond gap in between pulses. 79 00:08:03,120 --> 00:08:09,440 As you can see, if you actually look at it on a logic analyzer, it looks remarkably similar to the actual. 80 00:08:09,760 --> 00:08:20,580 The logic analyzer trace here isn't actually of this card code, but when you put them side to side, it's very easy to work out what's going on. 81 00:08:26,680 --> 00:08:34,640 So, once we get the code out of the card through the reader and down the wire, this is how things are actually broken up. 82 00:08:37,680 --> 00:08:39,660 The standard Weygand format. 83 00:08:39,760 --> 00:08:41,180 The standard Weygand format is 26 bits. 84 00:08:41,440 --> 00:08:45,660 So, the basic Weygand system is a 26-bit system. 85 00:08:46,200 --> 00:08:47,920 They're all over the place. 86 00:08:49,560 --> 00:08:54,920 26-bit is considered a universal format, and I'll go into a little bit about that later. 87 00:08:55,400 --> 00:08:58,800 But basically, what you have is 26 bits. 88 00:08:59,000 --> 00:09:01,520 The first bit and the last bit are parity bits. 89 00:09:02,620 --> 00:09:09,220 And then the 24 bits in the middle are chopped into site code. 90 00:09:10,360 --> 00:09:12,240 And a card code. 91 00:09:13,700 --> 00:09:18,960 So, generally, when you go to your vendor and say, right, I want a whole bunch of cards, 92 00:09:20,080 --> 00:09:22,120 they'll say, what site code? 93 00:09:22,260 --> 00:09:26,860 You say, oh, I'll have site code 102, and I want cards 1 to 100. 94 00:09:30,120 --> 00:09:30,560 Okay. 95 00:09:31,820 --> 00:09:32,480 Proximity cards. 96 00:09:32,820 --> 00:09:34,980 Again, we've all got them around. 97 00:09:35,540 --> 00:09:36,400 They're passive. 98 00:09:39,760 --> 00:09:45,500 So, basically, what's happening here is the reader is actually emitting a magnetic field, 99 00:09:45,720 --> 00:09:50,880 an RF field, and it magnetically couples to the card. 100 00:09:52,180 --> 00:09:59,040 And as soon as the card gets activated, it literally just bars data back. 101 00:09:59,160 --> 00:10:01,660 There's no authentication between the card and the reader. 102 00:10:01,820 --> 00:10:05,140 As soon as the card's energized, it starts transmitting its code. 103 00:10:06,680 --> 00:10:08,240 There are active cards. 104 00:10:08,240 --> 00:10:16,240 And they tend to have a slightly longer read range, and they emit their own field to the reader. 105 00:10:17,440 --> 00:10:20,540 Now, when you hold your proximity card up to the light, 106 00:10:20,640 --> 00:10:26,440 you think that basically it's like one of these store anti-theft tanks, 107 00:10:26,600 --> 00:10:30,780 and you've got just a single foil antenna. 108 00:10:31,610 --> 00:10:38,040 What you actually have is about a bazillion turns of the finest wire you will ever possibly imagine. 109 00:10:39,160 --> 00:10:45,860 And this is what happens when you take a proximity card and dip it in chloroform and dissolve the plastic. 110 00:10:47,980 --> 00:10:51,760 Now, I hasten to say I didn't do this, but it works quite well. 111 00:10:52,920 --> 00:10:54,740 Not just for killing puppies, apparently. 112 00:10:58,560 --> 00:10:59,120 Okay. 113 00:11:01,500 --> 00:11:05,240 So, don't get proximity cards and RFID confused. 114 00:11:06,440 --> 00:11:08,220 Proximity cards are magnetic cards. 115 00:11:08,240 --> 00:11:08,520 They're basically coupled. 116 00:11:08,900 --> 00:11:13,660 It's the same with your new biometric passports. 117 00:11:14,140 --> 00:11:20,880 They have a coil of wire inside, and they need to be quite close to the reader to actually get energized and transmit. 118 00:11:22,180 --> 00:11:30,540 Whereas true RFID tags can get hit from a distance, and basically they're true little radio transceivers. 119 00:11:30,780 --> 00:11:36,860 You power them up on one frequency, and they transmit their code back on a second frequency. 120 00:11:37,180 --> 00:11:38,220 Generally, it tends to work like this. 121 00:11:38,240 --> 00:11:41,240 It tends to be a fraction of the energizing frequency. 122 00:11:42,560 --> 00:11:47,100 And with RFID tags, you can read them from a decent distance away. 123 00:11:50,720 --> 00:11:52,420 So, proximity cards. 124 00:11:52,720 --> 00:11:56,140 They barf back a single bit stream when they're energized. 125 00:11:56,800 --> 00:11:59,020 They're all Manchester encoded, generally. 126 00:11:59,300 --> 00:12:02,200 And in order to get the data from the card to the reader, 127 00:12:02,320 --> 00:12:08,220 that 26 bits that get sent along the Y-gand electrical circuit, 128 00:12:08,220 --> 00:12:09,000 along the electrical protocol line, 129 00:12:09,160 --> 00:12:13,980 the card is sending back about 506 bits, 130 00:12:15,520 --> 00:12:17,560 super padded out with error correction. 131 00:12:18,980 --> 00:12:22,480 So, your 26 bits going down the wire from the reader, 132 00:12:22,640 --> 00:12:26,560 the card's transmitting about 506 to actually get those there. 133 00:12:28,920 --> 00:12:32,060 Now, when the manufacturers say, 134 00:12:32,200 --> 00:12:34,800 hey, I've got this really high security Prox card. 135 00:12:34,800 --> 00:12:39,420 High security just means they've added a few more bits, 136 00:12:39,580 --> 00:12:42,920 or they've changed the bit length, 137 00:12:43,120 --> 00:12:44,460 so they're not quite standard. 138 00:12:44,780 --> 00:12:48,900 But they still get transmitted down the wire in the same manner. 139 00:12:51,000 --> 00:12:53,080 Another way they do it is they say, 140 00:12:53,180 --> 00:12:57,620 right, for a mere X million dollars, 141 00:12:57,660 --> 00:12:59,880 or whatever they decide to charge that day, 142 00:13:01,600 --> 00:13:03,460 they restrict site codes. 143 00:13:03,460 --> 00:13:05,640 So, someone may come up and say, 144 00:13:05,720 --> 00:13:08,940 right, I now have this new 64-bit format, 145 00:13:09,660 --> 00:13:14,000 and I'm only going to sell you your own site code, 146 00:13:14,100 --> 00:13:17,060 Mr. Microsoft, or Mr. Intel, or whoever. 147 00:13:18,640 --> 00:13:21,780 And basically, they get a site code that the manufacturer 148 00:13:21,780 --> 00:13:23,320 will only issue to them. 149 00:13:23,480 --> 00:13:25,540 It's like having do not duplicate keys. 150 00:13:28,220 --> 00:13:31,980 In general, if you buy a stock system off the shelf, 151 00:13:31,980 --> 00:13:33,640 it'll be using 26 bits. 152 00:13:37,100 --> 00:13:40,640 So, contactless smart cards, not proximity cards, 153 00:13:40,940 --> 00:13:44,940 but they do tend to use the same magnetic coupling. 154 00:13:45,680 --> 00:13:48,900 They're a higher frequency, because they're a little bit smarter. 155 00:13:50,020 --> 00:13:54,040 And in my humble opinion, it's the way to go. 156 00:13:54,180 --> 00:13:55,040 They're quite smart. 157 00:13:55,240 --> 00:13:57,940 They can do strong crypto. 158 00:13:58,040 --> 00:14:00,540 They authenticate between the card and the reader, 159 00:14:00,540 --> 00:14:04,000 so the card's not just barfing its secrets back. 160 00:14:06,260 --> 00:14:11,800 And here, generally, reasonably secure. 161 00:14:12,260 --> 00:14:17,380 The Philips MyFair system is used for stored payments. 162 00:14:18,040 --> 00:14:21,880 The London Underground implemented one called the Oyster card, 163 00:14:22,000 --> 00:14:23,280 just recently using MyFair, 164 00:14:23,400 --> 00:14:25,960 which would have been immensely secure 165 00:14:25,960 --> 00:14:29,900 had the key not been the same key 166 00:14:30,540 --> 00:14:32,380 as the programming example in the manual. 167 00:14:37,020 --> 00:14:38,880 So, it's sad, but true. 168 00:14:41,340 --> 00:14:44,340 However, one would hope people learn from shit like that. 169 00:14:45,380 --> 00:14:47,400 Okay, so on to biometrics. 170 00:14:50,120 --> 00:14:50,960 Retina scanners. 171 00:14:52,200 --> 00:14:54,520 The old iris scan, which they're now implementing 172 00:14:54,520 --> 00:14:55,760 at quite a few airports. 173 00:14:57,060 --> 00:15:00,040 A new one for me, which is venial hands. 174 00:15:00,540 --> 00:15:00,860 Finger maps. 175 00:15:01,480 --> 00:15:02,520 Hand geometry. 176 00:15:02,960 --> 00:15:04,120 A perennial favorite. 177 00:15:05,160 --> 00:15:07,620 And the old fingerprint scanners. 178 00:15:10,200 --> 00:15:14,600 Well, basically, a simple image capture and compare, 179 00:15:14,780 --> 00:15:18,220 and you'll come across that again and again 180 00:15:18,220 --> 00:15:23,080 with biometric devices. 181 00:15:27,420 --> 00:15:30,260 Fingerprint scanners tend to use two technologies, 182 00:15:30,540 --> 00:15:31,700 two main technologies. 183 00:15:31,860 --> 00:15:33,860 Optical, which you've all seen. 184 00:15:33,940 --> 00:15:35,560 Glass platen, you put your finger on. 185 00:15:35,920 --> 00:15:37,760 And the kind of gold platen, 186 00:15:37,800 --> 00:15:41,080 which actually uses capacitance to create the image. 187 00:15:43,480 --> 00:15:45,260 And that's exactly what it does. 188 00:15:45,360 --> 00:15:48,480 It creates a single image of your fingerprint. 189 00:15:51,180 --> 00:15:53,060 Everyone, by now, has seen the myth book, 190 00:15:53,080 --> 00:15:53,680 the Ghostbusters episode. 191 00:15:54,220 --> 00:15:56,940 Gummy bears lick photocopies, 192 00:15:57,020 --> 00:15:59,160 which is the saddest thing ever. 193 00:15:59,980 --> 00:16:01,740 And, you know, it's like, 194 00:16:01,780 --> 00:16:04,280 why bother making a silicon fingertip 195 00:16:04,280 --> 00:16:05,840 when you can lick a photocopy? 196 00:16:08,300 --> 00:16:10,940 So, generally, the way these systems work 197 00:16:10,940 --> 00:16:12,300 is you've got your image, 198 00:16:12,940 --> 00:16:15,760 and as you can see here, 199 00:16:16,000 --> 00:16:18,660 there are certain fingerprint features 200 00:16:18,660 --> 00:16:22,660 that a standard forensic, 201 00:16:23,080 --> 00:16:24,480 analyst would look for. 202 00:16:24,960 --> 00:16:27,120 Things like enclosures, 203 00:16:28,380 --> 00:16:30,440 bifurcations where the ridge splits, 204 00:16:30,740 --> 00:16:32,180 little islands, 205 00:16:32,480 --> 00:16:34,980 and when the ridge actually ends. 206 00:16:35,960 --> 00:16:38,080 And they use that to create a map. 207 00:16:38,700 --> 00:16:40,420 Now, here's the thing, 208 00:16:40,480 --> 00:16:42,420 and here's the scary thing about fingerprints, 209 00:16:42,680 --> 00:16:44,320 and a lot of biometrics. 210 00:16:45,380 --> 00:16:46,620 You've got an image, 211 00:16:47,640 --> 00:16:49,440 and from that point onwards, 212 00:16:49,540 --> 00:16:51,180 it's just image processing. 213 00:16:51,180 --> 00:16:53,380 So when you buy that fingerprint scanner, 214 00:16:54,620 --> 00:16:55,580 you've got to think, 215 00:16:55,940 --> 00:16:56,980 who was the programmer 216 00:16:56,980 --> 00:16:58,700 that actually created the algorithm? 217 00:16:59,260 --> 00:17:01,580 You know, they get given a picture of a fingerprint, 218 00:17:01,820 --> 00:17:03,500 and someone had to sit down 219 00:17:03,500 --> 00:17:04,900 and create an algorithm 220 00:17:06,640 --> 00:17:08,600 to identify that fingerprint. 221 00:17:09,440 --> 00:17:10,960 How much do you trust them? 222 00:17:13,880 --> 00:17:15,380 Hand geometry scanners, 223 00:17:15,560 --> 00:17:17,120 a bit of a fave. 224 00:17:17,160 --> 00:17:18,900 They're super easy to use. 225 00:17:22,480 --> 00:17:24,160 However, in general, 226 00:17:25,240 --> 00:17:27,160 this is highly embarrassing, 227 00:17:27,500 --> 00:17:31,520 a lot of people's hands are actually the same, 228 00:17:31,540 --> 00:17:32,340 or very similar. 229 00:17:33,600 --> 00:17:37,460 So when I was showing my next door neighbour, 230 00:17:38,620 --> 00:17:40,580 who now has a set of keys to my house, 231 00:17:40,740 --> 00:17:43,960 how to get into some of the more secure areas, 232 00:17:46,780 --> 00:17:48,880 I enrolled him with the hand geometry scanner, 233 00:17:48,880 --> 00:17:52,260 and as we were kind of proving, 234 00:17:52,440 --> 00:17:54,060 I'm like typing in his code, 235 00:17:54,140 --> 00:17:55,120 and he's putting his hand in, 236 00:17:55,180 --> 00:17:55,500 it's great. 237 00:17:56,020 --> 00:17:58,080 Then I accidentally type in my code, 238 00:17:58,260 --> 00:17:59,360 and he puts his hand in, 239 00:17:59,440 --> 00:18:00,780 and it opens the door. 240 00:18:01,780 --> 00:18:03,700 So they're coming out soon, basically. 241 00:18:04,400 --> 00:18:07,420 But in general, again, 242 00:18:07,580 --> 00:18:08,380 it's another image. 243 00:18:12,600 --> 00:18:15,280 One of the problems inherent with biometrics 244 00:18:15,280 --> 00:18:17,140 is getting your image squared away. 245 00:18:17,360 --> 00:18:17,980 So here, 246 00:18:18,880 --> 00:18:20,460 there are little pegs 247 00:18:20,460 --> 00:18:23,420 that the user lines his hands up again, 248 00:18:26,000 --> 00:18:27,880 and there's a whole set of little LEDs 249 00:18:27,880 --> 00:18:29,680 on the top of the reader that go out 250 00:18:29,680 --> 00:18:31,020 when your finger's in the right position. 251 00:18:31,280 --> 00:18:32,580 You put your hand in, 252 00:18:32,640 --> 00:18:34,460 you close your fingers up against the pegs, 253 00:18:35,340 --> 00:18:36,320 takes a snapshot, 254 00:18:37,040 --> 00:18:38,760 and then analyses it. 255 00:18:39,680 --> 00:18:40,720 And actually, with this, 256 00:18:40,780 --> 00:18:42,080 I thought it was quite a cool hack. 257 00:18:42,860 --> 00:18:45,680 Some guy realised that just this side of the reader, 258 00:18:46,760 --> 00:18:48,460 there was space 259 00:18:48,880 --> 00:18:50,780 there's a camera up here taking the picture down, 260 00:18:51,340 --> 00:18:54,400 there was enough space to put in a 45-degree angle, 261 00:18:54,540 --> 00:18:55,680 angled mirror. 262 00:18:56,180 --> 00:18:57,260 So at that point, 263 00:18:57,280 --> 00:18:58,420 you now get this image, 264 00:18:58,580 --> 00:19:01,280 which is across the side of the hand. 265 00:19:01,700 --> 00:19:03,600 So there's a little reflective surface here, 266 00:19:05,200 --> 00:19:07,400 and that must have made them jump for joy, 267 00:19:07,540 --> 00:19:09,100 because they then released this, 268 00:19:09,220 --> 00:19:11,260 which is the Hand Scanner 3D. 269 00:19:14,480 --> 00:19:17,160 So a new one that I haven't actually played with yet 270 00:19:17,160 --> 00:19:19,360 is the Venial Hand Scan. 271 00:19:19,720 --> 00:19:21,420 This uses an infrared camera. 272 00:19:21,600 --> 00:19:23,960 It's another image capture. 273 00:19:25,020 --> 00:19:26,280 As I said, they all are. 274 00:19:26,640 --> 00:19:29,840 And you can see with this set of three images, 275 00:19:29,940 --> 00:19:32,320 here's the hand, 276 00:19:32,480 --> 00:19:34,680 here's the hand in IR, 277 00:19:35,880 --> 00:19:38,180 and when you process it and take the hand away, 278 00:19:38,880 --> 00:19:40,020 this is what you get, 279 00:19:40,100 --> 00:19:42,100 the actual map of the veins, 280 00:19:42,680 --> 00:19:45,160 which are analysed just like the fingerprint 281 00:19:45,160 --> 00:19:49,380 to create the actual identifying map. 282 00:19:51,140 --> 00:19:53,060 Now, I actually enrolled with this. 283 00:19:55,700 --> 00:19:57,140 Coming back into the UK, 284 00:19:57,240 --> 00:19:58,300 or going out from the UK, 285 00:19:58,360 --> 00:20:01,540 you get now to enrol in their IrisScan programme. 286 00:20:03,340 --> 00:20:05,760 And I thought, great, I'll have a go. 287 00:20:07,220 --> 00:20:08,440 Again, it's just an image. 288 00:20:09,820 --> 00:20:11,240 If you've got a high-res camera, 289 00:20:12,360 --> 00:20:14,900 yeah, some potential problems with, you know, 290 00:20:14,900 --> 00:20:16,820 snatching things as people glance by. 291 00:20:18,880 --> 00:20:22,640 And one of the problems with it I noticed was 292 00:20:22,640 --> 00:20:24,360 the first time I used it, 293 00:20:24,460 --> 00:20:26,580 my passport had expired. 294 00:20:28,120 --> 00:20:31,560 And I thought, yeah, I'll give it a go anyway. 295 00:20:32,480 --> 00:20:33,920 Ding, lets me in. 296 00:20:34,600 --> 00:20:37,220 I'm like, okay, so one of two things have happened. 297 00:20:37,780 --> 00:20:40,420 Either it hasn't identified me as me 298 00:20:40,420 --> 00:20:43,580 or they haven't put in the fact that my passport expired 299 00:20:43,580 --> 00:20:45,580 like six months after I enrolled. 300 00:20:47,300 --> 00:20:49,620 One of the problems with this is 301 00:20:51,340 --> 00:20:57,360 you should use biometrics to verify the identity of someone. 302 00:20:57,520 --> 00:20:59,880 You should not use them to identify people. 303 00:21:00,320 --> 00:21:03,140 So what they should have done is had me scan my passport 304 00:21:03,140 --> 00:21:05,420 and then scan my iris. 305 00:21:05,420 --> 00:21:09,100 At that point, I know they're comparing it with my template. 306 00:21:09,240 --> 00:21:10,420 They know I'm me. 307 00:21:10,420 --> 00:21:14,700 Or they're comparing me with the template that I enrolled with. 308 00:21:16,280 --> 00:21:19,600 When you start to take something and just say, 309 00:21:19,680 --> 00:21:22,080 oh, right, this matches. 310 00:21:22,660 --> 00:21:24,860 It didn't even say, welcome back, Mr. Franken. 311 00:21:26,480 --> 00:21:28,000 I could have been anyone. 312 00:21:30,700 --> 00:21:32,220 My absolute favorite. 313 00:21:32,340 --> 00:21:33,420 I own three of these. 314 00:21:36,520 --> 00:21:40,100 The retina sanner, also known from Uncle Ira 315 00:21:40,100 --> 00:21:41,300 as the rectal scanner. 316 00:21:41,600 --> 00:21:43,940 That is actually a big brown stick fixed to the wall, 317 00:21:44,040 --> 00:21:45,860 but we won't go into that right now. 318 00:21:49,860 --> 00:21:52,120 Okay, it's one of the things that's most secure. 319 00:21:53,220 --> 00:21:55,440 As a credential, it's very hard to steal. 320 00:21:56,980 --> 00:21:59,440 The only problem is not very easy to use. 321 00:21:59,540 --> 00:22:03,200 You absolutely have to be trained how to use these things 322 00:22:03,200 --> 00:22:04,200 and it needs practice. 323 00:22:04,500 --> 00:22:06,000 You can't use them with glasses, 324 00:22:06,080 --> 00:22:09,360 so you've got to take your glasses off every time you use it. 325 00:22:10,840 --> 00:22:11,900 Manufacturer went bust. 326 00:22:12,140 --> 00:22:13,120 Bit of a fucker. 327 00:22:18,140 --> 00:22:20,360 Okay, so I'm going to use this 328 00:22:20,360 --> 00:22:22,780 and take you through a bit of a worked example 329 00:22:22,780 --> 00:22:26,160 just to show you how biometric systems tend to work. 330 00:22:28,360 --> 00:22:31,180 So, first of all, user enters the code on the reader. 331 00:22:31,320 --> 00:22:32,140 This is a good thing. 332 00:22:32,300 --> 00:22:35,440 So we're matching me with my template. 333 00:22:37,720 --> 00:22:39,740 And then, a visual daunt. 334 00:22:40,100 --> 00:22:42,320 And a little target are displayed on the eyepiece. 335 00:22:45,220 --> 00:22:47,940 If you ever use one, before you look in the eyepiece, 336 00:22:48,060 --> 00:22:49,700 make sure you've got your finger on the scan button 337 00:22:49,700 --> 00:22:50,860 because you're going to need to press it. 338 00:22:52,340 --> 00:22:53,740 So you look into your eyepiece 339 00:22:54,640 --> 00:22:56,760 and literally you shuffle your head around 340 00:22:58,060 --> 00:23:00,040 to the dot that's in the center of the target 341 00:23:01,660 --> 00:23:04,320 and then you hit the scan button. 342 00:23:05,400 --> 00:23:07,840 And then you hold still because it takes about a second. 343 00:23:12,060 --> 00:23:13,740 So, bit of a pain in the arse. 344 00:23:14,220 --> 00:23:16,040 If you wobble a bit, 345 00:23:16,160 --> 00:23:19,420 the initial ones used to have a head bar 346 00:23:19,420 --> 00:23:21,320 that you rested your head on. 347 00:23:22,860 --> 00:23:24,240 Weren't popular with users. 348 00:23:24,540 --> 00:23:26,280 It's like, I don't want his cooties. 349 00:23:29,440 --> 00:23:33,800 So, and they all have a variance factor to handle this. 350 00:23:34,060 --> 00:23:35,860 You know, my head wasn't in the right place. 351 00:23:36,160 --> 00:23:39,180 If it's the fingerprint, my finger wasn't, you know, 352 00:23:39,180 --> 00:23:41,740 quite centered correctly or it was skewed. 353 00:23:43,800 --> 00:23:47,200 So, no two reads are ever, ever going to be identical. 354 00:23:47,440 --> 00:23:49,120 If they ever are, it's a miracle. 355 00:23:49,260 --> 00:23:50,300 It's like a one in a thousand. 356 00:23:51,820 --> 00:23:57,060 So, you need a bit of fudge in all of these devices. 357 00:23:58,700 --> 00:23:59,720 So here's the retina. 358 00:24:00,260 --> 00:24:01,600 It is not mine. 359 00:24:05,380 --> 00:24:08,600 And here's the target as it looks lined up. 360 00:24:09,180 --> 00:24:12,160 And imagine this being projected onto the back of the retina. 361 00:24:12,760 --> 00:24:14,120 I hit the scan button. 362 00:24:16,140 --> 00:24:19,700 And the scanner, which actually a retina scanner 363 00:24:19,700 --> 00:24:23,060 has lots of little whizzy spinning mirrors, 364 00:24:23,300 --> 00:24:25,240 like proper old school tech. 365 00:24:26,800 --> 00:24:30,840 The scanner activates and it literally looks 366 00:24:30,840 --> 00:24:35,080 at a circle around your eye. 367 00:24:35,200 --> 00:24:36,820 It scans that circle. 368 00:24:38,220 --> 00:24:40,180 And then it goes to process it. 369 00:24:40,720 --> 00:24:44,160 So basically, effectively, it straightens it out 370 00:24:44,160 --> 00:24:46,160 and deals with it like it's almost a barcode. 371 00:24:46,720 --> 00:24:49,640 As it moves around, it says, okay, at 46 degrees, 372 00:24:49,840 --> 00:24:51,560 I got a black splodge. 373 00:24:51,640 --> 00:24:52,640 And another one at 88. 374 00:24:55,340 --> 00:24:56,340 163, 179. 375 00:24:57,020 --> 00:25:00,560 And this generally creates your template. 376 00:25:03,260 --> 00:25:04,960 Surprisingly enough, on the original ones, 377 00:25:04,960 --> 00:25:08,120 the template's exactly 360 bits long. 378 00:25:11,920 --> 00:25:14,920 Now, as it says here, it did change on later models, 379 00:25:15,040 --> 00:25:19,740 but it shows you how the implementers of these things think. 380 00:25:21,260 --> 00:25:23,520 You've got your retina scan. 381 00:25:24,060 --> 00:25:26,600 How are you actually going to deal with it? 382 00:25:28,940 --> 00:25:31,300 My fave. Cool as fuck. 383 00:25:32,980 --> 00:25:33,600 Problems are, 384 00:25:33,600 --> 00:25:34,660 alignment. 385 00:25:36,840 --> 00:25:38,800 So it's totally subjective. 386 00:25:39,220 --> 00:25:41,140 So remember a couple of slides back 387 00:25:41,140 --> 00:25:43,580 when I showed the target in the center of the retina? 388 00:25:44,200 --> 00:25:48,180 Well, that is where I perceive the center of my vision to be. 389 00:25:48,360 --> 00:25:51,280 It may not physically be the center of my retina. 390 00:25:52,160 --> 00:25:56,500 So it's almost like having a brain print with the retina scan. 391 00:25:57,860 --> 00:26:01,080 Because when it's projected on the back of the retina, 392 00:26:01,920 --> 00:26:02,620 you know, 393 00:26:02,620 --> 00:26:03,660 as I grew up, 394 00:26:03,680 --> 00:26:04,300 the nerves, 395 00:26:04,880 --> 00:26:05,880 as they developed, 396 00:26:06,800 --> 00:26:07,280 said, 397 00:26:07,420 --> 00:26:08,920 this is the center of your retina. 398 00:26:09,240 --> 00:26:11,460 It may not physically be the center, 399 00:26:11,620 --> 00:26:13,160 but that's where I perceive it to be. 400 00:26:15,100 --> 00:26:16,640 You've still got a bit of fudge factor, 401 00:26:16,840 --> 00:26:18,140 so there's still a bit of leeway allowed. 402 00:26:19,060 --> 00:26:22,140 And your ID generally turns up to be a hash, 403 00:26:22,300 --> 00:26:23,540 which is not always fantastic. 404 00:26:25,480 --> 00:26:25,960 So, 405 00:26:27,040 --> 00:26:28,420 in biometric systems, 406 00:26:28,560 --> 00:26:30,820 there's two key... 407 00:26:32,800 --> 00:26:34,940 statistical things that... 408 00:26:34,940 --> 00:26:35,880 statistical things. 409 00:26:37,520 --> 00:26:38,040 Basically, 410 00:26:38,120 --> 00:26:39,920 you've got your false acceptance rate. 411 00:26:40,020 --> 00:26:43,620 How many times are your users going to get bounced 412 00:26:43,620 --> 00:26:47,800 when they try and scan their way into the building? 413 00:26:48,940 --> 00:26:50,500 And then there's the false... 414 00:26:50,500 --> 00:26:51,300 Sorry. 415 00:26:52,140 --> 00:26:53,400 I got them the other way around. 416 00:26:54,120 --> 00:26:55,560 The false reject rate. 417 00:26:56,960 --> 00:26:59,200 How many valid people do I kick out 418 00:26:59,200 --> 00:27:00,360 because the scan was bad? 419 00:27:01,120 --> 00:27:03,000 And then there's the false acceptance rate, 420 00:27:03,160 --> 00:27:03,360 which, 421 00:27:03,460 --> 00:27:04,820 especially for the military people, 422 00:27:05,060 --> 00:27:07,520 they really don't want to be high at all, 423 00:27:07,700 --> 00:27:10,500 is how many bad guys actually got in 424 00:27:10,500 --> 00:27:12,260 because it misidentified their scan. 425 00:27:15,520 --> 00:27:17,080 Got to tie it with the user ID. 426 00:27:17,300 --> 00:27:18,900 It's really, really, really key. 427 00:27:20,180 --> 00:27:20,700 Okay. 428 00:27:21,120 --> 00:27:23,280 We also have another problem with biometrics. 429 00:27:25,120 --> 00:27:27,020 Once I've enrolled my hand, 430 00:27:27,200 --> 00:27:28,180 or my finger, 431 00:27:29,060 --> 00:27:30,800 and someone duplicates it, 432 00:27:30,820 --> 00:27:31,080 or duplicates that, 433 00:27:32,460 --> 00:27:34,660 how are you going to deal with credential revocation? 434 00:27:39,260 --> 00:27:40,680 It's a bit of a sticky wicket. 435 00:27:42,180 --> 00:27:43,860 Now, this is bad. 436 00:27:44,060 --> 00:27:46,820 Not quite as bad as... 437 00:27:53,340 --> 00:27:53,840 So... 438 00:27:55,100 --> 00:27:56,180 Yeah. Ouch. 439 00:27:57,620 --> 00:27:58,120 Okay. 440 00:27:58,120 --> 00:28:01,760 So with all these systems, 441 00:28:03,440 --> 00:28:04,260 as I said, 442 00:28:04,260 --> 00:28:05,100 this was just a background 443 00:28:05,100 --> 00:28:06,540 to what I'm actually going to talk about. 444 00:28:07,240 --> 00:28:09,120 There is a bit of a common problem. 445 00:28:11,040 --> 00:28:11,560 So... 446 00:28:13,160 --> 00:28:13,960 Backwards compatibility, 447 00:28:14,520 --> 00:28:15,760 not always great. 448 00:28:17,560 --> 00:28:18,960 Going back to YGAND, 449 00:28:21,160 --> 00:28:22,200 when they came out, 450 00:28:22,320 --> 00:28:24,300 everyone wanted YGAND cards. 451 00:28:24,420 --> 00:28:26,080 So all the access control manufacturers 452 00:28:26,080 --> 00:28:29,140 implemented the YGAND electrical protocol 453 00:28:30,220 --> 00:28:32,980 so they could interface with YGAND readers. 454 00:28:34,260 --> 00:28:35,560 And they still do. 455 00:28:36,940 --> 00:28:39,360 So everything we've talked about today, 456 00:28:41,560 --> 00:28:44,180 from the crappy barcode reader 457 00:28:44,180 --> 00:28:46,620 to my fave retina scanner, 458 00:28:46,860 --> 00:28:49,660 talks YGAND out its back end 459 00:28:49,660 --> 00:28:52,340 to the access control system to say, 460 00:28:52,400 --> 00:28:54,020 yeah, this guy is actually allowed. 461 00:28:56,280 --> 00:28:57,260 It's plain text. 462 00:28:59,060 --> 00:29:00,920 It's easily intercepted. 463 00:29:01,860 --> 00:29:03,860 It's easily replayed. 464 00:29:04,360 --> 00:29:06,160 It includes the biometric readers. 465 00:29:07,120 --> 00:29:10,440 And it also includes output from strong crypto readers. 466 00:29:10,580 --> 00:29:12,180 So basically, you've got your card. 467 00:29:12,260 --> 00:29:14,560 It's doing a strong crypto handshake with the reader. 468 00:29:15,080 --> 00:29:15,640 Great. 469 00:29:15,720 --> 00:29:16,740 And then the reader goes, 470 00:29:16,940 --> 00:29:18,060 oh, access control system? 471 00:29:18,340 --> 00:29:20,140 Have everything in YGAND. 472 00:29:24,020 --> 00:29:26,260 So I decided to come up 473 00:29:27,740 --> 00:29:30,160 with a device that would record YGAND IDs, 474 00:29:31,120 --> 00:29:32,140 replay them back. 475 00:29:33,240 --> 00:29:34,660 It needs to be small 476 00:29:34,660 --> 00:29:37,080 because we're going to have to physically access the wiring. 477 00:29:38,620 --> 00:29:40,100 Make it easily installable. 478 00:29:41,120 --> 00:29:42,480 And cheap would be good. 479 00:29:45,660 --> 00:29:47,180 That raised certain problems. 480 00:29:49,320 --> 00:29:51,040 How do we actually control it 481 00:29:51,040 --> 00:29:53,340 once it's installed in the wall behind a reader? 482 00:29:57,260 --> 00:29:59,160 And also, how do I work out 483 00:29:59,580 --> 00:30:02,080 when the card reads are actually good reads? 484 00:30:04,560 --> 00:30:06,320 And I quite like to get the data out 485 00:30:06,320 --> 00:30:07,160 every once in a while. 486 00:30:07,280 --> 00:30:08,180 So how am I going to do that? 487 00:30:12,040 --> 00:30:12,840 Now I'm drying up, 488 00:30:12,880 --> 00:30:13,720 so I'm going to get a glass of water. 489 00:30:30,020 --> 00:30:32,040 This is where I spill the water over my laptop 490 00:30:32,040 --> 00:30:32,900 and end the presentation. 491 00:30:34,180 --> 00:30:34,620 Okay. 492 00:30:34,740 --> 00:30:38,540 So generally, these readers, 493 00:30:38,980 --> 00:30:41,720 this is a classic example of how a reader is connected. 494 00:30:42,260 --> 00:30:43,620 You've got positive and negative 495 00:30:43,620 --> 00:30:44,780 to power the reader up. 496 00:30:46,100 --> 00:30:49,180 You've got an LED line that comes from the access control system 497 00:30:49,180 --> 00:30:50,480 to say, yep, they're allowed. 498 00:30:51,460 --> 00:30:52,980 And you've got your data one 499 00:30:52,980 --> 00:30:56,720 and data zero YGAND data lines coming from the reader. 500 00:30:59,620 --> 00:31:00,740 Say hello to Gecko. 501 00:31:03,900 --> 00:31:05,520 It uses command cards 502 00:31:06,820 --> 00:31:08,480 to control the functions. 503 00:31:10,400 --> 00:31:12,300 It uses the access-allowed LED 504 00:31:12,300 --> 00:31:13,940 to make sure we've got the card right. 505 00:31:15,680 --> 00:31:18,040 And it also uses the access-allowed LED 506 00:31:18,040 --> 00:31:20,120 to download data out of the reader. 507 00:31:20,420 --> 00:31:21,420 That's my fave. 508 00:31:24,540 --> 00:31:26,740 So once you insert it into the system, 509 00:31:28,040 --> 00:31:33,160 you see it actually intercepts the LED lines 510 00:31:33,160 --> 00:31:35,100 and the data lines to and from the system. 511 00:31:39,800 --> 00:31:41,860 Now, Maggie, can I just grab you a sec? 512 00:31:43,420 --> 00:31:47,860 Can you hand one of these to each of the three banks 513 00:31:47,860 --> 00:31:49,980 and just have them hand them around and hand them back? 514 00:31:50,140 --> 00:31:52,220 Right, so if you just pass these around, 515 00:31:52,220 --> 00:31:53,180 pass these along, 516 00:31:53,440 --> 00:31:55,240 and eventually they'll get to the back of the room 517 00:31:55,240 --> 00:31:56,560 and then someone will steal them. 518 00:31:58,620 --> 00:32:00,140 They are empty, however, 519 00:32:00,320 --> 00:32:02,120 so you're shit out of luck. 520 00:32:02,220 --> 00:32:03,320 You just scored a bit of plastic. 521 00:32:05,900 --> 00:32:08,260 So this little device 522 00:32:12,740 --> 00:32:15,180 has two quick connects on either side. 523 00:32:15,660 --> 00:32:16,560 These guys here. 524 00:32:18,320 --> 00:32:20,580 So you just literally cut the wires, 525 00:32:21,080 --> 00:32:23,960 poke them into the quick connects, 526 00:32:24,160 --> 00:32:25,160 and just crimp down. 527 00:32:27,000 --> 00:32:27,660 And it's in. 528 00:32:29,700 --> 00:32:31,340 So I'm going to give you a little demo. 529 00:32:34,220 --> 00:32:36,280 It's a demo, so it's not going to fucking work. 530 00:32:36,640 --> 00:32:40,020 But if it does, I'm going to take all the credit for it. 531 00:32:44,380 --> 00:32:44,780 Okay. 532 00:32:45,860 --> 00:32:46,260 So... 533 00:32:54,160 --> 00:32:55,480 Here we have... 534 00:32:57,620 --> 00:33:00,180 Can everyone see this from that corner? 535 00:33:02,300 --> 00:33:02,900 Okay. 536 00:33:04,700 --> 00:33:08,080 Here we have a simple access control reader. 537 00:33:08,960 --> 00:33:11,460 And remember, don't focus on the reader 538 00:33:11,460 --> 00:33:13,820 because the reader isn't the problem. 539 00:33:14,240 --> 00:33:16,240 The YGAN protocol is the problem. 540 00:33:17,180 --> 00:33:20,560 And this is talking to a tiny, tiny access control reader. 541 00:33:20,560 --> 00:33:21,240 And this is talking to a tiny, tiny access control system, 542 00:33:21,900 --> 00:33:23,700 which happens to know about two cards. 543 00:33:25,100 --> 00:33:25,500 So... 544 00:33:27,920 --> 00:33:28,860 I'm going to power it up. 545 00:33:33,120 --> 00:33:34,640 And can I have Maggie and Helen? 546 00:33:36,700 --> 00:33:37,780 There you go. That was good. 547 00:33:38,420 --> 00:33:40,460 There's going to be a lot of RF flying in here, 548 00:33:40,560 --> 00:33:42,460 and this particular demo isn't shielded. 549 00:33:43,000 --> 00:33:45,020 So here are our valid users. 550 00:33:45,780 --> 00:33:47,040 Maggie and Helen, say hello. 551 00:33:52,620 --> 00:33:55,200 And here we have our bad user. 552 00:34:00,260 --> 00:34:00,720 Okay. 553 00:34:01,320 --> 00:34:01,780 So... 554 00:34:02,840 --> 00:34:04,840 Maggie, would you like to swipe for us? 555 00:34:06,600 --> 00:34:07,420 We like Maggie. 556 00:34:07,600 --> 00:34:08,060 Helen? 557 00:34:12,520 --> 00:34:14,100 Can we move the volume up a little bit? 558 00:34:14,900 --> 00:34:16,040 And we have our bad user. 559 00:34:18,420 --> 00:34:18,880 Okay. 560 00:34:20,660 --> 00:34:21,900 No, you're not getting in. 561 00:34:22,700 --> 00:34:23,180 Okay. 562 00:34:23,320 --> 00:34:26,080 And we also have our three mystery cards. 563 00:34:26,500 --> 00:34:27,720 We have card A. 564 00:34:30,680 --> 00:34:31,160 Denied. 565 00:34:31,980 --> 00:34:32,800 Card B. 566 00:34:35,760 --> 00:34:36,240 Denied. 567 00:34:37,080 --> 00:34:38,080 And card C. 568 00:34:40,900 --> 00:34:41,380 Denied. 569 00:34:42,440 --> 00:34:42,920 Okay. 570 00:34:43,100 --> 00:34:45,760 So, what we're going to do now is... 571 00:34:46,340 --> 00:34:48,800 I have the same thing you're looking at, 572 00:34:48,800 --> 00:34:50,420 except it's already in a little harness, 573 00:34:50,540 --> 00:34:52,140 so I can plug it in without fucking around. 574 00:35:01,460 --> 00:35:01,860 Sorry? 575 00:35:03,220 --> 00:35:05,300 Oh, no, it would just make random noises. 576 00:35:05,760 --> 00:35:07,200 Like lots of eh-ehs. 577 00:35:11,280 --> 00:35:14,680 And it always gets the first one wrong. 578 00:35:17,400 --> 00:35:18,100 Come on. 579 00:35:19,240 --> 00:35:19,940 There we go. 580 00:35:20,420 --> 00:35:22,980 Sorry, it's just a little sound board needs to initialize. 581 00:35:23,440 --> 00:35:23,880 Okay. 582 00:35:24,220 --> 00:35:25,780 So, now we have... 583 00:35:27,020 --> 00:35:28,060 We're back in. 584 00:35:28,100 --> 00:35:29,280 We've cleaned this off. 585 00:35:30,040 --> 00:35:32,020 As I said, two screws and a plastic cover. 586 00:35:33,620 --> 00:35:34,500 It's not hard. 587 00:35:36,340 --> 00:35:38,120 You pop the cover off. 588 00:35:38,360 --> 00:35:39,260 Install Gecko. 589 00:35:41,080 --> 00:35:42,500 Screw it all back onto the wall. 590 00:35:43,040 --> 00:35:43,920 Is that my knife? 591 00:35:44,400 --> 00:35:45,360 It is your knife. 592 00:35:47,500 --> 00:35:48,560 I borrowed it. 593 00:35:50,380 --> 00:35:50,860 Okay. 594 00:35:55,280 --> 00:35:57,300 Now you made me forget where the fuck I was. 595 00:35:57,420 --> 00:35:58,020 You bastard. 596 00:36:02,880 --> 00:36:06,040 You may be getting your knife back very shortly. 597 00:36:09,940 --> 00:36:10,420 Okay. 598 00:36:10,420 --> 00:36:13,580 So, Gecko's now installed. 599 00:36:14,280 --> 00:36:16,180 Can we try with our bad user? 600 00:36:19,700 --> 00:36:21,420 No, he's still fucked off. 601 00:36:21,940 --> 00:36:22,540 Helen? 602 00:36:26,060 --> 00:36:27,260 You like Helen? 603 00:36:27,420 --> 00:36:28,020 Maggie? 604 00:36:32,200 --> 00:36:33,500 Mystery card A. 605 00:36:36,660 --> 00:36:38,760 Card says, replay. 606 00:36:39,680 --> 00:36:45,000 So, now, basically, it will replay back valid users. 607 00:36:45,200 --> 00:36:48,660 This particular unit won't because I'm not trapping the LED. 608 00:36:49,460 --> 00:36:51,300 But it's just an old demo unit. 609 00:36:53,160 --> 00:36:55,060 So, everyone can get in normally. 610 00:36:55,320 --> 00:36:56,560 Now, so can I. 611 00:36:58,020 --> 00:36:58,800 Like that. 612 00:36:59,820 --> 00:37:00,380 Okay. 613 00:37:00,480 --> 00:37:02,020 Mystery card number B. 614 00:37:08,000 --> 00:37:08,740 You know what? 615 00:37:08,740 --> 00:37:09,260 That's working fine. 616 00:37:10,140 --> 00:37:10,700 Helen? 617 00:37:14,580 --> 00:37:15,420 Bad user? 618 00:37:18,860 --> 00:37:19,420 Maggie? 619 00:37:22,820 --> 00:37:24,140 Hey, I can still get in. 620 00:37:34,960 --> 00:37:36,860 Card says, disable. 621 00:37:40,660 --> 00:37:42,880 And, oh, I guess I'll let you guys back. 622 00:37:43,360 --> 00:37:44,200 Card number C. 623 00:37:44,340 --> 00:37:45,080 Or, card C. 624 00:37:48,520 --> 00:37:49,100 Bad user? 625 00:37:52,920 --> 00:37:53,320 Maggie. 626 00:37:56,380 --> 00:37:57,840 And, of course, I can still get in. 627 00:37:59,240 --> 00:37:59,640 So. 628 00:38:04,520 --> 00:38:05,320 Thank you. 629 00:38:08,740 --> 00:38:10,480 So, there's a whole bunch of other stuff you can do as well. 630 00:38:10,700 --> 00:38:11,720 Now, this is in place. 631 00:38:14,900 --> 00:38:15,400 Let's see. 632 00:38:18,200 --> 00:38:19,320 Actually, you guys can sit down. 633 00:38:20,040 --> 00:38:20,500 We're good. 634 00:38:20,620 --> 00:38:20,900 Thank you. 635 00:38:21,300 --> 00:38:22,440 Thank my helpers, please. 636 00:38:28,100 --> 00:38:28,460 Sorry. 637 00:38:29,660 --> 00:38:31,420 And thank your bad users, Steve. 638 00:38:36,960 --> 00:38:37,400 OK. 639 00:38:40,120 --> 00:38:41,900 So, this is version one. 640 00:38:42,660 --> 00:38:43,740 It's a proof of concept. 641 00:38:44,180 --> 00:38:45,940 It has a very basic feature set. 642 00:38:46,080 --> 00:38:46,580 It records. 643 00:38:48,520 --> 00:38:49,400 It replays. 644 00:38:50,260 --> 00:38:51,620 And it can disable users. 645 00:38:52,140 --> 00:38:53,880 Oh, and it can enable them as well. 646 00:38:56,680 --> 00:39:00,780 Version two, which I'm currently working on, and I didn't have my demo version ready for 647 00:39:00,780 --> 00:39:00,980 you. 648 00:39:02,140 --> 00:39:04,660 it can store multiple IDs 649 00:39:04,660 --> 00:39:07,600 and it writes them back to the flash and the chip 650 00:39:08,780 --> 00:39:11,060 we monitor the reader line 651 00:39:11,060 --> 00:39:12,660 so we know that we actually got 652 00:39:12,660 --> 00:39:14,800 we were actually capturing good cards 653 00:39:16,700 --> 00:39:18,200 download via reader LED 654 00:39:18,200 --> 00:39:21,040 so basically there are other systems 655 00:39:21,040 --> 00:39:23,860 that allow you to emulate these cards 656 00:39:26,640 --> 00:39:29,680 and actually by presenting something to a reader 657 00:39:29,680 --> 00:39:32,600 so this would enable me to actually install one of these guys 658 00:39:32,600 --> 00:39:35,260 at the reader at Smoker's Corner 659 00:39:36,360 --> 00:39:38,020 every office building has one 660 00:39:39,880 --> 00:39:44,140 and just record everything going in and out of that door 661 00:39:44,820 --> 00:39:46,300 then dump the data out 662 00:39:47,560 --> 00:39:49,560 because I have to have a dump card 663 00:39:50,320 --> 00:39:54,520 so hold my reader device against the LED 664 00:39:55,400 --> 00:39:56,720 swipe my dump card 665 00:39:56,720 --> 00:39:58,680 it'll dump out the data to the reader 666 00:39:58,680 --> 00:39:59,500 the reader's just 667 00:39:59,500 --> 00:39:59,660 I don't know 668 00:39:59,660 --> 00:40:00,620 another little PIC chip 669 00:40:07,340 --> 00:40:12,680 I can load data back into Gecko via command cards 670 00:40:14,640 --> 00:40:16,000 slightly comical 671 00:40:16,000 --> 00:40:18,380 I have my program card 672 00:40:21,140 --> 00:40:24,020 and I have my 1 and my 0 cards 673 00:40:24,720 --> 00:40:28,200 so program 1 0 0 0 1 1 1 674 00:40:35,380 --> 00:40:36,980 and program 675 00:40:36,980 --> 00:40:38,000 so 676 00:40:40,240 --> 00:40:41,440 version 3 677 00:40:41,440 --> 00:40:43,740 now this is all good for 678 00:40:43,740 --> 00:40:47,000 kind of swiper proximity card readers 679 00:40:47,880 --> 00:40:49,740 but I don't have 680 00:40:49,740 --> 00:40:52,140 a whole bunch of retinas 681 00:40:52,140 --> 00:40:53,980 to our irises 682 00:40:53,980 --> 00:40:55,760 to present to a biometric reader 683 00:40:56,780 --> 00:40:58,180 so I have a whole bunch of retinas 684 00:40:58,180 --> 00:41:06,340 So version 3 is Bluetooth controllable. It's perfect for biometric devices, so once it's 685 00:41:06,340 --> 00:41:13,740 in the wall, accessed via Bluetooth, you can download and upload from it. And then there's 686 00:41:13,740 --> 00:41:19,840 version 4. Now, version 3, slightly larger because of the Bluetooth, slightly physically 687 00:41:19,840 --> 00:41:26,940 larger because of the Bluetooth interface. In fact, what's in those devices, make sure 688 00:41:26,940 --> 00:41:30,020 you're still passing them back because the guys at the back aren't going to get it to 689 00:41:30,020 --> 00:41:39,640 the end of the talk. Basically, the biggest problem here is the size of the physical connectors. 690 00:41:39,980 --> 00:41:44,360 Everything else can be reduced to surface mount and made real small. There's actually 691 00:41:44,360 --> 00:41:53,680 a dual-in-line chip and socket in those. So, as you can see, it's not actually filling 692 00:41:53,680 --> 00:41:54,680 out the size of the device. 693 00:41:56,400 --> 00:42:07,820 So, the Bluetooth one's slightly larger. And then there's version 4. GSM. Because that 694 00:42:07,820 --> 00:42:13,420 little guy there, actually, believe it or not, is not only a fully functional GSM phone, 695 00:42:14,120 --> 00:42:20,460 that one has a GPS in it as well, and it's slightly bigger than that quarter. And it's 696 00:42:20,460 --> 00:42:22,140 programmable in Python. 697 00:42:25,240 --> 00:42:27,520 And they're 50 bucks each. It's like, yes! 698 00:42:31,260 --> 00:42:40,040 So, I've been absolutely sprinting through this because I thought I had quite a lot. 699 00:42:40,180 --> 00:42:42,840 And the earlier stuff, I really went fast on. 700 00:42:46,960 --> 00:42:50,500 So, basically, that's pretty much it in a nutshell. 701 00:42:51,760 --> 00:42:54,660 I'd like to say thanks to Video Man, who made this video. 702 00:42:54,660 --> 00:42:55,900 He made my demo stand. 703 00:42:56,160 --> 00:43:00,080 And thanks to MajorMalfunction, who's somewhere here, for keeping me sane when I was doing 704 00:43:00,080 --> 00:43:00,880 my PCB design. 705 00:43:02,580 --> 00:43:07,960 And basically, any questions? Especially if you didn't get any of the earlier stuff. 706 00:43:09,040 --> 00:43:13,180 Because I know I've got a bit of a Scottish accent, and I probably went a bit fast. 707 00:43:15,000 --> 00:43:16,520 So, questions from the floor? 708 00:43:26,040 --> 00:43:36,420 The hand biometric ones tend to use their own network to talk between themselves and 709 00:43:36,420 --> 00:43:43,500 exchange templates, but they use Wigand to talk back. So, that's where you'd use the 710 00:43:43,500 --> 00:43:44,400 Bluetooth model. 711 00:43:50,200 --> 00:43:52,980 Ah, tamper switches and readers. 712 00:43:53,560 --> 00:43:59,580 You'd be surprised how many readers don't have tamper switches, because this one doesn't, 713 00:43:59,600 --> 00:44:02,200 and I haven't actually come across one that has. 714 00:44:03,640 --> 00:44:07,640 So, there are a few out there, but it's a bit of an issue. 715 00:44:15,000 --> 00:44:22,960 I'm using PIC chips, so, about, well, hey, I need to say something. 716 00:44:22,980 --> 00:44:23,640 This is something easy. 717 00:44:24,120 --> 00:44:27,680 A couple of bucks for the actual unit. 718 00:44:28,020 --> 00:44:32,040 But, yeah, not hard. 719 00:44:43,000 --> 00:44:50,560 It's actually quite easy, and this can be inserted at any point in the cabling system. 720 00:44:50,900 --> 00:44:51,880 So, for example, 721 00:44:52,980 --> 00:44:57,240 if you look at the wind tower across the road, they've probably done their first fixed electrical 722 00:44:57,680 --> 00:44:59,800 already on some of the stuff on the ground floor. 723 00:45:00,500 --> 00:45:02,160 So, the cabling is in there. 724 00:45:02,540 --> 00:45:04,900 They're waiting for people to pop readers on the doors. 725 00:45:06,920 --> 00:45:12,440 So, this could already be installed, stuffed up a conduit, just waiting for the sparkies 726 00:45:12,440 --> 00:45:14,300 to put the readers on and hook them up at the other end. 727 00:45:17,320 --> 00:45:18,880 How about the new readers? 728 00:45:19,000 --> 00:45:20,320 Are they still installing them? 729 00:45:20,460 --> 00:45:22,420 Or are they still in the reader? 730 00:45:23,140 --> 00:45:24,200 Sorry, say that again, please. 731 00:45:24,380 --> 00:45:28,440 Oh, there's an HIV solo device, which has the control board in the reader. 732 00:45:28,560 --> 00:45:30,220 So, it goes IP right up the back of it. 733 00:45:30,700 --> 00:45:31,140 Okay. 734 00:45:32,520 --> 00:45:36,480 The question was, what about boards that have controllers built into the readers? 735 00:45:37,040 --> 00:45:39,420 Well, they are the most vulnerable things ever. 736 00:45:41,180 --> 00:45:44,880 Because if you defeat the tamper switch on that, you've got access to everything. 737 00:45:45,560 --> 00:45:51,060 Because all the data, quite often, is stored on the actual device. 738 00:45:51,060 --> 00:45:53,400 So, not great. 739 00:45:53,800 --> 00:46:01,440 And actually, the biometric devices, the retina scanner, holds all its templates in the actual scanner on the wall. 740 00:46:01,580 --> 00:46:05,060 It gets pushed out from a central scanner. 741 00:46:05,840 --> 00:46:07,560 Normally, you'd say, you're the master. 742 00:46:09,640 --> 00:46:16,040 It pushes out the templates to all the other scanners over its own network. 743 00:46:16,260 --> 00:46:18,380 But it uses YGAND to talk back. 744 00:46:19,260 --> 00:46:21,040 And if you have a scanner, 745 00:46:21,060 --> 00:46:21,780 it's a standalone version. 746 00:46:23,160 --> 00:46:27,460 Quite often, the standalone versions rely on you not having an access control system. 747 00:46:28,000 --> 00:46:34,280 And most of them, most of those biometric devices, have contacts inside for standalone use. 748 00:46:34,600 --> 00:46:37,260 So, if you defeat the tamper and get it off the wall, 749 00:46:37,480 --> 00:46:39,680 you can just hit the tamper switch, 750 00:46:41,140 --> 00:46:42,180 and you're all set. 751 00:46:43,020 --> 00:46:47,060 Sorry, hit the access control contacts, and you're good to go. 752 00:46:52,200 --> 00:46:54,300 Hmm, will I be releasing the design? 753 00:46:55,260 --> 00:46:56,880 It's not hard to do. 754 00:46:57,080 --> 00:46:59,140 So, I'm probably going to shy away from that, 755 00:46:59,220 --> 00:47:02,300 because there's no immediate easy fix for this. 756 00:47:03,820 --> 00:47:07,580 I mean, YGAND is very widely used. 757 00:47:07,840 --> 00:47:12,140 And apart from installing tamper switches on your readers, 758 00:47:12,360 --> 00:47:15,640 which, again, is not particularly fantastic, 759 00:47:16,520 --> 00:47:18,660 it's a bit of a tough thing, really. 760 00:47:18,660 --> 00:47:21,100 We're talking about replacing readers. 761 00:47:22,040 --> 00:47:23,380 It's old technology. 762 00:47:23,480 --> 00:47:24,800 It's been widely adopted. 763 00:47:25,180 --> 00:47:27,060 So, it's going to be a real problem. 764 00:47:34,000 --> 00:47:37,140 The question was, does it do pin numbers as well? 765 00:47:37,480 --> 00:47:43,640 Some, there's quite a lot of YGAND pin number readers. 766 00:47:43,860 --> 00:47:47,380 So, you can actually enter your pin number on the pad, 767 00:47:47,380 --> 00:47:49,540 and it actually transmits YGAND back. 768 00:47:50,060 --> 00:47:53,980 So, yes, if it's a YGAND pin pad, yeah. 769 00:47:57,060 --> 00:48:00,340 There's a lot of really cheap ones around that aren't, 770 00:48:00,340 --> 00:48:01,460 that don't talk YGAND. 771 00:48:02,380 --> 00:48:04,920 But if you're actually interfacing a pin pad 772 00:48:04,920 --> 00:48:06,700 with a proper access control system, 773 00:48:06,880 --> 00:48:08,780 it'll use YGAND, most likely. 774 00:48:11,800 --> 00:48:14,260 Anyone else? Sorry. 775 00:48:20,120 --> 00:48:23,240 The question was, is it possible to mount one beneath the cover? 776 00:48:23,740 --> 00:48:25,380 Well, actually, beneath this cover, 777 00:48:27,600 --> 00:48:30,980 there's actually quite a lot of space. 778 00:48:34,000 --> 00:48:35,600 And I don't know if you can see this. 779 00:48:35,700 --> 00:48:37,880 It's all covered in epoxy compound. 780 00:48:38,980 --> 00:48:40,620 All the cables come through the back. 781 00:48:40,780 --> 00:48:42,860 So, it would involve a bit of a solder job. 782 00:48:42,980 --> 00:48:45,720 But, yes, it's perfectly possible with this style, 783 00:48:45,720 --> 00:48:47,500 or a particular style of reader. 784 00:48:54,680 --> 00:48:57,600 Oh, the power, straight from the reader power. 785 00:48:58,260 --> 00:49:02,000 I mean, 12 volts, it's there for me to use, 786 00:49:02,060 --> 00:49:02,920 so I may as well use it. 787 00:49:12,760 --> 00:49:15,300 Well, that's where you're kind of 788 00:49:15,300 --> 00:49:16,440 when the fudge factor comes in. 789 00:49:17,100 --> 00:49:20,020 So basically, with all these biometric systems, 790 00:49:21,100 --> 00:49:22,380 there is a 791 00:49:23,640 --> 00:49:25,460 kind of variance factor, 792 00:49:25,660 --> 00:49:29,100 So basically, you tend to set them... 793 00:49:29,100 --> 00:49:30,580 OK, I'm going to say 794 00:49:31,440 --> 00:49:34,360 any scan can have a 10% variance, 795 00:49:34,780 --> 00:49:36,860 which is actually quite tight. 796 00:49:38,000 --> 00:49:40,300 Or, yeah, you can make it 797 00:49:40,300 --> 00:49:41,540 bigger and bigger and bigger. 798 00:49:44,140 --> 00:49:45,280 I don't know if that's fair, but... 799 00:49:45,300 --> 00:49:55,180 know exactly how they're doing it in the case of the retina scanner. Cool. Excellent. All 800 00:49:55,180 --> 00:49:56,680 right. Thank you very much, guys.