1 00:00:28,440 --> 00:00:29,980 Please consider subscribing, and press the bell icon for notifications. 2 00:00:58,560 --> 00:00:59,960 We'll see you next time. 3 00:00:59,980 --> 00:01:00,960 See you next time. 4 00:01:43,420 --> 00:01:46,220 See you next time. 5 00:02:12,340 --> 00:02:27,800 See you next time. 6 00:02:29,980 --> 00:02:32,380 So, first we're going to talk about the point of this whole idea. 7 00:02:32,520 --> 00:02:34,500 Why test systems in the first place? 8 00:02:35,780 --> 00:02:39,920 We're going to talk about when you're an organization looking to implement a VPN, 9 00:02:40,300 --> 00:02:41,180 what are you facing? 10 00:02:41,220 --> 00:02:42,080 What do you got to think about? 11 00:02:42,220 --> 00:02:43,120 What do you have to worry about? 12 00:02:43,980 --> 00:02:46,320 We're going to talk about when you're writing a VPN, 13 00:02:46,540 --> 00:02:48,380 if you want to architect one of these things, 14 00:02:48,780 --> 00:02:50,240 what do you have to keep in mind? 15 00:02:50,340 --> 00:02:54,540 What are the minimum things that a VPN must do in order to actually be functional as one? 16 00:02:55,140 --> 00:02:58,220 And finally, we're going to look at the theoretical VPN, 17 00:02:58,800 --> 00:02:59,520 which is... 18 00:03:00,400 --> 00:03:01,640 in rough shape. 19 00:03:03,380 --> 00:03:03,860 Okay. 20 00:03:05,680 --> 00:03:07,400 Why go after VPNs? 21 00:03:07,420 --> 00:03:08,540 I mean, you know, 22 00:03:09,780 --> 00:03:13,640 why not hack something else, you know? 23 00:03:14,020 --> 00:03:16,680 I'm just going to pretend that we're all good guys here for a minute 24 00:03:16,680 --> 00:03:19,900 and just tell you, straightforward, 25 00:03:20,140 --> 00:03:21,820 what it is that I see happening 26 00:03:22,360 --> 00:03:24,380 as kind of a historical perspective 27 00:03:24,380 --> 00:03:25,700 and what's happening right now. 28 00:03:28,320 --> 00:03:29,540 Once upon a time, 29 00:03:29,980 --> 00:03:31,320 you know, firewalls were new. 30 00:03:31,720 --> 00:03:35,260 And they were the thing that businesses would do to secure themselves. 31 00:03:35,880 --> 00:03:37,040 You know, you'd hear it. 32 00:03:37,100 --> 00:03:38,820 And it's like, oh, we've got a firewall. 33 00:03:39,000 --> 00:03:39,420 We're fine. 34 00:03:39,540 --> 00:03:40,460 We don't have to worry about anything. 35 00:03:40,760 --> 00:03:41,800 You know, we're safe now. 36 00:03:42,360 --> 00:03:45,440 And it didn't, you know, it's not like we've got this kind of firewall. 37 00:03:45,880 --> 00:03:48,120 You know, and like nowadays, you'll hear people say, 38 00:03:48,200 --> 00:03:50,120 oh, yeah, we're running checkpoint 4.1. 39 00:03:50,260 --> 00:03:51,500 We're current on the patches. 40 00:03:51,840 --> 00:03:53,660 We've got a Nokia 650. 41 00:03:54,500 --> 00:03:57,480 We've got, we're using VRRP to balance them. 42 00:03:57,520 --> 00:03:58,200 We've got failover. 43 00:03:58,340 --> 00:03:59,700 You know, they're detailed about it. 44 00:03:59,720 --> 00:03:59,960 And the reason... 45 00:03:59,960 --> 00:04:01,200 And the reason why is because now they know 46 00:04:01,200 --> 00:04:03,260 that there's a difference between one firewall and another. 47 00:04:03,700 --> 00:04:04,960 It used to be it wasn't that way. 48 00:04:05,040 --> 00:04:05,800 It was like, we've got a firewall. 49 00:04:06,080 --> 00:04:06,740 That's fine. 50 00:04:06,820 --> 00:04:07,940 Because they didn't know the difference. 51 00:04:08,320 --> 00:04:09,760 They didn't know the difference, that is, 52 00:04:09,800 --> 00:04:11,820 until people started taking firewalls 53 00:04:11,820 --> 00:04:12,940 and poking around them 54 00:04:12,940 --> 00:04:14,660 and trying to find ways to break them, 55 00:04:14,860 --> 00:04:16,240 find ways to get around them, 56 00:04:16,360 --> 00:04:17,560 ways to make them fail, 57 00:04:17,700 --> 00:04:18,700 find what's wrong with them. 58 00:04:19,240 --> 00:04:21,460 Once they did, they told the public. 59 00:04:21,700 --> 00:04:22,980 Once they told the public, 60 00:04:23,180 --> 00:04:24,200 the public knew. 61 00:04:24,340 --> 00:04:26,340 And at one point, everything changed 62 00:04:26,340 --> 00:04:27,660 and people started paying attention 63 00:04:27,660 --> 00:04:28,840 when they bought firewalls. 64 00:04:31,480 --> 00:04:34,500 Well, now, it seems to be that way with VPNs for the most part. 65 00:04:35,040 --> 00:04:36,060 People look at the box, 66 00:04:36,220 --> 00:04:37,320 they listen to the sales pitch, 67 00:04:37,520 --> 00:04:38,460 they hear a tripled S. 68 00:04:38,720 --> 00:04:39,760 Okay, it's fine. 69 00:04:40,200 --> 00:04:40,780 It's not. 70 00:04:41,880 --> 00:04:42,720 VPNs can be good. 71 00:04:42,980 --> 00:04:43,800 VPNs can be bad. 72 00:04:43,980 --> 00:04:45,780 People don't know how to tell the difference yet. 73 00:04:45,960 --> 00:04:47,720 And so it's like the emperor's new tailor. 74 00:04:48,440 --> 00:04:50,120 You know, okay, maybe it's a good VPN. 75 00:04:50,440 --> 00:04:51,080 Maybe it's... 76 00:04:51,080 --> 00:04:51,720 Oh, sorry. 77 00:04:52,140 --> 00:04:52,640 Thank you. 78 00:04:53,980 --> 00:04:55,520 I'm running off my notes here on paper. 79 00:04:56,740 --> 00:04:58,120 And I've got this up here. 80 00:05:00,420 --> 00:05:02,840 VPNs are the new emperor's haberdasher, so to speak. 81 00:05:03,440 --> 00:05:06,180 You know, maybe the emperor really is nicely clothed. 82 00:05:06,260 --> 00:05:06,820 He's all set. 83 00:05:07,200 --> 00:05:07,940 He's covered. 84 00:05:08,880 --> 00:05:09,560 Everything's beautiful. 85 00:05:09,700 --> 00:05:10,180 He's styling. 86 00:05:10,540 --> 00:05:12,620 Then again, maybe he's just butt-ass naked 87 00:05:12,620 --> 00:05:13,720 and nobody knows yet. 88 00:05:15,560 --> 00:05:17,680 Somebody needs to go down to the parade 89 00:05:17,680 --> 00:05:19,340 and see if they can get a look at his crown jewels. 90 00:05:21,120 --> 00:05:22,940 You know, and that's somebody. 91 00:05:22,980 --> 00:05:23,920 That's somebody is us. 92 00:05:26,160 --> 00:05:27,360 Who else is going to do it? 93 00:05:27,840 --> 00:05:28,500 I mean, 94 00:05:28,500 --> 00:05:30,080 the people who make the VPN, 95 00:05:30,900 --> 00:05:32,340 there's no motive to do that. 96 00:05:32,560 --> 00:05:33,980 And this is a well-known... 97 00:05:34,840 --> 00:05:37,260 The capitalist system, I've heard, 98 00:05:37,400 --> 00:05:39,100 is the worst one in the world 99 00:05:39,100 --> 00:05:40,580 except for all the other ones. 100 00:05:41,780 --> 00:05:42,560 And it's true. 101 00:05:42,680 --> 00:05:43,900 There's drawbacks. We know that. 102 00:05:44,000 --> 00:05:45,640 And one of those drawbacks is that businesses 103 00:05:45,640 --> 00:05:47,160 tend not to police themselves. 104 00:05:47,740 --> 00:05:49,960 There are good ones. They do the right thing. 105 00:05:49,960 --> 00:05:50,640 They're altruistic. 106 00:05:50,920 --> 00:05:53,600 But for the most part, we know. We're not stupid. 107 00:05:54,100 --> 00:05:56,080 Don't count on industries to police themselves. 108 00:05:56,480 --> 00:05:57,600 You don't have to have somebody 109 00:05:57,600 --> 00:05:58,720 looking over their shoulder 110 00:05:58,720 --> 00:06:00,620 making sure they're doing the right thing. 111 00:06:00,760 --> 00:06:02,020 That's why we have some degree of regulation. 112 00:06:02,440 --> 00:06:03,960 That's why we have watchdog groups. 113 00:06:04,160 --> 00:06:05,380 That's why we have DEF CON. 114 00:06:08,400 --> 00:06:08,960 Thank you. 115 00:06:12,020 --> 00:06:13,960 You know, the client, typically, 116 00:06:14,200 --> 00:06:16,320 you know, all the clients out there, 117 00:06:16,380 --> 00:06:17,960 you can't expect all of them to know 118 00:06:18,320 --> 00:06:21,060 how to assess a VPN in a really deep way. 119 00:06:21,240 --> 00:06:23,100 You know, they just don't have that expertise. 120 00:06:23,320 --> 00:06:25,000 That's why security consultants are still 121 00:06:25,000 --> 00:06:27,520 doing pretty well, even with the tech slowdown. 122 00:06:27,600 --> 00:06:29,700 You know, there's demand out there for the expertise. 123 00:06:29,720 --> 00:06:30,500 It's kind of scarce. 124 00:06:30,820 --> 00:06:32,680 So definitely the clients don't have it. 125 00:06:33,540 --> 00:06:35,580 So the best bet is somebody who doesn't have 126 00:06:35,580 --> 00:06:36,900 any kind of a vested interest. 127 00:06:37,140 --> 00:06:38,720 And again, that's us. 128 00:06:39,020 --> 00:06:40,580 We're not getting paid by one. 129 00:06:40,920 --> 00:06:42,640 We're not getting employed by the other. 130 00:06:43,220 --> 00:06:45,460 You know, we take a VPN. 131 00:06:45,860 --> 00:06:46,940 We look at it. 132 00:06:47,240 --> 00:06:49,340 If we find a hole, we get bragging rights. 133 00:06:49,540 --> 00:06:51,740 But we can't make it look like there's a hole 134 00:06:51,740 --> 00:06:52,460 if there isn't. 135 00:06:52,840 --> 00:06:54,100 And it's as simple as that. 136 00:06:59,080 --> 00:06:59,560 Okay. 137 00:06:59,780 --> 00:07:00,960 Basics of VPNs. 138 00:07:02,000 --> 00:07:03,740 They can encrypt all traffic 139 00:07:03,740 --> 00:07:05,600 or just specific kinds of traffic. 140 00:07:05,920 --> 00:07:07,260 That has to do with the rule base. 141 00:07:07,420 --> 00:07:08,080 We'll go into that later. 142 00:07:08,860 --> 00:07:11,600 They can encrypt between two computers, two points, 143 00:07:11,740 --> 00:07:13,160 or between entire networks, 144 00:07:13,300 --> 00:07:15,720 enabling you to kind of extend your LAN 145 00:07:15,720 --> 00:07:17,460 to a certain degree out to a remote location. 146 00:07:18,140 --> 00:07:19,520 They can be hardware-based, 147 00:07:19,620 --> 00:07:21,860 like the Red Creek products, 148 00:07:22,480 --> 00:07:23,200 or Cisco. 149 00:07:23,820 --> 00:07:25,220 They can be software-based, 150 00:07:25,260 --> 00:07:27,420 like Check Point, or, you know, 151 00:07:27,600 --> 00:07:28,600 any number of other options. 152 00:07:29,340 --> 00:07:31,000 And they'll use various levels 153 00:07:31,000 --> 00:07:31,940 and types of encryption, 154 00:07:32,680 --> 00:07:34,600 based upon whether or not they're intended 155 00:07:34,600 --> 00:07:35,540 to be exportable. 156 00:07:36,420 --> 00:07:38,180 And that's a very critical point 157 00:07:38,180 --> 00:07:39,260 that we'll stumble upon later. 158 00:07:41,960 --> 00:07:42,480 Oh. 159 00:07:43,180 --> 00:07:43,980 One thing. 160 00:07:44,240 --> 00:07:45,540 I just want to throw this out there. 161 00:07:46,640 --> 00:07:48,360 I'm really disappointed that XOR 162 00:07:48,360 --> 00:07:50,060 didn't get chosen for the new AES standard. 163 00:07:51,620 --> 00:07:52,280 You know. 164 00:07:53,140 --> 00:07:54,180 Double XOR. 165 00:07:54,420 --> 00:07:56,480 Hey, triple XOR. 166 00:07:58,800 --> 00:07:59,680 What do you think? 167 00:08:00,380 --> 00:08:01,440 XOR's mad fast. 168 00:08:01,880 --> 00:08:03,440 Yeah, XOR is mad fast. 169 00:08:04,100 --> 00:08:04,940 Mad fast. 170 00:08:08,020 --> 00:08:08,580 Okay. 171 00:08:10,060 --> 00:08:11,100 As you all know, 172 00:08:11,280 --> 00:08:13,780 export restrictions are based upon key size. 173 00:08:14,180 --> 00:08:15,920 One thing a lot of you don't know 174 00:08:15,920 --> 00:08:17,920 is although the restrictions have been lightened up, 175 00:08:18,040 --> 00:08:19,460 they haven't been lightened 176 00:08:19,460 --> 00:08:21,140 in exactly the right way. 177 00:08:21,620 --> 00:08:23,880 You can export tripled S, 178 00:08:24,080 --> 00:08:24,780 provided 179 00:08:25,600 --> 00:08:27,000 you do key escrow. 180 00:08:29,700 --> 00:08:31,200 That's a little bit of a problem. 181 00:08:31,460 --> 00:08:33,200 Key escrow is a slight nightmare. 182 00:08:33,420 --> 00:08:34,600 And we'll talk about that why. 183 00:08:39,340 --> 00:08:39,820 Okay. 184 00:08:40,360 --> 00:08:42,020 So you are a company. Why? 185 00:08:42,340 --> 00:08:44,700 What do you get from using a VPN? 186 00:08:46,000 --> 00:08:47,700 One, if you've got multiple offices, 187 00:08:47,860 --> 00:08:49,040 you can share 188 00:08:49,600 --> 00:08:51,520 network level resources securely 189 00:08:51,520 --> 00:08:53,440 between them without a lot of trouble. 190 00:08:53,620 --> 00:08:55,500 You don't have to have dedicated lines. 191 00:08:56,420 --> 00:08:56,900 Oh. 192 00:08:57,600 --> 00:08:58,400 You don't have to have 193 00:08:59,620 --> 00:09:01,260 really expensive dedicated lines. 194 00:09:01,480 --> 00:09:03,000 You don't have to mess around with it. 195 00:09:03,060 --> 00:09:04,020 You don't have to worry about security. 196 00:09:04,620 --> 00:09:06,660 You can have your exchange server back at the home office. 197 00:09:06,920 --> 00:09:09,840 Have your desktop user in another state. 198 00:09:10,100 --> 00:09:11,100 Pull up Outlook. 199 00:09:11,720 --> 00:09:13,000 Authenticate to the exchange server. 200 00:09:13,300 --> 00:09:14,240 Pull up their mail. 201 00:09:14,400 --> 00:09:16,340 It's all transparent. They don't have to bother. 202 00:09:16,740 --> 00:09:18,680 It's easy. It's simple. It's cool. 203 00:09:19,400 --> 00:09:20,500 If you've got remote users, 204 00:09:20,660 --> 00:09:21,860 big sales force in the field. 205 00:09:22,000 --> 00:09:24,240 Used to be you had dial up through 800 numbers. 206 00:09:24,860 --> 00:09:25,640 Incredibly expensive. 207 00:09:26,380 --> 00:09:27,780 And not exactly secure. 208 00:09:28,080 --> 00:09:28,960 I'm sure... 209 00:09:29,740 --> 00:09:31,460 Does anyone here have a word out? 210 00:09:31,740 --> 00:09:32,140 No? 211 00:09:35,840 --> 00:09:37,240 Then this is all wrong. 212 00:09:37,360 --> 00:09:38,560 We should go back to dial up. 213 00:09:39,760 --> 00:09:40,240 Okay. 214 00:09:42,280 --> 00:09:44,280 But yeah, instead they can just dial up locally 215 00:09:44,280 --> 00:09:45,100 into an ISP. 216 00:09:45,240 --> 00:09:48,060 The ISP takes care of the headaches of rebooting the modems 217 00:09:48,060 --> 00:09:49,800 when they lock up, doing all that stuff. 218 00:09:50,120 --> 00:09:52,060 They'll use a VPN client like Secure Remote. 219 00:09:52,640 --> 00:09:53,600 They'll tunnel through. 220 00:09:54,240 --> 00:09:55,320 They'll have access to the network resources. 221 00:09:55,840 --> 00:09:57,220 And they're good. And it's cheap. 222 00:09:59,560 --> 00:09:59,960 Also, 223 00:10:00,080 --> 00:10:01,240 take that one step farther, 224 00:10:01,700 --> 00:10:02,620 telecommuters with broadband. 225 00:10:03,180 --> 00:10:05,620 They can make almost as much use 226 00:10:05,620 --> 00:10:08,020 of the network resources as the remote office. 227 00:10:08,220 --> 00:10:10,440 Again, you're going to use some kind of a client. 228 00:10:10,620 --> 00:10:12,200 Like Secure Remote, Secure Client. 229 00:10:13,760 --> 00:10:14,640 There's a bunch of them. 230 00:10:14,700 --> 00:10:16,360 I've been doing a lot of Checkpoint lately, 231 00:10:16,500 --> 00:10:18,040 so forgive me if I just lean hard 232 00:10:18,040 --> 00:10:18,960 on the Checkpoint stuff. 233 00:10:19,120 --> 00:10:20,620 It's just what pops to my mind at the moment. 234 00:10:21,420 --> 00:10:21,820 ... 235 00:10:24,240 --> 00:10:24,500 Okay. 236 00:10:25,800 --> 00:10:26,880 Challenges for a VPN. 237 00:10:27,300 --> 00:10:27,860 Speed. 238 00:10:28,420 --> 00:10:29,640 It's a network device. 239 00:10:30,180 --> 00:10:31,180 It's transparent. 240 00:10:31,720 --> 00:10:34,800 So it's got to be as fast as possible. 241 00:10:35,160 --> 00:10:37,120 But that's hard to do 242 00:10:37,120 --> 00:10:39,040 because it's got this overhead to crypt everything. 243 00:10:41,660 --> 00:10:43,620 It's hard enough to keep your uptime going 244 00:10:44,080 --> 00:10:46,280 with all the hops 245 00:10:46,280 --> 00:10:48,180 and the internet's 246 00:10:48,180 --> 00:10:49,200 getting a little crazy lately. 247 00:10:49,600 --> 00:10:51,460 So speed's hard enough 248 00:10:51,460 --> 00:10:53,620 without having to process all the packets 249 00:10:54,240 --> 00:10:54,440 and change them. 250 00:10:55,120 --> 00:10:56,440 And then unchange them again 251 00:10:56,440 --> 00:10:57,180 at the other end. 252 00:10:58,960 --> 00:11:00,220 You've got to worry about uptime. 253 00:11:00,520 --> 00:11:02,220 Your connection has to stay up. 254 00:11:03,620 --> 00:11:05,300 If a normal network connection breaks 255 00:11:05,300 --> 00:11:06,200 for just a few seconds, 256 00:11:07,800 --> 00:11:09,300 it comes back up 257 00:11:09,300 --> 00:11:11,080 when it comes back up. 258 00:11:11,260 --> 00:11:12,700 The router reboots, 259 00:11:12,760 --> 00:11:15,720 or whatever 260 00:11:16,900 --> 00:11:18,240 failover system picks up. 261 00:11:19,140 --> 00:11:20,520 Everything goes back to normal 262 00:11:20,520 --> 00:11:21,440 just like that. 263 00:11:21,440 --> 00:11:22,020 No big deal. 264 00:11:22,560 --> 00:11:23,500 With a VPN, 265 00:11:24,460 --> 00:11:26,040 well, the connection goes down, 266 00:11:26,200 --> 00:11:27,660 your VPN goes down, 267 00:11:28,180 --> 00:11:30,340 your VPN might not come back up. 268 00:11:30,580 --> 00:11:31,620 Or for that matter, 269 00:11:31,720 --> 00:11:33,080 stuff that won't put a router down 270 00:11:33,080 --> 00:11:36,100 like some straightforward little glitch in software, 271 00:11:37,760 --> 00:11:39,480 that'll put a VPN connection down. 272 00:11:39,700 --> 00:11:41,220 Some VPNs are very flaky. 273 00:11:41,280 --> 00:11:42,520 They tend to go down all the time 274 00:11:42,520 --> 00:11:43,840 and that's a major problem. 275 00:11:45,660 --> 00:11:47,160 Sometimes you have to worry about 276 00:11:47,160 --> 00:11:48,100 the reestablishment. 277 00:11:48,280 --> 00:11:49,700 Session key is all over again. 278 00:11:51,440 --> 00:11:52,500 These connections pile up, 279 00:11:52,520 --> 00:11:54,580 they're pending, they're trying to recover, 280 00:11:54,840 --> 00:11:55,920 they're trying to reestablish, 281 00:11:56,180 --> 00:11:57,540 and things get a little messy. 282 00:11:59,800 --> 00:12:00,280 Scalability. 283 00:12:00,820 --> 00:12:01,960 That's a big thing. 284 00:12:02,920 --> 00:12:04,120 It's hard to guess 285 00:12:04,120 --> 00:12:06,200 what your traffic's going to look like 286 00:12:06,200 --> 00:12:08,240 using a VPN if you've never used one before. 287 00:12:08,680 --> 00:12:09,500 It could be you think, 288 00:12:09,640 --> 00:12:10,700 it's going to be really simple. 289 00:12:10,940 --> 00:12:12,440 They're just going to check mail. 290 00:12:13,120 --> 00:12:14,540 You've never done this before. 291 00:12:14,700 --> 00:12:17,440 You've never put Microsoft Exchange over a VPN. 292 00:12:18,240 --> 00:12:19,940 You don't know what kind of traffic 293 00:12:21,440 --> 00:12:21,800 they're going to get. 294 00:12:21,800 --> 00:12:22,600 You don't know exactly whether 295 00:12:22,600 --> 00:12:23,920 they're going to be checking their schedule. 296 00:12:24,160 --> 00:12:25,680 You don't know what it's going to be like 297 00:12:25,680 --> 00:12:29,480 when they download that 2 meg file across a VPN. 298 00:12:30,860 --> 00:12:33,420 You don't know whether this user over there 299 00:12:33,420 --> 00:12:34,780 is using local folders 300 00:12:34,780 --> 00:12:36,540 and so as soon as he plugs in, 301 00:12:36,680 --> 00:12:38,620 it belches all the email to his laptop. 302 00:12:40,240 --> 00:12:41,280 It's a tough call. 303 00:12:41,720 --> 00:12:43,260 It's hard to predict how big 304 00:12:43,260 --> 00:12:44,080 you're going to get 305 00:12:44,080 --> 00:12:46,160 and what traffic you're going to get. 306 00:12:49,580 --> 00:12:50,980 It's always the case that 307 00:12:51,440 --> 00:12:52,580 people always plan for less users 308 00:12:52,580 --> 00:12:53,960 than they actually end up having 309 00:12:53,960 --> 00:12:55,280 and that's another issue too. 310 00:12:57,840 --> 00:12:59,080 Interoperability can be a problem. 311 00:12:59,660 --> 00:13:02,240 I think people have pretty much given up 312 00:13:02,240 --> 00:13:03,740 expecting that this VPN 313 00:13:03,740 --> 00:13:05,020 should be able to talk to that VPN. 314 00:13:05,320 --> 00:13:07,220 It just isn't working out that way. 315 00:13:07,420 --> 00:13:08,000 Down the road, 316 00:13:08,060 --> 00:13:09,700 IPsec will probably take care of that 317 00:13:09,700 --> 00:13:11,640 but everyone's just content to wait 318 00:13:11,640 --> 00:13:12,480 until that day comes. 319 00:13:13,200 --> 00:13:15,020 But you have interoperability problems 320 00:13:15,020 --> 00:13:16,340 within a single VPN system 321 00:13:16,340 --> 00:13:18,840 if you have to have mixed levels of crypto. 322 00:13:21,440 --> 00:13:23,380 And you're not a financial services company, 323 00:13:23,640 --> 00:13:25,840 you might not be able to export 324 00:13:25,840 --> 00:13:27,460 strong cryptography 325 00:13:27,460 --> 00:13:29,720 without using Kiesco 326 00:13:29,720 --> 00:13:31,400 which means that your field office in France 327 00:13:31,400 --> 00:13:32,540 is running 40-bit. 328 00:13:33,060 --> 00:13:34,600 Your field office in San Francisco 329 00:13:34,600 --> 00:13:38,220 is running triple-desk 156. 330 00:13:44,520 --> 00:13:46,480 Your VPN's got to be able to talk to both of them. 331 00:13:46,560 --> 00:13:47,120 It's got to be flexible. 332 00:13:53,980 --> 00:13:54,460 Okay. 333 00:13:55,420 --> 00:13:57,160 Risks involved in VPNs. 334 00:13:57,440 --> 00:13:58,860 You know, nothing's perfect. 335 00:13:59,160 --> 00:14:00,800 You always have some kind of a trade-off. 336 00:14:00,820 --> 00:14:02,200 There's always some thorn on the rose. 337 00:14:03,240 --> 00:14:05,240 First of all, since VPNs work across 338 00:14:05,240 --> 00:14:06,860 public networks and they're supposed to, 339 00:14:06,960 --> 00:14:09,020 they must be publicly addressable. 340 00:14:11,080 --> 00:14:13,400 If you've got a gateway that's only supposed to 341 00:14:13,400 --> 00:14:14,560 talk to another gateway 342 00:14:15,120 --> 00:14:17,000 and you know that this IP 343 00:14:17,000 --> 00:14:18,300 will always talk to that IP 344 00:14:18,920 --> 00:14:21,260 and vice versa, and never any other one, 345 00:14:21,440 --> 00:14:23,320 okay, you can hide them in the firewall rules. 346 00:14:23,380 --> 00:14:23,960 That's no problem. 347 00:14:24,200 --> 00:14:25,900 But that's not all that common. 348 00:14:27,000 --> 00:14:28,660 Most of the time, what you're going to have 349 00:14:28,660 --> 00:14:31,480 is a VPN that is visible to everybody. 350 00:14:31,820 --> 00:14:33,300 Including whatever script kitty 351 00:14:33,300 --> 00:14:34,480 might be in the third row right now. 352 00:14:38,740 --> 00:14:40,440 Sorry to the third row, I just had to pick a number. 353 00:14:45,080 --> 00:14:47,200 You have to worry about where you put a VPN 354 00:14:47,200 --> 00:14:48,020 on your network. 355 00:14:49,200 --> 00:14:50,080 The trick is, 356 00:14:51,440 --> 00:14:51,820 if you put it on your firewall, 357 00:14:53,180 --> 00:14:54,560 we'll put it on the DMZ 358 00:14:54,560 --> 00:14:56,460 because it accepts connections from the outside world. 359 00:14:59,420 --> 00:15:00,680 Sensitive, unencrypted traffic 360 00:15:00,680 --> 00:15:03,100 goes into the DMZ from your back network, 361 00:15:03,360 --> 00:15:04,580 goes to the VPN, 362 00:15:04,940 --> 00:15:07,040 comes from the VPN, back out, 363 00:15:07,160 --> 00:15:08,220 goes out to the internet. 364 00:15:09,860 --> 00:15:11,580 Encrypted traffic comes in from the internet, 365 00:15:11,840 --> 00:15:13,700 goes to the VPN to the DMZ, 366 00:15:13,840 --> 00:15:14,840 comes out of the VPN, 367 00:15:15,860 --> 00:15:17,600 unencrypted, in the DMZ still, 368 00:15:17,800 --> 00:15:19,220 goes back to your back network. 369 00:15:20,080 --> 00:15:21,180 And then somebody 370 00:15:21,440 --> 00:15:22,180 hacks your web server 371 00:15:22,180 --> 00:15:23,540 and puts a sniffer on it. 372 00:15:24,940 --> 00:15:25,780 This is bad. 373 00:15:27,780 --> 00:15:28,980 Put it in front of the firewall. 374 00:15:29,260 --> 00:15:30,820 Oh, that's good. 375 00:15:32,120 --> 00:15:33,420 Hey, let's install it 376 00:15:33,420 --> 00:15:34,140 on NT, too. 377 00:15:38,820 --> 00:15:39,680 Service pack 3? 378 00:15:39,800 --> 00:15:40,860 That's a lot of trouble, man. 379 00:15:43,420 --> 00:15:44,880 I never bothered with service packs. 380 00:15:49,660 --> 00:15:50,620 There you go. 381 00:15:52,300 --> 00:15:53,500 Okay, so you can't put it 382 00:15:53,500 --> 00:15:54,560 in front of your firewall 383 00:15:54,560 --> 00:15:56,700 and you got some trouble if you put it in your DMZ. 384 00:15:57,300 --> 00:15:58,980 Definitely do not want to put it 385 00:15:58,980 --> 00:16:00,740 on your back network because that's just like 386 00:16:00,740 --> 00:16:01,660 a rule of thumb. 387 00:16:02,020 --> 00:16:03,960 Don't accept connections from the outside, 388 00:16:04,100 --> 00:16:05,920 untrusted world into your back network. 389 00:16:06,560 --> 00:16:07,960 That's very, very risky. 390 00:16:08,200 --> 00:16:09,860 And the reason why is because you don't know 391 00:16:09,860 --> 00:16:11,360 what vulnerabilities might come up later. 392 00:16:11,800 --> 00:16:14,040 If the public cannot directly address a box, 393 00:16:14,880 --> 00:16:16,260 the public cannot directly attack it. 394 00:16:16,340 --> 00:16:17,960 They'll have to hopscotch through another point. 395 00:16:18,320 --> 00:16:20,280 And that buys you enough time that you might 396 00:16:20,280 --> 00:16:21,280 just notice them coming. 397 00:16:22,460 --> 00:16:23,020 Or not. 398 00:16:25,260 --> 00:16:26,700 You can put it on the firewall. 399 00:16:27,280 --> 00:16:28,700 You know, going back to Check Point, 400 00:16:28,900 --> 00:16:29,880 that's an option. 401 00:16:30,480 --> 00:16:32,720 Thing is, though, the firewall's already pretty busy. 402 00:16:32,860 --> 00:16:34,640 And you put encryption on it, 403 00:16:34,720 --> 00:16:36,960 man, that's a lot of memory, 404 00:16:37,140 --> 00:16:38,540 that's a lot of processor overhead, 405 00:16:38,880 --> 00:16:41,020 and it goes back to what I was talking about 406 00:16:41,020 --> 00:16:42,580 before about you just don't know 407 00:16:42,580 --> 00:16:44,480 exactly how heavily hit this thing's gonna be 408 00:16:44,880 --> 00:16:45,440 once you start using it. 409 00:16:46,220 --> 00:16:48,620 So you might end up taking your network connection down 410 00:16:48,620 --> 00:16:50,580 or really, really, really downgrading 411 00:16:50,580 --> 00:16:51,820 your performance across the board 412 00:16:51,820 --> 00:16:55,140 for both VPN traffic 413 00:16:55,140 --> 00:16:56,100 and regular traffic. 414 00:16:56,240 --> 00:16:57,540 And that's a problem. 415 00:16:57,660 --> 00:16:58,520 That's gonna get you fired. 416 00:17:02,100 --> 00:17:03,940 Okay, how to bake a VPN. 417 00:17:04,640 --> 00:17:05,780 Thinking about this, 418 00:17:05,960 --> 00:17:07,620 I was thinking more in kind of a 419 00:17:11,120 --> 00:17:12,900 Betty Crocker concept, 420 00:17:13,000 --> 00:17:14,560 but I see it up there 421 00:17:14,880 --> 00:17:15,820 and I was thinking, well, no, 422 00:17:15,900 --> 00:17:16,880 I'm not at the part where you learn 423 00:17:16,880 --> 00:17:17,880 how to attack one yet. 424 00:17:19,120 --> 00:17:21,420 You got three things that a VPN must have. 425 00:17:22,140 --> 00:17:23,320 One of them is crypto. 426 00:17:23,720 --> 00:17:24,160 Duh. 427 00:17:25,380 --> 00:17:27,080 One of them is authentication controls. 428 00:17:27,760 --> 00:17:30,020 The other one are rules defining what will 429 00:17:30,020 --> 00:17:31,700 and won't be sent over the connection, 430 00:17:32,420 --> 00:17:33,680 the encrypted connection, 431 00:17:34,000 --> 00:17:34,920 and in what way. 432 00:17:40,640 --> 00:17:41,900 Ingredient one, the crypto. 433 00:17:42,900 --> 00:17:43,340 Okay. 434 00:17:44,880 --> 00:17:44,920 Here's the challenge. 435 00:17:45,600 --> 00:17:46,960 You've gotta encrypt communications 436 00:17:46,960 --> 00:17:49,320 and everything else in the VPN 437 00:17:49,320 --> 00:17:50,360 revolves around this function. 438 00:17:50,560 --> 00:17:52,240 This is the core, this is the reason for being. 439 00:17:53,660 --> 00:17:54,840 What do you use for crypto? 440 00:17:55,940 --> 00:17:57,180 You got two categories, 441 00:17:57,280 --> 00:17:58,460 two general categories of crypto. 442 00:17:59,020 --> 00:18:01,000 You have public key and you got symmetric. 443 00:18:01,740 --> 00:18:03,200 Well, you can't use public key 444 00:18:03,200 --> 00:18:04,100 for all your traffic 445 00:18:04,100 --> 00:18:06,540 because it just takes forever. 446 00:18:06,740 --> 00:18:07,960 That goes back to the speed issue. 447 00:18:08,940 --> 00:18:10,140 Very processor intensive. 448 00:18:10,880 --> 00:18:12,960 And if I remember correctly, some of them actually 449 00:18:15,140 --> 00:18:16,180 take forever. 450 00:18:17,500 --> 00:18:18,020 Yeah. 451 00:18:18,520 --> 00:18:19,520 By a lot. 452 00:18:20,040 --> 00:18:22,080 Which is, you know, not what you want 453 00:18:22,080 --> 00:18:23,220 over your internet link. 454 00:18:24,280 --> 00:18:25,540 Okay, so you gotta use symmetric. 455 00:18:25,940 --> 00:18:26,520 Well, okay. 456 00:18:26,780 --> 00:18:27,560 Shared secret. 457 00:18:28,100 --> 00:18:29,900 How do you share the secret 458 00:18:29,900 --> 00:18:32,140 so that you can establish trusted communications? 459 00:18:32,420 --> 00:18:33,480 It's a catch 22. 460 00:18:33,800 --> 00:18:35,960 You can't trust your communications channels 461 00:18:37,100 --> 00:18:38,720 so you set up a VPN 462 00:18:38,720 --> 00:18:41,520 but you can't set up the VPN 463 00:18:41,520 --> 00:18:43,380 because you can't trust your communications channels. 464 00:18:44,880 --> 00:18:46,520 Well, Diffie-Hellman is what gets us there. 465 00:18:49,920 --> 00:18:50,600 I'm just gonna 466 00:18:50,600 --> 00:18:52,880 blow through Diffie-Hellman real quick, just in case, 467 00:18:52,940 --> 00:18:53,560 just to cover it. 468 00:18:53,800 --> 00:18:54,980 Diffie-Hellman in a nutshell. 469 00:18:55,220 --> 00:18:56,520 It's RFC 2631. 470 00:18:57,320 --> 00:19:00,260 We're gonna talk about it in a kind of Dick and Jane 471 00:19:00,900 --> 00:19:02,820 concept that'll follow through 472 00:19:02,820 --> 00:19:03,780 for the rest of the presentation. 473 00:19:04,280 --> 00:19:06,480 You got Dick and Jane, they need to derive a shared secret. 474 00:19:06,680 --> 00:19:08,600 They don't want to pass anything across the network 475 00:19:08,600 --> 00:19:10,000 that a bad guy could see 476 00:19:10,000 --> 00:19:11,220 and use against them. 477 00:19:11,980 --> 00:19:14,220 So, Dick and Jane create a key pair. 478 00:19:14,880 --> 00:19:15,920 A public and a private key each. 479 00:19:17,400 --> 00:19:19,100 Dick sends his public key to Jane. 480 00:19:19,300 --> 00:19:20,860 Jane sends her a public key to Dick. 481 00:19:22,560 --> 00:19:24,980 Dick encrypts Jane's public key with his private key 482 00:19:24,980 --> 00:19:26,540 and vice versa for Jane. 483 00:19:27,540 --> 00:19:28,700 Both encryption actions 484 00:19:28,700 --> 00:19:30,160 result in the same thing. 485 00:19:30,400 --> 00:19:31,660 They now have a shared secret. 486 00:19:32,120 --> 00:19:35,160 But the nice thing is they've never had to send their private key 487 00:19:35,160 --> 00:19:37,280 which is the thing that they have to protect 488 00:19:37,280 --> 00:19:38,160 over the wire. 489 00:19:38,620 --> 00:19:41,080 So therefore, nobody knows what the private key is 490 00:19:41,080 --> 00:19:42,480 for either party 491 00:19:42,480 --> 00:19:44,360 and nobody can derive the shared secret 492 00:19:44,880 --> 00:19:45,680 except Dick and Jane. 493 00:19:49,220 --> 00:19:50,860 Diffie-Hellman requires random 494 00:19:50,860 --> 00:19:52,140 numbers for key pair generation 495 00:19:52,640 --> 00:19:53,860 so that nobody can guess 496 00:19:53,860 --> 00:19:56,840 because there's basically two variables 497 00:19:56,840 --> 00:19:58,020 there's a large prime number 498 00:19:58,020 --> 00:20:00,500 of which there are a finite number 499 00:20:01,240 --> 00:20:02,760 and then you get a random number 500 00:20:02,760 --> 00:20:03,920 and if you know those two 501 00:20:03,920 --> 00:20:06,520 you can recreate the same thing every single time. 502 00:20:06,840 --> 00:20:08,840 That's the potential weakness of a Diffie-Hellman 503 00:20:08,840 --> 00:20:12,160 is if there's bad random seed. 504 00:20:12,920 --> 00:20:14,860 As you'll notice I say, remember this point. 505 00:20:14,880 --> 00:20:15,800 It will come up later. 506 00:20:17,140 --> 00:20:18,840 And if you really want to look at the math 507 00:20:20,080 --> 00:20:20,440 Okay. 508 00:20:21,300 --> 00:20:21,920 There it is. 509 00:20:21,980 --> 00:20:24,380 I kind of edited it slightly to make it a little clearer 510 00:20:27,340 --> 00:20:29,700 and shoehorned it onto this. 511 00:20:30,500 --> 00:20:32,340 I tried to make it as short as possible 512 00:20:32,340 --> 00:20:34,140 this is about as good as I got it 513 00:20:34,140 --> 00:20:35,400 but you can see here you've got 514 00:20:38,080 --> 00:20:39,100 Jane's public key 515 00:20:41,300 --> 00:20:42,360 Dick's private key 516 00:20:42,360 --> 00:20:43,080 mod p 517 00:20:43,080 --> 00:20:44,860 is the same thing as Dick's public key 518 00:20:44,880 --> 00:20:46,900 encrypted with Jane's private key 519 00:20:46,900 --> 00:20:47,460 mod p 520 00:20:48,100 --> 00:20:50,160 and p is a large prime number 521 00:20:50,880 --> 00:20:51,900 the public key 522 00:20:52,460 --> 00:20:52,900 equals 523 00:20:54,960 --> 00:20:55,720 never mind 524 00:20:55,720 --> 00:20:56,680 it's in the RFC 525 00:21:01,200 --> 00:21:02,540 You know in math 526 00:21:02,540 --> 00:21:03,740 I hate math 527 00:21:04,440 --> 00:21:05,780 I think it was with my girlfriend 528 00:21:06,360 --> 00:21:07,680 when they covered that in college 529 00:21:07,680 --> 00:21:09,060 I had to go back and learn it all over again 530 00:21:09,060 --> 00:21:09,440 it was terrible 531 00:21:11,040 --> 00:21:12,820 Okay, so back to the ingredients. 532 00:21:14,880 --> 00:21:16,080 Does your VPN protect Dick? 533 00:21:22,140 --> 00:21:25,120 Okay, so now you've got the ability to do symmetric cryptography 534 00:21:25,120 --> 00:21:26,260 you've got the Diffie-Hellman 535 00:21:26,260 --> 00:21:27,340 it's going cool 536 00:21:27,800 --> 00:21:29,620 What symmetric algorithm do you want to use? 537 00:21:29,880 --> 00:21:31,240 Most people are using triple desk 538 00:21:31,240 --> 00:21:33,520 that's the buzzword that the marketing people are throwing around 539 00:21:33,520 --> 00:21:35,040 that's what everyone wants to buy right now 540 00:21:35,040 --> 00:21:37,040 You've got other stuff like elliptical curve 541 00:21:37,040 --> 00:21:38,800 that seems to be pretty good too 542 00:21:38,800 --> 00:21:41,200 I heard some stuff on Real Secure 543 00:21:41,200 --> 00:21:42,860 I hear it just a little bit before this 544 00:21:44,880 --> 00:21:46,300 That uses elliptical typically 545 00:21:46,300 --> 00:21:48,580 although you can use whatever crypto provider you want 546 00:21:48,580 --> 00:21:49,260 there's a few of them 547 00:21:49,260 --> 00:21:50,440 elliptical is the choice 548 00:21:51,300 --> 00:21:52,500 Like I said before 549 00:21:52,500 --> 00:21:55,120 strong crypto requires key escrow 550 00:21:55,120 --> 00:21:58,220 or else they're not going to let you send it to the other worlds 551 00:21:58,740 --> 00:22:00,640 because God knows what would happen 552 00:22:00,640 --> 00:22:02,740 if Hussein ever got his hands 553 00:22:02,740 --> 00:22:03,660 on a copy 554 00:22:03,660 --> 00:22:06,500 of the 128-bit version 555 00:22:06,500 --> 00:22:08,980 of Internet Explorer 5.5 556 00:22:09,640 --> 00:22:11,060 Oh my God 557 00:22:15,060 --> 00:22:16,860 I stay awake at night thinking about that 558 00:22:18,340 --> 00:22:20,720 We will be assuming that the implementation 559 00:22:20,720 --> 00:22:22,840 we discuss here is using triple desk 560 00:22:22,840 --> 00:22:24,280 because, well, it is 561 00:22:24,920 --> 00:22:26,780 We'll also assume that the triple desk 562 00:22:26,780 --> 00:22:27,700 is properly implemented 563 00:22:27,700 --> 00:22:29,780 because we have not been able to do code review 564 00:22:29,780 --> 00:22:30,740 to ensure that it is 565 00:22:30,740 --> 00:22:33,720 but all indications are that it's pretty good 566 00:22:36,600 --> 00:22:38,360 I should note here, however, that 567 00:22:40,140 --> 00:22:41,920 triple desk, like any other algorithm 568 00:22:41,920 --> 00:22:43,800 is dependent upon certain variables