1 00:00:00,000 --> 00:00:03,520 My name is Brandon Dixon. I am a security engineer at G2. 2 00:00:03,980 --> 00:00:08,860 And you'll notice from the actual slide title that I named it Carrier Pigeon. 3 00:00:09,240 --> 00:00:14,240 This is a project that I started as a joke two years ago. 4 00:00:14,740 --> 00:00:18,880 There I wanted to annoy a friend, and the Carrier Pigeon name is more of a... 5 00:00:19,400 --> 00:00:22,420 This is a delivery method, so to speak. 6 00:00:22,520 --> 00:00:25,760 It's not an actual exploit. It's not me packing headers, nothing like that. 7 00:00:25,880 --> 00:00:28,700 Nothing adjusting the actual SMS message. 8 00:00:28,700 --> 00:00:34,220 It's using the SMS implementation as a vector to deliver malicious links, 9 00:00:34,480 --> 00:00:38,300 possible malicious code, spam, and things along those lines. 10 00:00:40,060 --> 00:00:42,320 So two things I'm going to be talking about. 11 00:00:42,520 --> 00:00:49,040 One is abusing the short mail implementation that is offered by the carriers. 12 00:00:49,220 --> 00:00:57,260 And the second one is going to be bonding XMPP names with legacy instant messaging clients 13 00:00:57,260 --> 00:00:58,680 to actually reach out. 14 00:00:58,700 --> 00:01:06,980 So starting with the short mail, the second you have an account or some service with your 15 00:01:06,980 --> 00:01:10,520 mobile provider, your number is automatically associated with an email address. 16 00:01:11,180 --> 00:01:13,940 This email address automatically turns you into a victim. 17 00:01:15,360 --> 00:01:17,500 All you have to have is text messaging enabled. 18 00:01:18,620 --> 00:01:22,540 When somebody actually has your number and the carrier that you belong to, 19 00:01:22,740 --> 00:01:28,400 they can send a message to that number, that address, and the message will make it there. 20 00:01:28,700 --> 00:01:29,540 Without a problem. 21 00:01:30,260 --> 00:01:33,600 It's received as a text message, not as an email, so it shows up in your inbox. 22 00:01:34,440 --> 00:01:40,280 And the cost equivalent is that it's standard to a regular text message. 23 00:01:40,740 --> 00:01:45,080 So right away, one of the biggest problems with this is that it's enabled by default. 24 00:01:45,380 --> 00:01:49,280 The second you sign up for service, you have this enabled whether you know it or not. 25 00:01:49,500 --> 00:01:54,000 And one of the things I've noticed is that when you're filling out the application 26 00:01:54,000 --> 00:01:57,340 or whatever it is to actually get your service signed up, 27 00:01:57,440 --> 00:01:58,440 they don't sit there. 28 00:01:58,440 --> 00:02:01,560 They don't go, oh, by the way, we've enabled something by default. 29 00:02:01,660 --> 00:02:05,520 You may not necessarily want, but if somebody starts to abuse it, we're going to charge you for it. 30 00:02:06,920 --> 00:02:10,740 So kind of attacking short mail, you have the conventional spamming techniques 31 00:02:10,740 --> 00:02:12,260 that are already out there today. 32 00:02:12,700 --> 00:02:18,400 You have the mass mailers, which email, you get flooded, you get in spam all the time. 33 00:02:18,600 --> 00:02:24,180 So the only thing that spammers and mass mailers have to do is actually change the target list 34 00:02:24,180 --> 00:02:26,940 in which it gets inputted into these mass mailers. 35 00:02:28,440 --> 00:02:32,420 And I'll get more on that later about actually creating those actual victim lists. 36 00:02:32,840 --> 00:02:37,320 So another thing, that spamming technique that you can use with this short mail attack 37 00:02:37,320 --> 00:02:39,360 is that you can actually spoof the source address. 38 00:02:39,860 --> 00:02:42,020 From some of the carriers that I have talked to, 39 00:02:42,140 --> 00:02:44,680 they don't actually concern themselves with the source 40 00:02:44,680 --> 00:02:49,100 because they're more concerned with the content, which makes sense. 41 00:02:49,160 --> 00:02:52,820 But at the same time, an average user getting a message from, you know, 42 00:02:52,820 --> 00:02:57,400 the president at the White House or, you know, whoever, 43 00:02:58,440 --> 00:03:02,980 if it looks real, then they're more than likely going to believe it. 44 00:03:03,060 --> 00:03:07,580 So it adds another ability to actually do phishing and things along those lines. 45 00:03:07,660 --> 00:03:08,620 It's another attack vector. 46 00:03:09,880 --> 00:03:12,660 So the carrier can be identified by services online. 47 00:03:12,840 --> 00:03:13,920 It's completely scriptable. 48 00:03:14,080 --> 00:03:17,220 And that kind of goes hand-in-hand with generating these victim lists 49 00:03:17,220 --> 00:03:21,820 in that you can actually go to several sites, these form-based sites, 50 00:03:22,020 --> 00:03:26,080 write a parser to go through the site, and input the actual user's number 51 00:03:26,080 --> 00:03:28,240 and fairly accurately generate. 52 00:03:28,440 --> 00:03:31,780 A list of all the victim numbers that you want 53 00:03:31,780 --> 00:03:34,620 and the respective carriers they're associated to. 54 00:03:35,820 --> 00:03:38,460 So some of the limitations with this attack 55 00:03:38,460 --> 00:03:41,440 is anything past 160 characters may be dropped, 56 00:03:41,580 --> 00:03:42,600 and this depends on the carrier. 57 00:03:42,920 --> 00:03:46,800 I've noticed that some carriers will do the truncating for you 58 00:03:46,800 --> 00:03:49,400 and they'll send the, you know, the 10, 15 messages 59 00:03:50,120 --> 00:03:52,660 based on the length of the actual email you send, 60 00:03:52,720 --> 00:03:54,960 while other ones just drop right past 160. 61 00:03:56,160 --> 00:03:58,220 So the other part is, 62 00:03:58,220 --> 00:04:00,820 the carrier must properly be identified for the message to go through, 63 00:04:00,900 --> 00:04:01,820 which is kind of common sense. 64 00:04:02,020 --> 00:04:05,520 If you're sending a message to a number that doesn't exist on that proper carrier, 65 00:04:05,720 --> 00:04:06,720 then it's not going to make it. 66 00:04:08,200 --> 00:04:12,000 And same way with SMS, there's no delivery confirmation. 67 00:04:12,640 --> 00:04:15,100 There's no reliable means of expecting that message 68 00:04:15,100 --> 00:04:17,880 to know that it made it through to the actual user itself. 69 00:04:19,580 --> 00:04:21,320 So overall, why is this bad? 70 00:04:21,700 --> 00:04:24,060 An incoming text is a charge to the user. 71 00:04:24,820 --> 00:04:27,060 Whether they want it or not, it's owned by default. 72 00:04:28,560 --> 00:04:30,700 You can send the short mail from any client. 73 00:04:30,900 --> 00:04:33,720 So, like I said, it goes back to the standard spamming techniques 74 00:04:33,720 --> 00:04:36,920 and mass mailers, in that nothing changes for them. 75 00:04:37,280 --> 00:04:41,040 Nothing changes if you're out at X boyfriend, X girlfriend, whatever, 76 00:04:41,320 --> 00:04:43,320 wants to keep on sending you these messages, 77 00:04:43,400 --> 00:04:45,600 they can instantly do it right from their standard mail client. 78 00:04:46,580 --> 00:04:49,100 So, all of this, of course, is a problem 79 00:04:49,100 --> 00:04:50,280 because it's turned on by default 80 00:04:50,280 --> 00:04:52,080 and most people don't even realize it. 81 00:04:52,800 --> 00:04:57,040 So the carriers offer limited methods to stopping the attack. 82 00:04:58,100 --> 00:04:59,100 By default. 83 00:04:59,240 --> 00:05:01,100 And what I mean by that is that the carriers 84 00:05:01,100 --> 00:05:03,760 give you the ability through some web interfaces 85 00:05:03,760 --> 00:05:06,620 to actually block 10 to 15 domains, 86 00:05:07,080 --> 00:05:09,040 block certain emails, block certain numbers. 87 00:05:09,280 --> 00:05:13,700 The problem with that is that I can generate a random email 88 00:05:15,080 --> 00:05:17,040 with a domain name of 30 characters 89 00:05:17,040 --> 00:05:18,720 that's random every single time 90 00:05:18,720 --> 00:05:20,340 and it's going to make it through. 91 00:05:20,560 --> 00:05:21,940 And when I did my initial testing, 92 00:05:23,480 --> 00:05:25,060 all the messages were different, 93 00:05:25,120 --> 00:05:26,900 obviously because it's coming from a different source. 94 00:05:27,040 --> 00:05:30,140 So, you block 10 to 15 addresses, 95 00:05:30,800 --> 00:05:33,860 it doesn't matter because I can generate 10 to 15 in five seconds 96 00:05:33,860 --> 00:05:35,100 without a problem. 97 00:05:36,360 --> 00:05:38,620 So, that's some of the stuff they offer by default 98 00:05:38,620 --> 00:05:40,500 and the other information is just not clear. 99 00:05:41,280 --> 00:05:43,360 I actually got to talk with some of the carriers 100 00:05:43,360 --> 00:05:45,540 and they told me certain things, you know, 101 00:05:46,100 --> 00:05:47,560 yeah, we do have this available, 102 00:05:47,940 --> 00:05:50,180 but the information to actually find that 103 00:05:50,180 --> 00:05:54,020 readily available to the user was fairly difficult. 104 00:05:54,240 --> 00:05:56,000 It was kind of, you know, obfuscated 105 00:05:56,000 --> 00:05:57,020 within all the other things. 106 00:05:57,020 --> 00:06:01,380 So, some of the carrier capabilities that I did discover 107 00:06:03,080 --> 00:06:06,200 and actually in coordination with the DEF CON talk, 108 00:06:06,340 --> 00:06:09,120 they put me through Sprint and Verizon 109 00:06:09,120 --> 00:06:10,780 and some other carriers 110 00:06:10,780 --> 00:06:12,380 and I was able to speak with them 111 00:06:12,380 --> 00:06:14,580 to see what protection measures they had in place 112 00:06:14,580 --> 00:06:16,760 and they couldn't tell me everything about, you know, 113 00:06:16,800 --> 00:06:17,980 obviously about their infrastructure, 114 00:06:18,120 --> 00:06:19,000 but they could tell me enough 115 00:06:19,000 --> 00:06:21,300 that there was some protection for the user. 116 00:06:22,340 --> 00:06:23,860 So, obviously what I said before 117 00:06:23,860 --> 00:06:25,540 is that users can block certain domains 118 00:06:25,540 --> 00:06:27,000 or completely shut the feature off. 119 00:06:27,000 --> 00:06:28,680 Depending on the carrier. 120 00:06:31,440 --> 00:06:33,500 Throttling and rate limiting are in place 121 00:06:34,100 --> 00:06:35,400 actually at the carrier level, 122 00:06:35,600 --> 00:06:37,820 which is, it's not exactly clear how that's implemented 123 00:06:37,820 --> 00:06:40,280 because they couldn't talk about their infrastructure, 124 00:06:41,520 --> 00:06:43,040 but during my testing, 125 00:06:43,120 --> 00:06:44,980 I could see that messages would get queued up. 126 00:06:45,060 --> 00:06:46,060 Some of them would be dropped 127 00:06:46,060 --> 00:06:47,420 depending on the rate that I sent them. 128 00:06:49,860 --> 00:06:51,920 Another carrier, a few carriers I've heard of 129 00:06:51,920 --> 00:06:55,420 allow you to actually alias your short mail account 130 00:06:55,420 --> 00:06:56,980 so that you're not, 131 00:06:57,000 --> 00:06:59,340 you're no longer exposing your number and your carrier, 132 00:06:59,500 --> 00:07:00,880 which is great, 133 00:07:01,060 --> 00:07:01,760 but that doesn't, 134 00:07:01,840 --> 00:07:04,280 it's not a feature that's available for all carriers. 135 00:07:05,180 --> 00:07:06,940 So, kind of the trend that I've noticed 136 00:07:06,940 --> 00:07:10,140 is that carriers implement some sort of protection, 137 00:07:11,380 --> 00:07:12,840 but it's not all the same. 138 00:07:13,000 --> 00:07:13,940 Some do it better than others, 139 00:07:14,020 --> 00:07:15,360 some offer this, some offer that, 140 00:07:15,480 --> 00:07:17,160 but it's never, you know, 100%. 141 00:07:18,380 --> 00:07:19,660 So, fixing the issue, 142 00:07:20,300 --> 00:07:22,800 the feature should be easily adjusted by the user 143 00:07:22,800 --> 00:07:23,900 and what I mean by that is 144 00:07:23,900 --> 00:07:25,600 it should just be turned off by default. 145 00:07:26,040 --> 00:07:26,840 There's no reason, 146 00:07:26,900 --> 00:07:26,980 you know, 147 00:07:26,980 --> 00:07:28,220 why that should be on right away, 148 00:07:28,860 --> 00:07:30,880 but part of actually turning that off 149 00:07:30,880 --> 00:07:33,460 is now the business end of it 150 00:07:33,460 --> 00:07:37,520 in that it's been on for who knows how long. 151 00:07:37,640 --> 00:07:38,680 People are used to it. 152 00:07:38,700 --> 00:07:39,760 Now, I've actually, you know, 153 00:07:39,760 --> 00:07:41,780 met people that legitimately use the service 154 00:07:42,380 --> 00:07:44,300 and shutting that off now 155 00:07:45,360 --> 00:07:46,900 would just cause a lot of issues 156 00:07:46,900 --> 00:07:49,920 and forcing people to actually go back, 157 00:07:50,020 --> 00:07:50,900 turn it back on. 158 00:07:51,480 --> 00:07:52,360 It's just a, 159 00:07:52,380 --> 00:07:54,420 it's got to be analyzed from a business perspective 160 00:07:54,420 --> 00:07:56,600 and they have to, 161 00:07:56,600 --> 00:07:59,000 to ensure that, you know, 162 00:07:59,000 --> 00:07:59,880 when they do this 163 00:07:59,880 --> 00:08:01,040 or if they're going to do it, 164 00:08:01,060 --> 00:08:01,820 is it worth the actual, 165 00:08:02,040 --> 00:08:04,180 is it worth it to actually go and do it? 166 00:08:04,960 --> 00:08:06,520 So, one of the other things that I, 167 00:08:06,640 --> 00:08:08,800 that I noticed given throughout the carriers 168 00:08:08,800 --> 00:08:10,720 was that more power should be given to block 169 00:08:11,560 --> 00:08:12,860 unwanted messages by default 170 00:08:12,860 --> 00:08:14,200 and what I mean by that 171 00:08:14,580 --> 00:08:15,820 is that some of these carriers, 172 00:08:15,960 --> 00:08:17,940 like I said, 10 to 15 and that's it 173 00:08:17,940 --> 00:08:19,000 and the rest of it, 174 00:08:19,040 --> 00:08:21,180 you actually have to go to the carrier, 175 00:08:21,660 --> 00:08:23,160 deal with them directly and say, 176 00:08:23,240 --> 00:08:24,720 hey, I got a special case, you know, 177 00:08:25,160 --> 00:08:26,500 my wife is going crazy, 178 00:08:26,500 --> 00:08:28,000 she won't stop emailing me, 179 00:08:28,180 --> 00:08:28,900 you know, I can't, 180 00:08:28,900 --> 00:08:29,920 I keep on getting these messages 181 00:08:29,920 --> 00:08:30,900 and it's, you know, 182 00:08:30,940 --> 00:08:31,860 where I keep on getting this spam 183 00:08:32,200 --> 00:08:33,560 and you actually have to go with them 184 00:08:33,560 --> 00:08:34,340 and deal with it by, 185 00:08:35,160 --> 00:08:36,520 by dealing with the actual carrier, 186 00:08:36,600 --> 00:08:37,420 it's this one-off case. 187 00:08:39,180 --> 00:08:39,500 So, 188 00:08:44,320 --> 00:08:45,280 moving on to the, 189 00:08:45,340 --> 00:08:46,660 the next part of this, 190 00:08:47,760 --> 00:08:49,580 the XMPP and Jabber aspect of it, 191 00:08:49,660 --> 00:08:51,080 kind of put a few things on here 192 00:08:51,080 --> 00:08:52,920 that kind of covers XMPP and Jabber 193 00:08:53,360 --> 00:08:54,540 that are of interest for what 194 00:08:54,540 --> 00:08:55,740 I'm going to be talking about next. 195 00:08:56,140 --> 00:08:56,480 The first one is, 196 00:08:56,480 --> 00:08:57,720 the communications are done through XML. 197 00:08:58,300 --> 00:09:00,500 Setting up your own server is extremely easy. 198 00:09:01,100 --> 00:09:03,360 There's multiple options for different platforms. 199 00:09:04,560 --> 00:09:07,260 Allows for bonding to legacy chat implementations 200 00:09:07,260 --> 00:09:09,380 and what's meant by legacy is that 201 00:09:10,460 --> 00:09:11,500 you're actually, 202 00:09:12,800 --> 00:09:14,460 things such as AOL, Yahoo, 203 00:09:14,720 --> 00:09:15,500 things along those lines 204 00:09:15,500 --> 00:09:16,740 that aren't using XML, 205 00:09:17,500 --> 00:09:18,440 they're considered legacy. 206 00:09:18,980 --> 00:09:21,440 So, you have control of the message flow, 207 00:09:21,660 --> 00:09:23,360 there's actually no rate limiting 208 00:09:23,360 --> 00:09:24,260 on your own server 209 00:09:24,260 --> 00:09:25,520 if you set up your own local XMPP, 210 00:09:25,960 --> 00:09:26,540 XMPP server. 211 00:09:28,280 --> 00:09:29,240 So, right now, 212 00:09:29,300 --> 00:09:31,200 there's this internet to mobile communications. 213 00:09:31,520 --> 00:09:32,280 There's Google Talk, 214 00:09:32,360 --> 00:09:32,680 there's Yahoo, 215 00:09:32,860 --> 00:09:33,180 AIM, 216 00:09:33,220 --> 00:09:34,340 MSN in some areas. 217 00:09:34,880 --> 00:09:36,540 So, you can input a user's phone number, 218 00:09:36,660 --> 00:09:37,380 you know, 219 00:09:37,380 --> 00:09:38,360 as long as you know it, 220 00:09:38,400 --> 00:09:41,480 and they're now considered a contact within your list. 221 00:09:41,640 --> 00:09:43,140 You can send a message to them, 222 00:09:43,240 --> 00:09:44,520 it's going to make it to their phone, 223 00:09:44,640 --> 00:09:46,100 it's up to them whether or not they want to respond. 224 00:09:47,120 --> 00:09:49,200 So, messages get sent in the form of an SMS. 225 00:09:50,380 --> 00:09:51,140 So, what's new? 226 00:09:51,760 --> 00:09:53,100 Obviously, this is nothing new. 227 00:09:53,240 --> 00:09:54,000 Google forces, 228 00:09:54,060 --> 00:09:54,500 you know, 229 00:09:54,500 --> 00:09:58,040 some of these implementations have been done correctly. 230 00:09:58,620 --> 00:09:59,560 Google, for one, 231 00:09:59,660 --> 00:10:01,820 forces a user to respond after a chat's initiated. 232 00:10:02,380 --> 00:10:04,440 If there's no response after a few messages, 233 00:10:04,760 --> 00:10:06,200 you have no more talk with that person 234 00:10:06,200 --> 00:10:07,500 until they respond later on. 235 00:10:08,300 --> 00:10:10,500 Yahoo also forces a user to respond 236 00:10:10,500 --> 00:10:11,600 after a chat is initiated, 237 00:10:12,300 --> 00:10:14,600 and they actually perform some throttling in place 238 00:10:14,600 --> 00:10:15,660 whereas Google doesn't. 239 00:10:16,100 --> 00:10:17,620 So, AOL, on the other hand, 240 00:10:17,640 --> 00:10:19,920 does not force a user to respond back 241 00:10:19,920 --> 00:10:20,920 once a chat is initiated. 242 00:10:22,020 --> 00:10:23,640 But they do do some throttling, 243 00:10:23,680 --> 00:10:24,480 which is easily bypassed. 244 00:10:25,800 --> 00:10:27,800 So, moving on to Abuse AOL, 245 00:10:28,620 --> 00:10:30,180 the rate limiting is imposed 246 00:10:30,180 --> 00:10:31,700 when sending messages too fast. 247 00:10:32,180 --> 00:10:33,920 You can go through their fat client 248 00:10:33,920 --> 00:10:35,600 and actually just pick somebody 249 00:10:35,600 --> 00:10:36,860 and just keep on sending messages. 250 00:10:36,920 --> 00:10:38,080 Eventually, it's going to tell you that, 251 00:10:38,180 --> 00:10:40,080 hey, you're sending too much too fast, stop. 252 00:10:41,620 --> 00:10:43,840 So, that's easily handled by putting a delay. 253 00:10:44,120 --> 00:10:45,800 You know, this can all be done programmatically. 254 00:10:45,840 --> 00:10:47,000 You put a delay in your program 255 00:10:47,000 --> 00:10:49,820 to actually slow it down a little bit 256 00:10:49,820 --> 00:10:50,940 so you're still sending your messages, 257 00:10:51,020 --> 00:10:52,980 but you're getting past their throttling 258 00:10:52,980 --> 00:10:53,560 and rate limiting. 259 00:10:54,500 --> 00:10:56,580 So, one of the interesting things I've noticed 260 00:10:56,580 --> 00:10:57,900 compared to short mail 261 00:10:57,900 --> 00:11:00,820 was that messages past 160 characters 262 00:11:00,820 --> 00:11:02,380 are split into multiple messages 263 00:11:02,380 --> 00:11:03,620 and not dropped. 264 00:11:03,960 --> 00:11:07,080 So, one message has a 2,000 byte max 265 00:11:07,080 --> 00:11:09,640 and that's equivalent to 13 messages. 266 00:11:10,300 --> 00:11:13,380 So, going back to this rate limiting imposed, 267 00:11:14,180 --> 00:11:15,540 I can send one message 268 00:11:15,540 --> 00:11:17,700 and have it effectively turn into 13 messages 269 00:11:17,700 --> 00:11:18,840 on somebody's phone, 270 00:11:19,020 --> 00:11:19,980 which is great 271 00:11:19,980 --> 00:11:21,560 because then I can send five messages, 272 00:11:21,700 --> 00:11:22,960 I still haven't hit the throttle yet, 273 00:11:23,100 --> 00:11:24,480 and they've just got to go through 274 00:11:24,480 --> 00:11:25,760 and they've just got a whole lot more messages. 275 00:11:26,560 --> 00:11:30,080 So, one of the things that I noticed quite recently, 276 00:11:30,360 --> 00:11:30,960 and like I said, 277 00:11:31,000 --> 00:11:32,180 I started this a long time ago, 278 00:11:32,420 --> 00:11:33,680 probably two years back, 279 00:11:33,840 --> 00:11:34,980 and it was nothing more than a joke. 280 00:11:35,760 --> 00:11:37,680 I've noticed that you must make, 281 00:11:37,860 --> 00:11:40,600 you must accept the actual user 282 00:11:40,600 --> 00:11:42,240 who is sending you a message 283 00:11:43,800 --> 00:11:45,420 when you're on your mobile device now. 284 00:11:45,540 --> 00:11:46,740 Before, for my testing, 285 00:11:46,880 --> 00:11:49,080 it was I could send messages to anybody 286 00:11:49,080 --> 00:11:51,360 and my messages would come right back up. 287 00:11:51,540 --> 00:11:53,580 But it appears that AOL has actually 288 00:11:53,580 --> 00:11:54,460 taken some steps to make sure that 289 00:11:54,480 --> 00:11:56,060 you have access to further and strengthen this 290 00:11:56,060 --> 00:11:59,140 by forcing you to now accept any person 291 00:11:59,140 --> 00:12:01,780 that is new within your mobile device. 292 00:12:03,080 --> 00:12:05,100 You have to accept communications with them. 293 00:12:05,600 --> 00:12:06,920 They, by default now, 294 00:12:07,080 --> 00:12:08,220 they send you a message like 295 00:12:08,220 --> 00:12:09,440 you can easily block this, 296 00:12:09,520 --> 00:12:10,540 you can do anything you want. 297 00:12:10,780 --> 00:12:12,100 They offer a lot more options, 298 00:12:12,220 --> 00:12:13,240 but the problem still remains 299 00:12:13,240 --> 00:12:14,360 that if you accept it, 300 00:12:14,520 --> 00:12:15,960 you're going to keep on getting messages 301 00:12:15,960 --> 00:12:16,740 from that person 302 00:12:16,740 --> 00:12:18,240 if they've already kept on sending them. 303 00:12:19,220 --> 00:12:20,700 So, as I mentioned before, 304 00:12:20,760 --> 00:12:22,080 abuse can be done programmatically. 305 00:12:24,480 --> 00:12:25,640 And now we move kind of into 306 00:12:25,640 --> 00:12:28,440 the XMPP and Jabber transports, 307 00:12:28,440 --> 00:12:30,560 which brings the XMPP 308 00:12:30,560 --> 00:12:31,980 and the legacy services together. 309 00:12:32,360 --> 00:12:34,660 So, a transport in itself 310 00:12:34,660 --> 00:12:37,040 is a bolt-on service for a Jabber server. 311 00:12:38,320 --> 00:12:41,260 There's transports for Yahoo, MSN, AOL, 312 00:12:42,000 --> 00:12:42,900 all different types. 313 00:12:43,700 --> 00:12:45,400 So, it shows up in the service directory 314 00:12:45,400 --> 00:12:46,640 for the hosted Jabber domain. 315 00:12:47,760 --> 00:12:49,400 Users can bond to these 316 00:12:49,400 --> 00:12:50,940 quote-unquote legacy services 317 00:12:51,720 --> 00:12:53,000 with their Jabber name 318 00:12:53,000 --> 00:12:54,340 to an AOL name. 319 00:12:54,850 --> 00:12:56,440 So, what happens is that 320 00:12:56,440 --> 00:12:58,440 they log in at their Jabber account 321 00:12:58,440 --> 00:13:00,140 and they can see all their AOL contacts. 322 00:13:01,720 --> 00:13:02,840 To give an example, 323 00:13:02,900 --> 00:13:03,960 the user looks like 324 00:13:03,960 --> 00:13:05,920 aolcontact at myjabber.com, 325 00:13:06,040 --> 00:13:09,040 where myjabber.com is the actual XMPP server. 326 00:13:09,620 --> 00:13:11,700 And the AOL contact is somebody 327 00:13:11,700 --> 00:13:12,820 that you would actually be 328 00:13:13,360 --> 00:13:15,200 sending a message to on your contact list. 329 00:13:16,020 --> 00:13:17,720 So, the Jabber name can bond 330 00:13:17,720 --> 00:13:19,000 to multiple AOL names. 331 00:13:19,200 --> 00:13:20,680 Each must be in a different transport. 332 00:13:21,360 --> 00:13:23,720 And there are plenty of public transports available. 333 00:13:23,860 --> 00:13:24,160 So, 334 00:13:24,480 --> 00:13:26,380 one of the benefits that I had 335 00:13:26,380 --> 00:13:27,580 doing all this testing was that 336 00:13:28,420 --> 00:13:31,320 a lot of places in Europe 337 00:13:31,320 --> 00:13:32,140 and other countries 338 00:13:33,260 --> 00:13:35,620 openly have public transports available 339 00:13:35,620 --> 00:13:36,680 that you can connect to 340 00:13:36,680 --> 00:13:37,620 and bond your names to. 341 00:13:37,960 --> 00:13:39,420 So, when I was doing my testing, 342 00:13:39,500 --> 00:13:40,380 there was no way I was doing it 343 00:13:40,380 --> 00:13:41,540 from my local box. 344 00:13:41,660 --> 00:13:43,120 It was always from Brazil or Norway 345 00:13:43,120 --> 00:13:43,860 or the Czech Republic. 346 00:13:45,160 --> 00:13:47,360 And they're getting hits all the time. 347 00:13:47,520 --> 00:13:48,600 So, more than likely, 348 00:13:48,640 --> 00:13:49,520 they're not keeping logs. 349 00:13:49,700 --> 00:13:50,160 More than likely, 350 00:13:50,200 --> 00:13:51,660 they don't care who goes on their server. 351 00:13:51,920 --> 00:13:53,440 So, it's just another way 352 00:13:53,440 --> 00:13:54,440 to obfuscate your traffic. 353 00:13:54,480 --> 00:13:56,160 And another loop 354 00:13:56,840 --> 00:13:58,680 that you can push all your messages through. 355 00:14:00,440 --> 00:14:01,000 So, now, 356 00:14:01,100 --> 00:14:02,480 kind of tying everything together, 357 00:14:03,180 --> 00:14:04,080 phones and Jabber. 358 00:14:04,420 --> 00:14:06,040 You can have an internal Jabber server 359 00:14:06,040 --> 00:14:07,660 set up with an AIM transport service. 360 00:14:07,800 --> 00:14:08,460 This could be local 361 00:14:08,460 --> 00:14:10,120 or you could use, like I said, 362 00:14:10,160 --> 00:14:11,480 one of the public transports. 363 00:14:11,720 --> 00:14:13,440 You bond your Jabber account 364 00:14:13,440 --> 00:14:14,580 with your AOL account. 365 00:14:14,980 --> 00:14:16,640 And you send messages to the phone 366 00:14:16,640 --> 00:14:17,960 using your internal Jabber account 367 00:14:17,960 --> 00:14:19,060 or your just, whatever, 368 00:14:19,220 --> 00:14:20,020 your public Jabber account. 369 00:14:20,860 --> 00:14:22,760 The connection, bonding, and authorization 370 00:14:22,760 --> 00:14:24,180 can be done programmatically. 371 00:14:24,800 --> 00:14:26,420 So, you don't actually have to have 372 00:14:26,420 --> 00:14:27,540 a fat client available to you. 373 00:14:27,600 --> 00:14:28,500 There are some messengers 374 00:14:28,940 --> 00:14:30,060 that actually do this. 375 00:14:31,280 --> 00:14:32,240 PSI is one of them. 376 00:14:32,540 --> 00:14:34,260 But I quickly realized that 377 00:14:34,260 --> 00:14:36,340 using a fat client just to bond my name 378 00:14:36,340 --> 00:14:37,100 was going to be pointless. 379 00:14:37,520 --> 00:14:38,980 And it was better to actually go 380 00:14:38,980 --> 00:14:40,500 find out how to do this programmatically. 381 00:14:41,100 --> 00:14:43,460 So, the XMPP spec's readily available. 382 00:14:43,760 --> 00:14:44,800 They tell you how to do it. 383 00:14:44,840 --> 00:14:45,560 They have the code there. 384 00:14:45,820 --> 00:14:47,140 All you have to do is send the messages 385 00:14:47,140 --> 00:14:47,960 to the right server. 386 00:14:48,120 --> 00:14:48,900 It consumes it. 387 00:14:48,980 --> 00:14:50,340 It does everything you need it to do. 388 00:14:51,480 --> 00:14:52,800 So, now, moving on 389 00:14:52,800 --> 00:14:54,340 and abusing phones with all of this. 390 00:14:54,340 --> 00:14:56,900 You can effectively generate a phone list. 391 00:14:57,060 --> 00:14:59,200 You have whatever number you want. 392 00:15:00,640 --> 00:15:02,100 When I was doing my initial testing, 393 00:15:02,160 --> 00:15:04,380 I generated numbers for my local area codes 394 00:15:04,840 --> 00:15:06,640 for both the 443 and the 410 395 00:15:06,640 --> 00:15:08,260 to have everybody's number, 396 00:15:08,400 --> 00:15:10,300 whether they were a cell phone or not, 397 00:15:10,320 --> 00:15:10,940 in that list. 398 00:15:12,240 --> 00:15:14,460 I then need to generate an AOL account list. 399 00:15:14,720 --> 00:15:15,760 And you must own these. 400 00:15:17,080 --> 00:15:18,560 I'm sure there's plenty of ways 401 00:15:18,560 --> 00:15:19,460 out there to get those. 402 00:15:20,800 --> 00:15:22,000 You can read through the list 403 00:15:22,000 --> 00:15:23,740 and send one giant message per number. 404 00:15:24,340 --> 00:15:26,260 So, effectively, I'm reading in each number 405 00:15:26,260 --> 00:15:27,620 and sending one message 406 00:15:27,620 --> 00:15:29,360 that may be equivalent to 13 messages. 407 00:15:29,980 --> 00:15:32,700 And what that does is it bypasses the rate limiting 408 00:15:32,700 --> 00:15:34,260 because there is none on XMPP. 409 00:15:34,300 --> 00:15:35,920 So, I keep on going, 410 00:15:35,980 --> 00:15:37,060 scrolling through all my numbers. 411 00:15:37,560 --> 00:15:40,880 And then AOL is never going to push any throttling 412 00:15:40,880 --> 00:15:43,140 because I'm never sending more than five messages 413 00:15:43,140 --> 00:15:45,120 to the end user. 414 00:15:45,880 --> 00:15:47,560 So, when I did my testing 415 00:15:47,560 --> 00:15:49,180 between two XMPP services, 416 00:15:49,400 --> 00:15:51,540 I was able to send 1,000 messages per second. 417 00:15:52,260 --> 00:15:52,740 Obviously, 418 00:15:54,380 --> 00:15:55,600 there is the potential 419 00:15:55,600 --> 00:15:57,900 that you could overload some networks and whatnot. 420 00:15:59,080 --> 00:16:00,060 But, I mean, 421 00:16:00,140 --> 00:16:02,700 that was put no load on my server at all. 422 00:16:02,760 --> 00:16:04,540 Messages went through without a problem. 423 00:16:06,380 --> 00:16:09,060 So, you can also send multiple messages to one number. 424 00:16:09,440 --> 00:16:10,300 But, like I said, 425 00:16:10,360 --> 00:16:11,600 you've got to add that delay in there 426 00:16:11,600 --> 00:16:14,020 to avoid any throttling on AOL's end. 427 00:16:14,800 --> 00:16:15,980 So, the limitations. 428 00:16:16,480 --> 00:16:18,700 Obviously, AOL is a single point of failure. 429 00:16:18,980 --> 00:16:20,460 You know, the public transports, 430 00:16:20,460 --> 00:16:21,780 there's plenty of them out there 431 00:16:21,780 --> 00:16:22,580 that you can bond to. 432 00:16:23,700 --> 00:16:24,280 Rate limiting, 433 00:16:24,280 --> 00:16:25,300 limiting is a pain to deal with. 434 00:16:26,000 --> 00:16:28,040 The phone carriers seem to queue up messages. 435 00:16:28,180 --> 00:16:29,600 They have limited bandwidth on the channels. 436 00:16:29,900 --> 00:16:31,580 So, some messages could be dropped. 437 00:16:31,660 --> 00:16:32,240 In my experience, 438 00:16:32,360 --> 00:16:34,360 depending on how you send them, 439 00:16:34,460 --> 00:16:35,740 they will be dropped in some cases. 440 00:16:36,500 --> 00:16:39,180 And AOL provides support to combat against these spam 441 00:16:39,180 --> 00:16:41,220 and allows users to block these messages now. 442 00:16:42,380 --> 00:16:43,400 So, why is this bad? 443 00:16:43,880 --> 00:16:45,700 You can send messages at a high rate of speed. 444 00:16:46,400 --> 00:16:48,700 Some transports have support for SOX proxies, 445 00:16:48,700 --> 00:16:49,200 such as Tor. 446 00:16:49,480 --> 00:16:51,620 So, you can push all your traffic and messaging 447 00:16:51,620 --> 00:16:52,260 through Tor 448 00:16:52,820 --> 00:16:54,260 and be completely independent. 449 00:16:54,280 --> 00:16:54,540 Anonymous. 450 00:16:55,340 --> 00:16:57,840 The public transports are often found in other countries 451 00:16:57,840 --> 00:16:59,000 with a large user base. 452 00:16:59,180 --> 00:16:59,860 It's good for hiding. 453 00:17:00,420 --> 00:17:02,460 And all attacks can be done programmatically 454 00:17:02,460 --> 00:17:03,140 without interaction. 455 00:17:04,640 --> 00:17:05,940 So, fixing the problem. 456 00:17:06,580 --> 00:17:08,100 AOL's done a pretty good job so far, 457 00:17:08,280 --> 00:17:10,460 but they kind of need to push their implementation 458 00:17:10,460 --> 00:17:11,340 a little bit better 459 00:17:11,340 --> 00:17:14,360 and force it so they kind of fall in along 460 00:17:14,880 --> 00:17:15,800 Yahoo and Google 461 00:17:15,800 --> 00:17:18,260 and that the user has to respond back 462 00:17:18,260 --> 00:17:20,120 before any chats can actually continue. 463 00:17:21,260 --> 00:17:22,840 Like I said, the protection's gotten better 464 00:17:22,840 --> 00:17:23,800 since I began testing. 465 00:17:25,280 --> 00:17:27,920 You know, they had AOL has two servers, 466 00:17:28,040 --> 00:17:28,820 Oscar and Tock, 467 00:17:28,920 --> 00:17:31,820 and the Tock servers no longer appear to support 468 00:17:31,820 --> 00:17:33,160 the internet to mobile communications. 469 00:17:33,380 --> 00:17:34,600 I don't know why that was shut off, 470 00:17:34,700 --> 00:17:36,520 but coincidentally, I noticed this 471 00:17:36,520 --> 00:17:38,460 when I was doing a month-long testing 472 00:17:38,920 --> 00:17:40,040 of a couple friends. 473 00:17:40,320 --> 00:17:42,620 So, I don't know if I was attributed to that, 474 00:17:42,700 --> 00:17:44,040 but it's definitely shut off now 475 00:17:44,040 --> 00:17:45,380 and I still check it every now and then. 476 00:17:46,360 --> 00:17:48,300 So, bringing everything back full circle, 477 00:17:48,460 --> 00:17:49,460 why does this all matter? 478 00:17:50,360 --> 00:17:52,300 The user is at risk with limited ways 479 00:17:52,300 --> 00:17:53,620 to fight against the attack. 480 00:17:53,620 --> 00:17:54,700 It depends on the vendor. 481 00:17:55,540 --> 00:17:57,840 In this case, it's the cell carriers and AOL. 482 00:17:58,620 --> 00:18:01,320 And the cellular networks are potentially at risk 483 00:18:01,320 --> 00:18:04,760 for targeted attacks that could affect their services. 484 00:18:06,400 --> 00:18:08,160 So, I'm assuring the vendors are fixing things 485 00:18:08,160 --> 00:18:10,400 and that's all that we're concerned about. 486 00:18:11,000 --> 00:18:12,800 And I hope that it can only get better 487 00:18:12,800 --> 00:18:13,540 and protect the user. 488 00:18:14,520 --> 00:18:16,840 So, I know I have a demo marked down on here 489 00:18:16,840 --> 00:18:18,500 and I think you guys are going to hate me, 490 00:18:18,560 --> 00:18:21,100 but unfortunately, I've had having issues 491 00:18:22,480 --> 00:18:23,360 actually working. 492 00:18:23,360 --> 00:18:23,840 Working the demo. 493 00:18:24,060 --> 00:18:25,940 So, I can't explain what it was doing 494 00:18:25,940 --> 00:18:27,480 at one point in time before I broke it. 495 00:18:27,800 --> 00:18:30,360 The web application eliminated dependencies 496 00:18:30,360 --> 00:18:31,240 within the libraries. 497 00:18:31,540 --> 00:18:33,040 So, all this was done on Linux 498 00:18:33,980 --> 00:18:35,840 using the Jabber and XMPP libraries. 499 00:18:37,100 --> 00:18:38,740 So, one of the things I wanted to do 500 00:18:38,740 --> 00:18:40,940 with the web application was abstract all that 501 00:18:43,100 --> 00:18:44,960 and basically have it so that 502 00:18:44,960 --> 00:18:48,340 any person anywhere could just do these attacks. 503 00:18:49,280 --> 00:18:50,980 So, the web application itself 504 00:18:50,980 --> 00:18:52,540 could be easily made into a framework, 505 00:18:52,540 --> 00:18:56,520 work, can be accessed anywhere, and the proof of concept that I have working allowed for 506 00:18:56,520 --> 00:19:02,800 a bonding of the names, the XMPP names to the legacy services, sending messages through 507 00:19:02,800 --> 00:19:07,580 our choice of transports, which will be pulled down real time, sending spoof short mail messages, 508 00:19:07,760 --> 00:19:11,040 identifying public transports, and then obviously more could be added. 509 00:19:12,280 --> 00:19:13,860 So here's my contact information. 510 00:19:14,260 --> 00:19:18,520 Like I said, if you guys have any questions, feel free to grab me as I'm leaving or if 511 00:19:18,520 --> 00:19:19,380 you see me at the con. 512 00:19:20,180 --> 00:19:20,880 And that's it. 513 00:19:22,540 --> 00:19:23,060 Thank you.