1 00:00:00,000 --> 00:00:05,380 Good afternoon. I'm Steve Jobs, and this is the new iPod. 2 00:00:07,840 --> 00:00:08,880 It's wafer thin. 3 00:00:11,840 --> 00:00:13,180 Okay, that was a lame joke. 4 00:00:13,940 --> 00:00:18,560 Anyway, hi. I'm Strom Carlson, and this talk is called 5 00:00:18,560 --> 00:00:22,760 Hacking FedEx Kinkos, How Not to Implement Stored Value Smart Cards. 6 00:00:24,760 --> 00:00:28,460 So just by a show of hands, how many of you have seen 7 00:00:28,460 --> 00:00:29,760 some version of this talk before? 8 00:00:32,140 --> 00:00:36,780 Okay, how many of you have seen the video that went around on the internet? 9 00:00:38,800 --> 00:00:41,060 How many of you work for FedEx and or Kinkos? 10 00:00:44,920 --> 00:00:47,580 Okay, how many of you who I know, who I don't know? 11 00:00:49,440 --> 00:00:50,840 All right, too chicken to say hello. 12 00:00:50,940 --> 00:00:57,080 Anyway, so first off, let's get into some theory. 13 00:00:57,960 --> 00:00:58,440 What is FedEx? 14 00:00:58,440 --> 00:00:59,720 What is a smart card? 15 00:01:01,260 --> 00:01:01,660 Great. 16 00:01:02,220 --> 00:01:03,660 I just turned off a... 17 00:01:07,420 --> 00:01:08,380 What is a smart card? 18 00:01:08,500 --> 00:01:11,380 Well, basically, a smart card is a small plastic card, 19 00:01:11,560 --> 00:01:14,520 typically its credit card size, and it has a little microchip on it. 20 00:01:15,580 --> 00:01:17,500 There's several different types of smart cards. 21 00:01:17,640 --> 00:01:21,340 They can use a contact pad, a built-in antenna to communicate with the computer, 22 00:01:21,420 --> 00:01:22,260 or both. 23 00:01:22,440 --> 00:01:24,960 There's something called a combi card, where instead of this contact pad, 24 00:01:25,020 --> 00:01:28,260 you have the contact pad, and you have, 25 00:01:28,260 --> 00:01:29,120 you have the little antenna. 26 00:01:29,420 --> 00:01:31,640 So, you see those in applications where, for example, 27 00:01:32,720 --> 00:01:38,280 I've seen them in transit applications, where you refill the card by putting it into a kiosk, 28 00:01:38,280 --> 00:01:41,640 and then when you get on the train, you just have the card in your wallet or whatever, 29 00:01:41,760 --> 00:01:44,940 you swipe it across a reader, and contact list just says, 30 00:01:45,020 --> 00:01:48,020 okay, hey, you're you, and debit your card. 31 00:01:49,720 --> 00:01:53,300 So, they're called smart cards because they're more intelligent, 32 00:01:53,440 --> 00:01:54,860 more versatile than the mag stripe cards. 33 00:01:55,000 --> 00:01:57,440 How many of you stayed for Majors Mag Stripe Talk? 34 00:01:58,840 --> 00:01:59,320 Cool. 35 00:02:00,060 --> 00:02:01,260 So, similar interests. 36 00:02:01,520 --> 00:02:05,780 So, they're a bit smarter than Mag Stripe cards, and they're actually almost smarter than a lot of script kiddies. 37 00:02:10,400 --> 00:02:12,140 There's two varieties of smart cards. 38 00:02:12,360 --> 00:02:13,640 Not all smart cards are created equal. 39 00:02:13,960 --> 00:02:18,860 The first one is a microprocessor card, and these typically include, you know, 40 00:02:18,900 --> 00:02:22,540 a small microprocessor, some random access memory, some ROM. 41 00:02:23,280 --> 00:02:27,180 They're often optimized for cryptographic functions, 42 00:02:27,380 --> 00:02:27,920 and 43 00:02:28,860 --> 00:02:31,020 one example are the SIM card and GSM phone, 44 00:02:31,200 --> 00:02:34,140 and the way these work is, you know, to authenticate your phone, 45 00:02:34,320 --> 00:02:37,400 what happens is the network, you know, your phone powers up, 46 00:02:37,440 --> 00:02:39,260 and it says, hi, I'm a phone, and the network says, 47 00:02:39,420 --> 00:02:42,900 okay, if you're claiming to be this phone, here's a challenge, 48 00:02:42,940 --> 00:02:46,100 and the SIM card computes your response and sends it back to the network, 49 00:02:46,240 --> 00:02:51,360 and the network says, okay, it seems that you've gotten the challenge right, 50 00:02:52,140 --> 00:02:53,400 so I'm going to assume it's you. 51 00:02:54,640 --> 00:02:58,240 Then there is memory cards, which are, you know, simple double EPROMs, 52 00:02:58,260 --> 00:03:01,100 they sometimes have a microcontroller for some logic on them, 53 00:03:01,260 --> 00:03:04,480 but typically, you know, they're just basic, simple memory cards, 54 00:03:04,660 --> 00:03:07,600 and they can sometimes perform some basic security functions, 55 00:03:07,720 --> 00:03:09,700 like locking you out from writing the card, 56 00:03:09,860 --> 00:03:14,780 unless you present a simple code to the chip itself. 57 00:03:17,080 --> 00:03:19,660 So, meet this chip, which is going to be the subject of our talk, 58 00:03:19,740 --> 00:03:24,180 called the SLE4442, and actually, this chip, from what I understand, 59 00:03:24,260 --> 00:03:27,560 has been discontinued and replaced with the SLE4442, 60 00:03:29,120 --> 00:03:32,540 which is essentially the same chip, only in a different casing. 61 00:03:32,780 --> 00:03:36,020 It operates exactly the same, so for all intents and purposes, 62 00:03:36,400 --> 00:03:37,380 it doesn't make a difference. 63 00:03:38,060 --> 00:03:40,880 There's only 256 bytes of storage space on this chip, 64 00:03:41,460 --> 00:03:44,380 and the first 32 bytes can be irrevocably write-protected. 65 00:03:45,040 --> 00:03:50,800 So, the first 32 bytes typically contain a header for the manufacturer of the card, 66 00:03:50,920 --> 00:03:53,740 the specific application of the card, and so on and so forth. 67 00:03:54,440 --> 00:03:56,760 And the other 224 bytes 68 00:03:56,760 --> 00:03:58,460 are changeable at any time, 69 00:03:58,560 --> 00:04:01,520 and I think they can be write-protected, but I'm not sure. 70 00:04:02,580 --> 00:04:06,160 But, for the most part, the other 224 bytes are for applications. 71 00:04:07,280 --> 00:04:08,920 The whole thing is readable at any time, 72 00:04:09,000 --> 00:04:10,860 there's no security against reading the card, 73 00:04:11,480 --> 00:04:14,600 and you can only write to the card after presenting a specific 3-byte code 74 00:04:14,600 --> 00:04:15,980 to the microcontroller on the card. 75 00:04:16,700 --> 00:04:19,800 If you present the wrong code three times to this microcontroller, 76 00:04:19,920 --> 00:04:23,240 the card becomes unwritable, and it's pretty much dead. 77 00:04:23,420 --> 00:04:24,420 But, I mean, the cards are cheap, 78 00:04:24,800 --> 00:04:26,500 so it doesn't really make that much of a difference 79 00:04:26,760 --> 00:04:27,140 if you screw one up. 80 00:04:28,340 --> 00:04:31,440 And if you're willing to get to burn up a lot of cards, 81 00:04:31,520 --> 00:04:32,620 and you want to brute force this code, 82 00:04:33,240 --> 00:04:35,740 and you've got 5.6 million cards lying around, 83 00:04:35,840 --> 00:04:36,340 you can do it. 84 00:04:36,720 --> 00:04:38,760 If you've got lots of time, stick it in a reader. 85 00:04:41,120 --> 00:04:43,740 This is a chip I took off of one of the cards, 86 00:04:43,840 --> 00:04:44,440 I took it apart, 87 00:04:45,080 --> 00:04:47,360 and pulled the chip off from the back of the contact pad, 88 00:04:47,540 --> 00:04:48,520 and that's it. 89 00:04:48,700 --> 00:04:50,620 It's this little tiny, you know, 90 00:04:51,240 --> 00:04:53,780 it's a dime for comparison, so it's a little teeny chip. 91 00:04:55,840 --> 00:04:56,200 Now, 92 00:04:56,760 --> 00:04:57,620 why use this chip? 93 00:04:58,080 --> 00:04:59,240 It's really cheap. 94 00:04:59,820 --> 00:05:04,780 In quantities of 200,000 I did a search in April or so, 95 00:05:04,920 --> 00:05:05,960 36 cents each. 96 00:05:06,720 --> 00:05:09,660 And if you're buying them in the kind of quantities that, say, 97 00:05:09,720 --> 00:05:12,140 FedEx is buying them, which is greater than 200,000, 98 00:05:12,300 --> 00:05:14,380 they're probably a quarter each, maybe. 99 00:05:14,800 --> 00:05:15,580 Probably less. 100 00:05:15,980 --> 00:05:18,240 The security function does prevent the casual attacker 101 00:05:18,240 --> 00:05:19,420 from altering the data. 102 00:05:20,460 --> 00:05:23,600 And they tend to be more durable and secure than a magtrap card, 103 00:05:23,740 --> 00:05:24,860 so, for example, 104 00:05:24,860 --> 00:05:28,400 you can kind of imagine this as a magstripe on a chip 105 00:05:28,400 --> 00:05:29,400 rather than a magstripe, 106 00:05:30,340 --> 00:05:32,300 so you will never have that problem with, 107 00:05:32,440 --> 00:05:34,560 oh, I accidentally put it next to a magnet, 108 00:05:34,640 --> 00:05:36,080 and now my credit card doesn't work anymore. 109 00:05:38,840 --> 00:05:42,700 So, obviously, FedEx Kinko's uses this chip. 110 00:05:44,500 --> 00:05:46,800 How many of you have been into a FedEx Kinko's recently? 111 00:05:48,040 --> 00:05:48,440 Okay. 112 00:05:48,480 --> 00:05:51,040 How many of you are familiar with the way their system works? 113 00:05:52,480 --> 00:05:52,880 Okay. 114 00:05:52,960 --> 00:05:53,700 So, basically, 115 00:05:53,700 --> 00:05:55,780 when you walk into a FedEx Kinko's, 116 00:05:55,900 --> 00:05:58,260 you're issued a little card like this. 117 00:05:58,820 --> 00:06:00,940 You walk up to a kiosk, 118 00:06:00,940 --> 00:06:02,620 and you press a button on the screen, 119 00:06:02,720 --> 00:06:04,040 and it spits this card out at you. 120 00:06:04,260 --> 00:06:07,240 And you stick the card back into the machine, 121 00:06:07,400 --> 00:06:09,240 and it says, your balance is $0. 122 00:06:09,380 --> 00:06:10,260 Please insert money. 123 00:06:10,620 --> 00:06:11,680 So you put cash in, 124 00:06:11,760 --> 00:06:13,520 and once you put in as much as you want, 125 00:06:14,120 --> 00:06:15,140 up to $100, 126 00:06:15,340 --> 00:06:16,260 you press another button, 127 00:06:16,340 --> 00:06:17,400 the card comes back out at you, 128 00:06:17,480 --> 00:06:18,860 and then you take this card, 129 00:06:18,900 --> 00:06:22,200 and you walk around the store and stick it in the machines, 130 00:06:22,280 --> 00:06:23,560 and you can use it to make Xeroxes, 131 00:06:23,700 --> 00:06:25,840 or you can use the computers 132 00:06:25,840 --> 00:06:27,320 and debit the amount off the card. 133 00:06:28,900 --> 00:06:31,400 And so it's a basic stored value function. 134 00:06:31,560 --> 00:06:33,000 There's nothing fancy going on. 135 00:06:33,040 --> 00:06:35,020 It's not storing any, you know, personalized data. 136 00:06:35,600 --> 00:06:37,520 And you can add value to the card again. 137 00:06:37,640 --> 00:06:39,780 And if you decide that you've done enough 138 00:06:39,780 --> 00:06:41,360 and you want some of your money back, 139 00:06:41,440 --> 00:06:43,000 you can go up to the kiosk 140 00:06:43,000 --> 00:06:44,280 and give them the card back and say, 141 00:06:44,420 --> 00:06:45,720 hey, I've made my copies, 142 00:06:45,720 --> 00:06:46,920 and I'm done, 143 00:06:47,080 --> 00:06:49,320 and I'd like my remaining cash back, please. 144 00:06:51,420 --> 00:06:52,840 So, pretty simple stuff. 145 00:06:53,700 --> 00:06:55,380 It wasn't developed by Kinko's. 146 00:06:55,500 --> 00:06:56,980 It was developed by this little company in Toronto 147 00:06:56,980 --> 00:06:58,100 called Ntrack Technologies. 148 00:06:59,860 --> 00:07:01,440 Seems to be a little tiny company. 149 00:07:01,540 --> 00:07:02,960 They have, like, this one product. 150 00:07:03,220 --> 00:07:03,800 That's it. 151 00:07:04,760 --> 00:07:07,320 And Kinko's started playing with this five years ago, 152 00:07:07,460 --> 00:07:10,480 and I think it went system-wide in 2003 or 2004 or so. 153 00:07:13,280 --> 00:07:15,440 So, after going to Kinko's a couple times 154 00:07:15,440 --> 00:07:16,620 and making some Xeroxes, 155 00:07:16,660 --> 00:07:17,580 I had some questions. 156 00:07:18,480 --> 00:07:19,840 My first question was, 157 00:07:19,920 --> 00:07:21,500 is there any personally identifiable information 158 00:07:21,500 --> 00:07:22,340 stored on the card? 159 00:07:23,200 --> 00:07:24,700 Because, I mean, okay, it's cash, 160 00:07:24,880 --> 00:07:25,680 so there shouldn't be, 161 00:07:26,280 --> 00:07:27,620 but I thought maybe there was. 162 00:07:28,280 --> 00:07:30,220 Is there a transaction history stored on the card? 163 00:07:30,680 --> 00:07:34,240 When you go to Kinko's and you make your copies 164 00:07:34,240 --> 00:07:35,060 and you're done, 165 00:07:35,100 --> 00:07:36,720 you can stick the card back in the kiosk 166 00:07:37,540 --> 00:07:38,580 and you can say, 167 00:07:39,940 --> 00:07:40,720 I'd like a receipt, 168 00:07:40,860 --> 00:07:41,740 and it'll print up a receipt 169 00:07:41,740 --> 00:07:42,840 of everything you've done at the store 170 00:07:43,460 --> 00:07:44,300 right at the kiosk. 171 00:07:44,400 --> 00:07:45,940 So, you never have to interact with a human 172 00:07:45,940 --> 00:07:46,560 to get your receipt. 173 00:07:48,060 --> 00:07:49,420 So, that leads me to the question, 174 00:07:49,520 --> 00:07:50,960 well, is this stuff stored on the card, 175 00:07:50,960 --> 00:07:54,100 or is it stored on a back-end system of some such? 176 00:07:54,700 --> 00:07:56,860 And how secure is the data stored on the card? 177 00:07:57,080 --> 00:07:59,720 The card offers no cryptographic function built into it, 178 00:08:00,140 --> 00:08:01,340 and the data, I mean, 179 00:08:01,400 --> 00:08:02,900 they could theoretically encrypt the data 180 00:08:02,900 --> 00:08:03,940 before storing it on the card, 181 00:08:04,060 --> 00:08:04,500 and that would, 182 00:08:04,880 --> 00:08:06,020 it wouldn't prevent people 183 00:08:06,020 --> 00:08:07,220 from figuring out what's on the card, 184 00:08:07,340 --> 00:08:08,400 but it would certainly, you know, 185 00:08:08,400 --> 00:08:11,340 take the random, you know, curious person 186 00:08:11,340 --> 00:08:12,620 who just buys a card reader 187 00:08:12,620 --> 00:08:13,400 and sticks the card in 188 00:08:13,400 --> 00:08:15,180 and looks at a dozen of them or so 189 00:08:15,180 --> 00:08:16,960 from figuring out what the patterns are. 190 00:08:18,780 --> 00:08:20,760 So, and is value even stored on the card? 191 00:08:20,820 --> 00:08:20,940 I mean, 192 00:08:20,960 --> 00:08:22,360 it could be that 193 00:08:22,360 --> 00:08:24,140 because all these things are networked 194 00:08:24,140 --> 00:08:24,820 and you can get a receipt, 195 00:08:25,220 --> 00:08:27,580 if the receipt stuff is stored on the back-end, 196 00:08:27,680 --> 00:08:29,400 then maybe the value is stored back-end as well. 197 00:08:30,760 --> 00:08:31,640 And, you know, 198 00:08:31,680 --> 00:08:33,600 so it could just be like a serial number token. 199 00:08:33,660 --> 00:08:34,480 It could be the illusion 200 00:08:34,480 --> 00:08:36,240 of something cool and wonderful and fantastic, 201 00:08:36,520 --> 00:08:38,480 but it's just serial numbers on microchips. 202 00:08:39,200 --> 00:08:40,660 And what else is stored on the card? 203 00:08:40,760 --> 00:08:41,980 There are 256 bytes, 204 00:08:42,380 --> 00:08:44,760 and a dollar value is not that big a deal. 205 00:08:45,240 --> 00:08:46,680 So, maybe there's extra space. 206 00:08:46,760 --> 00:08:47,480 What are they doing with it? 207 00:08:49,340 --> 00:08:49,700 So, 208 00:08:50,740 --> 00:08:51,980 there's some ISO standards 209 00:08:51,980 --> 00:08:53,480 when you're dealing with smart cards 210 00:08:53,480 --> 00:08:56,620 that you have to deal with. 211 00:08:57,240 --> 00:08:57,880 The first, 212 00:08:58,000 --> 00:09:01,480 it's the ISO 7816 group of standards. 213 00:09:02,040 --> 00:09:05,800 And the basic standard for the microprocessor cards 214 00:09:05,800 --> 00:09:08,260 is up to and including 7816-4. 215 00:09:08,900 --> 00:09:09,460 So, 216 00:09:09,480 --> 00:09:11,700 dash one is the physical characteristics, 217 00:09:11,860 --> 00:09:14,660 the shape, the thickness, the durability. 218 00:09:15,800 --> 00:09:17,980 7816-2 is the dimension and locations 219 00:09:17,980 --> 00:09:19,520 of the contact points on the card. 220 00:09:20,140 --> 00:09:22,760 7816-3 are the electrical characteristics 221 00:09:22,760 --> 00:09:23,760 and class indication, 222 00:09:24,540 --> 00:09:26,900 and basically just tells, you know, 223 00:09:26,900 --> 00:09:28,780 how the cards are supposed to act 224 00:09:28,780 --> 00:09:29,860 under certain voltage conditions. 225 00:09:30,620 --> 00:09:32,960 And these cards conform to those standards. 226 00:09:33,800 --> 00:09:36,860 They don't conform to ISO 7816-4. 227 00:09:37,000 --> 00:09:39,520 And this is actually a set of standards 228 00:09:39,520 --> 00:09:40,760 for interfacing with the card. 229 00:09:41,020 --> 00:09:43,300 So, you know, command response contents, 230 00:09:43,740 --> 00:09:45,460 data structures, applications, 231 00:09:46,440 --> 00:09:47,380 retrieval of data, 232 00:09:48,180 --> 00:09:49,160 access methods, 233 00:09:49,160 --> 00:09:49,460 security, 234 00:09:50,220 --> 00:09:51,760 and so on and so on and so on. 235 00:09:54,500 --> 00:09:56,840 So, the protocol for these cards is proprietary. 236 00:09:58,060 --> 00:10:00,080 And most of the card readers that you get 237 00:10:00,080 --> 00:10:02,000 will, pretty much any card reader you get 238 00:10:02,000 --> 00:10:04,140 will read the 7816-4 cards, 239 00:10:04,460 --> 00:10:06,580 but a lot of them won't read anything else. 240 00:10:07,100 --> 00:10:09,060 So, sometimes it's a bit of a pain 241 00:10:09,060 --> 00:10:11,380 to find one that works with these cards. 242 00:10:12,440 --> 00:10:14,460 Do any of you remember the American Express 243 00:10:14,460 --> 00:10:16,560 smart card readers that they sent out 244 00:10:16,560 --> 00:10:17,860 to anyone who asked a while back? 245 00:10:19,160 --> 00:10:20,500 How many of you got those? 246 00:10:22,220 --> 00:10:22,960 Okay, a few people. 247 00:10:23,300 --> 00:10:24,360 I had one as well, 248 00:10:24,440 --> 00:10:26,360 and I was trying to get it to read these cards, 249 00:10:26,460 --> 00:10:28,540 and those will not read these cards for love of money. 250 00:10:29,120 --> 00:10:30,660 So, I had to go out and find one 251 00:10:30,660 --> 00:10:31,980 that does work with these cards. 252 00:10:34,560 --> 00:10:34,920 Here. 253 00:10:38,100 --> 00:10:39,440 So, I bought one of these. 254 00:10:39,520 --> 00:10:40,980 This is the ACR30U. 255 00:10:41,340 --> 00:10:42,320 I've got one of these here. 256 00:10:42,840 --> 00:10:44,500 It's a cheap little thing, 30 bucks. 257 00:10:45,580 --> 00:10:46,900 Smartcardsupply.com is where I got mine. 258 00:10:48,240 --> 00:10:50,920 And it works under Windows, 259 00:10:51,100 --> 00:10:52,560 and supposedly it works under Linux, 260 00:10:53,460 --> 00:10:54,880 but there's a Windows application 261 00:10:54,880 --> 00:10:56,000 that comes with the reader 262 00:10:56,000 --> 00:10:57,580 to read and write these cards, 263 00:10:57,760 --> 00:10:59,500 and I figured, well, why reinvent the wheel 264 00:10:59,500 --> 00:11:01,220 when I've just got this application I can work with? 265 00:11:04,140 --> 00:11:04,940 So, alright. 266 00:11:05,060 --> 00:11:05,980 I went to Kinko's, 267 00:11:06,840 --> 00:11:08,420 and I got a bunch of cards, 268 00:11:09,000 --> 00:11:10,400 and I noted their values, 269 00:11:10,580 --> 00:11:12,180 and took them home with me, 270 00:11:12,680 --> 00:11:14,140 and started reading the cards. 271 00:11:14,380 --> 00:11:16,160 And so, this is a dump 272 00:11:16,900 --> 00:11:18,900 of a standard Kinko's ExpressPay cashcard. 273 00:11:20,540 --> 00:11:22,100 Simple, 256 bytes. 274 00:11:22,260 --> 00:11:24,140 The important bits on the regular cards 275 00:11:24,140 --> 00:11:25,000 I've highlighted in red. 276 00:11:26,160 --> 00:11:28,920 The rest are incidental data. 277 00:11:29,220 --> 00:11:30,460 The change is a little bit, 278 00:11:30,580 --> 00:11:31,980 but for the most part, they're unimportant. 279 00:11:32,800 --> 00:11:35,300 So, first off, there's this 32-byte header. 280 00:11:35,680 --> 00:11:37,120 It's the same across all cards. 281 00:11:37,240 --> 00:11:37,840 It's write-protected. 282 00:11:37,960 --> 00:11:38,640 You can't change it. 283 00:11:38,780 --> 00:11:40,540 This pretty much just identifies the system 284 00:11:40,540 --> 00:11:42,300 as a Kinko's card. 285 00:11:43,380 --> 00:11:44,300 Because every... 286 00:11:44,760 --> 00:11:46,880 And I'm not sure on the specific data structure 287 00:11:46,900 --> 00:11:47,400 of this header, 288 00:11:47,560 --> 00:11:48,680 but there's... 289 00:11:49,800 --> 00:11:51,120 Part of this is like this says, 290 00:11:51,200 --> 00:11:53,400 this is an SLE4442 type chip. 291 00:11:53,840 --> 00:11:55,200 And then the rest of it says, 292 00:11:55,380 --> 00:11:57,720 this is the specific application of that chip. 293 00:11:59,920 --> 00:12:01,680 This is where the dollar value is stored. 294 00:12:02,240 --> 00:12:05,300 And this one, I think, is a $1 card. 295 00:12:06,640 --> 00:12:08,260 And so, I first looked at this. 296 00:12:08,320 --> 00:12:10,100 I couldn't figure out what the dollar value was. 297 00:12:10,400 --> 00:12:11,520 I'll get to that in a minute. 298 00:12:12,480 --> 00:12:14,540 The next one is the date and time 299 00:12:14,540 --> 00:12:15,560 the card was first issued. 300 00:12:17,220 --> 00:12:18,460 So, this bit... 301 00:12:18,460 --> 00:12:20,520 I'm not sure whether this byte is important, 302 00:12:20,820 --> 00:12:22,700 the 20 at the beginning of the date. 303 00:12:23,020 --> 00:12:24,600 Because on some cards I ran across, 304 00:12:24,880 --> 00:12:26,280 that byte was set to 00. 305 00:12:27,600 --> 00:12:29,380 And it didn't seem to make any difference at all. 306 00:12:30,180 --> 00:12:31,380 So, but this is the date and time 307 00:12:31,380 --> 00:12:32,340 the card was first issued. 308 00:12:32,960 --> 00:12:35,720 And you'll see it's also down here at the bottom. 309 00:12:36,020 --> 00:12:38,420 And this does not change through the life of the card. 310 00:12:39,280 --> 00:12:40,860 So, it doesn't seem to be used for anything 311 00:12:40,860 --> 00:12:41,900 on the regular cash cards. 312 00:12:43,340 --> 00:12:45,460 There is a serial number stored on the card. 313 00:12:46,520 --> 00:12:49,100 Which consists of the four-digit store number 314 00:12:49,100 --> 00:12:50,060 the card was issued at. 315 00:12:50,300 --> 00:12:52,900 And then the cards are just sequentially numbered after that. 316 00:12:53,100 --> 00:12:54,320 So, this is, I think, 1163. 317 00:12:54,740 --> 00:12:56,700 It is a store in West Los Angeles somewhere. 318 00:12:56,880 --> 00:12:58,140 And this is 32309. 319 00:13:03,040 --> 00:13:04,560 And there's another timestamp 320 00:13:04,560 --> 00:13:05,820 down at the bottom there. 321 00:13:07,140 --> 00:13:09,060 And it seems to be a duplicate of the other one. 322 00:13:09,160 --> 00:13:10,760 I'm not sure why there are two timestamps. 323 00:13:11,900 --> 00:13:12,920 They don't seem to be used. 324 00:13:13,920 --> 00:13:15,460 There's also this byte, 325 00:13:15,660 --> 00:13:17,080 which I discovered later, 326 00:13:18,120 --> 00:13:19,220 is the type of card. 327 00:13:19,340 --> 00:13:20,260 There's three types of cards. 328 00:13:20,360 --> 00:13:21,540 There's these regular cash cards. 329 00:13:22,280 --> 00:13:23,760 There's the blue ones, 330 00:13:23,840 --> 00:13:25,080 which are these convenience cards. 331 00:13:26,880 --> 00:13:28,660 Where, I haven't seen them used 332 00:13:28,660 --> 00:13:29,560 in the California stores, 333 00:13:29,700 --> 00:13:31,880 but someone in a different state, 334 00:13:32,020 --> 00:13:33,180 and I'll be kind of vague about this, 335 00:13:33,280 --> 00:13:35,040 who works for FedEx Kinko 336 00:13:35,040 --> 00:13:37,200 saw the video and said, 337 00:13:37,260 --> 00:13:38,600 hey, I'll send you some cards. 338 00:13:38,600 --> 00:13:40,220 So they sent me some cards, 339 00:13:40,300 --> 00:13:41,520 and I got the convenience cards 340 00:13:41,520 --> 00:13:42,340 and the employee cards. 341 00:13:44,920 --> 00:13:46,360 So what the convenience cards are, 342 00:13:47,820 --> 00:13:48,780 they have either 343 00:13:48,780 --> 00:13:50,500 10 or 25 copies on them. 344 00:13:51,740 --> 00:13:52,700 And these are, 345 00:13:52,800 --> 00:13:54,040 I'm not sure what they're used for, 346 00:13:54,140 --> 00:13:55,680 but I'm pretty sure they're the kind of thing 347 00:13:55,680 --> 00:13:57,460 that if the customer has trouble or whatever, 348 00:13:57,700 --> 00:14:00,200 or they, for whatever reason, 349 00:14:00,260 --> 00:14:02,720 the store wants to give them some copy value, 350 00:14:02,940 --> 00:14:04,920 they can just give them one of these cards 351 00:14:04,920 --> 00:14:06,920 and say, hey, here's 10 copies 352 00:14:06,920 --> 00:14:07,780 and here's 25 copies. 353 00:14:08,600 --> 00:14:09,320 So that's a different type of card. 354 00:14:09,500 --> 00:14:11,460 And then there's the employee cards, 355 00:14:12,720 --> 00:14:14,280 which, the way I'm told they work, 356 00:14:14,480 --> 00:14:15,940 is an employee gets this card 357 00:14:15,940 --> 00:14:18,200 and sets it up at the beginning of the day, 358 00:14:18,300 --> 00:14:19,760 and they work for 24 hours 359 00:14:19,760 --> 00:14:21,260 for unlimited use of the services. 360 00:14:21,560 --> 00:14:24,620 So unlimited copies, unlimited use of the internet kiosks, 361 00:14:24,660 --> 00:14:25,620 and so on and so forth. 362 00:14:25,820 --> 00:14:26,400 Did you have a question? 363 00:14:31,680 --> 00:14:33,480 So this is a convenience card, 364 00:14:33,580 --> 00:14:34,160 and if you can see, 365 00:14:34,300 --> 00:14:36,140 this bike changes to 01. 366 00:14:38,800 --> 00:14:39,700 It's pretty bare. 367 00:14:40,060 --> 00:14:41,040 There's a serial number. 368 00:14:42,180 --> 00:14:43,900 There's no date stamp at all. 369 00:14:44,940 --> 00:14:45,340 Actually, 370 00:14:46,120 --> 00:14:47,760 there is the date stamp over here, 371 00:14:47,880 --> 00:14:50,340 but the date stamp on this part of the card goes away. 372 00:14:52,160 --> 00:14:52,940 And there's 373 00:14:53,920 --> 00:14:55,400 only a few significant bytes. 374 00:14:55,520 --> 00:14:57,320 There's this byte, which is the number of copies 375 00:14:57,320 --> 00:14:59,020 available with the card, and heck, so this is 10. 376 00:15:00,200 --> 00:15:02,040 And then this one is the number of copies 377 00:15:02,040 --> 00:15:03,140 that you've made on the card. 378 00:15:03,240 --> 00:15:04,800 So this is one copy used on the card. 379 00:15:06,740 --> 00:15:08,180 And this is the employee card. 380 00:15:08,600 --> 00:15:09,560 So as you can see, 381 00:15:09,580 --> 00:15:12,180 this byte over here changes from 1 to 2. 382 00:15:13,720 --> 00:15:14,720 That right there. 383 00:15:17,360 --> 00:15:17,800 And 384 00:15:17,800 --> 00:15:20,260 the employee ID number is stored on these cards. 385 00:15:21,120 --> 00:15:21,980 In this case, 386 00:15:22,080 --> 00:15:22,860 this is, I think, 387 00:15:25,480 --> 00:15:25,920 RR555555. 388 00:15:28,760 --> 00:15:30,600 No, this is not any real employee. 389 00:15:30,620 --> 00:15:31,640 I made this person up. 390 00:15:33,340 --> 00:15:34,740 To protect the innocent. 391 00:15:35,940 --> 00:15:36,380 Supposedly. 392 00:15:38,480 --> 00:15:38,920 And, 393 00:15:39,880 --> 00:15:41,580 so there's the employee ID number, 394 00:15:42,260 --> 00:15:44,200 and there's the date stamp, which is important. 395 00:15:45,120 --> 00:15:46,360 Yeah, there's this date stamp. 396 00:15:46,720 --> 00:15:48,180 And the card only works for 397 00:15:48,180 --> 00:15:49,680 24 hours after this date stamp. 398 00:15:50,200 --> 00:15:52,480 But, as I'll get into later, it turns out 399 00:15:52,480 --> 00:15:54,100 that you can modify this 400 00:15:54,100 --> 00:15:56,200 really easily, and there's no checking of any sort. 401 00:15:57,800 --> 00:15:58,240 So, 402 00:15:58,260 --> 00:16:00,000 getting back to the value. 403 00:16:00,180 --> 00:16:01,920 So here's a $1 card. 404 00:16:02,480 --> 00:16:04,260 And all of this stuff is really easy, 405 00:16:04,320 --> 00:16:05,360 because, you know, 2005, 406 00:16:06,380 --> 00:16:06,920 September 21, 407 00:16:08,800 --> 00:16:10,720 1605 and 45 seconds in the afternoon. 408 00:16:11,940 --> 00:16:12,300 And 409 00:16:12,300 --> 00:16:13,740 here's the sort number, 1163 410 00:16:16,400 --> 00:16:16,760 0332309. 411 00:16:17,520 --> 00:16:18,240 And these are 412 00:16:18,240 --> 00:16:19,560 really simple just to look at and go, 413 00:16:19,680 --> 00:16:21,340 oh, okay, that makes sense, because they print the 414 00:16:21,340 --> 00:16:23,320 serial number right there on the receipt, for example. 415 00:16:24,760 --> 00:16:25,120 But, 416 00:16:25,720 --> 00:16:27,360 the dollar value I couldn't figure out. 417 00:16:27,480 --> 00:16:29,880 I mean, it's F03F. 418 00:16:29,960 --> 00:16:32,240 What is that? That's not 1. That doesn't make any sense to me. 419 00:16:33,000 --> 00:16:33,360 So, 420 00:16:33,920 --> 00:16:36,240 it turns out that this is like the one part 421 00:16:36,380 --> 00:16:37,800 of the system that's over-engineered. 422 00:16:38,280 --> 00:16:39,980 Because, so like, 423 00:16:40,040 --> 00:16:41,540 here's some values. 424 00:16:41,900 --> 00:16:43,680 Here's $1, 1 cent, 425 00:16:44,320 --> 00:16:46,020 5 cents, 20 bucks. 426 00:16:46,780 --> 00:16:47,220 So, 427 00:16:48,920 --> 00:16:49,540 I mean, 428 00:16:49,620 --> 00:16:52,120 looking at it, basically, I couldn't figure it out. 429 00:16:52,500 --> 00:16:54,060 I went to friends, 430 00:16:54,140 --> 00:16:55,580 I'm like, does this look like anything to you? 431 00:16:55,760 --> 00:16:58,560 I spent months racking my brain 432 00:16:58,560 --> 00:16:59,820 over what could this possibly be. 433 00:17:00,280 --> 00:17:01,880 And then finally I said, oh yeah, Google. 434 00:17:05,320 --> 00:17:06,160 And I took 435 00:17:06,380 --> 00:17:08,060 I think it was the $1 value 436 00:17:08,060 --> 00:17:10,280 and I plugged it into Google, and it turns 437 00:17:10,280 --> 00:17:12,100 out that, oh, it's 438 00:17:12,100 --> 00:17:14,160 IEEE 754 double precision 439 00:17:14,160 --> 00:17:15,200 floating point format. 440 00:17:17,500 --> 00:17:18,120 Yeah. 441 00:17:19,680 --> 00:17:22,400 Why they're using double precision floating point values 442 00:17:22,400 --> 00:17:24,060 for dollar amounts is beyond me 443 00:17:24,060 --> 00:17:25,600 when it's just integers, but 444 00:17:27,020 --> 00:17:27,640 supposedly, 445 00:17:28,150 --> 00:17:30,120 you can store 99, 446 00:17:30,300 --> 00:17:31,440 what is this, 99 447 00:17:32,320 --> 00:17:32,940 mil... 448 00:17:35,640 --> 00:17:36,260 99 449 00:17:36,380 --> 00:17:37,800 thousand centillion, 450 00:17:38,000 --> 00:17:39,460 a hundred thousand centillion dollars 451 00:17:39,460 --> 00:17:40,420 is what this is. 452 00:17:41,180 --> 00:17:43,840 And just to give you an idea of what this number is, 453 00:17:44,020 --> 00:17:45,560 you take a Google and you cube it, 454 00:17:46,380 --> 00:17:48,300 and then you multiply it 455 00:17:48,300 --> 00:17:49,600 by like a hundred million or some such, 456 00:17:49,660 --> 00:17:50,360 you get this number. 457 00:17:52,400 --> 00:17:54,100 And so, there's, 458 00:17:54,100 --> 00:17:55,740 I don't think there's a Google of 459 00:17:56,380 --> 00:17:57,940 subatomic particles in their own universe. 460 00:17:58,360 --> 00:18:00,380 But you can store more than that 461 00:18:00,380 --> 00:18:01,800 in dollars on this card. 462 00:18:04,460 --> 00:18:04,900 Yeah. 463 00:18:07,180 --> 00:18:08,180 When you try to 464 00:18:08,180 --> 00:18:10,120 cash that out, I guess maybe they'll look at you 465 00:18:10,120 --> 00:18:11,780 kind of askance, like, I don't know, maybe 466 00:18:11,780 --> 00:18:13,600 you're the Nigerian government or something. 467 00:18:15,460 --> 00:18:16,380 Trying to cash 468 00:18:16,380 --> 00:18:18,000 this out. You're the finance 469 00:18:18,000 --> 00:18:18,780 minister of Nigeria. 470 00:18:21,860 --> 00:18:23,500 So yeah, it's 308 decimal places. 471 00:18:24,560 --> 00:18:26,000 In practice, of course, this is 472 00:18:26,000 --> 00:18:28,300 totally useless, but yeah, this is the one part of the system 473 00:18:28,300 --> 00:18:29,980 that is completely over-engineered. 474 00:18:30,480 --> 00:18:31,420 Everything else is not. 475 00:18:33,700 --> 00:18:34,260 I'm sorry? 476 00:18:36,840 --> 00:18:38,000 Audience member 2 477 00:18:39,900 --> 00:18:41,020 repeat the question? 478 00:18:45,800 --> 00:18:48,240 The question is, could this have been 479 00:18:48,240 --> 00:18:50,300 reused from something else the company created? 480 00:18:50,680 --> 00:18:52,360 Um, it's possible. 481 00:18:52,600 --> 00:18:54,440 The company's been around a little 482 00:18:54,440 --> 00:18:56,180 longer than this system, but 483 00:18:56,180 --> 00:18:58,220 based on the fact that this is now their 484 00:18:58,220 --> 00:18:58,920 only product, 485 00:18:59,800 --> 00:19:01,000 I don't think so. 486 00:19:02,900 --> 00:19:04,020 Who knows? Maybe. 487 00:19:05,840 --> 00:19:06,360 Audience member 2 488 00:19:06,380 --> 00:19:08,000 How many copies this is? 489 00:19:08,520 --> 00:19:10,120 Well, okay. 490 00:19:10,240 --> 00:19:12,460 It would probably overrun 491 00:19:12,460 --> 00:19:13,720 the entire city with paper. 492 00:19:13,860 --> 00:19:14,640 Buried in paper. 493 00:19:15,660 --> 00:19:16,180 Audience member 2 494 00:19:16,180 --> 00:19:19,960 All of the copies, yes. Asterisk copies. 495 00:19:21,700 --> 00:19:22,220 So, 496 00:19:22,260 --> 00:19:24,260 the card itself, the data on the card 497 00:19:24,260 --> 00:19:26,140 is protected by a 3 byte security code. 498 00:19:26,220 --> 00:19:27,600 24 bits of code. 499 00:19:28,300 --> 00:19:30,420 And so there's 16.7 million 500 00:19:30,420 --> 00:19:31,940 possible combinations. And 501 00:19:31,940 --> 00:19:34,260 my basic research led me to believe 502 00:19:34,260 --> 00:19:36,340 that all the Kinko's cards probably have 503 00:19:36,380 --> 00:19:37,760 the same code. Because 504 00:19:37,760 --> 00:19:40,360 the blank cards from the kiosk don't have 505 00:19:40,360 --> 00:19:42,180 the manufacturer's default code, which is 506 00:19:42,180 --> 00:19:43,480 I think, you know, 507 00:19:43,480 --> 00:19:45,820 six F's all in a row. 508 00:19:47,000 --> 00:19:48,000 And if you, 509 00:19:48,080 --> 00:19:50,260 the code could theoretically be derived from changeable 510 00:19:50,260 --> 00:19:51,680 data on the card, but 511 00:19:52,180 --> 00:19:54,200 if somehow that data got corrupted, 512 00:19:54,720 --> 00:19:56,180 then you wouldn't be able to derive 513 00:19:56,180 --> 00:19:58,080 the security code, and the customer would be, 514 00:19:58,220 --> 00:20:00,100 you know, stuck with whatever 515 00:20:00,100 --> 00:20:02,500 money was left on the card. 20 bucks, angry customer, 516 00:20:02,640 --> 00:20:03,240 that's not worth it. 517 00:20:03,840 --> 00:20:06,160 And everything about this card is just really simple 518 00:20:06,380 --> 00:20:08,300 anyway, so why would they bother? 519 00:20:10,680 --> 00:20:11,080 So, 520 00:20:12,260 --> 00:20:14,080 now comes the time to start formulating an attack. 521 00:20:14,900 --> 00:20:16,380 The security code can only be 522 00:20:16,380 --> 00:20:18,220 read once the correct code has been written 523 00:20:18,220 --> 00:20:20,000 to the card. So you can't just, you know, 524 00:20:20,000 --> 00:20:21,480 stick the card in your reader and say, 525 00:20:21,540 --> 00:20:23,520 tell me the security code, because this is gonna go, no. 526 00:20:25,240 --> 00:20:25,640 So, 527 00:20:26,100 --> 00:20:27,520 this is the, um, 528 00:20:27,620 --> 00:20:30,060 this graphic is from the spec sheet for the chip. 529 00:20:30,440 --> 00:20:31,900 This isn't the exact graphic, I just 530 00:20:31,900 --> 00:20:34,300 redrew it in the slideshow program, 531 00:20:34,480 --> 00:20:36,160 but this is pretty much the 532 00:20:36,940 --> 00:20:38,440 block diagram of how you read 533 00:20:38,440 --> 00:20:39,180 and write to this chip. 534 00:20:40,660 --> 00:20:42,200 All writes have to go through the 535 00:20:42,200 --> 00:20:44,080 security logic. And 536 00:20:44,080 --> 00:20:46,260 there's an error counter to count how many times 537 00:20:46,260 --> 00:20:48,320 you got it wrong, and the security code is 538 00:20:48,320 --> 00:20:50,240 stored in there, but it won't read that back 539 00:20:50,240 --> 00:20:51,720 to you. You can't read this back out. 540 00:20:52,440 --> 00:20:54,380 Unless you've written the correct code to it. 541 00:20:55,380 --> 00:20:55,780 So, 542 00:20:56,220 --> 00:20:58,400 how do we do this? Well, the first possible 543 00:20:58,400 --> 00:21:00,420 attack is a social engineering attack on the company 544 00:21:00,420 --> 00:21:02,460 that makes the system. The second 545 00:21:02,460 --> 00:21:04,320 one is to emulate the card somehow. 546 00:21:05,040 --> 00:21:06,360 The third, you intercept the card 547 00:21:06,380 --> 00:21:08,320 during transmission between the reader 548 00:21:08,320 --> 00:21:10,000 and the card, or you can 549 00:21:10,000 --> 00:21:11,080 read the memory directly. 550 00:21:11,800 --> 00:21:13,320 And these are all feasible somehow. 551 00:21:14,360 --> 00:21:16,200 The social engineering attack, in theory, 552 00:21:16,260 --> 00:21:18,340 you contact N-Track and pretend to be 553 00:21:18,800 --> 00:21:20,200 someone, you extract the code 554 00:21:20,200 --> 00:21:21,840 from some unsuspecting employee. 555 00:21:23,140 --> 00:21:24,020 So, obviously 556 00:21:24,020 --> 00:21:26,480 the pros requires at least technical jiggery-pokery 557 00:21:26,480 --> 00:21:28,440 just to pick up your phone and be a good talker. 558 00:21:28,880 --> 00:21:30,400 The problem is that the code 559 00:21:30,400 --> 00:21:32,180 might theoretically be so secret 560 00:21:32,180 --> 00:21:34,260 that no one but the N-Track engineers know 561 00:21:34,260 --> 00:21:35,980 about it. I mean, 562 00:21:36,820 --> 00:21:38,460 they seem to have put all their 563 00:21:38,460 --> 00:21:40,040 eggs in this one 24-bit 564 00:21:40,560 --> 00:21:42,040 code, so, maybe, 565 00:21:42,260 --> 00:21:43,860 right? Could be in a safe somewhere. 566 00:21:44,360 --> 00:21:46,300 And the safe combination is that code, 567 00:21:46,420 --> 00:21:46,540 right? 568 00:21:49,060 --> 00:21:50,280 It's tough to repeat this attack 569 00:21:50,280 --> 00:21:52,100 if the code has changed, because then, you know, 570 00:21:52,180 --> 00:21:53,760 wait a second, every time we change the code, 571 00:21:54,220 --> 00:21:56,200 the same person calls back and says, 572 00:21:56,300 --> 00:21:57,320 hey, I need to know the code. 573 00:21:58,380 --> 00:22:00,280 And there's no technical challenge. It's just, 574 00:22:00,340 --> 00:22:01,440 you know, talking on the phone. 575 00:22:01,760 --> 00:22:03,160 And we all do that, right? 576 00:22:04,940 --> 00:22:06,320 You could emulate the SLE 577 00:22:06,380 --> 00:22:07,100 4442. 578 00:22:07,400 --> 00:22:09,820 When they sell development kits for smart cards, 579 00:22:09,940 --> 00:22:12,480 they sell a dongle 580 00:22:12,480 --> 00:22:14,160 that you connect 581 00:22:14,160 --> 00:22:16,460 to your computer, and on the end of it 582 00:22:16,460 --> 00:22:18,340 is this thing with contact points on it 583 00:22:18,340 --> 00:22:19,240 and pretends to be a chip. 584 00:22:20,540 --> 00:22:22,460 So, it's fairly foolproof 585 00:22:22,460 --> 00:22:24,420 and you can, you know, figure everything 586 00:22:24,420 --> 00:22:26,080 out, and you can have your computer say, 587 00:22:26,300 --> 00:22:28,480 oh, that's what it's thinking the code is. 588 00:22:28,560 --> 00:22:29,960 Okay, well, there we go. 589 00:22:31,040 --> 00:22:32,240 The emulator dongles 590 00:22:32,240 --> 00:22:34,060 are kind of bulky, and the problem is that 591 00:22:34,060 --> 00:22:35,980 Kinko's uses this motorized card transport 592 00:22:35,980 --> 00:22:37,940 where the card goes like an 593 00:22:37,940 --> 00:22:39,200 inch or two into the reader. 594 00:22:39,600 --> 00:22:41,980 So, unless you've got a really flat ribbon cable coming off the back 595 00:22:41,980 --> 00:22:43,920 of it, it's kind of tough to use with this 596 00:22:43,920 --> 00:22:44,620 motorized transport. 597 00:22:45,420 --> 00:22:46,860 And the second problem is that 598 00:22:47,560 --> 00:22:49,820 because these are typically for microprocessor cards, 599 00:22:49,900 --> 00:22:51,680 more complex chips, the emulation 600 00:22:51,680 --> 00:22:54,000 software for this really simple chip might not exist at all. 601 00:22:55,920 --> 00:22:57,800 The other option for the emulation 602 00:22:57,800 --> 00:23:00,040 attack is to find a microprocessor 603 00:23:00,040 --> 00:23:01,800 based smart card that can behave just 604 00:23:01,800 --> 00:23:03,340 like the SLE 4442. 605 00:23:04,380 --> 00:23:06,000 And, I mean, it would be easy to 606 00:23:06,000 --> 00:23:07,920 do because, I mean, you know, you just go 607 00:23:07,920 --> 00:23:09,460 in with a card like this, 608 00:23:09,680 --> 00:23:11,920 you know, I've got a laundry card 609 00:23:11,920 --> 00:23:14,040 that's also a smart card that's also just 610 00:23:14,040 --> 00:23:14,840 a plain white card. 611 00:23:15,600 --> 00:23:17,900 It's got text on the back that says, treat this card just like 612 00:23:17,900 --> 00:23:19,640 cash. Disclaimer, disclaimer, disclaimer. 613 00:23:19,900 --> 00:23:21,960 But other than that, it's plain white. So, I mean, 614 00:23:22,000 --> 00:23:23,980 you know, the average person might stick 615 00:23:23,980 --> 00:23:26,060 any random card in the reader, so why not 616 00:23:26,060 --> 00:23:27,980 you? So you just go and you stick the card 617 00:23:27,980 --> 00:23:30,020 in and you walk back out and you go 618 00:23:30,020 --> 00:23:31,480 home and you say, oh, hey, here's the code. 619 00:23:32,620 --> 00:23:33,240 But, um, 620 00:23:34,320 --> 00:23:34,760 unfortunately, 621 00:23:35,720 --> 00:23:37,880 and it's really elegant because any system 622 00:23:37,880 --> 00:23:39,780 that uses this type of chip would be vulnerable 623 00:23:39,780 --> 00:23:42,000 because, by design, if you want to write 624 00:23:42,000 --> 00:23:43,820 to the card, you've got to present 625 00:23:43,820 --> 00:23:45,360 that code. And you can't, and 626 00:23:45,360 --> 00:23:48,040 so, any, like, there's 627 00:23:48,040 --> 00:23:49,780 this chip isn't just used in Kinkos, 628 00:23:49,880 --> 00:23:51,600 it's used in, like, 629 00:23:51,680 --> 00:23:54,100 loyalty card programs, and I think 630 00:23:54,100 --> 00:23:55,960 for a time, like, the German government's healthcare 631 00:23:55,960 --> 00:23:58,020 system used this card. I hope they've changed 632 00:23:58,020 --> 00:23:59,880 to something better. I don't know for sure. 633 00:24:00,320 --> 00:24:01,900 Anyone from Germany 634 00:24:01,900 --> 00:24:03,500 can confirm or deny that? 635 00:24:04,420 --> 00:24:04,860 Yeah? 636 00:24:06,460 --> 00:24:06,900 Okay. 637 00:24:09,140 --> 00:24:09,740 Thanks, thank. 638 00:24:11,100 --> 00:24:11,540 And 639 00:24:12,060 --> 00:24:14,020 the problem with this is every micro-browser 640 00:24:14,020 --> 00:24:15,600 card I've looked at follows the ISO 641 00:24:16,160 --> 00:24:17,400 7816-4 standard, 642 00:24:17,560 --> 00:24:20,120 and not the SLI 4442 643 00:24:20,120 --> 00:24:22,060 communication protocol. So you'd have 644 00:24:22,060 --> 00:24:23,880 to either find one that can do it, 645 00:24:23,960 --> 00:24:25,820 or you'd have to be a really, really awesome, 646 00:24:25,960 --> 00:24:27,980 you know, FPGA 647 00:24:27,980 --> 00:24:29,720 or whatever the type of chip you use, 648 00:24:29,820 --> 00:24:31,480 and I'm not that good a coder, so. 649 00:24:33,080 --> 00:24:33,960 You could intercept 650 00:24:34,060 --> 00:24:35,980 the security code by using a logic analyzer 651 00:24:35,980 --> 00:24:38,040 and wiring, you know, some wires up 652 00:24:38,040 --> 00:24:40,000 to the card. The easy 653 00:24:40,000 --> 00:24:41,980 part about this is that the logic analyzers 654 00:24:41,980 --> 00:24:44,240 are small and transportable. The logic analyzer 655 00:24:44,240 --> 00:24:45,920 that I bought is about as 656 00:24:45,920 --> 00:24:48,000 big as this little remote that I'm using. 657 00:24:48,320 --> 00:24:49,560 It's a little bulkier, 658 00:24:49,700 --> 00:24:51,920 but for the most part it can fit easily 659 00:24:51,920 --> 00:24:53,140 in a pocket or a laptop bag. 660 00:24:54,220 --> 00:24:55,900 And you can hide the wiring really 661 00:24:55,900 --> 00:24:57,980 easily, so there's 662 00:24:57,980 --> 00:24:59,920 little chance of card rejection because you're using 663 00:24:59,920 --> 00:25:01,980 the actual card. You're not using some emulation 664 00:25:01,980 --> 00:25:04,040 chip or whatever. And the 665 00:25:04,060 --> 00:25:05,780 problem is, unless you have a lot of cards, 666 00:25:05,900 --> 00:25:07,860 it's easy to screw up if you're not good with a soldering iron. 667 00:25:08,120 --> 00:25:09,740 And I'm kind of klutzy with a soldering iron, 668 00:25:09,900 --> 00:25:11,580 so I managed to screw up a few cards. 669 00:25:13,860 --> 00:25:16,100 Or you could do the really, really, 670 00:25:16,200 --> 00:25:18,020 you know, expensive thing and burn 671 00:25:18,020 --> 00:25:19,880 the epoxy off the back of the chip and 672 00:25:19,880 --> 00:25:21,880 read the security memory directly if you've got an electron 673 00:25:21,880 --> 00:25:23,600 microscope, etc., etc., etc. 674 00:25:25,380 --> 00:25:25,740 So, 675 00:25:26,300 --> 00:25:27,960 let's get to the attack. 676 00:25:29,140 --> 00:25:29,500 So, 677 00:25:29,560 --> 00:25:31,760 the logic analyzer attack is the one I picked. 678 00:25:31,880 --> 00:25:33,840 In a perfect world, I would use something similar 679 00:25:34,060 --> 00:25:35,900 to this. Which, this is a picture 680 00:25:35,900 --> 00:25:37,180 I took today. There's a vendor 681 00:25:37,620 --> 00:25:39,440 in the vendor area who has these 682 00:25:41,160 --> 00:25:41,960 who makes 683 00:25:41,960 --> 00:25:43,780 prefab boards of any kind whatsoever. 684 00:25:44,060 --> 00:25:45,760 And one of the examples they have is the smart 685 00:25:45,760 --> 00:25:48,040 card board. So, this would be really awesome 686 00:25:48,040 --> 00:25:50,120 because you can't see it too well in the picture, 687 00:25:50,220 --> 00:25:51,480 but there's these contact points here 688 00:25:52,000 --> 00:25:54,080 and there's these leads going back 689 00:25:54,080 --> 00:25:55,980 to contact points on the back of the card 690 00:25:55,980 --> 00:25:58,220 that you can connect the logic analyzer 691 00:25:58,220 --> 00:26:00,000 to. So you've got a tail off the end and a 692 00:26:00,000 --> 00:26:01,400 pin header, and there you go. 693 00:26:02,120 --> 00:26:03,960 That's a really clean, really elegant way to do it. 694 00:26:04,060 --> 00:26:05,880 But, this is not a perfect world 695 00:26:05,880 --> 00:26:07,860 and I don't have that, so I resorted to soldering wires 696 00:26:07,860 --> 00:26:09,920 to the card and making this 697 00:26:09,920 --> 00:26:11,720 really, you know, ghetto 698 00:26:12,500 --> 00:26:14,020 do-it-yourself ribbon cable 699 00:26:14,020 --> 00:26:15,580 thing coming off the back of the card. 700 00:26:18,680 --> 00:26:19,820 If you look at my 701 00:26:19,820 --> 00:26:22,040 awesome 31,337 702 00:26:22,040 --> 00:26:23,860 soldering skills, you can see that I got the solder 703 00:26:23,860 --> 00:26:25,940 all over the place and it's like de-soldered little bits 704 00:26:25,940 --> 00:26:26,200 and 705 00:26:28,240 --> 00:26:29,520 I blow at soldering. 706 00:26:31,280 --> 00:26:32,200 Just to give you 707 00:26:32,200 --> 00:26:33,840 a little more detail of how this works, 708 00:26:34,060 --> 00:26:35,680 this is a test card that I have with me here 709 00:26:36,800 --> 00:26:37,800 and I used really 710 00:26:37,800 --> 00:26:39,380 thin bits of transformer wire 711 00:26:40,140 --> 00:26:41,980 and I think this was one of the tests 712 00:26:41,980 --> 00:26:43,340 I did. Because 713 00:26:44,220 --> 00:26:45,880 the solder increases the thickness 714 00:26:45,880 --> 00:26:47,940 of the card, I wasn't sure whether this would just jam 715 00:26:47,940 --> 00:26:49,860 in the reader. So there were a number of tests 716 00:26:49,860 --> 00:26:51,880 I did where I just taped 717 00:26:51,880 --> 00:26:54,040 a piece of wire to the card and went to Kinko's and stuck it 718 00:26:54,040 --> 00:26:55,580 in the reader, or I 719 00:26:55,580 --> 00:26:57,940 just put some solder on one of the 720 00:26:57,940 --> 00:26:59,260 contacts and went to Kinko's 721 00:27:00,560 --> 00:27:01,660 and put it in the reader 722 00:27:03,120 --> 00:27:03,840 and tried 723 00:27:04,060 --> 00:27:05,720 to see whether it would work or not and I figured 724 00:27:05,720 --> 00:27:07,660 well, if these get stuck, I can just 725 00:27:07,660 --> 00:27:09,580 walk off and never go to that Kinko's again. 726 00:27:12,020 --> 00:27:13,820 But fortunately, because 727 00:27:14,680 --> 00:27:15,880 the card readers use a 728 00:27:15,880 --> 00:27:17,740 landing type contact, where basically the card goes 729 00:27:17,740 --> 00:27:19,860 into the reader and then once it's fully 730 00:27:19,860 --> 00:27:21,780 in, the contact points are lowered 731 00:27:21,780 --> 00:27:22,800 onto the card, 732 00:27:23,920 --> 00:27:25,000 this worked just fine. 733 00:27:25,620 --> 00:27:27,020 So I got all the cards back 734 00:27:27,020 --> 00:27:28,460 and nothing got stuck. 735 00:27:30,380 --> 00:27:31,920 So what I did was I took 736 00:27:31,920 --> 00:27:33,560 my little thing to Kinko's 737 00:27:34,060 --> 00:27:35,800 and I've got, if you can imagine, my laptop 738 00:27:35,800 --> 00:27:37,380 and I've got the 739 00:27:37,860 --> 00:27:39,780 wire going, the USB cable going 740 00:27:39,780 --> 00:27:41,820 from the laptop to the logic analyzer which is 741 00:27:41,820 --> 00:27:43,700 hidden in the bag and then I've got 742 00:27:43,700 --> 00:27:45,880 wires running from 743 00:27:45,880 --> 00:27:47,900 the logic analyzer to this pin header on the back 744 00:27:47,900 --> 00:27:49,720 of the thing and then I've got 745 00:27:49,720 --> 00:27:51,940 the card that I'm sticking into the kiosk. 746 00:27:52,780 --> 00:27:53,660 And fortunately 747 00:27:53,660 --> 00:27:56,020 for me, Kinko's has this 748 00:27:56,780 --> 00:27:57,620 section where 749 00:27:57,620 --> 00:27:59,640 you can sit down with your laptop 750 00:27:59,640 --> 00:28:01,820 and plug their stuff into it 751 00:28:01,820 --> 00:28:03,920 and you get to use 752 00:28:04,060 --> 00:28:05,360 their internet connection for like 753 00:28:05,360 --> 00:28:07,840 I think 25 cents 754 00:28:07,840 --> 00:28:09,840 a minute or something like that, something ridiculous. 755 00:28:10,400 --> 00:28:12,040 Like AT&T long distance rates 756 00:28:12,040 --> 00:28:13,080 from 1978 rates. 757 00:28:14,260 --> 00:28:15,920 There's no cameras in this area? 758 00:28:16,260 --> 00:28:17,940 Oh there's cameras, there's cameras 759 00:28:17,940 --> 00:28:19,980 but if you look where the camera is 760 00:28:19,980 --> 00:28:21,840 it's kind of, there's only, it's not like 761 00:28:21,840 --> 00:28:23,540 they have cameras at every station, so 762 00:28:23,860 --> 00:28:26,060 if you go to one where the camera's off on one end 763 00:28:26,060 --> 00:28:27,640 and the laptop station's on the other end 764 00:28:27,640 --> 00:28:29,780 and you have someone come with you 765 00:28:29,780 --> 00:28:31,880 and stand behind you and you just do this 766 00:28:31,880 --> 00:28:32,280 really quickly. 767 00:28:34,060 --> 00:28:35,900 So you set your logic analyzer to 768 00:28:36,660 --> 00:28:37,380 read the data 769 00:28:37,380 --> 00:28:39,740 and you stick the card into the thing and it reads 770 00:28:39,740 --> 00:28:40,840 and spits it back out at you. 771 00:28:41,100 --> 00:28:43,460 Then you stick the card into the thing and it spits it back out at you. 772 00:28:43,720 --> 00:28:45,360 You do it a couple times just to be sure. 773 00:28:45,480 --> 00:28:47,540 You get a couple data captures and you pack up your stuff 774 00:28:47,540 --> 00:28:48,040 and you walk home. 775 00:28:48,940 --> 00:28:50,340 And so you walk home and you 776 00:28:50,780 --> 00:28:53,180 pull the data out of the logic analyzer and you get this. 777 00:28:53,760 --> 00:28:55,820 Just a stream of binary digits. 778 00:28:55,980 --> 00:28:57,640 Ones and zeros and ones and zeros 779 00:28:57,640 --> 00:28:58,260 and ones and zeros. 780 00:28:59,460 --> 00:29:00,860 So on their own 781 00:29:01,380 --> 00:29:03,680 this doesn't really, the problem is this doesn't really 782 00:29:04,060 --> 00:29:05,620 chop up cleanly into individual bytes 783 00:29:05,620 --> 00:29:07,940 because there's a lot of things where it'll read 784 00:29:07,940 --> 00:29:09,580 ones where the card is processing 785 00:29:09,580 --> 00:29:11,800 and the card will just process and process 786 00:29:11,800 --> 00:29:13,240 and process and it'll go, okay I'm done. 787 00:29:13,720 --> 00:29:16,100 But it won't actually be on any divisible 788 00:29:16,100 --> 00:29:16,700 number by eight. 789 00:29:17,440 --> 00:29:19,980 So you've got to actually manually step through 790 00:29:19,980 --> 00:29:21,600 this and figure out 791 00:29:21,600 --> 00:29:23,700 where the codes are 792 00:29:23,700 --> 00:29:24,600 and what's happening. 793 00:29:24,980 --> 00:29:26,580 So you've got to have a little patience. 794 00:29:27,460 --> 00:29:28,520 If you look at the 795 00:29:29,980 --> 00:29:31,220 spec sheet for this card, 796 00:29:31,360 --> 00:29:33,640 these are the commands to operate the card. 797 00:29:34,060 --> 00:29:35,340 Read the main memory, update the memory, 798 00:29:35,600 --> 00:29:38,100 read and write the protection memory, read and write the security memory 799 00:29:38,100 --> 00:29:39,940 and compare verification data. 800 00:29:40,680 --> 00:29:41,900 And if you look in the manual 801 00:29:41,900 --> 00:29:43,720 there's a very specific sequence of these commands 802 00:29:43,720 --> 00:29:45,940 that you need to present to the 803 00:29:45,940 --> 00:29:48,020 card in order to open it up for writing. 804 00:29:48,320 --> 00:29:49,180 So you need to 805 00:29:49,180 --> 00:29:51,880 I think read something twice and then 806 00:29:51,880 --> 00:29:53,820 present the security code one 807 00:29:53,820 --> 00:29:55,340 byte at a time using these commands. 808 00:29:55,960 --> 00:29:57,820 And so you just have to look for that pattern 809 00:29:57,820 --> 00:29:58,260 in the data. 810 00:29:59,240 --> 00:30:01,040 So there's a command structure to these. 811 00:30:01,260 --> 00:30:03,380 There's the command byte, there's the address byte, 812 00:30:04,060 --> 00:30:04,200 there's the data byte. 813 00:30:06,420 --> 00:30:08,060 So here's the security code presentation 814 00:30:08,060 --> 00:30:09,240 thing I was just talking about. 815 00:30:09,440 --> 00:30:11,920 You read the security memory, you update the security 816 00:30:11,920 --> 00:30:13,560 memory, and then you write the compare verification 817 00:30:13,560 --> 00:30:15,820 data in three steps, one byte at a time. 818 00:30:16,360 --> 00:30:17,540 Update security memory again, 819 00:30:17,700 --> 00:30:18,940 and then read security memory. 820 00:30:19,180 --> 00:30:21,140 And if you've done that correctly, it'll say 821 00:30:21,700 --> 00:30:23,740 okay, the security counter's reset to three 822 00:30:23,740 --> 00:30:24,720 and you're set to go. 823 00:30:25,080 --> 00:30:27,240 And if not, the security counter will decrement to two 824 00:30:27,240 --> 00:30:28,540 or to one or to zero. 825 00:30:31,220 --> 00:30:32,020 So here's 826 00:30:32,020 --> 00:30:34,040 stepping through the data byte by byte. 827 00:30:34,060 --> 00:30:35,980 So here's the answer 828 00:30:35,980 --> 00:30:37,620 to reset, and these are the first four bytes 829 00:30:37,620 --> 00:30:39,340 of data stored on the card 830 00:30:39,340 --> 00:30:41,720 in that right protected header. 831 00:30:42,000 --> 00:30:43,160 Here's the processing cycle. 832 00:30:43,360 --> 00:30:45,820 Read main memory from byte 15 to the end. 833 00:30:46,020 --> 00:30:47,580 And so then there's processing cycle 834 00:30:47,580 --> 00:30:48,920 and it starts dumping everything out. 835 00:30:48,980 --> 00:30:51,280 Here's the main header, here's the value, 836 00:30:51,500 --> 00:30:53,480 time stamp, and so on and so forth. 837 00:30:54,240 --> 00:30:55,480 So do this 838 00:30:55,480 --> 00:30:57,580 many thousands of bytes later. 839 00:30:58,520 --> 00:30:59,700 And you find this. 840 00:31:03,140 --> 00:31:03,980 So it says 841 00:31:04,060 --> 00:31:04,880 read the security memory. 842 00:31:05,680 --> 00:31:07,840 Okay. Update security memory. 843 00:31:08,000 --> 00:31:09,840 Okay. Card's processing, processing, processing. 844 00:31:10,520 --> 00:31:11,660 Compare verification data. 845 00:31:12,240 --> 00:31:13,940 Byte one, hey, here's the first byte 846 00:31:13,940 --> 00:31:14,700 of the security code. 847 00:31:15,800 --> 00:31:17,480 Here's the second byte of the security code. 848 00:31:17,620 --> 00:31:19,240 Here's the third byte of the security code. 849 00:31:19,760 --> 00:31:21,580 Update security memory. I'm like, oh, wait a second, 850 00:31:21,660 --> 00:31:23,400 why do I need to keep going? I found it. 851 00:31:24,660 --> 00:31:25,320 And if you've 852 00:31:26,020 --> 00:31:27,880 for those of you who were in the back and can't 853 00:31:27,880 --> 00:31:29,780 read this, I've taken the security code 854 00:31:29,780 --> 00:31:30,640 and replaced it with X's. 855 00:31:30,640 --> 00:31:32,580 And then down here 856 00:31:32,580 --> 00:31:33,820 it says, why hello there. 857 00:31:34,960 --> 00:31:36,240 I'm the information security 858 00:31:36,240 --> 00:31:37,440 responsibility cupcake. 859 00:31:38,320 --> 00:31:40,440 And it's my job to tell you that you're gonna have to 860 00:31:40,440 --> 00:31:41,740 figure out the security code for yourself. 861 00:31:43,020 --> 00:31:44,020 Also, dead hookers. 862 00:31:47,400 --> 00:31:48,400 I figured it would be 863 00:31:48,400 --> 00:31:50,660 grossly irresponsible of me to just give you people the code. 864 00:31:52,760 --> 00:31:54,080 Because I'm sure there are some 865 00:31:54,640 --> 00:31:56,460 in the audience and not the audience who would just 866 00:31:56,460 --> 00:31:58,200 take the code and then all of a sudden 867 00:31:58,200 --> 00:32:00,620 Kinko's is losing millions of dollars. 868 00:32:00,640 --> 00:32:02,340 Just random people 869 00:32:02,340 --> 00:32:04,680 coming in and making hundreds of thousands of copies 870 00:32:04,680 --> 00:32:05,200 for no reason. 871 00:32:05,840 --> 00:32:08,400 And then, oh, who's that schmuck who presented 872 00:32:08,400 --> 00:32:09,800 about this at the DEF CON? Oh. 873 00:32:10,280 --> 00:32:10,720 Me. 874 00:32:12,860 --> 00:32:13,300 So. 875 00:32:14,520 --> 00:32:15,960 Manipulating the card is really easy. 876 00:32:16,080 --> 00:32:18,480 Let me turn this off. 877 00:32:20,460 --> 00:32:22,460 And I'll open up the program that you 878 00:32:22,460 --> 00:32:23,100 use to do this. 879 00:32:34,160 --> 00:32:35,460 Stick the card in the reader here. 880 00:32:36,080 --> 00:32:38,460 I'm gonna use the basic 881 00:32:38,460 --> 00:32:40,020 blank one so I don't give you guys the 882 00:32:40,020 --> 00:32:40,980 real security code. 883 00:32:42,940 --> 00:32:44,720 So here's the SLE4442. 884 00:32:45,560 --> 00:32:46,440 And here's the 885 00:32:46,440 --> 00:32:46,820 main memory. 886 00:32:52,500 --> 00:32:54,080 This card's blank. It's all 887 00:32:55,200 --> 00:32:55,880 all ones. 888 00:32:56,860 --> 00:32:58,640 So let's present the security code. 889 00:33:01,540 --> 00:33:02,620 And hey, we got it right. 890 00:33:02,900 --> 00:33:04,440 This software's a little buggy. It says 891 00:33:04,440 --> 00:33:06,240 incorrect remaining chances equals three. 892 00:33:08,000 --> 00:33:08,360 But 893 00:33:09,120 --> 00:33:10,620 now that we know the code, we can 894 00:33:10,620 --> 00:33:11,340 write to it. So. 895 00:33:12,360 --> 00:33:12,880 You know. 896 00:33:15,600 --> 00:33:16,320 Dead beef. 897 00:33:18,900 --> 00:33:19,260 Cafe. 898 00:33:20,460 --> 00:33:20,820 1111. 899 00:33:25,540 --> 00:33:25,900 31337. 900 00:33:28,000 --> 00:33:28,780 Oh, oh, oh, oh. 901 00:33:30,640 --> 00:33:31,100 And there we go. 902 00:33:31,680 --> 00:33:33,820 So we've written to the card, simple as pie. 903 00:33:34,840 --> 00:33:35,920 And to prove that 904 00:33:35,920 --> 00:33:38,320 that we can write to the 905 00:33:38,320 --> 00:33:39,520 Kinko's card, I'm gonna take this out. 906 00:33:39,980 --> 00:33:41,620 And let me just reset this. 907 00:33:44,500 --> 00:33:46,560 And here's a real Kinko's card. 908 00:33:57,100 --> 00:33:58,360 And here's some data which 909 00:33:58,360 --> 00:34:00,380 wasn't on the card originally. 910 00:34:00,640 --> 00:34:01,820 If we go to ASCII, it says 911 00:34:02,700 --> 00:34:03,380 LOL DEFCON. 912 00:34:11,260 --> 00:34:11,600 So. 913 00:34:12,200 --> 00:34:13,420 Now that we can write to the card, 914 00:34:14,940 --> 00:34:16,160 let's figure out what we can do with it. 915 00:34:18,760 --> 00:34:19,780 Oh boy, internets. 916 00:34:20,460 --> 00:34:22,780 Your balance is $313.37. 917 00:34:23,800 --> 00:34:24,340 Wait a minute. 918 00:34:24,500 --> 00:34:26,420 You can only put $100 on these cards. What the? 919 00:34:29,880 --> 00:34:30,420 So yeah. 920 00:34:30,640 --> 00:34:31,700 This is the proof of concept. 921 00:34:32,580 --> 00:34:34,000 This is the first card I wrote to. I'm like, 922 00:34:34,540 --> 00:34:36,100 here's a value that kind of proves I can write to it. 923 00:34:36,180 --> 00:34:37,120 It ran off. And it worked. 924 00:34:38,280 --> 00:34:39,260 So that was pretty sweet. 925 00:34:42,840 --> 00:34:43,880 So. Now that we can 926 00:34:44,360 --> 00:34:46,280 rewrite these cards, how does the backend system 927 00:34:46,280 --> 00:34:48,060 interface with this? So let's play with it a bit. 928 00:34:49,740 --> 00:34:50,160 I'm sorry? 929 00:34:52,040 --> 00:34:52,320 Okay. 930 00:34:53,200 --> 00:34:54,480 So. Here's the layout 931 00:34:54,480 --> 00:34:56,120 of a typical Kinko's. There's one kiosk. 932 00:34:56,200 --> 00:34:58,280 There's a bunch of PCs. Like maybe one 933 00:34:58,280 --> 00:35:00,600 Mac for all you Mac people out there. 934 00:35:00,700 --> 00:35:02,320 A bunch of copiers and a bunch of 935 00:35:02,320 --> 00:35:02,840 registers. 936 00:35:04,700 --> 00:35:05,860 So. First thing. 937 00:35:05,960 --> 00:35:06,600 Card cloning. 938 00:35:07,580 --> 00:35:09,840 Because each card is individually serial numbered, 939 00:35:10,020 --> 00:35:12,140 does the system have some sort of balance 940 00:35:12,140 --> 00:35:13,360 tracking that it can do? 941 00:35:13,780 --> 00:35:16,340 So. Buy a card. Clone the card. 942 00:35:16,680 --> 00:35:18,160 Make a few Xeroxes with the first 943 00:35:18,160 --> 00:35:20,120 card. And then print receipt with the 944 00:35:20,120 --> 00:35:21,700 cloned card. And 945 00:35:22,160 --> 00:35:23,920 it turns out that when you do this, 946 00:35:24,020 --> 00:35:26,240 like, whether you put the cloned card 947 00:35:26,240 --> 00:35:27,680 in, it'll say, um, okay. 948 00:35:28,280 --> 00:35:30,200 You made two copies at ten cents 949 00:35:30,200 --> 00:35:32,140 each. So that's twenty cents. And your balance 950 00:35:32,140 --> 00:35:32,520 is a dollar. 951 00:35:35,240 --> 00:35:36,160 So it just reads the 952 00:35:36,160 --> 00:35:36,880 balance off the card. 953 00:35:39,360 --> 00:35:40,080 Value alteration. 954 00:35:40,140 --> 00:35:42,080 Does the system throw up red flags if the balance 955 00:35:42,080 --> 00:35:43,880 suddenly changes for no readily apparent reason? 956 00:35:44,380 --> 00:35:46,080 So you do the same thing. You buy a one dollar 957 00:35:46,080 --> 00:35:47,660 card. You rewrite the value to two dollars. 958 00:35:48,060 --> 00:35:50,100 You make several Xeroxes. Of course 959 00:35:50,100 --> 00:35:52,060 less than a dollar worth. Because you don't want to commit fraud. 960 00:35:52,260 --> 00:35:54,180 Obviously. And you print 961 00:35:54,180 --> 00:35:56,140 a receipt at the kiosk. And in this case 962 00:35:56,140 --> 00:35:58,060 it goes, um, oh yeah. 963 00:35:58,280 --> 00:35:59,860 You purchased the card for a dollar. 964 00:35:59,960 --> 00:36:01,860 You made two copies for 965 00:36:01,860 --> 00:36:04,160 ten cents each. So that's twenty cents 966 00:36:04,160 --> 00:36:06,100 off. And your balance is now a dollar 967 00:36:06,100 --> 00:36:06,320 eighty. 968 00:36:08,440 --> 00:36:09,200 No red flags. 969 00:36:10,740 --> 00:36:11,600 Does the system 970 00:36:11,600 --> 00:36:14,100 freak out if the card's serial number is from some 971 00:36:14,100 --> 00:36:15,360 non-existent store somewhere? 972 00:36:16,620 --> 00:36:18,120 Does the system even verify that the 973 00:36:18,120 --> 00:36:19,540 serial number is valid? So 974 00:36:20,100 --> 00:36:22,080 you buy the one dollar card again. You alter the 975 00:36:22,080 --> 00:36:24,280 serial number to store 9968765431. 976 00:36:25,940 --> 00:36:26,260 There is 977 00:36:26,260 --> 00:36:28,160 no store 9968 anywhere in the system. 978 00:36:28,280 --> 00:36:30,140 And you do the same 979 00:36:30,140 --> 00:36:32,220 thing. And it just works fine. Doesn't 980 00:36:32,220 --> 00:36:32,680 even bother. 981 00:36:35,180 --> 00:36:36,200 And, okay, is the 982 00:36:36,200 --> 00:36:38,240 card serial number invalid if you redeem 983 00:36:38,240 --> 00:36:40,100 the card for its stored value? Because you would 984 00:36:40,100 --> 00:36:42,220 think, right, okay, here's someone who turned 985 00:36:42,220 --> 00:36:44,220 the card in. They've got cash back. Let's 986 00:36:44,220 --> 00:36:46,200 make this card not work anymore. That would be the 987 00:36:46,200 --> 00:36:47,220 logical thing to do, right? 988 00:36:48,780 --> 00:36:50,080 So you buy one dollar 989 00:36:50,080 --> 00:36:51,420 card and you destroy it. 990 00:36:51,840 --> 00:36:54,100 So there's the one dollar in the system that you're never 991 00:36:54,100 --> 00:36:56,140 getting back. You buy a dollar card. Make 992 00:36:56,140 --> 00:36:58,040 a Xerox with the card. Clone the card. 993 00:36:58,280 --> 00:37:00,140 Redeem the original card. Make a Xerox with 994 00:37:00,140 --> 00:37:02,240 the clone card. And see what 995 00:37:02,240 --> 00:37:04,240 happens. And it works 996 00:37:04,240 --> 00:37:06,300 just fine. The clone card, even after you redeem 997 00:37:06,300 --> 00:37:08,100 it, still works for Xeroxes. 998 00:37:10,720 --> 00:37:12,240 Okay, so maybe it takes some time for them 999 00:37:12,240 --> 00:37:14,120 to update their system or something. So you 1000 00:37:14,120 --> 00:37:16,180 go eat pizza and you come back and try 1001 00:37:16,180 --> 00:37:17,660 again. No. 1002 00:37:18,000 --> 00:37:19,960 Still works just fine for Xeroxes. 1003 00:37:21,540 --> 00:37:22,260 Maybe, maybe, 1004 00:37:22,300 --> 00:37:24,260 maybe you go back a day or six later. 1005 00:37:24,400 --> 00:37:25,460 Because maybe they're really, really slow. 1006 00:37:25,940 --> 00:37:28,120 You hope. But, no. 1007 00:37:28,280 --> 00:37:29,680 The card still works 1008 00:37:30,300 --> 00:37:32,120 after six, seven days. 1009 00:37:34,500 --> 00:37:36,260 Did you know, did I mention that they 1010 00:37:36,260 --> 00:37:37,780 have only one product? This. 1011 00:37:39,540 --> 00:37:41,500 And their slogan when you go to their website is 1012 00:37:42,240 --> 00:37:42,500 counterintelligence. 1013 00:37:45,820 --> 00:37:47,900 I wish this were false. 1014 00:37:50,400 --> 00:37:51,200 And so, 1015 00:37:52,060 --> 00:37:53,980 oh, and also, the 1016 00:37:53,980 --> 00:37:55,960 employee cards. It turns out 1017 00:37:55,960 --> 00:37:57,620 that, okay, so with the 1018 00:37:59,140 --> 00:38:00,020 convenience cards, 1019 00:38:00,240 --> 00:38:02,260 you can just reset the counter of 1020 00:38:02,260 --> 00:38:04,000 the number of copies you've used and it'll just keep 1021 00:38:04,000 --> 00:38:06,200 working. You can alter the serial number, doesn't make a difference. 1022 00:38:06,520 --> 00:38:08,160 And the employee cards, all 1023 00:38:08,160 --> 00:38:10,180 it does is check that time stamp and see 1024 00:38:10,180 --> 00:38:12,240 whether it's been 24 hours since 1025 00:38:12,240 --> 00:38:14,120 the time stamp. It doesn't bother 1026 00:38:14,120 --> 00:38:16,080 to verify whether the employee is still 1027 00:38:16,080 --> 00:38:18,240 working there or is even a 1028 00:38:18,240 --> 00:38:19,300 real employee at all. 1029 00:38:20,160 --> 00:38:21,440 So you can... 1030 00:38:22,440 --> 00:38:23,040 Does it? 1031 00:38:26,260 --> 00:38:28,160 Oh, okay, yeah. So it 1032 00:38:28,280 --> 00:38:29,520 checks the store number, too. That's it. 1033 00:38:30,000 --> 00:38:31,640 But, yeah, if you get the store number right, 1034 00:38:31,740 --> 00:38:33,860 you can be Joe Blow 1035 00:38:34,960 --> 00:38:35,320 999123. 1036 00:38:36,140 --> 00:38:37,000 Doesn't make a difference. 1037 00:38:38,760 --> 00:38:39,240 I'm sorry? 1038 00:38:39,500 --> 00:38:42,260 A date in the future? I didn't try that. 1039 00:38:43,600 --> 00:38:45,440 But that would be a fun thing to try. 1040 00:38:45,680 --> 00:38:47,620 If there's kinkos around the corner, we can have fun. 1041 00:38:50,780 --> 00:38:51,140 So, 1042 00:38:51,720 --> 00:38:53,180 how do we engineer a better system? 1043 00:38:54,220 --> 00:38:55,380 Right? Well, first off, 1044 00:38:55,920 --> 00:38:58,080 there are several options, right? How do we do this cheaply 1045 00:38:58,280 --> 00:38:59,780 and keep the existing base of installed cards? 1046 00:39:00,280 --> 00:39:01,880 Well, the first thing to do is 1047 00:39:01,880 --> 00:39:03,200 change the way you store things. 1048 00:39:03,760 --> 00:39:06,200 You change the way the security code works so that 1049 00:39:06,200 --> 00:39:08,220 the security code isn't the same for every 1050 00:39:08,220 --> 00:39:10,160 single card in circulation in the 1051 00:39:10,160 --> 00:39:10,840 entire system, 1052 00:39:11,720 --> 00:39:13,900 and you change the method for verifying the cards. 1053 00:39:15,220 --> 00:39:16,100 So, it's 1054 00:39:16,100 --> 00:39:17,940 inexpensive because all you have to do is change the software, 1055 00:39:18,160 --> 00:39:19,860 but it's still somewhat insecure because 1056 00:39:19,860 --> 00:39:22,120 you're still using the same cards, and 1057 00:39:22,120 --> 00:39:24,200 also, you know, how do you 1058 00:39:24,200 --> 00:39:26,200 ensure that the old cards that are still 1059 00:39:26,200 --> 00:39:28,260 floating around aren't fraudulent 1060 00:39:28,280 --> 00:39:29,160 being used? 1061 00:39:31,520 --> 00:39:32,080 You increase 1062 00:39:32,080 --> 00:39:34,220 security by verifying the information. You generate a 1063 00:39:34,220 --> 00:39:36,020 hash, you encrypt the data, 1064 00:39:36,180 --> 00:39:37,620 you don't store value in plain text, 1065 00:39:38,520 --> 00:39:40,020 you basically make it difficult for 1066 00:39:40,020 --> 00:39:42,200 someone to do what I did, where you just look at it and go, 1067 00:39:42,340 --> 00:39:44,280 oh, this is the store number, this is this, 1068 00:39:44,340 --> 00:39:46,220 this is this, this is that. You make it just 1069 00:39:46,220 --> 00:39:47,040 look like random garbage. 1070 00:39:49,440 --> 00:39:50,180 Or, you don't 1071 00:39:50,180 --> 00:39:52,200 store the value on the card itself, right? You just use it as 1072 00:39:52,200 --> 00:39:54,320 serial tokens, and you store everything on the back end. 1073 00:39:55,240 --> 00:39:55,560 But, 1074 00:39:56,620 --> 00:39:58,240 and you invalidate the cards when they're 1075 00:39:58,280 --> 00:39:58,960 cached out, duh. 1076 00:40:02,060 --> 00:40:04,140 And don't use the same security code for 1077 00:40:04,140 --> 00:40:06,240 every single card out there. Use some code 1078 00:40:06,240 --> 00:40:08,000 derived from a randomized rotating 1079 00:40:08,000 --> 00:40:09,780 value, or don't base the 1080 00:40:09,780 --> 00:40:12,020 code from any value stored on the card. 1081 00:40:12,580 --> 00:40:14,200 So it has to, okay, ten minutes, thanks. 1082 00:40:16,420 --> 00:40:18,060 So, better thing to use is 1083 00:40:18,060 --> 00:40:19,340 use a different chip that has 1084 00:40:20,660 --> 00:40:22,260 cryptographic, some sort 1085 00:40:22,260 --> 00:40:23,920 of cryptographic function on it. The 1086 00:40:23,920 --> 00:40:25,980 Atmel Crypto Memory chips used by my 1087 00:40:25,980 --> 00:40:27,980 laundromat are higher security than 1088 00:40:28,280 --> 00:40:28,520 the Atmel Crypto's chips. 1089 00:40:30,360 --> 00:40:32,060 So it's easier for me to make copies 1090 00:40:32,560 --> 00:40:33,840 than it is to steal laundry. 1091 00:40:36,440 --> 00:40:37,980 You use a chip with a microprocessor, 1092 00:40:38,040 --> 00:40:39,920 you can do challenge response, you can encrypt data, 1093 00:40:40,100 --> 00:40:42,040 you can do access control, you can do hidden 1094 00:40:42,040 --> 00:40:43,320 goatsy if you want, I don't know. 1095 00:40:46,440 --> 00:40:48,060 And, you know, if these new chips 1096 00:40:48,060 --> 00:40:49,980 are more expensive, like you can do 1097 00:40:49,980 --> 00:40:52,000 what my laundromat does and charge a deposit for the 1098 00:40:52,000 --> 00:40:54,320 smart card. I mean, currently 1099 00:40:54,320 --> 00:40:56,320 the cards are free for the taking, you can just go to the kiosk 1100 00:40:56,320 --> 00:40:58,260 and say, give me a card! Give me a card! 1101 00:40:58,280 --> 00:41:00,280 Give me a card! And it'll just keep spitting them back 1102 00:41:00,280 --> 00:41:01,420 out at you until the thing's empty. 1103 00:41:01,740 --> 00:41:04,240 It'll go, oh, contact a team member to get a card now! 1104 00:41:06,180 --> 00:41:08,200 So you charge a buck or two to obtain the 1105 00:41:08,200 --> 00:41:10,020 card, and then when you're done, you have the customer return 1106 00:41:10,020 --> 00:41:12,100 the card and they get their dollar back. Big deal, right? 1107 00:41:12,520 --> 00:41:14,140 And it'll prevent, you know, curious 1108 00:41:14,140 --> 00:41:15,780 tinkerers like myself from obtaining 1109 00:41:16,420 --> 00:41:18,180 massive numbers of cards for play 1110 00:41:18,180 --> 00:41:19,480 and analysis, you know, like a 1111 00:41:20,240 --> 00:41:20,580 small 1112 00:41:24,820 --> 00:41:25,740 stack like that. 1113 00:41:28,440 --> 00:41:28,920 So, 1114 00:41:30,020 --> 00:41:31,580 some resources you can go to are 1115 00:41:31,580 --> 00:41:34,060 securescience.net, which is my company. 1116 00:41:34,520 --> 00:41:36,420 It's Lance's company, I work for it. 1117 00:41:36,460 --> 00:41:38,480 You can go to my website, stromcarlson.com. 1118 00:41:38,780 --> 00:41:40,060 Infineon is the manufacturer 1119 00:41:40,060 --> 00:41:41,440 of the chip on the Kinko's card. 1120 00:41:41,700 --> 00:41:43,920 Atmel is the manufacturer of the chip on the 1121 00:41:43,920 --> 00:41:46,420 laundromat card. And smartcardsupply.com 1122 00:41:46,420 --> 00:41:48,200 is where I got the stuff. 1123 00:41:48,480 --> 00:41:48,840 What? 1124 00:41:51,440 --> 00:41:52,400 Am I? 1125 00:41:52,980 --> 00:41:53,500 . 1126 00:41:54,300 --> 00:41:54,980 Am I? 1127 00:41:56,560 --> 00:41:58,440 Yeah, but I never talked about 1128 00:41:58,440 --> 00:42:00,220 that on here, so that's not a resource 1129 00:42:00,220 --> 00:42:00,840 for this talk. 1130 00:42:02,160 --> 00:42:03,740 So, questions? Answers? 1131 00:42:05,380 --> 00:42:06,420 Uh, yes? 1132 00:42:06,940 --> 00:42:08,280 Yeah, one thing that you 1133 00:42:08,280 --> 00:42:09,360 said was, um... 1134 00:42:13,720 --> 00:42:14,500 One thing 1135 00:42:14,500 --> 00:42:16,040 that you mentioned was that, um, 1136 00:42:16,220 --> 00:42:18,420 when you were practicing with 1137 00:42:18,420 --> 00:42:20,280 writing cards, if you 1138 00:42:20,280 --> 00:42:22,380 would write, you know, if you tried 1139 00:42:22,400 --> 00:42:24,160 to break the security code on the card, 1140 00:42:24,360 --> 00:42:25,920 you only have three chances. 1141 00:42:26,600 --> 00:42:28,000 But you also said that 1142 00:42:28,740 --> 00:42:30,200 when the system goes through 1143 00:42:30,200 --> 00:42:32,780 and correctly authenticates 1144 00:42:32,780 --> 00:42:34,320 the card, it resets the 1145 00:42:34,320 --> 00:42:36,140 counter. Is that true? Yeah, it resets the counter. 1146 00:42:36,240 --> 00:42:38,260 If you, for example, write the wrong code twice, 1147 00:42:38,340 --> 00:42:40,320 you can go stick it in the kiosk 1148 00:42:40,320 --> 00:42:42,380 again, and it'll reset the counter 1149 00:42:42,380 --> 00:42:44,420 to three. But the only problem with that is 1150 00:42:44,420 --> 00:42:46,260 you look kind of weird going with a sack of cards 1151 00:42:46,260 --> 00:42:48,180 and sticking them in one at a time and then coming back 1152 00:42:48,180 --> 00:42:49,620 the next day and doing the same thing. 1153 00:42:50,060 --> 00:42:50,460 So... 1154 00:42:53,020 --> 00:42:54,080 Question? I thought, 1155 00:42:54,180 --> 00:42:56,160 you know, wouldn't it be more secure to just actually put 1156 00:42:56,160 --> 00:42:58,380 all this data, like the dollar 1157 00:42:58,380 --> 00:43:00,240 amount data in a database and actually have 1158 00:43:01,000 --> 00:43:02,420 a program searching for 1159 00:43:02,420 --> 00:43:04,180 patterns of things that are strange? 1160 00:43:04,440 --> 00:43:06,340 Because I don't know why you'd 1161 00:43:06,340 --> 00:43:08,560 put the money in the card. I don't know either. 1162 00:43:08,640 --> 00:43:09,860 It doesn't make any sense to me why they would do that. 1163 00:43:10,000 --> 00:43:11,520 I don't know either why they'd do this. 1164 00:43:11,820 --> 00:43:14,360 So that wasn't a question, it was just more of like a statement. 1165 00:43:14,520 --> 00:43:16,120 Yeah, I think I mentioned that. 1166 00:43:17,560 --> 00:43:18,260 I'm curious 1167 00:43:18,260 --> 00:43:20,120 as to why you called it hacking FedEx 1168 00:43:20,120 --> 00:43:21,940 Kinkos when you were actually hacking 1169 00:43:21,940 --> 00:43:23,060 N-Track. 1170 00:43:24,240 --> 00:43:26,040 Because no one's heard of N-Track, 1171 00:43:26,180 --> 00:43:27,580 but everyone's heard of FedEx Kinkos, 1172 00:43:27,780 --> 00:43:30,040 so if I called it hacking N-Track, like half the people would go 1173 00:43:30,040 --> 00:43:31,000 what's that? Okay, never mind. 1174 00:43:32,780 --> 00:43:34,040 Any attempt to do some 1175 00:43:34,040 --> 00:43:36,000 power analysis to brute force the security code? 1176 00:43:36,260 --> 00:43:38,120 I'm sorry? Any attempt to do power 1177 00:43:38,120 --> 00:43:40,100 analysis to check when security code 1178 00:43:40,100 --> 00:43:41,980 becomes invalid on a bit by bit basis? 1179 00:43:42,660 --> 00:43:44,080 You can't do that with the way 1180 00:43:44,080 --> 00:43:45,720 I mean, theoretically, right? 1181 00:43:46,840 --> 00:43:48,220 Theoretically, I think you might 1182 00:43:48,220 --> 00:43:49,920 be able to do that, but 1183 00:43:50,900 --> 00:43:51,260 again, 1184 00:43:52,100 --> 00:43:53,880 this is not my area, electrical engineering 1185 00:43:53,880 --> 00:43:54,860 is not my area of expertise. 1186 00:43:55,720 --> 00:43:57,660 Yeah, it seems easier for them just to give it to you. 1187 00:43:57,980 --> 00:43:58,340 Yeah. 1188 00:44:00,280 --> 00:44:01,960 After you've locked out the card by 1189 00:44:01,960 --> 00:44:03,820 writing to it too many times, can you still read it? 1190 00:44:04,340 --> 00:44:05,900 Yeah, you can still read the card, you just can 1191 00:44:05,900 --> 00:44:08,200 no longer write to it at all. It's burnt out. 1192 00:44:10,640 --> 00:44:11,360 I'm sorry? 1193 00:44:12,720 --> 00:44:15,620 Yeah, it can't be updated at all. 1194 00:44:17,540 --> 00:44:20,020 Well no, see the thing is, if I actually tried that 1195 00:44:20,120 --> 00:44:22,020 if the system can't write to the 1196 00:44:22,020 --> 00:44:23,800 card, it just said, this card's bad 1197 00:44:23,800 --> 00:44:24,820 and spits it back out at you. 1198 00:44:26,680 --> 00:44:27,080 So... 1199 00:44:28,400 --> 00:44:29,920 My Kinko's location over 1200 00:44:29,920 --> 00:44:31,740 a year and a half ago, they got rid of these 1201 00:44:31,740 --> 00:44:33,840 and they went to traditional credit cards. 1202 00:44:34,900 --> 00:44:36,000 No, you can use credit 1203 00:44:36,000 --> 00:44:36,840 cards in the same reader. 1204 00:44:37,400 --> 00:44:39,120 No, they don't use them at all anymore. 1205 00:44:39,120 --> 00:44:40,300 Oh wow, okay, interesting. 1206 00:44:41,600 --> 00:44:43,260 I have five minutes, so a couple 1207 00:44:43,260 --> 00:44:45,600 and then you, sir. 1208 00:44:46,600 --> 00:44:47,220 If you 1209 00:44:48,420 --> 00:44:49,480 burn out a card 1210 00:44:49,480 --> 00:44:51,260 and there's money left on it, will they still let you 1211 00:44:51,260 --> 00:44:51,740 cash it out? 1212 00:44:51,840 --> 00:44:54,780 If you burn out the card and there's money left on it, will they still let you cash it out? 1213 00:44:54,820 --> 00:44:57,120 I didn't try that. It's worth a shot. 1214 00:44:58,620 --> 00:45:00,740 Have you tried notifying NTrack 1215 00:45:00,740 --> 00:45:02,760 of this security issue, and if so, when? 1216 00:45:03,020 --> 00:45:03,940 We notified them 1217 00:45:04,960 --> 00:45:06,440 at the beginning of February. 1218 00:45:07,460 --> 00:45:09,100 We didn't hear a thing from them for a 1219 00:45:09,100 --> 00:45:10,960 month, and so we said 1220 00:45:11,580 --> 00:45:13,080 okay, usual standard practice 1221 00:45:13,080 --> 00:45:14,280 is a week, so we went public with it. 1222 00:45:14,280 --> 00:45:15,660 Is this attack still valid then? 1223 00:45:17,220 --> 00:45:17,240 Still valid. 1224 00:45:19,340 --> 00:45:20,720 Which is why I'm not releasing 1225 00:45:20,720 --> 00:45:21,800 too many details. 1226 00:45:23,560 --> 00:45:24,580 Any other questions? 1227 00:45:28,720 --> 00:45:30,540 I'm going to shine this in your eye 1228 00:45:30,540 --> 00:45:31,760 for being off topic. 1229 00:45:36,220 --> 00:45:36,760 Okay. 1230 00:45:39,720 --> 00:45:40,880 Alright, no more questions? 1231 00:45:42,720 --> 00:45:44,260 Oh, logic analyzer, 1232 00:45:44,400 --> 00:45:47,200 if you just Google for USB logic analyzer, 1233 00:45:47,220 --> 00:45:48,940 there's a number of companies out there 1234 00:45:48,940 --> 00:45:49,600 that are selling them. 1235 00:45:49,840 --> 00:45:51,000 Why didn't you build your own? 1236 00:45:51,240 --> 00:45:52,380 Why didn't I build my own? 1237 00:45:52,860 --> 00:45:54,780 Because A, I suck at soldering, 1238 00:45:56,520 --> 00:45:57,240 and B, 1239 00:45:58,620 --> 00:45:59,880 it would have taken too long, 1240 00:45:59,900 --> 00:46:01,780 and I just felt it was worth it to spend $300 instead. 1241 00:46:03,220 --> 00:46:03,580 Yes? 1242 00:46:03,840 --> 00:46:05,340 Were the pinouts on the card 1243 00:46:06,060 --> 00:46:07,080 described in the manual? 1244 00:46:07,280 --> 00:46:10,400 Yeah, the 1245 00:46:10,780 --> 00:46:12,760 pinout is described in the data sheet of the card, 1246 00:46:12,800 --> 00:46:14,740 and I think I put the data sheet on your DEF CON CD 1247 00:46:15,200 --> 00:46:16,280 so you can look through that. 1248 00:46:17,320 --> 00:46:18,260 Any last questions? 1249 00:46:21,020 --> 00:46:22,160 Okay, well, oh, yeah. 1250 00:46:25,760 --> 00:46:30,480 Did you try glitching the card? 1251 00:46:30,680 --> 00:46:31,680 Did I try what? 1252 00:46:32,360 --> 00:46:35,020 Glitching, like they did with, like, old satellite cards 1253 00:46:35,020 --> 00:46:36,280 where you could change the bulb 1254 00:46:36,280 --> 00:46:37,940 and it would jump 1255 00:46:37,940 --> 00:46:40,320 and drop out the security code. 1256 00:46:40,420 --> 00:46:41,680 No, I didn't try that. Again, 1257 00:46:42,260 --> 00:46:44,260 I'm not much of an electrical engineer. 1258 00:46:44,660 --> 00:46:46,620 I'm not much of a coder. I'm a phone freak. 1259 00:46:47,840 --> 00:46:48,860 So, you know, 1260 00:46:48,900 --> 00:46:50,580 this is just me tinkering. 1261 00:46:53,100 --> 00:46:53,780 Okay, well. 1262 00:47:00,000 --> 00:47:00,840 And if 1263 00:47:00,840 --> 00:47:03,020 you want to bring me your silly, 1264 00:47:03,120 --> 00:47:05,220 your Kinko's card at any point during the 1265 00:47:05,220 --> 00:47:06,880 con, I'll write something silly on it for you. 1266 00:47:10,800 --> 00:47:11,220 Thanks.