1 00:00:01,760 --> 00:00:09,980 Hello everybody. Thank you all for coming. I want to apologize again for the safety inspection snafu we had today. 2 00:00:10,620 --> 00:00:13,740 And we really appreciate your patience in not fucking up the hotel. 3 00:00:15,520 --> 00:00:18,820 Security actually came by and said, hey, they didn't do anything for the last two hours. That was pretty cool. 4 00:00:20,060 --> 00:00:21,160 I said the day's young. 5 00:00:23,300 --> 00:00:28,540 So just a couple of real quick warnings. Like I said earlier this morning, please do not hack the fire system. 6 00:00:29,840 --> 00:00:31,860 This is a hotel that would be very bad. 7 00:00:32,820 --> 00:00:35,620 Because if there actually is a fire and people don't know about it, then people could die. 8 00:00:36,500 --> 00:00:39,820 That would be very bad. So please, show some restraint. 9 00:00:42,360 --> 00:00:44,340 All right. Let's get this thing started here. 10 00:00:45,020 --> 00:00:50,100 Okay. So, again, apologies for all the delays and everything. 11 00:00:50,380 --> 00:00:55,220 I think the only people actually making any money off this whole thing are the telephone companies trying to round up all the speakers. 12 00:00:57,340 --> 00:00:57,740 Okay. 13 00:00:58,540 --> 00:01:00,780 There are at least some of the Church of Wi-Fi. 14 00:01:03,060 --> 00:01:05,040 Basically, let's get this going here. 15 00:01:05,440 --> 00:01:05,660 Come on. 16 00:01:07,040 --> 00:01:07,460 Yep. 17 00:01:09,520 --> 00:01:10,080 Back up. 18 00:01:11,880 --> 00:01:16,440 Okay. If anybody has a good deal on a new laptop, I would really like to hear it. 19 00:01:17,320 --> 00:01:18,220 This thing is crap. 20 00:01:19,760 --> 00:01:20,520 There we go. 21 00:01:21,660 --> 00:01:24,880 Okay. So the Church of Wi-Fi, just a quick background here. 22 00:01:25,080 --> 00:01:27,260 Oh. To my left, this is Thorn. 23 00:01:28,540 --> 00:01:29,800 Over here, we've got Hikari. 24 00:01:31,580 --> 00:01:32,900 Apparently, you brought a cheering section. 25 00:01:33,980 --> 00:01:34,440 Okay. 26 00:01:35,180 --> 00:01:35,960 I'm Renderman. 27 00:01:37,140 --> 00:01:37,600 Okay. 28 00:01:38,180 --> 00:01:44,400 The Church of Wi-Fi, basically, we were founded by Blackwave, who is well-known within the war-driving community. 29 00:01:45,640 --> 00:01:51,200 Basically, it was a joke site that started off and just kind of grew and became this whole thing. 30 00:01:52,060 --> 00:01:57,720 The idea was just a place that people could put their wireless projects so that they could collaborate. 31 00:01:57,720 --> 00:02:02,540 Just get the information out there because there's a lot of guys working on stuff in their basements that just never sees the light of day. 32 00:02:02,940 --> 00:02:05,520 And, you know, there's really cool stuff out there. 33 00:02:05,580 --> 00:02:08,760 Why not give people a platform to get it out there? 34 00:02:10,440 --> 00:02:11,360 Anybody can join. 35 00:02:11,560 --> 00:02:21,280 So if you've got some project in the back of your mind that you want to get some help on or just collaborate with other people who are of similar interest, just hop on there and see what people are posting. 36 00:02:23,220 --> 00:02:25,280 We just want ideas. 37 00:02:25,660 --> 00:02:26,680 You know, ideas are cool. 38 00:02:26,680 --> 00:02:29,380 Ideas are what this whole community runs on. 39 00:02:29,660 --> 00:02:30,580 This is our currency. 40 00:02:30,720 --> 00:02:32,080 This is what we trade and share. 41 00:02:32,940 --> 00:02:34,140 You know, this is really cool. 42 00:02:34,300 --> 00:02:35,940 We've got lots of good ideas out there. 43 00:02:36,000 --> 00:02:36,480 Let's use them. 44 00:02:38,860 --> 00:02:39,360 Come on. 45 00:02:45,840 --> 00:02:47,020 And I think I locked up. 46 00:02:50,480 --> 00:02:50,840 Yep. 47 00:02:55,160 --> 00:02:56,580 I really need a new laptop. 48 00:02:59,460 --> 00:03:00,680 She went down hard. 49 00:03:06,720 --> 00:03:07,640 Yeah, that was bad. 50 00:03:09,700 --> 00:03:10,100 Okay. 51 00:03:14,380 --> 00:03:20,680 Yes, but there's also Linux on there. 52 00:03:20,760 --> 00:03:22,060 You've got to deal with the devil sometimes. 53 00:03:26,680 --> 00:03:27,740 It's not Vista. 54 00:03:27,980 --> 00:03:30,100 It says at least it's not Vista. 55 00:03:31,240 --> 00:03:33,060 This thing would not run Vista, believe me. 56 00:03:33,560 --> 00:03:34,100 All right. 57 00:03:34,720 --> 00:03:37,900 So I'm going to try to remember what my slides were here and we'll just go from that. 58 00:03:39,740 --> 00:03:44,420 Basically what we're here today is just to show off some of the new stuff that we've developed since ShmooCon. 59 00:03:45,140 --> 00:03:48,040 We had a really good time there, showed off some new stuff. 60 00:03:49,100 --> 00:03:50,540 You know, bought some really nice shirts. 61 00:03:50,740 --> 00:03:51,380 Thank you, Bruce. 62 00:03:53,760 --> 00:03:56,600 And just wanted to elaborate on what we did there. 63 00:03:56,600 --> 00:03:58,940 And how we've expanded in just the last few months. 64 00:04:01,420 --> 00:04:01,740 Okay. 65 00:04:01,800 --> 00:04:02,600 I hope nobody was filming that. 66 00:04:04,760 --> 00:04:05,080 Okay. 67 00:04:07,340 --> 00:04:08,440 Just give me two seconds here. 68 00:04:29,760 --> 00:04:30,680 Yes, I suck. 69 00:04:30,740 --> 00:04:31,500 You can blame me later. 70 00:04:34,860 --> 00:04:35,340 Okay. 71 00:04:37,120 --> 00:04:37,680 What's that? 72 00:04:39,340 --> 00:04:39,820 . 73 00:04:40,660 --> 00:04:41,480 All right. 74 00:04:43,260 --> 00:04:43,740 . 75 00:04:48,360 --> 00:04:48,840 . 76 00:04:48,840 --> 00:04:48,880 . 77 00:04:48,880 --> 00:04:48,960 . 78 00:04:52,080 --> 00:04:52,560 . 79 00:04:58,040 --> 00:04:58,400 . 80 00:05:00,800 --> 00:05:01,160 . 81 00:05:02,900 --> 00:05:03,260 . 82 00:05:03,260 --> 00:05:03,480 . 83 00:05:03,480 --> 00:05:03,500 . 84 00:05:03,500 --> 00:05:03,680 . 85 00:05:03,680 --> 00:05:03,960 . 86 00:05:03,960 --> 00:05:04,060 . 87 00:05:04,060 --> 00:05:04,200 . 88 00:05:08,940 --> 00:05:09,300 . 89 00:05:09,300 --> 00:05:09,320 . 90 00:05:09,320 --> 00:05:09,400 . 91 00:05:09,400 --> 00:05:09,420 . 92 00:05:09,420 --> 00:05:09,440 . 93 00:05:09,440 --> 00:05:09,500 . 94 00:05:09,500 --> 00:05:09,680 . 95 00:05:09,680 --> 00:05:09,700 . 96 00:05:09,700 --> 00:05:10,020 . 97 00:05:10,020 --> 00:05:10,280 . 98 00:05:26,600 --> 00:05:32,980 There's always the ability to just take the WPA PSK key exchange hash, run it against 99 00:05:32,980 --> 00:05:38,340 a dictionary, and just see if we have that... 100 00:05:39,800 --> 00:05:41,200 Okay, I'm really sucking up here. 101 00:05:41,260 --> 00:05:41,980 I do have to apologize. 102 00:05:45,360 --> 00:05:47,600 What are your task bars? 103 00:05:51,560 --> 00:05:52,280 All right. 104 00:05:53,140 --> 00:05:59,360 So basically what we did was Cal Petty previously, you had to feed it the four-way handshake, 105 00:05:59,480 --> 00:06:05,280 feed it a dictionary, and the computer would sit there just cranking away at hashing out 106 00:06:05,280 --> 00:06:09,340 all those dictionary words, and if it eventually found the same hash as what you had captured, 107 00:06:09,860 --> 00:06:10,720 you'd know the key. 108 00:06:11,600 --> 00:06:17,880 Well, there's this whole time-space memory trade-off that a lot of groups are now using. 109 00:06:18,500 --> 00:06:21,860 It allows you to just do all this work once. 110 00:06:21,860 --> 00:06:28,260 Once, to get the information hashed out and into a table, and then every time you calculate 111 00:06:28,260 --> 00:06:30,960 from that SSID, you're good to go. 112 00:06:33,460 --> 00:06:34,340 All right. 113 00:06:46,500 --> 00:06:47,620 Come on. 114 00:06:48,220 --> 00:06:48,940 Come on. 115 00:06:49,040 --> 00:06:49,280 Yay! 116 00:06:50,080 --> 00:06:50,640 . 117 00:06:51,280 --> 00:06:51,840 . 118 00:07:01,060 --> 00:07:02,000 I'm still alive. 119 00:07:05,560 --> 00:07:06,080 Okay. 120 00:07:07,480 --> 00:07:09,580 So unfortunately Dutch couldn't be here. 121 00:07:10,440 --> 00:07:12,840 He was one of the other members that we were hoping to be here. 122 00:07:13,360 --> 00:07:15,740 Is anybody else on the Church of Wi-Fi site? 123 00:07:16,340 --> 00:07:17,380 Anybody around here? 124 00:07:17,800 --> 00:07:19,400 I know Mother is down here. 125 00:07:19,740 --> 00:07:20,900 A few others. 126 00:07:20,900 --> 00:07:21,760 All right. 127 00:07:22,920 --> 00:07:23,400 Okay. 128 00:07:24,440 --> 00:07:24,920 Okay. 129 00:07:25,000 --> 00:07:25,960 Here's what we've been up to. 130 00:07:27,120 --> 00:07:34,700 The Church of Wi-Fi WPA lookup tables, seven gigs of prehashed passwords for the top 1,000 131 00:07:34,700 --> 00:07:40,820 SSIDs from Wiggle, now online as a torrent, and if you talk to Thorne afterwards, we've 132 00:07:40,820 --> 00:07:41,920 got it on a removable hard drive. 133 00:07:41,980 --> 00:07:43,560 You can suck it off to your laptop if you like. 134 00:07:45,180 --> 00:07:50,680 Basically the demo that we did at ShmooCon had my laptop doing WPA. 135 00:07:50,680 --> 00:07:55,140 It was running cow patty, normally doing 12 keys a second. 136 00:07:55,540 --> 00:08:00,880 You do a prehash of all that information on a much faster computer, you bring it back, 137 00:08:01,060 --> 00:08:05,080 and now we were doing it somewhere in the order of 18,000 keys a second. 138 00:08:05,360 --> 00:08:07,400 So three order magnitude increase. 139 00:08:07,700 --> 00:08:08,600 So these are really useful things. 140 00:08:09,180 --> 00:08:13,000 The Evil Bastard was another thing that we released, which is an attempt at a man in 141 00:08:13,000 --> 00:08:17,420 the middle modified WRT, which is a real favorite toy of ours. 142 00:08:17,900 --> 00:08:18,360 . 143 00:08:20,120 --> 00:08:23,600 Unfortunately, Dutch was supposed to be here, and he was supposed to bring it, and we haven't 144 00:08:23,600 --> 00:08:24,160 found him yet. 145 00:08:24,340 --> 00:08:26,680 So if somebody knows where he is, please wake him up. 146 00:08:27,900 --> 00:08:30,940 We hopefully have the Evil Bastard around the rest of the weekend here, and we can give 147 00:08:30,940 --> 00:08:31,500 you a demo on that. 148 00:08:33,140 --> 00:08:34,640 Another update is Kiswin. 149 00:08:34,860 --> 00:08:36,280 How many of you have played with Kiswin? 150 00:08:37,500 --> 00:08:38,680 A couple back there. 151 00:08:38,820 --> 00:08:42,900 It's the Windows port of the Kismet client. 152 00:08:44,560 --> 00:08:48,260 I've been maintaining this, and in all my talks with Dragorn and everybody who was in 153 00:08:48,360 --> 00:08:53,020 it, we're just appreciating this until new core comes out, because the only changes 154 00:08:53,020 --> 00:08:55,220 he's making at this point are just minor driver tweaks. 155 00:08:55,660 --> 00:09:00,060 Not anything that affects it, so don't go looking for any new updates until that's... 156 00:09:00,060 --> 00:09:04,760 But I do have it on good authority from Dragorn that he's looking at a new, finally getting 157 00:09:04,760 --> 00:09:06,900 the client running within about the next month. 158 00:09:07,100 --> 00:09:09,280 So hopefully we'll have a new core release by the end of the summer. 159 00:09:11,380 --> 00:09:12,160 We've been busy. 160 00:09:13,660 --> 00:09:18,260 One of the things that came about on the Net Stumbler and Church Wi-Fi forums has been, 161 00:09:18,360 --> 00:09:23,040 in the advent of the headless war driver, I know that there's been various efforts 162 00:09:23,040 --> 00:09:26,920 for car computers and everything to try to get just a simple computer. 163 00:09:27,020 --> 00:09:29,680 You plug it in, it fires up, starts scanning immediately. 164 00:09:30,620 --> 00:09:37,580 Well, Beekman was a really brilliant guy who came up with a way of doing this just on a 165 00:09:37,580 --> 00:09:38,200 modded WRT. 166 00:09:39,800 --> 00:09:44,040 We've also got some information about the Sneaky Bastard, which is a project I came 167 00:09:44,040 --> 00:09:44,440 up with. 168 00:09:45,840 --> 00:09:47,860 I'm also going to throw out a concept to you guys. 169 00:09:48,360 --> 00:09:52,680 A concept of a wireless virus based in hardware. 170 00:09:54,060 --> 00:09:55,580 Really curious to see where this goes. 171 00:09:55,860 --> 00:09:56,420 It's just... 172 00:09:56,420 --> 00:09:59,360 I think it's going to be the next vector for wireless attacks. 173 00:10:01,680 --> 00:10:03,360 Bigger, better, faster WPA cracking. 174 00:10:03,620 --> 00:10:04,340 I'm never happy. 175 00:10:04,460 --> 00:10:05,900 I always want bigger and better tables. 176 00:10:06,340 --> 00:10:07,540 This guy can attest to it. 177 00:10:07,600 --> 00:10:08,640 He saved my butt a few times. 178 00:10:10,980 --> 00:10:14,340 WPA, it's a good target, but I kind of went for WPA, too. 179 00:10:14,480 --> 00:10:15,360 It's a little more fun. 180 00:10:16,440 --> 00:10:17,020 All right. 181 00:10:17,260 --> 00:10:17,660 All right. 182 00:10:18,120 --> 00:10:19,120 I'm kind of rushing here. 183 00:10:21,140 --> 00:10:21,880 Headless war driving. 184 00:10:23,440 --> 00:10:26,280 Everybody's got their laptops sitting in the front seat when they're out war driving. 185 00:10:26,380 --> 00:10:27,060 They've got their rigs. 186 00:10:27,060 --> 00:10:28,780 They've got the antenna on the roof and everything. 187 00:10:30,040 --> 00:10:31,880 I wanted to see something... 188 00:10:31,880 --> 00:10:34,240 I've always had this dream of something you could just give to your grandmother. 189 00:10:34,460 --> 00:10:37,220 Say, here, plug this into the 12-volt cigarette lighter, away it goes. 190 00:10:38,400 --> 00:10:42,320 Give me the thing back and all your information's on the card. 191 00:10:43,240 --> 00:10:46,840 What you need is GPS, storage, something to power it. 192 00:10:46,840 --> 00:10:52,540 It's surprising, I have not seen any before Beekman came around and started pioneering 193 00:10:52,540 --> 00:10:52,960 this project. 194 00:10:53,340 --> 00:10:58,520 There have been small embedded PCs and everything like this, but using a WRT, which is cheap, 195 00:10:59,140 --> 00:11:05,020 plentiful, you can get them anywhere, it just makes a nice, tight little package, 196 00:11:05,260 --> 00:11:10,680 and it fits beautifully on a dash, and a couple of guys, Beekman, King Ice Flash, Mother, 197 00:11:10,900 --> 00:11:15,560 Scrudge, they all stepped up, they all did their own variations on things. 198 00:11:15,560 --> 00:11:17,740 We've actually got a couple of them up here, you can check out afterwards. 199 00:11:21,040 --> 00:11:28,560 Beekman has ported GPSD over to the MIPS processor on the WRT, so that was the major hard work. 200 00:11:29,000 --> 00:11:29,660 That's been done. 201 00:11:29,820 --> 00:11:32,860 That's going to be an iPackage available on his site, if you just Google for it. 202 00:11:33,480 --> 00:11:36,160 I believe we're also going to have that on this church Wi-Fi site. 203 00:11:36,260 --> 00:11:38,440 I told him to upload that, I don't know if he has yet or not. 204 00:11:40,520 --> 00:11:41,100 All right. 205 00:11:42,100 --> 00:11:43,040 His first one. 206 00:11:43,400 --> 00:11:44,120 Small GPS. 207 00:11:44,120 --> 00:11:45,380 SD card. 208 00:11:45,760 --> 00:11:48,160 It was an external GPS unit. 209 00:11:50,640 --> 00:11:52,140 Logs are saved to an SD card. 210 00:11:52,860 --> 00:11:54,680 He just basically pioneered everything. 211 00:11:55,780 --> 00:11:59,720 He's got rough iPackages, and he's also working on a backup power circuit, so you don't lose 212 00:12:00,500 --> 00:12:04,960 connectivity or GPS lock when you're moving it between the vehicle and home and everything. 213 00:12:05,760 --> 00:12:06,780 This picture here. 214 00:12:07,380 --> 00:12:08,720 This is how it all started. 215 00:12:09,080 --> 00:12:11,980 Just cheap eBay parts, a little soldering. 216 00:12:12,300 --> 00:12:12,780 Nothing. 217 00:12:12,780 --> 00:12:14,480 Nothing truly groundbreaking. 218 00:12:14,940 --> 00:12:16,660 It's just nobody ever seemed to have put it together before. 219 00:12:17,260 --> 00:12:20,680 If I'm wrong, please prove it to me, but I don't know, I just think it's really cool. 220 00:12:21,900 --> 00:12:28,460 You see the SD card up in the back corner by the power plug, and the GPS hookup right 221 00:12:28,460 --> 00:12:32,040 in between the WAN and Link's switch port one. 222 00:12:33,140 --> 00:12:37,580 King Iceflash, who was kind enough to send me his version so we could have it here on 223 00:12:37,580 --> 00:12:37,880 site. 224 00:12:39,440 --> 00:12:42,540 He has a temperature controlled heat sink on this thing. 225 00:12:42,640 --> 00:12:42,760 I don't know. 226 00:12:42,760 --> 00:12:43,040 I'm not sure how it works. 227 00:12:43,040 --> 00:12:45,340 His was always overheating. 228 00:12:45,480 --> 00:12:49,720 He wanted something, so he's got a nice little fan on the CPU, heat sinks, the whole nine 229 00:12:49,720 --> 00:12:50,020 yards. 230 00:12:50,840 --> 00:12:54,540 This guy has a CO2 laser milling machine in his basement. 231 00:12:54,840 --> 00:12:55,840 The lucky bastard. 232 00:12:57,300 --> 00:13:01,400 And cut this absolutely beautiful hole in the case for the SD card mod. 233 00:13:01,700 --> 00:13:03,460 You can take off the outer case. 234 00:13:03,600 --> 00:13:06,660 You don't have to wiggle everything out or anything like that. 235 00:13:07,080 --> 00:13:08,940 You can pop it open afterwards and you can take a look. 236 00:13:09,000 --> 00:13:09,620 It's really nice. 237 00:13:10,340 --> 00:13:11,140 Internal GPS. 238 00:13:11,460 --> 00:13:12,740 So as long as this thing is just sitting on a board. 239 00:13:12,760 --> 00:13:16,280 back package shelf of your vehicle or something, it's just good to go. 240 00:13:16,440 --> 00:13:21,340 It's quite literally what you could just give grandmother and say here, plug this in, pop 241 00:13:21,340 --> 00:13:24,200 out the card and give it to me afterwards and there will be data. 242 00:13:26,860 --> 00:13:28,500 There's a picture of some of the internals here. 243 00:13:33,500 --> 00:13:35,080 That's the really nice hole that he cut. 244 00:13:36,000 --> 00:13:37,500 I can't tell you, I'm envious. 245 00:13:40,040 --> 00:13:44,640 Mother, who was kind enough to bring his unit, went even a step further and all of 246 00:13:44,640 --> 00:13:52,600 the GPS SD card and even put in GPRS backhaul on to this thing, all on a custom circuit 247 00:13:52,600 --> 00:13:55,760 board that just plugs right in and away it goes. 248 00:13:56,680 --> 00:14:00,160 You really need to start putting that out in a kit because I want one. 249 00:14:00,980 --> 00:14:04,560 As you can see here, you don't see a lot of the wiring, it's all buried underneath, but 250 00:14:05,380 --> 00:14:06,300 etched his own board. 251 00:14:06,300 --> 00:14:11,640 I just love these things because this goes to show one person gets the idea, other people 252 00:14:11,640 --> 00:14:12,960 just grab it and run with it. 253 00:14:13,040 --> 00:14:15,820 This is the kind of development that needs to happen more and more. 254 00:14:16,260 --> 00:14:22,660 You get a really good idea, it works, just collaborate, share because there's somebody 255 00:14:22,660 --> 00:14:26,800 else on the other side of the world that's probably got a better idea or in a lot of 256 00:14:26,800 --> 00:14:31,400 cases I find, they've already figured out the solution but are looking for the problem. 257 00:14:31,580 --> 00:14:31,980 Okay. 258 00:14:37,480 --> 00:14:38,000 Any questions? 259 00:14:38,000 --> 00:14:38,360 Oh, there we go. 260 00:14:39,880 --> 00:14:40,700 Oh, geez. 261 00:14:41,100 --> 00:14:42,480 It shot right to the end. 262 00:14:50,800 --> 00:14:51,800 Okay, I suck. 263 00:14:52,840 --> 00:14:53,360 Okay. 264 00:14:53,860 --> 00:14:54,380 Okay. 265 00:15:06,420 --> 00:15:09,160 I'm just going to switch over to the other laptop here, and you can see some of the data 266 00:15:09,160 --> 00:15:14,860 that we've pulled off of the one of these headless units that you can plug in here. 267 00:15:25,400 --> 00:15:26,380 Yeah. 268 00:15:26,400 --> 00:15:27,360 Yeah. 269 00:15:48,320 --> 00:15:49,320 Let's worry about it later. 270 00:15:49,420 --> 00:15:50,640 We're a little pressed for time here. 271 00:15:52,280 --> 00:15:52,800 There we go. 272 00:15:53,240 --> 00:15:57,220 So, yeah, this is just the SD card that we yanked out of the King Ice Flashes unit 273 00:15:57,220 --> 00:16:01,420 and had running about 10 minutes before the talk, and you see we've got full data. 274 00:16:01,540 --> 00:16:04,560 We don't have GPS because, obviously, we're in doors and we're not going to be getting signal, 275 00:16:05,340 --> 00:16:06,720 but, you know, it's just that easy. 276 00:16:06,800 --> 00:16:10,660 All your Kismet logs come out on the data card and we're ready for submission to Wiggle. 277 00:16:12,000 --> 00:16:12,640 All right. 278 00:16:15,640 --> 00:16:16,500 Yeah, it worked. 279 00:16:17,960 --> 00:16:18,440 Okay. 280 00:16:18,800 --> 00:16:24,240 Sneaky Bastard was a project that I came up with when I had way too much time on my hands 281 00:16:24,240 --> 00:16:26,420 and way too much crap lying around. 282 00:16:29,940 --> 00:16:33,900 InventGeek.com has all sorts of interesting projects on there. 283 00:16:33,960 --> 00:16:38,180 They put an LCD panel on the side of a case and just other kind of make-like projects. 284 00:16:38,560 --> 00:16:43,700 They had a rogue server where a guy took a UPS and shoved a... 285 00:16:46,100 --> 00:16:55,240 Linksys NSLU2 network hard drive NAS unit and an external hard drive into this case. 286 00:16:55,400 --> 00:17:00,340 You know, the idea being it's your evil MP3 collection where you can just stash this inside of a UPS case 287 00:17:00,340 --> 00:17:02,720 and, you know, the feds will never find it when they're raiding you or something. 288 00:17:03,920 --> 00:17:09,540 I thought it was an interesting idea, but, you know, the whole idea of just storage just didn't make a lot of sense. 289 00:17:09,680 --> 00:17:14,720 However, if you have a rogue access point inside of this case, 290 00:17:14,720 --> 00:17:14,840 you can just stash it inside of a UPS case and, you know, the feds will never find it when they're raiding you or something. 291 00:17:15,480 --> 00:17:19,420 This is a much better platform, I think, than just for storage. 292 00:17:20,180 --> 00:17:29,900 A UPS is normally plugged straight into main's power and a lot of UPSs have a network pass through surge protection as well. 293 00:17:30,440 --> 00:17:32,820 So you've got power, you've got network. 294 00:17:33,600 --> 00:17:36,200 This is all we need if we wanted to have a rogue access point. 295 00:17:38,740 --> 00:17:41,740 Previously for pen testing, I had used this guy. 296 00:17:42,600 --> 00:17:43,780 This is Edward. 297 00:17:45,040 --> 00:17:50,660 Edward has a Belkin access point built into him and matrix-style connections through the back of the neck. 298 00:17:52,740 --> 00:17:59,560 This was built because a friend of mine was always joking that when his daughter was born, 299 00:18:00,540 --> 00:18:05,480 you know, I'd be handing his daughter a teddy bear with antennas sticking out of it and say, 300 00:18:05,580 --> 00:18:06,920 yeah, just go past the security, man. 301 00:18:06,960 --> 00:18:07,820 Go past the security, man. 302 00:18:09,120 --> 00:18:11,580 So just to shut him up, I actually built the thing. 303 00:18:12,820 --> 00:18:22,460 This is the little lady it was built for next to her, next to him, but this sort of thing is kind of hard to get past on a professional pen test or anything. 304 00:18:22,820 --> 00:18:26,680 You're not, you know, a teddy bear kind of sticks out, but a UPS under your arm doesn't. 305 00:18:28,960 --> 00:18:37,080 So I had a flood in my basement a couple years ago, and for some reason, I kept the case off of an APC 350 UPS that got wet. 306 00:18:37,680 --> 00:18:39,380 Battery and circuitry was all fried. 307 00:18:39,440 --> 00:18:41,320 It was of no use, but I kept the thing for some reason. 308 00:18:42,400 --> 00:18:47,380 Gutted the interior, ripped out all the power circuitry, the battery case, the battery and everything. 309 00:18:49,100 --> 00:18:53,420 A little bit of soldering, jumpered around where the power control circuitry was, 310 00:18:53,620 --> 00:18:57,700 so now all of the power plugs on top still work. 311 00:18:57,980 --> 00:19:00,620 So you can plug this thing into the wall, plug in a lamp, everything works. 312 00:19:02,500 --> 00:19:08,180 Spliced in a power for the WRT's wall work because I still wanted to be able to use the WRT for other things. 313 00:19:08,920 --> 00:19:11,500 A couple of patch cables run into the network. 314 00:19:11,580 --> 00:19:19,080 Surge suppression access, or the RJ45's on that, and you've got the perfect hidden access point. 315 00:19:20,640 --> 00:19:26,300 A UPS sitting under somebody's desk, plugged into the network, plugged into the power, isn't going to raise a lot of alarm bells. 316 00:19:27,260 --> 00:19:31,260 You load something like the Evil Bastard firmware or something like Feruza WRT, 317 00:19:31,520 --> 00:19:34,640 and who knows what kind of mayhem could occur with this thing. 318 00:19:34,900 --> 00:19:37,380 I mean, the imagination is your only limit. 319 00:19:38,300 --> 00:19:39,660 A few pictures here. 320 00:19:39,880 --> 00:19:40,920 From the outside. 321 00:19:40,920 --> 00:19:42,640 From the outside looks absolutely normal. 322 00:19:44,180 --> 00:19:45,640 Power button still works, everything. 323 00:19:46,300 --> 00:19:55,340 But on the inside, you've got, you can see on the right side, you've got the WRT spliced into a standard wall wart. 324 00:19:56,360 --> 00:19:57,120 It all fits. 325 00:20:03,420 --> 00:20:04,840 Come on, don't lock up on me. 326 00:20:07,600 --> 00:20:08,880 Okay, the picture's not that big. 327 00:20:16,940 --> 00:20:20,040 Okay, after the wireless contest, I think this thing's ending up in Lake Mead. 328 00:20:21,320 --> 00:20:21,920 There we go. 329 00:20:23,760 --> 00:20:25,180 No, I'm not making it a prize. 330 00:20:28,740 --> 00:20:29,140 Okay. 331 00:20:30,080 --> 00:20:38,100 Now this is a, when wireless hardware turns evil, this is something that was just rolling around inside of my brain 332 00:20:38,920 --> 00:20:40,700 ever since CiscoGate last year. 333 00:20:40,920 --> 00:20:46,300 The idea being that if you own the hardware that everything's routing through, you own everything. 334 00:20:46,580 --> 00:20:47,800 You know, standard man-in-the-middle stuff. 335 00:20:50,620 --> 00:20:53,580 However, there's all these questions that were running through my mind about, 336 00:20:54,800 --> 00:20:57,520 because CiscoGate was about the high end, the enterprise stuff. 337 00:20:57,740 --> 00:21:00,600 You know, the most expensive stuff on the market, stuff I can't afford. 338 00:21:01,820 --> 00:21:06,120 But there's so many other devices out there now that are running various firmwares and everything. 339 00:21:06,680 --> 00:21:10,240 How do you know that the firmware you're running is the original one? 340 00:21:10,240 --> 00:21:11,440 That was meant to be there? 341 00:21:12,760 --> 00:21:15,920 This question kept bugging me, and I kept investigating more and more. 342 00:21:16,240 --> 00:21:22,240 Because so much consumer stuff, like these WRTs, like, you know, so many network switches and everything, 343 00:21:22,340 --> 00:21:25,680 are running proprietary or even open operating systems. 344 00:21:26,520 --> 00:21:33,300 But there's no verification method that what is actually on there and running is what is meant to be there. 345 00:21:33,440 --> 00:21:34,680 Or what you put there. 346 00:21:37,400 --> 00:21:39,540 We didn't do a proof of concept on this one. 347 00:21:39,540 --> 00:21:44,080 Mostly because it was just too dangerous and nothing really useful could come out with it. 348 00:21:44,180 --> 00:21:48,080 So I'm just trying to throw the idea out there and just see what happens. 349 00:21:49,640 --> 00:21:56,280 Other team for the wireless contest that I know is going to be competing is Preset Kill Limit. 350 00:21:56,720 --> 00:21:59,140 These guys whooped my butt last year, barely. 351 00:21:59,680 --> 00:22:02,180 And I am going to be winning the jacket this year. 352 00:22:04,120 --> 00:22:05,080 They have... 353 00:22:06,680 --> 00:22:07,160 Oh! 354 00:22:10,660 --> 00:22:11,960 I want to win fair and square. 355 00:22:13,720 --> 00:22:21,720 But these guys, at their job, have an envious duty of hunting down rogue access points on their network. 356 00:22:22,960 --> 00:22:26,260 And running around with the directional finding these things is always a pain in the ass. 357 00:22:26,440 --> 00:22:28,900 So what they did was they came up with the Kill Bot. 358 00:22:30,460 --> 00:22:32,360 Which modded WRT once again. 359 00:22:33,080 --> 00:22:34,280 You hire a summer student. 360 00:22:34,580 --> 00:22:35,980 You plug this thing into the wall. 361 00:22:36,420 --> 00:22:37,980 It goes out in client mode. 362 00:22:37,980 --> 00:22:39,940 Connects to any open access point it finds. 363 00:22:40,560 --> 00:22:43,880 Tries to connect to an internal network address and PHP page. 364 00:22:44,520 --> 00:22:45,640 And then if it does, 365 00:22:46,140 --> 00:22:50,740 Figures out which switch connection that connection is coming in on. 366 00:22:50,840 --> 00:22:52,620 And just turns off that port on the switch. 367 00:22:53,600 --> 00:22:56,960 So the person that installed the rogue access point is trying to connect and do their thing. 368 00:22:57,060 --> 00:23:00,740 And it's like, oh, I can't get out anymore because, well, the switch is killed. 369 00:23:01,720 --> 00:23:04,840 Didn't you guys upgrade that thing to put them through a captive portal now? 370 00:23:05,300 --> 00:23:06,880 Big skull and crossbones on it? 371 00:23:09,340 --> 00:23:09,780 Yeah. 372 00:23:09,900 --> 00:23:12,900 You get a page that says you violated the acceptable use policy. 373 00:23:13,660 --> 00:23:15,280 They always come in whining. 374 00:23:15,400 --> 00:23:16,420 Why can't I get access? 375 00:23:16,580 --> 00:23:17,140 Why can't I get access? 376 00:23:17,340 --> 00:23:19,180 Well, here's the piece of paper you signed. 377 00:23:21,160 --> 00:23:26,740 Open source firmware is both a good thing and a bad thing. 378 00:23:27,020 --> 00:23:29,140 It's a good thing because it keeps costs down. 379 00:23:29,840 --> 00:23:32,580 Allows for additional development for fun tools like this. 380 00:23:33,020 --> 00:23:37,960 But any vulnerabilities, all the system internals, everything you need to know to do bad things, 381 00:23:37,960 --> 00:23:39,300 is also available. 382 00:23:40,340 --> 00:23:45,640 On the WRTs, all the settings are maintained through the NVRAM. 383 00:23:45,860 --> 00:23:52,600 So if you reflash the unit, you're changing the software, but the NVRAM memory stays the same. 384 00:23:53,480 --> 00:24:00,040 This was a little fact that kind of scared me because if you can reflash things and all your settings stay the same, 385 00:24:00,420 --> 00:24:07,940 the few little pieces of information that the average user sees and would be able to tell if something bad happened, 386 00:24:07,960 --> 00:24:11,140 or their access point, they're still going to be there. 387 00:24:11,540 --> 00:24:17,240 So how do you know what engine is running under there is the one that's supposed to be there? 388 00:24:20,400 --> 00:24:23,220 There's no integrity checking for any of this stuff. 389 00:24:23,840 --> 00:24:31,260 Nobody seems to care that you have any idea of what's running on this router. 390 00:24:31,440 --> 00:24:34,120 You buy a Linksys access point at Best Buy or something like that, 391 00:24:34,180 --> 00:24:36,780 how do you know what is actually running on there 392 00:24:36,780 --> 00:24:40,220 is what is an honest-to-God Linksys firmware? 393 00:24:41,040 --> 00:24:43,020 You don't. You have to take it on faith. 394 00:24:43,440 --> 00:24:48,120 If it fires up, you see a Linksys page, it connects, it does everything it's supposed to, great. 395 00:24:48,480 --> 00:24:51,620 But how do you know? You don't know what's going on under the hood. 396 00:24:54,180 --> 00:24:57,480 This makes default access points a lot more dangerous. 397 00:24:58,540 --> 00:25:01,580 How do you run an antivirus on your router? 398 00:25:01,940 --> 00:25:04,080 Your router is a little computer now. 399 00:25:04,540 --> 00:25:06,400 You've got Linux on there. 400 00:25:06,780 --> 00:25:07,420 You've got open ports. 401 00:25:08,300 --> 00:25:10,780 It's doing full PC-type things. 402 00:25:11,500 --> 00:25:12,620 How do you check this? 403 00:25:13,740 --> 00:25:18,420 Any vulnerabilities on the WAN side could lead these things to their death 404 00:25:18,420 --> 00:25:20,640 from remote flashing across the Internet. 405 00:25:20,880 --> 00:25:25,080 You could see a virus that starts flashing routers across the world 406 00:25:25,080 --> 00:25:27,980 and making your own little DOS botnet or something. 407 00:25:30,120 --> 00:25:36,160 You could even carry from that to infect the hosts inside the network, just anything. 408 00:25:36,780 --> 00:25:38,040 Snarfing passwords, you name it. 409 00:25:41,060 --> 00:25:44,660 To give you an idea, this is the situation that I envisioned. 410 00:25:45,580 --> 00:25:49,640 You get a WRT54G with an infected firmware. 411 00:25:50,320 --> 00:25:53,360 At 3 o'clock in the morning, the WRT runs a cron job, 412 00:25:54,120 --> 00:25:58,100 looks for any nearby access points named Linksys, a known default. 413 00:25:59,420 --> 00:26:02,740 If it's open, it connects to it, tries to connect to the admin page. 414 00:26:03,040 --> 00:26:05,060 This is pretty much the same as what the kill bot was doing. 415 00:26:06,780 --> 00:26:08,700 It's already got a Linksys name. 416 00:26:08,980 --> 00:26:12,800 They probably haven't changed the default administrator password on the unit. 417 00:26:13,920 --> 00:26:18,980 Hey, if you can connect to that, you've got direct access to the flash utility. 418 00:26:19,560 --> 00:26:22,280 You can actually flash these units over wireless. 419 00:26:23,560 --> 00:26:25,140 This is dumb. 420 00:26:25,660 --> 00:26:27,980 I don't know why they're like this out of the box. 421 00:26:29,640 --> 00:26:31,560 Unit gets reflashed, reboots. 422 00:26:32,060 --> 00:26:36,200 Because the NVRAM doesn't get changed, the SSID channel, all that stuff, 423 00:26:36,200 --> 00:26:39,720 is maintained, and as far as the user sees, 424 00:26:40,000 --> 00:26:42,420 there was just a little blip at 3 o'clock in the morning. 425 00:26:43,900 --> 00:26:45,820 Still connects, still gets out to the internet, 426 00:26:45,980 --> 00:26:47,860 but you don't know what's being snarfed in the middle. 427 00:26:50,620 --> 00:26:54,800 This is my really craptacular Visio drawings. 428 00:26:57,920 --> 00:27:03,080 Basically scans, connects, sends the new firmware. 429 00:27:09,080 --> 00:27:13,140 And then once that host gets infected, does the same thing. 430 00:27:13,680 --> 00:27:17,120 Connects to any other access points that are open, passes it along. 431 00:27:17,660 --> 00:27:23,160 In a campus-type setting, this can be a real problem, 432 00:27:23,280 --> 00:27:25,640 because as anybody who's worked on a university knows, 433 00:27:25,880 --> 00:27:29,400 the amount of rogues that show up, the amount of students that bring in 434 00:27:29,400 --> 00:27:32,880 their default Linksys access points from home, they're everywhere. 435 00:27:33,820 --> 00:27:35,980 And they're usually right on top of each other. 436 00:27:36,200 --> 00:27:39,560 So one access point could see six other Linksys networks 437 00:27:39,560 --> 00:27:41,120 and theoretically infect all of them. 438 00:27:42,040 --> 00:27:43,580 A few caveats to this idea. 439 00:27:44,660 --> 00:27:49,000 Default modes are assumed, but given the statistics that are out there, 440 00:27:49,100 --> 00:27:51,180 there's an awful lot of default access points. 441 00:27:51,520 --> 00:27:52,820 Could be a huge problem. 442 00:27:53,160 --> 00:27:57,620 And anybody who might be driving by and using those things willy-nilly, 443 00:27:57,720 --> 00:28:02,020 like at a coffee shop or something, they could be hosts for something. 444 00:28:02,300 --> 00:28:04,620 Who knows? They could get infected, whatever. 445 00:28:06,860 --> 00:28:09,940 You could make rudimentary brute forcing of the admin page. 446 00:28:10,240 --> 00:28:12,300 Every day at 3 o'clock in the morning it connects. 447 00:28:13,180 --> 00:28:16,720 Tries a certain chunk of key space, shuts down. 448 00:28:17,120 --> 00:28:18,700 Only takes 10 minutes off. 449 00:28:19,680 --> 00:28:22,180 Login banners could trigger unit-specific attacks. 450 00:28:22,640 --> 00:28:28,340 So if an access point has a known vulnerability to bypass the admin page login, 451 00:28:28,640 --> 00:28:29,220 you could use that. 452 00:28:32,540 --> 00:28:35,000 You can also brick the router really easily 453 00:28:35,000 --> 00:28:36,360 if you're flashing over wireless. 454 00:28:36,820 --> 00:28:41,480 It's not a 100% thing, but having wireless routers just dropping off 455 00:28:42,100 --> 00:28:43,180 isn't a good thing anyways. 456 00:28:43,360 --> 00:28:45,980 You can just imagine the guys at Best Buy trying to figure that one out. 457 00:28:46,660 --> 00:28:48,260 Everybody bringing these things back saying, 458 00:28:48,420 --> 00:28:50,000 why is this thing not firing up? 459 00:28:50,180 --> 00:28:51,520 Well, you've got a bad flash in there. 460 00:28:51,660 --> 00:28:52,720 It's like, well, I didn't do that. 461 00:28:54,000 --> 00:28:56,940 Just a lot of access points using open firmwares. 462 00:28:58,620 --> 00:29:02,480 So how do you verify what's running there? 463 00:29:03,080 --> 00:29:04,500 I keep coming back to this. 464 00:29:05,000 --> 00:29:09,460 How do you run an antivirus scan on your hardware side? 465 00:29:10,880 --> 00:29:12,740 We've all got it for our PCs and our networks. 466 00:29:12,820 --> 00:29:17,080 We don't actually look at the stuff that is handling all that traffic. 467 00:29:17,300 --> 00:29:18,140 It's a computer. 468 00:29:19,620 --> 00:29:23,340 You could also do really evil things like the Linksys admin pages. 469 00:29:23,840 --> 00:29:25,640 Because it's an open source OS, 470 00:29:25,900 --> 00:29:28,840 it's right there in the source code from Linksys. 471 00:29:29,000 --> 00:29:31,960 Just take all those pages, copy, paste, done. 472 00:29:32,200 --> 00:29:34,880 Just turn on something small like Telnet in the firmware. 473 00:29:34,880 --> 00:29:37,260 And you get yourself backdoor access. 474 00:29:39,940 --> 00:29:46,820 Solutions I see, a checksum facility somehow of verifying what is running on there, 475 00:29:46,900 --> 00:29:49,800 make sure it matches to the known checksum for that version. 476 00:29:50,100 --> 00:29:52,420 However, that's really easily spoofed. 477 00:29:52,420 --> 00:29:55,440 I mean, if you're loading a rogue firmware on there, 478 00:29:56,560 --> 00:29:59,160 anybody can say, oh, yeah, I'm this firmware number. 479 00:29:59,300 --> 00:30:02,280 Here's my checksum, which is precisely what's on the Linksys page. 480 00:30:03,200 --> 00:30:03,800 You know. 481 00:30:03,800 --> 00:30:07,440 Kind of a not a good solution would be non-flashable hardware. 482 00:30:08,060 --> 00:30:10,260 But, again, if there's other problems found, 483 00:30:10,380 --> 00:30:11,580 you wouldn't be able to upgrade legitimately. 484 00:30:12,780 --> 00:30:15,320 Proprietary firmware, I hate to say it, 485 00:30:15,400 --> 00:30:20,880 but sometimes not having access to all the source code can make things a little bit safer. 486 00:30:21,380 --> 00:30:24,620 Still means you have to audit everything and all that usual fun stuff. 487 00:30:24,900 --> 00:30:27,360 But, you know, there's something to be said for it. 488 00:30:29,120 --> 00:30:31,900 Antivirus could do TCP profiling for changes. 489 00:30:32,140 --> 00:30:33,500 If the firmware gets rebuilt, 490 00:30:33,800 --> 00:30:37,440 there's a good chance that some of the flags and everything are going to get changed. 491 00:30:37,780 --> 00:30:42,600 And you'll see that, okay, it's gone from running a Linksys to OpenWRT or something. 492 00:30:44,520 --> 00:30:47,520 There's just so much hardware out there that, you know, 493 00:30:47,520 --> 00:30:50,940 switches, modems, routers, access points, they're all running this stuff. 494 00:30:52,640 --> 00:30:55,780 And nobody seems to be addressing what is running on them. 495 00:30:58,200 --> 00:30:59,420 Okay, this is the fun stuff. 496 00:31:01,420 --> 00:31:01,820 WPAPSK. 497 00:31:02,100 --> 00:31:03,780 I'm sure most of you are familiar with it. 498 00:31:03,800 --> 00:31:05,200 You've probably heard of this. 499 00:31:06,040 --> 00:31:09,580 At ShmooCon, we added the gen PMK utility to cow patty 3, 500 00:31:09,820 --> 00:31:12,300 which allowed you to precompute large tables of keys 501 00:31:12,300 --> 00:31:17,960 so that future attacks on that SSID went significantly faster. 502 00:31:18,360 --> 00:31:22,940 So if you had a customer that had, you know, for the sake of argument, 503 00:31:23,120 --> 00:31:27,280 an SSID of Linksys, you could compute, you know, a billion-word table 504 00:31:27,800 --> 00:31:33,780 for a Linksys access point and be able to, in a very short period of time, 505 00:31:33,780 --> 00:31:37,720 test for a billion words before you actually started brute forcing. 506 00:31:38,320 --> 00:31:40,360 It's a time-space tradeoff. 507 00:31:40,740 --> 00:31:43,720 If you're doing a lot of these, like if you're verifying installations, 508 00:31:44,780 --> 00:31:46,120 this can be a real help. 509 00:31:47,060 --> 00:31:51,260 Like I said earlier, we went from 12 keys a second on my laptop here 510 00:31:51,260 --> 00:31:54,240 to 18,000 keys applying a precomputed table. 511 00:31:54,580 --> 00:31:55,840 So it's a big speed increase. 512 00:31:56,940 --> 00:32:01,480 The lookup tables that are currently available is the top 1,000 SSIDs 513 00:32:01,480 --> 00:32:03,400 with 172,000-word dictionary. 514 00:32:03,780 --> 00:32:04,940 Came out to about 7 gig. 515 00:32:06,180 --> 00:32:11,560 Audit and Converge, I have to thank them because they're hosting the torrents 516 00:32:11,560 --> 00:32:13,920 and putting up with a lot of grief trying to keep them up. 517 00:32:15,320 --> 00:32:17,400 At ShmooCon, we were trying to release them. 518 00:32:17,900 --> 00:32:18,900 Things fell through. 519 00:32:19,040 --> 00:32:20,160 I want this stuff out there. 520 00:32:20,260 --> 00:32:20,980 We need seeds. 521 00:32:21,120 --> 00:32:22,600 Please seed this stuff. 522 00:32:23,920 --> 00:32:27,420 And OSX can also run cow patty as well. 523 00:32:27,600 --> 00:32:33,420 And there's also built-in utilities for precomputing keys within OSX. 524 00:32:33,780 --> 00:32:36,080 I just got the ten-minute flash there. 525 00:32:36,800 --> 00:32:39,640 Seven gigs is a good start, but I wanted more. 526 00:32:39,840 --> 00:32:43,340 I wanted to be able to walk up to pretty much any network 527 00:32:43,340 --> 00:32:47,080 and take a whack at this thing and have a good chance of getting a password. 528 00:32:48,120 --> 00:32:52,880 Two guys, SkyNet OS and GB3, they wrangled up 14 high-power CPUs 529 00:32:52,880 --> 00:32:56,980 for testing purposes in their office, most of which was my data. 530 00:32:58,180 --> 00:33:01,780 Kevin Mitnick, of all people, put me in contact with Mark Burnett, 531 00:33:01,960 --> 00:33:03,460 who wrote a really nice book. 532 00:33:03,780 --> 00:33:04,740 It's called Perfect Passwords. 533 00:33:05,000 --> 00:33:06,140 Yes, I am pimping this. 534 00:33:07,020 --> 00:33:10,080 But he collected somewhere in the range of 4 million passwords 535 00:33:10,080 --> 00:33:12,940 from porn sites and other places just through Google 536 00:33:12,940 --> 00:33:15,440 of actual used passwords. 537 00:33:15,900 --> 00:33:17,760 These are things that people actually have used. 538 00:33:18,320 --> 00:33:22,540 So we mixed his password list in with a bunch of regular dictionaries. 539 00:33:23,120 --> 00:33:26,080 They computed this for three weeks, three blown fuses, 540 00:33:27,360 --> 00:33:28,960 and the damn tables didn't work. 541 00:33:30,940 --> 00:33:32,920 Previously, I had screwed up, 542 00:33:32,920 --> 00:33:37,680 and accidentally sent in the password list with a control character 543 00:33:37,680 --> 00:33:39,300 at the end of every single line, 544 00:33:39,420 --> 00:33:43,540 which was computed into the hash and completely changed everything. 545 00:33:44,480 --> 00:33:46,040 So I did it again. 546 00:33:47,340 --> 00:33:50,340 So if somebody wants to write a patch for this version that we're releasing 547 00:33:50,340 --> 00:33:55,060 that checks if it's UNIX or DOS text file input and corrects this, 548 00:33:55,300 --> 00:33:56,680 I will be very thankful. 549 00:33:58,240 --> 00:33:59,420 Oh, you already put it in? 550 00:33:59,760 --> 00:34:01,500 Thank you. Thank you. 551 00:34:02,060 --> 00:34:03,060 Learning from my mistakes. 552 00:34:04,720 --> 00:34:08,240 However, Hikari was kind enough to step up, 553 00:34:08,340 --> 00:34:11,000 and his research was already going on, 554 00:34:11,100 --> 00:34:12,280 and I got in touch with him and said, 555 00:34:12,380 --> 00:34:15,960 hey, you're doing research into FPGAs and WPA cracking. 556 00:34:17,120 --> 00:34:18,920 I think we need to work on this. 557 00:34:20,700 --> 00:34:22,240 You want to get in on this? 558 00:34:22,500 --> 00:34:22,560 Yeah. 559 00:34:26,100 --> 00:34:26,500 Okay. 560 00:34:27,760 --> 00:34:28,760 Should I just steal that one? 561 00:34:28,760 --> 00:34:29,100 Can I get it? 562 00:34:29,800 --> 00:34:30,460 Oh, I think it's up. 563 00:34:33,280 --> 00:34:33,680 Testing? 564 00:34:34,200 --> 00:34:34,580 Oh, cool. 565 00:34:35,200 --> 00:34:35,600 Okay. 566 00:34:35,660 --> 00:34:41,320 So, yeah, I added in a bunch of FPGA support for CALPADDY, 567 00:34:41,380 --> 00:34:44,260 and I don't know if you know what an FPGA is, 568 00:34:44,380 --> 00:34:49,480 but it's basically a chip that you can basically design a whole chip in software 569 00:34:49,480 --> 00:34:52,560 and then compile it and throw it onto this chip, 570 00:34:52,640 --> 00:34:55,400 and the chip will function basically like however, 571 00:34:55,520 --> 00:34:57,160 what sort of chip you want it to function like. 572 00:34:57,160 --> 00:35:00,460 So you can basically code a processor, 573 00:35:00,640 --> 00:35:03,200 like whatever sort of processor you want, 574 00:35:03,260 --> 00:35:05,120 upload it, and it will behave just like that. 575 00:35:05,360 --> 00:35:10,440 And in my case, I coded it so it basically just does PBKDF2 576 00:35:10,440 --> 00:35:12,480 and SHA-1 and stuff really fast. 577 00:35:12,660 --> 00:35:13,960 I just accelerated that portion, 578 00:35:14,220 --> 00:35:17,260 and so it's actually like the transistors are set 579 00:35:17,260 --> 00:35:20,500 so they actually, you know, compute all that stuff in the hardware. 580 00:35:20,660 --> 00:35:22,220 So it's a lot faster than on a PC. 581 00:35:24,460 --> 00:35:27,140 So anyway, the performance number is up. 582 00:35:27,160 --> 00:35:29,060 This is what I get on like a decent laptop, 583 00:35:29,320 --> 00:35:30,640 aka not RenderMan's laptop. 584 00:35:31,220 --> 00:35:34,140 You can get about, you know, 70 keys per second. 585 00:35:35,340 --> 00:35:37,680 On one of my FPGA cards, that's actually wrong. 586 00:35:37,860 --> 00:35:41,160 I get about 450 per second, and I'll be demoing that in a minute. 587 00:35:41,220 --> 00:35:43,060 Okay, you've done optimization since we last talked. 588 00:35:43,400 --> 00:35:43,860 Oh, okay. 589 00:35:43,960 --> 00:35:45,980 Well, yeah, it's about 450 per second, 590 00:35:46,020 --> 00:35:48,040 and that's on a tiny little compact flash card. 591 00:35:48,300 --> 00:35:49,900 I've got eight of them in the system. 592 00:35:50,000 --> 00:35:51,020 This will take up to 15. 593 00:35:53,240 --> 00:35:54,720 This is actually a bigger card. 594 00:35:54,960 --> 00:35:57,140 This is the compact flash card. 595 00:35:57,160 --> 00:35:58,800 These cards are less than half the size of this, 596 00:35:58,920 --> 00:36:00,980 and they get, you know, about 450 per second. 597 00:36:02,760 --> 00:36:05,820 So anyway, let's see. 598 00:36:05,980 --> 00:36:08,700 Yeah, so that should actually be about 6,500 keys per second 599 00:36:08,700 --> 00:36:09,720 instead of 3,000 there. 600 00:36:11,560 --> 00:36:15,700 But yeah, I ran it through this system right here, 601 00:36:15,800 --> 00:36:18,000 and it only took about 48 hours. 602 00:36:18,140 --> 00:36:19,060 So it wasn't actually three days. 603 00:36:19,100 --> 00:36:19,760 It was 48 hours. 604 00:36:20,100 --> 00:36:23,960 And managed to do that in the time that, you know, 605 00:36:23,980 --> 00:36:26,600 it took them three weeks on 14 CPUs. 606 00:36:27,160 --> 00:36:29,300 So pretty big speed improvement. 607 00:36:32,320 --> 00:36:35,360 And, yeah, basically generated 40 gigs worth of hash tables 608 00:36:37,160 --> 00:36:40,180 for the top 1,000 SSIDs, million word list. 609 00:36:41,460 --> 00:36:42,920 And, oh, so we have a torrent online. 610 00:36:43,080 --> 00:36:43,260 Cool. 611 00:36:43,460 --> 00:36:45,040 So, yeah, it helps you. 612 00:36:45,180 --> 00:36:45,400 Hopefully it will. 613 00:36:45,540 --> 00:36:46,920 Oh, for the 40-gig one? 614 00:36:47,200 --> 00:36:48,700 Yeah, we'll hopefully have that up. 615 00:36:49,100 --> 00:36:50,920 Just need to talk to a few people before that. 616 00:36:51,100 --> 00:36:53,480 But if you do start downloading this thing, 617 00:36:53,540 --> 00:36:54,800 please see it as long as we can. 618 00:36:55,420 --> 00:36:56,120 You don't... 619 00:36:56,120 --> 00:36:58,060 We don't have a lot of money for bandwidth 620 00:36:58,060 --> 00:36:58,820 or anything like this. 621 00:36:59,000 --> 00:37:00,580 So the more seeding you can do for the torrents, 622 00:37:00,580 --> 00:37:01,600 the happier we'll be. 623 00:37:02,480 --> 00:37:02,840 Okay. 624 00:37:02,920 --> 00:37:03,960 So, yeah, cool. 625 00:37:04,120 --> 00:37:06,140 You can start downloading these if you want. 626 00:37:06,620 --> 00:37:08,640 I don't think I brought a copy with me, 627 00:37:08,700 --> 00:37:10,540 but do you guys have a copy? 628 00:37:11,460 --> 00:37:11,820 No. 629 00:37:11,960 --> 00:37:12,240 No? 630 00:37:12,280 --> 00:37:12,580 Okay. 631 00:37:12,640 --> 00:37:13,460 So just download them. 632 00:37:16,520 --> 00:37:18,980 Yeah, so we released CALPADDY 3.0, 633 00:37:19,040 --> 00:37:22,280 and we're releasing CALPADDY 4.0 today, right? 634 00:37:22,460 --> 00:37:22,820 Yeah. 635 00:37:22,820 --> 00:37:23,060 Yeah. 636 00:37:23,740 --> 00:37:25,940 Josh Wright, I think he took off yesterday. 637 00:37:26,120 --> 00:37:26,660 So he's not here. 638 00:37:26,920 --> 00:37:28,620 But he threw all that stuff together. 639 00:37:29,600 --> 00:37:33,620 And it turns out that WPA2 has the exact same authentication 640 00:37:33,620 --> 00:37:36,340 as WPA, and you're only attacking the authentication. 641 00:37:36,660 --> 00:37:39,760 So it's pretty much the exact same attack for both of them. 642 00:37:40,880 --> 00:37:42,020 So it was... 643 00:37:42,020 --> 00:37:45,100 Did he even have to modify anything to get it to work? 644 00:37:45,180 --> 00:37:47,620 I think he just had to have support for the parsers 645 00:37:47,620 --> 00:37:48,580 for the packets. 646 00:37:48,760 --> 00:37:49,300 That's about it. 647 00:37:49,520 --> 00:37:49,880 Oh, okay. 648 00:37:49,980 --> 00:37:52,140 So a couple lines of mods or whatever. 649 00:37:52,140 --> 00:37:53,460 Yeah, it was surprisingly simple, 650 00:37:53,540 --> 00:37:55,820 and yet nobody else really had a valid, 651 00:37:56,120 --> 00:37:58,240 direct attack vector against WPA2 until this. 652 00:38:00,280 --> 00:38:01,580 Yeah, so amazingly simple. 653 00:38:02,140 --> 00:38:03,700 I guess I'll switch over to a demo 654 00:38:03,700 --> 00:38:05,200 just so you can see CALPADDY in action. 655 00:38:06,300 --> 00:38:07,320 We'll see if this works. 656 00:38:10,700 --> 00:38:11,320 There we go. 657 00:38:11,740 --> 00:38:12,180 Cool. 658 00:38:16,840 --> 00:38:17,540 What mouse? 659 00:38:20,700 --> 00:38:25,620 Yeah, we don't have a monitor for this up here, 660 00:38:26,120 --> 00:38:26,640 so I'll just look behind him. 661 00:38:34,260 --> 00:38:35,760 I don't know if you can read that. 662 00:38:36,320 --> 00:38:37,780 That's just a prompt thing. 663 00:38:38,980 --> 00:38:39,500 Oops. 664 00:38:42,560 --> 00:38:44,720 So normally you can just run CALPADDY, 665 00:38:44,800 --> 00:38:46,760 and those are the different options here. 666 00:38:47,260 --> 00:38:52,180 The typical usage is you just do, like, dash F 667 00:38:52,180 --> 00:38:53,580 and then a dictionary file. 668 00:38:54,180 --> 00:38:54,700 So... 669 00:38:56,120 --> 00:38:57,080 I've got this really tiny one here. 670 00:38:57,980 --> 00:38:59,600 Then you give it a PCAP file. 671 00:38:59,840 --> 00:39:00,740 I think that's dash R. 672 00:39:01,280 --> 00:39:01,760 There. 673 00:39:04,180 --> 00:39:06,340 And then you give it the SSID. 674 00:39:09,620 --> 00:39:12,660 And normally on your computer it goes pretty slow. 675 00:39:12,900 --> 00:39:14,660 Right now this is maybe doing, like, 676 00:39:15,320 --> 00:39:17,880 about 50 or 60 per second, possibly. 677 00:39:20,440 --> 00:39:22,660 And that's just running on the CPU here. 678 00:39:22,960 --> 00:39:24,520 So I'm just going to take this 679 00:39:24,520 --> 00:39:27,500 and tell it to run on FPGA0. 680 00:39:27,700 --> 00:39:28,640 I don't know if you can see that, 681 00:39:28,800 --> 00:39:30,640 but basically dash capital F0. 682 00:39:31,140 --> 00:39:32,840 And this is only running on one card, 683 00:39:32,900 --> 00:39:37,040 so it's doing about 450 per second right now. 684 00:39:37,300 --> 00:39:38,960 And it should go through and find it, hopefully. 685 00:39:39,200 --> 00:39:40,360 And that's just one card. 686 00:39:40,860 --> 00:39:43,060 Yeah, I'll demo all the cards if you want to see that. 687 00:39:43,240 --> 00:39:44,940 Yeah, so it just found the passphrase. 688 00:39:45,700 --> 00:39:47,000 Oh, 435 per second. 689 00:39:48,500 --> 00:39:50,220 You can also use GenPMK, 690 00:39:50,360 --> 00:39:52,620 which is the tool that he was talking about earlier. 691 00:39:52,620 --> 00:39:55,660 And the usage is pretty similar. 692 00:39:55,820 --> 00:39:57,100 You just give it a dictionary file. 693 00:40:00,320 --> 00:40:01,460 Like a hash file. 694 00:40:02,100 --> 00:40:02,800 That's the output. 695 00:40:04,080 --> 00:40:04,440 SSID. 696 00:40:06,760 --> 00:40:07,120 And... 697 00:40:08,020 --> 00:40:09,340 Yeah, so normally it's really slow. 698 00:40:09,420 --> 00:40:10,420 I'm just going to run it on the FPGA, 699 00:40:11,220 --> 00:40:12,280 just so it's nice and quick. 700 00:40:14,220 --> 00:40:15,620 So it's basically doing the same thing, 701 00:40:15,680 --> 00:40:16,840 but it's actually saving out 702 00:40:17,540 --> 00:40:19,720 all the computed stuff to a file. 703 00:40:21,620 --> 00:40:23,440 And then we should be able to take that file 704 00:40:23,440 --> 00:40:24,500 and run it through cowpatty. 705 00:40:24,940 --> 00:40:26,360 And you can see how fast that is. 706 00:40:27,680 --> 00:40:28,540 So let's see. 707 00:40:28,820 --> 00:40:29,680 Dash D. 708 00:40:35,560 --> 00:40:38,480 And so this doesn't use FPGA at all. 709 00:40:38,540 --> 00:40:39,880 You can run this on your computer 710 00:40:39,880 --> 00:40:41,640 as long as you download these hash files. 711 00:40:42,440 --> 00:40:43,380 And there we go. 712 00:40:43,820 --> 00:40:45,820 So it did it at about 70,000 per second. 713 00:40:46,360 --> 00:40:48,580 And it just found it just like that. 714 00:40:48,580 --> 00:40:51,280 And with these huge tables that we have, 715 00:40:51,360 --> 00:40:54,140 it may only take you less than a minute 716 00:40:54,140 --> 00:40:55,340 to scan through all of them 717 00:40:55,340 --> 00:40:56,920 and go through a million words. 718 00:40:57,160 --> 00:40:58,200 So it's pretty quick. 719 00:40:58,380 --> 00:41:00,500 So it sure as heck beats sitting there on site 720 00:41:00,500 --> 00:41:01,900 waiting for like five hours 721 00:41:01,900 --> 00:41:04,300 to go through a really short dictionary. 722 00:41:05,520 --> 00:41:06,880 Yeah, you can crank through a million words 723 00:41:06,880 --> 00:41:07,900 in a minute. 724 00:41:08,080 --> 00:41:09,020 Get ahead of the game. 725 00:41:10,560 --> 00:41:10,960 Yeah. 726 00:41:12,620 --> 00:41:15,300 So since I basically made it 727 00:41:15,300 --> 00:41:16,120 so you can just specify 728 00:41:16,120 --> 00:41:17,500 which FPGA you want to use, 729 00:41:18,580 --> 00:41:19,920 if you have like eight FPGAs 730 00:41:19,920 --> 00:41:21,660 or 15 FPGAs or a thousand, 731 00:41:21,860 --> 00:41:23,320 I wanted to make it a lot easier 732 00:41:23,320 --> 00:41:24,960 for people to spawn all these sessions 733 00:41:24,960 --> 00:41:26,360 and do cracking really fast. 734 00:41:26,680 --> 00:41:29,100 So I just made a really tiny little Perl script 735 00:41:29,100 --> 00:41:32,280 that basically starts up screen 736 00:41:32,280 --> 00:41:33,720 and then creates a screen session 737 00:41:33,720 --> 00:41:35,340 for like every FPGA 738 00:41:35,340 --> 00:41:36,460 and starts up everything properly. 739 00:41:36,740 --> 00:41:38,400 So I'm just going to demo that real quick. 740 00:41:41,380 --> 00:41:42,140 So with this, 741 00:41:42,180 --> 00:41:43,420 all you do is give it a dictionary file. 742 00:41:43,580 --> 00:41:45,320 I'm actually going to put in the million word one 743 00:41:46,120 --> 00:41:47,580 just so you can kind of see it in action. 744 00:41:49,400 --> 00:41:51,380 And exact same PCAP file. 745 00:41:52,220 --> 00:41:52,820 There we are. 746 00:41:54,880 --> 00:41:56,680 So it found eight cards in the system. 747 00:41:57,600 --> 00:41:59,340 And now it's starting up the screen session. 748 00:41:59,720 --> 00:42:01,300 So this is one of the instances here. 749 00:42:01,860 --> 00:42:02,980 And there's another one. 750 00:42:03,160 --> 00:42:03,540 Another one. 751 00:42:04,500 --> 00:42:05,100 Oh, we are? 752 00:42:05,420 --> 00:42:05,860 Okay. 753 00:42:07,640 --> 00:42:09,280 So it should find it in 754 00:42:09,280 --> 00:42:10,140 there we go. 755 00:42:10,680 --> 00:42:13,620 So it just found it out of the million word word list 756 00:42:13,620 --> 00:42:16,120 and it was doing basically 450 per second 757 00:42:16,120 --> 00:42:16,780 times eight. 758 00:42:18,720 --> 00:42:20,240 We're getting told we're out of time here. 759 00:42:20,380 --> 00:42:21,080 So I'm just going to kind of 760 00:42:21,080 --> 00:42:22,360 zip to the end here. 761 00:42:22,560 --> 00:42:22,920 Okay. 762 00:42:25,740 --> 00:42:26,520 All right. 763 00:42:27,020 --> 00:42:29,280 But since WPA1 and WPA2 764 00:42:29,280 --> 00:42:30,960 share the same key hash, 765 00:42:32,140 --> 00:42:33,640 basically all of these tables 766 00:42:33,640 --> 00:42:35,480 now work for WPA2 as well. 767 00:42:35,740 --> 00:42:37,760 So we got 47 gigs worth of words 768 00:42:38,380 --> 00:42:38,980 precomputed for you. 769 00:42:39,400 --> 00:42:40,560 Start downloading them. 770 00:42:40,620 --> 00:42:40,960 Enjoy. 771 00:42:42,320 --> 00:42:43,460 I think that's about it. 772 00:42:44,020 --> 00:42:46,320 We're getting the big crossbones here. 773 00:42:51,200 --> 00:42:53,380 And sorry for all the technical goofs.