1 00:00:08,800 --> 00:00:11,600 Thank you. 2 00:00:58,580 --> 00:00:59,980 Thank you. 3 00:01:28,580 --> 00:01:29,980 Thank you. 4 00:01:58,120 --> 00:01:59,520 Thank you. 5 00:02:28,580 --> 00:02:29,980 Thank you. 6 00:02:46,280 --> 00:02:46,600 Thank you. 7 00:02:48,940 --> 00:02:50,640 Abaddon's going to be talking about AirJack 2, 8 00:02:50,800 --> 00:02:54,020 which is a very exciting thing that he's been working very hard on for all of us. 9 00:02:54,080 --> 00:02:55,260 We're all very excited about that. 10 00:02:55,520 --> 00:02:58,320 And then at the end, we're going to have an opportunity to be able to talk about, 11 00:02:59,040 --> 00:02:59,900 answer your questions. 12 00:03:00,000 --> 00:03:02,240 Talk about things in the wireless security field. 13 00:03:02,340 --> 00:03:04,500 It doesn't have to be just things that are in the panel. 14 00:03:07,500 --> 00:03:08,520 Okay, KISMET 3. 15 00:03:11,080 --> 00:03:15,000 Does it work better? 16 00:03:15,300 --> 00:03:15,620 No. 17 00:03:18,860 --> 00:03:20,860 Okay, it's really quiet. 18 00:03:22,100 --> 00:03:22,980 And feedbacky. 19 00:03:23,320 --> 00:03:23,760 Yay. 20 00:03:24,480 --> 00:03:25,920 Okay, KISMET 3 is out. 21 00:03:26,500 --> 00:03:27,640 Lots of new toys in it. 22 00:03:27,720 --> 00:03:29,160 It's been about six months since the last release. 23 00:03:49,480 --> 00:03:53,340 This one should be more stable. 24 00:03:54,460 --> 00:03:57,040 Just cover the main new things that are out in it. 25 00:03:57,640 --> 00:03:59,120 The channel hopper is now part of it. 26 00:03:59,380 --> 00:03:59,980 I got a lot of new things in it. 27 00:03:59,980 --> 00:04:04,580 lot of questions about people who had to start it separately who didn't, so that's taken 28 00:04:04,580 --> 00:04:08,600 care of. Packet handling is a little more secure. It 29 00:04:08,600 --> 00:04:13,600 spawns off multiple processes to handle each capture source, does IPC back to the non-root 30 00:04:13,600 --> 00:04:17,580 dissector. Some of the big things in it, there's some 31 00:04:17,580 --> 00:04:27,600 stateful packet inspection now. It will detect things based on behavior instead of single 32 00:04:27,600 --> 00:04:34,540 packet signatures. So things like NetSumbler will get detected with how they behave looking 33 00:04:34,540 --> 00:04:40,140 for networks and never participating in them. Remote sniffer drones. You can now run a capture 34 00:04:40,140 --> 00:04:45,560 source on a cheap throwaway PC, send the packets over a wired network and analyze them with 35 00:04:45,560 --> 00:04:53,980 one Kismet server. It works in OSX now. There's new alert systems and there's more drivers. 36 00:04:54,480 --> 00:04:55,960 I see we have OSX fans. 37 00:04:57,240 --> 00:05:07,780 There's some more detailed things here. With the Kismet drones, you can cover the entire 38 00:05:07,780 --> 00:05:11,040 floor of a building or an entire building, send all the packets over the wired network, 39 00:05:11,340 --> 00:05:14,080 log them all in one place, pipe them all to snort in one place. 40 00:05:15,640 --> 00:05:19,440 Basically if you're too cheap to buy his company's product. 41 00:05:24,300 --> 00:05:24,960 It's a... 42 00:05:24,960 --> 00:05:25,260 It's a... 43 00:05:26,440 --> 00:05:27,680 It's a good thing for... 44 00:05:27,680 --> 00:05:30,580 It's not so much oriented towards war driving, but it's good for IDS. 45 00:05:32,340 --> 00:05:38,520 The new alert system. Previously all the alerts came in pretty much unmanaged. You can now 46 00:05:38,520 --> 00:05:43,760 do burst alerts, rate limiting. Eventually we'll have plug-ins. I've been saying that 47 00:05:43,760 --> 00:05:46,400 for a year. It'll happen when it happens. 48 00:05:49,540 --> 00:05:55,040 I mentioned the stateful packet alert stuff already and the named pipe output allows you 49 00:05:55,040 --> 00:06:03,440 to use a named pipe file, which IDSs like snort can then open and do live layer three 50 00:06:03,440 --> 00:06:09,180 IDS of the packet stream. And if you put the web keys into Kismet, it will de-web the 51 00:06:09,180 --> 00:06:13,000 packets for snort, which is fairly important if you're doing IDS. 52 00:06:17,700 --> 00:06:24,380 And that actually looks pretty much the same as it did before, so. We weren't going to 53 00:06:24,380 --> 00:06:30,460 to do this with a live capture stream, but we end up having to, so it should be interesting. 54 00:06:42,280 --> 00:06:46,000 Can we dim the lights? No? Okay. 55 00:07:05,300 --> 00:07:11,440 No one yet. Actually, it really looks pretty much the same as the previous versions. 56 00:07:16,800 --> 00:07:21,400 People can go through the screens themselves, so we'll move on to people with more interesting 57 00:07:21,400 --> 00:07:22,080 tools now. 58 00:07:27,180 --> 00:07:30,200 It's my turn, I guess? No. Okay. 59 00:08:00,280 --> 00:08:04,740 Put it back on one. Back on one? 60 00:08:05,700 --> 00:08:14,980 Okay. You can go ahead. Yeah. Go for it. Great. 61 00:08:15,840 --> 00:08:19,960 We're on schedule. I'm the schedule Nazi. 62 00:08:20,360 --> 00:08:24,360 Okay. Um. As long as I have no questions, I'm going to go ahead and do this. 63 00:08:24,380 --> 00:08:24,580 Okay. Okay. 64 00:08:24,580 --> 00:08:27,600 So, the first one is Mike Kershaw. He's never taken enough credit for Kismet. It's a great 65 00:08:27,600 --> 00:08:31,040 product. It's a great tool that he could get a lot of money for. 66 00:08:33,660 --> 00:08:36,700 Mike Kershaw. Thanks. 67 00:08:39,400 --> 00:08:44,000 Okay. I'm going to be spending a couple minutes talking about weakness in the Leap challenge 68 00:08:44,000 --> 00:08:51,240 response mechanism. Okay. What is Leap? Well, Leap is Cisco market share. What's 69 00:08:51,240 --> 00:08:51,620 the deal? 70 00:08:51,800 --> 00:08:52,260 So. 71 00:08:52,260 --> 00:09:00,280 So, Leap is Cisco's plan on controlling the 802.11 airspace. Now, we've got different 72 00:09:00,280 --> 00:09:07,000 EAP types available to us for 802.1X authentication on wireless networks like PEEP, TTLS, EAPTLS, 73 00:09:07,260 --> 00:09:12,500 but none of those three make Cisco as much money as Leap does. So, what's the deal with 74 00:09:12,500 --> 00:09:18,260 Leap? It's the lightweight extensible authentication protocol. It's also known as Cisco EAP. 75 00:09:19,580 --> 00:09:22,240 It's easy to install and configure. Easy to install and configure. Easy to install and 76 00:09:22,260 --> 00:09:25,680 configure. It's a support with a unified supplicant, and it must be secure, right? 77 00:09:26,460 --> 00:09:31,000 Well, the thing about Leap is Cisco's been lately pushing this big program called Cisco 78 00:09:31,000 --> 00:09:37,840 CCX. I don't know what the acronym stands for. Somebody else does. But what Cisco is 79 00:09:37,840 --> 00:09:42,700 doing is they're licensing the Leap software to other manufacturers so you don't have to 80 00:09:42,700 --> 00:09:48,180 buy Cisco cards, Cisco Wi-Fi cards to be able to use Leap on your network. Now, you can 81 00:09:48,180 --> 00:09:52,240 buy a Linksys card, a D-Link card, a 3Com card, whatever, but you're still using the 82 00:09:52,240 --> 00:09:57,740 and it comes bundled with the drivers to be able to do leap the the part that 83 00:09:57,740 --> 00:10:01,800 Cisco makes money on is when you buy a piece so if you want to do Cisco leap 84 00:10:01,800 --> 00:10:05,920 you can only use Cisco a piece because that's intellectual property of Cisco 85 00:10:09,940 --> 00:10:16,040 so the leap specification is only open to business partners of Cisco like I 86 00:10:16,040 --> 00:10:19,800 said the client is licensed to a bunch of other manufacturers and what happens 87 00:10:19,800 --> 00:10:24,900 is these manufacturers license the client and now use the consumer see oh 88 00:10:24,900 --> 00:10:28,800 good this extra thing is available now it's much easier for me to secure my 89 00:10:28,800 --> 00:10:32,060 wireless network with Cisco leap because I don't have to go through the trouble 90 00:10:32,060 --> 00:10:36,280 of setting up an 802 no one X server I don't need to buy steel-belted radius or 91 00:10:36,280 --> 00:10:39,860 any of that kind of stuff I don't have to worry about distributing client 92 00:10:39,860 --> 00:10:43,760 software at all my clients because they already come with these drivers that I'm 93 00:10:43,760 --> 00:10:47,420 getting with these cards so Cisco is making it very attractive but when you 94 00:10:47,420 --> 00:10:49,620 use leap you're locked into always using 95 00:10:49,620 --> 00:10:49,780 something that you're not going to be able to use for a long time and you're 96 00:10:49,780 --> 00:10:50,380 going to be able to use it for a long time and now that's what the Cisco a piece 97 00:10:50,380 --> 00:10:55,240 and that's where the much with a cash cow comes in okay so information here 98 00:10:55,240 --> 00:10:59,820 just round disclaimer purposes is up for derived from packet captures of leap 99 00:10:59,820 --> 00:11:04,520 transactions specifically through counting bits with ethereal and from 100 00:11:04,520 --> 00:11:09,940 this one post that's on the internet I believe this slides in the DEF CON CD so 101 00:11:09,940 --> 00:11:18,320 if it's not you can email me and I'll get you a copy of it thanks so what is 102 00:11:18,320 --> 00:11:19,760 leap do well it makes the world look 103 00:11:19,760 --> 00:11:26,360 a lot safer for everybody. So, Leap actually uses a modified MSCHEP V2 challenge response 104 00:11:26,360 --> 00:11:30,120 authentication mechanism to make sure that you are who you say you are when you join 105 00:11:30,120 --> 00:11:36,040 a Leap network. It uses mutual authentication to mitigate man-in-the-middle attacks. So, 106 00:11:36,120 --> 00:11:41,060 you're not only authenticated to the AP, but the AP authenticates itself to you. It uses 107 00:11:41,060 --> 00:11:45,600 short-lived web keys to encrypt data, and it prevents the usage of weak IVs from the 108 00:11:45,600 --> 00:11:51,860 access point. So, this mitigates a lot, not all, of the effectiveness of tools like AirSnort 109 00:11:51,860 --> 00:11:59,500 and WebCrack and BSD AirTools. It does reduce the probability of IV collisions due to a 110 00:11:59,500 --> 00:12:04,600 randomized selection process. So, when it doesn't use a sequential initialization vector 111 00:12:04,600 --> 00:12:11,560 counter, it actually uses a randomized value. Okay. So, the weakness that I'm going to be 112 00:12:11,560 --> 00:12:15,280 talking about is actually in the MSCHEP V2 authentication challenge response. 113 00:12:16,380 --> 00:12:23,140 So, what sucks about MSCHEP V2? There's no salt stored in NT hashes. So, the NT hash is 114 00:12:23,140 --> 00:12:28,580 basically just an MD4 checksum of the file, of the user's password. Sixteen bytes in 115 00:12:28,580 --> 00:12:34,140 length. That's it. No salt, so it's vulnerable to dictionary attacks. Dictionary attacks, 116 00:12:34,360 --> 00:12:38,940 however, can be very time-consuming, and I know all the attendants here with ADD just 117 00:12:38,940 --> 00:12:45,400 wouldn't have the time to be able to wait for that. Okay. It actually uses a weak DES 118 00:12:45,600 --> 00:12:49,680 key selection for the challenge response mechanism, and that weak DES key selection 119 00:12:49,680 --> 00:12:57,640 lets us discover the last two bytes of the user's NT hash. The user names are set in 120 00:12:57,640 --> 00:13:03,080 clear text, unlike TTLS and PEEP, which encrypt user names and passwords, so that's not 121 00:13:03,080 --> 00:13:09,000 immediately obvious. And with all these flaws, we can actually deduce user names and authentication 122 00:13:09,000 --> 00:13:14,700 passwords just by looking at the leap challenge response mechanism. Okay. 123 00:13:16,320 --> 00:13:21,480 So, the leap station challenge response mechanism works like this. The AP issues an eight-byte 124 00:13:21,480 --> 00:13:27,320 challenge to the station. The station then accepts that eight-byte challenge, and they 125 00:13:27,320 --> 00:13:34,140 take their NT hash. They split that NT hash into three seven-byte values to seed DES with. 126 00:13:34,540 --> 00:13:39,760 Each key is used to seed DES to encrypt the eight-byte output, the eight-byte challenge, 127 00:13:40,000 --> 00:13:44,980 which generates eight bytes of output. The three times that happens generates a 24-byte response, 128 00:13:45,600 --> 00:13:51,120 that is sent back to the access point. The access point then does the same process for 129 00:13:51,120 --> 00:13:54,480 the challenge response and makes sure that they match. That's how that authenticates 130 00:13:54,480 --> 00:14:01,200 the user. The DES key selection actually works like this. So, it has to split the 16-byte 131 00:14:01,200 --> 00:14:07,380 value, the 16-byte NT hash, into three seven-byte DES keys. DES key one are NT hash bytes one 132 00:14:07,380 --> 00:14:15,080 through seven. Key two are NT hash bytes eight through fourteen. And NT hash, the DES 133 00:14:15,600 --> 00:14:19,800 key is three. Remember, it's only sixteen bytes in the NT hash. We use seven, seven, 134 00:14:19,860 --> 00:14:25,020 fourteen. That only leaves us two bytes left. So, in MSCHEP V2, they actually use five 135 00:14:25,020 --> 00:14:32,160 null characters for that third DES seed. Okay. And after the AP receives that response 136 00:14:32,860 --> 00:14:35,560 to the challenge, it issues a success or failure message. 137 00:14:35,960 --> 00:14:45,580 Right. Okay. So the problem here is that the response leaks two bytes of the user's hash 138 00:14:45,600 --> 00:14:47,980 The last two bytes of the user's NT hash. 139 00:14:49,180 --> 00:14:50,900 The third DES key is weak. 140 00:14:51,580 --> 00:14:54,300 Because we're only using two unique bytes in that DES key, 141 00:14:54,400 --> 00:14:56,980 it only leaves us two to the power of eight possible permutations 142 00:14:56,980 --> 00:14:59,500 to be able to guess that key, that third DES key value, 143 00:14:59,740 --> 00:15:03,360 because we know the last five bytes are always null. 144 00:15:04,860 --> 00:15:08,600 So, and on a measly Pentium 2, 233, 145 00:15:08,700 --> 00:15:11,100 I can calculate two to the power of eight DES challenge, 146 00:15:11,100 --> 00:15:17,440 DES encryption mechanisms in two to the power of 16. 147 00:15:19,440 --> 00:15:20,220 Two to the 16. 148 00:15:21,100 --> 00:15:21,500 Wow. 149 00:15:21,820 --> 00:15:22,220 Sorry. 150 00:15:22,540 --> 00:15:24,580 Two to the power of 16, not two to the power of eight. 151 00:15:24,720 --> 00:15:25,960 I was smoking crack when I wrote this, 152 00:15:26,040 --> 00:15:27,400 and I just messed it all up. 153 00:15:27,440 --> 00:15:28,020 Sorry about that. 154 00:15:31,460 --> 00:15:32,840 So, we're able to recover, 155 00:15:33,060 --> 00:15:35,100 the bottom line here is that we're able to recover 156 00:15:35,100 --> 00:15:37,200 the last two bytes of the user's NT hash. 157 00:15:37,760 --> 00:15:38,740 Why is this important? 158 00:15:39,160 --> 00:15:41,080 Because if we have a big precomputing, 159 00:15:41,100 --> 00:15:42,900 computed database of all the users, 160 00:15:43,080 --> 00:15:46,640 all the, all potential passwords and NT hashes, 161 00:15:46,640 --> 00:15:49,460 we can significantly reduce the amount of search space 162 00:15:49,460 --> 00:15:52,740 we have to do on that by a factor of two to the power of 16. 163 00:15:53,120 --> 00:15:55,080 So, in a simple example I put up here is, 164 00:15:55,200 --> 00:15:58,900 imagine grep, ending byte one, ending byte two, 165 00:15:58,980 --> 00:16:01,460 matching to the end of the file of an NT hash dictionary, 166 00:16:01,860 --> 00:16:04,660 and that generates a list of possible passwords that we can use. 167 00:16:04,940 --> 00:16:07,500 So, the bottom line here is it significantly reduces 168 00:16:07,500 --> 00:16:09,760 our search space in that big dictionary file 169 00:16:09,760 --> 00:16:11,080 to be able to find the user's passwords. 170 00:16:11,080 --> 00:16:14,740 And in my experience from about 2.5 million passwords 171 00:16:14,740 --> 00:16:16,460 in a test dictionary that I was working with, 172 00:16:16,820 --> 00:16:19,840 it usually leaves about 30 guesses that I have to make. 173 00:16:22,120 --> 00:16:22,640 Okay. 174 00:16:24,220 --> 00:16:25,380 So, what's R-TAC? 175 00:16:26,080 --> 00:16:28,360 R-TAC is to take a large password list 176 00:16:28,360 --> 00:16:33,140 and pre-calculate the MD4 hashes for each entry in that list. 177 00:16:33,340 --> 00:16:35,100 So, we take a big dictionary list. 178 00:16:35,780 --> 00:16:39,560 Myself, I took a 30, a 300 megabyte dictionary list, 179 00:16:39,720 --> 00:16:40,980 and then I added, 180 00:16:41,080 --> 00:16:46,920 uh, 0, 1, 0, 2, 0, 3, 0, 4 to the end of every, 181 00:16:46,980 --> 00:16:48,200 to the end of every password. 182 00:16:48,480 --> 00:16:51,600 And then I started changing O's to 0's and I's to 1's, 183 00:16:51,620 --> 00:16:53,800 and I ended up with a really huge dictionary file 184 00:16:53,800 --> 00:16:54,860 when I was all done with it. 185 00:16:55,640 --> 00:16:57,900 I then passed that file through a tool 186 00:16:57,900 --> 00:17:01,500 that generates an indexed binary file for efficient lookups 187 00:17:01,500 --> 00:17:04,800 of the user's password, the clear text password, 188 00:17:05,100 --> 00:17:07,700 or the, the potential password, the dictionary word, 189 00:17:07,880 --> 00:17:09,860 and the 16 byte NT hash. 190 00:17:12,100 --> 00:17:15,200 So, what I do then is I, once I get the challenge response mechanism 191 00:17:15,200 --> 00:17:18,740 from a Cisco Leap connection, I calculate the last two bytes 192 00:17:18,740 --> 00:17:21,300 with the third DES key weakness that I just talked about. 193 00:17:21,600 --> 00:17:25,060 I only look at those entries, and then I use each password 194 00:17:25,060 --> 00:17:28,540 to try to encrypt the challenge text that I got from the access point. 195 00:17:29,100 --> 00:17:31,380 I only have to do it about 30 times or so, 196 00:17:31,460 --> 00:17:33,280 like I said, in 2.5 million passwords, 197 00:17:33,840 --> 00:17:35,820 or 2.5 million dictionary words. 198 00:17:36,880 --> 00:17:39,320 And I can use, I can do that in about 10 seconds. 199 00:17:41,760 --> 00:17:44,900 So, the matching entry, so when I match the NT hash, 200 00:17:45,060 --> 00:17:47,160 I've got the associated clear text password with it. 201 00:17:47,300 --> 00:17:49,280 Now I know the username and the password 202 00:17:49,280 --> 00:17:50,960 of the Leap authenticated user. 203 00:17:55,060 --> 00:17:55,460 Okay. 204 00:17:56,540 --> 00:17:58,660 So, that's great when it's all in theory and everything, 205 00:17:58,880 --> 00:17:59,800 but where's the wheres? 206 00:17:59,940 --> 00:18:00,760 Well, here they are. 207 00:18:00,960 --> 00:18:05,020 So, it's a tool I'm calling Asleep Improved, 208 00:18:05,020 --> 00:18:06,740 because the first version really sucked. 209 00:18:07,120 --> 00:18:11,060 Um, so, uh, Asleep I thought was appropriate for systems, 210 00:18:11,080 --> 00:18:12,560 like Cisco, like Asleep Behind the Wheel, 211 00:18:12,740 --> 00:18:15,040 when they decided that MSChat V2 was a good idea 212 00:18:15,040 --> 00:18:16,640 to do challenge response authentication. 213 00:18:18,280 --> 00:18:19,160 So, GenKeys. 214 00:18:19,680 --> 00:18:22,520 GenKeys is a program that takes a huge dictionary list, 215 00:18:22,780 --> 00:18:25,780 and then, and then generates an MD4 hash 216 00:18:25,780 --> 00:18:28,140 of each word that it has in the dictionary list, 217 00:18:28,280 --> 00:18:30,020 and writes it to a binary indexed file. 218 00:18:30,480 --> 00:18:32,560 Uh, on my Pentium 3, 219 00:18:32,780 --> 00:18:35,600 I was doing about 65,000 words a second, 220 00:18:35,760 --> 00:18:37,660 uh, except when I was running Kismet, 221 00:18:37,720 --> 00:18:39,600 then it was about 40,000 words a second. 222 00:18:39,780 --> 00:18:40,120 So. 223 00:18:44,720 --> 00:18:47,300 So, MD4 hashes are made to be fast and efficient. 224 00:18:47,540 --> 00:18:49,620 So, with the appropriate amount of disk space, 225 00:18:49,800 --> 00:18:52,340 you could, in one instance, you only have to do it once, 226 00:18:52,500 --> 00:18:55,200 generate a very, very large indexed file 227 00:18:55,200 --> 00:18:59,220 to be able to use for potential matches to a user's password. 228 00:19:00,480 --> 00:19:01,620 So, the Asleep tool. 229 00:19:01,900 --> 00:19:03,520 The Asleep tool does a couple of things. 230 00:19:03,600 --> 00:19:05,360 It reads from either a PCAP stored file 231 00:19:05,360 --> 00:19:07,800 or from a live network interface in RFmon mode, 232 00:19:08,740 --> 00:19:10,860 and it watches for the leap challenge response 233 00:19:10,860 --> 00:19:11,100 mechanism. 234 00:19:11,760 --> 00:19:14,020 It calculates the last two bytes of the NT hash, 235 00:19:14,340 --> 00:19:16,620 it searches for the GenKeys output file for matches, 236 00:19:16,940 --> 00:19:18,660 and then it reports the user's password. 237 00:19:19,720 --> 00:19:20,160 Okay. 238 00:19:21,120 --> 00:19:21,560 Okay. 239 00:19:22,820 --> 00:19:25,420 So, that was pretty much V1 of Asleep. 240 00:19:25,500 --> 00:19:27,700 So, I thought, well, I should probably add some features 241 00:19:27,700 --> 00:19:29,440 because I'm sick and tired of waiting for people 242 00:19:29,440 --> 00:19:30,780 to authenticate to their leap networks. 243 00:19:31,680 --> 00:19:34,900 So, what I added was a, um, a search mode, 244 00:19:35,060 --> 00:19:37,720 and the search mode actually let, uh, does channel hopping 245 00:19:37,720 --> 00:19:40,440 to go between all the channels that are available on your card, 246 00:19:40,440 --> 00:19:43,020 and then look for any data traffic on every channel. 247 00:19:44,040 --> 00:19:45,520 It has an active mode. 248 00:19:45,740 --> 00:19:49,700 So, the, the active mode identifies active stations on the network. 249 00:19:49,880 --> 00:19:52,380 So, if it sees a data packet, uh, 2DS, 250 00:19:52,640 --> 00:19:54,440 to the distribution system on the network, 251 00:19:54,540 --> 00:19:56,800 it identifies that as an active node on the network. 252 00:19:57,820 --> 00:20:00,860 It injects a, the Asleep tool injects a spoofed 253 00:20:00,860 --> 00:20:03,500 deauthenticate leap log off, uh, a, a, 254 00:20:03,500 --> 00:20:06,100 leap log off frame followed by a deauthenticate frame 255 00:20:06,100 --> 00:20:08,800 to that station on behalf of the access point. 256 00:20:08,980 --> 00:20:10,420 So, the station receiving that packet, uh, 257 00:20:10,420 --> 00:20:13,320 says, oh, the access point's telling me to log off. 258 00:20:13,540 --> 00:20:14,640 That's perfectly legitimate. 259 00:20:14,860 --> 00:20:15,940 They might be low on resources, 260 00:20:16,140 --> 00:20:17,680 or they might be load balancing or whatever. 261 00:20:18,100 --> 00:20:19,880 I'm going to reauthenticate now. 262 00:20:20,840 --> 00:20:22,540 That forces them to reauthenticate, 263 00:20:22,700 --> 00:20:24,680 so it makes significantly less waiting for me 264 00:20:24,680 --> 00:20:26,260 to make that happen. 265 00:20:26,960 --> 00:20:27,580 Thank you. 266 00:20:30,140 --> 00:20:32,720 And, uh, a feature I just added was to, um, 267 00:20:32,740 --> 00:20:35,140 maintain, uh, a binary AVL tree 268 00:20:35,140 --> 00:20:38,760 to maintain the, uh, all the stations 269 00:20:38,760 --> 00:20:39,920 that I've seen in the network, 270 00:20:39,920 --> 00:20:41,520 so I only have to attack each station once. 271 00:20:41,660 --> 00:20:43,700 I don't, I don't have to blindly keep attacking stations 272 00:20:43,700 --> 00:20:44,820 that I've already found their passwords. 273 00:20:47,020 --> 00:20:49,620 Um, another feature is that it saves a leap exchange 274 00:20:49,620 --> 00:20:51,640 into a, into a PCAP file. 275 00:20:51,880 --> 00:20:53,760 So, I only need three frames. 276 00:20:53,960 --> 00:20:55,740 I need the challenge, I need the response, 277 00:20:56,140 --> 00:20:58,060 and I need the success or failure message. 278 00:20:58,480 --> 00:21:03,000 Um, the Asleep tool's smart enough only to give me when there's, 279 00:21:03,000 --> 00:21:04,840 uh, to only try to crack passwords 280 00:21:04,840 --> 00:21:06,260 when it's a successful authentication. 281 00:21:06,740 --> 00:21:08,400 We don't want fat-fingered passwords, 282 00:21:08,400 --> 00:21:10,260 because that just wastes our battery time. 283 00:21:11,280 --> 00:21:14,720 But the feature of the, of the, uh, the WTAP file is this. 284 00:21:14,860 --> 00:21:16,540 I've got an IPAC running familiar. 285 00:21:16,780 --> 00:21:18,360 The tool compiles on ARM. 286 00:21:18,500 --> 00:21:21,620 I can run that tool, and it will be in active mode, 287 00:21:21,760 --> 00:21:24,000 and it will just dump all those, uh, 288 00:21:24,840 --> 00:21:27,040 challenge response packets to a different file. 289 00:21:27,340 --> 00:21:29,360 I can take that challenge response file 290 00:21:29,360 --> 00:21:32,260 to a big system like a, like a Spark system, 291 00:21:32,540 --> 00:21:35,220 a Sun system with a huge amount of disk 292 00:21:35,220 --> 00:21:36,680 and a huge dictionary password, 293 00:21:36,680 --> 00:21:39,160 and I can just go to town on that system. 294 00:21:39,400 --> 00:21:41,120 So, it works out very well. 295 00:21:42,220 --> 00:21:46,460 Okay, uh, a little demonstration. 296 00:21:59,660 --> 00:22:01,580 I do not have a Cisco access point. 297 00:22:07,760 --> 00:22:12,740 So, uh, so the GenKeys program 298 00:22:12,740 --> 00:22:14,960 just takes an input file and an output file. 299 00:22:15,120 --> 00:22:16,560 So, for this particular case, 300 00:22:21,200 --> 00:22:22,860 I've got this big dictionary file 301 00:22:22,860 --> 00:22:24,380 of one password per line. 302 00:22:27,640 --> 00:22:28,060 . 303 00:22:36,140 --> 00:22:38,020 Yeah, these are really probable user passwords. 304 00:22:38,140 --> 00:22:39,200 It's just sorted, so. 305 00:22:40,020 --> 00:22:40,440 . 306 00:22:42,640 --> 00:22:45,060 So, I already ran that through the GenKeys program, 307 00:22:45,200 --> 00:22:46,460 so you guys wouldn't have to see that, 308 00:22:46,540 --> 00:22:48,920 but the GenKeys output file just reports this data. 309 00:22:49,940 --> 00:22:50,360 . 310 00:22:52,900 --> 00:22:54,220 So, if I want to run asleep, 311 00:22:54,400 --> 00:22:55,300 I just say run asleep. 312 00:22:56,240 --> 00:22:58,760 I'm going to identify what the nthash file is. 313 00:23:04,880 --> 00:23:05,320 . 314 00:23:06,340 --> 00:23:07,220 Oh, sorry. 315 00:23:08,120 --> 00:23:08,560 . 316 00:23:11,560 --> 00:23:12,000 . 317 00:23:27,260 --> 00:23:28,180 Thanks, Ben. 318 00:23:49,040 --> 00:23:51,020 So, I'm just going to do a very basic test. 319 00:23:51,160 --> 00:23:53,100 We don't have a live Leap network here for me to test, 320 00:23:53,220 --> 00:23:58,500 but I'm just going to pass Leap-F for the GenKeys binary output file 321 00:23:58,500 --> 00:24:02,060 and a stored PCAP file I have on the system here. 322 00:24:03,060 --> 00:24:05,400 And so immediately it finds the username information, 323 00:24:05,720 --> 00:24:08,000 and it calculates it has a challenge in response. 324 00:24:08,400 --> 00:24:11,060 And in less than a second, it calculated the hash byte. 325 00:24:12,000 --> 00:24:13,620 The last two values are the hash bytes. 326 00:24:14,120 --> 00:24:15,000 And there you go. 327 00:24:15,140 --> 00:24:19,780 It reports the NT hash and the user's password at the end of the file. 328 00:24:22,580 --> 00:24:23,620 How about that, huh? 329 00:24:51,660 --> 00:24:54,940 And, of course, my favorite username, Tim's mom. 330 00:24:56,180 --> 00:24:57,120 Tim's mom. 331 00:25:03,720 --> 00:25:06,060 Who also has the user password password. 332 00:25:06,400 --> 00:25:06,880 All right. 333 00:25:12,000 --> 00:25:12,200 Okay. 334 00:25:12,280 --> 00:25:14,140 Can we get the lights back on? 335 00:25:16,500 --> 00:25:16,980 Okay. 336 00:25:17,060 --> 00:25:18,140 A couple of last points. 337 00:25:19,980 --> 00:25:24,180 Cisco, as of 20 minutes ago, 338 00:25:24,220 --> 00:25:26,360 released a P-Cert advisory on this weakness. 339 00:25:26,600 --> 00:25:27,660 So that's up on the website. 340 00:25:36,880 --> 00:25:40,580 Thank you very much to my friend John Stewart for taking care of that for us. 341 00:25:40,940 --> 00:25:41,420 So, 342 00:25:42,000 --> 00:25:45,420 I'm working with Cisco on a little bit of ethical disclosure kind of stuff. 343 00:25:45,620 --> 00:25:47,820 But shortly thereafter, this tool will be made available. 344 00:25:48,100 --> 00:25:50,160 And if you just watch the bug track mailing list, 345 00:25:50,300 --> 00:25:52,260 I'm sure you'll catch up on the post. 346 00:25:52,420 --> 00:25:52,640 So, 347 00:25:53,200 --> 00:25:55,360 I've got a couple of minutes, I think, for any questions. 348 00:25:58,880 --> 00:25:59,480 All right. 349 00:26:00,280 --> 00:26:01,180 It was that good. 350 00:26:01,740 --> 00:26:03,880 Everybody understands everything about MSHF V2, 351 00:26:04,080 --> 00:26:05,080 and that's awesome. 352 00:26:05,360 --> 00:26:06,100 Do you have a question? 353 00:26:06,600 --> 00:26:07,840 I was just going to ask, 354 00:26:08,700 --> 00:26:10,820 so you're basically based in the company. 355 00:26:10,820 --> 00:26:13,620 So, if I pick a binary password, 356 00:26:13,780 --> 00:26:15,300 you're not going to be able to crack it, right? 357 00:26:15,720 --> 00:26:17,140 So, the question is, 358 00:26:18,140 --> 00:26:19,880 if I pick a binary password, 359 00:26:20,140 --> 00:26:21,580 you're not going to be able to crack it, right? 360 00:26:21,620 --> 00:26:22,980 Or a difficult password. 361 00:26:23,240 --> 00:26:25,940 A recommended, good, strong password, right? 362 00:26:26,080 --> 00:26:27,160 And the answer is, 363 00:26:27,780 --> 00:26:28,000 sorry? 364 00:26:28,620 --> 00:26:29,060 Okay. 365 00:26:29,840 --> 00:26:31,440 Yeah, not password, right? 366 00:26:31,600 --> 00:26:31,900 Okay. 367 00:26:33,020 --> 00:26:34,560 Well, and the answer is no. 368 00:26:34,720 --> 00:26:37,160 The tool is only going to be able to find users' passwords 369 00:26:37,160 --> 00:26:40,640 that have matching passwords in your dictionary file. 370 00:26:40,820 --> 00:26:42,680 It is still a dictionary attack. 371 00:26:42,880 --> 00:26:44,300 It's just much more improved 372 00:26:44,300 --> 00:26:48,500 because of the weakness in the third DES key value there. 373 00:26:49,460 --> 00:26:51,440 There are potential improvements to this. 374 00:26:51,540 --> 00:26:53,480 How many people saw the Slashdot article 375 00:26:53,480 --> 00:26:58,900 or read the paper on the LASIK MSHF V1 challenge 376 00:26:58,900 --> 00:27:01,120 where they used binary hash tables 377 00:27:01,120 --> 00:27:03,000 to do fast and efficient password lookups? 378 00:27:03,440 --> 00:27:05,760 The speed time trade-off paper? 379 00:27:08,280 --> 00:27:10,800 Your users use stupid passwords. 380 00:27:12,960 --> 00:27:15,300 This is not a valid scenario 381 00:27:15,300 --> 00:27:17,340 in that they used a good password 382 00:27:17,340 --> 00:27:18,760 because I've yet to see it. 383 00:27:18,960 --> 00:27:20,940 Your users are dumb and you know this. 384 00:27:22,160 --> 00:27:24,240 That's why you don't give people your shadow file. 385 00:27:24,620 --> 00:27:27,020 People couldn't correct that if it was a perfect password. 386 00:27:27,980 --> 00:27:29,160 This is the same thing. 387 00:27:32,180 --> 00:27:34,320 I was actually discussing this very issue 388 00:27:34,320 --> 00:27:36,660 with somebody from Cisco a couple of days ago 389 00:27:36,660 --> 00:27:37,960 and I asked, 390 00:27:38,060 --> 00:27:40,200 are there any password auditing features? 391 00:27:40,820 --> 00:27:41,980 Like Cisco Secure ACS 392 00:27:41,980 --> 00:27:44,940 where you can expire invalid passwords 393 00:27:44,940 --> 00:27:47,840 or passwords that are weak and can be cracked? 394 00:27:48,220 --> 00:27:49,420 And the answer was, 395 00:27:49,560 --> 00:27:51,360 well, no, that's an interesting feature though. 396 00:27:52,060 --> 00:27:55,140 So, you know. 397 00:27:56,440 --> 00:27:57,920 But an excellent question. 398 00:27:58,020 --> 00:27:58,520 Excellent question. 399 00:27:58,800 --> 00:27:59,760 Okay, anything else? 400 00:28:00,600 --> 00:28:00,860 Yes, sir. 401 00:28:05,460 --> 00:28:07,980 Will I be releasing the dictionary, the big dict? 402 00:28:09,140 --> 00:28:10,680 That was not my joke. 403 00:28:13,140 --> 00:28:15,520 Sure, if I can put it up on SourceForge 404 00:28:15,520 --> 00:28:17,220 and I have to pay for the bandwidth, yeah, sure. 405 00:28:17,840 --> 00:28:20,940 But, you know, you want to use a password dictionary 406 00:28:20,940 --> 00:28:22,280 that is appropriate for you. 407 00:28:22,380 --> 00:28:24,440 I did include a couple of Perl scripts in here 408 00:28:24,440 --> 00:28:26,160 that'll run through your dictionary file 409 00:28:26,160 --> 00:28:27,760 and make it freaking huge. 410 00:28:28,280 --> 00:28:30,980 So, just with all the common permutations of, 411 00:28:31,080 --> 00:28:33,240 I know, I'll make my, you know, password 412 00:28:33,700 --> 00:28:35,360 with an E, with a three instead 413 00:28:35,360 --> 00:28:36,800 because nobody will ever guess that. 414 00:28:36,960 --> 00:28:38,580 So, just some stupid shit like that. 415 00:28:44,580 --> 00:28:46,020 Yeah, right. 416 00:28:46,200 --> 00:28:47,700 So, the comment was, 417 00:28:47,980 --> 00:28:49,840 you could use a two-line dictionary password 418 00:28:49,840 --> 00:28:51,580 with password and Cisco in there, 419 00:28:51,660 --> 00:28:52,880 just like Cisco routers are. 420 00:28:53,080 --> 00:28:54,540 So, an excellent piece of recommendation. 421 00:28:54,900 --> 00:28:55,140 Yeah? 422 00:28:55,220 --> 00:28:58,140 Does Peep use MSChap V2 as well? 423 00:28:58,380 --> 00:28:59,500 Okay, the question is, 424 00:28:59,560 --> 00:29:00,860 does Peep use MSChap V2? 425 00:29:01,100 --> 00:29:02,260 And the answer is, yes, it does. 426 00:29:02,460 --> 00:29:05,560 But Peep uses a TLS tunnel 427 00:29:05,560 --> 00:29:07,180 to encrypt MSChap V2, 428 00:29:07,420 --> 00:29:09,460 so it is not vulnerable to this kind of attack. 429 00:29:09,840 --> 00:29:10,800 We'll see how it's done. 430 00:29:10,820 --> 00:29:11,720 Vulnerable in a little while. 431 00:29:14,340 --> 00:29:15,000 All right. 432 00:29:15,400 --> 00:29:16,420 Thank you, everybody. 433 00:29:24,860 --> 00:29:27,560 It's my pleasure to introduce Anton Raja, 434 00:29:27,640 --> 00:29:28,740 who's going to be spending some time 435 00:29:28,740 --> 00:29:30,340 talking about his new attack tool. 436 00:29:31,040 --> 00:29:31,520 Anton? 437 00:29:31,840 --> 00:29:33,080 We figured out this one works. 438 00:29:33,300 --> 00:29:33,780 Yeah. 439 00:29:35,400 --> 00:29:36,300 I'll just stand there. 440 00:29:37,600 --> 00:29:38,580 Somebody else drives. 441 00:29:41,660 --> 00:29:42,060 Yeah. 442 00:29:47,540 --> 00:29:48,340 Okay. 443 00:29:48,340 --> 00:29:48,700 Thank you. 444 00:29:55,260 --> 00:29:55,660 Okay. 445 00:29:56,500 --> 00:29:57,200 Yes, ma'am. 446 00:29:58,560 --> 00:29:59,360 Okay. 447 00:29:59,420 --> 00:30:00,220 Okay. 448 00:30:00,220 --> 00:30:00,280 Okay. 449 00:30:00,280 --> 00:30:00,460 Okay. 450 00:30:00,460 --> 00:30:01,100 Okay. 451 00:30:02,940 --> 00:30:03,740 Okay. 452 00:30:20,400 --> 00:30:21,960 my name is Anton Rager 453 00:30:21,960 --> 00:30:24,920 and go ahead and jump to the next slide 454 00:30:24,920 --> 00:30:26,880 I want to talk a little bit about 455 00:30:27,460 --> 00:30:28,960 injection attacks on WEP 456 00:30:28,960 --> 00:30:30,500 most people when you think about WEP 457 00:30:30,500 --> 00:30:32,060 you're thinking about how do you break the keys 458 00:30:32,060 --> 00:30:33,140 most tools that are out there 459 00:30:33,140 --> 00:30:35,480 people are trying to run AirSnort or WEPcrack 460 00:30:35,480 --> 00:30:37,280 or other sorts of tools like DWEPcrack 461 00:30:37,280 --> 00:30:39,020 that are actually iterating through 462 00:30:39,020 --> 00:30:40,400 weak initialization vectors 463 00:30:40,400 --> 00:30:42,620 to try to derive the actual key 464 00:30:42,620 --> 00:30:44,120 so that then you can associate 465 00:30:44,120 --> 00:30:45,160 and log on to the AP 466 00:30:45,160 --> 00:30:46,560 and actually be a valid user 467 00:30:46,560 --> 00:30:48,700 but that takes a lot of time 468 00:30:48,700 --> 00:30:49,540 and it takes quite a bit of data 469 00:30:49,540 --> 00:30:50,840 to be able to collect enough data 470 00:30:50,840 --> 00:30:52,460 to be able to break the keys 471 00:30:52,460 --> 00:30:54,380 turns out that it's much easier 472 00:30:54,380 --> 00:30:55,240 to come up with ways 473 00:30:55,240 --> 00:30:56,480 that I can just inject traffic 474 00:30:56,480 --> 00:30:57,140 into your network 475 00:30:57,140 --> 00:30:59,120 and so I can craft arbitrary packets 476 00:30:59,120 --> 00:31:00,360 inject it into your network 477 00:31:00,360 --> 00:31:01,560 and I'm not really worried about 478 00:31:01,560 --> 00:31:02,500 knowing your encryption key 479 00:31:02,500 --> 00:31:04,360 I'm just utilizing the fact that 480 00:31:05,060 --> 00:31:06,220 WEP is RC4 481 00:31:06,220 --> 00:31:10,120 and it's easy to derive 482 00:31:10,120 --> 00:31:10,380 security 483 00:31:10,400 --> 00:31:11,360 some of the key stream 484 00:31:11,360 --> 00:31:12,140 from each of the packets 485 00:31:12,140 --> 00:31:13,760 and then just replay that same key stream 486 00:31:13,760 --> 00:31:15,040 extorting it against different data 487 00:31:15,040 --> 00:31:17,740 so here's kind of the rundown of an attack 488 00:31:17,740 --> 00:31:19,020 like an injection attack 489 00:31:19,020 --> 00:31:20,700 we need to know a key stream 490 00:31:20,700 --> 00:31:22,400 for a specific initialization vector 491 00:31:23,020 --> 00:31:24,840 there's two ways 492 00:31:24,840 --> 00:31:26,620 that are already publicly known 493 00:31:26,620 --> 00:31:28,140 one way is very difficult 494 00:31:28,140 --> 00:31:29,420 to actually pull off 495 00:31:29,420 --> 00:31:32,000 relying on DHCP discovery frames 496 00:31:32,000 --> 00:31:33,720 and it turns out it's very specific to Windows 497 00:31:33,720 --> 00:31:35,040 and the way that Windows sends out 498 00:31:35,040 --> 00:31:36,360 a DHCP discovery 499 00:31:37,060 --> 00:31:38,700 you have a lot of known plain text 500 00:31:38,700 --> 00:31:39,700 known plain text 501 00:31:39,700 --> 00:31:40,380 you have a lot of known plain text 502 00:31:40,380 --> 00:31:41,220 that gives you 503 00:31:42,040 --> 00:31:43,720 the actual key stream for that IV 504 00:31:43,720 --> 00:31:44,960 because you can just 505 00:31:44,960 --> 00:31:45,920 XOR it against the 506 00:31:46,840 --> 00:31:47,540 cipher text 507 00:31:47,540 --> 00:31:48,220 and now you have 508 00:31:48,220 --> 00:31:49,460 the key stream 509 00:31:49,460 --> 00:31:50,460 that you can re-encrypt 510 00:31:50,460 --> 00:31:51,540 with your own data 511 00:31:52,140 --> 00:31:53,220 shared key authentication 512 00:31:54,060 --> 00:31:55,560 last year this gentleman here 513 00:31:55,560 --> 00:31:56,980 came up with this attack 514 00:31:56,980 --> 00:31:57,800 which is 515 00:31:57,800 --> 00:31:58,700 shared key authentication 516 00:31:58,700 --> 00:32:00,080 has a tremendous amount of plain text 517 00:32:00,080 --> 00:32:00,600 it's known 518 00:32:00,600 --> 00:32:01,520 that's actually how the 519 00:32:01,520 --> 00:32:03,500 authentication process works 520 00:32:03,500 --> 00:32:04,960 it sends a challenge 521 00:32:04,960 --> 00:32:06,000 which is clear text 522 00:32:06,000 --> 00:32:07,580 and the client turns around 523 00:32:07,580 --> 00:32:08,700 and sends an encrypted response 524 00:32:08,700 --> 00:32:09,660 of the exact same 525 00:32:09,660 --> 00:32:10,360 clear text 526 00:32:10,360 --> 00:32:10,660 encrypted 527 00:32:10,660 --> 00:32:12,080 so now you have the clear text 528 00:32:12,080 --> 00:32:13,820 and the cipher text 529 00:32:13,820 --> 00:32:14,860 and you XOR the two 530 00:32:14,860 --> 00:32:15,920 and you get the key stream 531 00:32:15,920 --> 00:32:17,400 it's really smart of them 532 00:32:17,400 --> 00:32:18,600 not only is there a really bad 533 00:32:18,600 --> 00:32:19,520 authentication mechanism 534 00:32:19,520 --> 00:32:20,960 it gives you material 535 00:32:20,960 --> 00:32:22,320 you can now use to re-inject 536 00:32:22,320 --> 00:32:23,420 into that network 537 00:32:23,420 --> 00:32:24,860 using the same IV over and over 538 00:32:25,860 --> 00:32:26,580 there's another one 539 00:32:26,580 --> 00:32:28,540 that I will just cover real briefly 540 00:32:28,540 --> 00:32:29,660 that I'm still in the process 541 00:32:29,660 --> 00:32:30,320 of working on 542 00:32:30,320 --> 00:32:30,900 and finishing up 543 00:32:30,900 --> 00:32:32,180 and that has to do with 544 00:32:32,180 --> 00:32:32,820 IV collisions 545 00:32:32,820 --> 00:32:34,360 of mixed protocols 546 00:32:34,360 --> 00:32:35,540 so specifically 547 00:32:35,540 --> 00:32:36,900 and I'll talk a little bit more about it 548 00:32:36,900 --> 00:32:37,860 but if you have an IV collision 549 00:32:37,860 --> 00:32:39,020 that involves an ARP frame 550 00:32:39,020 --> 00:32:40,200 and an IP frame 551 00:32:40,360 --> 00:32:42,140 if you lay the two out next to each other 552 00:32:42,140 --> 00:32:43,840 it turns out they reveal pieces of each other 553 00:32:43,840 --> 00:32:44,760 that you can then use 554 00:32:44,760 --> 00:32:46,140 to come up with known plain text 555 00:32:46,140 --> 00:32:47,800 that's something that occurs more often 556 00:32:47,800 --> 00:32:48,940 than say 557 00:32:48,940 --> 00:32:50,720 looking for weak IVs 558 00:32:50,720 --> 00:32:50,940 you know 559 00:32:50,940 --> 00:32:53,080 it's much more likely to occur 560 00:32:53,760 --> 00:32:55,560 than waiting for 7 million IVs 561 00:32:55,560 --> 00:32:56,280 to go by 562 00:32:57,260 --> 00:32:58,600 so after you have that 563 00:32:58,600 --> 00:33:00,180 you now create your own frame 564 00:33:00,180 --> 00:33:01,480 your own IP packet 565 00:33:01,480 --> 00:33:04,420 and you put whatever text you want to in it 566 00:33:04,420 --> 00:33:07,120 and re-XOR it against the key stream 567 00:33:07,120 --> 00:33:09,960 and then you send it back to the access point 568 00:33:09,960 --> 00:33:10,340 and then you send it back to the access point 569 00:33:10,360 --> 00:33:12,680 for the IV that you captured 570 00:33:12,680 --> 00:33:14,180 that may be with the shared key authentication 571 00:33:14,740 --> 00:33:16,980 and the AP will accept it 572 00:33:16,980 --> 00:33:17,860 or a node will accept it 573 00:33:17,860 --> 00:33:18,940 as a valid WEP frame 574 00:33:18,940 --> 00:33:21,360 as long as you calculate the ICV 575 00:33:21,360 --> 00:33:22,840 and it looks like a valid frame 576 00:33:23,860 --> 00:33:25,100 what you have 577 00:33:25,100 --> 00:33:26,780 is you have a transmit only attack channel 578 00:33:26,780 --> 00:33:28,200 because you really can't read 579 00:33:28,200 --> 00:33:29,180 what your responses are 580 00:33:29,180 --> 00:33:30,320 you can inject all day long 581 00:33:30,320 --> 00:33:31,480 but you don't know 582 00:33:31,480 --> 00:33:33,020 exactly what's coming back 583 00:33:34,100 --> 00:33:35,680 you can summarize it maybe 584 00:33:35,680 --> 00:33:37,220 but you don't actually always know 585 00:33:38,040 --> 00:33:38,880 go ahead Josh 586 00:34:05,000 --> 00:34:06,780 I'm not sure I can really 587 00:34:06,780 --> 00:34:08,360 completely summarize it there 588 00:34:08,360 --> 00:34:08,640 but 589 00:34:08,640 --> 00:34:08,860 I'm not sure I can really 590 00:34:08,880 --> 00:34:10,480 completely summarize it there 591 00:34:10,480 --> 00:34:10,900 that you know 592 00:34:12,020 --> 00:34:13,800 to get other IVs 593 00:34:13,800 --> 00:34:14,560 that have the same 594 00:34:15,680 --> 00:34:16,660 initial payload 595 00:34:16,660 --> 00:34:17,900 I think is what he said 596 00:34:23,940 --> 00:34:25,900 so go ahead and jump to the next slide 597 00:34:26,460 --> 00:34:28,100 and this is just kind of a visual 598 00:34:28,100 --> 00:34:29,340 on the IV collisions 599 00:34:29,340 --> 00:34:31,560 between two different types of protocols 600 00:34:31,560 --> 00:34:33,080 specifically ARP and IP 601 00:34:33,080 --> 00:34:34,720 it's kind of a high level summary 602 00:34:34,720 --> 00:34:36,140 but it turns out that 603 00:34:36,140 --> 00:34:38,220 the IP addresses 604 00:34:38,220 --> 00:34:38,860 in the IP addresses 605 00:34:38,860 --> 00:34:39,720 the known plain text 606 00:34:39,720 --> 00:34:42,020 the known plain text 607 00:34:42,020 --> 00:34:42,640 within an ARP frame 608 00:34:42,640 --> 00:34:43,540 such as you know 609 00:34:43,540 --> 00:34:44,580 what the source MAC is 610 00:34:44,580 --> 00:34:45,420 and you know 611 00:34:45,420 --> 00:34:47,280 your ARP header information 612 00:34:47,280 --> 00:34:48,300 like protocol size 613 00:34:48,300 --> 00:34:49,100 things like that 614 00:34:49,100 --> 00:34:49,960 that's all known plain text 615 00:34:49,960 --> 00:34:51,060 and it reveals 616 00:34:51,060 --> 00:34:52,280 things that you don't know 617 00:34:52,280 --> 00:34:53,080 or that maybe you do know 618 00:34:53,080 --> 00:34:53,760 in the IP frame 619 00:34:53,760 --> 00:34:54,300 and it turns out 620 00:34:54,300 --> 00:34:55,100 that two of the things 621 00:34:55,100 --> 00:34:56,260 that it initially reveals 622 00:34:56,260 --> 00:34:57,380 are two bytes 623 00:34:57,380 --> 00:34:58,420 of your source IP 624 00:34:59,320 --> 00:35:00,120 and generally 625 00:35:00,120 --> 00:35:01,740 if both of those 626 00:35:01,740 --> 00:35:02,300 happen to be 627 00:35:02,880 --> 00:35:04,020 sourced from the same network 628 00:35:04,020 --> 00:35:04,520 leaving 629 00:35:04,520 --> 00:35:05,880 to the access point 630 00:35:05,880 --> 00:35:06,760 to go to another network 631 00:35:06,760 --> 00:35:08,040 then now you can begin 632 00:35:08,040 --> 00:35:08,760 to plug some of this 633 00:35:08,860 --> 00:35:09,600 in so go ahead and 634 00:35:09,600 --> 00:35:10,040 Mike 635 00:35:10,040 --> 00:35:10,500 Mike 636 00:35:10,500 --> 00:35:11,700 shiny object 637 00:35:11,700 --> 00:35:14,840 alright that's good 638 00:35:14,840 --> 00:35:15,160 that's good 639 00:35:15,160 --> 00:35:16,900 so now you can take 640 00:35:16,900 --> 00:35:17,500 that same value 641 00:35:17,500 --> 00:35:18,120 you already revealed 642 00:35:18,120 --> 00:35:19,300 and you can plug that value 643 00:35:19,300 --> 00:35:20,560 into your requesting IP 644 00:35:20,560 --> 00:35:21,700 because they're on the same network 645 00:35:21,700 --> 00:35:22,500 and say it's 646 00:35:22,500 --> 00:35:24,320 10.10.10.something 647 00:35:24,320 --> 00:35:25,900 you reveal the first 648 00:35:25,900 --> 00:35:26,960 two source IP bytes 649 00:35:26,960 --> 00:35:28,240 in the IP frame 650 00:35:28,240 --> 00:35:29,200 and you can now 651 00:35:29,200 --> 00:35:29,840 take those values 652 00:35:29,840 --> 00:35:30,760 plug them into your 653 00:35:30,760 --> 00:35:32,220 unknown piece of the ARP frame 654 00:35:32,220 --> 00:35:33,880 and reveal additional bytes 655 00:35:33,880 --> 00:35:35,400 within the IP frame 656 00:35:35,400 --> 00:35:35,660 anyway 657 00:35:35,660 --> 00:35:36,820 you basically unravel 658 00:35:36,820 --> 00:35:37,840 the two frames 659 00:35:37,840 --> 00:35:38,420 with each other 660 00:35:38,860 --> 00:35:39,760 and it becomes 661 00:35:39,760 --> 00:35:40,320 a little more difficult 662 00:35:40,320 --> 00:35:41,680 to go out further 663 00:35:41,680 --> 00:35:42,580 but it is possible 664 00:35:42,580 --> 00:35:43,660 in some situations 665 00:35:43,660 --> 00:35:44,500 to be able to 666 00:35:45,240 --> 00:35:46,240 reveal enough 667 00:35:46,240 --> 00:35:46,920 of a key stream 668 00:35:46,920 --> 00:35:47,940 using this method 669 00:35:47,940 --> 00:35:49,460 that you can actually 670 00:35:49,460 --> 00:35:50,960 insert arbitrary TCP 671 00:35:50,960 --> 00:35:51,820 UDP 672 00:35:51,820 --> 00:35:52,940 and ICMP frames 673 00:35:52,940 --> 00:35:53,660 into the network 674 00:35:53,660 --> 00:35:54,300 you have enough 675 00:35:54,880 --> 00:35:55,880 contiguous key stream 676 00:35:55,880 --> 00:35:56,720 that you can now 677 00:35:56,720 --> 00:35:57,800 XOR any frame 678 00:35:57,800 --> 00:35:58,360 that you want to 679 00:35:58,360 --> 00:35:59,500 that's within 680 00:35:59,500 --> 00:36:00,620 a reasonable size 681 00:36:00,620 --> 00:36:02,020 and one of the things 682 00:36:02,020 --> 00:36:02,700 that makes that happen 683 00:36:02,700 --> 00:36:03,580 is it turns out 684 00:36:03,580 --> 00:36:04,420 that a lot of 685 00:36:05,280 --> 00:36:06,060 Ethernet drivers 686 00:36:06,060 --> 00:36:07,240 or Ethernet cards 687 00:36:07,240 --> 00:36:07,820 I'm not real sure 688 00:36:07,820 --> 00:36:08,840 exactly which is doing that 689 00:36:08,860 --> 00:36:09,020 but we'll get to that 690 00:36:09,740 --> 00:36:10,480 zero pad 691 00:36:10,480 --> 00:36:12,260 the trailers 692 00:36:12,260 --> 00:36:13,340 that they have 693 00:36:13,880 --> 00:36:15,680 like for an ARP 694 00:36:17,520 --> 00:36:18,360 it's not a trailer 695 00:36:18,360 --> 00:36:19,260 what's it called 696 00:36:19,260 --> 00:36:19,720 when it's still 697 00:36:19,720 --> 00:36:20,160 an Ethernet 698 00:36:23,620 --> 00:36:24,080 what's that 699 00:36:24,840 --> 00:36:25,240 no 700 00:36:26,260 --> 00:36:27,060 the trailer 701 00:36:27,060 --> 00:36:27,400 okay 702 00:36:27,900 --> 00:36:28,700 so you end up 703 00:36:28,700 --> 00:36:29,320 with a trailer field 704 00:36:29,320 --> 00:36:29,920 a lot of times 705 00:36:29,920 --> 00:36:30,620 it's zero padded 706 00:36:30,620 --> 00:36:31,300 you can generally 707 00:36:31,300 --> 00:36:31,680 determine 708 00:36:31,680 --> 00:36:32,140 whether or not 709 00:36:32,140 --> 00:36:32,440 it's going to be 710 00:36:32,440 --> 00:36:32,880 zero padded 711 00:36:32,880 --> 00:36:33,120 or not 712 00:36:33,120 --> 00:36:33,760 by a specific 713 00:36:33,760 --> 00:36:34,440 MAC address 714 00:36:34,440 --> 00:36:35,500 for a vendor 715 00:36:35,500 --> 00:36:36,260 it tends to be 716 00:36:36,260 --> 00:36:36,980 tied to a vendor 717 00:36:38,000 --> 00:36:38,800 and basically 718 00:36:38,800 --> 00:36:38,840 what you're going to 719 00:36:38,840 --> 00:36:46,180 use it for 720 00:36:48,780 --> 00:36:49,980 is it's going to be 721 00:36:49,980 --> 00:36:50,260 you know 722 00:36:51,240 --> 00:36:51,740 it's going to have 723 00:36:52,740 --> 00:36:53,060 it's going to be 724 00:36:53,060 --> 00:36:53,420 and I've 725 00:36:55,400 --> 00:36:55,720 not 726 00:36:55,720 --> 00:36:55,900 going to 727 00:36:55,900 --> 00:36:56,100 go into 728 00:36:56,100 --> 00:36:56,360 a lot 729 00:36:56,360 --> 00:36:56,640 more 730 00:36:56,640 --> 00:36:56,960 detail 731 00:36:56,960 --> 00:36:57,300 on it 732 00:36:57,300 --> 00:36:57,520 but that's 733 00:36:57,520 --> 00:36:57,720 just kind 734 00:36:57,720 --> 00:36:57,840 of a 735 00:36:57,840 --> 00:36:58,280 high level 736 00:36:58,280 --> 00:37:02,380 a visual of how the two frames lay out summarized so let's jump to the next 737 00:37:02,380 --> 00:37:09,380 slide so if I can inject traffic into your network what does this mean well if 738 00:37:09,380 --> 00:37:12,960 I can inject arbitrary traffic into somebody's network and they have a 739 00:37:12,960 --> 00:37:16,120 firewall and they have access to the internet and I have a box that's sitting 740 00:37:16,120 --> 00:37:19,600 on the internet that I also own and I can monitor what I'm injecting and so 741 00:37:19,600 --> 00:37:22,460 immediately by using that and taking advantage of the fact that they 742 00:37:22,460 --> 00:37:26,200 probably have some sort of connectivity to the internet through a firewall I can 743 00:37:26,200 --> 00:37:29,060 start mapping out what the firewall rule set may look like and so I can 744 00:37:29,060 --> 00:37:34,820 inject TCP frames UDP frames ICMP frames to have different ports things like that 745 00:37:34,820 --> 00:37:37,700 and try to figure out what's the firewall rule set well this is also kind 746 00:37:37,700 --> 00:37:40,560 of useful to figure out what the firewall is going to allow me do a 747 00:37:40,560 --> 00:37:45,760 little bit later so I can now begin to spoof some frames to make it appear that 748 00:37:45,760 --> 00:37:51,400 I'm trying to ping somebody valid on the inside of the network and have the 749 00:37:51,400 --> 00:37:55,640 responses to that ping go to this host that I own this on the internet same 750 00:37:55,640 --> 00:37:56,120 thing with 751 00:37:56,120 --> 00:37:59,000 With port scanning, this requires a few more tricks in the firewall. 752 00:37:59,200 --> 00:38:06,440 I have to start poking state tables in the NAT state engine to be able to get, you know, 753 00:38:06,440 --> 00:38:11,840 like the ICMP unreachable protocol and port unreachable messages to come back through 754 00:38:11,840 --> 00:38:13,000 and actually get through the firewall. 755 00:38:14,780 --> 00:38:18,640 The interesting thing about UDP port scans is that once I do, you know, 756 00:38:18,660 --> 00:38:23,300 just like traditional UDP port scanning, if I don't get an ICMP port unreachable message, 757 00:38:23,480 --> 00:38:24,780 then that means there's probably something there. 758 00:38:24,780 --> 00:38:28,020 That also means that there is a hole that's created in that firewall now. 759 00:38:28,240 --> 00:38:33,720 And so let's say that I port scan for SNMP, and I didn't get a response saying that the port is unreachable, 760 00:38:33,840 --> 00:38:38,720 and I know that the firewall will pass SNMP because I've kind of already played with that earlier in this attack. 761 00:38:39,120 --> 00:38:42,960 And so I don't get that response within a specific time interval. 762 00:38:43,340 --> 00:38:49,420 I now have a hole that's poked in a firewall, and I can do an SNMP get from the outside from this box that I own on the Internet, 763 00:38:49,560 --> 00:38:53,740 come straight back in through the firewall, have a direct connection to this host 764 00:38:53,740 --> 00:38:54,520 that the firewall thinks. 765 00:38:54,780 --> 00:38:58,480 But the host created itself, although I actually spoofed the traffic and injected it in. 766 00:38:58,980 --> 00:39:00,680 TCP port scanning is also possible. 767 00:39:01,280 --> 00:39:08,400 The one roadblock with TCP scanning is that you really can't take it to the next step like you can with UDP as easily, 768 00:39:08,520 --> 00:39:14,060 but you can get RSTs through the firewall, and so you can know whether or not a service is listening. 769 00:39:14,540 --> 00:39:19,080 I think it's possible to extend it into poking a big hole through the firewall so that, you know, 770 00:39:19,100 --> 00:39:23,940 after you do a port scan on Telnet, you can actually get the Telnet banner from your external host. 771 00:39:24,780 --> 00:39:25,600 It's going to take a little bit more work. 772 00:39:26,660 --> 00:39:33,660 Well, let's jump to the next slide, and go ahead and hit the spacebar one more time. 773 00:39:35,380 --> 00:39:37,300 This is just kind of laying out what I was talking about. 774 00:39:37,420 --> 00:39:40,920 We've got a host that's attacking an 802.11 network and some internal target. 775 00:39:41,660 --> 00:39:45,040 They happen to be connected to the Internet, and there's another host that I own that's on the Internet. 776 00:39:45,180 --> 00:39:45,840 So I've got two hosts. 777 00:39:45,860 --> 00:39:46,600 The yellow one's I own. 778 00:39:46,680 --> 00:39:49,740 The red one's what I'm attacking, and I don't have their web keys or anything. 779 00:39:49,860 --> 00:39:52,860 I'm just using these injection attacks to try to figure out what's running on this host. 780 00:39:53,160 --> 00:39:54,720 So I can inject traffic into the host. 781 00:39:54,780 --> 00:39:59,900 I'm just spoofing the actual source address, the source address of an Internet host, 782 00:40:00,660 --> 00:40:05,280 and this target, go ahead and hit space, will then respond back to my Internet host. 783 00:40:06,320 --> 00:40:10,780 So you're tricking the target into forwarding your traffic back out the firewall. 784 00:40:10,900 --> 00:40:16,340 Now, there's more tricks to it than this simplistic view in that I have to send some traffic first, 785 00:40:16,900 --> 00:40:23,100 spoofing that it looks like the target source address to my Internet host to create some state tables in the firewall. 786 00:40:23,280 --> 00:40:24,760 Then it will allow me to... 787 00:40:25,700 --> 00:40:30,520 spoof that, you know, this Internet host is trying to talk to this target, and it'll respond over the Internet. 788 00:40:30,860 --> 00:40:31,900 Go ahead and hit the next slide. 789 00:40:32,960 --> 00:40:34,940 The cool thing is you can put all this on one host. 790 00:40:35,060 --> 00:40:39,820 And so if I have a CDMA modem, or if I have a CDPD modem, and an 802.11 card, 791 00:40:39,900 --> 00:40:44,860 I can be sitting in a parking lot and have an Internet connection that's potentially unmatted that I can get to, 792 00:40:44,960 --> 00:40:48,320 and an 802.11 network that I can inject into. 793 00:40:48,700 --> 00:40:50,220 Go ahead and hit the space bar a couple of times. 794 00:40:50,260 --> 00:40:50,740 Same idea. 795 00:40:51,160 --> 00:40:54,420 I inject, and the responses come back through the Internet to my other interface. 796 00:40:54,780 --> 00:40:59,800 So if you can imagine ScanRAN or maybe even Nmap that's broken into two separate interfaces, 797 00:40:59,800 --> 00:41:04,360 and you're injecting on 802.11 that you really can't monitor the responses, 798 00:41:04,460 --> 00:41:08,840 and you're monitoring responses over CDMA, that's kind of the concept. 799 00:41:09,700 --> 00:41:11,000 Go ahead and jump to the next slide. 800 00:41:12,260 --> 00:41:15,600 So I have a little bit of a proof-of-concept tool here that's called WEP Wedgie, 801 00:41:15,660 --> 00:41:17,960 and WEP Wedgie takes advantage of this. 802 00:41:19,800 --> 00:41:22,940 Currently, although it says that it's supposed to deal with the RFIV collisions, 803 00:41:23,080 --> 00:41:24,660 I am still working on that part of the code. 804 00:41:24,780 --> 00:41:30,740 There's like a very alpha code that's going to be posted here in a few minutes after I get done with this. 805 00:41:31,020 --> 00:41:34,820 And it does the key stream determination via the pre-shared key authentication. 806 00:41:35,040 --> 00:41:40,640 So if somebody is using pre-shared key authentication, it derives the key stream that you need, 807 00:41:40,720 --> 00:41:42,540 which is a fairly significantly sized key stream. 808 00:41:42,600 --> 00:41:43,940 You can craft some really big packets. 809 00:41:44,400 --> 00:41:47,920 And then using AirJack does some injection attacks. 810 00:41:49,120 --> 00:41:53,680 You can use CDMA or CDPD for the secondary interface, 811 00:41:53,680 --> 00:41:57,120 but currently it's doing all the injection stuff, 812 00:41:57,260 --> 00:42:01,760 and I don't actually have it to where it's doing more of the port scanning 813 00:42:01,760 --> 00:42:05,000 in correlation on what ports are open and what ports aren't open. 814 00:42:05,080 --> 00:42:08,240 But it is doing the injection, and it's doing it based on the shared key authentication. 815 00:42:11,200 --> 00:42:15,320 So the next version will actually be doing the correlation on the back end 816 00:42:15,320 --> 00:42:20,360 to do the UDP TCP port scanning as well as ping scanning and the firewall rule mapping. 817 00:42:20,480 --> 00:42:23,660 Right now it's a bit of a manual process, so you need to run tcpdump and look at it. 818 00:42:23,680 --> 00:42:24,580 See what the responses are. 819 00:42:24,780 --> 00:42:28,520 Or run it through your own Perl script to try to do something interesting with it. 820 00:42:29,980 --> 00:42:33,700 I think I've got a quick demo, as long as nobody crashes me in the process. 821 00:42:34,100 --> 00:42:36,320 And if they crash me, I think I get to hit Mike. 822 00:42:47,180 --> 00:42:50,380 You know, the cool thing, well, you're talking about the IV collision attacks? 823 00:42:50,660 --> 00:42:50,720 Yeah. 824 00:42:50,840 --> 00:42:51,860 IV collision attacks. 825 00:42:52,640 --> 00:42:53,480 It's the same IV. 826 00:42:53,680 --> 00:42:55,280 You can XOR between the two frames. 827 00:42:55,380 --> 00:42:57,940 And the LLCs are going to be different XORs. 828 00:42:57,940 --> 00:43:00,780 And the XORs are going to be the same encrypted that they would be if they were unencrypted. 829 00:43:01,240 --> 00:43:04,340 And so you can just see what the delta should be for an ARC versus an IP. 830 00:43:04,840 --> 00:43:06,380 And you automatically know, I've got a match. 831 00:43:06,560 --> 00:43:09,100 And then you can start playing around to see which one's the ARC and which one's the IP. 832 00:43:09,340 --> 00:43:10,100 And then go through the unroll. 833 00:43:20,500 --> 00:43:23,140 And hopefully nobody will crash me, and hopefully my system will run, 834 00:43:23,140 --> 00:43:24,220 and hopefully my code will run. 835 00:43:26,320 --> 00:43:27,160 But I get to hit Mike. 836 00:43:30,540 --> 00:43:31,900 Because he's the only one who really could do that. 837 00:43:34,660 --> 00:43:34,980 . 838 00:43:38,260 --> 00:43:38,980 What the hell? 839 00:43:41,800 --> 00:43:43,040 That's the serial port all the time. 840 00:43:45,800 --> 00:43:47,220 Someday I'm going to learn how to use these damn computers. 841 00:43:49,220 --> 00:43:49,540 . 842 00:43:50,740 --> 00:43:51,060 . 843 00:43:51,060 --> 00:43:51,280 . 844 00:43:51,280 --> 00:43:52,520 . 845 00:43:52,520 --> 00:43:52,940 . 846 00:43:52,940 --> 00:43:53,100 . 847 00:43:57,660 --> 00:43:59,060 . 848 00:43:59,060 --> 00:44:00,260 . 849 00:44:00,260 --> 00:44:01,020 . 850 00:44:02,640 --> 00:44:04,040 . 851 00:44:04,040 --> 00:44:04,500 . 852 00:44:04,500 --> 00:44:04,620 . 853 00:44:04,620 --> 00:44:08,960 I'll knock the open ring, just to run my house on it. 854 00:44:14,820 --> 00:44:15,940 Oh, I can't see. 855 00:44:22,680 --> 00:44:24,100 So what we have here is this program 856 00:44:24,100 --> 00:44:25,580 has two different components to it currently. 857 00:44:26,100 --> 00:44:28,020 The first component is actually 858 00:44:28,020 --> 00:44:29,820 what captures the PRGA stream, 859 00:44:31,040 --> 00:44:33,720 and it's very simply called PRGA snarf. 860 00:44:34,620 --> 00:44:38,060 And it uses AirJack, and basically you can do this 861 00:44:38,060 --> 00:44:39,360 with PCAP as well. 862 00:44:39,540 --> 00:44:43,540 And it just monitors for authentication sequences 863 00:44:43,540 --> 00:44:44,620 at 82.11. 864 00:44:44,680 --> 00:44:46,260 So you can see there are a lot of people out here 865 00:44:46,260 --> 00:44:47,220 that are doing open authentication. 866 00:44:47,220 --> 00:44:48,300 I pretty much ignore anything 867 00:44:48,300 --> 00:44:49,200 that's just open authentication. 868 00:44:52,040 --> 00:44:55,840 And the system died. 869 00:44:57,080 --> 00:44:58,140 Please stop that. 870 00:44:59,620 --> 00:45:00,060 So. 871 00:45:07,200 --> 00:45:07,960 Can I get it now? 872 00:45:08,440 --> 00:45:09,660 Oh, I see. 873 00:45:14,700 --> 00:45:16,300 Somebody turn the light on, just for a second. 874 00:45:18,480 --> 00:45:18,980 Thank you. 875 00:45:30,920 --> 00:45:31,780 Well, that's nice. 876 00:45:33,340 --> 00:45:34,600 Anton, do you want to get that hooked up? 877 00:45:34,600 --> 00:45:35,600 And let the other guys go? 878 00:45:35,680 --> 00:45:36,320 We'll do it at the end? 879 00:45:36,380 --> 00:45:37,240 Yeah, I can demo it in a little while. 880 00:45:37,480 --> 00:45:38,280 Just go ahead and do that, 881 00:45:38,320 --> 00:45:39,040 and I'll play around with it. 882 00:45:41,220 --> 00:45:42,300 We're running short on time, 883 00:45:42,360 --> 00:45:44,680 so Anton's going to do his demonstration 884 00:45:44,680 --> 00:45:47,100 of the OpWedgie tool at the end of the session. 885 00:45:47,280 --> 00:45:49,040 So please stick around if you want to see that. 886 00:45:49,540 --> 00:45:50,860 Anton Rieger, thank you. 887 00:45:57,820 --> 00:45:59,360 All right, is anybody still sober? 888 00:46:01,240 --> 00:46:01,880 No, okay. 889 00:46:02,020 --> 00:46:03,740 Well, we've got a couple more presenters. 890 00:46:04,600 --> 00:46:06,340 I'm very pleased to introduce Akari, 891 00:46:06,520 --> 00:46:08,400 who's going to be speaking about some attacks, 892 00:46:08,500 --> 00:46:09,880 some weaknesses of web vulnerabilities. 893 00:46:10,940 --> 00:46:11,580 Take it away. 894 00:46:13,860 --> 00:46:16,180 Yeah, I'm not going to really present too much new stuff. 895 00:46:16,460 --> 00:46:18,360 I've got this stuff out for about a year now, 896 00:46:18,660 --> 00:46:20,620 and this has finally gotten off my ass 897 00:46:20,620 --> 00:46:22,180 and actually been kind of a beta release. 898 00:46:24,420 --> 00:46:26,360 So, let me switch over to this. 899 00:46:28,600 --> 00:46:29,260 There we go. 900 00:46:29,600 --> 00:46:32,780 It's kind of hard to see, but can everybody see that? 901 00:46:33,480 --> 00:46:33,880 No? 902 00:46:35,540 --> 00:46:36,140 Not really? 903 00:46:36,880 --> 00:46:38,020 Hey, Akari, you want to come over here? 904 00:46:38,420 --> 00:46:38,780 What's that? 905 00:46:38,960 --> 00:46:39,320 Okay. 906 00:46:41,320 --> 00:46:44,280 So, basically, I'm just going to talk about some web stuff, 907 00:46:44,440 --> 00:46:47,560 because you've seen Kismet. 908 00:46:47,780 --> 00:46:49,260 It's so much better than DStumbler. 909 00:46:49,360 --> 00:46:51,940 So, if you really want something better than DStumbler, 910 00:46:51,980 --> 00:46:52,740 use Kismet, okay? 911 00:46:56,460 --> 00:46:57,860 I've heard that 3.0 does. 912 00:46:59,180 --> 00:47:00,100 It runs on open. 913 00:47:00,320 --> 00:47:02,220 It runs on open. 914 00:47:06,280 --> 00:47:08,060 Well, then you'll have to put up with DStumbler 915 00:47:08,060 --> 00:47:09,160 if you're running for BSD, okay? 916 00:47:10,460 --> 00:47:13,140 Oh, first of all, how many people here use BSD? 917 00:47:14,160 --> 00:47:14,600 Because... 918 00:47:15,400 --> 00:47:16,260 Okay, okay. 919 00:47:16,960 --> 00:47:17,620 Not bad. 920 00:47:17,760 --> 00:47:19,420 I have at least some people going for me here. 921 00:47:21,180 --> 00:47:24,120 Yeah, so, I'm Akari David-Holton-whatever. 922 00:47:25,260 --> 00:47:27,300 I run the BSD RTools project, 923 00:47:27,420 --> 00:47:30,100 and I've released a white paper called 924 00:47:30,100 --> 00:47:33,920 Practical Exploitation of RC4 Weaknesses in Web Environments, 925 00:47:33,920 --> 00:47:37,000 and it basically just outlines some optimizations 926 00:47:37,000 --> 00:47:38,440 to RC4 cracking and stuff, 927 00:47:38,620 --> 00:47:40,980 and that's mainly what I'm going to be talking about today. 928 00:47:43,500 --> 00:47:44,240 Skip this. 929 00:47:44,360 --> 00:47:45,620 Basically, past, present, and future. 930 00:47:47,800 --> 00:47:49,820 This is stuff that everybody knows. 931 00:47:49,940 --> 00:47:52,200 I'm just going to review this in case anybody, you know, 932 00:47:52,220 --> 00:47:54,380 doesn't know about web cracking and stuff like that. 933 00:47:55,960 --> 00:47:58,900 Basically, web stands for wired equivalent privacy, 934 00:47:59,100 --> 00:48:00,620 and it uses RC4, 935 00:48:00,760 --> 00:48:03,840 and this is a bunch of copied slides. 936 00:48:03,920 --> 00:48:04,720 It's from an old presentation, 937 00:48:04,980 --> 00:48:06,700 so it says 40-bit and 104-bit, 938 00:48:06,820 --> 00:48:09,580 but as you know, there's also the 256-bit, 939 00:48:09,640 --> 00:48:11,760 which is actually 128-bit and stuff like that. 940 00:48:12,020 --> 00:48:14,800 But basically, the older stuff uses 24-bit IVs, 941 00:48:15,840 --> 00:48:18,940 and I believe that the new stuff uses 128-bit IVs. 942 00:48:19,980 --> 00:48:22,660 Okay, well, if anybody wants to correct me, 943 00:48:22,720 --> 00:48:25,280 you can correct me later, but that's all that I know. 944 00:48:26,620 --> 00:48:27,980 As far as 40-bit, 945 00:48:29,220 --> 00:48:30,860 40-bit, if you use the key generator 946 00:48:30,860 --> 00:48:33,200 with your Linksys access point or whatever, 947 00:48:33,920 --> 00:48:35,700 Tim Neuschen pointed out a couple years ago 948 00:48:35,700 --> 00:48:38,500 that you can easily crack it in roughly about, 949 00:48:39,840 --> 00:48:42,120 what, like 15 seconds or so? 950 00:48:42,920 --> 00:48:43,800 20 seconds? 951 00:48:44,840 --> 00:48:45,560 Really depends. 952 00:48:45,880 --> 00:48:46,800 It's really fast. 953 00:48:47,000 --> 00:48:48,640 You only have to crack 21 bits. 954 00:48:49,540 --> 00:48:53,920 Properly generated 40-bit requires about 50 days or one day 955 00:48:53,920 --> 00:48:57,400 or on the fly. 956 00:48:57,740 --> 00:49:00,020 Historically speaking, one day, you're on the right system. 957 00:49:02,260 --> 00:49:04,460 Thank you for that system whenever you are. 958 00:49:07,720 --> 00:49:11,020 And 104-bit still takes a little while to crack. 959 00:49:11,400 --> 00:49:13,940 The way that we usually get around this is the FMS attack 960 00:49:13,940 --> 00:49:17,460 or the PRGA attacks that Anton mentioned earlier. 961 00:49:18,000 --> 00:49:20,340 And with DWEP crack, 962 00:49:20,580 --> 00:49:23,540 it usually requires about half a million to two million packets 963 00:49:23,540 --> 00:49:24,560 to crack WEP. 964 00:49:25,300 --> 00:49:29,180 I understand that AirSnort says that it takes about five to six million, 965 00:49:30,020 --> 00:49:31,100 and I'm not sure... 966 00:49:31,100 --> 00:49:34,780 Does anybody here work on AirSnort with Shmoo or anything like that? 967 00:49:36,200 --> 00:49:38,200 Okay, well, I'll have to talk to him later about it 968 00:49:38,200 --> 00:49:39,000 because I've never run it. 969 00:49:39,880 --> 00:49:41,700 But either way, I've heard from a lot of people 970 00:49:41,700 --> 00:49:44,740 that it's a lot faster and requires a lot less packets. 971 00:49:45,920 --> 00:49:50,740 And it works with 40-bit and 104-bit with FMS attack. 972 00:49:51,640 --> 00:49:53,860 Basically, it essentially reduces the key space. 973 00:49:54,140 --> 00:49:56,300 So most of the time, you still have to brute force 974 00:49:56,900 --> 00:49:57,940 through a lot of different keys, 975 00:49:58,080 --> 00:49:59,360 but it reduces it dramatically 976 00:50:00,020 --> 00:50:02,840 just capturing half a million to two million packets. 977 00:50:02,920 --> 00:50:04,600 You can crack it in under a minute or so. 978 00:50:06,900 --> 00:50:09,380 Yeah, so Tim Newsom pointed out the 21-bit attack. 979 00:50:09,900 --> 00:50:11,580 And that's included in DWEP crack. 980 00:50:11,840 --> 00:50:15,480 You can run it on a captured log file. 981 00:50:15,540 --> 00:50:16,560 All you need is two packets, 982 00:50:16,680 --> 00:50:19,920 and you can crack it in like 20 seconds or so. 983 00:50:21,020 --> 00:50:22,780 With 40-bit and 104-bit, 984 00:50:22,860 --> 00:50:24,560 you can brute force it, as I said. 985 00:50:25,380 --> 00:50:28,400 It also takes Word files for 40-bit and 104-bit. 986 00:50:28,400 --> 00:50:32,740 And so you can do the same attacks that he pointed out, 987 00:50:32,780 --> 00:50:34,020 where you have a big-ass Word file. 988 00:50:36,080 --> 00:50:38,160 And it, of course, does FMS attack 989 00:50:39,180 --> 00:50:41,040 and includes all the optimizations 990 00:50:41,040 --> 00:50:42,720 that I outlined in the white paper. 991 00:50:43,980 --> 00:50:46,740 So basically, it efficiently uses all the weak IVs, 992 00:50:46,740 --> 00:50:48,440 well, almost all of them, 993 00:50:48,540 --> 00:50:50,660 and does it fairly fast. 994 00:50:51,320 --> 00:50:53,640 If anybody can think of any way to do it faster, 995 00:50:53,700 --> 00:50:54,620 I'd like to talk to you. 996 00:50:54,960 --> 00:50:55,200 So... 997 00:50:57,220 --> 00:50:58,100 And, yeah. 998 00:50:58,100 --> 00:51:00,980 Just I've implanted some faster searching 999 00:51:00,980 --> 00:51:01,720 and stuff like that. 1000 00:51:02,080 --> 00:51:05,200 But that's enough with DWEP crack. 1001 00:51:05,720 --> 00:51:06,840 Right now, in the present, 1002 00:51:08,000 --> 00:51:11,280 these are some things that I've developed about a year ago, 1003 00:51:11,400 --> 00:51:13,720 and it's just been kind of like in CVS and stuff, 1004 00:51:13,820 --> 00:51:16,280 just kind of, you know, hanging out there. 1005 00:51:16,660 --> 00:51:19,840 And basically, I developed a really simple 1006 00:51:21,040 --> 00:51:23,580 packet creation and injection library for 802.11, 1007 00:51:23,760 --> 00:51:25,760 which is very similar to lib-radiate, 1008 00:51:25,860 --> 00:51:28,080 but it requires a lot less money. 1009 00:51:28,100 --> 00:51:28,980 There's a lot of modification, you know, 1010 00:51:29,020 --> 00:51:31,300 like using your own driver and stuff like that. 1011 00:51:31,660 --> 00:51:33,700 And it's a really simple library. 1012 00:51:33,960 --> 00:51:36,480 I mean, last DEF CON, I coded it, like, 1013 00:51:37,100 --> 00:51:38,520 during DEF CON for about... 1014 00:51:38,520 --> 00:51:39,780 I just spent about four hours or so. 1015 00:51:41,100 --> 00:51:43,560 And it's just a really simple interface, 1016 00:51:43,740 --> 00:51:47,480 and it includes various patches to OpenBSD kernel, 1017 00:51:47,620 --> 00:51:49,560 so you can inject packets fairly easily. 1018 00:51:50,560 --> 00:51:53,600 With de-inject, I basically took this library 1019 00:51:53,600 --> 00:51:54,920 and just made it command-line based. 1020 00:51:55,240 --> 00:51:57,480 So if you want to send out a probe response, 1021 00:51:58,100 --> 00:51:58,720 you can packet whatever. 1022 00:51:58,940 --> 00:52:00,940 You can just run a simple command with, you know, 1023 00:52:00,960 --> 00:52:02,220 a set of options and inject them. 1024 00:52:02,480 --> 00:52:04,420 And so it allows you to, you know, 1025 00:52:04,420 --> 00:52:05,380 proof different things. 1026 00:52:06,140 --> 00:52:07,020 What is that? 1027 00:52:11,600 --> 00:52:12,780 It's an unhappy system. 1028 00:52:24,460 --> 00:52:27,500 And so I've also had this available 1029 00:52:27,500 --> 00:52:28,880 for anybody that wants to use it. 1030 00:52:29,300 --> 00:52:32,400 You can do fake AP in about, you know, 1031 00:52:32,420 --> 00:52:33,660 like four lines of shell code. 1032 00:52:34,460 --> 00:52:36,860 You know, there's lots of stuff you can easily do with this. 1033 00:52:37,840 --> 00:52:39,560 And I basically... 1034 00:52:39,560 --> 00:52:41,580 With injection, the stuff that I have 1035 00:52:41,580 --> 00:52:42,740 is really rudimentary, 1036 00:52:42,740 --> 00:52:45,520 and it has lots and lots of cons. 1037 00:52:47,120 --> 00:52:48,580 Basically, it's not reliable. 1038 00:52:48,780 --> 00:52:49,900 It requires... 1039 00:52:50,300 --> 00:52:51,920 You have to have, like, the right card 1040 00:52:51,920 --> 00:52:54,620 that, you know, supports Mode 5 1041 00:52:54,620 --> 00:52:55,780 and all that kind of stuff. 1042 00:52:55,780 --> 00:52:57,780 And it really sucks. 1043 00:52:57,960 --> 00:52:58,720 It really does suck. 1044 00:53:00,100 --> 00:53:03,000 So hopefully some people will be releasing... 1045 00:53:03,000 --> 00:53:03,540 Yeah, go ahead. 1046 00:53:04,360 --> 00:53:04,820 What's that? 1047 00:53:06,020 --> 00:53:08,140 Yeah, hopefully people will be releasing stuff 1048 00:53:08,140 --> 00:53:09,820 a lot better than this in the near future. 1049 00:53:10,380 --> 00:53:11,480 Hint, hint, hint. 1050 00:53:13,220 --> 00:53:15,360 And then hopefully other people will be porting it to BSD. 1051 00:53:17,740 --> 00:53:18,340 Oh, okay. 1052 00:53:19,360 --> 00:53:20,320 Oh, cool. 1053 00:53:22,320 --> 00:53:23,880 Oh, okay. Nice. 1054 00:53:29,280 --> 00:53:30,160 And, um... 1055 00:53:30,740 --> 00:53:33,340 So, yeah, one thing that I kind of came up with 1056 00:53:33,340 --> 00:53:35,220 a while ago was traffic generation. 1057 00:53:35,760 --> 00:53:37,560 Basically, for cracking web faster, 1058 00:53:37,740 --> 00:53:39,480 you can do simple stuff like 1059 00:53:40,600 --> 00:53:43,400 determine if packets are ARPs or TCP, 1060 00:53:43,700 --> 00:53:45,560 you know, small TCP packets and stuff like that 1061 00:53:45,560 --> 00:53:47,400 by just looking at their sizes. 1062 00:53:47,760 --> 00:53:49,460 ARPs have pretty much a fixed size 1063 00:53:49,460 --> 00:53:50,680 depending on the operating system, 1064 00:53:50,800 --> 00:53:52,960 as well as, like, TCP SINs, ACKs, 1065 00:53:53,000 --> 00:53:54,960 and RSTs, FINS, whatever. 1066 00:53:55,940 --> 00:53:58,220 And so basically the attack is really simple. 1067 00:53:58,420 --> 00:53:59,740 You just look for these packets, 1068 00:53:59,960 --> 00:54:01,000 and if you see one, 1069 00:54:01,180 --> 00:54:02,720 you re-inject it onto the network 1070 00:54:02,720 --> 00:54:05,080 because a web is totally vulnerable 1071 00:54:05,080 --> 00:54:07,240 to replay attacks and that sort of thing. 1072 00:54:08,220 --> 00:54:09,880 So this is basically how it works. 1073 00:54:10,740 --> 00:54:12,620 A node sends, like, an ARP request 1074 00:54:12,620 --> 00:54:14,380 across the wireless network that's encrypted 1075 00:54:15,560 --> 00:54:17,120 and hits the access point 1076 00:54:17,120 --> 00:54:18,500 or, you know, another host or whatever. 1077 00:54:18,720 --> 00:54:20,420 And the attacker sees this ARP request 1078 00:54:21,260 --> 00:54:23,440 and determines that it's probably an ARP request 1079 00:54:23,440 --> 00:54:24,260 based on the length. 1080 00:54:25,600 --> 00:54:27,940 Just grabs it, re-injects it, 1081 00:54:28,020 --> 00:54:29,780 you know, the access point or other host 1082 00:54:29,780 --> 00:54:30,620 sees another ARP request, 1083 00:54:30,940 --> 00:54:33,440 and of course it sends an ARP response back 1084 00:54:33,440 --> 00:54:36,500 for, you know, the previous one 1085 00:54:36,500 --> 00:54:37,580 and the one that you injected 1086 00:54:37,580 --> 00:54:40,120 and the 10,000 more that you injected that second. 1087 00:54:40,720 --> 00:54:42,900 And so you can just, you know, 1088 00:54:42,940 --> 00:54:44,420 crank through IVs really fast 1089 00:54:44,420 --> 00:54:46,400 and achieve your half million 1090 00:54:46,400 --> 00:54:47,880 to two million packets really fast, 1091 00:54:48,720 --> 00:54:50,320 which would be a lot better 1092 00:54:50,320 --> 00:54:52,200 if we have a really good driver for injection. 1093 00:54:56,220 --> 00:54:59,720 And with TCP you actually get a couple packets back 1094 00:54:59,720 --> 00:55:00,320 and so... 1095 00:55:01,320 --> 00:55:03,120 And it's all technicalities, 1096 00:55:03,180 --> 00:55:04,720 but basically it's a really simple attack 1097 00:55:04,720 --> 00:55:06,900 for just generating traffic and cracking WEP faster. 1098 00:55:08,500 --> 00:55:11,320 In lab results it takes me about, like, an hour 1099 00:55:11,320 --> 00:55:13,200 to generate enough weak IVs to crack WEP 1100 00:55:13,200 --> 00:55:16,020 with, like, one ARP or one TCP packet or whatever. 1101 00:55:16,280 --> 00:55:18,740 But if we had a better driver 1102 00:55:18,740 --> 00:55:20,220 it could be done a lot faster. 1103 00:55:24,780 --> 00:55:27,100 And, yeah, it really varies with hardware 1104 00:55:27,100 --> 00:55:28,360 that filters weak IVs 1105 00:55:28,360 --> 00:55:30,540 as far as WEP cracking and stuff like that. 1106 00:55:30,980 --> 00:55:32,880 So it really depends on how good 1107 00:55:32,880 --> 00:55:34,380 their weak IV filter is. 1108 00:55:42,720 --> 00:55:45,120 So future stuff 1109 00:55:45,120 --> 00:55:46,640 that I believe we're going to be seeing 1110 00:55:46,640 --> 00:55:48,460 is A and G stuff. 1111 00:55:48,780 --> 00:55:50,620 I'd be nice to have a monitor mode driver for that. 1112 00:55:50,800 --> 00:55:51,440 Is there one? 1113 00:55:51,440 --> 00:55:51,560 Oh, yeah. 1114 00:55:52,720 --> 00:55:53,240 Okay. 1115 00:55:54,440 --> 00:55:56,740 Analyzing WEP2, the 256-bit WEP stuff, 1116 00:55:57,320 --> 00:55:59,140 getting into some frequency hopping stuff, 1117 00:55:59,480 --> 00:56:03,720 and, yeah, just the Layer 1 stuff, 1118 00:56:03,800 --> 00:56:06,120 you know, like the nice driver for injecting stuff. 1119 00:56:07,040 --> 00:56:09,340 And these are just different links 1120 00:56:09,340 --> 00:56:12,000 to Doc Bowden projects, myself. 1121 00:56:12,920 --> 00:56:14,420 But here's a zero-day, 1122 00:56:14,520 --> 00:56:17,220 so if anybody wants to grab the beta release 1123 00:56:17,220 --> 00:56:18,540 then you can grab it from here 1124 00:56:18,540 --> 00:56:20,540 or just email me or something like that. 1125 00:56:21,440 --> 00:56:22,560 But that's pretty much it. 1126 00:56:30,380 --> 00:56:33,140 Thanks, Hikari. 1127 00:56:33,300 --> 00:56:35,280 I think it's really important to point out, too, 1128 00:56:36,280 --> 00:56:38,900 it's immediately obvious to us up here, 1129 00:56:39,000 --> 00:56:40,060 but maybe not to everybody else, 1130 00:56:40,220 --> 00:56:41,960 the attacks Hikari is talking about 1131 00:56:41,960 --> 00:56:43,440 and the attacks Anton is talking about 1132 00:56:43,440 --> 00:56:45,420 are vulnerable to all kinds of WEP, 1133 00:56:45,460 --> 00:56:46,480 not just static WEP, 1134 00:56:46,480 --> 00:56:47,520 I never changed my WEP key, 1135 00:56:47,680 --> 00:56:50,700 but to tumbling WEP, PEEP, TTLS. 1136 00:56:50,700 --> 00:56:52,600 Those attacks still rely on WEP, 1137 00:56:52,640 --> 00:56:55,360 so these attacks also apply to those protocols, as well. 1138 00:56:59,520 --> 00:57:00,420 You doing that, Mike? 1139 00:57:05,020 --> 00:57:07,820 I should point out that we have some swag to hand out, too, 1140 00:57:07,900 --> 00:57:09,360 so stick around. 1141 00:57:09,440 --> 00:57:11,180 We'll be throwing that at the audience in a little while. 1142 00:57:20,700 --> 00:57:20,920 I think the question is, 1143 00:57:20,960 --> 00:57:27,060 how often do you find that most access points in our gate 1144 00:57:27,060 --> 00:57:31,080 really just don't send out a battery to the WEP? 1145 00:57:31,220 --> 00:57:34,140 Yeah, there's quite a lot of them out nowadays. 1146 00:57:35,440 --> 00:57:36,160 There's some... 1147 00:57:36,700 --> 00:57:37,540 Use the mic, Hikari. 1148 00:57:37,920 --> 00:57:38,560 Oh, okay. 1149 00:57:39,540 --> 00:57:41,520 Yeah, there's quite a lot of them out nowadays. 1150 00:57:41,740 --> 00:57:44,320 And there's some that do the WEP filtering properly. 1151 00:57:44,800 --> 00:57:45,800 And there's some that don't. 1152 00:57:45,900 --> 00:57:46,400 What's that? 1153 00:57:46,880 --> 00:57:47,320 Okay. 1154 00:57:47,840 --> 00:57:50,680 And so I've seen a couple that... 1155 00:57:50,680 --> 00:57:54,660 just you know bypass the baseline attack and so they'd still be vulnerable to the 1156 00:57:54,660 --> 00:58:00,400 you know numerous IVs that also the ones that people forgot to implement when 1157 00:58:00,400 --> 00:58:03,780 they were doing their web cracking applications yeah 1158 00:58:21,480 --> 00:58:25,460 you know the ones that first appeared in paper and then the ones that everybody was using 1159 00:58:25,460 --> 00:58:30,040 surface-to-surface most of the time and you can't extend to the place you did from the box 1160 00:58:30,040 --> 00:58:37,300 the chances for any point of key to go down from like 98% per key byte to you know 1161 00:58:37,300 --> 00:58:42,320 maybe 85% per key byte and as you start extending that into larger and larger keys 1162 00:58:42,320 --> 00:58:47,500 and the point of key even gets down into maybe you know 40% of the live what you actually get 1163 00:58:47,500 --> 00:58:48,820 the correct key test 1164 00:58:53,320 --> 00:58:55,140 well we got to get on so 1165 00:58:58,020 --> 00:59:02,800 okay my laptop is sucking so it's just a slide so I'll wing it 1166 00:59:06,720 --> 00:59:13,340 I'm a badden yeah you may remember me from such things as I'm taking down the network last year 1167 00:59:13,340 --> 00:59:20,420 at DEF CON and the whole man-in-the-middle stuff that Cisco was trying to mitigate with Leap 1168 00:59:20,420 --> 00:59:20,660 that was a big thing for me 1169 00:59:20,680 --> 00:59:23,540 me and Mr. Robert Baird out there 1170 00:59:25,160 --> 00:59:30,160 yeah okay so the other work I do most of you probably haven't heard about because it's mostly a bunch of drivers for guys like these 1171 00:59:31,560 --> 00:59:34,340 I was the one he was hinting at the whole time there 1172 00:59:34,340 --> 00:59:37,740 I'm working on I work on AirJet 1 and all it does is injection stuff 1173 00:59:38,300 --> 00:59:41,440 it's it's a lot of people have used host AP to do that problem with host AP 1174 00:59:41,900 --> 00:59:45,100 is it's not meant to do that it's meant to be a an access point 1175 00:59:45,100 --> 00:59:49,020 and so you have a huge limitations AirJet was specifically meant to inject traffic 1176 00:59:49,420 --> 00:59:50,360 that was AirJet 1 1177 00:59:50,360 --> 00:59:53,500 AirJet 2 I got a lot of complaints for a lot of things 1178 00:59:53,500 --> 00:59:58,140 one it required a prism 2 card nobody has prism 2 cards aren't really making those very many places 1179 00:59:58,140 --> 01:00:02,180 it only ran on Linux it didn't support station mode or access point mode or anything like that 1180 01:00:04,120 --> 01:00:10,380 so I started work on AirJet 2 which should be something of a release 1181 01:00:12,840 --> 01:00:14,000 this weekend-ish 1182 01:00:16,180 --> 01:00:18,840 if you want to run it have a journaling file system 1183 01:00:24,360 --> 01:00:25,040 you can have some kind of entirely one Linked Browser 1184 01:00:25,040 --> 01:00:25,460 it doesn't offer anything of the unbalanced wheel 1185 01:00:25,460 --> 01:00:30,460 but the new AirJet 2 has actually got three layers 1186 01:00:30,460 --> 01:00:31,960 it's got an�� SP Learning system 1187 01:00:31,960 --> 01:00:32,360 OSX App 1188 01:00:32,360 --> 01:00:32,380 OSS Artstation 1189 01:00:32,380 --> 01:00:36,320 it works for Linux 1190 01:00:37,080 --> 01:00:38,480 it's got over 100�entsch 1191 01:00:38,480 --> 01:00:50,340 I didn't think about it 1192 01:00:50,340 --> 01:00:51,680 I'm going to put it on Windows eventually. 1193 01:00:51,920 --> 01:00:52,780 I'm not giving you a date. 1194 01:00:53,660 --> 01:00:55,120 But it will be made for Windows 1195 01:00:55,120 --> 01:00:57,220 because I wanted to learn the Windows driver programming. 1196 01:00:59,620 --> 01:01:01,980 But basically the reason why you care about this 1197 01:01:01,980 --> 01:01:04,920 is because their tools will now work on all your other platforms. 1198 01:01:06,800 --> 01:01:08,700 I also put in a bus independent layer 1199 01:01:08,700 --> 01:01:12,120 so you can use USB cards with it and card bus cards with it, 1200 01:01:12,180 --> 01:01:15,540 which is why I'm able to do the A to 11 A and G stuff with it now. 1201 01:01:16,800 --> 01:01:19,700 You can also use PCI or CompactFlash. 1202 01:01:20,500 --> 01:01:21,220 Or PCMCA. 1203 01:01:23,340 --> 01:01:26,380 Additionally, it has three abstraction layers. 1204 01:01:26,480 --> 01:01:29,260 The third one is for the chipsets, which should work on most cards. 1205 01:01:29,460 --> 01:01:31,820 There's two particular chipsets I'm not going to be able to write drivers on 1206 01:01:31,820 --> 01:01:34,040 because of NDAs with my work, but I'm not going to get into it. 1207 01:01:34,180 --> 01:01:37,280 I've got two people that I'm going to beat until they write it. 1208 01:01:37,780 --> 01:01:39,640 So you'll have it for all of them. 1209 01:01:39,840 --> 01:01:41,100 Right now it's coming out with the Prism 2 1210 01:01:41,100 --> 01:01:43,280 and it'll do the Hermes chipset as well. 1211 01:01:43,280 --> 01:01:43,880 It's a Lucent card. 1212 01:01:45,520 --> 01:01:48,840 Sometime next week, maybe it'll have the USB stuff working. 1213 01:01:49,500 --> 01:01:50,120 And then... 1214 01:01:50,120 --> 01:01:52,700 Sometime, hopefully by the end of August, 1215 01:01:52,760 --> 01:01:54,700 I'll have it working on NetBSD 1216 01:01:54,700 --> 01:01:57,100 and then hopefully OpenBSD and FreeBSD after that. 1217 01:01:57,520 --> 01:01:59,680 And OSX if I can borrow a friend's laptop. 1218 01:02:02,300 --> 01:02:04,940 But like I said, pretty much... 1219 01:02:04,940 --> 01:02:05,980 Chicks dig AirJack. 1220 01:02:07,760 --> 01:02:08,980 That's what the slide said. 1221 01:02:09,460 --> 01:02:12,440 It also repeated that Seahorse dig AirJack 1222 01:02:12,440 --> 01:02:15,520 and also that Tim's mother digs AirJack. 1223 01:02:18,080 --> 01:02:19,720 So that was on the slide. 1224 01:02:20,120 --> 01:02:23,080 It's not quite as funny when I'm reading it, but... 1225 01:02:23,080 --> 01:02:24,240 I was about to say... 1226 01:02:24,240 --> 01:02:26,180 All right. 1227 01:02:26,520 --> 01:02:26,960 Okay. 1228 01:02:28,500 --> 01:02:31,420 So there's one other thing that Anton left off 1229 01:02:31,420 --> 01:02:33,880 that I'm going to be really vague about 1230 01:02:33,880 --> 01:02:35,480 because it's funny. 1231 01:02:36,020 --> 01:02:39,240 There is a much, much dramatically better way 1232 01:02:39,240 --> 01:02:40,540 to get to the key streams. 1233 01:02:40,900 --> 01:02:41,980 And someone's done it. 1234 01:02:42,080 --> 01:02:44,460 Taki is not released yet. 1235 01:02:44,620 --> 01:02:46,360 It might be in the future. 1236 01:02:46,460 --> 01:02:48,660 That's dramatically better. 1237 01:02:50,120 --> 01:02:51,960 But I don't know. 1238 01:02:51,980 --> 01:02:53,500 Does anybody have any questions as far as... 1239 01:02:53,500 --> 01:02:55,460 Right now we should be supporting the station mode 1240 01:02:55,900 --> 01:02:56,820 and ad hoc mode. 1241 01:02:56,880 --> 01:02:58,120 I'll have the AP mode stuff in there 1242 01:02:58,120 --> 01:02:59,860 so you don't need to switch drivers between there. 1243 01:03:00,680 --> 01:03:01,280 Oh, yeah. 1244 01:03:01,420 --> 01:03:01,680 Okay. 1245 01:03:01,740 --> 01:03:03,300 It's 802.11ninja.net. 1246 01:03:03,440 --> 01:03:04,720 As in 802 is a subdomain. 1247 01:03:04,740 --> 01:03:05,180 I'm clever. 1248 01:03:06,480 --> 01:03:07,140 11ninja.net. 1249 01:03:07,800 --> 01:03:08,980 That slash AirJack. 1250 01:03:09,040 --> 01:03:10,160 That's where all the AirJack stuff is. 1251 01:03:10,500 --> 01:03:12,840 Email badden at 802.11ninja.net 1252 01:03:12,840 --> 01:03:13,860 or go to the website. 1253 01:03:13,980 --> 01:03:15,140 And we've got a mailing list going. 1254 01:03:15,580 --> 01:03:16,960 Three of them if you're interested in it. 1255 01:03:18,180 --> 01:03:18,540 But... 1256 01:03:20,140 --> 01:03:22,580 I don't really have too terribly much more to say about that. 1257 01:03:23,100 --> 01:03:25,880 We have questions about, well, anything really. 1258 01:03:26,020 --> 01:03:27,080 I mean, we have time for everybody. 1259 01:03:27,200 --> 01:03:29,800 But specifically the moment about the drivers 1260 01:03:29,800 --> 01:03:30,840 and how we can do this. 1261 01:03:30,880 --> 01:03:33,480 Mostly meant so that you can do injection stuff 1262 01:03:33,480 --> 01:03:34,720 but you won't have to switch drivers 1263 01:03:34,720 --> 01:03:35,620 to use all the other features. 1264 01:03:36,100 --> 01:03:37,880 Like, you know, connect to an access point normally. 1265 01:03:38,480 --> 01:03:41,260 How much drivers for Linux for 802.11a and g? 1266 01:03:42,340 --> 01:03:43,320 Yeah, it'll do that. 1267 01:03:44,640 --> 01:03:45,700 Very important feature. 1268 01:03:46,020 --> 01:03:47,760 And it should do that for BSD as well. 1269 01:03:48,540 --> 01:03:49,980 Um, no one? 1270 01:03:53,640 --> 01:03:54,280 I'm sorry. 1271 01:04:07,080 --> 01:04:08,000 It doesn't now. 1272 01:04:08,620 --> 01:04:09,920 But it's pretty easy to do it. 1273 01:04:10,420 --> 01:04:13,600 It's like you fill in like 20 stubbed functions 1274 01:04:13,600 --> 01:04:14,900 and poof, it works on that card. 1275 01:04:15,900 --> 01:04:17,620 Because it's got a lot of abstraction in there. 1276 01:04:17,720 --> 01:04:18,040 Um. 1277 01:04:19,580 --> 01:04:19,940 Anybody? 1278 01:04:20,100 --> 01:04:21,200 Anybody have questions for them? 1279 01:04:26,420 --> 01:04:26,780 Sure. 1280 01:04:28,680 --> 01:04:29,540 Oh, sorry. 1281 01:04:29,660 --> 01:04:30,840 He asked if I'm still going to be supporting 1282 01:04:30,840 --> 01:04:32,100 intercell stuff even though they're not 1283 01:04:32,520 --> 01:04:34,920 doing their wireless anymore. 1284 01:04:35,060 --> 01:04:35,860 Yes. Yes, it is. 1285 01:04:36,540 --> 01:04:36,900 Yeah. 1286 01:04:38,860 --> 01:04:39,760 It should work. 1287 01:04:40,180 --> 01:04:41,740 I have to beat somebody into doing the 1288 01:04:42,120 --> 01:04:44,320 ARINET and the Atheros because I have NDAs. 1289 01:04:44,580 --> 01:04:47,580 But the card bus stuff for that should work. 1290 01:04:49,780 --> 01:04:50,240 So that's why I'm saying that. 1291 01:04:50,240 --> 01:04:50,400 Any other questions? 1292 01:04:53,460 --> 01:04:53,820 . 1293 01:04:59,480 --> 01:05:02,040 He asked what are my thoughts on 802.11i and WPA. 1294 01:05:02,680 --> 01:05:05,860 I can answer that first and I'm sure some of these people are going to want to get in on that. 1295 01:05:06,020 --> 01:05:11,340 My thoughts on WPA, as far as TKIP and MIC, nice try. 1296 01:05:13,240 --> 01:05:16,400 But I don't really have much faith in it. 1297 01:05:17,760 --> 01:05:18,520 802.11i is a little bit complicated. 1298 01:05:18,540 --> 01:05:20,720 better, but I'd 1299 01:05:20,720 --> 01:05:22,500 really want to see, the problem with the Airtool of an I is you're not 1300 01:05:22,500 --> 01:05:23,780 going to be able to put it on the old cards. 1301 01:05:24,540 --> 01:05:26,380 It simply doesn't have the horsepower to handle AES. 1302 01:05:26,480 --> 01:05:28,160 The newer ones are running on 1303 01:05:28,480 --> 01:05:30,480 much, much faster Mac processors, so they can do it. 1304 01:05:31,480 --> 01:05:32,640 And so, hopefully 1305 01:05:32,640 --> 01:05:34,500 we'll see, once everybody's using Airtool of an A 1306 01:05:34,820 --> 01:05:36,320 or G, or hopefully just G, 1307 01:05:37,460 --> 01:05:38,480 we'll be able to have the horsepower 1308 01:05:38,480 --> 01:05:40,600 to do that, but until then, it's mostly a problem 1309 01:05:40,600 --> 01:05:42,540 with horsepower on the access points, because you can 1310 01:05:42,540 --> 01:05:44,100 do it on the host CPU. But, 1311 01:05:44,180 --> 01:05:45,740 as far as WPA goes, 1312 01:05:45,740 --> 01:05:47,320 I don't have much faith. 1313 01:05:47,680 --> 01:05:50,080 Those hashing functions that it's based on are really, 1314 01:05:50,620 --> 01:05:51,380 really weak. 1315 01:05:52,300 --> 01:05:54,380 And it's still RC4 at the core. 1316 01:05:54,560 --> 01:05:55,920 You simply have WEP 1317 01:05:55,920 --> 01:05:57,120 with a bunch of other stuff. 1318 01:05:57,340 --> 01:05:59,140 Yeah, it is exactly WEP. 1319 01:05:59,160 --> 01:06:01,140 It's somewhat secure, but it's still a trade-off 1320 01:06:01,140 --> 01:06:03,040 between security and performance for 1321 01:06:03,040 --> 01:06:04,920 the processors that are in the APs. 1322 01:06:05,120 --> 01:06:07,340 So, those APs are not going to be able to run 1323 01:06:08,620 --> 01:06:09,420 AES, CCM. 1324 01:06:09,500 --> 01:06:10,200 So, I guess 1325 01:06:11,060 --> 01:06:13,060 I'm going to start giving out swag to people with good questions. 1326 01:06:15,120 --> 01:06:15,520 Someone's 1327 01:06:15,520 --> 01:06:17,160 got a good question. We're giving out schwags. 1328 01:06:17,500 --> 01:06:19,160 So, whoever just asked that question, 1329 01:06:19,240 --> 01:06:21,260 come pick schwag. And somebody else with a good 1330 01:06:21,260 --> 01:06:22,780 question. Yeah, you in the back. 1331 01:06:23,740 --> 01:06:24,460 Not Jim. 1332 01:06:28,780 --> 01:06:29,140 Yeah. 1333 01:06:30,560 --> 01:06:31,280 Just email 1334 01:06:31,680 --> 01:06:33,680 timsmom at 802.11ninja.net 1335 01:06:35,700 --> 01:06:36,560 It's a pop account. 1336 01:06:36,840 --> 01:06:38,460 Yeah. Yes. 1337 01:06:39,100 --> 01:06:40,160 Wait, I'll check it real quick. 1338 01:06:44,220 --> 01:06:44,760 Mm-hmm. 1339 01:06:46,580 --> 01:06:48,680 I did see that part of their problem 1340 01:06:48,680 --> 01:06:50,080 was that they were... I'm sorry. 1341 01:06:50,200 --> 01:06:50,600 Again. 1342 01:06:51,460 --> 01:06:52,860 I was bitching at you. 1343 01:06:54,880 --> 01:06:56,160 He asked if 1344 01:06:56,160 --> 01:06:58,400 I'd seen anything to implement anything with the 1345 01:06:58,400 --> 01:07:00,600 Nokias. They put out 1346 01:07:00,600 --> 01:07:02,080 a paper about problems with 1347 01:07:03,260 --> 01:07:04,220 tunneled authentication 1348 01:07:04,220 --> 01:07:06,220 protocols, tunneled through TLS. 1349 01:07:06,520 --> 01:07:08,640 And if I'd try to implement anything with that. 1350 01:07:08,720 --> 01:07:10,520 My understanding with that, which is not 1351 01:07:10,520 --> 01:07:12,260 too terribly extensive. I read it, but 1352 01:07:12,260 --> 01:07:14,120 I sort of skimmed past it. Is that 1353 01:07:14,120 --> 01:07:16,240 they were relying on a weakness 1354 01:07:16,240 --> 01:07:18,220 in the client. And I didn't see 1355 01:07:18,220 --> 01:07:20,240 an actual specific mention of the weakness. They're right in that 1356 01:07:20,240 --> 01:07:22,360 it's one-way authentication in the same way. 1357 01:07:22,540 --> 01:07:24,440 But they're really only authenticating 1358 01:07:24,440 --> 01:07:25,480 the server to do the TLS. 1359 01:07:27,200 --> 01:07:28,000 But I 1360 01:07:28,560 --> 01:07:30,440 didn't really see the actual weakness in the client 1361 01:07:30,440 --> 01:07:31,920 that was specifically mentioned. It's just 1362 01:07:31,920 --> 01:07:34,380 they were talking about it's a bad best practice, which is 1363 01:07:34,380 --> 01:07:36,200 true. I agree. But it's a lot better than, say, 1364 01:07:36,200 --> 01:07:36,420 Leap. 1365 01:07:37,580 --> 01:07:37,980 Yeah. 1366 01:07:38,060 --> 01:07:38,360 Yeah, go. 1367 01:07:39,320 --> 01:07:41,640 The Nokia paper basically said that 1368 01:07:41,640 --> 01:07:43,920 these protocols, PPT, TLS, are usually 1369 01:07:43,920 --> 01:07:44,860 using encrypted 1370 01:07:45,600 --> 01:07:47,820 strong encryption outer tunnels for weak 1371 01:07:48,840 --> 01:07:49,680 authentication passwords 1372 01:07:49,680 --> 01:07:52,020 inside a tunnel. The problem is that the client 1373 01:07:52,020 --> 01:07:53,820 doesn't know whether or not it's talking to 1374 01:07:53,820 --> 01:07:55,840 an encrypted tunnel or not to an encrypted tunnel. 1375 01:07:56,100 --> 01:07:57,400 So it's possible 1376 01:07:57,400 --> 01:07:59,220 in some client implementations 1377 01:07:59,220 --> 01:08:01,820 to fool the client into thinking that a secure 1378 01:08:01,820 --> 01:08:03,520 tunnel exists when it actually does not 1379 01:08:03,520 --> 01:08:05,880 and then derive the credentials. But in practice, 1380 01:08:06,060 --> 01:08:07,540 I don't think anybody's seen that. 1381 01:08:07,740 --> 01:08:08,620 But that's a good question. 1382 01:08:10,440 --> 01:08:11,980 Also, something else to point out 1383 01:08:11,980 --> 01:08:13,680 is that a lot of those authentication 1384 01:08:13,920 --> 01:08:15,560 things that are using Leap use static 1385 01:08:15,560 --> 01:08:17,520 broadcast keys. Those are keys where they 1386 01:08:17,520 --> 01:08:19,620 send traffic to broadcast, which makes them very, 1387 01:08:19,700 --> 01:08:21,800 very, very, very vulnerable to the stuff 1388 01:08:21,800 --> 01:08:23,860 that Hikari and Anton were talking 1389 01:08:23,860 --> 01:08:25,640 about, because you can send it to the broadcast address 1390 01:08:25,640 --> 01:08:27,580 even if you need a Unicast IP. You can put that 1391 01:08:27,580 --> 01:08:28,900 right on a 1392 01:08:29,620 --> 01:08:31,060 friend that has a broadcast Mac. 1393 01:08:37,720 --> 01:08:39,660 I've seen symbols have been compliant for 1394 01:08:39,660 --> 01:08:40,640 a long time. 1395 01:08:43,140 --> 01:08:43,860 They do make 1396 01:08:43,920 --> 01:08:46,020 APs. They make APs and have made APs 1397 01:08:46,020 --> 01:08:47,920 for a long time, but they're not really the kind that you buy 1398 01:08:47,920 --> 01:08:49,600 someplace. You get them for warehouse and point of sale. 1399 01:08:50,000 --> 01:08:51,760 But they've had WPA for a long time. 1400 01:08:52,980 --> 01:08:54,140 Cisco does it right now. 1401 01:08:54,280 --> 01:08:55,840 If you get their latest stuff, I'm pretty sure 1402 01:08:55,840 --> 01:08:57,820 the new iOS and the 1200 series will do it. 1403 01:08:59,520 --> 01:09:00,160 I couldn't 1404 01:09:00,160 --> 01:09:00,740 even really tell you. 1405 01:09:06,880 --> 01:09:07,520 But the 1406 01:09:07,880 --> 01:09:09,560 1200 series has a little PowerPC 1407 01:09:09,560 --> 01:09:10,160 and it's pretty 1408 01:09:11,960 --> 01:09:12,280 powerful. 1409 01:09:18,140 --> 01:09:18,640 What's 1410 01:09:19,200 --> 01:09:22,040 the best hope for getting 802.11 1411 01:09:22,040 --> 01:09:23,300 security running? 1412 01:09:24,220 --> 01:09:24,920 Is that what you asked? 1413 01:09:24,920 --> 01:09:25,460 Don't use it! 1414 01:09:26,060 --> 01:09:28,040 Well, he asked what's the best hope for getting 1415 01:09:28,040 --> 01:09:28,940 802.11 security running. 1416 01:09:29,020 --> 01:09:29,380 Is that what you said? 1417 01:09:29,580 --> 01:09:29,780 Right! 1418 01:09:31,280 --> 01:09:32,900 Everybody start yelling. 1419 01:09:33,400 --> 01:09:35,140 Actually both of you two, you can get shwacked. 1420 01:09:37,300 --> 01:09:38,580 The major problem 1421 01:09:38,580 --> 01:09:40,620 of it isquality's in listening to people really. 1422 01:09:41,000 --> 01:09:43,160 They did try with the WPA stuff. They 1423 01:09:43,160 --> 01:09:43,720 They really did try. 1424 01:09:43,820 --> 01:09:51,740 They also did a pretty decent job on the 802.11i, but it's just not there. 1425 01:09:52,300 --> 01:09:56,880 The other thing to keep in mind is that it took six or seven years for IPsec to go through the standards body, 1426 01:09:57,000 --> 01:09:58,500 and we all kind of respect IPsec. 1427 01:09:59,520 --> 01:10:02,700 802.11i is still a year away before it's finally ratified, 1428 01:10:02,920 --> 01:10:08,320 and I think 802.11i is the closest to something that you could probably trust for 802.11 security. 1429 01:10:08,320 --> 01:10:13,520 And don't pull yourself into thinking that your IPsec implementations are secure for wireless networks, 1430 01:10:13,800 --> 01:10:18,460 because, frankly, I have yet to see an IPsec implementation that did not have problems with that. 1431 01:10:18,580 --> 01:10:21,800 Not the kind of problems we're talking about, but Layer 2 problems. 1432 01:10:21,940 --> 01:10:24,380 You're still vulnerable to all kinds of denial-of-service attacks. 1433 01:10:24,700 --> 01:10:27,080 And 5 is going to be the biggest thing, right? 1434 01:10:27,100 --> 01:10:31,480 If you're not using strong authentication, strong authentication read as PKI. 1435 01:10:32,220 --> 01:10:35,400 If you're not using strong authentication with it, you're wasting your time. 1436 01:10:35,520 --> 01:10:37,860 I demonstrated that at Black Hat last year with Rob Baird. 1437 01:10:38,320 --> 01:10:41,340 How many people have patched all the clients that are vulnerable to the PICOM vulnerability, 1438 01:10:41,720 --> 01:10:43,160 all the XP machines that you have? 1439 01:10:43,380 --> 01:10:45,180 You're running a second-year wireless network. 1440 01:10:45,340 --> 01:10:47,800 I bet you those machines are still vulnerable to attack. 1441 01:10:48,160 --> 01:10:48,460 Yeah. 1442 01:10:49,680 --> 01:10:50,140 Yeah. 1443 01:11:04,140 --> 01:11:08,160 I would have to say that the one thing that makes PEEP, 1444 01:11:08,320 --> 01:11:11,680 as good as Cisco says so, which is not really a good reason, 1445 01:11:12,320 --> 01:11:13,720 but that's what Cisco will tell you. 1446 01:11:13,960 --> 01:11:17,920 I can't really say which one's necessarily better. 1447 01:11:18,020 --> 01:11:19,820 They both have their problems. 1448 01:11:20,060 --> 01:11:23,480 I would lean towards the one that's a little more open, but... 1449 01:11:25,360 --> 01:11:28,820 I would say that TTLS is a better option for PEEP right now. 1450 01:11:29,440 --> 01:11:33,620 ETLS would be a better option, ultimately, but if you're looking at TTLS or PEEP, 1451 01:11:33,720 --> 01:11:38,000 I would prefer TTLS because you have a lot more flexibility with the performance calls 1452 01:11:38,320 --> 01:11:42,580 so you can use it and still get the same level of security in that TLS call that PEEP does. 1453 01:11:42,780 --> 01:11:43,780 Swag, swag. 1454 01:11:45,900 --> 01:11:50,880 Yeah, that and MSCHAP v2 doesn't give me a warm, fuzzy feeling. 1455 01:11:51,040 --> 01:11:55,080 My immediate thoughts with the Leap stuff was Cisco and MS, 1456 01:11:55,160 --> 01:11:57,860 meaning Microsoft in MSCHAP, Cisco and Microsoft, 1457 01:11:58,000 --> 01:12:00,360 the dynamic duo, out to secure your network. 1458 01:12:03,560 --> 01:12:05,040 And who doesn't trust that? 1459 01:12:13,480 --> 01:12:17,040 He asked if we run wireless networks in our houses and how would we secure them if we did. 1460 01:12:17,940 --> 01:12:19,360 I can answer that one right now. 1461 01:12:19,440 --> 01:12:20,920 I run one at my house. 1462 01:12:21,080 --> 01:12:21,920 It's pretty open. 1463 01:12:22,020 --> 01:12:23,720 The SSID is free, free porn. 1464 01:12:25,940 --> 01:12:31,820 And the way that I handle security is that I don't use it for things that I don't want people seeing or getting on. 1465 01:12:31,980 --> 01:12:33,560 And it's not connected to the rest of the network. 1466 01:12:34,800 --> 01:12:38,060 It basically is there so people can get on the Internet and what do they do on the Internet but free porn. 1467 01:12:38,440 --> 01:12:39,600 So you have to ask these guys. 1468 01:12:39,760 --> 01:12:40,980 I run one in my house. 1469 01:12:41,300 --> 01:12:43,920 I live in an old apartment that's basically a Faraday cage. 1470 01:12:46,440 --> 01:12:48,340 You're lucky if you can see it from my front yard. 1471 01:12:52,120 --> 01:12:55,580 I live in the middle of nowhere so if you get close enough to actually point an antenna at me, 1472 01:12:55,660 --> 01:12:56,960 I can probably hit you with a 30-30. 1473 01:13:04,780 --> 01:13:05,740 I run web. 1474 01:13:05,960 --> 01:13:07,480 I'm some of the... 1475 01:13:10,760 --> 01:13:14,440 We have big antennas outside of our place but we don't run wireless. 1476 01:13:19,860 --> 01:13:21,000 I'm fucking paranoid. 1477 01:13:22,720 --> 01:13:29,620 I use the Kismet drone sensors outside my house to monitor the network and do some custom real-time reporting stuff to find out what's going on. 1478 01:13:29,880 --> 01:13:35,460 But basically, you know, if you want to drive over to my house and sit in front, you know, knock on the door and say hello. 1479 01:13:35,620 --> 01:13:36,320 For Christ's sake. 1480 01:13:36,520 --> 01:13:37,780 Don't sit in my parking lot. 1481 01:13:38,620 --> 01:13:39,380 Hold on. 1482 01:13:39,740 --> 01:13:40,440 Get a... 1483 01:13:47,840 --> 01:13:49,140 Get some swag. 1484 01:13:49,500 --> 01:13:50,460 Yeah, yeah. 1485 01:13:50,900 --> 01:13:51,460 I... 1486 01:13:52,160 --> 01:13:52,780 He's talking... 1487 01:13:52,780 --> 01:13:54,600 He asked if I've ever seen anybody... 1488 01:13:54,600 --> 01:13:56,160 He's talking about exploiting the Michael countermeasures problem. 1489 01:13:56,460 --> 01:13:58,200 The Michael countermeasures problem. 1490 01:13:58,360 --> 01:14:02,560 Michael incidentally is the message integrity check that they have on TKIP. 1491 01:14:02,660 --> 01:14:06,880 Michael is a very, well, bad hash function. 1492 01:14:07,280 --> 01:14:07,840 Um... 1493 01:14:07,840 --> 01:14:08,520 They had reasons. 1494 01:14:08,680 --> 01:14:09,560 They're not completely bad. 1495 01:14:09,660 --> 01:14:11,260 The guys were given sort of an impossible task. 1496 01:14:11,400 --> 01:14:13,860 They had to make a good hash function that could run on a CPU that can't do anything. 1497 01:14:15,240 --> 01:14:16,260 And it had to run really fast. 1498 01:14:16,500 --> 01:14:17,580 So that's why it was bad. 1499 01:14:17,820 --> 01:14:23,220 But it's so bad, in fact, that if they get too badly authenticated... 1500 01:14:23,220 --> 01:14:28,820 It has a good CRC, so they know it encrypted properly, but it has a bad make hash on it. 1501 01:14:29,520 --> 01:14:32,020 Then if they get two of those within a minute, I believe, then it disconnects you. 1502 01:14:32,760 --> 01:14:33,700 Within a second, is it? 1503 01:14:34,320 --> 01:14:34,600 Okay. 1504 01:14:34,720 --> 01:14:35,540 Well, one of those two. 1505 01:14:35,660 --> 01:14:36,640 And it disconnects you. 1506 01:14:37,540 --> 01:14:42,620 Problem with that is, I haven't actually tried this specifically to know for sure that it works, 1507 01:14:42,700 --> 01:14:48,020 but there was some talk a long time ago about the, you could do bit flipping inside the RC4, 1508 01:14:48,120 --> 01:14:50,940 because it's still an RC4 system, and get the CRC to come out valid. 1509 01:14:51,100 --> 01:14:54,080 Now, I can't do bit flipping to get the MIT come out valid, but I don't need to. 1510 01:14:54,120 --> 01:14:57,360 If I get two to come out invalid, but the encryption was good, you're off the network. 1511 01:14:58,580 --> 01:14:59,820 I haven't seen it in the wild. 1512 01:15:00,000 --> 01:15:00,860 You don't have to ask these guys. 1513 01:15:00,940 --> 01:15:02,000 Anybody seen it in the wild? 1514 01:15:02,600 --> 01:15:04,680 I haven't seen much WPA in the wild. 1515 01:15:04,820 --> 01:15:06,220 Expect to see it in the wild. 1516 01:15:06,220 --> 01:15:10,400 In the wild, when there's a lot of WPA out there, and it's a really bad toss attack. 1517 01:15:10,840 --> 01:15:13,960 Yeah, so for people who don't know, the countermeasure is two invalid MIT packets. 1518 01:15:14,660 --> 01:15:17,500 The AP has to shut down for an entire minute. 1519 01:15:17,580 --> 01:15:18,640 That's part of the standard. 1520 01:15:18,920 --> 01:15:22,380 It kicks you off, yeah. 1521 01:15:22,560 --> 01:15:26,580 Part of the standard says you cannot have that option to be turned off. 1522 01:15:26,640 --> 01:15:31,640 If you're a standards compliant product, you're not supposed to leave that as an option that the user can set. 1523 01:15:31,700 --> 01:15:33,120 Don't be standards compliant, please. 1524 01:15:33,580 --> 01:15:35,800 We already have enough insecure protocols. 1525 01:15:36,220 --> 01:15:39,460 Now, in implementation, I think every vendor has had a shut off for that. 1526 01:15:39,720 --> 01:15:40,120 Yeah. 1527 01:15:43,000 --> 01:15:46,340 So, we already have enough insecure protocols, so one more won't hurt. 1528 01:15:49,840 --> 01:15:51,220 Does somebody have an ask for you? 1529 01:15:51,460 --> 01:15:55,820 Do you know without standardization, do you think vendors won't be able to afford fixing these problems? 1530 01:15:58,220 --> 01:16:03,920 I think that's really, in large part, up to the people in this room and the guys you know, in my opinion. 1531 01:16:04,060 --> 01:16:05,820 Because you guys, two groups. 1532 01:16:06,220 --> 01:16:10,700 You guys are the ones who are going to be bitching to fix it, and you guys are the ones who are going to be breaking it and making other people bitch to fix it. 1533 01:16:12,320 --> 01:16:14,060 If enough people are concerned about it, yes. 1534 01:16:14,540 --> 01:16:20,100 But in my personal experience, people don't want security, they want a rubber stamp that says they're secure. 1535 01:16:21,780 --> 01:16:27,200 So, to that end, if it becomes a demand, they absolutely are going to have to. 1536 01:16:27,320 --> 01:16:31,220 And 8 or 12 and I and some of the higher end hardware, the new 8 or 12 and G stuff will do it. 1537 01:16:31,300 --> 01:16:34,960 But as is right now, I don't really see them fixing it because it's not a high priority. 1538 01:16:38,840 --> 01:16:41,640 There will be standardization if somebody else has to do it, I'm sure. 1539 01:16:42,520 --> 01:16:47,360 I mean, the WPA stuff was not done by IEEE. It was done by the Wi-Fi group, was it not? 1540 01:16:47,580 --> 01:16:48,280 No, it was done by both. 1541 01:16:48,500 --> 01:16:48,900 Was it both? 1542 01:16:49,140 --> 01:16:50,780 Yeah, it was actually created to 11I. 1543 01:16:51,440 --> 01:16:53,880 Yeah, I know it was based on 8 or 12 and I, which is IEEE. 1544 01:16:55,700 --> 01:16:56,340 But, so... 1545 01:16:57,680 --> 01:17:01,980 So, what do you think about the test using check-in portals and things like T-Mobile? 1546 01:17:02,780 --> 01:17:03,100 . 1547 01:17:07,260 --> 01:17:09,140 I don't know who you've been talking to, but I didn't do it. 1548 01:17:10,060 --> 01:17:10,420 . 1549 01:17:12,220 --> 01:17:14,400 Go to Bruce Potter's session on . 1550 01:17:15,020 --> 01:17:15,380 Yeah. 1551 01:17:15,520 --> 01:17:18,040 Okay, and we'll stay up to that. I don't want to steal Bruce's . 1552 01:17:18,500 --> 01:17:23,200 Well, hold on. Anybody new, hold on. Give me a second. You? 1553 01:17:23,780 --> 01:17:24,140 . 1554 01:17:31,500 --> 01:17:33,700 He asked if SSL-based... 1555 01:17:33,700 --> 01:17:33,900 . 1556 01:17:36,220 --> 01:17:40,740 SSL-based security is better than IPSec, bumping that up a little. 1557 01:17:41,280 --> 01:17:46,100 There's a viable solution. Okay, in some cases, the problem with that is... 1558 01:17:46,100 --> 01:17:54,320 Well, a problem with that is, it's only authenticating the server using, you know, web-style SSL stuff generally. 1559 01:17:54,520 --> 01:17:56,900 Which means you have a signed certificate from the server. 1560 01:17:57,420 --> 01:18:02,100 So, it's one way authenticated. The other major problem is that your users are very stupid and will click yes. 1561 01:18:03,040 --> 01:18:03,480 . 1562 01:18:04,340 --> 01:18:09,560 It's all just techno jargon. What do you mean it's not signed by them? I just want my Yahoo. 1563 01:18:10,760 --> 01:18:11,280 . 1564 01:18:18,860 --> 01:18:25,860 She asked how effective it is to disable SSID broadcasting. That's sort of, in my opinion, a confused question. 1565 01:18:26,680 --> 01:18:28,720 Ask him, because... 1566 01:18:28,720 --> 01:18:29,720 Not at all. 1567 01:18:29,720 --> 01:18:33,580 Let's discuss what you mean by effective. If you mean by making it to where people don't accidentally connect to you? 1568 01:18:33,840 --> 01:18:35,740 Yes. Yes, it's effective. 1569 01:18:37,040 --> 01:18:41,740 The SSID was never intended to be a secure part of the protocol, so you can turn it off in the beacons, 1570 01:18:41,780 --> 01:18:46,200 but as soon as someone connects and the access point says, you're allowed to connect, there's the SSID. 1571 01:18:46,840 --> 01:18:50,580 Kismet pulls it out automatically. Anything else could, I'd just automate it. 1572 01:18:50,740 --> 01:18:59,500 Go to 802.11ninja.net slash airjack. Grab the stuff. There's still one tool that's still in there. It's ESSID jack, which I wrote so people would stop thinking that was a security measure. 1573 01:18:59,720 --> 01:19:06,120 It kicks somebody off using airjack, thereby forcing them to reconnect, and I see the SSID. It's not a password. 1574 01:19:11,760 --> 01:19:12,260 . 1575 01:19:13,160 --> 01:19:13,660 . 1576 01:19:13,660 --> 01:19:13,860 . 1577 01:19:24,420 --> 01:19:24,920 Okay. 1578 01:19:25,920 --> 01:19:26,420 . 1579 01:19:30,280 --> 01:19:30,680 . 1580 01:19:32,540 --> 01:19:32,940 . 1581 01:19:44,340 --> 01:19:44,740 . 1582 01:19:46,960 --> 01:19:53,120 It's range, generally, is not nearly as long, and that's one good thing from that perspective, but from some perspectives, that's bad. 1583 01:19:53,820 --> 01:19:59,460 The increased WEP links doesn't impress me. WEP is dead. WEP is totally broken. It's starting to smell. Just let it go. 1584 01:19:59,720 --> 01:20:03,640 You can make a bajillion-bit key. I don't care. Okay? WEP is done. 1585 01:20:04,140 --> 01:20:04,580 . 1586 01:20:04,580 --> 01:20:16,080 . But as far as I do use A, I use G, but primarily I mostly use B or G because it's backwards compatible. It's a major, major deal. 1587 01:20:16,200 --> 01:20:16,300 . 1588 01:20:19,480 --> 01:20:23,300 . I could build an antenna that'll get it from a mile away. 1589 01:20:23,620 --> 01:20:24,060 . 1590 01:20:24,820 --> 01:20:27,340 . Because he wants to get free porn on my network. 1591 01:20:27,740 --> 01:20:28,180 . 1592 01:20:40,280 --> 01:20:40,720 . 1593 01:20:41,200 --> 01:20:41,640 . 1594 01:20:43,480 --> 01:20:45,800 Dude, they don't fucking talk to us, man. 1595 01:20:46,820 --> 01:20:53,260 Mike Kershaw and I have been trying to get in touch with manufacturers to talk about flaws in firmware for over six months. 1596 01:20:53,620 --> 01:20:59,520 We've contacted every person we knew at all these companies to talk about, your firmware sucks, and it's easily exploitable, 1597 01:20:59,520 --> 01:21:01,900 and there are a lot of bugs, and we didn't talk about it today, but 1598 01:21:01,900 --> 01:21:05,360 I mean, they don't want to hear it from the security industry, 1599 01:21:05,680 --> 01:21:08,720 you know, and it's just that we're nice guys, so we don't just post it on 1600 01:21:08,720 --> 01:21:12,320 Votetrak, but... I have talked to some of them 1601 01:21:12,320 --> 01:21:14,680 through my work. If it were just me, they would never listen to me. 1602 01:21:15,620 --> 01:21:18,360 Only through my work, without much 1603 01:21:19,480 --> 01:21:21,060 gain from it, but... 1604 01:21:44,820 --> 01:21:47,260 Well, you got me confused with somebody else who corrects it. 1605 01:21:51,820 --> 01:21:54,100 So, I think his question is something to the effect of 1606 01:21:54,100 --> 01:21:57,380 what are we going to do when cell phone companies come out using SEM 1607 01:21:57,380 --> 01:21:58,460 authentication, is it? 1608 01:22:01,600 --> 01:22:02,400 Uh-huh. 1609 01:22:05,500 --> 01:22:05,900 Okay. 1610 01:22:12,920 --> 01:22:13,720 I see. 1611 01:22:24,020 --> 01:22:27,260 He said a lot, so that's it for me to paraphrase. He's saying about 1612 01:22:28,980 --> 01:22:31,140 the SEM... I don't really... You talk to this man. 1613 01:22:31,520 --> 01:22:35,060 I don't really mean to... It's just you said a very lot there. 1614 01:22:35,320 --> 01:22:39,040 He's talking about using SEM cards, some cellular companies using SEM cards to 1615 01:22:39,440 --> 01:22:43,300 authenticate 8 or to 11 new devices, and whether or not I think this is a good idea 1616 01:22:43,300 --> 01:22:46,740 or it's a single point of failure, I think it's probably a really bad idea, just because they shouldn't... 1617 01:22:47,380 --> 01:22:48,740 Yeah. Right. 1618 01:22:51,320 --> 01:22:53,120 Do you want to wrap up? 1619 01:22:54,400 --> 01:22:56,740 Okay. We still have three things to give away. 1620 01:22:57,500 --> 01:22:58,240 Let's do three more. 1621 01:22:59,340 --> 01:23:01,320 Three questions. Does everybody know what's up here? 1622 01:23:01,500 --> 01:23:01,940 Oh, really? 1623 01:23:02,920 --> 01:23:06,080 Well, somebody take swag first off, and then... 1624 01:23:06,080 --> 01:23:09,500 This is a cellular modem, okay? So you can, like, hack people from anywhere. 1625 01:23:09,980 --> 01:23:13,180 Not like you can't do it already with wireless, but, you know. 1626 01:23:14,880 --> 01:23:15,280 What? 1627 01:23:17,640 --> 01:23:18,960 This book? Yes. 1628 01:23:19,140 --> 01:23:20,780 If you want to use swag, please come up and get it. 1629 01:23:21,580 --> 01:23:25,700 If we didn't offer you swag and you can beat them up here, come and get it. 1630 01:23:27,880 --> 01:23:28,540 Oh, man. 1631 01:23:28,720 --> 01:23:29,280 Sorry, guys. 1632 01:23:29,320 --> 01:23:32,360 Sorry, guys. 1633 01:23:48,820 --> 01:23:50,640 Well, use strong authentication. 1634 01:23:51,060 --> 01:23:58,960 Strong means PKI. Keep your known host file, well, current, and never, never, never just click yes. 1635 01:24:02,140 --> 01:24:03,920 Strong authentication, it can be done right. 1636 01:24:04,000 --> 01:24:06,800 You have a whole can of worms, though, because I'm on your physical network. 1637 01:24:07,060 --> 01:24:10,580 If I can't get in through your SSH, I now have physical access to your machine, 1638 01:24:10,660 --> 01:24:13,380 and I can just try and hack you dead on and then steal your SSH key. 1639 01:24:15,500 --> 01:24:17,460 Do we have time anymore? Do you want to wrap it up? 1640 01:24:18,480 --> 01:24:19,900 Or did you get your thing going for the... 1641 01:24:19,900 --> 01:24:20,940 Yeah, why don't we just wrap it up? 1642 01:24:21,060 --> 01:24:23,140 Does he have time for his demo, for anybody who wants to stick around? 1643 01:24:23,280 --> 01:24:25,180 I think Anton wants to stick around. 1644 01:24:25,220 --> 01:24:27,460 If anybody wants to stick around, he's going to, he's got to go on to demo it. 1645 01:24:27,820 --> 01:24:29,220 And then, yeah. 1646 01:24:29,840 --> 01:24:31,100 Abaddon, thank you very much. 1647 01:24:33,840 --> 01:24:34,480 All right. 1648 01:24:37,600 --> 01:24:39,700 We know everybody wants to go out and get blitzed. 1649 01:24:39,920 --> 01:24:42,060 The show doesn't start until 11 o'clock tomorrow, 1650 01:24:42,280 --> 01:24:46,520 but Anton's going to spend some time doing his demonstration for Web Wedgie, 1651 01:24:46,620 --> 01:24:50,920 and then we'll take some more questions until we need to go drinking, 1652 01:24:51,060 --> 01:24:54,500 so if you want to stick around for questions after the demo, 1653 01:24:55,300 --> 01:24:58,300 if you want to stick around for questions after the demo, please do, 1654 01:24:58,440 --> 01:25:01,360 but don't feel bad about leaving to go get hammered. 1655 01:25:01,840 --> 01:25:02,520 Thank you. 1656 01:25:04,200 --> 01:25:05,080 Thank you.