1 00:00:00,000 --> 00:00:05,600 Hi. I'm Phil Zimmerman, and I just wanted to show you what I've been doing lately. 2 00:00:05,780 --> 00:00:12,200 I spoke here last year about my new project, ZPhone, which is a secure VoIP protocol. 3 00:00:13,840 --> 00:00:22,600 And I've got a protocol, which we've submitted to the IETF as an Internet draft. 4 00:00:23,040 --> 00:00:25,740 There's an SDK to implement the protocol, 5 00:00:25,740 --> 00:00:32,620 and there is also this application called ZPhone that uses the SDK to implement the protocol 6 00:00:32,620 --> 00:00:37,160 to allow you to use whatever VoIP client you'd like to use and secure it. 7 00:00:37,500 --> 00:00:40,280 It's kind of like a bump in the wire, only there's no wire. 8 00:00:40,400 --> 00:00:41,660 It's a bump in the protocol stack. 9 00:00:42,160 --> 00:00:48,040 So it filters the IP traffic in and out of your computer, looking for VoIP traffic, 10 00:00:48,220 --> 00:00:53,660 and intercepts it and intercedes to secure the call. 11 00:00:56,900 --> 00:01:03,080 And first thing I'd like to do is show you how it works, and then I'll talk about, you know, everything else. 12 00:01:03,400 --> 00:01:05,500 So we're going to do the demo up front here. 13 00:01:06,840 --> 00:01:09,000 So first thing I'm going to do is run iChat. 14 00:01:09,220 --> 00:01:11,020 Did you know that iChat is a VoIP client? 15 00:01:11,200 --> 00:01:13,340 I didn't know that until I actually tried it with this. 16 00:01:14,680 --> 00:01:15,240 Let's see. 17 00:01:16,480 --> 00:01:24,440 So we're going to call a friend of mine in New Mexico and see if we can get encrypted. 18 00:01:25,740 --> 00:01:27,580 Audio and video, it does both. 19 00:01:31,240 --> 00:01:32,580 I hope this works. 20 00:01:34,420 --> 00:01:37,020 Oh, it's negotiating the keys here. 21 00:01:42,580 --> 00:01:43,500 Hi there. 22 00:01:45,500 --> 00:01:46,240 Hi, Steve. 23 00:01:47,360 --> 00:01:50,360 You're visible to a large audience here at DEF CON. 24 00:01:51,360 --> 00:01:55,120 And nobody can intercept this. 25 00:01:55,740 --> 00:01:58,680 This communication, so I guess we could talk about secret stuff. 26 00:02:00,180 --> 00:02:00,780 Oh, yeah. 27 00:02:00,820 --> 00:02:02,600 You got anything subversive you'd like to say? 28 00:02:03,580 --> 00:02:09,160 As the audience can readily see, Steve would never talk about anything subversive. 29 00:02:09,280 --> 00:02:16,300 You know, he's not really in the least bit subversive. 30 00:02:16,700 --> 00:02:18,180 Okay, Steve, say something. 31 00:02:19,420 --> 00:02:20,020 Not me. 32 00:02:20,080 --> 00:02:20,820 I'm not subversive. 33 00:02:21,020 --> 00:02:21,540 All right. 34 00:02:22,560 --> 00:02:24,700 Okay, just to make sure there's no man in the middle, 35 00:02:24,780 --> 00:02:25,720 let's see if we're using... 36 00:02:25,740 --> 00:02:26,840 I'm using the same session key. 37 00:02:28,420 --> 00:02:29,300 Slingshot Millionaire. 38 00:02:29,380 --> 00:02:29,640 Okay. 39 00:02:30,020 --> 00:02:31,620 I'm using the same word list. 40 00:02:31,800 --> 00:02:36,220 Many of you use PGP, and you know that if you want to compare PGP fingerprints, 41 00:02:36,720 --> 00:02:39,240 you could either compare them in hexadecimal, 42 00:02:39,280 --> 00:02:41,620 or you can compare them using a list of words. 43 00:02:41,820 --> 00:02:45,360 And that's what I'm using here, the same word list that PGP uses. 44 00:02:46,400 --> 00:02:49,360 Steve, do you have Slingshot Millionaire displayed on your... 45 00:02:49,880 --> 00:02:50,820 I do indeed, yeah. 46 00:02:51,040 --> 00:02:53,020 Well, then I guess there's no man in the middle. 47 00:02:53,140 --> 00:02:53,960 I guess... 48 00:02:53,960 --> 00:02:55,580 Now, that would have been exciting. 49 00:02:55,740 --> 00:02:56,560 If there was, right? 50 00:02:57,540 --> 00:02:59,260 It would have been quite surprising. 51 00:03:00,260 --> 00:03:03,960 And in an environment like this, maybe it wouldn't be that surprising. 52 00:03:04,760 --> 00:03:05,200 Right. 53 00:03:05,980 --> 00:03:06,420 Okay. 54 00:03:06,680 --> 00:03:09,140 The checkbox is still checked for verify. 55 00:03:09,600 --> 00:03:10,040 Yeah. 56 00:03:10,700 --> 00:03:14,400 Okay, so what I'm going to do now is we're going to hang up this, 57 00:03:14,580 --> 00:03:18,360 and I'm going to call you back on Gizmo, a different VoIP client, 58 00:03:18,580 --> 00:03:20,260 and we're going to secure that also. 59 00:03:22,280 --> 00:03:22,720 Okay. 60 00:03:23,080 --> 00:03:25,520 So we're just going to do that. 61 00:03:25,740 --> 00:03:29,060 And we're going to activate the Gizmo VoIP client. 62 00:03:29,620 --> 00:03:32,660 We could go on and on with numerous VoIP clients, 63 00:03:32,880 --> 00:03:39,280 Xlight, you know, iBeam, XMeeting, Akiga, anything you want. 64 00:03:39,480 --> 00:03:41,800 All kinds of VoIP clients, except Skype. 65 00:03:41,980 --> 00:03:43,860 Skype doesn't follow any VoIP standards. 66 00:03:44,620 --> 00:03:50,960 But any kind of VoIP client that uses RTP can be used with ZPhone. 67 00:03:51,140 --> 00:03:54,940 So now I'm going to call Steve, and ZPhone will secure the call. 68 00:04:05,100 --> 00:04:07,340 Assuming that VoIP works here. 69 00:04:07,540 --> 00:04:08,040 Okay. 70 00:04:09,800 --> 00:04:10,640 Hi, Steve. 71 00:04:11,260 --> 00:04:12,420 There we go, again. 72 00:04:12,760 --> 00:04:13,860 Oh, all right. 73 00:04:14,520 --> 00:04:18,100 By the way, I think Gizmo does do video, doesn't it? 74 00:04:18,100 --> 00:04:20,360 It's just that the iChat has the device. 75 00:04:20,360 --> 00:04:25,220 You know, I don't think video is available for Gizmo. 76 00:04:25,740 --> 00:04:26,660 I'm not aware of it. 77 00:04:26,720 --> 00:04:29,180 I just got a new version of it yesterday, so. 78 00:04:31,280 --> 00:04:36,720 But anyway, so, okay, so we don't really have to check here 79 00:04:36,720 --> 00:04:38,240 because we made a previous call. 80 00:04:38,340 --> 00:04:43,480 But the short authentication string is, what do you have on your display there? 81 00:04:44,360 --> 00:04:45,220 Fracture recover. 82 00:04:45,840 --> 00:04:47,180 Okay, that's what I got here. 83 00:04:48,160 --> 00:04:49,980 Okay, I guess that's it. 84 00:04:50,040 --> 00:04:50,640 You can go. 85 00:04:51,260 --> 00:04:52,260 Okay, take care. 86 00:04:52,400 --> 00:04:52,620 All right. 87 00:05:00,660 --> 00:05:04,700 So, so the really spiffy thing is that, you know, 88 00:05:04,740 --> 00:05:07,580 you can use any VoIP client you're already using, 89 00:05:08,130 --> 00:05:11,920 and this thing plugs into the protocol stack. 90 00:05:12,200 --> 00:05:13,540 It's got a daemon running. 91 00:05:14,460 --> 00:05:17,380 This works on Linux, Mac OS X, and Windows. 92 00:05:17,700 --> 00:05:21,780 It runs a daemon in the IP stack, intercepts the VoIP packets, 93 00:05:21,960 --> 00:05:23,280 and encrypts them on the fly. 94 00:05:23,380 --> 00:05:24,900 It negotiates the keys up front, 95 00:05:24,900 --> 00:05:29,300 and then has its own separate GUI to show you if the call is secure, 96 00:05:29,560 --> 00:05:32,000 and allows you to verify there's no man in the middle. 97 00:05:33,480 --> 00:05:37,720 So, you know, I should have asked for one of those radio mics so I could walk around. 98 00:05:37,820 --> 00:05:39,020 I like to pace nervously. 99 00:05:39,500 --> 00:05:40,700 Is it too late to do that? 100 00:05:40,780 --> 00:05:42,020 Maybe somebody could bring me one. 101 00:05:42,840 --> 00:05:45,660 Oh, this one's pretty firmly attached here. 102 00:05:46,700 --> 00:05:49,940 I could take it off, but then it's a very short cord, 103 00:05:50,000 --> 00:05:51,660 so there's really no point in taking it off. 104 00:05:52,380 --> 00:05:52,780 Okay. 105 00:06:00,460 --> 00:06:01,640 There's one on the table? 106 00:06:03,000 --> 00:06:03,560 That one? 107 00:06:03,680 --> 00:06:04,520 Oh, you mean with the cord? 108 00:06:05,120 --> 00:06:07,960 Okay. Yeah. 109 00:06:08,120 --> 00:06:08,680 All right. 110 00:06:09,520 --> 00:06:11,460 I don't know if that cord is long enough. 111 00:06:11,780 --> 00:06:12,280 All right. 112 00:06:12,300 --> 00:06:15,440 I'm just going to stand here, and I'll just have to contain my nervous energy. 113 00:06:19,960 --> 00:06:20,680 All right. 114 00:06:20,700 --> 00:06:24,700 So I guess we don't really need to – oh, you know what I could do is let's bring up the – 115 00:06:24,900 --> 00:06:29,040 the web page for the Z-Phone project. 116 00:06:29,880 --> 00:06:34,480 You guys should go visit this web page and download the code and try it yourself. 117 00:06:34,800 --> 00:06:37,460 You can do a free download and give it a try. 118 00:06:37,880 --> 00:06:40,620 You know, this screen is too small for this website here. 119 00:06:41,440 --> 00:06:41,880 Okay. 120 00:06:42,380 --> 00:06:43,480 Well, all right. 121 00:06:45,080 --> 00:06:48,120 Maybe I should – yeah. 122 00:06:48,680 --> 00:06:49,120 Okay. 123 00:06:49,220 --> 00:06:52,480 Well, it's got a nice FAQ section to answer a lot of questions, 124 00:06:52,600 --> 00:06:54,320 but you don't have to go there to answer your – 125 00:06:54,320 --> 00:06:54,880 to ask questions. 126 00:06:54,900 --> 00:06:55,840 You could ask me. 127 00:06:59,120 --> 00:07:00,160 So, okay. 128 00:07:02,140 --> 00:07:05,940 So I – I demoed this here last year, but it's gotten a lot more polished, 129 00:07:06,080 --> 00:07:08,720 and it works with everything now. 130 00:07:11,200 --> 00:07:16,600 We – we submitted it to the IETF, and eventually it will get an RFC. 131 00:07:17,620 --> 00:07:20,420 We're going to get an informational track RFC. 132 00:07:20,780 --> 00:07:23,940 Eventually, after that, I think that we'll get enough – 133 00:07:23,940 --> 00:07:28,740 enough deployment that we can go back and ask for a standards track RFC. 134 00:07:31,460 --> 00:07:35,140 It does a Diffie-Hellman key negotiation at the beginning of the call. 135 00:07:35,640 --> 00:07:40,840 And – and then, you know, to protect against a man-in-the-middle attack, 136 00:07:41,060 --> 00:07:44,260 you want to make sure that the two parties are using the same session key, 137 00:07:44,770 --> 00:07:47,680 because these keys are randomly generated for each session. 138 00:07:47,940 --> 00:07:51,740 And if you found that the two parties were not using the same session key, 139 00:07:51,800 --> 00:07:53,320 it's because there's a guy in the middle. 140 00:07:53,320 --> 00:07:57,360 That I'm talking to, and he's talking to the other party, 141 00:07:57,500 --> 00:08:01,200 and there's two separate encrypted channels with the guy in the middle. 142 00:08:01,380 --> 00:08:06,000 And that's why we compare those – the short authentication string to see if it matches. 143 00:08:09,940 --> 00:08:14,220 So rather than try to guess what you want me to tell you, 144 00:08:14,340 --> 00:08:16,760 why don't I just ask you to ask me questions? 145 00:08:17,460 --> 00:08:17,940 Yeah. 146 00:08:18,340 --> 00:08:21,560 If you're encrypted, your middle layer is where you have different costs 147 00:08:21,560 --> 00:08:23,220 or different EOS parameters. 148 00:08:23,940 --> 00:08:27,640 How are those impacted by your encryption? 149 00:08:27,780 --> 00:08:29,780 In other words, if I'm trying to tag traffic – 150 00:08:30,140 --> 00:08:35,480 Well, there is – there is another – there's a related protocol to RTP called – 151 00:08:37,360 --> 00:08:38,440 I'm sorry, what is it called? 152 00:08:38,560 --> 00:08:41,260 The RT – yeah. 153 00:08:43,860 --> 00:08:47,920 Okay, he wants to know if the quality of service information gets encrypted too. 154 00:08:48,020 --> 00:08:48,700 And yes, it does. 155 00:08:49,480 --> 00:08:53,000 The packets that come back – RTSP, isn't it? 156 00:08:54,100 --> 00:08:55,160 RTCP, excuse me. 157 00:08:55,420 --> 00:08:58,320 You know, you ever see that film, Memento? 158 00:08:58,500 --> 00:09:00,700 You know, I sometimes feel like that guy. 159 00:09:00,800 --> 00:09:01,700 I can't remember anything. 160 00:09:03,860 --> 00:09:04,700 That's right, yes. 161 00:09:09,720 --> 00:09:14,040 So, yeah, the quality of service information is also encrypted, but not the signaling. 162 00:09:14,200 --> 00:09:16,200 The signaling is not involved in this at all. 163 00:09:16,280 --> 00:09:19,260 In fact, you can use it with any kind of signaling. 164 00:09:19,440 --> 00:09:21,540 It doesn't just have to be SIP. 165 00:09:21,620 --> 00:09:22,320 It could be H3O. 166 00:09:22,320 --> 00:09:23,720 It could be H323. 167 00:09:23,980 --> 00:09:25,160 It could be Jabber. 168 00:09:25,220 --> 00:09:27,780 It could be whatever your favorite signaling protocol is. 169 00:09:27,960 --> 00:09:30,560 Or just, you know, peer-to-peer SIP. 170 00:09:31,480 --> 00:09:33,880 It doesn't even look at the signaling. 171 00:09:34,080 --> 00:09:36,380 It just does it entirely in the media plane. 172 00:09:37,260 --> 00:09:37,780 Yeah. 173 00:09:37,980 --> 00:09:40,040 Is there a loss of performance ? 174 00:09:41,920 --> 00:09:43,460 There's no loss of performance. 175 00:09:43,820 --> 00:09:45,360 Encryption doesn't take much time. 176 00:09:45,540 --> 00:09:48,300 In fact, codecs take a huge amount of time. 177 00:09:48,460 --> 00:09:52,220 Voice compression is 100 times slower. 178 00:09:52,320 --> 00:09:52,960 More than encryption. 179 00:09:54,240 --> 00:09:57,780 There's a little bit of calculation at the beginning of the call to negotiate the keys, 180 00:09:57,920 --> 00:09:59,340 but that's over pretty quick. 181 00:09:59,520 --> 00:10:02,140 And if your processor is fast enough to compress your voice, 182 00:10:02,360 --> 00:10:05,160 it's plenty fast to do the Diffie-Hellman calculation. 183 00:10:06,040 --> 00:10:06,520 Yeah. 184 00:10:06,800 --> 00:10:08,100 Is video also encrypted? 185 00:10:08,600 --> 00:10:09,200 Yes, it is. 186 00:10:09,520 --> 00:10:14,420 Video, audio, you could have as many streams as you want between you and the other party. 187 00:10:14,520 --> 00:10:16,060 They're all encrypted with separate keys. 188 00:10:16,400 --> 00:10:16,880 . 189 00:10:19,720 --> 00:10:20,200 Yes. 190 00:10:20,200 --> 00:10:22,640 Yes, you could do three-way calling. 191 00:10:22,780 --> 00:10:25,140 Every link that you do is separately encrypted. 192 00:10:27,760 --> 00:10:28,280 Yeah. 193 00:10:29,940 --> 00:10:30,460 . 194 00:10:35,260 --> 00:10:38,640 Yeah, the SDK, we're going to open source the SDK 195 00:10:38,640 --> 00:10:41,100 because we want people to put it in their open source projects. 196 00:10:41,560 --> 00:10:46,640 Now, this application that I showed you, ZPhone, is not only the SDK. 197 00:10:47,000 --> 00:10:50,180 It's also got this daemon that filters IP paths. 198 00:10:50,200 --> 00:10:54,120 I don't really see the reason to make that open source 199 00:10:54,120 --> 00:10:57,600 because nobody's ever going to put that into their VoIP product. 200 00:10:58,620 --> 00:11:02,560 It's the SDK they want, and so that's what we're going to open source. 201 00:11:04,800 --> 00:11:05,320 . 202 00:11:05,860 --> 00:11:06,380 . 203 00:11:07,460 --> 00:11:08,140 Pardon me? 204 00:11:08,820 --> 00:11:09,340 . 205 00:11:14,740 --> 00:11:15,260 Yeah. 206 00:11:15,440 --> 00:11:19,440 I would like you to take the SDK and put it in VoIP plants 207 00:11:19,440 --> 00:11:20,780 on all kinds of platforms. 208 00:11:21,440 --> 00:11:28,140 We've got this thing running on Symbian, on Windows Mobile, Linux, Mac OS X, Windows XP, 209 00:11:29,560 --> 00:11:34,420 and we'd like it to run on anything you find to run it on. 210 00:11:35,700 --> 00:11:38,900 But the SDK is not a complete application. 211 00:11:39,080 --> 00:11:41,880 It's something that you want to put inside your VoIP application. 212 00:11:42,220 --> 00:11:43,960 It could be put into a PBX. 213 00:11:44,040 --> 00:11:48,820 By the way, we have it running right now on the asterisk PBX, 214 00:11:48,820 --> 00:11:49,600 which is open source. 215 00:11:49,980 --> 00:11:54,020 And we're going to be releasing that as soon as we can get through the bureaucratic. 216 00:11:54,680 --> 00:11:58,580 It is fairly bureaucratic to get things released on asterisk. 217 00:11:59,620 --> 00:12:01,740 By the way, we tried to put it on Akiga, 218 00:12:03,160 --> 00:12:07,100 but we find that the Akiga CVS code repository 219 00:12:07,740 --> 00:12:10,340 doesn't seem to have a version that will actually build. 220 00:12:11,160 --> 00:12:14,060 So if anybody can help us with that, I'd appreciate it. 221 00:12:15,560 --> 00:12:18,200 I don't know how people are building Akiga. 222 00:12:18,820 --> 00:12:20,880 I can't check out the code from the CVS. 223 00:12:23,520 --> 00:12:24,120 Yes? 224 00:12:25,900 --> 00:12:26,500 . 225 00:12:27,460 --> 00:12:29,120 Loud. Really yell. 226 00:12:30,000 --> 00:12:30,600 . 227 00:12:36,420 --> 00:12:39,100 Well, we look at the pack. 228 00:12:39,280 --> 00:12:40,920 We have a nice little... 229 00:12:40,920 --> 00:12:41,540 What's the question? 230 00:12:41,860 --> 00:12:45,000 The question is, if we don't look at the signaling, 231 00:12:45,100 --> 00:12:47,140 then how do we find the RTP stream? 232 00:12:47,140 --> 00:12:50,700 How do we tell the RTP packets from other kinds of UDP packets? 233 00:12:51,420 --> 00:12:54,420 And, well, until about a week ago, 234 00:12:54,520 --> 00:12:56,140 we used to just look at the signaling 235 00:12:56,140 --> 00:12:57,940 and try to figure it out from that. 236 00:12:58,080 --> 00:13:00,560 But we were having the devil's own time doing that 237 00:13:00,560 --> 00:13:02,540 because all the VoIP clients break the rules. 238 00:13:03,040 --> 00:13:06,460 They do horrible things for NAT traversal. 239 00:13:06,780 --> 00:13:10,220 NAT traversal is the big problem in the VoIP industry. 240 00:13:10,660 --> 00:13:14,160 And all these VoIP clients were doing highly unorthodox things 241 00:13:14,880 --> 00:13:16,100 for NAT traversal. 242 00:13:19,040 --> 00:13:19,980 I'm going to close that. 243 00:13:22,620 --> 00:13:24,100 What they were doing is, 244 00:13:24,180 --> 00:13:26,380 instead of sending it through the SIP packets, 245 00:13:26,600 --> 00:13:28,460 they were doing things like... 246 00:13:28,460 --> 00:13:30,920 I'm not sure, but somebody told me that Apple iChat, 247 00:13:31,060 --> 00:13:33,880 if it couldn't do NAT traversal using normal methods, 248 00:13:34,100 --> 00:13:37,840 it would actually send a text message to the other side 249 00:13:38,460 --> 00:13:40,240 telling it what port it was going to use. 250 00:13:41,440 --> 00:13:43,660 There's no way we would ever have figured that one out. 251 00:13:43,840 --> 00:13:45,580 So rather than try to divine it 252 00:13:45,580 --> 00:13:46,220 from the signaling, 253 00:13:46,360 --> 00:13:49,320 we just heuristically look for the RTP. 254 00:13:50,440 --> 00:13:52,740 And we let a few packets go by 255 00:13:52,740 --> 00:13:55,260 and see if they have sequence numbers that count up. 256 00:13:55,420 --> 00:13:58,540 And, you know, if we think it's RTP, 257 00:13:58,720 --> 00:14:00,540 then we jump in. 258 00:14:02,140 --> 00:14:04,160 Now, that's what we do in that daemon, 259 00:14:04,200 --> 00:14:05,320 that filter I mentioned. 260 00:14:05,480 --> 00:14:06,500 That's not in the SDK. 261 00:14:06,940 --> 00:14:08,940 I mean, if you actually put this in your VoIP line, 262 00:14:09,020 --> 00:14:10,160 you don't have this problem at all. 263 00:14:10,580 --> 00:14:12,820 I mean, you're going to talk to it through an API. 264 00:14:13,120 --> 00:14:14,740 Then, of course, you're going to know 265 00:14:14,740 --> 00:14:16,160 what port you're going to use. 266 00:14:16,220 --> 00:14:17,400 You are the VoIP client, 267 00:14:17,520 --> 00:14:19,500 so you know everything about what you are doing. 268 00:14:19,700 --> 00:14:22,820 So you tell our SDK, 269 00:14:23,440 --> 00:14:25,500 okay, here's a packet encrypted, you know? 270 00:14:27,120 --> 00:14:27,560 Yeah? 271 00:14:32,660 --> 00:14:34,880 We haven't done anything with IPv6. 272 00:14:35,160 --> 00:14:36,960 But, you know, maybe we should. 273 00:14:37,780 --> 00:14:38,640 You know, we will. 274 00:14:38,800 --> 00:14:41,080 You know, we've just been too lazy to get to that. 275 00:14:44,940 --> 00:14:45,480 Yeah? 276 00:14:47,240 --> 00:14:48,220 Oh, yes? 277 00:14:52,920 --> 00:14:53,460 Yes. 278 00:14:58,800 --> 00:15:02,040 You could make this be an external box 279 00:15:02,740 --> 00:15:06,280 that can look at the traffic from multiple telephones. 280 00:15:08,820 --> 00:15:11,120 It would work the same way as it works 281 00:15:11,120 --> 00:15:12,300 when it's in the same machine. 282 00:15:14,000 --> 00:15:15,540 You know, it's an IP filter. 283 00:15:15,740 --> 00:15:16,920 I mean, that's what ZPhone does. 284 00:15:17,100 --> 00:15:19,960 Again, I think you're better off taking the SDK 285 00:15:19,960 --> 00:15:21,260 and sticking it in a VoIP client. 286 00:15:21,380 --> 00:15:22,340 You get cleaner results. 287 00:15:23,460 --> 00:15:25,780 The GUI is integrated in your VoIP client. 288 00:15:26,040 --> 00:15:26,460 You can... 289 00:15:27,320 --> 00:15:28,420 It just works better. 290 00:15:29,860 --> 00:15:32,060 But this is a good way to get it going 291 00:15:32,060 --> 00:15:33,980 with VoIP clients that don't have it. 292 00:15:34,180 --> 00:15:36,700 So it'll even work with hardware phones. 293 00:15:37,080 --> 00:15:39,160 I mean, I bought one of those really cheap 294 00:15:39,160 --> 00:15:41,380 Grandstream VoIP hardware phones, 295 00:15:41,380 --> 00:15:44,540 and you can actually make this 296 00:15:44,540 --> 00:15:46,160 encrypt that, too, outside. 297 00:15:46,360 --> 00:15:48,520 It'll, you know, filter through your... 298 00:15:49,480 --> 00:15:51,980 through your Linux laptop. 299 00:15:55,120 --> 00:15:55,760 Yes? 300 00:16:02,580 --> 00:16:03,380 That's right. 301 00:16:07,680 --> 00:16:09,320 Yeah, PGP Phone. 302 00:16:11,380 --> 00:16:12,960 I have a question that you just talked about. 303 00:16:13,180 --> 00:16:16,680 I know you said you didn't have any encryptions negotiated, 304 00:16:17,060 --> 00:16:19,860 but what is the actual encryption key size 305 00:16:19,860 --> 00:16:23,080 of the ZPhone during the conversation? 306 00:16:24,130 --> 00:16:24,420 Okay. 307 00:16:24,800 --> 00:16:26,160 Well, 10 years ago, 308 00:16:27,180 --> 00:16:31,240 I developed a product called PGP Phone. 309 00:16:31,540 --> 00:16:34,620 And most of you are too young to remember that. 310 00:16:36,080 --> 00:16:38,800 But 10 years ago, it worked fine, 311 00:16:38,840 --> 00:16:40,940 except for the fact that nobody had broadband. 312 00:16:41,380 --> 00:16:44,020 And, you know, there were no VoIP protocol standards. 313 00:16:44,520 --> 00:16:47,040 So it was kind of too early. 314 00:16:47,220 --> 00:16:48,580 But now it's not too early. 315 00:16:48,700 --> 00:16:50,280 Now it's the right time. 316 00:16:50,400 --> 00:16:51,460 VoIP is taking off. 317 00:16:51,960 --> 00:16:55,860 So I did something very similar to PGP Phone. 318 00:16:56,020 --> 00:16:57,820 At that time, in 1995, 319 00:16:58,420 --> 00:17:00,060 I did the same kind of thing. 320 00:17:00,220 --> 00:17:01,200 I did a Diffie-Hulman exchange. 321 00:17:01,620 --> 00:17:02,820 I did hash commitment, 322 00:17:03,160 --> 00:17:04,920 a short authentication string. 323 00:17:05,280 --> 00:17:07,640 In fact, I even used the same list of words 324 00:17:07,640 --> 00:17:10,120 to use for the short authentication string. 325 00:17:10,120 --> 00:17:13,220 In fact, the list of words that we use for PGP fingerprints 326 00:17:13,220 --> 00:17:15,540 was originally developed for PGP Phone, 327 00:17:15,800 --> 00:17:16,840 not for PGP. 328 00:17:17,940 --> 00:17:20,080 We later adapted it to PGP, 329 00:17:20,160 --> 00:17:22,180 and now it's being used again. 330 00:17:23,960 --> 00:17:25,260 The Diffie-Hulman exchange 331 00:17:25,260 --> 00:17:28,240 is a 3,000-bit Diffie-Hulman Prime. 332 00:17:29,260 --> 00:17:32,900 I'm using AES-128 or AES-256. 333 00:17:34,340 --> 00:17:36,640 For 3,000-bit Diffie-Hulman, 334 00:17:36,680 --> 00:17:38,580 it's better to use AES-128 335 00:17:38,580 --> 00:17:39,740 because you'd like to have 336 00:17:40,120 --> 00:17:42,400 the load balance between 337 00:17:42,400 --> 00:17:44,900 your block cipher work factor 338 00:17:44,900 --> 00:17:45,760 for breaking it 339 00:17:45,760 --> 00:17:47,960 and your public key algorithm 340 00:17:47,960 --> 00:17:49,400 work factor for breaking it. 341 00:17:50,040 --> 00:17:52,440 So for 3,000-bit Diffie-Hulman, 342 00:17:52,540 --> 00:17:54,760 that matches nicely with AES-128. 343 00:17:54,960 --> 00:17:56,580 For AES-256, 344 00:17:56,840 --> 00:17:57,800 you would need to have 345 00:17:57,800 --> 00:17:59,180 Diffie-Hulman of size 346 00:18:00,000 --> 00:18:02,580 El Mondo Grosso Diffie-Hulman keys, 347 00:18:02,720 --> 00:18:04,300 like 16,000 bits long, 348 00:18:04,440 --> 00:18:05,700 and nobody would ever want to do that. 349 00:18:06,160 --> 00:18:08,080 So you'd probably want to switch over 350 00:18:08,080 --> 00:18:09,300 to elliptic curves for that, 351 00:18:10,120 --> 00:18:10,760 but we don't have elliptic curves 352 00:18:10,760 --> 00:18:11,500 in the product yet. 353 00:18:13,160 --> 00:18:14,260 So we just use 354 00:18:14,840 --> 00:18:16,280 Diffie-Hulman 3,000 bits 355 00:18:16,280 --> 00:18:18,200 and AES-128 as a default. 356 00:18:20,020 --> 00:18:20,960 But that's fine. 357 00:18:21,120 --> 00:18:21,840 I mean, you know, 358 00:18:21,880 --> 00:18:23,880 I don't think you really need 256-bit keys. 359 00:18:24,500 --> 00:18:29,540 AES-128 is out of reach of everybody 360 00:18:29,540 --> 00:18:30,700 and is going to continue 361 00:18:30,700 --> 00:18:31,760 to be out of reach of everybody. 362 00:18:33,400 --> 00:18:33,840 Yeah. 363 00:18:48,940 --> 00:18:52,140 Well, how is the average person 364 00:18:52,140 --> 00:18:53,880 going to use this 365 00:18:53,880 --> 00:18:55,920 when they don't have hardware to put it on? 366 00:18:56,160 --> 00:18:58,000 Well, you know, for Z-Phone, 367 00:18:58,720 --> 00:19:00,760 you would typically use it 368 00:19:00,760 --> 00:19:01,840 with a soft VoIP client. 369 00:19:02,120 --> 00:19:03,920 You'd be running some kind of 370 00:19:03,920 --> 00:19:04,960 VoIP client on your laptop. 371 00:19:05,320 --> 00:19:07,540 If they don't have a laptop? 372 00:19:08,340 --> 00:19:08,860 Yeah. 373 00:19:10,500 --> 00:19:12,240 Yeah. Well, if you're using Vonage, 374 00:19:12,280 --> 00:19:13,220 you can't use Z-Phone. 375 00:19:15,100 --> 00:19:16,040 Don't use Vonage. 376 00:19:20,820 --> 00:19:22,080 Now, in theory, 377 00:19:22,200 --> 00:19:24,100 you could use Vonage and use Z-Phone. 378 00:19:24,480 --> 00:19:25,860 You would have to 379 00:19:26,620 --> 00:19:27,940 have, you know that box 380 00:19:27,940 --> 00:19:29,880 they give you, the analog telephone adapter? 381 00:19:30,340 --> 00:19:31,980 If you could put the 382 00:19:32,480 --> 00:19:34,200 take my SDK and stick it 383 00:19:34,200 --> 00:19:35,920 inside that box, then it would work. 384 00:19:36,800 --> 00:19:38,340 But I doubt that Vonage 385 00:19:38,340 --> 00:19:40,060 is going to put it in because Vonage 386 00:19:40,120 --> 00:19:40,900 is in a lot of trouble. 387 00:19:42,080 --> 00:19:43,660 Yeah. In principle, 388 00:19:43,840 --> 00:19:46,120 someone who makes an analog telephone adapter 389 00:19:46,120 --> 00:19:47,220 could put this inside. 390 00:19:47,820 --> 00:19:49,980 And that's, we hope that will happen. 391 00:19:51,460 --> 00:19:52,500 We are 392 00:19:53,340 --> 00:19:53,860 partnering 393 00:19:53,860 --> 00:19:55,620 with other companies that make hardware. 394 00:19:55,780 --> 00:19:57,760 Desktop enterprise phones, for example. 395 00:19:58,080 --> 00:19:59,540 In fact, there is a 396 00:20:00,180 --> 00:20:00,700 company 397 00:20:01,760 --> 00:20:03,680 called Ripcord Networks that's making 398 00:20:03,680 --> 00:20:05,940 a little box about the size of a deck of 399 00:20:05,940 --> 00:20:07,900 playing cards. And it's got a little 400 00:20:07,900 --> 00:20:09,900 LCD display on it. And two 401 00:20:09,900 --> 00:20:11,640 RJ45 Ethernet connectors 402 00:20:11,640 --> 00:20:13,800 on it. And it's a real 403 00:20:13,800 --> 00:20:14,560 bump in the cord. 404 00:20:15,860 --> 00:20:17,700 And so it would go between your 405 00:20:17,700 --> 00:20:19,060 VoIP phone and 406 00:20:19,580 --> 00:20:21,740 the cloud. And it would 407 00:20:21,740 --> 00:20:22,840 do just what Z-Phone does. 408 00:20:25,040 --> 00:20:25,480 They're 409 00:20:25,480 --> 00:20:27,700 working on that right now. In fact, they're going to 410 00:20:27,700 --> 00:20:29,240 use the same kind of IP filtering 411 00:20:29,240 --> 00:20:30,680 techniques that we use. 412 00:20:32,260 --> 00:20:33,760 In fact, they're probably going to run the 413 00:20:33,760 --> 00:20:34,800 same code, actually. 414 00:20:35,400 --> 00:20:36,980 Since they license it from us. 415 00:20:38,260 --> 00:20:38,700 The 416 00:20:42,000 --> 00:20:44,040 if you wanted to use that with Vonage, 417 00:20:44,200 --> 00:20:45,960 then you would have to have the Vonage 418 00:20:45,960 --> 00:20:47,740 ATA. And then you would have this 419 00:20:47,740 --> 00:20:49,880 box from Ripcord. And then you'd have 420 00:20:49,880 --> 00:20:51,520 the cloud, the router, you know. 421 00:20:53,420 --> 00:20:53,820 Somebody 422 00:20:53,820 --> 00:20:55,620 back there? Yeah. 423 00:21:00,500 --> 00:21:05,800 No, I want it to be used in enterprises. 424 00:21:06,480 --> 00:21:07,940 You know, the perfect 425 00:21:07,940 --> 00:21:09,840 way for it to be used in enterprises is if 426 00:21:09,900 --> 00:21:11,680 it's in desktop enterprise phones in 427 00:21:11,680 --> 00:21:13,760 the firmware. But 428 00:21:13,760 --> 00:21:14,820 as an interim measure, 429 00:21:15,360 --> 00:21:17,780 they can buy these little boxes from 430 00:21:18,580 --> 00:21:19,380 Ripcord networks 431 00:21:19,900 --> 00:21:21,720 and work with their existing 432 00:21:21,720 --> 00:21:23,800 phones. The other possible 433 00:21:23,800 --> 00:21:25,740 approach they can take is to 434 00:21:25,740 --> 00:21:27,560 put it in the Asterisk PBX. 435 00:21:27,920 --> 00:21:29,940 And then all the VoIP phones in the office 436 00:21:29,940 --> 00:21:31,680 could connect to the Asterisk PBX. 437 00:21:31,860 --> 00:21:33,720 And so the first 10 meters 438 00:21:33,720 --> 00:21:35,820 is not encrypted, but who cares? It's only 10 439 00:21:35,820 --> 00:21:37,660 meters. Then it's 440 00:21:37,660 --> 00:21:39,600 encrypted from the PBX out to the cloud. 441 00:21:40,520 --> 00:21:42,020 That would work. 442 00:21:56,920 --> 00:21:59,420 Well, I would recommend that 443 00:21:59,420 --> 00:22:01,620 anybody using VoIP 444 00:22:01,620 --> 00:22:03,280 would separate their VoIP 445 00:22:04,140 --> 00:22:05,800 network from the rest of the 446 00:22:05,800 --> 00:22:06,400 office network. 447 00:22:07,200 --> 00:22:09,740 Just as a matter of security. You don't want 448 00:22:10,980 --> 00:22:12,020 your VoIP 449 00:22:13,180 --> 00:22:13,700 components 450 00:22:13,700 --> 00:22:15,080 to be attacked by 451 00:22:15,780 --> 00:22:17,540 hostile software running on some PC. 452 00:22:18,520 --> 00:22:19,740 Now, of course, 453 00:22:19,760 --> 00:22:21,240 not everybody's going to follow that advice. 454 00:22:21,460 --> 00:22:23,700 There's going to be people out there that 455 00:22:23,700 --> 00:22:25,620 have a single office network that carries 456 00:22:25,620 --> 00:22:27,540 VoIP traffic and everything 457 00:22:27,540 --> 00:22:29,620 else on their network. 458 00:22:29,880 --> 00:22:31,840 But that's a risky thing to do because 459 00:22:32,940 --> 00:22:33,460 if 460 00:22:33,460 --> 00:22:35,740 some hostile software gets on one of your 461 00:22:35,740 --> 00:22:37,500 PCs, some spyware, 462 00:22:37,660 --> 00:22:39,880 then it can intercept all the VoIP traffic. 463 00:22:39,900 --> 00:22:40,780 It can intercept all the traffic in your office 464 00:22:40,780 --> 00:22:43,100 before it goes out to the cloud 465 00:22:43,100 --> 00:22:45,640 and store it on the disk as 466 00:22:45,640 --> 00:22:47,700 WAV files. And then somebody on the other 467 00:22:47,700 --> 00:22:49,760 side of the world could use a web browser 468 00:22:49,760 --> 00:22:51,540 to browse through it like a 469 00:22:51,540 --> 00:22:53,520 TiVo player. In fact, this 470 00:22:53,520 --> 00:22:55,540 software exists. On my website, 471 00:22:55,700 --> 00:22:57,600 zphoneproject.com, visit 472 00:22:57,600 --> 00:22:59,780 the FAQ page, and you'll find 473 00:22:59,780 --> 00:23:01,480 in there a link to 474 00:23:01,480 --> 00:23:03,840 spyware that operates exactly 475 00:23:03,840 --> 00:23:04,660 as I've described. 476 00:23:06,900 --> 00:23:07,800 And you can 477 00:23:07,800 --> 00:23:09,080 listen to people's phone calls. 478 00:23:10,400 --> 00:23:11,780 I don't know 479 00:23:11,780 --> 00:23:13,540 if there are real phone calls that matter. 480 00:23:13,660 --> 00:23:15,560 I think the people knew that they were being recorded. 481 00:23:16,240 --> 00:23:16,600 But 482 00:23:18,500 --> 00:23:19,540 that could happen. 483 00:23:19,600 --> 00:23:21,720 The Russian mafia could install 484 00:23:22,700 --> 00:23:23,820 spyware like this on 485 00:23:23,820 --> 00:23:25,840 one of the computers in your office and intercept 486 00:23:25,840 --> 00:23:27,360 all the calls in your company. 487 00:23:28,320 --> 00:23:29,660 Now, there's ways to 488 00:23:29,660 --> 00:23:31,920 stop that from happening. You could make sure 489 00:23:31,920 --> 00:23:32,960 that you 490 00:23:33,820 --> 00:23:35,620 don't use hubs, use switches, 491 00:23:35,720 --> 00:23:37,760 and that all your VoIP traffic is 492 00:23:37,760 --> 00:23:39,300 segregated from your general 493 00:23:39,900 --> 00:23:41,520 office network traffic. 494 00:23:41,840 --> 00:23:43,860 But, you know, not everybody's going to be careful 495 00:23:43,860 --> 00:23:45,040 about that. So, 496 00:23:47,140 --> 00:23:47,920 it's just 497 00:23:47,920 --> 00:23:49,480 a better idea to do end-to-end 498 00:23:49,480 --> 00:23:49,780 encryption. 499 00:23:51,280 --> 00:23:51,800 Yeah? 500 00:24:12,960 --> 00:24:14,000 Yeah, yeah, yeah. 501 00:24:15,060 --> 00:24:15,620 Well, yeah, 502 00:24:15,720 --> 00:24:17,600 he should repeat it back. But, you know, 503 00:24:18,220 --> 00:24:19,840 don't put too much emphasis on 504 00:24:19,840 --> 00:24:21,320 the voice imitation 505 00:24:21,760 --> 00:24:23,620 attack. You know, I call that the Rich Little attack. 506 00:24:25,440 --> 00:24:25,760 Because 507 00:24:25,760 --> 00:24:27,200 it's not as easy as it looks. 508 00:24:27,700 --> 00:24:29,680 You know, the attacker has to know exactly 509 00:24:29,680 --> 00:24:31,060 when to say what he says. 510 00:24:32,040 --> 00:24:33,640 And he's not going to be able to predict 511 00:24:33,640 --> 00:24:35,260 when you're going to do the compare. 512 00:24:35,460 --> 00:24:37,720 You might do it at the start of the call. You might do it at the end. 513 00:24:37,860 --> 00:24:39,700 He might, the other guy might do it. 514 00:24:39,900 --> 00:24:41,220 You might do it. You both might do it. 515 00:24:42,160 --> 00:24:43,860 In fact, you might even use the words 516 00:24:43,860 --> 00:24:45,720 in unpredictable ways. You might use them 517 00:24:45,720 --> 00:24:46,700 in a sentence, for example. 518 00:24:48,200 --> 00:24:49,760 Who knows? The attacker doesn't 519 00:24:49,760 --> 00:24:50,600 know what you're going to do. 520 00:24:58,040 --> 00:24:59,580 I didn't think of doing that. 521 00:24:59,880 --> 00:25:01,860 A readme file that tells you how to 522 00:25:01,860 --> 00:25:03,660 do the short authentication string 523 00:25:03,660 --> 00:25:04,060 compare. 524 00:25:06,300 --> 00:25:07,000 Yeah, I guess 525 00:25:07,000 --> 00:25:09,420 maybe somebody should write something like that. 526 00:25:09,900 --> 00:25:11,520 I take a fairly casual attitude 527 00:25:11,520 --> 00:25:13,520 toward it, because I think that 528 00:25:13,520 --> 00:25:15,340 the attacker 529 00:25:15,740 --> 00:25:16,720 doesn't want to get caught. 530 00:25:16,980 --> 00:25:19,420 He's afraid that you'll catch him attacking. 531 00:25:20,740 --> 00:25:21,960 Wiretappers, by their nature, 532 00:25:22,060 --> 00:25:23,520 don't want you to know they're there. 533 00:25:23,760 --> 00:25:25,360 So, they're risk-averse. 534 00:25:26,820 --> 00:25:27,840 So, I don't 535 00:25:27,840 --> 00:25:28,620 think they're going to try it. 536 00:25:38,400 --> 00:25:41,080 Yeah, well, VoIP is extremely vulnerable 537 00:25:41,080 --> 00:25:42,380 when compared with the public 538 00:25:42,380 --> 00:25:43,260 switched telephone network. 539 00:25:44,680 --> 00:25:46,840 I mean, that's why we have to encrypt it. 540 00:25:46,880 --> 00:25:47,840 We don't even have a choice. 541 00:25:48,360 --> 00:25:49,840 I mean, you could debate about whether 542 00:25:49,840 --> 00:25:51,340 the PSTN should be encrypted, 543 00:25:51,440 --> 00:25:53,200 because maybe you're worried about 544 00:25:53,200 --> 00:25:55,200 government wiretapping or something like that. 545 00:25:55,340 --> 00:25:56,420 But, for the most part, 546 00:25:56,560 --> 00:25:58,520 wiretapping on the PSTN is 547 00:25:58,520 --> 00:25:58,600 the best way to do it. 548 00:25:58,600 --> 00:26:00,560 Well, there's not a lot of wiretapping 549 00:26:00,560 --> 00:26:02,360 on the PSTN, except for 550 00:26:02,360 --> 00:26:02,760 the government. 551 00:26:05,000 --> 00:26:06,540 The government's always found 552 00:26:06,540 --> 00:26:08,280 it easy to do that, because they 553 00:26:08,280 --> 00:26:10,600 have a friendly relationship with the phone companies. 554 00:26:12,320 --> 00:26:12,800 But, 555 00:26:12,920 --> 00:26:13,720 you know, 556 00:26:14,200 --> 00:26:16,640 other people, organized crime, for example, 557 00:26:16,780 --> 00:26:18,420 would find it difficult to wiretap 558 00:26:18,420 --> 00:26:20,620 the PSTN. They could get close 559 00:26:20,620 --> 00:26:22,180 to their target. They could get, 560 00:26:22,340 --> 00:26:24,240 you know, they could go to your office building 561 00:26:24,240 --> 00:26:26,400 with an alligator clip, and they could open 562 00:26:26,400 --> 00:26:28,300 the box with thousands of wires inside 563 00:26:28,600 --> 00:26:30,640 and try to figure out which wire goes to your phone. 564 00:26:31,460 --> 00:26:32,600 They could do that, 565 00:26:32,720 --> 00:26:34,740 and hopefully nobody will see them doing it. 566 00:26:35,040 --> 00:26:36,020 But it's risky. 567 00:26:36,220 --> 00:26:38,340 You've got to get up close, and you're probably 568 00:26:38,340 --> 00:26:39,960 going to get caught, or maybe not. 569 00:26:40,200 --> 00:26:42,300 But you've certainly got to be at least 570 00:26:42,740 --> 00:26:44,000 in the same country. 571 00:26:44,240 --> 00:26:46,360 But with VoIP, someone could attack you 572 00:26:46,360 --> 00:26:47,680 from the other side of the world. 573 00:26:48,060 --> 00:26:50,320 That spyware that goes on one of the PCs 574 00:26:50,320 --> 00:26:52,760 close to you might be, 575 00:26:52,760 --> 00:26:54,180 you know, from China, 576 00:26:54,240 --> 00:26:56,320 or the Russian Mafia, or 577 00:26:56,320 --> 00:26:57,720 you know, something like that. 578 00:26:58,600 --> 00:27:00,700 So it's just so much easier to attack 579 00:27:00,700 --> 00:27:02,440 VoIP. We really have no choice. 580 00:27:02,560 --> 00:27:04,620 We must encrypt VoIP. 581 00:27:04,700 --> 00:27:06,840 Or don't migrate to VoIP. 582 00:27:06,920 --> 00:27:08,180 Keep all of our calls forever 583 00:27:08,180 --> 00:27:09,800 on the PSTN. 584 00:27:10,200 --> 00:27:12,500 If we do that, then we'll be fine. 585 00:27:12,600 --> 00:27:14,460 You know, except for government wiretapping. 586 00:27:14,580 --> 00:27:14,840 You know. 587 00:27:16,480 --> 00:27:18,520 But, you know, how many people here 588 00:27:18,520 --> 00:27:20,580 think that we're not going to migrate 589 00:27:20,580 --> 00:27:22,420 to VoIP? Everybody knows that VoIP 590 00:27:22,420 --> 00:27:24,520 is the manifest destiny of the phone system. 591 00:27:25,240 --> 00:27:26,900 So we have no choice. 592 00:27:27,200 --> 00:27:28,580 Now think about what's going to happen 593 00:27:28,600 --> 00:27:29,700 if we don't do that. 594 00:27:30,280 --> 00:27:32,540 You know, one might imagine that law enforcement 595 00:27:32,540 --> 00:27:34,620 might object to encrypted VoIP. 596 00:27:35,840 --> 00:27:36,520 Well, 597 00:27:36,780 --> 00:27:38,400 okay, so 598 00:27:38,400 --> 00:27:39,720 let's look at it from the 599 00:27:39,720 --> 00:27:42,180 law enforcement point of view. 600 00:27:42,500 --> 00:27:43,400 Think about 601 00:27:43,400 --> 00:27:46,280 the asymmetry that has existed 602 00:27:46,280 --> 00:27:47,980 for so long 603 00:27:48,340 --> 00:27:50,900 in the relative difficulty of wiretapping 604 00:27:50,900 --> 00:27:52,780 between the government wiretapping 605 00:27:52,780 --> 00:27:53,820 and 606 00:27:54,600 --> 00:27:55,620 criminals wiretapping. 607 00:27:55,820 --> 00:27:58,440 It's so much easier for the government to wiretap 608 00:27:58,600 --> 00:27:59,780 than for criminals to wiretap. 609 00:28:00,000 --> 00:28:01,840 But with the migration to VoIP, 610 00:28:01,920 --> 00:28:03,460 that asymmetry collapses. 611 00:28:03,900 --> 00:28:06,400 Which means that the criminals 612 00:28:06,400 --> 00:28:07,880 can wiretap the government 613 00:28:07,880 --> 00:28:10,160 and the police and judges and prosecutors 614 00:28:10,160 --> 00:28:11,740 just as easily. 615 00:28:12,100 --> 00:28:13,600 So that means that 616 00:28:13,600 --> 00:28:15,900 you know, 617 00:28:16,000 --> 00:28:18,220 organized crime will be able to wiretap 618 00:28:18,220 --> 00:28:20,340 judges and prosecutors and listen to them 619 00:28:20,340 --> 00:28:22,340 talking about ongoing criminal investigations. 620 00:28:22,860 --> 00:28:24,280 They'll be able to learn the names 621 00:28:24,280 --> 00:28:25,760 of witnesses and informants. 622 00:28:25,900 --> 00:28:27,820 And they'll be able to listen to them calling 623 00:28:28,600 --> 00:28:30,280 home and talking about what time to pick up 624 00:28:30,280 --> 00:28:31,040 their kids at school. 625 00:28:33,320 --> 00:28:34,440 So I think that 626 00:28:35,340 --> 00:28:36,580 if we want 627 00:28:36,580 --> 00:28:38,720 the criminal justice system to continue functioning 628 00:28:38,720 --> 00:28:40,540 you know, 629 00:28:40,600 --> 00:28:42,100 without fear from 630 00:28:42,520 --> 00:28:44,020 organized crime, you know, 631 00:28:44,020 --> 00:28:45,380 doing horrible things to them, 632 00:28:45,720 --> 00:28:48,000 they're going to have to accept encrypted VoIP 633 00:28:48,000 --> 00:28:49,320 as being part of the infrastructure. 634 00:28:53,920 --> 00:28:54,440 Yes? 635 00:28:54,440 --> 00:28:54,600 Yes. 636 00:28:54,880 --> 00:28:56,960 Has there been any interest from the VoIP 637 00:28:58,080 --> 00:29:00,200 software community like Gizmo 638 00:29:00,200 --> 00:29:02,260 just building it into the product? 639 00:29:02,960 --> 00:29:03,480 Yes. 640 00:29:05,480 --> 00:29:06,000 Counterpath, 641 00:29:06,260 --> 00:29:08,280 the makers of Xlight and iBeam 642 00:29:08,280 --> 00:29:09,620 are going to put it in their products. 643 00:29:09,920 --> 00:29:11,060 They've licensed it. 644 00:29:11,160 --> 00:29:13,140 And in the next product release cycle 645 00:29:13,140 --> 00:29:14,340 it will be in their products. 646 00:29:15,260 --> 00:29:17,980 If you go to that website, zphoneproject.com 647 00:29:17,980 --> 00:29:18,440 you'll see 648 00:29:19,460 --> 00:29:20,940 it says customers 649 00:29:20,940 --> 00:29:23,820 and you can see a list of the companies 650 00:29:24,440 --> 00:29:26,320 we've partnered with to license 651 00:29:26,320 --> 00:29:26,980 this code to. 652 00:29:28,740 --> 00:29:30,300 PGP is going to put it in their 653 00:29:30,300 --> 00:29:31,260 VoIP products when they 654 00:29:32,020 --> 00:29:33,040 make VoIP products. 655 00:29:34,340 --> 00:29:36,320 Borderware plans to put it in their products. 656 00:29:36,740 --> 00:29:38,360 It's taken them a while to do it. 657 00:29:39,400 --> 00:29:40,120 They're kind of 658 00:29:40,120 --> 00:29:41,640 moving slowly in VoIP. 659 00:29:44,000 --> 00:29:44,480 Asterisk 660 00:29:44,480 --> 00:29:46,360 is going to be 661 00:29:46,360 --> 00:29:47,740 in all the Asterisk PBX's 662 00:29:47,740 --> 00:29:49,660 so that's going to affect a lot of companies. 663 00:29:52,120 --> 00:29:52,600 There's 664 00:29:52,600 --> 00:29:53,880 a couple of other open source 665 00:29:54,480 --> 00:29:55,960 VoIP projects that are using it. 666 00:29:58,500 --> 00:30:00,100 Go to that page and see who's 667 00:30:00,100 --> 00:30:01,360 doing things with it. 668 00:30:03,220 --> 00:30:03,600 Yeah. 669 00:30:11,980 --> 00:30:14,280 Yeah, the person at the other end has to have it 670 00:30:14,280 --> 00:30:16,420 but if they don't, it just probes to find out 671 00:30:16,420 --> 00:30:18,360 if they have it. And if they don't, then that's fine. 672 00:30:18,460 --> 00:30:20,200 It just steps out of the way. 673 00:30:20,340 --> 00:30:21,620 No harm done. 674 00:30:21,620 --> 00:30:22,160 You know. 675 00:30:22,780 --> 00:30:24,860 It quietly probes for 676 00:30:24,860 --> 00:30:25,800 its peer. 677 00:30:27,480 --> 00:30:28,060 Yeah. 678 00:30:30,800 --> 00:30:35,600 You know, some people have talked about 679 00:30:35,600 --> 00:30:36,940 using IPsec to 680 00:30:37,620 --> 00:30:39,620 run, to encrypt 681 00:30:39,620 --> 00:30:41,280 VoIP. And I think that you can 682 00:30:41,280 --> 00:30:43,300 possibly make that work in very limited 683 00:30:43,300 --> 00:30:44,820 circumstances. If you're 684 00:30:44,820 --> 00:30:47,400 if you have your PBX tied to another 685 00:30:47,400 --> 00:30:49,840 one of your branch offices with their PBX 686 00:30:49,840 --> 00:30:51,460 you control both ends. You 687 00:30:51,620 --> 00:30:53,400 own both ends. You might be able to get it to work. 688 00:30:53,760 --> 00:30:55,440 But in the general case, 689 00:30:55,720 --> 00:30:57,400 IPsec is not a good choice for 690 00:30:57,400 --> 00:30:59,020 encrypting VoIP because 691 00:30:59,700 --> 00:31:01,060 it's too low a layer. 692 00:31:01,240 --> 00:31:03,240 It's down at the IP layer. And 693 00:31:03,240 --> 00:31:05,140 there's nothing to tell you if it's 694 00:31:05,140 --> 00:31:07,620 there or not. You can't tell. What if the other party 695 00:31:07,620 --> 00:31:09,560 doesn't have IPsec? How are you going to 696 00:31:09,560 --> 00:31:11,660 know? How are you going to know this call is encrypted? 697 00:31:11,880 --> 00:31:13,220 And if you don't know the call is encrypted, 698 00:31:13,900 --> 00:31:15,060 why even have encryption? 699 00:31:15,540 --> 00:31:17,620 How are you going to know when you've got to just talk about 700 00:31:17,620 --> 00:31:19,260 the weather or when you can talk about 701 00:31:19,260 --> 00:31:19,920 secret stuff? 702 00:31:22,160 --> 00:31:23,740 So it's just too low. 703 00:31:23,900 --> 00:31:25,780 You really need to have the encryption 704 00:31:25,780 --> 00:31:27,540 happening close to the user 705 00:31:27,540 --> 00:31:29,060 at the application layer. 706 00:31:30,480 --> 00:31:31,200 Now this 707 00:31:31,200 --> 00:31:33,180 Zphone thing that I showed you, 708 00:31:33,240 --> 00:31:35,540 the Zphone application, has a GUI 709 00:31:35,540 --> 00:31:37,600 running at the application layer to talk to 710 00:31:37,600 --> 00:31:39,340 the user and let them see that the call is secure. 711 00:31:39,540 --> 00:31:41,660 But it's got this daemon running down below 712 00:31:41,660 --> 00:31:43,620 at the IP layer. So it's kind of 713 00:31:43,620 --> 00:31:45,600 it's got this hybrid approach. 714 00:31:46,200 --> 00:31:47,580 But if you put it into 715 00:31:47,580 --> 00:31:49,600 the, if you take the SDK that we 716 00:31:49,600 --> 00:31:51,600 have and stick it into your VoIP client, then you're going to 717 00:31:51,620 --> 00:31:53,160 be entirely at the application layer. 718 00:31:54,880 --> 00:31:55,340 Yeah? 719 00:32:06,580 --> 00:32:07,660 You asked me 720 00:32:07,660 --> 00:32:09,520 about generating the session key. What was it? 721 00:32:10,740 --> 00:32:11,680 Yeah, we generate 722 00:32:11,680 --> 00:32:12,360 the session key. 723 00:32:13,060 --> 00:32:15,640 All of our key material is created at 724 00:32:15,640 --> 00:32:17,720 the start of the call and destroyed at the end of the call. 725 00:32:18,260 --> 00:32:18,720 So 726 00:32:19,300 --> 00:32:21,560 it's completely ephemeral. There's no public 727 00:32:21,620 --> 00:32:23,460 key infrastructure. There's no persistent keys. 728 00:32:23,720 --> 00:32:25,560 But one thing that we do 729 00:32:25,560 --> 00:32:27,180 is we destroy, 730 00:32:27,360 --> 00:32:29,440 before we destroy the keys, we hash 731 00:32:29,440 --> 00:32:31,560 the session key material and store 732 00:32:31,560 --> 00:32:33,360 it in a cache. 733 00:32:33,640 --> 00:32:35,640 So that the next time you make a call 734 00:32:35,640 --> 00:32:36,560 to the same person, 735 00:32:37,100 --> 00:32:39,600 it does the same old Diffie-Hellman 736 00:32:39,600 --> 00:32:41,360 exchange you always do for every call. 737 00:32:41,480 --> 00:32:42,880 But it also mixes in 738 00:32:42,880 --> 00:32:45,520 the earlier session 739 00:32:45,520 --> 00:32:47,520 information, the key 740 00:32:47,520 --> 00:32:49,420 material that was hashed 741 00:32:49,420 --> 00:32:51,600 so that if there was 742 00:32:51,620 --> 00:32:53,600 no man-in-the-middle attack in the earlier call, 743 00:32:53,760 --> 00:32:55,380 there cannot be a man-in-the-middle attack 744 00:32:55,380 --> 00:32:57,660 in this call. Which means that 745 00:32:57,660 --> 00:32:59,480 that thing about comparing 746 00:32:59,480 --> 00:33:01,480 the short authentication string, you don't really 747 00:33:01,480 --> 00:33:03,080 have to compare it on every call. 748 00:33:03,420 --> 00:33:05,640 In fact, you might call somebody 749 00:33:05,640 --> 00:33:06,680 a hundred times 750 00:33:07,520 --> 00:33:09,260 for a whole year 751 00:33:09,260 --> 00:33:11,640 and just never check the short authentication 752 00:33:11,640 --> 00:33:12,860 string because you're lazy. 753 00:33:13,640 --> 00:33:15,120 But then after a year, 754 00:33:16,080 --> 00:33:17,480 you decide that today 755 00:33:17,480 --> 00:33:19,400 we're going to talk about secret stuff. We've just 756 00:33:19,400 --> 00:33:21,580 spent a year wasting our time talking about the weather. 757 00:33:21,620 --> 00:33:23,380 But today we're going to talk about secret stuff. 758 00:33:23,500 --> 00:33:25,540 So let's compare the short authentication string. 759 00:33:25,740 --> 00:33:27,560 So you compare it. It matches. 760 00:33:27,700 --> 00:33:29,680 That means there's no man-in-the-middle on this call. 761 00:33:29,880 --> 00:33:31,260 But it also retroactively 762 00:33:31,260 --> 00:33:33,200 demonstrates there is no man-in-the-middle 763 00:33:33,200 --> 00:33:35,480 all the way back to the first call a year ago. 764 00:33:35,980 --> 00:33:37,300 A hundred phone calls 765 00:33:37,300 --> 00:33:38,760 kind of retroactively 766 00:33:39,680 --> 00:33:40,120 protected. 767 00:33:41,360 --> 00:33:42,820 They're not retroactively protected. 768 00:33:44,020 --> 00:33:45,980 You discover retroactively 769 00:33:45,980 --> 00:33:47,900 that they weren't wiretapped. 770 00:33:48,020 --> 00:33:49,120 Which makes you feel good. 771 00:33:49,300 --> 00:33:51,520 It's kind of like being able to 772 00:33:51,620 --> 00:33:53,640 floss your teeth only on the morning 773 00:33:53,640 --> 00:33:54,780 you go to the dentist office 774 00:33:55,460 --> 00:33:56,700 instead of every day. 775 00:34:05,660 --> 00:34:07,140 The short authentication 776 00:34:07,140 --> 00:34:08,720 string that we compare 777 00:34:09,460 --> 00:34:10,980 is derived from the 778 00:34:11,580 --> 00:34:13,520 session key. It's actually derived 779 00:34:13,520 --> 00:34:14,700 from the Diffie-Hellman result. 780 00:34:18,700 --> 00:34:20,440 What was the question? I can't hear you. 781 00:34:22,960 --> 00:34:24,240 How do I derive it? 782 00:34:24,360 --> 00:34:24,760 How do I derive it? 783 00:34:24,920 --> 00:34:26,480 Well, I use an HMAC. 784 00:34:26,620 --> 00:34:27,740 I hash it. 785 00:34:27,840 --> 00:34:30,260 I do a Diffie-Hellman exchange 786 00:34:30,260 --> 00:34:32,180 and then I hash a bunch of things together 787 00:34:32,180 --> 00:34:35,200 to produce a shared secret. 788 00:34:35,400 --> 00:34:37,080 And then I derive a bunch of other secrets 789 00:34:37,080 --> 00:34:38,960 from that, such as the session key, 790 00:34:40,360 --> 00:34:41,420 an HMAC key 791 00:34:41,420 --> 00:34:43,100 for protecting certain 792 00:34:43,480 --> 00:34:44,980 packets that I use elsewhere in the protocol, 793 00:34:45,180 --> 00:34:47,080 and also the short authentication string. 794 00:34:47,500 --> 00:34:49,240 So at the end of the call 795 00:34:49,240 --> 00:34:50,780 I erase everything, except 796 00:34:51,460 --> 00:34:51,980 for 797 00:34:51,980 --> 00:34:55,240 oh, and also I forgot to mention 798 00:34:55,900 --> 00:34:56,420 some 799 00:34:57,160 --> 00:34:58,760 one of the things I save is 800 00:34:58,760 --> 00:35:00,720 stuff that I put in the cache, 801 00:35:01,340 --> 00:35:03,080 but I derive that with the same 802 00:35:03,080 --> 00:35:05,140 kind of HMAC process that I derive 803 00:35:05,140 --> 00:35:05,840 everything else. 804 00:35:07,520 --> 00:35:09,000 So you can't reconstruct 805 00:35:09,000 --> 00:35:10,920 anything by knowing the short authentication 806 00:35:10,920 --> 00:35:13,160 string. You can't reconstruct anything 807 00:35:13,160 --> 00:35:14,640 from knowing what's in the cache. 808 00:35:14,900 --> 00:35:16,500 If somebody steals your laptop computer 809 00:35:16,500 --> 00:35:19,160 and they get your cache, they're not going to be able 810 00:35:19,240 --> 00:35:21,160 to figure out, even if they recorded 811 00:35:21,880 --> 00:35:22,760 yesterday's phone call, 812 00:35:22,960 --> 00:35:24,680 they have all the encrypted traffic, 813 00:35:24,840 --> 00:35:26,880 and they steal your laptop today, 814 00:35:27,140 --> 00:35:28,760 they're not going to be able to use that to reconstruct 815 00:35:28,760 --> 00:35:30,120 your phone call from yesterday. 816 00:35:32,060 --> 00:35:32,500 Now, 817 00:35:32,580 --> 00:35:35,160 it also means that they could use 818 00:35:35,160 --> 00:35:37,220 that cache to be a man in the middle 819 00:35:37,220 --> 00:35:39,260 on the next call, but it has this kind 820 00:35:39,260 --> 00:35:41,100 of self-healing property that 821 00:35:41,100 --> 00:35:43,020 if they miss a single call, 822 00:35:43,700 --> 00:35:44,980 if they aren't there 823 00:35:44,980 --> 00:35:46,600 for the next call, 824 00:35:47,240 --> 00:35:48,640 then they miss their chance. 825 00:35:49,240 --> 00:35:50,120 It heals itself, 826 00:35:50,380 --> 00:35:50,820 and 827 00:35:52,940 --> 00:35:55,220 you constantly change what's in the cache 828 00:35:55,220 --> 00:35:56,540 with every call. 829 00:35:58,960 --> 00:36:00,960 You're immune to the man in the middle who stole 830 00:36:00,960 --> 00:36:02,880 your laptop yesterday if he's not there 831 00:36:02,880 --> 00:36:04,360 with every call that comes after that. 832 00:36:09,140 --> 00:36:09,620 Yeah? 833 00:36:31,660 --> 00:36:33,060 . 834 00:36:33,060 --> 00:36:48,940 The difficulty of breaking public 835 00:36:48,940 --> 00:36:50,780 key algorithms is different from 836 00:36:50,780 --> 00:36:52,720 the difficulty of breaking block 837 00:36:52,720 --> 00:36:54,680 ciphers. Public key 838 00:36:54,680 --> 00:36:55,920 algorithms are using 839 00:36:57,440 --> 00:36:58,640 mathematics that 840 00:36:58,640 --> 00:36:59,940 is not 841 00:37:01,440 --> 00:37:02,980 exponential in the same 842 00:37:02,980 --> 00:37:04,700 way that keys are 843 00:37:04,700 --> 00:37:06,580 for block ciphers. So, 844 00:37:06,680 --> 00:37:08,840 128-bit key for a 845 00:37:08,840 --> 00:37:10,400 block cipher requires 846 00:37:10,860 --> 00:37:12,540 2 to the 128th, well, 847 00:37:12,640 --> 00:37:14,460 maybe 2 to the 127th on the average 848 00:37:14,460 --> 00:37:16,700 steps to try all the keys to do 849 00:37:16,700 --> 00:37:18,660 key exhaustion, but for 850 00:37:20,220 --> 00:37:20,740 RSA, 851 00:37:20,940 --> 00:37:22,900 Diffie-Hellman, or El Gamal, or one of 852 00:37:22,900 --> 00:37:24,760 those traditional public key 853 00:37:24,760 --> 00:37:26,820 algorithms, you have to 854 00:37:26,820 --> 00:37:28,600 have a much, much bigger key size 855 00:37:28,600 --> 00:37:30,820 because you're not just going to do key exhaustion, 856 00:37:31,060 --> 00:37:32,880 you're going to try to do factoring, which is 857 00:37:32,880 --> 00:37:34,500 a much more complicated thing to do. 858 00:37:35,820 --> 00:37:36,860 But it 859 00:37:36,860 --> 00:37:38,300 also is faster 860 00:37:38,860 --> 00:37:40,940 than just trying all the possible 861 00:37:40,940 --> 00:37:42,640 keys. So, 862 00:37:44,060 --> 00:37:44,860 they're really 863 00:37:44,860 --> 00:37:46,440 in different areas of mathematics, 864 00:37:46,800 --> 00:37:48,740 so the key sizes are quite different. 865 00:37:49,640 --> 00:37:50,420 . 866 00:38:03,600 --> 00:38:04,380 . 867 00:38:07,240 --> 00:38:08,020 Yeah, 868 00:38:08,180 --> 00:38:11,040 right now 128-bit 869 00:38:11,040 --> 00:38:12,620 block cipher key sizes 870 00:38:12,620 --> 00:38:14,100 are still good. 871 00:38:14,750 --> 00:38:16,900 They're not going to be vulnerable 872 00:38:16,900 --> 00:38:17,800 to Moore's law. 873 00:38:20,820 --> 00:38:25,880 And Diffie-Hellman 3000 is about the same work factor as a 128-bit block cipher key. 874 00:38:26,780 --> 00:38:33,020 So whatever you can say about the amount of computing you have to do for that applies to the other one, 875 00:38:33,080 --> 00:38:35,440 even though they're very different techniques. 876 00:38:36,180 --> 00:38:40,120 You know, let's look at, let's just try to, you know, I get a lot of email from people saying, 877 00:38:40,180 --> 00:38:41,420 why don't you just make the keys bigger? 878 00:38:41,620 --> 00:38:44,680 You know, I'm unhappy with this key size. I really want bigger key size. 879 00:38:44,680 --> 00:38:48,720 And it's kind of like, it's like arguing about the size of your dick. 880 00:38:48,860 --> 00:38:51,900 You know, it's got to be, it's got to be big. 881 00:38:51,980 --> 00:38:54,960 No one's happy with the size that they have. They want bigger, right? 882 00:38:56,280 --> 00:39:03,000 So, you know, let me assure you that 128-bit size is plenty big, okay? 883 00:39:11,020 --> 00:39:14,200 And let's just take a moment to just see why that, 884 00:39:14,200 --> 00:39:14,660 why that's the case. 885 00:39:14,680 --> 00:39:15,720 Why that size is appropriate. 886 00:39:16,060 --> 00:39:21,460 Because, you know, some years ago, somebody built a special machine to exhaust all the keys 887 00:39:21,460 --> 00:39:24,140 in the DES key space, 56-bit keys. 888 00:39:26,140 --> 00:39:30,280 And so, in fact, today it would be even easier because of Moore's Law. 889 00:39:31,620 --> 00:39:37,260 But if you look at 56-bit keys for DES versus 128-bit keys for, you know, 890 00:39:37,260 --> 00:39:42,000 a lot of other block ciphers that we use today, that's a difference of 72 bits. 891 00:39:42,360 --> 00:39:44,660 Each one of those bits doubles the work factor. 892 00:39:44,660 --> 00:39:52,140 Well, Moore's Law doubles processing power every 18 months in its kind of simplistic form of Moore's Law. 893 00:39:53,860 --> 00:40:00,380 And so, each generation of Moore's Law is worth one bit of key for a block cipher. 894 00:40:00,620 --> 00:40:07,520 So, 72 generations of Moore's Law of 18 months, 72 times 18 months, that's over a century. 895 00:40:07,720 --> 00:40:14,440 There are no engineers anywhere in the world today who believe that Moore's Law will go on for a century. 896 00:40:15,000 --> 00:40:19,220 Go ask Intel engineers and they'll tell you that they're running out of steam. 897 00:40:20,920 --> 00:40:24,800 They're not going to be able to keep doubling processing speed every 18 months. 898 00:40:25,040 --> 00:40:26,160 You know, they're running into problems. 899 00:40:26,300 --> 00:40:32,080 As these gate sizes get down to the size of atoms, there's no place left to go. 900 00:40:32,880 --> 00:40:35,620 And the heat is too great and all that stuff. 901 00:40:35,880 --> 00:40:37,540 So, you know, we're running out of steam. 902 00:40:37,620 --> 00:40:39,760 We're not going to have another 100 years of Moore's Law. 903 00:40:40,020 --> 00:40:44,420 So, 128-bit keys are going to be out of reach of Moore's Law for a long time. 904 00:40:46,420 --> 00:40:52,340 And even quantum computers, you know, you're going to have to have a lot of quantum computers. 905 00:40:53,380 --> 00:40:56,780 And nobody has a working quantum computer that matters. 906 00:40:58,980 --> 00:41:02,000 Was that hand that went up going to ask about quantum computers? 907 00:41:02,940 --> 00:41:04,180 Okay, go ahead. 908 00:41:14,440 --> 00:41:14,860 . 909 00:41:21,140 --> 00:41:22,920 Yeah, we have that in the protocol. 910 00:41:23,160 --> 00:41:27,080 We have other ways of augmenting the protocol. 911 00:41:28,840 --> 00:41:32,600 We do have the ability to add a prearranged shared secret. 912 00:41:32,760 --> 00:41:36,020 And we also have the cache shared secret that we had from earlier calls. 913 00:41:36,300 --> 00:41:41,360 Plus, not every application is going to have a graphical user interface with two human beings 914 00:41:41,360 --> 00:41:44,280 to compare the shared authentication strings. 915 00:41:44,440 --> 00:41:50,520 So, we added something to make it so that you could have a digital signature in the last packet 916 00:41:50,520 --> 00:41:54,140 that says, here's a digital signature of the shared authentication string. 917 00:41:54,320 --> 00:41:55,120 It's sent across. 918 00:41:55,440 --> 00:41:57,020 But then you need a public key infrastructure. 919 00:41:57,280 --> 00:42:03,200 Or you need the signature key backed by something else, like key continuity, the way SSH does it. 920 00:42:05,060 --> 00:42:06,660 And we're going to implement that. 921 00:42:06,740 --> 00:42:08,660 We'll do, at the very least, key continuity. 922 00:42:08,940 --> 00:42:11,040 I really don't like public key infrastructure. 923 00:42:11,400 --> 00:42:14,000 In the 1990s, many companies went out of business 924 00:42:14,440 --> 00:42:15,560 trying to build public key infrastructure. 925 00:42:16,120 --> 00:42:21,740 I don't think that public key infrastructure is the right approach for secure VoIP. 926 00:42:22,380 --> 00:42:24,340 I don't think it was the right approach for email. 927 00:42:24,620 --> 00:42:27,940 And PGP didn't really have PKI for email. 928 00:42:28,080 --> 00:42:31,620 It used something, well, it was a sort of public key infrastructure, 929 00:42:31,860 --> 00:42:33,720 but it wasn't like the centrally managed one. 930 00:42:34,300 --> 00:42:40,900 And I think VoIP is just not the right place to be trying to make PKI work. 931 00:42:41,280 --> 00:42:41,820 . 932 00:42:43,460 --> 00:42:44,020 Yeah? 933 00:42:44,320 --> 00:42:44,880 . 934 00:42:48,460 --> 00:42:51,720 Well, you know, the question is about export controls. 935 00:42:51,840 --> 00:42:54,520 Export controls have largely disappeared since 2000. 936 00:42:54,900 --> 00:42:57,540 That's when the U.S. government changed the law. 937 00:42:57,760 --> 00:43:02,660 The only residual export controls we have for software, encryption software, 938 00:43:02,800 --> 00:43:08,180 is the few countries that we're not allowed to export to. 939 00:43:08,240 --> 00:43:10,700 North Korea, Iran, Syria, Sudan. 940 00:43:10,820 --> 00:43:11,160 . 941 00:43:11,820 --> 00:43:13,380 You know, it's a handful of countries. 942 00:43:14,600 --> 00:43:17,360 And that doesn't really affect us that much. 943 00:43:17,540 --> 00:43:19,780 However, when you download it from my website, 944 00:43:20,020 --> 00:43:23,300 you have to fill in a form that says your name and your email address, 945 00:43:23,600 --> 00:43:25,280 and it checks your IP address, 946 00:43:25,460 --> 00:43:31,900 and it sends you an email confirmation message with a URL that you click on to download it. 947 00:43:31,980 --> 00:43:34,880 So it does check to see if you're in one of the embargoed countries. 948 00:43:35,740 --> 00:43:37,980 And by doing that, it keeps me out of trouble. 949 00:43:38,400 --> 00:43:40,280 And I really would like to keep out of trouble. 950 00:43:40,280 --> 00:43:42,600 Been there, done that. 951 00:43:45,300 --> 00:43:45,780 . 952 00:43:47,720 --> 00:43:48,200 Yes? 953 00:43:49,240 --> 00:43:49,720 . 954 00:43:52,420 --> 00:43:52,900 What? 955 00:43:56,920 --> 00:43:57,400 . 956 00:44:03,860 --> 00:44:07,200 Yeah, it's easy to see that the RTP stream is encrypted. 957 00:44:07,600 --> 00:44:09,920 Because somebody could just look at the stream 958 00:44:09,920 --> 00:44:12,660 and they could see, well, at the very least, 959 00:44:12,660 --> 00:44:14,960 there's authentication tags on every packet. 960 00:44:15,160 --> 00:44:18,400 But even if we got rid of those and just kept it exactly the same packet size, 961 00:44:19,240 --> 00:44:20,740 you'd be able to see that it was encrypted 962 00:44:20,740 --> 00:44:23,000 because if you tried to run it through a codec, 963 00:44:23,020 --> 00:44:24,780 it wouldn't make any intelligible sounds. 964 00:44:25,960 --> 00:44:30,720 If it was G711, the one that doesn't compress anything, 965 00:44:30,900 --> 00:44:33,080 if you played that, it would actually make white noise. 966 00:44:33,780 --> 00:44:36,940 I used to have this little demo feature that I could click a button 967 00:44:36,940 --> 00:44:37,960 and it would play white noise. 968 00:44:37,960 --> 00:44:41,900 It would play the ciphertext out through the G711 codec. 969 00:44:41,980 --> 00:44:44,380 The problem is that it started using other codecs 970 00:44:44,380 --> 00:44:46,940 and then sometimes it would crash the codec. 971 00:44:48,920 --> 00:44:51,460 So I don't have that on hand anymore. 972 00:44:54,120 --> 00:44:56,860 So yeah, they're going to know you're encrypting your phone calls, 973 00:44:56,980 --> 00:44:59,620 but I don't think that matters because the entire infrastructure 974 00:44:59,620 --> 00:45:02,020 of the entire world is going to have to encrypt VoIP. 975 00:45:02,380 --> 00:45:05,480 Everybody, billions of people are going to have to encrypt their VoIP calls 976 00:45:05,480 --> 00:45:07,480 because VoIP is intrinsically insecure. 977 00:45:08,140 --> 00:45:12,120 We have to protect our nation's critical infrastructure. 978 00:45:12,560 --> 00:45:14,920 Otherwise, we're going to be owned. 979 00:45:15,140 --> 00:45:17,280 Now, what's the proper pronunciation of owned? 980 00:45:17,400 --> 00:45:21,760 Is it the zero, W, N, three, D or something like that? 981 00:45:22,100 --> 00:45:23,320 How do you pronounce that? 982 00:45:23,420 --> 00:45:27,800 We're going to be owned by the Chinese or the Russian mafia 983 00:45:27,800 --> 00:45:31,980 or whatever, fill in the blank, if we don't encrypt our VoIP. 984 00:45:32,260 --> 00:45:32,740 Yeah? 985 00:45:32,960 --> 00:45:33,520 . 986 00:45:36,780 --> 00:45:37,340 Legislation? 987 00:45:38,080 --> 00:45:41,140 You know, there is legislation now called CALEA 988 00:45:41,140 --> 00:45:43,900 that says that phone companies have to turn over their key material 989 00:45:43,900 --> 00:45:45,440 to the government for wiretap. 990 00:45:45,800 --> 00:45:49,120 But my protocol negotiates the keys at the end users, 991 00:45:49,240 --> 00:45:51,480 not involving the phone company at all. 992 00:45:51,620 --> 00:45:55,140 So the phone companies will not be in violation of CALEA 993 00:45:55,140 --> 00:45:57,580 if the end users are using this protocol. 994 00:46:00,100 --> 00:46:03,640 In fact, one could argue that it kind of is good for the phone companies. 995 00:46:03,700 --> 00:46:04,660 It gets them out of the way. 996 00:46:05,300 --> 00:46:05,740 . 997 00:46:08,320 --> 00:46:09,740 What was the question? 998 00:46:10,180 --> 00:46:10,780 . 999 00:46:18,100 --> 00:46:22,480 Oh, having legislation to enforce people to encrypt. 1000 00:46:22,600 --> 00:46:27,220 Well, there is a lot of legislation right now to enforce that federal agencies 1001 00:46:27,220 --> 00:46:29,560 have to use laptop computers with full disk encryption 1002 00:46:29,560 --> 00:46:31,140 because we keep losing laptops. 1003 00:46:32,500 --> 00:46:35,100 Let me talk about something else about using law. 1004 00:46:35,740 --> 00:46:38,060 We don't need to use electronic devices to prevent wiretapping or wowdash fraud, 1005 00:46:38,380 --> 00:46:41,080 I did something very unusual in this protocol. 1006 00:46:42,080 --> 00:46:48,780 I did something where I, probably a lot of you know that I really hate software patents. 1007 00:46:49,100 --> 00:46:51,080 I don't know if you know that, but I do. 1008 00:46:51,180 --> 00:46:52,160 I hate software patents. 1009 00:46:52,320 --> 00:46:53,880 I despise software patents. 1010 00:46:54,440 --> 00:46:58,240 But I applied for a software patent here 1011 00:46:58,240 --> 00:47:00,900 for some of the ideas used in this protocol, 1012 00:47:01,140 --> 00:47:03,060 and I'm using it for good instead of evil. 1013 00:47:03,540 --> 00:47:05,600 And here's the good that I'm talking about. 1014 00:47:06,260 --> 00:47:09,420 You see, I put a feature in the protocol 1015 00:47:09,420 --> 00:47:14,820 so that if somebody uses this protocol 1016 00:47:14,820 --> 00:47:19,160 in a phone that provides the keys to a third party, 1017 00:47:19,560 --> 00:47:20,940 you know, kind of like the Clipper chip. 1018 00:47:21,020 --> 00:47:22,840 Remember the Clipper chip from the 1990s? 1019 00:47:23,240 --> 00:47:24,620 If somebody does that, 1020 00:47:24,620 --> 00:47:29,200 they have to declare it in one of the packets. 1021 00:47:29,440 --> 00:47:32,280 There's a disclosure flag I defined in the protocol, 1022 00:47:32,480 --> 00:47:34,360 and you have to set that disclosure flag 1023 00:47:34,360 --> 00:47:36,440 if you're going to give the key away to somebody. 1024 00:47:37,560 --> 00:47:39,840 And if you don't do that, 1025 00:47:40,520 --> 00:47:42,980 then you're not allowed to use my patent for free. 1026 00:47:45,800 --> 00:47:47,440 You are allowed to use my patent. 1027 00:47:47,560 --> 00:47:49,080 Everybody can use my patent for free 1028 00:47:49,960 --> 00:47:53,020 unless you don't set the disclosure flag 1029 00:47:53,020 --> 00:47:54,420 when you're giving the key 1030 00:47:54,420 --> 00:47:54,600 to somebody else. 1031 00:47:54,600 --> 00:47:57,300 I can't stop you from giving the key to someone else. 1032 00:47:57,360 --> 00:47:59,360 Remember, I can do that in my own products. 1033 00:47:59,440 --> 00:48:02,080 I can make sure my products don't give up the key to someone else 1034 00:48:02,080 --> 00:48:04,720 because I can control my own products. 1035 00:48:04,920 --> 00:48:06,220 But remember, this is a protocol. 1036 00:48:06,420 --> 00:48:07,980 That means anyone can implement it. 1037 00:48:08,200 --> 00:48:09,620 It's a protocol. It's not a product. 1038 00:48:11,060 --> 00:48:12,860 So someone could take the protocol 1039 00:48:12,860 --> 00:48:14,340 and put it in their product, 1040 00:48:14,400 --> 00:48:17,700 and their product could act like a Clipper chip 1041 00:48:17,700 --> 00:48:20,920 and give the key out of band to a third party. 1042 00:48:21,600 --> 00:48:23,920 I can't stop them from doing something out of band, 1043 00:48:24,040 --> 00:48:24,580 but what I can do is I can give them the key 1044 00:48:24,580 --> 00:48:26,920 and I can do is say that, look, if you do that, 1045 00:48:27,320 --> 00:48:29,180 and there are plenty of legitimate reasons 1046 00:48:29,180 --> 00:48:30,820 why companies might need to do that, 1047 00:48:30,940 --> 00:48:33,220 like stockbrokers need to record your calls 1048 00:48:33,220 --> 00:48:34,920 because they want to prevent insider trading, 1049 00:48:35,100 --> 00:48:36,480 they want to keep their guys honest, 1050 00:48:36,660 --> 00:48:38,340 or maybe a nuclear weapons facility 1051 00:48:38,340 --> 00:48:40,960 has to make sure that the guy's not calling 1052 00:48:40,960 --> 00:48:43,420 his buddies outside who are going to attack the place 1053 00:48:43,420 --> 00:48:44,240 or something. I don't know. 1054 00:48:44,440 --> 00:48:47,140 But there are some reasons why 1055 00:48:47,520 --> 00:48:48,900 companies might need to do that, 1056 00:48:48,960 --> 00:48:49,840 and that's fine with me. 1057 00:48:49,900 --> 00:48:51,840 I don't have a problem with that at all. 1058 00:48:52,360 --> 00:48:53,680 But if you're going to make a phone 1059 00:48:53,680 --> 00:48:54,560 and sell it on the market, 1060 00:48:54,580 --> 00:48:56,380 and try to get people to buy it, 1061 00:48:56,460 --> 00:48:57,600 you've got to confess 1062 00:48:58,560 --> 00:49:01,340 that you're disclosing the key 1063 00:49:01,340 --> 00:49:02,260 to a third party, 1064 00:49:02,380 --> 00:49:04,020 and you've got to put that in the packet. 1065 00:49:04,520 --> 00:49:05,760 And if you don't do that, 1066 00:49:05,900 --> 00:49:07,000 you can't use the patent. 1067 00:49:08,700 --> 00:49:09,800 And that's what I mean. 1068 00:49:10,040 --> 00:49:11,620 And it's free. The patent's free. 1069 00:49:12,500 --> 00:49:12,860 Otherwise. 1070 00:49:14,860 --> 00:49:16,540 And maybe I'll still let them use it, 1071 00:49:16,580 --> 00:49:18,020 but they have to pay me a lot of money. 1072 00:49:18,080 --> 00:49:19,980 I don't know. Maybe I won't let them use it. 1073 00:49:20,020 --> 00:49:22,080 But the point is they don't get a free license 1074 00:49:22,480 --> 00:49:23,980 if they're going to do that kind of stuff. 1075 00:49:24,580 --> 00:49:26,240 So that's what I mean by using the patent 1076 00:49:26,240 --> 00:49:27,860 for good instead of evil. 1077 00:49:31,120 --> 00:49:31,520 What? 1078 00:49:34,520 --> 00:49:35,040 Or what? 1079 00:49:36,280 --> 00:49:37,020 My pockets? 1080 00:49:38,040 --> 00:49:40,160 Well, they could pay me. 1081 00:49:40,240 --> 00:49:41,000 Yeah, lots of money. 1082 00:49:41,120 --> 00:49:41,840 Yeah, yeah. 1083 00:49:42,760 --> 00:49:44,220 But, you know, it would be known.