1 00:00:00,000 --> 00:00:05,260 Hi, I'm Phil Zimmerman, and I'm here to talk about my Secure VoIP project. 2 00:00:05,440 --> 00:00:09,920 I've talked at DEF CON before about it, but I thought I'd bring in an update. 3 00:00:10,780 --> 00:00:17,680 This was kind of a substitute talk for a time slot that opened up, 4 00:00:17,760 --> 00:00:20,980 so this is not well prepared in advance, 5 00:00:21,240 --> 00:00:27,140 but perhaps I can just show you what I've been up to lately, especially since last year. 6 00:00:28,500 --> 00:00:35,600 The project is called ZPhone, and what I have is three things. 7 00:00:35,720 --> 00:00:42,760 I have a protocol specification that describes how to negotiate cryptographic keys 8 00:00:42,760 --> 00:00:46,940 for an encrypted voice over IP call. 9 00:00:48,160 --> 00:00:52,980 There's also a software development kit that implements the protocol 10 00:00:53,700 --> 00:00:56,640 that can be used in the creation of other, 11 00:00:57,140 --> 00:00:59,920 VoIP products, so that if you are making a VoIP phone 12 00:00:59,920 --> 00:01:04,060 and you want to put my SDK into your VoIP firmware, 13 00:01:04,300 --> 00:01:07,220 or if you're making a soft VoIP client, you can put it in that, 14 00:01:07,820 --> 00:01:09,460 or you can put it in a PBX. 15 00:01:09,520 --> 00:01:10,760 We have it running on Asterisk. 16 00:01:10,820 --> 00:01:12,140 I'm going to be demonstrating that today. 17 00:01:13,920 --> 00:01:19,400 Then your VoIP product becomes capable of running my protocol. 18 00:01:19,580 --> 00:01:20,940 The protocol is called ZRTP. 19 00:01:23,400 --> 00:01:27,120 The third thing that we have is an application called ZRTP, 20 00:01:27,140 --> 00:01:28,740 or ZPhone, that makes use of this protocol. 21 00:01:29,420 --> 00:01:34,020 ZPhone is not a VoIP client, but rather is an IP filter that runs in your IP stack 22 00:01:34,020 --> 00:01:38,280 that filters the VoIP traffic as it goes in and out of your computer. 23 00:01:38,960 --> 00:01:42,340 So it's sort of like a bump in the wire, except there's no wire, 24 00:01:42,480 --> 00:01:44,120 so it's like a bump in the IP stack. 25 00:01:44,540 --> 00:01:49,940 So you can run any VoIP client you'd like to run, except for Skype, 26 00:01:51,500 --> 00:01:56,260 and Skype doesn't tell you what their protocol is, or they're pretty secretive about it. 27 00:01:56,720 --> 00:01:57,120 So you can run any VoIP client you'd like to run, except for Skype, and Skype doesn't tell you what their protocol is, or they're pretty secretive about it. 28 00:01:57,960 --> 00:01:58,960 So you can run any VoIP client you'd like to run, except for Skype, 29 00:01:58,960 --> 00:02:03,340 So if you're running one of the other VoIP clients, like I like to run Apple iChat, or Gizmo, 30 00:02:03,540 --> 00:02:07,320 or a couple of other ones that I like to run, 31 00:02:07,760 --> 00:02:09,420 and I'll be showing three of them here. 32 00:02:09,620 --> 00:02:11,080 So I'm going to take down this web page. 33 00:02:11,180 --> 00:02:12,540 This is the ZPhone project website. 34 00:02:14,300 --> 00:02:21,320 Our sort of thing that we like to say is that ZPhone lets you whisper in someone's ear from 1,000 miles away, 35 00:02:21,540 --> 00:02:26,300 and that's the kind of sort of breakthrough experience that this brings you. 36 00:02:26,920 --> 00:02:28,700 We're going to get rid of that there. 37 00:02:28,940 --> 00:02:33,180 And the first thing I'm going to do is run Apple iChat. 38 00:02:33,760 --> 00:02:35,500 Now, this is the ZPhone GUI. 39 00:02:35,580 --> 00:02:39,760 It's put there by the daemon that's sitting in there running the IP filter. 40 00:02:39,960 --> 00:02:47,100 It's going to watch for a VoIP call, like the iChat VoIP client is going to do a connection. 41 00:02:47,320 --> 00:02:52,240 ZPhone will intervene and do a key exchange at the beginning using Diffie-Hellman, 42 00:02:52,240 --> 00:02:56,600 and then it will start encrypting it. 43 00:03:03,100 --> 00:03:05,260 I hope we've got some sound coming out of the laptop. 44 00:03:05,740 --> 00:03:06,440 Ah, there we go. 45 00:03:09,240 --> 00:03:10,400 Whoa, that's kind of loud. 46 00:03:10,580 --> 00:03:12,140 Hi, Steve. 47 00:03:13,440 --> 00:03:14,420 Don't turn too loud. 48 00:03:14,620 --> 00:03:15,320 I've got to keep it loud. 49 00:03:15,380 --> 00:03:17,860 If it really turned up here, turn the gain down a bit here. 50 00:03:18,980 --> 00:03:20,340 This is my friend Steve. 51 00:03:21,500 --> 00:03:21,860 Howdy. 52 00:03:21,860 --> 00:03:23,240 We demoed with last year. 53 00:03:24,760 --> 00:03:25,120 Howdy. 54 00:03:26,120 --> 00:03:28,920 Okay, so, Steve, it looks like we've made a secure connection. 55 00:03:31,980 --> 00:03:34,400 And we've got secure audio and secure video. 56 00:03:35,500 --> 00:03:38,120 And just to make sure there's no man-in-the-middle attack, 57 00:03:38,420 --> 00:03:41,640 let's see if we're using the same cryptographic keys on both sides. 58 00:03:42,120 --> 00:03:47,920 So the short authentication string is puppy atmosphere. 59 00:03:48,160 --> 00:03:49,160 Is that what you have? 60 00:03:49,900 --> 00:03:51,100 Puppy atmosphere, yes. 61 00:03:51,280 --> 00:03:51,500 Yes. 62 00:03:51,860 --> 00:03:53,520 Your GUI is saying the same thing as mine. 63 00:03:53,660 --> 00:03:57,600 These words are derived from the cryptographic key negotiation 64 00:03:57,600 --> 00:03:58,940 that both sides have done. 65 00:03:59,060 --> 00:04:01,820 If they match, it means there's no man-in-the-middle attack. 66 00:04:03,040 --> 00:04:08,380 So it would be quite a surprise if there was a man-in-the-middle attack, 67 00:04:09,380 --> 00:04:13,940 although considering how many kinds of attacks there have been at DEF CON, 68 00:04:14,580 --> 00:04:16,680 I wouldn't be totally surprised by that. 69 00:04:18,640 --> 00:04:19,120 Okay. 70 00:04:19,120 --> 00:04:23,380 Okay, so I'm going to press clear, so we're going to go to clear mode. 71 00:04:24,220 --> 00:04:24,580 Okay. 72 00:04:33,200 --> 00:04:35,660 So Steve is now not encrypted. 73 00:04:38,220 --> 00:04:39,380 Okay, can you hear me, Steve? 74 00:04:39,960 --> 00:04:40,920 I can hear you fine. 75 00:04:41,000 --> 00:04:42,080 I'm just protecting my identity. 76 00:04:42,420 --> 00:04:43,040 Yeah, that's right. 77 00:04:44,500 --> 00:04:48,480 We certainly wouldn't want anyone to intercept this and figure out who you are. 78 00:04:49,120 --> 00:04:52,120 Okay, Steve, well, either you or I could go back to secure mode again 79 00:04:52,120 --> 00:04:53,140 by pressing this button. 80 00:04:53,820 --> 00:04:55,000 You want to do it or should I? 81 00:04:55,360 --> 00:04:56,180 I guess I'll do it. 82 00:04:56,700 --> 00:04:57,300 I'll do it. 83 00:04:57,340 --> 00:04:57,680 I'll do it. 84 00:05:02,080 --> 00:05:02,400 Okay. 85 00:05:03,980 --> 00:05:06,400 Uh-oh, now you've told me to go clear. 86 00:05:09,460 --> 00:05:10,100 Sorry, I... 87 00:05:10,740 --> 00:05:11,860 Oh, you thought I... 88 00:05:11,860 --> 00:05:12,600 Yeah, okay. 89 00:05:12,780 --> 00:05:13,540 I pressed the button, too. 90 00:05:13,640 --> 00:05:14,260 Yeah, you did. 91 00:05:14,360 --> 00:05:14,620 Okay. 92 00:05:14,760 --> 00:05:16,200 Well, all right, so go back to secure. 93 00:05:16,220 --> 00:05:16,880 I'm going to stop. 94 00:05:19,320 --> 00:05:20,720 Okay, we're secure again. 95 00:05:21,720 --> 00:05:26,840 All right, so next time we'll just have to make sure we understand who's going to press the button 96 00:05:26,840 --> 00:05:29,320 so we have a little bit of... 97 00:05:30,980 --> 00:05:32,500 What is that called? 98 00:05:33,020 --> 00:05:33,680 You know, the... 99 00:05:34,200 --> 00:05:35,260 That's a race condition. 100 00:05:35,620 --> 00:05:36,080 Okay. 101 00:05:36,140 --> 00:05:36,500 Race condition. 102 00:05:37,140 --> 00:05:42,640 All right, so now we're going to switch off the video chat with iChat 103 00:05:42,640 --> 00:05:44,340 and we're going to switch over to Gizmo. 104 00:05:44,980 --> 00:05:45,500 Okay. 105 00:05:45,560 --> 00:05:45,960 Okay. 106 00:05:47,940 --> 00:05:48,880 And now... 107 00:05:49,120 --> 00:05:52,100 Remember, I told you that ZPhone works with just about any VoIP client. 108 00:05:52,200 --> 00:05:57,720 Here's another one here called Gizmo, a popular VoIP client that runs on a lot of platforms. 109 00:06:03,800 --> 00:06:04,880 And there we are. 110 00:06:04,960 --> 00:06:05,560 Can you hear me, Steve? 111 00:06:06,180 --> 00:06:07,220 I can hear you fine. 112 00:06:07,540 --> 00:06:09,180 Okay, and again, we're secure. 113 00:06:10,020 --> 00:06:10,700 Yes, we are. 114 00:06:10,820 --> 00:06:11,980 Zulu Opulent. 115 00:06:12,740 --> 00:06:13,620 Zulu Opulent. 116 00:06:13,720 --> 00:06:19,040 This list of words is the same list of words used by PGP when you compare PGP fingerprints 117 00:06:19,120 --> 00:06:22,700 How many people here have used PGP? 118 00:06:23,460 --> 00:06:23,940 Yeah? 119 00:06:24,060 --> 00:06:27,200 I can see that this is a completely random audience that... 120 00:06:27,200 --> 00:06:31,140 This is a completely random sample of the general population, right? 121 00:06:31,620 --> 00:06:34,320 I wish the ratio were that high in the general population. 122 00:06:34,820 --> 00:06:40,240 So you know that a PGP fingerprint uses a list of words, and that same list is what we use here. 123 00:06:40,340 --> 00:06:47,720 In fact, we actually developed that list in 1995 for PGP Phone, which was kind of a predecessor to this. 124 00:06:47,800 --> 00:06:47,860 Yes. 125 00:06:47,860 --> 00:06:52,500 That's when I first did a secure VoIP application, but at that time, the Internet wasn't ready. 126 00:06:52,740 --> 00:07:00,300 There was no broadband anywhere, really, and also there were no VoIP standards, so it wasn't the right time. 127 00:07:00,360 --> 00:07:04,420 But now, it is the right time, and so here we are with ZPhone. 128 00:07:07,160 --> 00:07:17,240 Okay, so we're going to hang up this, and we're going to switch now to using SJPhone, and we're going to go through a PBX this time. 129 00:07:20,320 --> 00:07:26,020 Okay, now, this is another VoIP client called SJPhone, which actually isn't supported anymore, unfortunately. 130 00:07:26,400 --> 00:07:31,100 But SJPhone, I've configured to talk to my asterisk PBX at home. 131 00:07:31,300 --> 00:07:38,440 And my PBX at home, I have integrated the ZRTP protocol into the PBX. 132 00:07:38,780 --> 00:07:42,660 So what I'm going to do here is I'm going to call Steve, 133 00:07:45,760 --> 00:07:47,720 and we're both going to be connected. 134 00:07:47,860 --> 00:07:52,940 We're going to be connected through this PBX, and the PBX is actually going to act as a man in the middle in this case. 135 00:07:53,860 --> 00:07:57,800 But we have the protocol arranged so that it can handle that. 136 00:07:58,340 --> 00:07:58,660 Let's see. 137 00:08:05,300 --> 00:08:05,720 Okay. 138 00:08:08,100 --> 00:08:09,520 Honey, you're still working again. 139 00:08:09,820 --> 00:08:10,220 Yes. 140 00:08:11,220 --> 00:08:15,940 Now, I'm going to show you what happens when a wiretapper listens to this call, okay? 141 00:08:15,940 --> 00:08:20,000 This is what ciphertext sounds like to the wiretapper. 142 00:08:26,440 --> 00:08:27,880 Oh, I see you're turning down the gain. 143 00:08:28,820 --> 00:08:29,260 Okay. 144 00:08:30,180 --> 00:08:31,380 So it sounds like white noise. 145 00:08:32,420 --> 00:08:33,780 That's real ciphertext. 146 00:08:33,820 --> 00:08:38,360 We're actually taking the ciphertext as it comes in and just sending it through the codec, 147 00:08:38,360 --> 00:08:43,100 and you're just listening to what the ciphertext would really sound like from a wiretapper's perspective. 148 00:08:43,460 --> 00:08:44,420 So I'll do that again. 149 00:08:49,400 --> 00:08:49,720 Okay. 150 00:08:50,000 --> 00:08:50,800 Steve, say something. 151 00:08:52,240 --> 00:08:55,900 Yes, I had to push my speaker down a little bit so I didn't get blasted. 152 00:08:55,900 --> 00:08:56,040 Yeah. 153 00:08:56,320 --> 00:09:01,080 So we can hear you, and that's, you know, but the wiretapper would hear white noise. 154 00:09:01,280 --> 00:09:01,720 All right. 155 00:09:01,740 --> 00:09:08,120 So we're going to hang this up, and I think that's all for the demo. 156 00:09:08,600 --> 00:09:09,120 Oh, wait. 157 00:09:09,200 --> 00:09:13,780 You know what I'm going to do is I'm going to call, I need a volunteer from the audience that has a mobile phone in their pocket 158 00:09:14,180 --> 00:09:15,120 that I can call. 159 00:09:15,600 --> 00:09:15,920 Okay. 160 00:09:15,920 --> 00:09:16,440 A mobile phone. 161 00:09:17,080 --> 00:09:24,300 Now, here, you see, a PBX can, you can use VoIP to talk through a PBX to call a normal telephone, 162 00:09:24,560 --> 00:09:26,020 and that's what we're going to do right now. 163 00:09:26,360 --> 00:09:28,440 So suppose I'm traveling in Europe. 164 00:09:28,560 --> 00:09:36,380 Suppose I'm in Moscow in a hotel room, and I want to call somebody here, right, on your regular phone, 165 00:09:36,520 --> 00:09:42,120 maybe a cell phone, and I don't want Vladimir Putin to listen to the call. 166 00:09:43,080 --> 00:09:45,900 So I want to make it encrypted from the Moscow. 167 00:09:45,920 --> 00:09:48,360 So I want to make it encrypted from the Moscow hotel room to my PBX in California, 168 00:09:49,020 --> 00:09:53,780 and there it goes through a PSTN gateway to, you know, a local telephone. 169 00:09:54,540 --> 00:09:59,580 So could I get a volunteer who's willing to give me your phone number to dial in so that... 170 00:09:59,580 --> 00:10:00,700 Can you mask the number? 171 00:10:01,080 --> 00:10:02,600 I can't mask the number. 172 00:10:03,240 --> 00:10:04,060 Well, wait a minute. 173 00:10:04,080 --> 00:10:04,640 Maybe I can. 174 00:10:04,700 --> 00:10:06,080 I'll just put this on top of it. 175 00:10:06,160 --> 00:10:07,440 No, I've got to type it. 176 00:10:07,900 --> 00:10:09,060 Just unplug the video for a second. 177 00:10:09,840 --> 00:10:10,640 Unplug the video. 178 00:10:10,820 --> 00:10:11,080 Hmm. 179 00:10:11,780 --> 00:10:12,180 Hmm. 180 00:10:12,180 --> 00:10:12,580 Hmm. 181 00:10:14,820 --> 00:10:19,140 For some reason, people are reluctant to give out their phone numbers to this audience. 182 00:10:19,400 --> 00:10:20,860 What is it about this audience? 183 00:10:23,100 --> 00:10:23,580 Okay. 184 00:10:25,380 --> 00:10:27,840 This has to be a real mobile phone in the room. 185 00:10:28,040 --> 00:10:28,500 Okay? 186 00:10:28,660 --> 00:10:29,140 Okay. 187 00:10:30,420 --> 00:10:30,900 Yeah? 188 00:10:34,060 --> 00:10:34,940 415, what? 189 00:10:35,320 --> 00:10:36,340 2-0-0. 190 00:10:39,520 --> 00:10:41,020 6-5-6. 191 00:10:41,200 --> 00:10:41,840 5-6. 192 00:10:41,840 --> 00:10:42,500 Oh. 193 00:10:43,720 --> 00:10:44,720 2-0-0? 194 00:10:46,360 --> 00:10:47,560 7-6-5-6. 195 00:10:47,940 --> 00:10:48,360 Okay. 196 00:10:48,560 --> 00:10:49,640 So I'm going to dial that. 197 00:10:52,940 --> 00:10:57,460 It's making a connection to the PBX and is dialing out through the PSTN to your phone. 198 00:11:02,960 --> 00:11:04,280 Your phone is turned on, right? 199 00:11:04,960 --> 00:11:05,560 All right. 200 00:11:06,440 --> 00:11:07,980 Turn up the gain so we can hear. 201 00:11:08,200 --> 00:11:08,400 Here. 202 00:11:11,280 --> 00:11:12,560 Oh, we'll answer it. 203 00:11:16,440 --> 00:11:17,460 Can you hear me? 204 00:11:17,720 --> 00:11:18,920 Yeah, we can hear you. 205 00:11:19,580 --> 00:11:20,440 Yeah, I can hear you. 206 00:11:20,800 --> 00:11:21,200 Okay. 207 00:11:22,720 --> 00:11:24,860 So, again, we'll do the same trick again. 208 00:11:25,100 --> 00:11:30,220 This is what Vladimir Putin would hear if he's intercepting the call. 209 00:11:31,740 --> 00:11:32,140 See? 210 00:11:33,060 --> 00:11:33,460 Okay. 211 00:11:33,740 --> 00:11:35,120 But you can hear me fine, right? 212 00:11:35,220 --> 00:11:35,880 You can still hear me. 213 00:11:36,000 --> 00:11:36,360 All right. 214 00:11:37,300 --> 00:11:37,860 All right. 215 00:11:38,620 --> 00:11:41,840 So, now, but what if we want to check for the man in the middle attack? 216 00:11:41,980 --> 00:11:48,600 You see, I want to see if this is, these words here match right here. 217 00:11:48,820 --> 00:11:51,180 It says billboard retraction. 218 00:11:51,500 --> 00:11:53,300 Dial 7-7 on your phone. 219 00:11:54,120 --> 00:11:54,560 Okay. 220 00:11:57,160 --> 00:11:57,880 And listen. 221 00:12:00,100 --> 00:12:01,680 Is there a robot talking to you? 222 00:12:05,100 --> 00:12:05,540 What? 223 00:12:05,960 --> 00:12:06,400 What? 224 00:12:07,860 --> 00:12:09,000 Oh, what happened? 225 00:12:09,900 --> 00:12:11,980 No, not 9-7-7. 226 00:12:12,600 --> 00:12:13,560 7-7, yeah. 227 00:12:14,360 --> 00:12:15,340 All right, never mind. 228 00:12:15,460 --> 00:12:16,240 It's too complicated. 229 00:12:16,520 --> 00:12:23,420 The point is, actually, every connection that we make to the PBX from this VoIP client is 230 00:12:23,420 --> 00:12:26,860 going to already be authenticated because we've done it before. 231 00:12:27,060 --> 00:12:30,500 Because we use something similar to what SSH does. 232 00:12:30,580 --> 00:12:31,580 We use key continuity. 233 00:12:32,360 --> 00:12:35,040 You know that when you, how many people here have used SSH? 234 00:12:36,180 --> 00:12:37,840 Gosh, almost the same number. 235 00:12:37,860 --> 00:12:41,980 It's almost as if you all had experience with security issues, right? 236 00:12:43,080 --> 00:12:45,440 Again, a normal, randomly selected audience. 237 00:12:46,420 --> 00:12:50,340 Well, you know that when you use SSH, the first time you make a connection, it caches 238 00:12:50,340 --> 00:12:55,580 some key material so that the next time you make a connection, there can't be a man in 239 00:12:55,580 --> 00:12:59,180 the middle attack because if there wasn't a man in the middle attack in the first connection, 240 00:12:59,500 --> 00:13:01,420 there isn't going to be one in the second connection. 241 00:13:01,940 --> 00:13:03,300 And I'm using the same thing. 242 00:13:05,300 --> 00:13:06,320 What happened here? 243 00:13:06,420 --> 00:13:07,480 Oh, are we still on? 244 00:13:07,860 --> 00:13:08,700 I should hang up. 245 00:13:08,920 --> 00:13:09,520 There we go. 246 00:13:10,540 --> 00:13:10,900 Yeah. 247 00:13:11,000 --> 00:13:13,200 We were connected all that time through your mobile phone? 248 00:13:13,780 --> 00:13:14,140 Okay. 249 00:13:14,260 --> 00:13:16,860 That means you could hear my talk through your mobile phone, right? 250 00:13:17,360 --> 00:13:17,720 Okay. 251 00:13:18,360 --> 00:13:18,720 Yeah. 252 00:13:19,680 --> 00:13:20,220 All right. 253 00:13:20,540 --> 00:13:25,980 So, here, let's just get rid of that so that no one could write it down, right? 254 00:13:28,180 --> 00:13:32,540 I guess his phone number must be in the buffer for this VoIP client here, but I don't think 255 00:13:32,540 --> 00:13:34,420 I'm going to be calling it anymore, so don't worry. 256 00:13:35,120 --> 00:13:35,480 Oh. 257 00:13:37,860 --> 00:13:38,640 Oh, he has my phone? 258 00:13:38,720 --> 00:13:45,960 Well, actually, no, because my PSTN gateway at home has the caller ID blocked, so he can't 259 00:13:45,960 --> 00:13:46,240 see it. 260 00:13:50,460 --> 00:13:53,520 That's because I got my phone years ago back. 261 00:13:54,380 --> 00:13:55,820 I'm sort of a Luddite about that. 262 00:13:55,860 --> 00:14:00,580 I have my caller ID blocked for my outgoing calls, which means that I can't call a lot 263 00:14:00,580 --> 00:14:05,180 of people because they block incoming calls that have the caller ID blocked, so, oh, well. 264 00:14:07,000 --> 00:14:07,580 All right. 265 00:14:07,860 --> 00:14:09,920 So, where was I? 266 00:14:10,020 --> 00:14:10,320 Oh, yeah. 267 00:14:10,380 --> 00:14:15,220 So, I cache some key material in the first call and then keep it around for subsequent 268 00:14:15,220 --> 00:14:15,640 calls. 269 00:14:15,700 --> 00:14:20,860 So, every call, it does a fresh Diffie-Hellman calculation, but it hashes the session key 270 00:14:20,860 --> 00:14:26,040 and stores that in a cache, so the next time there's a call to the same person, it does 271 00:14:26,040 --> 00:14:31,800 a new Diffie-Hellman calculation, but it detects whether there was still some cached 272 00:14:31,800 --> 00:14:37,260 key material from the earlier call and mixes it in by hashing it together with the new 273 00:14:37,260 --> 00:14:42,640 key, so that if there was no man-in-the-middle attack in the first call, there won't be 274 00:14:42,640 --> 00:14:45,340 one in the second or the third or any of the later ones. 275 00:14:45,420 --> 00:14:46,400 It does this every time. 276 00:14:47,060 --> 00:14:50,700 Now, this is an interesting security property because it means that you don't really have 277 00:14:50,700 --> 00:14:52,600 to compare the short authentication string. 278 00:14:53,080 --> 00:14:57,780 Now, I did compare it because I wanted to show how it works, but you don't really have 279 00:14:57,780 --> 00:14:59,640 to compare the short authentication string. 280 00:14:59,760 --> 00:15:05,480 You could just rely on the key continuity properties that work pretty much the way SSH 281 00:15:05,480 --> 00:15:05,760 works. 282 00:15:05,900 --> 00:15:06,080 Okay. 283 00:15:06,600 --> 00:15:06,800 Okay. 284 00:15:06,800 --> 00:15:07,140 Okay. 285 00:15:07,140 --> 00:15:07,240 Okay. 286 00:15:07,260 --> 00:15:07,540 Okay. 287 00:15:07,540 --> 00:15:07,880 You're not caching a signature key. 288 00:15:07,980 --> 00:15:09,280 You're not caching a signature key. 289 00:15:09,340 --> 00:15:11,760 You're caching a hash of the session key. 290 00:15:13,620 --> 00:15:20,800 And this means that you could call someone 100 times and never check the short authentication 291 00:15:20,800 --> 00:15:21,420 string. 292 00:15:21,940 --> 00:15:27,400 Call them 100 times, spread out over perhaps a year, and talk about harmless things. 293 00:15:27,500 --> 00:15:28,300 Talk about the weather. 294 00:15:28,420 --> 00:15:29,880 Talk about nothing important. 295 00:15:30,200 --> 00:15:33,880 But after a year of talking about nothing important, one day you want to talk about 296 00:15:33,880 --> 00:15:34,620 secret stuff. 297 00:15:35,060 --> 00:15:37,240 So you decide today, you want to talk about secret stuff. 298 00:15:37,260 --> 00:15:39,520 Today we're going to compare the short authentication string. 299 00:15:39,700 --> 00:15:43,060 So you compare it, and it matches, which means there's no man in the middle. 300 00:15:43,280 --> 00:15:48,460 But it also means retroactively that there never was a man in the middle in all the previous 301 00:15:48,460 --> 00:15:51,320 hundred phone calls that went back for the past year. 302 00:15:51,800 --> 00:15:54,100 Now that's a really nice security property. 303 00:15:55,460 --> 00:15:59,200 So you can be lazy most of the time, and all you've got to do is check the authentication 304 00:15:59,200 --> 00:16:00,320 string just once. 305 00:16:00,440 --> 00:16:05,700 It could be at the beginning, or it could be later on, and it retroactively covers it 306 00:16:05,700 --> 00:16:07,800 in the past and going forward. 307 00:16:07,940 --> 00:16:11,340 It doesn't actually prevent the attacks in the past, it just lets you know that there 308 00:16:11,340 --> 00:16:11,760 weren't any. 309 00:16:12,400 --> 00:16:17,100 Of course, the corollary of that is that if it doesn't match after a hundred calls, then 310 00:16:17,100 --> 00:16:20,220 that means there is a man in the middle in this call, and it also means there always 311 00:16:20,220 --> 00:16:24,280 was a man in the middle for all hundred calls, so it's a real oh shit moment. 312 00:16:26,180 --> 00:16:28,540 So maybe you ought to do it earlier than a hundred calls. 313 00:16:31,720 --> 00:16:35,680 So this protocol doesn't rely on a public account. 314 00:16:35,680 --> 00:16:36,100 It doesn't rely on a key infrastructure. 315 00:16:36,460 --> 00:16:37,480 It doesn't rely on servers. 316 00:16:37,840 --> 00:16:42,720 It does the entire protocol in the media layer, not in the signaling, the SIP signaling. 317 00:16:43,060 --> 00:16:44,880 It doesn't rely on the SIP signaling. 318 00:16:45,000 --> 00:16:46,960 It doesn't involve the phone company at all. 319 00:16:47,240 --> 00:16:51,480 In fact, if the media goes through a different path than the signaling, which it typically 320 00:16:51,480 --> 00:16:55,200 does, then the phone company doesn't even have to know you're using the protocol. 321 00:16:55,820 --> 00:16:58,920 There's nothing in the SIP packets that tell them you're using this protocol. 322 00:17:00,140 --> 00:17:02,660 So it's just between you and the other person. 323 00:17:02,960 --> 00:17:05,620 You and the other person are the only two parties that are involved. 324 00:17:05,660 --> 00:17:10,140 They're involved in the negotiation of the cryptographic keys that will be used to encrypt 325 00:17:10,140 --> 00:17:10,500 the media. 326 00:17:11,380 --> 00:17:16,320 Remember in the old days, there used to be these devices you could buy for a couple thousand 327 00:17:16,320 --> 00:17:23,100 bucks that you would plug your phone into, and they would do a modem connection and negotiate 328 00:17:23,100 --> 00:17:23,980 keys that way? 329 00:17:24,400 --> 00:17:32,420 There was one in the early 90s that had a clipper chip in it, and that was also something 330 00:17:32,420 --> 00:17:33,860 that didn't involve the phone company. 331 00:17:33,940 --> 00:17:35,440 However, it had a clipper chip in it. 332 00:17:35,440 --> 00:17:38,460 So there was built-in wiretap-friendly stuff. 333 00:17:39,100 --> 00:17:45,160 This protocol doesn't have any wiretap-friendly stuff, and it doesn't involve the phone company 334 00:17:45,160 --> 00:17:46,220 in the key negotiation. 335 00:17:46,620 --> 00:17:51,040 Now, as many of you know, there have been some things that have happened that make us 336 00:17:51,040 --> 00:17:54,000 question whether the phone company has our best interest in mind. 337 00:17:55,380 --> 00:17:57,860 So I'd rather not ask their permission. 338 00:17:58,000 --> 00:18:04,820 If I want to speak Navajo to my friend on the phone, I don't want to have to get permission 339 00:18:04,820 --> 00:18:06,780 from the phone company to speak Navajo. 340 00:18:07,540 --> 00:18:10,580 So I think that's the way encryption should work. 341 00:18:10,960 --> 00:18:17,640 There's another protocol that does involve a public key infrastructure, that does involve 342 00:18:19,720 --> 00:18:23,420 certificate authorities and sort of a top-down thing. 343 00:18:26,260 --> 00:18:33,260 It's called DTLS, DTLS SRTP, and that's another way to do it. 344 00:18:33,300 --> 00:18:34,800 But if you do it that way, you're reliant. 345 00:18:34,800 --> 00:18:35,920 You're relying on a central authority. 346 00:18:36,120 --> 00:18:37,620 You're relying on a public key infrastructure. 347 00:18:38,020 --> 00:18:42,500 Now I think that public key infrastructures can be made to work in some environments, 348 00:18:42,700 --> 00:18:44,860 like web servers and web browsers. 349 00:18:46,000 --> 00:18:49,680 There you have one server talking to a lot of web browsers. 350 00:18:50,060 --> 00:18:55,060 But when you want to have a many-to-many architecture, like email, during the 1990s, 351 00:18:55,060 --> 00:18:59,140 a lot of companies attempted to build public key infrastructures for email encryption and 352 00:18:59,140 --> 00:18:59,500 failed. 353 00:19:00,160 --> 00:19:02,120 In fact, a lot of them went out of business. 354 00:19:02,480 --> 00:19:04,140 It's very difficult to do. 355 00:19:04,140 --> 00:19:06,000 It involves building a bureaucracy. 356 00:19:06,280 --> 00:19:10,320 You have to have somebody run the public key infrastructure, set it up, check people's 357 00:19:10,320 --> 00:19:11,220 credentials and so on. 358 00:19:11,320 --> 00:19:12,340 It's hard to do. 359 00:19:14,100 --> 00:19:22,700 So that's why PGP succeeded where SMIME failed and other predecessors to SMIME, like Privacy 360 00:19:22,700 --> 00:19:28,280 Enhanced Mail in 1991, MAS in the mid-90s, and later SMIME. 361 00:19:28,280 --> 00:19:32,920 And SMIME had a lot of deployment advantages because it was bundled with Microsoft software, 362 00:19:32,920 --> 00:19:35,140 and yet it never really got used a lot. 363 00:19:35,500 --> 00:19:40,000 And the reason why is because it required too much activation energy because you had 364 00:19:40,000 --> 00:19:42,200 to create a public key infrastructure to use it. 365 00:19:45,020 --> 00:19:50,220 PGP didn't require building a centralized public key infrastructure, so it was more 366 00:19:51,080 --> 00:19:52,040 widely used. 367 00:19:52,520 --> 00:20:00,880 Well I think that the things that made public key infrastructure difficult to do for email, 368 00:20:00,880 --> 00:20:04,840 email, become even more important for phone calls. 369 00:20:05,500 --> 00:20:07,520 Phone calls are more ephemeral. 370 00:20:07,760 --> 00:20:13,800 There's no reason to keep around keys because at the end of the call, you're done with the 371 00:20:13,800 --> 00:20:13,980 call. 372 00:20:14,160 --> 00:20:18,060 You don't need to decrypt it next week like you do with a piece of email. 373 00:20:18,520 --> 00:20:20,220 So why should you keep the keys around? 374 00:20:20,720 --> 00:20:22,480 So you don't need a public key infrastructure. 375 00:20:24,000 --> 00:20:30,100 So this is a more lightweight approach, and it can also be used like for government agencies. 376 00:20:30,100 --> 00:20:36,020 If you're going to try to build a monolithic organization like a military organization, 377 00:20:36,480 --> 00:20:38,140 you can make a PKI work. 378 00:20:38,440 --> 00:20:43,820 But if you want to have an interagency thing, maybe first responders, Hurricane Katrina, 379 00:20:45,040 --> 00:20:50,740 decentralized mesh networks, that sort of thing, you're going to have not everyone marching 380 00:20:50,740 --> 00:20:51,780 to the same drummer. 381 00:20:51,980 --> 00:20:54,400 You're not going to have everybody under the same command. 382 00:20:54,780 --> 00:20:59,620 And so to try to get them all to work with the same PKI is not easy to do. 383 00:20:59,620 --> 00:21:01,940 But with this approach, it'll always work. 384 00:21:02,880 --> 00:21:04,540 So I think it's a better architecture. 385 00:21:06,480 --> 00:21:15,600 So anyway, let's see, yeah, okay, so we're done with that. 386 00:21:20,760 --> 00:21:21,380 All right. 387 00:21:23,620 --> 00:21:25,760 So anyway, visit the ZPhone project website. 388 00:21:26,560 --> 00:21:28,400 It's got a great FAQ page. 389 00:21:29,160 --> 00:21:29,600 It's got a great FAQ page. 390 00:21:31,080 --> 00:21:33,800 And, you know, there's lots of Wikipedia links in here. 391 00:21:34,080 --> 00:21:35,800 And take a look at it. 392 00:21:36,460 --> 00:21:37,040 Download it. 393 00:21:37,140 --> 00:21:41,800 There's a, you can download it for free to try it out, and you can get the SDK and play 394 00:21:41,800 --> 00:21:42,580 with it in your product. 395 00:21:42,640 --> 00:21:44,500 And you can also download the Asterisk patch. 396 00:21:44,620 --> 00:21:47,360 If you have an Asterisk PBX, you can play with that, too. 397 00:21:48,320 --> 00:21:48,680 Yeah. 398 00:21:50,260 --> 00:21:58,260 Can you send encrypted audio over the PSTN? 399 00:21:58,420 --> 00:21:58,780 Yeah. 400 00:22:04,040 --> 00:22:07,740 Well, you know, you heard what encrypted audio sounds like. 401 00:22:07,740 --> 00:22:08,520 It sounds like white noise. 402 00:22:09,640 --> 00:22:11,400 No, you can't really do that. 403 00:22:11,500 --> 00:22:16,920 But what you could do is you could send it through a modem, you know, and send UDP through 404 00:22:16,920 --> 00:22:17,320 a modem. 405 00:22:18,200 --> 00:22:20,360 But I don't think that's the question you were asking. 406 00:22:22,220 --> 00:22:26,740 I think that for the PSTN, you would have to take a different approach. 407 00:22:27,260 --> 00:22:29,600 And, you know, a famous hockey player said, you know, I'm going to send UDP through a 408 00:22:29,600 --> 00:22:32,880 And the hockey player said, I always try to skate to where I think the puck will be. 409 00:22:33,100 --> 00:22:36,160 And I think the future of telephony is more likely to be in VoIP. 410 00:22:36,260 --> 00:22:40,140 So that's more interesting to me than encrypting the PSTN. 411 00:22:43,180 --> 00:22:43,620 Yeah. 412 00:22:45,760 --> 00:22:46,200 . 413 00:22:48,960 --> 00:22:49,600 Louder, please. 414 00:22:50,880 --> 00:22:51,320 . 415 00:22:51,320 --> 00:22:51,800 . 416 00:22:51,800 --> 00:22:52,000 . 417 00:22:52,000 --> 00:22:52,060 . 418 00:22:52,060 --> 00:22:52,720 . 419 00:22:52,720 --> 00:22:52,800 . 420 00:22:52,800 --> 00:22:53,020 . 421 00:22:53,020 --> 00:22:53,580 . 422 00:22:53,580 --> 00:22:53,620 . 423 00:22:53,620 --> 00:22:54,100 . 424 00:22:56,140 --> 00:22:56,580 . 425 00:22:56,800 --> 00:22:56,920 . 426 00:23:04,300 --> 00:23:04,420 . 427 00:23:05,100 --> 00:23:05,220 . 428 00:23:05,400 --> 00:23:05,520 . 429 00:23:05,520 --> 00:23:05,540 . 430 00:23:05,780 --> 00:23:05,900 . 431 00:23:05,900 --> 00:23:05,980 . 432 00:23:06,340 --> 00:23:06,460 . 433 00:23:06,460 --> 00:23:06,540 . 434 00:23:06,540 --> 00:23:06,620 . 435 00:23:06,620 --> 00:23:06,640 . 436 00:23:06,640 --> 00:23:06,660 . 437 00:23:06,660 --> 00:23:06,680 . 438 00:23:06,680 --> 00:23:06,740 . 439 00:23:06,740 --> 00:23:06,760 . 440 00:23:06,760 --> 00:23:06,780 . 441 00:23:06,780 --> 00:23:06,800 . 442 00:23:06,800 --> 00:23:06,820 . 443 00:23:06,820 --> 00:23:06,840 . 444 00:23:06,840 --> 00:23:06,860 . 445 00:23:06,860 --> 00:23:06,900 . 446 00:23:07,160 --> 00:23:07,280 . 447 00:23:16,040 --> 00:23:16,160 . 448 00:23:16,160 --> 00:23:21,860 What about these variable bitrate codecs that leak information about the speech? 449 00:23:22,460 --> 00:23:27,640 Well, I think it's a good idea to not use variable bitrate encoders for secure telephones. 450 00:23:28,140 --> 00:23:32,800 I think if you're building a secure telephone, it's better to use constant bitrate codecs. 451 00:23:32,900 --> 00:23:37,360 Yes, but you don't enforce it in any way like what the people can choose for their program. 452 00:23:37,560 --> 00:23:38,460 So you don't use it all? 453 00:23:38,660 --> 00:23:44,460 Well, you know, you can configure your VoIP client to just exclude the variable bitrate codecs. 454 00:23:44,460 --> 00:23:47,580 There's only a couple of them, and most of them are constant bitrate. 455 00:23:48,040 --> 00:23:49,380 So, you know, use GSM. 456 00:23:49,880 --> 00:23:51,620 You know, use... 457 00:23:52,200 --> 00:23:57,400 Yeah, I guess I understand, but I just thought I'd mention that many people can be unaware about this problem. 458 00:23:57,580 --> 00:24:02,300 And if you can somehow tell people in the manual or somehow, like... 459 00:24:02,300 --> 00:24:02,800 Sure. 460 00:24:03,020 --> 00:24:04,460 ...switch it off in your program... 461 00:24:04,980 --> 00:24:07,880 Well, I'm probably going to add something to my FAQ page about that. 462 00:24:09,600 --> 00:24:10,620 If I didn't already. 463 00:24:10,740 --> 00:24:11,480 Maybe I did. 464 00:24:11,560 --> 00:24:12,200 I wonder if I did. 465 00:24:12,800 --> 00:24:13,240 Huh. 466 00:24:13,460 --> 00:24:13,900 Well. 467 00:24:14,460 --> 00:24:16,240 I knew I was thinking of adding something. 468 00:24:18,160 --> 00:24:18,680 Okay. 469 00:24:19,020 --> 00:24:19,680 Let's see. 470 00:24:19,800 --> 00:24:20,280 What else? 471 00:24:20,800 --> 00:24:21,300 Yeah. 472 00:24:21,380 --> 00:24:22,220 How about conference calling? 473 00:24:22,560 --> 00:24:26,040 With conference calling, how do you encrypt conference calls? 474 00:24:26,160 --> 00:24:30,880 Well, you remember the way conference calls work is that everybody calls a conference mixer. 475 00:24:31,420 --> 00:24:34,380 In fact, a lot of times, a conference mixer is a PBX. 476 00:24:35,080 --> 00:24:41,940 So you would encrypt each link to the conference mixer, and the audio mixing is done at the mixer. 477 00:24:42,200 --> 00:24:44,440 So you're doing individual encryptions. 478 00:24:44,460 --> 00:24:46,400 You're encrypting links, and they're all ZRTP connections. 479 00:24:47,060 --> 00:24:49,900 So it's not like you have to work out the keys between every party. 480 00:24:50,080 --> 00:24:54,860 You're just doing key negotiation only between each party and the mixer. 481 00:24:56,040 --> 00:24:58,600 So the primary client's actually has that mixer. 482 00:24:58,940 --> 00:24:59,720 Is that correct? 483 00:24:59,880 --> 00:25:00,160 Yeah. 484 00:25:00,700 --> 00:25:03,460 We have done conference calls with the Z phone. 485 00:25:03,860 --> 00:25:06,040 And it just brings back the automated voice game? 486 00:25:07,620 --> 00:25:14,160 Well, what we've done is we've done a protocol extension to have a shared secret between... 487 00:25:14,460 --> 00:25:16,660 Your VoIP phone and the PBX. 488 00:25:17,560 --> 00:25:22,520 And so once that shared secret is established, it's there all the time. 489 00:25:22,700 --> 00:25:24,560 And so it's pre-authenticated. 490 00:25:27,240 --> 00:25:27,680 Yeah. 491 00:25:27,840 --> 00:25:33,140 So just about what you just said, the conference call, does it come into the PBX, 492 00:25:33,160 --> 00:25:37,020 and then it has to go back to audio, and then it goes back to encrypted? 493 00:25:37,340 --> 00:25:37,680 Yeah. 494 00:25:37,760 --> 00:25:38,140 Yeah. 495 00:25:38,220 --> 00:25:43,580 The PBX, let's assume that the PBX is acting as a conference bridge, and it's a conference mixer. 496 00:25:43,580 --> 00:25:45,100 It's doing mixing of the audio. 497 00:25:45,740 --> 00:25:48,220 And so it has to have the plain text there. 498 00:25:48,440 --> 00:25:50,360 I mean, that's just what audio mixing... 499 00:25:50,360 --> 00:25:52,560 If you're going to do audio mixing, you need the plain text. 500 00:25:52,780 --> 00:25:53,880 There's no way to avoid that. 501 00:25:54,080 --> 00:25:56,220 You're going to have to trust the conference mixer. 502 00:25:56,720 --> 00:25:58,500 Typically, you own the conference mixer. 503 00:25:58,660 --> 00:25:59,720 So it's yours. 504 00:26:01,540 --> 00:26:01,980 Yeah. 505 00:26:02,300 --> 00:26:07,760 Does the patch for Asterisk require the file to be pulled by Asterisk? 506 00:26:08,420 --> 00:26:10,080 Yeah, it's a patch to the source code. 507 00:26:10,180 --> 00:26:11,280 You can download the patch. 508 00:26:11,400 --> 00:26:12,560 You rebuild Asterisk. 509 00:26:12,880 --> 00:26:13,320 You rebuild Asterisk. 510 00:26:13,320 --> 00:26:13,560 And I... 511 00:26:13,580 --> 00:26:16,760 We actually have a patch for, like, three different versions of Asterisk. 512 00:26:17,100 --> 00:26:21,740 It's not like you can just plug in and it may recompile a lot more like that. 513 00:26:22,440 --> 00:26:24,200 You have to recompile Asterisk. 514 00:26:24,640 --> 00:26:28,280 Now, later on, we could put it into the Asterisk code base, 515 00:26:28,400 --> 00:26:31,020 but I think Digium is going to have to agree to that. 516 00:26:31,200 --> 00:26:36,500 And, you know, I think at some point they will, but that hasn't quite been worked out yet. 517 00:26:36,760 --> 00:26:37,520 I'm just curious. 518 00:26:37,980 --> 00:26:42,460 I have a virtual full Asterisk box that is... 519 00:26:43,600 --> 00:26:45,420 I can read the file. 520 00:26:45,460 --> 00:26:46,440 I can't read... 521 00:26:46,440 --> 00:26:46,760 Yeah. 522 00:26:46,900 --> 00:26:48,440 I don't have a problem, but it's a lot easier. 523 00:26:49,540 --> 00:26:56,040 Well, you know, I think a number of people that build these Asterisk systems could put it in, you know, 524 00:26:56,040 --> 00:26:58,680 and then ship the systems with that already put in. 525 00:27:03,420 --> 00:27:03,900 Yeah. 526 00:27:04,860 --> 00:27:05,340 Yeah. 527 00:27:10,320 --> 00:27:11,180 Say that again. 528 00:27:18,780 --> 00:27:21,320 Well, you know, BlackBerry software... 529 00:27:21,320 --> 00:27:23,620 The question is, can we put this on a BlackBerry? 530 00:27:24,680 --> 00:27:26,920 You know, BlackBerry is not a very open architecture, 531 00:27:27,200 --> 00:27:30,160 and to the extent that they let you do anything, you have to write it in Java. 532 00:27:31,960 --> 00:27:36,780 So I think it would require a special relationship with BlackBerry, with RIM, 533 00:27:37,220 --> 00:27:42,000 to make something that's written in C to, you know, for them to insert it on their product. 534 00:27:42,580 --> 00:27:42,980 Now... 535 00:27:42,980 --> 00:27:43,560 Yeah. 536 00:27:43,560 --> 00:27:45,380 That would be kind of up to them. 537 00:27:47,080 --> 00:27:47,600 What? 538 00:27:49,700 --> 00:27:52,840 Windows Mobile does have a VoIP client that has this integrated. 539 00:27:53,140 --> 00:27:59,320 There's three companies in Europe that are working on VoIP clients that use this on mobile phones. 540 00:27:59,540 --> 00:28:04,660 There's a company in Latvia called Tivi that has a VoIP client that they've integrated this into. 541 00:28:05,100 --> 00:28:11,200 There's another company in Italy that's working on a VoIP client for mobile phones that will have this integrated in. 542 00:28:11,480 --> 00:28:13,120 And there's a company in... 543 00:28:13,120 --> 00:28:15,600 In France called Atelier that has... 544 00:28:16,280 --> 00:28:17,840 They're not doing a VoIP client. 545 00:28:17,920 --> 00:28:19,380 They're doing something actually quite unusual. 546 00:28:20,040 --> 00:28:25,560 Instead of taking our SDK and putting it in a VoIP client like we usually do, 547 00:28:25,800 --> 00:28:29,380 they're taking ZPhone, the ZPhone application that I just showed you, 548 00:28:29,460 --> 00:28:31,240 and they're porting that to Symbian, 549 00:28:31,960 --> 00:28:36,020 and then you're running the Nokia VoIP client, or maybe other VoIP clients, 550 00:28:36,680 --> 00:28:39,360 and having it intercept the packets the way ZPhone does. 551 00:28:40,120 --> 00:28:41,620 And I've seen that work. 552 00:28:41,720 --> 00:28:43,100 I was just in Paris a few weeks ago. 553 00:28:43,100 --> 00:28:44,900 I saw it work, and it works pretty good. 554 00:28:47,340 --> 00:28:49,880 So there's different ways of getting this on a mobile phone. 555 00:28:50,100 --> 00:28:52,580 And in Europe, that seems... 556 00:28:52,580 --> 00:28:54,460 It's more popular in Europe than it is here. 557 00:28:55,260 --> 00:28:58,020 And mobile phones are more popular there, too, I guess. 558 00:29:00,960 --> 00:29:04,000 So, you know, you will be able to get this for your mobile phone. 559 00:29:04,100 --> 00:29:07,880 And also, I know of someone working on an iPhone implementation. 560 00:29:09,240 --> 00:29:10,640 So I just bought an iPhone. 561 00:29:10,800 --> 00:29:12,480 I just got my iPhone yesterday. 562 00:29:12,480 --> 00:29:14,500 So I'm looking forward to that. 563 00:29:14,620 --> 00:29:15,940 I want to be the first user. 564 00:29:19,580 --> 00:29:20,300 Pardon me? 565 00:29:23,760 --> 00:29:27,320 Yeah, I'm going to push for the iPhone version as soon as possible, 566 00:29:27,520 --> 00:29:31,140 because I use an iPhone now, and I want it now. 567 00:29:34,700 --> 00:29:35,180 Yeah. 568 00:29:39,240 --> 00:29:39,920 Louder, please. 569 00:29:49,460 --> 00:29:51,900 Yeah, I know. 570 00:29:51,960 --> 00:29:57,280 The question is, will Apple distribute the VoIP client with ZRTP embedded in it? 571 00:29:57,400 --> 00:30:00,300 Well, I don't know exactly, 572 00:30:00,380 --> 00:30:07,640 but I know that they do have a way of accepting applications to put on their online store. 573 00:30:08,120 --> 00:30:11,960 And certainly, we'll be trying to arrange for that to happen. 574 00:30:12,480 --> 00:30:17,280 Do you specifically agree with the developers that they will not put a VoIP application? 575 00:30:17,460 --> 00:30:20,540 Well, actually, there is a VoIP application for the iPhone. 576 00:30:21,180 --> 00:30:21,880 What's it called? 577 00:30:21,980 --> 00:30:23,180 Fring or something like that? 578 00:30:23,740 --> 00:30:25,100 I don't know if there's support for that. 579 00:30:26,080 --> 00:30:26,960 Yeah, there is. 580 00:30:27,100 --> 00:30:28,000 There's a couple of. 581 00:30:28,020 --> 00:30:31,680 I think there's a couple of VoIP clients for the iPhone. 582 00:30:31,980 --> 00:30:35,320 So one more is not going to be a big departure from what they already have. 583 00:30:35,620 --> 00:30:39,520 I think they're running it over Wi-Fi and not the 3G network. 584 00:30:39,900 --> 00:30:42,460 I think that any efforts by Apple... 585 00:30:42,480 --> 00:30:46,040 to stop it is probably going to be focused on stopping it on the 3G network. 586 00:30:46,560 --> 00:30:49,440 But they're going to allow it for the Wi-Fi. 587 00:30:49,600 --> 00:30:54,480 At least they do for the other one or two VoIP clients that you can download right now for the iPhone. 588 00:30:54,860 --> 00:30:58,060 So I think there's a good chance that they'll allow this. 589 00:30:59,200 --> 00:31:02,900 And if they don't, well, then, you know, there's always other ways to make it available. 590 00:31:05,020 --> 00:31:08,300 In fact, maybe I'll ask some of you guys to help with that, you know. 591 00:31:09,340 --> 00:31:09,780 . 592 00:31:09,780 --> 00:31:10,280 . 593 00:31:10,280 --> 00:31:11,180 . 594 00:31:12,580 --> 00:31:13,260 . 595 00:31:14,100 --> 00:31:14,780 . 596 00:31:16,840 --> 00:31:17,520 . 597 00:31:17,520 --> 00:31:21,780 Are any government agencies using Z-PHONE? 598 00:31:21,880 --> 00:31:25,520 Well, you know, government agencies have used PGP quite a bit. 599 00:31:25,560 --> 00:31:32,280 There's thousands of seats of PGP in government agencies for many governments around the world. 600 00:31:33,480 --> 00:31:39,080 I imagine that at some point, they'll be using either Z-PHONE or they'll be using phones 601 00:31:39,080 --> 00:31:40,260 that have MyAMs. 602 00:31:40,280 --> 00:31:46,860 SDK embedded in them, but do they use it now? No, they don't use it now, at least not that 603 00:31:46,860 --> 00:31:53,300 I'm aware of, although maybe some unofficial use. Yeah? 604 00:31:58,280 --> 00:32:00,100 . Say that again. 605 00:32:12,340 --> 00:32:16,740 . Connections between asterisk boxes, I think most often use another 606 00:32:17,200 --> 00:32:21,800 protocol called IAX, and this doesn't work with that protocol. 607 00:32:22,000 --> 00:32:22,720 . 608 00:32:23,300 --> 00:32:27,000 Because IAX is a protocol that mixes many calls together in the same connection. 609 00:32:27,240 --> 00:32:31,540 This is a protocol that's designed between two people, you know, a single connection. 610 00:32:32,260 --> 00:32:32,740 . 611 00:32:35,980 --> 00:32:42,120 Yeah, if you can get a SIP RTP connection between two PBXs, then this will work with that. 612 00:32:43,900 --> 00:32:52,200 Now, for those of you who want to download the asterisk patch and try it, I'm going to give you the URL for that 613 00:32:52,200 --> 00:32:52,480 here. 614 00:32:54,100 --> 00:32:55,620 You can get it here. 615 00:32:55,780 --> 00:32:58,780 I don't know if it's visible on the screen, but you can copy that down. 616 00:32:59,240 --> 00:33:02,820 See, we've got patches for three different versions of asterisk. 617 00:33:04,360 --> 00:33:09,420 Or just send me an email, and I'll make sure you get the latest one, and then you can try 618 00:33:09,420 --> 00:33:09,720 it out. 619 00:33:09,780 --> 00:33:11,760 I'd like you to try it out and tell me how it works for you. 620 00:33:14,060 --> 00:33:18,160 In fact, if you want to look at the online documentation, just go to that asterisk page 621 00:33:18,160 --> 00:33:18,740 and look here. 622 00:33:18,840 --> 00:33:23,280 We've got a user's guide, and it'll show you how we set it up for you. 623 00:33:23,280 --> 00:33:27,420 And how to configure it on your asterisk box. 624 00:33:28,940 --> 00:33:30,260 So, anyway. 625 00:33:33,360 --> 00:33:34,080 Yeah? 626 00:33:34,300 --> 00:33:39,260 More of a general question if you don't mind, but since you're in the field, have 627 00:33:39,260 --> 00:33:45,780 you seen, with voice becoming the next telephone system basically, have you seen instances 628 00:33:45,780 --> 00:33:52,280 where government agencies are starting to kind of push on the telephone restrictions 629 00:33:52,280 --> 00:33:54,060 on to VoIP? 630 00:33:56,040 --> 00:34:00,820 Well, do you mean, do you think that they will oppose encryption for VoIP? 631 00:34:00,880 --> 00:34:01,540 Is that what you're asking? 632 00:34:01,680 --> 00:34:05,220 Or possibly require some kind of a back door for a . 633 00:34:06,520 --> 00:34:10,960 Well, let me take the first question first, which is, will they oppose encryption for 634 00:34:10,960 --> 00:34:11,260 VoIP? 635 00:34:11,440 --> 00:34:16,740 And I think that they're going to have to accept encryption for VoIP, and not just 636 00:34:16,740 --> 00:34:19,240 in a few cases, but they're going to have to have it everywhere. 637 00:34:19,620 --> 00:34:22,260 The reason why is because, why not? 638 00:34:22,260 --> 00:34:28,340 Well, there's a large asymmetry in the difficulty of wiretapping between governments and everyone 639 00:34:28,340 --> 00:34:28,740 else. 640 00:34:29,660 --> 00:34:35,880 You know, the government can easily wiretap the PSTN, but everyone else has to, you know, 641 00:34:35,880 --> 00:34:39,080 they have to go to the phone company and ask for a wiretap, and the phone company's 642 00:34:39,080 --> 00:34:41,560 not going to give it to you, but they will if you're the government. 643 00:34:42,480 --> 00:34:46,200 Now, that's true for the U.S. and a lot of the western democracies. 644 00:34:46,380 --> 00:34:47,980 It's not always true in every country. 645 00:34:48,100 --> 00:34:50,980 In some countries, there are corrupt. 646 00:34:52,260 --> 00:34:54,340 Governments corrupt phone companies. 647 00:34:54,580 --> 00:34:57,760 You can bribe someone and get a wiretap. 648 00:34:58,420 --> 00:35:03,940 I understand that in Brazil, you can get a wiretap, you can get recordings of your business 649 00:35:03,940 --> 00:35:07,360 competitors' phone calls for a whole month for about $5,000. 650 00:35:08,760 --> 00:35:11,120 So that's like a published rate, you know. 651 00:35:12,760 --> 00:35:19,860 So, but here, in the U.S., you pretty much have to be the government to get easy wiretaps. 652 00:35:20,800 --> 00:35:26,620 But that asymmetry in the difficulty of wiretapping will collapse as we move to VoIP, because 653 00:35:26,620 --> 00:35:29,740 with VoIP, it becomes equally easy for anyone to wiretap. 654 00:35:30,060 --> 00:35:32,280 And when I say anyone, that means anyone. 655 00:35:32,400 --> 00:35:33,680 That means organized crime. 656 00:35:33,900 --> 00:35:36,460 That means organized crime can wiretap the cops. 657 00:35:37,100 --> 00:35:39,540 They'll be able to wiretap judges and prosecutors. 658 00:35:40,280 --> 00:35:46,280 And that means they'll be able to listen to details of ongoing criminal investigations, 659 00:35:46,520 --> 00:35:49,020 the names of witnesses, the names of informants. 660 00:35:49,020 --> 00:35:53,240 And listening to them calling their wives at home to talk about what time to pick up 661 00:35:53,240 --> 00:35:53,960 their kids at school. 662 00:35:56,600 --> 00:36:01,420 So, you know, even if the local criminals are too stupid to do that, they'll outsource 663 00:36:01,420 --> 00:36:02,360 it to the Russian mafia. 664 00:36:02,900 --> 00:36:07,260 And the Russians will do it from Russia without ever setting foot in the U.S. 665 00:36:09,580 --> 00:36:14,380 So, you know, you can be wiretapped from the other side of the world by people that 666 00:36:14,380 --> 00:36:16,860 never had to get a visa to come into your country. 667 00:36:17,080 --> 00:36:19,000 It's not like they've got to get close with a wiretap. 668 00:36:19,020 --> 00:36:21,840 You can go alligator clips and clip them on the copper wires outside your office. 669 00:36:22,040 --> 00:36:23,340 They could do it from afar. 670 00:36:25,260 --> 00:36:27,060 So we have no choice. 671 00:36:27,300 --> 00:36:28,940 We must encrypt VoIP. 672 00:36:29,740 --> 00:36:32,920 The law enforcement community needs it as much as we do. 673 00:36:34,080 --> 00:36:35,860 All of society needs it. 674 00:36:36,000 --> 00:36:41,140 All of society can't migrate to VoIP without it. 675 00:36:44,180 --> 00:36:45,640 So will they have a back door? 676 00:36:45,640 --> 00:36:50,940 Well, you know, I think if you try to put a back door in, somebody's going to figure 677 00:36:50,940 --> 00:36:52,060 out a way to exploit it. 678 00:36:52,700 --> 00:36:54,260 Somebody other than law enforcement. 679 00:36:55,920 --> 00:36:57,480 And it just makes it weaker. 680 00:36:58,540 --> 00:36:59,940 It'll be an attractive nuisance. 681 00:37:04,760 --> 00:37:05,240 Let's see. 682 00:37:05,280 --> 00:37:05,560 What else? 683 00:37:05,760 --> 00:37:07,180 We got any other questions here? 684 00:37:08,120 --> 00:37:11,480 I guess, huh, let's see. 685 00:37:11,560 --> 00:37:12,400 How much time do I have? 686 00:37:12,560 --> 00:37:13,860 Oh, I still got plenty of time. 687 00:37:14,320 --> 00:37:15,300 Well, let's see. 688 00:37:15,340 --> 00:37:16,220 What else can I talk about? 689 00:37:19,080 --> 00:37:19,480 Yeah. 690 00:37:20,440 --> 00:37:20,840 . 691 00:37:25,120 --> 00:37:25,900 Say that again? 692 00:37:27,140 --> 00:37:27,540 . 693 00:37:32,360 --> 00:37:35,300 Well, with source code available, can they keep you from using encryption? 694 00:37:35,960 --> 00:37:40,700 You know, I think that we fought the battle in the 1990s to be able to use encryption. 695 00:37:40,840 --> 00:37:42,200 And I think we won that battle. 696 00:37:42,300 --> 00:37:43,840 So I don't think they're going to do that. 697 00:37:43,840 --> 00:37:45,560 I think they're going to be able to turn back the clock on that. 698 00:37:46,460 --> 00:37:48,420 And I do publish the source code. 699 00:37:51,940 --> 00:37:57,240 You know, and I've done something else that's kind of a strange thing to do. 700 00:37:57,440 --> 00:38:05,500 I've done some things in the protocol that try to discourage people from putting back doors in their products. 701 00:38:06,200 --> 00:38:06,680 . 702 00:38:13,340 --> 00:38:13,820 . 703 00:38:13,820 --> 00:38:14,400 . 704 00:38:14,400 --> 00:38:22,740 And I think a great example of this is that if you are disclosing the cryptographic keys out of band, I mean, there's nothing in the protocol that has any back doors. 705 00:38:22,840 --> 00:38:30,620 There's nothing that's part of the ZRTP protocol that has, you know, like the Clipper chip, you know, the law enforcement access field. 706 00:38:30,680 --> 00:38:32,240 There's nothing in the protocol like that. 707 00:38:32,480 --> 00:38:38,020 But there's what, I can build my own products with no back door. 708 00:38:38,120 --> 00:38:41,480 But what about other people's products that implement the same standard? 709 00:38:41,480 --> 00:38:46,920 they could conceivably leak the key material out of band. 710 00:38:47,180 --> 00:38:51,120 They could send it somewhere that's not part of this protocol. 711 00:38:51,240 --> 00:38:59,900 They could just send it somewhere else, maybe through an encrypted tunnel to someone else. 712 00:39:00,360 --> 00:39:08,500 And so if they do that, I would like them to identify which products are wiretap-friendly like that. 713 00:39:08,500 --> 00:39:13,300 Because remember, back in the 90s, the Clipper chip, how many people here know about the Clipper chip? 714 00:39:14,440 --> 00:39:19,200 Okay, not as many as have used PGP and used SSH. 715 00:39:19,360 --> 00:39:25,020 Well, the Clipper chip was a wiretap-friendly chip that encrypted voice. 716 00:39:25,380 --> 00:39:34,900 And during the 1990s, there was an effort by the government to require that this chip be put into phones that do voice over IP. 717 00:39:35,640 --> 00:39:38,480 And it didn't succeed in the market because nobody... 718 00:39:38,500 --> 00:39:40,820 Nobody wanted to buy a chip that had a backdoor for the government. 719 00:39:41,640 --> 00:39:46,700 So, you know, Adam Smith's unseen hand, the invisible hand of the market, 720 00:39:46,820 --> 00:39:51,700 does not favor wiretap-friendly chips or wiretap-friendly protocols. 721 00:39:52,180 --> 00:39:53,760 So I'd like to try to use that. 722 00:39:53,820 --> 00:40:00,760 I'd like to try to encourage people that are going to make wiretap-friendly implementations of my protocol 723 00:40:00,760 --> 00:40:04,580 to reveal that their products are wiretap-friendly. 724 00:40:04,760 --> 00:40:06,220 Well, that's not so easy to do. 725 00:40:06,260 --> 00:40:06,940 How do I do it? 726 00:40:07,000 --> 00:40:08,480 So what I did was... 727 00:40:08,500 --> 00:40:15,340 I put in the protocol a requirement in the specification that you have to set a special flag in one of the packets 728 00:40:15,340 --> 00:40:18,460 that says this product is wiretap-friendly. 729 00:40:18,680 --> 00:40:26,020 This product is designed to leak key material out of band or whatever method they want to use to leak key material. 730 00:40:26,620 --> 00:40:28,440 But how do I get them to do it? 731 00:40:28,580 --> 00:40:34,560 Well, I filed a patent application for certain aspects of this protocol. 732 00:40:34,820 --> 00:40:36,000 Now, I don't like patents. 733 00:40:36,700 --> 00:40:42,320 Anyone who knows me knows that I'm sort of an anti-software patent guy, you know. 734 00:40:43,420 --> 00:40:45,800 But I'm giving away a free patent license. 735 00:40:46,000 --> 00:40:47,320 You can just use it for free. 736 00:40:47,360 --> 00:40:50,520 If you implement this specification, you can use the patent for free. 737 00:40:50,600 --> 00:40:51,100 It doesn't... 738 00:40:51,460 --> 00:40:54,140 I mean, it's just some patent on certain aspects of the protocol. 739 00:40:55,080 --> 00:40:57,900 So I'm not charging money for using the patent, 740 00:40:58,040 --> 00:41:02,200 but I'm saying that you only get this patent license if you meet the specification, 741 00:41:02,580 --> 00:41:05,000 if you actually comply with the specification. 742 00:41:06,000 --> 00:41:11,260 And the specification says that if you make a product that's wiretap-friendly, 743 00:41:11,400 --> 00:41:13,880 you have to set this special flag in this packet, 744 00:41:14,080 --> 00:41:17,340 which the other party would see on his phone 745 00:41:17,340 --> 00:41:21,940 and would know that your phone is a wiretap-friendly phone. 746 00:41:22,280 --> 00:41:28,360 So what I'm doing is I'm combining the invisible hand of the market 747 00:41:28,360 --> 00:41:35,460 and standards, you know, and intellectual property law. 748 00:41:36,640 --> 00:41:40,400 Together, to discourage backdoored products. 749 00:41:41,240 --> 00:41:44,660 So it's kind of a radical experiment. 750 00:41:45,480 --> 00:41:46,880 So as long as the patent... 751 00:41:46,880 --> 00:41:47,840 If I get the patent... 752 00:41:47,840 --> 00:41:49,220 You know, I haven't gotten the patent yet. 753 00:41:49,280 --> 00:41:50,220 I've just applied for it. 754 00:41:50,640 --> 00:41:53,960 But if I get the patent, as long as that patent runs, which is about 20 years, 755 00:41:54,820 --> 00:41:56,580 then people that implement this protocol 756 00:41:57,380 --> 00:41:59,700 are probably not going to be putting backdoors in their products. 757 00:42:01,400 --> 00:42:04,620 When the patent expires, you know, can't help you there, but... 758 00:42:09,140 --> 00:42:10,560 So, any other questions? 759 00:42:11,920 --> 00:42:12,860 Well, maybe we're done. 760 00:42:14,400 --> 00:42:16,340 So go download Zphone and try it out. 761 00:42:25,240 --> 00:42:27,600 By the way, if you can attack it 762 00:42:27,600 --> 00:42:30,560 and try to maybe do some fuzzing attacks or something like that 763 00:42:30,560 --> 00:42:33,120 and find some weaknesses, I'll give you credit on the website. 764 00:42:33,220 --> 00:42:35,980 Maybe if you find a reason... 765 00:42:36,000 --> 00:42:37,060 Real weakness that way. 766 00:42:37,640 --> 00:42:39,900 Maybe a buffer overflow attack or something like that. 767 00:42:40,020 --> 00:42:41,760 I could even put you in the about box. 768 00:42:43,380 --> 00:42:45,280 So, try to do that. 769 00:42:46,440 --> 00:42:47,000 All right. 770 00:42:47,120 --> 00:42:47,580 That's it. 771 00:42:47,660 --> 00:42:47,860 Thanks. 772 00:42:49,000 --> 00:42:49,400 Thanks. 773 00:42:49,760 --> 00:42:50,160 Thanks.