1 00:00:00,000 --> 00:00:04,260 All right. First talk of the day, Chris Padgett and his extreme range RFID. Let's give him a 2 00:00:04,260 --> 00:00:19,100 big hand here. Thank you. That's a little better. Can 3 00:00:19,100 --> 00:00:27,200 everyone hear me? Can everybody hear me? There we go. Okay. All right. Couple of notes about 4 00:00:27,200 --> 00:00:32,520 privacy and safety just before I get going here. There is only one type of RFID tag that I'm 5 00:00:32,520 --> 00:00:36,340 reading in this demonstration and that's EPC generation 2. That's the tags that were handed 6 00:00:36,340 --> 00:00:42,120 out at the door. If you have other RFID tags on you and you're worried about them being read, 7 00:00:42,320 --> 00:00:50,300 sit on them. Your ass shields them really, really well. The tags that were handed out for the 8 00:00:50,300 --> 00:00:57,100 demo, they've all got unique serial numbers on them. So feel free to assume that I'm tracking 9 00:00:57,100 --> 00:01:02,380 every single one of you. Throw them away when the talk is done. Unlike the tags that the federal 10 00:01:02,380 --> 00:01:09,260 government issues, you can throw mine away. One quick point about RF safety, there isn't much 11 00:01:09,260 --> 00:01:13,080 power coming out of these antennas. There's about three watts coming out of this one and this is 12 00:01:13,080 --> 00:01:21,380 receive only. So as long as you're like two feet away from it, you're perfectly safe. So don't 13 00:01:21,380 --> 00:01:27,080 touch. But, yeah. The power arm is not even on yet. You'll see when I get back to you. 14 00:01:29,020 --> 00:01:40,440 Okay. So what is EPC generation 2? It's electronic product code compared to a universal product 15 00:01:40,440 --> 00:01:47,420 code. That's a barcode. EPC is effectively an RFID barcode. It's a 96-bit ID number typically. 16 00:01:48,220 --> 00:01:56,280 You can get other size tags that go from 64-bit up to 128-bit. It's passively powered. So all of 17 00:01:56,280 --> 00:01:57,080 the energy that's in there, it's going to be passed on to the next generation. It's going to be 18 00:01:57,100 --> 00:01:57,180 passed on to everyone on the market. So this is essentially a 19 00:01:57,180 --> 00:02:01,060 internal module that's running those tags and letting them switch on and transmit their ID. It's 20 00:02:01,060 --> 00:02:07,380 coming out of this antenna and out of this power amplifier. So I am powering those tags. Works in a 900 megahertz. 21 00:02:07,380 --> 00:02:14,400 it's ISM band. So 902 to 928. There is no security. There is 22 00:02:15,180 --> 00:02:19,280 Barbie doll security in that they have these kill codes and 23 00:02:19,280 --> 00:02:22,980 these lock codes and if you send the kill code then the tag will 24 00:02:22,980 --> 00:02:26,680 disable itself. If you send the lock code then the tag will lock 25 00:02:26,680 --> 00:02:29,580 itself so that you can't change the ID number. Only problem is 26 00:02:29,580 --> 00:02:32,340 both of these codes are sent over the air in plain text with 27 00:02:32,340 --> 00:02:35,760 about a watt of RF. So you can just sniff these things off the 28 00:02:35,760 --> 00:02:39,880 air from several miles away. It's pathetic. It really is. So 29 00:02:39,880 --> 00:02:44,400 no security, no access control. This is the tag that's used in 30 00:02:44,400 --> 00:02:47,180 the U.S. passport card. If anyone has one of those, a 31 00:02:47,180 --> 00:02:50,360 little card that gets you around North America. Anyone has an 32 00:02:50,360 --> 00:02:54,880 enhanced driver's license. It's the same RFID tag in there. It's 33 00:02:54,880 --> 00:02:57,560 also the same RFID tag that Walmart used for stock control. 34 00:02:57,980 --> 00:03:00,580 They've been using it for palette level tagging for quite 35 00:03:00,580 --> 00:03:03,760 some time and they're now going to be deploying to every single 36 00:03:03,760 --> 00:03:05,740 item. At least that's the plan. 37 00:03:07,180 --> 00:03:10,120 So how is this different from traditional RFID? Well, 38 00:03:10,200 --> 00:03:13,360 traditional RFID is an inductive system. You have a 39 00:03:13,360 --> 00:03:15,680 coil of wire in the reader. You have a coil of wire in the tag. 40 00:03:15,760 --> 00:03:21,040 The two couple together with a magnetic field and each side of 41 00:03:21,040 --> 00:03:24,340 that gets to modulate that field and transmit data to the other 42 00:03:24,340 --> 00:03:28,940 one. So because it's a magnetic field, we've got an inverse cube 43 00:03:28,940 --> 00:03:32,800 law on field strength, which means that the available power 44 00:03:32,800 --> 00:03:35,560 drops off as the sixth power of range. 45 00:03:35,760 --> 00:03:39,580 So very, very sharp drop off in available power for the tag. 46 00:03:40,600 --> 00:03:42,760 Extremely difficult to power these things at long distance. 47 00:03:44,720 --> 00:03:48,620 EPC Gen 2, on the other hand, it's much more accurate to think 48 00:03:48,620 --> 00:03:50,960 of these tags that you're all holding as radar IFF 49 00:03:50,960 --> 00:03:55,280 transponders. So the radar systems that identify friend or 50 00:03:55,280 --> 00:03:59,620 foe, that's basically what these things are doing. So you've got 51 00:03:59,620 --> 00:04:02,560 a little radio receiver in there that charges up and powers the 52 00:04:02,560 --> 00:04:05,740 tag. And then upon being interrogated by the other 53 00:04:05,760 --> 00:04:10,440 reader, the tag will modulate its coefficient of reflectivity. 54 00:04:10,840 --> 00:04:14,520 So you can think of that if there was an aircraft. As the aircraft 55 00:04:14,520 --> 00:04:18,000 tips towards the radar tower, exposes more of its wing area 56 00:04:18,000 --> 00:04:22,840 and gets a bigger reflection back to the radar tower. As it 57 00:04:22,840 --> 00:04:26,140 tips upright, less surface area exposed, less reflection. That's 58 00:04:26,140 --> 00:04:29,680 exactly what these tags are doing electronically. So it is 59 00:04:29,680 --> 00:04:33,080 radar. It's a proper back scattering system. Inductive 60 00:04:33,080 --> 00:04:35,740 coupling, a lot of the time inductive coupling RFAs are 61 00:04:35,760 --> 00:04:39,520 referred to as back scatter. It's not correct. This is a back 62 00:04:39,520 --> 00:04:44,060 scatter system. It's radar. And thank you to whoever is attacking 63 00:04:44,060 --> 00:04:49,520 my ninja badge right now. So because we're dealing with 64 00:04:49,520 --> 00:04:53,000 radar, we're dealing with radio and we can use radio techniques 65 00:04:53,000 --> 00:04:56,840 and radar techniques to increase our read range. We've got proper 66 00:04:56,840 --> 00:05:00,180 electromagnetic waves. We've got a transmission coming out here. 67 00:05:00,420 --> 00:05:03,480 It's not an inductive thing. It's not a near field. It's 68 00:05:03,480 --> 00:05:04,980 proper radio transmission. 69 00:05:05,760 --> 00:05:08,660 So we can treat it as radar and we can use radar techniques to 70 00:05:08,660 --> 00:05:12,540 increase the read range. What does that mean? Well, 71 00:05:12,600 --> 00:05:14,960 fundamentally it comes down to this, the radar range equation. 72 00:05:15,620 --> 00:05:18,020 There's lots and lots and lots of different forms of the radar 73 00:05:18,020 --> 00:05:22,200 range equation. Lots of different ways of substituting 74 00:05:22,200 --> 00:05:24,140 out different values for different things that you can 75 00:05:24,140 --> 00:05:27,880 and can't control. This is the one that I find most useful. 76 00:05:28,420 --> 00:05:32,640 They came from Thing Magic, a company that makes RFID readers 77 00:05:32,640 --> 00:05:35,360 so they should probably know a thing or two about how it works. 78 00:05:36,520 --> 00:05:39,780 I'm not going to go into this in too much detail but the two 79 00:05:39,780 --> 00:05:43,320 things that I do want to point out is that the maximum range is 80 00:05:43,320 --> 00:05:45,700 derived from two things that we can control and a bunch of 81 00:05:45,700 --> 00:05:48,140 things that we can't. The two things that we can control are 82 00:05:48,140 --> 00:05:52,080 the gain of the antennas. If we put a smaller antenna, sorry, if 83 00:05:52,080 --> 00:05:55,780 we put a bigger antenna with higher gain, let's say we get a 84 00:05:55,780 --> 00:05:58,940 hundred times better gain out of our antenna, we should get ten 85 00:05:58,940 --> 00:06:02,700 times the gain out of our read range. Because we get the square 86 00:06:02,700 --> 00:06:05,740 root of the antenna gain as read range. And the reason we get that 87 00:06:05,760 --> 00:06:07,520 is because we can't control it. Likewise, transmit power. If we 88 00:06:07,520 --> 00:06:10,300 go up to a hundred times the transmit power, we get the square 89 00:06:10,300 --> 00:06:13,340 root of that in read range. So going from one watt to a hundred 90 00:06:13,340 --> 00:06:16,540 watts, you'd expect to get ten times the read range. A bunch of 91 00:06:16,540 --> 00:06:19,620 other stuff we can't control like frequency, obviously lambda 92 00:06:19,620 --> 00:06:24,320 is a factor in there. And, you know, we have some control over 93 00:06:24,320 --> 00:06:27,140 that, a little bit within the band, but not really enough to 94 00:06:27,140 --> 00:06:30,960 make much difference. So, yeah, a bunch of stuff we can control, 95 00:06:31,020 --> 00:06:34,500 a bunch of stuff we can't control. One thing that's really 96 00:06:34,500 --> 00:06:35,740 convenient with all of this is that you can control a bunch of 97 00:06:35,760 --> 00:06:36,420 things. So one of the things that we can do with this is to 98 00:06:36,420 --> 00:06:39,360 work with ratios against the reference. So if we look at a 99 00:06:39,360 --> 00:06:43,620 commercial off-the-shelf Gen 2 reader like this, this puts out 100 00:06:43,620 --> 00:06:48,980 one watt into six dBi of antenna and gets about a 30-foot read 101 00:06:48,980 --> 00:06:52,740 range. So if we treat that as our reference and then scale 102 00:06:52,740 --> 00:06:55,620 everything from there, in theory, if we went from one watt 103 00:06:55,620 --> 00:06:59,280 to a hundred watts, we should go from 30 feet to 300 feet. And we 104 00:06:59,280 --> 00:07:03,760 can work it that way in terms of ratios to our reference value. 105 00:07:05,860 --> 00:07:10,180 Now, ultimately that means that we're working in decibels. How 106 00:07:10,180 --> 00:07:14,440 many folks are familiar with the basic mechanics of decibels? Okay, 107 00:07:14,520 --> 00:07:18,280 most of you. So I'll skip through this then. The quick 108 00:07:18,280 --> 00:07:23,040 version is that it's decibel is a ratio between two numbers. It's 109 00:07:23,040 --> 00:07:27,000 ten times the base ten logarithm of them. Decibels are really 110 00:07:27,000 --> 00:07:29,540 convenient because you get to add them together in order to 111 00:07:29,540 --> 00:07:32,760 multiply values. You can also take a square root by halving 112 00:07:32,760 --> 00:07:35,740 it. So if you're working in this logarithmic scale and you're 113 00:07:35,760 --> 00:07:39,980 just the number crunching gets quite a lot easier. Obviously 114 00:07:39,980 --> 00:07:43,080 DBs on their own are dimensionless so they only 115 00:07:43,080 --> 00:07:46,680 really express gain. So if we define one of the things that 116 00:07:46,680 --> 00:07:49,940 we define, if we define one of the points that we have gain in 117 00:07:49,940 --> 00:07:54,060 reference to, we get some useful units out of it. DBM and DBI 118 00:07:54,060 --> 00:07:58,840 are the two main ones. DBM is how many decibels of power are 119 00:07:58,840 --> 00:08:03,080 you putting out relative to one milliwatt. So 10 DBM is 10 120 00:08:03,080 --> 00:08:07,860 milliwatts. 20 DBM is 100 milliwatts and so on. DBI is 121 00:08:07,860 --> 00:08:12,120 gain over an isotropic antenna. So an isotropic antenna is one 122 00:08:12,120 --> 00:08:15,360 that radiates equally in every direction. Obviously these 123 00:08:15,360 --> 00:08:18,060 Yagis are very high forward gain, they're very directional, 124 00:08:18,280 --> 00:08:22,160 so effectively it focuses all of that RF energy into a narrow 125 00:08:22,160 --> 00:08:25,680 beam and effectively produces a stronger signal if you're 126 00:08:25,680 --> 00:08:29,600 looking into that beam. So we have gain versus an isotropic 127 00:08:29,600 --> 00:08:33,000 antenna and that's where DBI comes from. It's perfectly 128 00:08:33,000 --> 00:08:36,020 valid to add these three things together, even though they look 129 00:08:36,020 --> 00:08:39,800 like different units, they're really not. If I've got 10 DBM 130 00:08:39,800 --> 00:08:42,960 coming out of my transmitter and I put it through a 20 decibel 131 00:08:42,960 --> 00:08:48,620 amplifier and into 15 DB of antenna, I've then got, what's 132 00:08:48,620 --> 00:08:55,440 that, 20, 30, 45, 45 DBM coming out of the antenna or 45 DBM 133 00:08:55,440 --> 00:08:59,100 relative to an isotropic radiator at least. So you can 134 00:08:59,100 --> 00:09:01,560 add these things together and they're not really different 135 00:09:01,560 --> 00:09:01,860 units. 136 00:09:03,700 --> 00:09:07,940 So the band that we're operating in, 902 to 928 megahertz ISM 137 00:09:07,940 --> 00:09:12,560 band. Industrial scientific medical, this is what ISM stands 138 00:09:12,560 --> 00:09:16,040 for. And if you're working under these rules, you've got some 139 00:09:16,040 --> 00:09:20,080 very tight restrictions. You can only use very low power. One 140 00:09:20,080 --> 00:09:23,540 watt is, I believe, the limit. You have to make very little 141 00:09:23,540 --> 00:09:27,380 utilization, so I think your transmitter can only be on for a 142 00:09:27,380 --> 00:09:31,280 maximum 10% duty cycle. You have to hop frequency a couple hundred 143 00:09:31,280 --> 00:09:32,980 times a second. You have to hop frequency a couple hundred times 144 00:09:33,000 --> 00:09:34,440 a second. Certainly the reader that I've got here hops 145 00:09:34,440 --> 00:09:39,100 frequency very, very fast. So it's really tough to comply with 146 00:09:39,100 --> 00:09:42,840 ISM rules. But as it turns out, 902 to 928 megahertz is a ham 147 00:09:42,840 --> 00:09:46,360 radio band. Ham radio operators don't tend to like it because 148 00:09:46,360 --> 00:09:49,280 it's full of all of this ISM crap. There's too much noise. 149 00:09:49,700 --> 00:09:53,080 So a lot of ham radio operators look at it and say, oh, it's not 150 00:09:53,080 --> 00:09:56,340 even a ham band because nobody does anything in it. Well, it is 151 00:09:56,340 --> 00:10:00,380 a ham band. And in fact, ham radio operators are the primary 152 00:10:00,380 --> 00:10:02,980 users of the band. If you're a radio operator and you're not a 153 00:10:03,000 --> 00:10:06,780 ham operator and an ISM operator conflict, it's the ISM operator 154 00:10:06,780 --> 00:10:12,180 that has to solve the problem. So by operating under ham radio 155 00:10:12,180 --> 00:10:18,640 rules, we get to avoid a lot of the ISM restrictions and get to 156 00:10:18,640 --> 00:10:22,960 have a little more fun on the way. So let's look at what. So 157 00:10:23,580 --> 00:10:26,400 amateur radio licenses, they're pretty easy to get. The URL 158 00:10:26,400 --> 00:10:30,360 here is for a training program. You just go up and they'll keep 159 00:10:30,360 --> 00:10:32,620 asking you the same questions over and over and over and over 160 00:10:33,000 --> 00:10:35,540 again until you get them right. And it's the actual questions from 161 00:10:35,540 --> 00:10:40,320 the test. So it's no brainer to pass it. If you actually take the 162 00:10:40,320 --> 00:10:43,080 time to figure out things that you don't understand, look them up 163 00:10:43,080 --> 00:10:46,100 on Wikipedia, you'll learn a lot out of it. I highly recommend 164 00:10:46,100 --> 00:10:52,180 doing it. So once we've done that, we instantly qualify for a 165 00:10:52,180 --> 00:11:01,020 1,500 watt power limit. That's a lot of power. I have an amplifier 166 00:11:01,020 --> 00:11:02,880 here that does 600 watts. 167 00:11:03,000 --> 00:11:05,620 And this thing scares me so much I haven't even turned it on 168 00:11:05,620 --> 00:11:13,440 yet. 1,500 is huge power. The only other restriction specifically 169 00:11:13,440 --> 00:11:17,780 for this band is you're only allowed 50 watts if you're within 170 00:11:17,780 --> 00:11:23,080 241 kilometers of White Sands missile testing range. I don't 171 00:11:23,080 --> 00:11:26,860 quite know what they're doing at White Sands, but I'm not sure I 172 00:11:26,860 --> 00:11:31,040 want to point my Yagis at them and find out. So in general 173 00:11:31,040 --> 00:11:32,980 terms, if you're operating under an amateur radio, you're 174 00:11:33,000 --> 00:11:38,160 allowed to transmit an unspecified digital code as long 175 00:11:38,160 --> 00:11:41,220 as the specifications of that code are published. So in this 176 00:11:41,220 --> 00:11:43,380 case, we've got a digital communication system. There's 177 00:11:43,380 --> 00:11:46,320 bits going between the reader and the tag and back and forth. 178 00:11:46,580 --> 00:11:50,280 So as long as, you know, the URL is there for the standard, you 179 00:11:50,280 --> 00:11:55,080 can go look it up. It's all published. It means it's fine to 180 00:11:55,080 --> 00:11:59,060 transmit at amateur radio power levels. You're not allowed any 181 00:11:59,060 --> 00:12:02,680 cryptography. Well, that's not a problem because the tags are so 182 00:12:03,000 --> 00:12:07,560 dumb. No limits on antenna, basically as big and bad as you 183 00:12:07,560 --> 00:12:09,740 can get and, you know, whatever you're prepared to cart around. 184 00:12:10,640 --> 00:12:14,760 The only other real restriction is RF exposure limits. I'm not 185 00:12:14,760 --> 00:12:17,440 allowed to fry you guys for some reason I don't quite 186 00:12:17,440 --> 00:12:21,940 understand. And then the station has to identify itself every 10 187 00:12:21,940 --> 00:12:25,060 minutes. So you have to Morse code out a call sign every 10 188 00:12:25,060 --> 00:12:31,700 minutes. So let's take a look at a quick look at a commercial Gen 2 189 00:12:33,000 --> 00:12:37,800 benchmark here. So this is a Symbol XR400. This was 250 bucks 190 00:12:37,800 --> 00:12:41,780 on eBay. I've talked about this thing before and how it was so 191 00:12:41,780 --> 00:12:45,600 cheap because it was broken. It'll do 30 foot read range right 192 00:12:45,600 --> 00:12:48,520 out of the box. So you connect it to its standard antenna, all 193 00:12:48,520 --> 00:12:53,040 ISM compliant. You'll read these tags from 30 feet away. It's 194 00:12:53,040 --> 00:12:56,320 very, very fast frequency hopping. It's so fast that I've 195 00:12:56,320 --> 00:13:00,280 yet to find a spectrum analyzer that can keep up with it. You're 196 00:13:00,280 --> 00:13:02,980 looking at kind of $100,000 real-time Tektronica 197 00:13:03,000 --> 00:13:06,120 X gear just to even see the transmission coming out of this. 198 00:13:06,260 --> 00:13:09,980 So it's pretty much impossible to just follow the hopping 199 00:13:09,980 --> 00:13:12,860 sequence and identify on whatever channel it transmits 200 00:13:12,860 --> 00:13:16,420 after the fact because it jumps around so fast you just can't 201 00:13:16,420 --> 00:13:21,680 follow it. As I mentioned, 1 watt of output power, 6 dBi of 202 00:13:21,680 --> 00:13:26,160 antenna gain. That's ISM limits. And one of the other things that 203 00:13:26,160 --> 00:13:29,660 it does because it operates in ISM is it actually checks if 204 00:13:29,660 --> 00:13:31,180 you're using an authorized antenna. 205 00:13:33,380 --> 00:13:38,220 Supposedly, this prevents you from abusing the ISM band. Epic 206 00:13:38,220 --> 00:13:44,760 fail. So let's just take a quick look at how we can improve on this 207 00:13:44,760 --> 00:13:48,920 one. So the first thing that we can do is replace the antenna. 208 00:13:49,240 --> 00:13:55,380 The standard antenna is 6 dBi. These Yagis, they give us 13 dBi, 209 00:13:55,440 --> 00:14:00,100 so that's a 7 dB improvement. 50 bucks a piece. So for 100 bucks 210 00:14:00,100 --> 00:14:02,980 of antenna, we should get a 3 and a half decibel, 8 and a half 211 00:14:03,000 --> 00:14:05,520 decibels increase in read range, obviously the square root 212 00:14:05,520 --> 00:14:09,420 of our 7 dB antenna gain. 3 and a half dB works out to a factor 213 00:14:09,420 --> 00:14:15,000 of 2.25, which in this case gives you 67.5 feet. And as I 214 00:14:15,000 --> 00:14:18,460 mentioned, we have to defeat the antenna protection first, so 215 00:14:18,460 --> 00:14:22,620 let's take a quick look at that. What the antenna protection 216 00:14:22,620 --> 00:14:26,260 actually looks like, it's just a 10K resistor from the active 217 00:14:26,260 --> 00:14:30,520 element to ground. That's it. That's the sum total of the 218 00:14:30,520 --> 00:14:31,880 protections on this thing. 219 00:14:33,000 --> 00:14:35,080 When the reader starts up, it looks at each of the read ports, 220 00:14:35,200 --> 00:14:37,560 each of the antennas connected, and it looks for the DC 221 00:14:37,560 --> 00:14:41,720 impedance. If it doesn't see 10K of DC impedance, it just turns 222 00:14:41,720 --> 00:14:46,620 off the port. So that's, well, it gives us a two-part problem. 223 00:14:46,980 --> 00:14:50,200 Firstly, we have to give it that 10K, which is easy enough to do, 224 00:14:50,260 --> 00:14:54,100 just solder the resistor inside the reader. Second thing we need 225 00:14:54,100 --> 00:14:57,800 to do is slightly tweak our antennas, because if you look at 226 00:14:57,800 --> 00:15:02,960 the active element of these Yagis right near the poles here, you can 227 00:15:03,000 --> 00:15:07,980 see there's a loop. At DC, that's zero ohms, effectively zero 228 00:15:07,980 --> 00:15:12,320 ohms. So we need to tweak it a little bit, and you can see on 229 00:15:12,320 --> 00:15:16,400 this antenna, there's a little filter hanging in line. What 230 00:15:16,400 --> 00:15:22,040 that does is, because the filter is, it has a passband over the 231 00:15:22,040 --> 00:15:25,820 entire ISM spectrum, so, you know, as far as it's concerned, 232 00:15:25,940 --> 00:15:28,640 all of the RFID stuff just goes straight through it. But it 233 00:15:28,640 --> 00:15:32,180 presents effectively a capacitance to the reader, which 234 00:15:32,180 --> 00:15:32,980 is at DC. So, you can see there's a loop. At DC, that's 235 00:15:33,000 --> 00:15:36,760 an open circuit. So you combine open circuit with the 10K 236 00:15:36,760 --> 00:15:39,720 resistor that we've got inside, and we've bypassed the 237 00:15:39,720 --> 00:15:44,080 antenna locks. We've given it its 10K DC impedance. So if you 238 00:15:44,080 --> 00:15:46,680 do this and you put it all together, you actually get a 239 00:15:46,680 --> 00:15:50,320 read range of 70 feet. So it conforms quite nicely with 240 00:15:50,320 --> 00:15:55,800 theory. This is, I believe that in 2005, I think it was, when 241 00:15:55,800 --> 00:15:59,620 Flexilis set the RFID record at DEF CON, I believe they were 242 00:15:59,620 --> 00:16:02,940 using almost an identical reader, almost identical antennas, 243 00:16:03,000 --> 00:16:05,920 my guess is that they fried their power amp, and that they 244 00:16:05,920 --> 00:16:08,540 set their 69 feet by just connecting these antennas to 245 00:16:08,540 --> 00:16:12,080 this reader. I'd love to talk to someone from Flexilis and 246 00:16:12,080 --> 00:16:17,080 confirm that, but that's my suspicion. Okay. So, we can put 247 00:16:17,080 --> 00:16:20,220 antennas on. What about amplifying the signal? We want 248 00:16:20,800 --> 00:16:25,160 more power. That's where the fun starts. So, we could stick a 249 00:16:25,160 --> 00:16:28,980 power amp on this and, you know, just bump the signal up, but we 250 00:16:28,980 --> 00:16:32,020 need to ID, and if we're going to be operating under ham radio 251 00:16:32,020 --> 00:16:32,980 rules, we should be able to do that. So, we're going to need to 252 00:16:32,980 --> 00:16:35,740 should be a little better behaved. It's very difficult to 253 00:16:35,740 --> 00:16:38,120 quantify if you can't see it on a spectrum analyzer, if you 254 00:16:38,120 --> 00:16:40,160 don't actually have any test equipment that can see the 255 00:16:40,160 --> 00:16:44,380 signal, how do you really mess with it? So, yeah, you could 256 00:16:44,380 --> 00:16:47,400 just bump up the signal from a commercial reader, but you're 257 00:16:47,400 --> 00:16:50,920 going to be breaking FCC rules and it's kind of ugly. So, 258 00:16:52,140 --> 00:16:59,160 instead, we go to the USRP, and that's this black box here. This 259 00:16:59,160 --> 00:17:02,960 one. So, this is, it's a software rated OSP, and it has 260 00:17:02,980 --> 00:17:06,640 radio device. Effectively the computer does all the hard work of 261 00:17:06,640 --> 00:17:10,840 modulation and figuring out what that signal needs to look like when it goes 262 00:17:10,840 --> 00:17:14,460 out over the radio, dumps it all over USB, the 263 00:17:14,980 --> 00:17:18,900 USRP up converts it to whatever baseband frequency you 264 00:17:18,900 --> 00:17:22,880 specify and just sends it out on the wire. And then likewise in reverse it comes in 265 00:17:22,880 --> 00:17:26,640 it's digitized, it's down converted and just dumped over USB, again 266 00:17:26,640 --> 00:17:30,200 for the computer to decode it. So very powerful, very flexible 267 00:17:30,200 --> 00:17:33,500 and you can use the one device for a lot of different things. 268 00:17:34,220 --> 00:17:38,160 So this top link is for an EPC Gen 2 reader for the 269 00:17:38,160 --> 00:17:42,160 USRP. One big advantage that it gives us 270 00:17:42,160 --> 00:17:44,240 straight off the bat is it's fixed frequency. 271 00:17:46,640 --> 00:17:49,540 So we don't have to worry about frequency hopping. 272 00:17:49,740 --> 00:17:53,900 We don't have to worry about chasing it after the fact and identifying. We know what 273 00:17:53,900 --> 00:17:57,980 frequency it's on, we can control what frequency it's on. The package also 274 00:17:57,980 --> 00:17:59,220 includes a Gen 2 sniffer. 275 00:18:00,200 --> 00:18:03,980 So I was mentioning that these kill and lock codes you can retrieve remotely. 276 00:18:04,280 --> 00:18:08,000 If you have a USRP too and you download this package, you can 277 00:18:08,000 --> 00:18:10,940 just sniff kill and lock codes and anything else that you want. 278 00:18:11,880 --> 00:18:16,020 I would recommend if anyone has a USRP, check out the clock tamer. 279 00:18:16,280 --> 00:18:19,200 I do a lot of work with GSM as you might have heard. 280 00:18:19,560 --> 00:18:24,180 I actually switch back and forth between 64 MHz and 52 MHz clocks 281 00:18:24,180 --> 00:18:27,880 on the USRP. Clock tamer is by far the best 282 00:18:27,880 --> 00:18:29,520 USRP clock I've ever come across. 283 00:18:30,200 --> 00:18:34,240 If you do have a USRP and you do some GSM work, 284 00:18:34,440 --> 00:18:35,760 please check it out. 285 00:18:38,520 --> 00:18:42,420 So we've got frequency control now. We know what channel we're on. 286 00:18:42,620 --> 00:18:45,940 We've got stability over what frequency we're transmitting at. 287 00:18:46,280 --> 00:18:49,900 So we need a way to identify the station. Well, identifying 288 00:18:49,900 --> 00:18:54,140 in ham radio terms is really quite simple. It's just a question of 289 00:18:54,140 --> 00:18:58,040 morse coding out a call sign every 10 minutes. Straight carrier wave, 290 00:18:58,040 --> 00:19:02,020 no modulation. You can modulate it if you want, but if you want to just treat it 291 00:19:02,020 --> 00:19:06,080 as carrier wave, you're perfectly fine doing so. I could have 292 00:19:06,080 --> 00:19:10,000 screwed with the USRP implementation and tried to hook morse code into 293 00:19:10,000 --> 00:19:14,080 there, but to be honest, it was too much effort and there's an easier way to do it. 294 00:19:15,220 --> 00:19:17,700 The easier way being having a second transmitter. 295 00:19:17,980 --> 00:19:21,040 If you've got a second transmitter that's tuned to exactly the same frequency, 296 00:19:21,620 --> 00:19:25,640 then when that second transmitter morses out a call sign, it'll just 297 00:19:25,640 --> 00:19:27,880 DOS the RFID signal. 298 00:19:28,900 --> 00:19:31,840 So we need a second transmitter, preferably 299 00:19:31,840 --> 00:19:33,240 something that we can script easily. 300 00:19:35,520 --> 00:19:39,420 So we come to the IME. How many folks 301 00:19:40,220 --> 00:19:43,220 have one of these things, or have hacked one of them? 302 00:19:44,100 --> 00:19:45,900 Oh, come on people, you're missing out. 303 00:19:46,940 --> 00:19:51,820 The whole point about these things, Travis Goodspeed put me onto 304 00:19:51,820 --> 00:19:55,680 these. They're really quite nifty little devices. Obviously you've got a 305 00:19:55,680 --> 00:19:59,440 keypad and LCD on there. You've got a very, very flexible radio. 306 00:20:00,140 --> 00:20:03,220 Reasonable power output, works over a very wide frequency range. 307 00:20:03,760 --> 00:20:07,720 C source code available, there's no firmware security. They don't come as 308 00:20:07,720 --> 00:20:11,100 standard with SMA and JTAG ports, that was an aftermarket modification. 309 00:20:12,220 --> 00:20:15,440 But yeah, if you've got a good fit, you get one of these things for 20 bucks, you've got 310 00:20:15,440 --> 00:20:19,720 one of the most flexible radios you'll ever need. So what we need to do is 311 00:20:19,720 --> 00:20:23,640 match the frequency and the power level to the USRP. Well, that's easy enough to do 312 00:20:23,640 --> 00:20:24,620 with a spectrum analyzer. 313 00:20:25,680 --> 00:20:29,320 As it turns out, we need to amplify the signal from the IME just a little bit, and 314 00:20:29,320 --> 00:20:33,580 attenuate the signal from the USRP quite a bit, mix them together, send 315 00:20:33,580 --> 00:20:35,360 them off to the power amp, and we're golden. 316 00:20:37,160 --> 00:20:41,220 So quick demo of what that looks like. What I'm going to do here 317 00:20:41,860 --> 00:20:42,220 is... 318 00:20:45,700 --> 00:20:49,000 Okay, so I've just started the RFID reader, turning on the power amp. 319 00:20:54,700 --> 00:20:58,940 What I have here is a little ham radio receiver that's tuned to the frequency that I'm 320 00:20:58,940 --> 00:21:02,280 transmitting on. And if I turn the volume up here for a second... 321 00:21:03,880 --> 00:21:05,080 So that clicking... 322 00:21:06,200 --> 00:21:11,000 Each click is a bunch of commands from the reader telling the tags to wake up 323 00:21:11,000 --> 00:21:14,640 and activate and do their thing. So on top of that, 324 00:21:14,760 --> 00:21:18,920 if I push a button on the IME, you'll hear the IME more sound 325 00:21:19,000 --> 00:21:21,220 and you should see the screen flash as well. 326 00:21:29,140 --> 00:21:30,340 Anyone manage to copy that? 327 00:21:32,420 --> 00:21:34,120 Oh, come on, someone must know Morse code. 328 00:21:35,140 --> 00:21:36,200 Ah, you're all useless. 329 00:21:39,320 --> 00:21:43,080 Anyway, suffice to say, it works. We can identify the station. 330 00:21:43,320 --> 00:21:47,120 As long as we've got that thing turned on, it just cranks out a call sign every eight minutes 331 00:21:47,120 --> 00:21:48,600 and we're legal. 332 00:21:49,000 --> 00:21:49,620 So it's all good. 333 00:21:50,300 --> 00:21:51,620 Let's turn this power amp off again. 334 00:21:54,360 --> 00:21:56,500 Okay, so we've taken care of the identification 335 00:21:56,500 --> 00:21:59,620 and we can now look at just scaling up the power level. 336 00:22:00,120 --> 00:22:04,160 So we're ham compliant. We've got an upper ceiling now of one and a half kilowatts. 337 00:22:05,060 --> 00:22:08,440 And, you know, it's just a question of what we can find now. 338 00:22:08,580 --> 00:22:12,080 So this is the power amplifier that I'm currently using. 339 00:22:12,660 --> 00:22:15,940 This big box here is actually the power supply for it. 340 00:22:15,940 --> 00:22:20,040 This thing will deliver, it's rated at 70 watts, 341 00:22:20,180 --> 00:22:24,440 but if you really crank it up, it'll probably deliver 100 before it blows up. 342 00:22:24,720 --> 00:22:28,260 It cost me about 400 bucks. Not a tremendously expensive piece of equipment 343 00:22:28,260 --> 00:22:30,500 considering the amount of power that you get out of it. 344 00:22:31,780 --> 00:22:34,840 One thing about RF amplifiers, they don't tend to have volume knobs. 345 00:22:35,240 --> 00:22:39,800 So you control how much power you get out of it by restricting how much power you put into it. 346 00:22:40,040 --> 00:22:43,200 So in order to, you know, increase my power level, 347 00:22:43,200 --> 00:22:46,980 I've got all kinds of attenuators here, and I just adjust the attenuation 348 00:22:46,980 --> 00:22:51,860 before I go into the power amp in order to, you know, control how much comes out of it. 349 00:22:52,940 --> 00:22:56,020 And as I said, we have to amplify the signal from the IME, 350 00:22:57,600 --> 00:22:59,100 attenuate the signal from the USRP, 351 00:22:59,220 --> 00:23:03,340 bring it all down to the level that the power amp needs, and off we go. 352 00:23:05,520 --> 00:23:07,120 So an interesting artifact 353 00:23:07,120 --> 00:23:09,140 about range reads. 354 00:23:11,140 --> 00:23:12,960 When the tags turn on, 355 00:23:13,100 --> 00:23:17,000 they require an initial burst of power in order to 356 00:23:17,000 --> 00:23:21,040 first switch on for the first time, and then once they're operating 357 00:23:21,040 --> 00:23:24,900 they require lower power. So you can actually exploit this to figure out 358 00:23:24,900 --> 00:23:28,080 what the current limit is of your RFID read range in this case. 359 00:23:28,600 --> 00:23:33,040 If you get your tag, and you have to walk closer to the reader so it gets more power 360 00:23:33,040 --> 00:23:36,680 and more power and more power, and then it turns on. But then once it's turned on, 361 00:23:36,680 --> 00:23:40,200 you can walk back and walk back and walk back and walk back and walk back and it turns off. 362 00:23:40,800 --> 00:23:44,440 Then at that point you know that you're limited by power. You're limited by, you know, 363 00:23:44,480 --> 00:23:48,340 the power that's available to the tag to switch on. So you can amplify 364 00:23:48,340 --> 00:23:52,480 your power output. If on the other hand, you get 365 00:23:52,480 --> 00:23:56,340 closer and it just picks up the signal, and you get further away and it just loses it, 366 00:23:57,300 --> 00:24:00,640 then that's receiver sensitivity. So just by 367 00:24:00,640 --> 00:24:04,040 looking at whether there's any hysteresis on the read range, 368 00:24:04,040 --> 00:24:08,040 we can determine whether we're limited by the power coming 369 00:24:08,040 --> 00:24:11,960 out of the reader to the tag, or whether the power coming back from the tag 370 00:24:11,960 --> 00:24:15,940 to the receiver. Quite a neat little thing. And it allows 371 00:24:15,940 --> 00:24:19,960 us to notch up our output power incrementally, notch up the receive gain 372 00:24:19,960 --> 00:24:23,040 incrementally, and just kind of keep track of the whole system. 373 00:24:23,740 --> 00:24:25,880 Quite a neat little artifact, quite handy. 374 00:24:27,660 --> 00:24:32,180 A few limits on read range. We've got 1500 watts of RF 375 00:24:32,180 --> 00:24:36,180 power. Practical antenna limits. Obviously you're not going to be 376 00:24:36,180 --> 00:24:40,140 carrying around an antenna the size of a building, unless you're really keen. 377 00:24:41,220 --> 00:24:43,700 So primary sources of 378 00:24:43,700 --> 00:24:47,960 limits on read range. Other ISM stations, obviously anyone else who's 379 00:24:47,960 --> 00:24:52,120 transmitting on the same frequency is going to get in the way. Ultimately the sensitivity 380 00:24:52,120 --> 00:24:56,080 of the receiver will play a limiting factor. There's only 381 00:24:56,080 --> 00:25:00,220 so small a signal that you can amplify up into something that the USRP 382 00:25:00,220 --> 00:25:01,780 can actually make sense out of. 383 00:25:02,800 --> 00:25:05,820 Transmitter crosstalk. This is a big one. And this is 384 00:25:05,820 --> 00:25:10,000 somewhat unique for this system as well. We've actually got a transmitter and a receiver 385 00:25:10,000 --> 00:25:13,580 on exactly the same frequency. In radio, that's actually pretty 386 00:25:39,020 --> 00:25:39,300 good. 387 00:26:01,660 --> 00:26:01,780 Transmitter crosstalk. 388 00:26:01,780 --> 00:26:02,100 Transmitter crosstalk. 389 00:26:04,120 --> 00:26:06,180 Again, it swaps the signal from the tag 390 00:26:06,180 --> 00:26:10,080 and you lose the signal. Other things, ground interference, 391 00:26:11,680 --> 00:26:13,960 the antennas aren't completely parallel 392 00:26:13,960 --> 00:26:16,500 beamed, some of it will be going down bouncing off the ground and 393 00:26:16,500 --> 00:26:20,040 up at the tag. That scrambles things at the tag. And then when the signal comes 394 00:26:20,040 --> 00:26:23,680 off the tag, again it's going to be bouncing some of it off the ground and back to the reader. 395 00:26:23,900 --> 00:26:28,300 So you've got all kinds of multipath effects, all kinds of distortion, eventually that's going to be a limit. 396 00:26:29,100 --> 00:26:31,760 Atmospheric effects as well. The radar range equation, 397 00:26:31,760 --> 00:26:37,760 doesn't really work in real life it's a good approximation but you know the 398 00:26:37,760 --> 00:26:41,880 atmosphere attenuates things and that'll get in the way as well and eventually 399 00:26:41,880 --> 00:26:45,160 when we get up to really insane ranges the curvature of the earth is going to 400 00:26:45,160 --> 00:26:49,320 be a limit because we're working with UHF here and UHF does not bounce off the 401 00:26:49,320 --> 00:26:53,300 ionosphere you can't reflect it around the earth so there's there's a lot of 402 00:26:53,300 --> 00:26:58,780 eventual limits that will reach but in the meantime let's let's figure out you 403 00:26:58,780 --> 00:27:02,860 know what we should be able to do with this system well we go from 1 watt of 404 00:27:02,860 --> 00:27:06,980 RF power in the commercial reader to 70 watts coming out of the power amplifier 405 00:27:06,980 --> 00:27:12,700 that's an 18 decibel increase in power which from the radar range equation you 406 00:27:12,700 --> 00:27:15,820 get the square root of that as a range gain we should see a nine decibel 407 00:27:15,820 --> 00:27:20,880 increase in range from the antennas we've gone from six decibels to 13 408 00:27:20,880 --> 00:27:26,060 decibels of isotropic so 7 DB increase gives us three and a half db range 409 00:27:26,060 --> 00:27:28,640 increase so overall we should see a twelve and 410 00:27:28,640 --> 00:27:28,760 a half decibels increase. Let's over to Unternehmen superstar. 411 00:27:28,780 --> 00:27:34,280 half decibel increase in range, so comparing that to our 30 feet reference from the commercial 412 00:27:34,280 --> 00:27:44,620 reader, we should see a range of about 565 feet. What did we get? 217. Not what I was 413 00:27:44,620 --> 00:27:49,980 hoping for, but if you can see in the picture, my wife in the distant background holding the 414 00:27:49,980 --> 00:27:58,680 tag, 217 feet is a long way to be reading an RFID tag from. So what happened? Why so little? 415 00:27:58,780 --> 00:28:06,700 Why didn't we get the full 565 feet? Well, as it turns out, that was with about 3 watts of RF 416 00:28:06,700 --> 00:28:11,540 power as measured on my meter. The meter wasn't entirely accurate, so it's realistically more 417 00:28:11,540 --> 00:28:19,780 like about 10 watts. Increasing the power beyond that actually decreased the read range, which is 418 00:28:19,780 --> 00:28:27,500 kind of counterintuitive until you look at the picture. This was, I was using an empty lot by 419 00:28:27,500 --> 00:28:28,620 the Googleplex in Mountain. 420 00:28:33,460 --> 00:28:45,580 I was using a 10 foot high steel chain link fence that runs all the way around it. As I was 421 00:28:45,580 --> 00:28:51,420 increasing my power to, you know, power the tags at higher distances, I was getting more and more 422 00:28:51,420 --> 00:28:58,760 reflection from that chain link fence. Clutter. So as I increased my output power, the signal was 423 00:28:58,760 --> 00:29:04,040 coming back off that chain link fence increase and just swamped the tag. So clutter was the limit. 424 00:29:05,480 --> 00:29:12,620 However, if you work out the numbers on it and you do the number crunching, 10 watts of RF gives us 425 00:29:12,620 --> 00:29:21,000 10 times the power, so 10 dB power gain. 7 dB from the antennas. If you work it out, we're 426 00:29:21,000 --> 00:29:28,420 actually still consistent with the radar range equation. So we can swap out antennas and see a square root of the antenna gain. 427 00:29:28,760 --> 00:29:34,020 From the radar range equation. If we increase power, a gain we validated the radar range equation. 428 00:29:34,400 --> 00:29:41,660 So yeah okay. We got 217 feet, but more importantly we validated that these tags, the read range is 429 00:29:41,660 --> 00:29:50,000 dictated by the radar range equation. So if you actually, you know do the math it should still be able to do that. 430 00:29:50,140 --> 00:29:56,160 I'm trying to get access to you know all kinds of different places that would be nice wide open areas to test in. 431 00:29:56,160 --> 00:30:02,060 If anyone has any friends at NASA Ames that wants to give me access to a runway for a day, I'll be your friend forever. 432 00:30:04,400 --> 00:30:12,820 We did actually get roof access. Not quite roof access, we got access to DT Suite and we fired off the roof, off the balcony. 433 00:30:13,260 --> 00:30:18,780 As it turns out, 120 degree air isn't really good for power amps that get really, really hot anyway. 434 00:30:19,700 --> 00:30:28,680 Magic smoke did escape. I was up quite late last night fixing all of this, so fingers crossed that something worked. 435 00:30:30,900 --> 00:30:39,140 Okay, so demo of actually reading tags then. So just to give you an idea of what kind of range I'm looking at. 436 00:30:39,360 --> 00:30:46,100 So unfortunately, one of the problems with the Gen 2 RFID reader on the USRP, 437 00:30:46,380 --> 00:30:48,760 it needs an extremely low refresh rate. 438 00:30:48,780 --> 00:30:49,500 It needs low latency USB. 439 00:30:50,620 --> 00:30:53,540 The Gen 2 is very, very sensitive to latency. 440 00:30:54,020 --> 00:30:57,580 So if you've got a full operating system, it's too much. It's going to get in the way. 441 00:30:57,760 --> 00:31:01,580 So I've literally, I've got a very, very bare bones Debian installation here, 442 00:31:01,700 --> 00:31:05,820 running the absolute minimum possible so there's nothing that gets in the way. 443 00:31:06,360 --> 00:31:10,280 Unfortunately, that means that it's pretty much incapable of talking to the projectors here. 444 00:31:10,660 --> 00:31:18,700 So hopefully what we're going to try is, I believe there was a plan to focus video on the screen and try and project that. 445 00:31:18,780 --> 00:31:21,460 So we'll see if that works. Let me just set this up here. 446 00:31:34,480 --> 00:31:35,920 And if you can actually see that. 447 00:31:41,600 --> 00:31:41,960 Okay. 448 00:31:41,960 --> 00:31:42,840 Too far. 449 00:31:45,800 --> 00:31:46,280 Okay. 450 00:31:47,820 --> 00:31:53,040 So what you're looking at, there's three things that you're going to be seeing on the screen here. 451 00:31:53,280 --> 00:31:58,320 White text is where the system has interacted with a tag in some fashion. 452 00:31:59,180 --> 00:32:04,340 Maybe hasn't, you know, quite gotten the response it expected, but it sent a command and it got a response. 453 00:32:04,560 --> 00:32:05,260 Something went on. 454 00:32:05,840 --> 00:32:10,880 If you see a red text, red text means that it's read a tag. 455 00:32:10,880 --> 00:32:12,860 But something went wrong. 456 00:32:13,020 --> 00:32:13,560 There was an error. 457 00:32:13,800 --> 00:32:17,240 Maybe the EPC that came back failed its checksum. 458 00:32:17,500 --> 00:32:18,360 Something like that. 459 00:32:19,180 --> 00:32:21,160 Blue text is a successful read. 460 00:32:21,520 --> 00:32:24,080 So don't worry too much about what's actually on the screen. 461 00:32:24,240 --> 00:32:25,320 Just look at the color of the text. 462 00:32:25,620 --> 00:32:26,740 White means it's interacting. 463 00:32:27,120 --> 00:32:30,280 Red means it's a bad read or fault of some kind. 464 00:32:30,520 --> 00:32:32,140 Blue means it's a successful read. 465 00:32:32,560 --> 00:32:34,340 So let me turn the power amp on here. 466 00:32:37,680 --> 00:32:38,160 Okay. 467 00:32:38,160 --> 00:32:42,280 And straight away, without anyone holding up any real tags, you can see we've got collisions. 468 00:32:42,800 --> 00:32:47,500 So that's largely due to the sheer density of tags in this environment. 469 00:32:47,640 --> 00:32:49,400 It's really not designed for this many tags. 470 00:32:49,560 --> 00:32:51,580 So we'll see how this codes. 471 00:32:53,180 --> 00:32:59,640 If you look at the tags that you were given, you should see there's a metal strip inside it. 472 00:33:00,900 --> 00:33:04,580 The orientation of the metal strip has to match the antennas. 473 00:33:04,640 --> 00:33:05,800 It has to be the same polarity. 474 00:33:05,940 --> 00:33:07,920 So make sure to hold the tags up sideways. 475 00:33:08,160 --> 00:33:11,580 So that metal strip is vertical just like the bars on the antenna. 476 00:33:12,100 --> 00:33:16,140 So you can see there's quite a huge amount of traffic scrolling by here. 477 00:33:17,700 --> 00:33:20,900 If I could ask maybe the first five rows to put down their tags. 478 00:33:21,920 --> 00:33:23,560 That was a lot more than five. 479 00:33:24,900 --> 00:33:25,340 Okay. 480 00:33:25,560 --> 00:33:29,200 So you can see we're getting back to just in front of the camera area. 481 00:33:29,360 --> 00:33:31,160 Maybe another five rows back. 482 00:33:35,240 --> 00:33:35,680 Okay. 483 00:33:35,760 --> 00:33:38,080 The ID me is identifying at the moment. 484 00:33:39,320 --> 00:33:40,940 Let me just restart it. 485 00:33:42,920 --> 00:33:44,740 Did I mention that it's kind of flaky too? 486 00:33:47,080 --> 00:33:47,960 So okay. 487 00:33:48,060 --> 00:33:52,460 So we're now interacting with tags, you know, well behind the camera man here. 488 00:33:53,380 --> 00:33:56,000 I can't actually see whether there's any successful reads. 489 00:33:56,080 --> 00:33:58,240 Are we getting any blue reads here or not? 490 00:33:58,580 --> 00:33:59,020 Okay. 491 00:33:59,280 --> 00:34:03,200 So it's certainly, you know, clearly interacting with tags. 492 00:34:03,460 --> 00:34:06,640 I was kind of hopeful that we'd get some successful reads. 493 00:34:06,760 --> 00:34:08,140 But like I say, all of the tags are there. 494 00:34:08,160 --> 00:34:11,820 You've got DEFCON badges and your sunglasses and, you know, even your faces are causing clutter. 495 00:34:13,660 --> 00:34:15,800 So not too surprised it doesn't work. 496 00:34:15,880 --> 00:34:19,460 What I am going to be doing, though, is once I get back to California, 497 00:34:19,660 --> 00:34:22,320 I'm actually going to be calling the folks from Guinness World Records. 498 00:34:23,160 --> 00:34:26,260 And, you know, once I get access to a test range, I'm going to get them down. 499 00:34:26,420 --> 00:34:31,480 Because the 217 feet that I read at, I believe that is a world record. 500 00:34:31,680 --> 00:34:36,720 So I'm going to get Guinness in, get it certified, and then announce it officially. 501 00:34:44,680 --> 00:34:45,080 Okay. 502 00:34:45,260 --> 00:34:46,720 So let me turn the power amp off. 503 00:34:49,300 --> 00:34:52,560 I am also, after the talk, I'm going to be up in the Hardware Hacking Village. 504 00:34:53,140 --> 00:34:56,200 So if you want to see the equipment up close and, you know, have a play with it 505 00:34:56,200 --> 00:35:00,300 and, you know, just validate that it does read tags in slightly less hostile environments, 506 00:35:01,000 --> 00:35:02,200 please feel free to do so. 507 00:35:04,160 --> 00:35:04,560 Okay. 508 00:35:06,040 --> 00:35:07,440 So what's the upper limit here? 509 00:35:08,160 --> 00:35:10,580 We've clearly validated the radar range equation. 510 00:35:10,960 --> 00:35:17,160 We've got, you know, solid evidence that the radar range equation is valid in this environment. 511 00:35:17,580 --> 00:35:19,320 So how far can we take it? 512 00:35:19,480 --> 00:35:24,760 Well, under ham radio rules, we can have one and a half kilowatts of transmit power. 513 00:35:25,260 --> 00:35:28,080 So what's the biggest antenna that we can get? 514 00:35:28,260 --> 00:35:31,100 Well, this is the largest I've been able to find. 515 00:35:31,360 --> 00:35:36,400 This is a two-by-two array of 26-foot long Yagis. 516 00:35:36,400 --> 00:35:40,720 So each Yagi, each boom is 26 feet long. 517 00:35:41,080 --> 00:35:46,560 And the four antennas that you see actually are all configured as one big antenna. 518 00:35:46,920 --> 00:35:50,080 So we actually get about 26 dBi gain out of this. 519 00:35:50,280 --> 00:35:55,320 And if you run the numbers, if you put a legal limit transmitter into that big an antenna, 520 00:35:55,580 --> 00:35:57,860 you should get a read range of about two miles. 521 00:35:58,660 --> 00:36:00,040 So that's what you can do with ham radio. 522 00:36:00,440 --> 00:36:01,340 What about the military? 523 00:36:02,400 --> 00:36:02,880 . 524 00:36:05,240 --> 00:36:09,960 This is a naval radar system called ANSPS-49. 525 00:36:10,400 --> 00:36:12,780 SPIS-49 is how they refer to it. 526 00:36:13,200 --> 00:36:17,160 It runs at 851 to 942 megahertz, so nicely overlaps our band. 527 00:36:18,520 --> 00:36:21,060 280,000 watts peak power. 528 00:36:22,800 --> 00:36:24,240 That's shiny. 529 00:36:25,580 --> 00:36:26,300 Want. 530 00:36:28,300 --> 00:36:31,040 Dish 24 feet wide, 14 feet high. 531 00:36:31,160 --> 00:36:32,660 Gives us about 35 dBi. 532 00:36:32,880 --> 00:36:38,260 If you crunch the numbers on this, assuming it's possible to backport a Gen 2 system into this, 533 00:36:38,380 --> 00:36:40,260 you should get a read range of about 80 miles. 534 00:36:41,320 --> 00:36:42,120 Kind of scary. 535 00:36:42,740 --> 00:36:44,000 But we're not done yet. 536 00:36:45,280 --> 00:36:46,160 Logical limit. 537 00:36:48,040 --> 00:36:49,660 Arecibo radio observatory. 538 00:36:53,040 --> 00:36:57,780 Believe it or not, amateur radio operators do get access to Arecibo sometimes. 539 00:36:58,420 --> 00:37:01,380 A couple of months ago, there was a group got access. 540 00:37:01,380 --> 00:37:05,440 They put a 400 watt transmitter on the Arecibo dish, pointed it at the moon. 541 00:37:05,760 --> 00:37:11,740 And the idea was that you had amateur radio operators all around the world with little tiny handheld Yagis, much smaller than this, 542 00:37:11,920 --> 00:37:15,820 pointing them at the moon and bouncing reflections off the moon to Arecibo 543 00:37:15,820 --> 00:37:19,540 and talking from anywhere around the world to Arecibo with a moon bounce. 544 00:37:19,960 --> 00:37:20,820 It's kind of neat. 545 00:37:21,240 --> 00:37:23,980 Entirely amateur run. 546 00:37:24,400 --> 00:37:25,660 So it does happen. 547 00:37:25,780 --> 00:37:30,980 It's theoretically possible that we could put a 1.5 kilowatt legal limit transmitter 548 00:37:31,380 --> 00:37:32,960 on the Arecibo radio observatory. 549 00:37:33,720 --> 00:37:38,820 Again, if you crunch the numbers with that, 317 miles. 550 00:37:39,500 --> 00:37:45,140 To put that into perspective, if you were to put an EPC Gen 2 tag on the International Space Station, 551 00:37:45,500 --> 00:37:48,100 you should be able to read it with this as it flies overhead. 552 00:37:49,980 --> 00:37:51,620 It's ridiculous range. 553 00:37:51,940 --> 00:37:53,600 Absolutely preposterous. 554 00:37:53,660 --> 00:37:54,600 Just insane. 555 00:37:56,600 --> 00:37:59,220 So let's bring it back to reality here. 556 00:37:59,340 --> 00:38:00,580 317 miles. 557 00:38:01,380 --> 00:38:03,020 It's probably not going to work. 558 00:38:03,080 --> 00:38:08,120 You're going to get a lot out of it, but 317, maybe that's arguing a little much. 559 00:38:08,560 --> 00:38:13,260 Either way, we have still validated the radar range equation in this situation, 560 00:38:13,580 --> 00:38:16,420 so significant ranges are definitely possible. 561 00:38:17,080 --> 00:38:19,880 I've done 217 feet. 562 00:38:20,040 --> 00:38:23,560 I believe the equipment's capable of 500, maybe more. 563 00:38:25,000 --> 00:38:28,200 And clearly we've got a problem here. 564 00:38:28,260 --> 00:38:30,460 We can read these tags at very, very long ranges. 565 00:38:31,900 --> 00:38:34,260 Eventually, round-trip time's going to become a limit. 566 00:38:34,380 --> 00:38:35,480 It's very sensitive to timing. 567 00:38:36,840 --> 00:38:40,960 Either way, I firmly believe that it's possible to read these things at over a mile. 568 00:38:41,220 --> 00:38:47,640 And I hope to prove that, but for the moment I'll settle for the little Guinness certificate, 569 00:38:47,900 --> 00:38:49,480 assuming they come through with that. 570 00:38:50,260 --> 00:38:53,340 In the meantime, clutter is the primary limiting factor. 571 00:38:53,780 --> 00:38:58,460 Certainly the ranges that you can get from the available power and the available antennas, 572 00:38:58,580 --> 00:39:00,440 clutter is going to be the most significant. 573 00:39:03,280 --> 00:39:07,640 So I had a bunch of scenarios here for long-range RFID. 574 00:39:07,860 --> 00:39:11,440 I gave this talk at Black Hat, and they give you a little more time at Black Hat, 575 00:39:11,580 --> 00:39:17,500 so I'm just going to kind of skip through these and give you my top three threats for this. 576 00:39:18,360 --> 00:39:23,120 So assuming that you can read RFID tags like these from 200 feet 577 00:39:23,120 --> 00:39:27,620 and assuming that they're in identity documents and, you know, Walmart and all the rest of it, 578 00:39:27,700 --> 00:39:30,280 in other words, assuming nothing beyond what's actually real, 579 00:39:30,440 --> 00:39:31,700 at this time now, 580 00:39:32,820 --> 00:39:35,380 assuming that an attacker gets hold of this stuff, what can he do? 581 00:39:36,540 --> 00:39:37,980 I'm going to skip through most of them. 582 00:39:38,120 --> 00:39:40,100 These slides are already up on my blog. 583 00:39:40,280 --> 00:39:43,220 If you've seen my Twitter, there's a link from there to my blog, 584 00:39:43,340 --> 00:39:44,740 and all the slides are up there. 585 00:39:44,900 --> 00:39:46,820 So I'll skip these. 586 00:39:49,460 --> 00:39:50,080 There we go. 587 00:39:50,180 --> 00:39:50,620 Number three. 588 00:39:51,100 --> 00:39:56,400 So I bought 1,500 RFID tags to give away at Black Hat and DEF CON for $100. 589 00:39:57,720 --> 00:39:59,300 These tags are reprogrammable. 590 00:39:59,300 --> 00:40:00,980 You can give them any ID number you like, 591 00:40:01,540 --> 00:40:07,260 which means that you know that the way that the numbers are allocated, 592 00:40:09,660 --> 00:40:12,720 let's say New York State wants to issue a bunch of enhanced driver's licenses. 593 00:40:13,080 --> 00:40:15,000 They go to EPC and they say, give us a prefix. 594 00:40:15,360 --> 00:40:18,140 It's like a MAC address, you can think of, the way that they're structured. 595 00:40:18,500 --> 00:40:21,800 So you can look at that prefix and you can know where that tag came from. 596 00:40:22,980 --> 00:40:27,720 So if you kind of flip that on its head and you take those 1,500 tags 597 00:40:27,720 --> 00:40:31,680 and you reprogram them with a known prefix and then sequential numbers after that, 598 00:40:32,800 --> 00:40:39,980 you can produce 1,500 effectively passport cards or EDLs or whatever kind of tag it is you want. 599 00:40:40,380 --> 00:40:47,260 Wait until your friend crosses a border, drop that in his trunk or stick them to his car. 600 00:40:47,700 --> 00:40:50,580 I don't know what the hell Customs and Border Protection are going to do 601 00:40:50,580 --> 00:40:53,800 when they see you try and cross a border with 1,500 passports in your trunk, 602 00:40:53,920 --> 00:40:55,860 but it ain't going to be pretty. 603 00:40:59,480 --> 00:41:02,400 I'll say the same thing I did at Black Hat. 604 00:41:02,580 --> 00:41:05,600 Please don't do this or if you do, record video and send it to me. 605 00:41:10,840 --> 00:41:13,780 Sniffing clothing, this one creeps me out. 606 00:41:13,900 --> 00:41:15,100 I don't like this at all. 607 00:41:15,800 --> 00:41:20,700 Walmart have stated that they're going to be using this technology to identify individual SKUs. 608 00:41:21,060 --> 00:41:26,560 So you'll have distinct RFID tag numbers for every size, every color, 609 00:41:26,680 --> 00:41:27,700 every style, 610 00:41:27,720 --> 00:41:29,880 of every item of clothing in that store. 611 00:41:30,200 --> 00:41:34,380 So when you combine that with the ability to read tags from a mile away, 612 00:41:34,620 --> 00:41:36,380 10 miles away, however far away, 613 00:41:36,600 --> 00:41:40,820 I can stand here on stage and know what kind of underwear you're all wearing. 614 00:41:41,660 --> 00:41:43,780 That gets creepy really quickly. 615 00:41:44,760 --> 00:41:47,820 I don't really want to think about how that can be abused, 616 00:41:47,900 --> 00:41:52,660 but just the concept of knowing that much detail about someone from that far away, 617 00:41:52,840 --> 00:41:54,280 it's just not right. 618 00:41:56,680 --> 00:41:59,180 And the number one that I came out with, 619 00:41:59,360 --> 00:42:03,240 and the reason this gets my number one is because I believe it's a viable business model. 620 00:42:03,920 --> 00:42:07,740 You can actually install multiple RFID readers at the doors to a mall, 621 00:42:07,960 --> 00:42:10,400 read people's credit cards, read their driver's licenses, 622 00:42:10,800 --> 00:42:12,480 every single tag that walks through, 623 00:42:12,620 --> 00:42:16,560 correlated all together by time because you've got these very short range reads, 624 00:42:16,760 --> 00:42:20,800 and then track those identities from the long range tags that they have on them. 625 00:42:21,000 --> 00:42:23,260 So you can watch people as they wander around the mall, 626 00:42:23,260 --> 00:42:24,800 you can see what route they take, 627 00:42:24,860 --> 00:42:26,320 you can see whether they stop in any shops, 628 00:42:26,480 --> 00:42:28,280 you can see whether they pause and look in any windows. 629 00:42:28,700 --> 00:42:33,500 You can get a huge amount of information about how people behave within that mall environment. 630 00:42:33,900 --> 00:42:38,160 And to a typical mall owner, that's going to be very valuable info 631 00:42:38,160 --> 00:42:40,180 because they can then use that to figure out, 632 00:42:40,260 --> 00:42:41,960 well, you know, most people could take this way around, 633 00:42:42,160 --> 00:42:45,840 so, you know, we'll charge more for this advertising spot that's in the more popular path. 634 00:42:46,280 --> 00:42:47,180 All this kind of stuff. 635 00:42:47,260 --> 00:42:52,000 It's all the kind of really deep data that folks that run malls really love. 636 00:42:53,260 --> 00:42:57,780 And again, in the majority of states, it's perfectly legal. 637 00:42:58,440 --> 00:43:02,300 Most states do not have any laws on RFID sniffing, 638 00:43:02,320 --> 00:43:04,660 so you can do this. It's not a problem. 639 00:43:05,120 --> 00:43:08,520 And like I say, it's probably a viable business model as well. 640 00:43:08,620 --> 00:43:11,660 If someone wants to, you could make some money out of it. 641 00:43:13,340 --> 00:43:17,840 So, two quick defenses just before I stop for some questions. 642 00:43:18,340 --> 00:43:20,300 Two solutions for all of this, 643 00:43:20,400 --> 00:43:23,180 and I'm sure that pretty much any privacy advocate 644 00:43:23,260 --> 00:43:24,280 would agree with these two. 645 00:43:24,980 --> 00:43:28,260 Number one, do not put RFID in identity documents. 646 00:43:29,460 --> 00:43:31,220 Here's the thing about the tags that you were given. 647 00:43:31,720 --> 00:43:33,360 Those all have unique serial numbers. 648 00:43:33,680 --> 00:43:37,620 But you don't know whether I arranged with the people at the doors handing out the tags. 649 00:43:38,120 --> 00:43:40,640 Let's say I knew that a certain person was coming 650 00:43:40,640 --> 00:43:43,280 and I wanted to make sure that that person got a specific ID number. 651 00:43:43,660 --> 00:43:45,000 You don't know if I was doing that. 652 00:43:45,660 --> 00:43:47,960 You don't know if the people at the doors had hidden cameras 653 00:43:47,960 --> 00:43:49,420 and they were taking pictures of everyone 654 00:43:49,420 --> 00:43:52,760 and, you know, making a note of what RFID tag corresponds to what face. 655 00:43:53,260 --> 00:43:57,640 You don't know how those tags could be abused by me or by anyone else. 656 00:43:57,900 --> 00:43:58,800 But here's the thing. 657 00:43:59,020 --> 00:44:02,300 The tag that's in your driver's license, you can't throw that away. 658 00:44:02,640 --> 00:44:03,600 These ones you can. 659 00:44:03,960 --> 00:44:05,240 That's the big difference. 660 00:44:05,740 --> 00:44:08,380 So, all of the privacy threats are exactly the same, 661 00:44:08,460 --> 00:44:10,580 but when it's in a federally issued identity document, 662 00:44:10,760 --> 00:44:12,180 you cannot escape it. 663 00:44:13,680 --> 00:44:17,080 Secondly, disable all store-issued RFID tags upon purchase. 664 00:44:17,540 --> 00:44:20,660 A lot of stores that use RFID do do this, 665 00:44:20,720 --> 00:44:22,640 but because of weaknesses in EPC Gen 2, 666 00:44:22,640 --> 00:44:25,200 you can either kill the killers or, you know, 667 00:44:25,220 --> 00:44:27,240 reprogram the tags to change the lock codes. 668 00:44:27,500 --> 00:44:31,720 There's all kinds of ways of preventing people from disabling these tags, 669 00:44:31,900 --> 00:44:35,880 and there should be some kind of consequences if that process fails. 670 00:44:36,740 --> 00:44:41,280 Beyond that, informing people that RFID is in use is always good. 671 00:44:41,560 --> 00:44:43,660 There's a lot of FUD surrounding RFID. 672 00:44:43,980 --> 00:44:47,120 A lot of people use RFID and don't really want to call it RFID 673 00:44:47,120 --> 00:44:48,580 because RFID has such a stigma. 674 00:44:49,440 --> 00:44:52,120 Either way, if you're worried about an RFID tag, 675 00:44:52,120 --> 00:44:53,780 stick it in the microwave for three seconds. 676 00:44:54,260 --> 00:44:57,420 Three seconds in the microwave will kill pretty much any RFID tag 677 00:44:57,420 --> 00:44:58,360 that you'll ever come across. 678 00:44:59,020 --> 00:45:01,360 Be careful, though, because five seconds in the microwave 679 00:45:01,360 --> 00:45:04,420 will probably set fire to any RFID tag you'll ever come across. 680 00:45:05,200 --> 00:45:08,120 And then also bear in mind if you're doing this to an identity document, 681 00:45:09,060 --> 00:45:10,640 technically you're tampering with your ID, 682 00:45:10,800 --> 00:45:17,420 so depending on what kind of ID and what people want to take a look at out of it, 683 00:45:17,480 --> 00:45:20,340 you could be done for a felony at the end of it. 684 00:45:22,120 --> 00:45:24,580 So I guess I've got a few minutes for questions. 685 00:45:25,180 --> 00:45:25,700 Yes? 686 00:45:26,000 --> 00:45:30,160 Are all the IGN RFID tags in that same radio band? 687 00:45:30,500 --> 00:45:33,840 Or are there different generation tags? 688 00:45:34,920 --> 00:45:37,980 So the question is, are all RFID tags in that same band? 689 00:45:38,200 --> 00:45:41,280 Well, all EPC Gen 2 are in that band, 690 00:45:41,400 --> 00:45:43,720 but there's lots of different bands that are used for RFID. 691 00:45:43,900 --> 00:45:44,500 Lots and lots. 692 00:45:45,700 --> 00:45:46,220 Yes? 693 00:45:46,520 --> 00:45:48,620 Have you ever seen an ADAPT 694 00:45:48,620 --> 00:45:50,900 play a big number of times? 695 00:45:52,140 --> 00:45:54,280 Have I seen people sniff 13.56? 696 00:45:54,560 --> 00:45:54,920 Yes. 697 00:45:55,340 --> 00:45:57,680 13.56, there is actually an upper limit 698 00:45:57,680 --> 00:46:00,380 in terms of how big you can make the antenna 699 00:46:00,380 --> 00:46:03,460 and how far you can project a magnetic field from it. 700 00:46:03,680 --> 00:46:06,420 I think that limit lies somewhere around 70 feet. 701 00:46:06,720 --> 00:46:07,840 And it's pretty... 702 00:46:08,800 --> 00:46:10,320 That's the passport book, yes. 703 00:46:11,900 --> 00:46:12,660 Another question? 704 00:46:15,300 --> 00:46:15,960 Say again? 705 00:46:18,620 --> 00:46:19,660 These ones? 706 00:46:23,960 --> 00:46:24,700 Why not? 707 00:46:25,080 --> 00:46:25,720 It's fun. 708 00:46:26,720 --> 00:46:29,600 Okay, so I think that's about it. 709 00:46:30,000 --> 00:46:32,460 There's Q&A in a room out here afterwards. 710 00:46:33,080 --> 00:46:34,080 Thank you very much.