1 00:00:00,000 --> 00:00:08,900 So, I'm, my name is Colin Mulliner, I'm a student of the Reliable Software Group at UC Santa Barbara 2 00:00:08,900 --> 00:00:13,360 and I'm doing some security research on Bluetooth and other stuff. 3 00:00:14,120 --> 00:00:17,660 And today I'm going to talk about advanced attacks against Pocket PC phones. 4 00:00:17,840 --> 00:00:26,320 But actually that's only half of the truth, since we're actually going to talk about MMS-based attacks against Pocket PC phones. 5 00:00:26,320 --> 00:00:47,340 So, we're going to talk about attacking and exploiting Pocket PC-based smartphones, 6 00:00:48,640 --> 00:00:54,740 about vulnerability analysis of smartphones and applying fuzzing to smartphones. 7 00:00:56,880 --> 00:01:02,860 In this particular case, we're looking at the MMS, at MMS, the Multimedia Messaging Service. 8 00:01:03,700 --> 00:01:08,140 And, of course, we are going to look at the client side, the user agent side. 9 00:01:08,560 --> 00:01:15,980 So, basically, we're going to look how to analyze and then how to attack the Pocket PC MMS user agent. 10 00:01:17,440 --> 00:01:25,780 So, first, a small overview about mobile phones, state-of-the-art attacks, a little bit about Pocket PC. 11 00:01:26,320 --> 00:01:35,140 The Multimedia Messaging Service, then vulnerability testing of the Multimedia Messaging Service. 12 00:01:35,780 --> 00:01:46,960 And then some nice exploits and how to own MMS user agents and some conclusions, of course. 13 00:01:48,320 --> 00:01:56,300 So, right now, the basic attacks against mobile phones are either Bluetooth-based attacks, 14 00:01:56,320 --> 00:02:01,940 where you just, like, take control over the phone using some logic errors, 15 00:02:02,640 --> 00:02:07,280 where you can, like, steal phone books or use it to do denial-of-service attacks, 16 00:02:07,940 --> 00:02:13,840 or you attack third-party applications, do some code injection, some denial-of-service. 17 00:02:15,880 --> 00:02:21,400 Or, if you go to SMS, MMS, we have these MMS worms for Symbian, 18 00:02:22,000 --> 00:02:26,020 which don't really utilize real vulnerabilities. 19 00:02:26,320 --> 00:02:31,820 It's more like, yeah, let's see if the user is actually dumb enough to run this Trojan. 20 00:02:32,200 --> 00:02:37,880 And some common examples are the Comwarrior, the Mubbier, Worms. 21 00:02:38,040 --> 00:02:43,400 And then we have the SMS-based attacks, some format string exploits, 22 00:02:43,420 --> 00:02:46,540 which basically can only be used to crash the device. 23 00:02:46,840 --> 00:02:51,740 Or the Siemens thing, some special characters. 24 00:02:51,780 --> 00:02:56,300 If you send an SMS with a special character, the phone just freezes. 25 00:02:56,320 --> 00:02:58,940 This is very, very stupid, not very advanced. 26 00:02:59,160 --> 00:03:01,920 So we are going to do advanced attacks. 27 00:03:03,800 --> 00:03:08,440 So Pocket PC was exploited about, like, three years ago. 28 00:03:09,320 --> 00:03:16,580 There was a first talk about DEF CON, I think, 11 or 12, I don't know. 29 00:03:16,920 --> 00:03:21,420 So the basic things are, okay, we can attack some third-party applications, 30 00:03:21,520 --> 00:03:24,660 preferably FTP servers, or we can do... 31 00:03:26,320 --> 00:03:28,120 some attacks against the Bluetooth stack. 32 00:03:28,440 --> 00:03:31,560 There's actually a nice, not really public, exploit, 33 00:03:33,040 --> 00:03:38,220 because Microsoft said, oh, we're not going to fix it, the next version is getting out. 34 00:03:38,860 --> 00:03:43,140 So Tim Herman of our group, he wrote this really nice exploit. 35 00:03:44,260 --> 00:03:46,920 Then we have some other Bluetooth OBEX-based attacks. 36 00:03:48,000 --> 00:03:51,720 Nothing... it's cool, but not that great. 37 00:03:52,060 --> 00:03:54,980 And then we have some denial of service, effective active sync, 38 00:03:55,600 --> 00:03:56,120 or... 39 00:03:56,320 --> 00:04:00,660 some local attacks, which are kind of stupid, against PDAs. 40 00:04:01,200 --> 00:04:02,300 But they're there. 41 00:04:04,180 --> 00:04:06,920 So, quick overview of what is Pocket PC. 42 00:04:07,120 --> 00:04:12,300 So Pocket PC is actually just the Windows CE versions used for PDAs and smartphones. 43 00:04:13,700 --> 00:04:18,540 Yeah, there are a bunch of architectures supported, but we are actually only interested in ARM. 44 00:04:18,680 --> 00:04:22,160 Also, we're not going to do any shell code or things today. 45 00:04:23,980 --> 00:04:24,540 Yeah. 46 00:04:24,640 --> 00:04:26,120 The current version is 5.0, 47 00:04:26,320 --> 00:04:32,220 but there are so many 4.2 devices out there, so we're going to look only at 4.2. 48 00:04:34,540 --> 00:04:38,660 So that's basically the phones where... the devices we are interested in. 49 00:04:38,820 --> 00:04:44,920 Just two examples, where we have, like, GSM, wireless LAN, Bluetooth, infrared in one device. 50 00:04:46,940 --> 00:04:47,220 Yeah. 51 00:04:47,840 --> 00:04:50,740 So these kind of phones are we going to attack. 52 00:04:52,620 --> 00:04:55,000 Some quick overview about Windows CE. 53 00:04:56,320 --> 00:04:57,600 So we have this... 54 00:04:58,320 --> 00:05:03,660 Windows CE only has, like, one virtual address space for the whole... for all applications, or all processes, 55 00:05:03,960 --> 00:05:07,340 which is divided into this really stupid slot structure. 56 00:05:09,820 --> 00:05:17,260 We have basically a 32 process limit, and yeah, there's some kind of memory protection. 57 00:05:18,060 --> 00:05:25,140 So, yeah, it's really stupid OS, but we are not going to look at the real details. 58 00:05:25,360 --> 00:05:26,300 We're actually only interested in... 59 00:05:26,300 --> 00:05:30,580 So, the security model is also really cool. 60 00:05:30,780 --> 00:05:31,380 There is actually... 61 00:05:31,380 --> 00:05:36,060 It's a single user device, and you can just lock your device, so any pro... 62 00:05:36,060 --> 00:05:43,120 And any process can access, like, everything, which is really cool, then, because once you're, like, execute code, 63 00:05:43,280 --> 00:05:45,340 you can just, like, oh, let's use Bluetooth. 64 00:05:45,560 --> 00:05:48,440 Oh, why not use GSM and call some numbers? 65 00:05:48,540 --> 00:05:48,700 Yeah. 66 00:05:48,840 --> 00:05:50,620 We can just do anything. 67 00:05:52,740 --> 00:05:55,860 So the reason why I'm not going to talk about shell code, 68 00:05:55,860 --> 00:06:00,520 and stuff, is because it's pretty well-covered by now. 69 00:06:02,720 --> 00:06:08,260 So if anybody's, like, into writing their own exploits, check out these talks, 70 00:06:08,360 --> 00:06:13,800 and use the stuff I present today to write some nice shell code. 71 00:06:14,720 --> 00:06:20,480 So there are some issues, like, on Linux or Windows, you have, like, a command shell, 72 00:06:20,600 --> 00:06:22,140 so you actually just want to do one thing. 73 00:06:22,260 --> 00:06:25,300 You just connect or exploit a box and run a shell, 74 00:06:25,860 --> 00:06:28,080 and you have access, but not on Pocket PC. 75 00:06:28,380 --> 00:06:34,900 So you actually have to write everything you want to do in your shell code. 76 00:06:35,060 --> 00:06:37,260 So it's going to be a little bit ugly. 77 00:06:39,620 --> 00:06:51,600 And then we have the stupid slot problem, where we actually have to, like, guess a specific 78 00:06:51,600 --> 00:06:53,740 part of the return address every time. 79 00:06:53,840 --> 00:06:54,320 You... 80 00:06:54,320 --> 00:06:55,840 So that's kind of annoying. 81 00:06:56,080 --> 00:07:01,080 There are some workarounds I'm going to show them later, but they're well-covered in the 82 00:07:01,080 --> 00:07:01,520 other talks. 83 00:07:03,100 --> 00:07:06,980 So that's the actual thing we're interested in, the multimedia messaging service. 84 00:07:07,620 --> 00:07:13,960 Many people, I guess, know it, either at MMS or as picture messaging in the U.S. 85 00:07:14,980 --> 00:07:18,420 Yeah, since I'm from Europe, we just call it MMS. 86 00:07:20,400 --> 00:07:24,300 It's basically just a multimedia messaging channel. 87 00:07:24,320 --> 00:07:24,800 It's an exchange system. 88 00:07:26,480 --> 00:07:30,220 It's basically built, like, really audio, video, pictures, text, of course. 89 00:07:30,360 --> 00:07:36,100 But you can actually send anything, you know, just some data exchange, like email. 90 00:07:37,340 --> 00:07:42,380 So like email, messages are sent, like, in a store-and-forward manner, so you actually 91 00:07:42,380 --> 00:07:44,000 have a big infrastructure in the back. 92 00:07:45,900 --> 00:07:50,280 And of course, you have to pay per message, which is kind of interesting if you try to 93 00:07:50,280 --> 00:07:54,300 analyze a system like that, because we don't actually want to spend money. 94 00:07:55,820 --> 00:08:01,380 So the architecture, even if it's, like, a phone thing, it's totally IP-based. 95 00:08:01,520 --> 00:08:08,700 So if you're, like, kind of skilled in all the IP stuff and HTTP, WAP, maybe, yeah, you 96 00:08:08,700 --> 00:08:10,340 know how to mess with MMS. 97 00:08:11,320 --> 00:08:19,400 The system is basically just, like, four components, the MMS server, a relay, a gateway, the push 98 00:08:19,400 --> 00:08:21,740 proxy, and the SMS service center. 99 00:08:23,440 --> 00:08:24,020 So... 100 00:08:24,020 --> 00:08:24,300 Yeah. 101 00:08:24,320 --> 00:08:25,760 The interesting thing. 102 00:08:26,100 --> 00:08:32,600 So when the message is sent, of course, the client generates the message, and then it's 103 00:08:32,600 --> 00:08:38,620 actually just first a WAP push to the WAP gateway, which just translated to HTTP. 104 00:08:38,960 --> 00:08:43,560 And so it just uploads some stupid file to some web server. 105 00:08:43,740 --> 00:08:45,320 That's basically how MMS works. 106 00:08:45,980 --> 00:08:50,700 The receiving side is a little bit more interesting, because the device somehow needs to know, 107 00:08:50,820 --> 00:08:52,840 oh, there's a new message waiting for you. 108 00:08:52,840 --> 00:08:57,120 So that's just going to happen via SMS. 109 00:08:57,420 --> 00:09:02,300 So as soon as a new message is waiting for you on the server, you just get an SMS. 110 00:09:04,660 --> 00:09:11,820 And then you just go to the server and the same way, just use WAP over the WAP gateway, 111 00:09:12,060 --> 00:09:14,600 do HTTP, and get the message. 112 00:09:16,760 --> 00:09:19,200 So the metrics is just, like, yeah, email. 113 00:09:19,380 --> 00:09:21,760 So we have some headers, some bodies. 114 00:09:21,820 --> 00:09:22,400 The bodies... 115 00:09:22,400 --> 00:09:28,620 So in MIME, a really nice format, especially if it's binary encoded. 116 00:09:28,880 --> 00:09:32,160 You can do a lot of nice and funny things with it. 117 00:09:32,580 --> 00:09:37,400 By the way, if there are any questions, just rave and get a mic. 118 00:09:37,960 --> 00:09:46,600 So they just do binary encoding, of course, to reduce message size, which is kind of 119 00:09:46,600 --> 00:09:47,560 interesting later. 120 00:09:48,260 --> 00:09:50,120 So we have a bunch of messages. 121 00:09:50,180 --> 00:09:51,440 There are message types. 122 00:09:52,400 --> 00:09:58,000 They are not too interesting, besides the notification message. 123 00:10:00,160 --> 00:10:01,800 So just for reference. 124 00:10:02,700 --> 00:10:05,400 So what is the user agent? 125 00:10:05,480 --> 00:10:09,120 Of course, it's like the MMS client application that sends and receives the stuff. 126 00:10:09,920 --> 00:10:14,800 It handles, of course, SMS, WAP push, all the IP crap. 127 00:10:15,100 --> 00:10:19,060 And of course, it has to render lots of formats. 128 00:10:19,320 --> 00:10:21,020 S-I-M-L, W-M-L. 129 00:10:21,100 --> 00:10:22,380 It's like HTML4. 130 00:10:22,400 --> 00:10:23,080 MMS. 131 00:10:24,140 --> 00:10:30,160 And of course, all the different audio, video, image formats. 132 00:10:30,440 --> 00:10:33,700 It has to do a lot of stuff. 133 00:10:34,520 --> 00:10:40,340 So the Pocket PC agent, they call it the inbox application. 134 00:10:41,140 --> 00:10:44,200 And the fun thing, it handles everything. 135 00:10:44,420 --> 00:10:49,500 Every communication, like SMS, MMS, POP3, IMAP. 136 00:10:49,900 --> 00:10:50,900 And yeah. 137 00:10:52,980 --> 00:10:55,820 I mean, I was working with these two. 138 00:10:57,120 --> 00:11:00,460 So maybe somebody has a device like that. 139 00:11:01,320 --> 00:11:07,180 Maybe he wants or she wants to switch the device off because maybe I'm going to do a 140 00:11:07,180 --> 00:11:07,780 demo later. 141 00:11:12,260 --> 00:11:16,640 The application binary is called TMA. 142 00:11:16,740 --> 00:11:21,760 So just if you want to look at your device, that's the application we're going to mess 143 00:11:21,760 --> 00:11:21,980 with. 144 00:11:23,280 --> 00:11:29,580 So now if you want to actually analyze and see and attack the agent, we first, of course, 145 00:11:29,660 --> 00:11:33,900 need to know, okay, what kind of inputs does this application have to handle? 146 00:11:34,360 --> 00:11:36,320 What are the possible attack vectors? 147 00:11:36,560 --> 00:11:41,500 And then we have to look at the infrastructure because all our methods we're sending to 148 00:11:41,500 --> 00:11:43,460 the device are going through the infrastructure. 149 00:11:43,740 --> 00:11:49,820 The infrastructure could just filter out, sanitize parts of the message, and maybe filter 150 00:11:49,820 --> 00:11:51,840 out bad stuff. 151 00:11:51,840 --> 00:11:53,160 We are sending. 152 00:11:54,440 --> 00:11:56,160 So we're going to have to look at that. 153 00:11:56,480 --> 00:12:03,600 And then since we don't want to pay for message delivery while testing, we're going to build 154 00:12:03,600 --> 00:12:07,060 our own infrastructure and use that for fuzzing. 155 00:12:07,180 --> 00:12:08,440 But yeah, more on this later. 156 00:12:09,760 --> 00:12:14,380 So basically there are two different messages which are sent to the device. 157 00:12:14,660 --> 00:12:20,440 The notification, this is the part that's sent over SMS, which has the information 158 00:12:20,440 --> 00:12:21,480 about the new message. 159 00:12:21,840 --> 00:12:24,200 And then we have the receive conf message. 160 00:12:24,940 --> 00:12:31,520 This message is basically the thing, the file you download from the web server with 161 00:12:31,520 --> 00:12:33,520 just normal HTTP web cache. 162 00:12:34,060 --> 00:12:38,340 And then we have on the receive conf, of course, we have like a header part and a body 163 00:12:38,340 --> 00:12:38,640 part. 164 00:12:39,000 --> 00:12:43,220 The body part is really nice, complex, binary encoded MIME multipart. 165 00:12:43,380 --> 00:12:49,700 If you ever looked at a MIME encoding and then just think about how it would look like 166 00:12:49,700 --> 00:12:50,160 in binary. 167 00:12:50,540 --> 00:12:51,060 Yeah. 168 00:12:51,060 --> 00:12:51,520 It's fun. 169 00:12:54,280 --> 00:13:06,440 So the infrastructure, so every time we send a message, the infrastructure or the MMS relay 170 00:13:06,440 --> 00:13:12,960 is going to look at the message and say, oh, what's about that header? 171 00:13:13,080 --> 00:13:14,480 That's maybe incorrect. 172 00:13:14,680 --> 00:13:17,620 So we're not accepting that for delivery. 173 00:13:18,560 --> 00:13:20,700 So in order to actually... 174 00:13:20,700 --> 00:13:27,160 Find the vulnerabilities or exploit them, we need to know what parts of the message 175 00:13:27,160 --> 00:13:31,340 we can actually modify to a certain extent before it gets rejected. 176 00:13:32,740 --> 00:13:34,560 So that's what we're gonna do. 177 00:13:36,220 --> 00:13:42,920 So I implemented a kind of fuzzing-like testing procedure where we just modify fields and 178 00:13:42,920 --> 00:13:50,500 just record the behavior of the MMS relay to see, okay, this is acceptable. 179 00:13:50,700 --> 00:13:50,800 This is not. 180 00:13:50,900 --> 00:13:58,240 So the message headers are basically sanitized heavily and it's mostly unusable. 181 00:13:58,460 --> 00:14:04,580 But the message body is more interesting anyway since there are many more possibilities there. 182 00:14:04,740 --> 00:14:06,680 And then I think they don't touch it. 183 00:14:09,500 --> 00:14:10,100 Yeah. 184 00:14:11,280 --> 00:14:12,480 So yeah. 185 00:14:14,720 --> 00:14:20,480 So if you look closer at the MMS delivery on the phone itself, we see that we get a... 186 00:14:20,480 --> 00:14:27,420 a WAP push, which is, you can do it over UDP, but they send basically the same message just 187 00:14:27,420 --> 00:14:28,740 encapsulated in an SMS. 188 00:14:29,400 --> 00:14:35,160 It's sent normally from port 9300 to port 2948. 189 00:14:36,180 --> 00:14:40,840 These are SMS ports, so in SMS you can also have the support identifiers. 190 00:14:42,220 --> 00:14:46,780 Then we have this nice thing on the device called a push router. 191 00:14:46,780 --> 00:14:52,780 The push router basically just gets all of our purchase and forwards it to the application. 192 00:14:53,160 --> 00:14:58,700 If you have this VND WAP MMS measure thing, the MMS client is going to get it. 193 00:15:00,580 --> 00:15:05,720 The real fun thing is the message, the URL, where to receive the actual message. 194 00:15:05,880 --> 00:15:08,780 That's just part of the notification. 195 00:15:09,400 --> 00:15:13,480 That's really just a URL string, like here's the message, get it from here. 196 00:15:14,880 --> 00:15:16,760 Now the real fun thing is the push router. 197 00:15:16,780 --> 00:15:18,760 Really bad, bad fuck up of Microsoft. 198 00:15:20,460 --> 00:15:28,080 The pocket PC device who have wireless LAN also accept the WAP push message on the wireless 199 00:15:28,080 --> 00:15:28,480 interface. 200 00:15:29,180 --> 00:15:34,940 As soon as you fire up your wireless interface, I can send you a lot of nice WAP pushes. 201 00:15:36,080 --> 00:15:40,600 That's how the notification looks like. 202 00:15:41,040 --> 00:15:45,940 You see at the end, the red part, this is just the URL where the message is waiting 203 00:15:45,940 --> 00:15:46,420 for you. 204 00:15:46,420 --> 00:15:49,020 Then you see the blue part is the WAP push. 205 00:15:49,280 --> 00:15:50,300 Just some information. 206 00:15:50,440 --> 00:15:53,700 You see some transaction, the subject, it's all in there. 207 00:15:55,380 --> 00:16:02,280 What you actually can do, you can just build your small WAP message generator and then 208 00:16:02,280 --> 00:16:05,800 just start sending WAP pushes over wireless to your device. 209 00:16:05,940 --> 00:16:08,320 Your device will think, oh, there's an MMS waiting for me. 210 00:16:09,360 --> 00:16:11,780 Your phone will try to dial up GPRS. 211 00:16:12,740 --> 00:16:15,360 The sound is also very, very annoying. 212 00:16:16,420 --> 00:16:21,320 If you send hundreds of messages, thousands of messages, your phone is all going to be 213 00:16:21,320 --> 00:16:22,880 very, very slow. 214 00:16:25,700 --> 00:16:31,480 You can do stuff like fill up the MMS inbox with the file system. 215 00:16:32,520 --> 00:16:38,040 You cannot do select all and just delete the junk message. 216 00:16:38,220 --> 00:16:41,820 You have to go through and delete one message by one by one. 217 00:16:42,160 --> 00:16:44,940 It's just really, really nice DOS attack. 218 00:16:44,940 --> 00:16:49,540 So, of course, we're going to publish a tool. 219 00:16:51,400 --> 00:16:54,740 Also the tool is not, yeah, I haven't put it on the website yet. 220 00:16:54,960 --> 00:17:01,200 So actually the trick is to, for the flooding, is to make the phone believe each message 221 00:17:01,200 --> 00:17:05,880 of course is a new message and the thing is we just have to have a unique transaction 222 00:17:05,880 --> 00:17:07,260 ID and content location. 223 00:17:07,520 --> 00:17:14,580 So if you look at the slides later with the notification printout, you can see what parts 224 00:17:14,580 --> 00:17:23,040 you have to modify in order to have a nice, small, unique notification message. 225 00:17:24,000 --> 00:17:32,240 So and yeah, if you, that could happen to you today if I put the tool online. 226 00:17:33,740 --> 00:17:38,400 Are you saying that the phone can actually go get messages when they're not there? 227 00:17:39,420 --> 00:17:40,940 No, that doesn't work. 228 00:17:41,040 --> 00:17:43,880 But because of some... 229 00:17:43,880 --> 00:17:44,560 Yeah. 230 00:17:44,560 --> 00:17:52,480 Of the web, since you have to go through the web gateway of your phone service provider, 231 00:17:53,140 --> 00:17:59,040 he is there of course blocking access or some of them block access to the servers which 232 00:17:59,040 --> 00:18:00,380 are not their MMS servers. 233 00:18:00,960 --> 00:18:03,480 But yeah, your phone will like try three times per message. 234 00:18:03,660 --> 00:18:08,600 So it will try to dial up GPS, try to do a connection, yeah. 235 00:18:13,580 --> 00:18:19,000 So but yeah, that's just like the small side effect, the small fun we had on the side 236 00:18:19,000 --> 00:18:24,180 by doing that because actually we're going to, yeah, use the UDP stuff for something 237 00:18:24,180 --> 00:18:24,460 else. 238 00:18:24,600 --> 00:18:29,920 So we want to find real exploitable bugs in the application. 239 00:18:31,220 --> 00:18:36,880 And since, yeah, we don't have the source or anything, we, yeah, we're going to use 240 00:18:36,880 --> 00:18:37,380 fuzzing. 241 00:18:37,380 --> 00:18:43,340 And fuzzing, probably most of you have heard of it, it's just you build like semi-valid 242 00:18:43,340 --> 00:18:46,640 input and send it to the device and see how it reacts. 243 00:18:48,220 --> 00:18:55,080 So the problem of course with MMS is, yeah, each message will cost you about like 25 cents 244 00:18:55,080 --> 00:18:55,440 maybe. 245 00:18:55,820 --> 00:19:00,740 So if you want to send like 5,000 messages to do some testing, you have to go pay a lot 246 00:19:00,740 --> 00:19:01,100 of money. 247 00:19:01,200 --> 00:19:04,680 So we are going to just build us our own MMS infrastructure. 248 00:19:06,600 --> 00:19:12,860 It's, yeah, since we only have a web server, we have a web gateway. 249 00:19:14,320 --> 00:19:20,760 So we can just get off the shelf stuff from the internet, set up an Apache web server, 250 00:19:20,900 --> 00:19:28,380 the web gateway, get the MMS message generator, which we're also going to release the custom, 251 00:19:28,460 --> 00:19:31,260 our customized library, but it will take some time. 252 00:19:31,720 --> 00:19:34,660 And we do the actual simulation of the MMS infrastructure. 253 00:19:34,680 --> 00:19:36,920 And we do the actual simulation of the MMS infrastructure by using the UDP part. 254 00:19:37,100 --> 00:19:41,040 So Microsoft actually gave us a really nice debugging tool with this UDP part. 255 00:19:41,180 --> 00:19:45,140 Because now we can 100% simulate the MMS delivery process. 256 00:19:45,540 --> 00:19:50,960 You just have to change some settings in the MMS client and say, okay, use this IP, like 257 00:19:50,960 --> 00:19:53,980 our Apache web server and our web gateway to get messages. 258 00:19:54,040 --> 00:20:02,640 So we can generate some messages, put them on the web server, yeah, put them on the web 259 00:20:02,640 --> 00:20:02,920 server. 260 00:20:03,040 --> 00:20:04,220 And send. 261 00:20:05,060 --> 00:20:06,000 And the notification. 262 00:20:06,460 --> 00:20:11,720 So we basically were just after basic buffer overflow, string links stuff. 263 00:20:11,900 --> 00:20:13,040 Just some basic testing. 264 00:20:13,500 --> 00:20:16,740 And so you just hook up the debugger to that email . 265 00:20:17,660 --> 00:20:18,680 Generate some message. 266 00:20:18,900 --> 00:20:21,140 Dump into, dump it into the web server directory. 267 00:20:24,020 --> 00:20:26,360 And send the message notification. 268 00:20:28,320 --> 00:20:31,560 So the phone will retrieve the message from the web server. 269 00:20:32,460 --> 00:20:34,500 Either it does nothing. 270 00:20:34,680 --> 00:20:38,060 and it just looks funny, or maybe it doesn't show anything, 271 00:20:38,260 --> 00:20:42,680 or maybe the TML exit will crash and you 272 00:20:42,680 --> 00:20:43,780 get some nice exception. 273 00:20:46,560 --> 00:20:50,120 So this is a printout of the actual receive conf. 274 00:20:50,300 --> 00:20:52,900 It's not complete, of course, because it's kind of big. 275 00:20:53,580 --> 00:20:56,040 So in the beginning, we see the phone numbers, 276 00:20:57,040 --> 00:20:59,660 and then we have the nice multi-part headers. 277 00:21:00,060 --> 00:21:01,880 In the middle, there is the text file, 278 00:21:02,040 --> 00:21:04,440 and then we have the XML file at the end. 279 00:21:04,440 --> 00:21:06,780 So it's just for your reference. 280 00:21:07,080 --> 00:21:15,380 Of course, the simulated infrastructure really, really 281 00:21:15,380 --> 00:21:18,680 helps, because the ISP infrastructures are really 282 00:21:18,680 --> 00:21:19,840 undeterministic. 283 00:21:19,900 --> 00:21:22,420 Sometimes the messages are not delivered promptly. 284 00:21:23,110 --> 00:21:26,840 So the simulated infrastructure really 285 00:21:26,840 --> 00:21:28,560 helps to do deterministic testing. 286 00:21:29,270 --> 00:21:31,480 Also, maybe we want to test the parts that 287 00:21:31,480 --> 00:21:32,720 are normally sanitized. 288 00:21:33,770 --> 00:21:34,100 So 289 00:21:34,440 --> 00:21:35,920 We can, with our infrastructure, we 290 00:21:35,920 --> 00:21:37,640 don't have this whole sanitization thing. 291 00:21:37,780 --> 00:21:42,140 We just generate files and feed them to the phone. 292 00:21:42,600 --> 00:21:45,520 And of course, GPS is kind of slow. 293 00:21:45,740 --> 00:21:49,480 Maybe if you have Edge, but still, the whole thing 294 00:21:49,480 --> 00:21:50,120 is kind of slow. 295 00:21:50,480 --> 00:21:53,500 And with our own infrastructure, we can really 296 00:21:53,500 --> 00:21:54,560 speed up the process. 297 00:21:56,880 --> 00:22:01,060 And of course, we don't have to pay our whatever, $0.25 a buck 298 00:22:01,060 --> 00:22:04,080 or however, how much the process is. 299 00:22:04,080 --> 00:22:05,740 The provider's going to charge us. 300 00:22:05,980 --> 00:22:09,160 So that's really nice, and makes the whole testing really 301 00:22:09,940 --> 00:22:12,500 relaxed, so you don't have to think about spending money for 302 00:22:12,500 --> 00:22:13,560 stupid messages. 303 00:22:14,620 --> 00:22:16,580 So then, yeah. 304 00:22:17,300 --> 00:22:25,060 The first box we found in the notification message. 305 00:22:25,400 --> 00:22:28,920 And there are just like three stupid buffer overflows. 306 00:22:29,260 --> 00:22:33,840 So if you just make the transaction ID like 264 bytes, 307 00:22:33,960 --> 00:22:34,060 . 308 00:22:34,060 --> 00:22:36,720 The MMS client just like dies. 309 00:22:37,860 --> 00:22:41,560 So and if you remember, you can send this message over UDP. 310 00:22:41,760 --> 00:22:47,440 So as soon as the wireless is up, you just go out, 311 00:22:47,540 --> 00:22:52,340 send a nicely modified notification message, 312 00:22:53,060 --> 00:22:54,800 and you can crash Team Alexa. 313 00:22:56,080 --> 00:22:58,000 Unfortunately, all these overflows 314 00:22:58,000 --> 00:23:01,300 are not really exploitable for code injection. 315 00:23:01,480 --> 00:23:03,740 You can just overwrite parts of the stack, 316 00:23:03,740 --> 00:23:05,980 and the application just goes away. 317 00:23:07,040 --> 00:23:09,860 So the bad thing is, OK, you see my, oh, yeah, 318 00:23:09,940 --> 00:23:14,120 when I want to write MMS, I don't need to be on the wireless. 319 00:23:14,220 --> 00:23:18,860 But since the application is also handling emails, 320 00:23:19,780 --> 00:23:21,460 so maybe you want to check your email. 321 00:23:21,560 --> 00:23:23,120 And at that point, we just fire. 322 00:23:23,760 --> 00:23:26,700 And so any time your wireless interface is up, 323 00:23:26,780 --> 00:23:31,300 you cannot read emails, SMS, MMS, a really nice one. 324 00:23:33,740 --> 00:23:36,740 And then we have some other bugs in the mretrieve config. 325 00:23:37,520 --> 00:23:40,020 That's, yeah, they're not so interesting. 326 00:23:42,190 --> 00:23:52,480 So in the body, this basically is the same bugs. 327 00:23:53,620 --> 00:23:59,200 But for some stuff, we cannot exploit it 328 00:23:59,200 --> 00:24:01,920 because we have the stupid sanitization. 329 00:24:01,920 --> 00:24:06,260 So what we could do, this is just what we could do. 330 00:24:06,380 --> 00:24:07,700 We actually haven't tried it. 331 00:24:07,900 --> 00:24:14,300 And because many mobile phone service providers actually 332 00:24:14,300 --> 00:24:17,200 run these stupid closed web gateways, which 333 00:24:17,200 --> 00:24:22,220 don't allow us to connect to our own rogue web MMS server. 334 00:24:22,660 --> 00:24:27,260 But if you find an ISP, which doesn't block access 335 00:24:27,260 --> 00:24:30,680 to other IPs, you can just run your own MMS server 336 00:24:30,680 --> 00:24:31,520 on their network. 337 00:24:31,520 --> 00:24:32,820 Or just on the internet. 338 00:24:34,720 --> 00:24:38,340 And send a nice SMS, which points to your servers. 339 00:24:38,540 --> 00:24:42,220 And whoops, you can exploit all the other bugs you just found, 340 00:24:42,360 --> 00:24:44,040 which were normally not exploitable. 341 00:24:44,460 --> 00:24:50,760 So maybe you want to try to test some other service 342 00:24:50,760 --> 00:24:51,040 providers. 343 00:24:51,280 --> 00:24:54,680 I just did like this, the big in the US and in Germany. 344 00:24:55,060 --> 00:25:01,060 And they're smart enough to deny this access 345 00:25:01,060 --> 00:25:05,280 to other MMS servers. 346 00:25:05,680 --> 00:25:08,300 But yeah, maybe you'll find something and whoops. 347 00:25:09,760 --> 00:25:11,640 So now it gets interesting. 348 00:25:12,120 --> 00:25:18,280 We have the SIML, this is XML-based presentation 349 00:25:18,280 --> 00:25:20,820 language, basically the HTML for MMS. 350 00:25:22,560 --> 00:25:25,640 And the really cool thing about that is this is, of course, 351 00:25:25,700 --> 00:25:27,100 transported in the message body. 352 00:25:31,060 --> 00:25:33,600 And everything we put in the message body, as I said before, 353 00:25:33,740 --> 00:25:34,620 is not sanitized. 354 00:25:34,840 --> 00:25:37,160 So whoa, that's a perfect attack vector. 355 00:25:37,320 --> 00:25:39,480 Maybe we find something there and really screw you. 356 00:25:40,340 --> 00:25:43,640 So that's basically how a file like this looks like. 357 00:25:43,780 --> 00:25:45,640 It just looks like HTML. 358 00:25:45,920 --> 00:25:49,200 The green and the red region is going to be interesting. 359 00:25:51,100 --> 00:25:53,740 Because yeah, there are some exploits. 360 00:25:54,660 --> 00:25:58,860 Actually, the implementation is that bad that for these. 361 00:26:01,060 --> 00:26:06,240 They just copy the stuff within the double quotes to the stack. 362 00:26:06,400 --> 00:26:11,160 So if you put like 600 bytes there, 800 bytes, whoops, 363 00:26:11,300 --> 00:26:12,200 just on the stack. 364 00:26:12,340 --> 00:26:13,520 We don't care about the size. 365 00:26:14,140 --> 00:26:16,400 It's probably the same parser, which just 366 00:26:16,400 --> 00:26:17,560 operates on different tags. 367 00:26:18,420 --> 00:26:21,540 So yeah, so maybe this is a nice exploit. 368 00:26:21,720 --> 00:26:27,520 But in order to actually send our own bad MMS, 369 00:26:27,640 --> 00:26:30,340 we first need to build our own MMS user agent. 370 00:26:30,340 --> 00:26:33,260 And since we know how MMS actually works, 371 00:26:33,780 --> 00:26:35,740 this is going to be quite easy. 372 00:26:38,620 --> 00:26:46,440 So we basically use an MMS lib to generate some MMS thing. 373 00:26:47,120 --> 00:26:49,920 I used a really stupid Java library 374 00:26:49,920 --> 00:26:53,140 to just handle the web stuff, since I didn't really 375 00:26:53,140 --> 00:26:54,560 care about re-implementing the shit. 376 00:26:56,500 --> 00:27:00,320 And then we, of course, have to use gprs.com. 377 00:27:00,340 --> 00:27:00,640 And then we have to use a lot of the 378 00:27:00,640 --> 00:27:02,780 in order to connect to your service provider. 379 00:27:03,020 --> 00:27:06,000 Because the MMS relay, of course, is not reachable 380 00:27:06,000 --> 00:27:06,620 from the internet. 381 00:27:06,760 --> 00:27:07,660 That would be so stupid. 382 00:27:09,220 --> 00:27:12,360 Or of course, sometimes the whole infrastructure 383 00:27:12,360 --> 00:27:14,160 is just in a private IP range. 384 00:27:14,280 --> 00:27:16,400 So it's not connectable by the internet anyway. 385 00:27:17,160 --> 00:27:20,380 So building an MMS user agent is actually quite easy. 386 00:27:23,280 --> 00:27:25,340 So yeah, the zero day. 387 00:27:26,020 --> 00:27:28,940 We can actually use this exploit from before. 388 00:27:29,800 --> 00:27:30,320 There's a lot of different ways to do this. 389 00:27:30,320 --> 00:27:34,420 There's a vulnerability to just do some remote code 390 00:27:34,420 --> 00:27:36,040 injection over MMS. 391 00:27:37,580 --> 00:27:39,520 And not like the other MMS things, 392 00:27:39,660 --> 00:27:40,840 where you just have to install. 393 00:27:41,540 --> 00:27:45,100 And yeah, it's OK that the application is not trusted. 394 00:27:45,360 --> 00:27:46,960 You just click on it, like on an email. 395 00:27:47,200 --> 00:27:51,320 And as soon as the viewer goes in action, bang, code executed. 396 00:27:52,780 --> 00:27:54,320 So yeah, there is some. 397 00:27:56,160 --> 00:27:58,980 So on the left side, of course, it's just the inbox. 398 00:27:59,720 --> 00:28:00,300 And yeah. 399 00:28:00,320 --> 00:28:02,560 If you click on that little message, whoops. 400 00:28:08,380 --> 00:28:08,900 Yeah. 401 00:28:09,000 --> 00:28:13,220 So maybe somebody wants to try this at home. 402 00:28:16,120 --> 00:28:16,640 Yeah. 403 00:28:16,740 --> 00:28:19,360 So as I said, I use these two devices. 404 00:28:19,480 --> 00:28:22,900 I really don't know how many devices are affected. 405 00:28:25,120 --> 00:28:25,860 But yeah. 406 00:28:25,940 --> 00:28:28,200 If you want to try this, there is a return addresses, 407 00:28:28,980 --> 00:28:29,900 the stack size. 408 00:28:30,320 --> 00:28:33,740 And so the slot problem I mentioned in the beginning, 409 00:28:33,920 --> 00:28:38,080 it's actually really, really stupid. 410 00:28:38,900 --> 00:28:43,960 So you actually have to guess on which memory slot the T-mail 411 00:28:43,960 --> 00:28:45,480 is going to be executed. 412 00:28:46,040 --> 00:28:50,140 And what I found is like 14, 16, 20, 24, of course, 413 00:28:50,240 --> 00:28:52,660 hex are the common slots. 414 00:28:53,160 --> 00:28:58,960 So basically what you do is just not send one malicious MMS. 415 00:28:59,060 --> 00:28:59,780 You just send four. 416 00:28:59,780 --> 00:29:03,620 And maybe the user is stupid enough to try to execute all four. 417 00:29:03,860 --> 00:29:07,800 And at some point, we will have him. 418 00:29:07,940 --> 00:29:08,720 So yeah. 419 00:29:09,380 --> 00:29:10,640 Have some fun with that. 420 00:29:10,960 --> 00:29:11,560 Oh, woo. 421 00:29:12,100 --> 00:29:13,380 I'm way too fast. 422 00:29:13,820 --> 00:29:17,400 So of course, I've talked to Microsoft and the company 423 00:29:17,400 --> 00:29:20,100 X, who doesn't want to have his name mentioned. 424 00:29:20,380 --> 00:29:22,300 But actually, the name is on the slides 425 00:29:22,300 --> 00:29:23,840 I submitted, because they responded 426 00:29:23,840 --> 00:29:25,520 like very slow in the beginning. 427 00:29:27,500 --> 00:29:29,760 So they really show that they took it. 428 00:29:29,760 --> 00:29:34,500 But seriously, because one of their VPs, of course, 429 00:29:34,540 --> 00:29:37,200 the marketing people, since they don't have one single security 430 00:29:37,200 --> 00:29:42,100 guy in the company, he was like, whoa, we can't do that. 431 00:29:42,200 --> 00:29:43,720 Can't really, you can't publish that. 432 00:29:44,140 --> 00:29:46,920 And in the end, they were actually very slow. 433 00:29:47,080 --> 00:29:48,300 It's very fast, sorry. 434 00:29:51,020 --> 00:29:52,920 So in about a week, they actually 435 00:29:52,920 --> 00:29:54,560 managed to bring out a fix. 436 00:29:54,700 --> 00:29:57,360 And the fix is now sitting at the OEMs, 437 00:29:57,740 --> 00:29:59,440 because they need to be tested and approved, 438 00:29:59,760 --> 00:30:01,140 before they can be released. 439 00:30:01,360 --> 00:30:03,560 So as far as I know, they haven't been released. 440 00:30:04,140 --> 00:30:08,680 So you have, I guess, maybe a week or two to exploit this. 441 00:30:11,360 --> 00:30:13,480 But yeah, do it with your own devices. 442 00:30:14,360 --> 00:30:16,120 Not with your owned devices. 443 00:30:21,080 --> 00:30:22,000 So yeah. 444 00:30:23,960 --> 00:30:25,660 So some defense stuff. 445 00:30:25,820 --> 00:30:27,120 I'm really, really fast. 446 00:30:28,600 --> 00:30:35,980 Of course, you could just run a packet filter on your pocket PC. 447 00:30:36,320 --> 00:30:40,460 I actually haven't tried that, because I was way too lazy. 448 00:30:41,600 --> 00:30:49,800 And for the MMS stuff itself, the ISP, of course, 449 00:30:49,900 --> 00:30:52,820 could run an IDS or some antivirus thing, 450 00:30:52,900 --> 00:30:53,620 which they already do. 451 00:30:54,800 --> 00:30:55,620 But yeah. 452 00:30:56,160 --> 00:30:56,480 OK. 453 00:30:57,120 --> 00:30:59,800 I didn't have a problem getting messages delivered 454 00:30:59,800 --> 00:31:01,580 over four different ISPs. 455 00:31:02,020 --> 00:31:05,360 So I guess they don't do any kind of detection until now. 456 00:31:06,120 --> 00:31:08,880 Of course, you can also run some IDS or antivirus 457 00:31:08,880 --> 00:31:09,540 on your phone. 458 00:31:11,300 --> 00:31:12,240 But yeah. 459 00:31:12,340 --> 00:31:14,960 I guess today is the first day they know about this. 460 00:31:15,240 --> 00:31:16,820 So yeah. 461 00:31:19,020 --> 00:31:19,880 So yeah. 462 00:31:19,960 --> 00:31:20,460 And yeah. 463 00:31:22,360 --> 00:31:25,180 What mobile phone providers actually should do is, 464 00:31:25,300 --> 00:31:26,400 they should actually filter. 465 00:31:26,400 --> 00:31:30,860 They should filter those SMS notifications over SMS, 466 00:31:31,500 --> 00:31:33,560 since actually nobody else besides them 467 00:31:33,560 --> 00:31:35,500 should be sending these notifications, 468 00:31:35,820 --> 00:31:39,440 because they also can crash the application over a real SMS. 469 00:31:40,220 --> 00:31:40,520 And yeah. 470 00:31:40,580 --> 00:31:42,140 Of course, install firmware updates 471 00:31:42,460 --> 00:31:44,640 when available, or soft updates. 472 00:31:49,080 --> 00:31:55,160 So the problem, yeah, security testing for smartphones is, 473 00:31:55,220 --> 00:31:56,380 like, really, really hard. 474 00:31:56,380 --> 00:31:58,540 It's really painful, because you have this infrastructure. 475 00:31:59,060 --> 00:32:01,040 You don't have source code. 476 00:32:02,340 --> 00:32:04,600 And in some cases, yeah, if you're 477 00:32:04,600 --> 00:32:07,280 like doing the security engineering side, 478 00:32:07,620 --> 00:32:10,520 then you're, oh, hmm, the MMS user agent 479 00:32:10,520 --> 00:32:12,720 is actually talking to everything, 480 00:32:13,040 --> 00:32:17,600 like to the GPS, mobile phone network, and to Wi-Fi. 481 00:32:17,780 --> 00:32:20,320 So you really have to be careful what you're doing. 482 00:32:21,300 --> 00:32:24,640 So we found about, like, 10 exploits. 483 00:32:24,660 --> 00:32:26,280 We actually stopped searching after we 484 00:32:26,280 --> 00:32:29,040 found stuff we could use for code execution. 485 00:32:30,100 --> 00:32:35,700 We will, of course, post a nice advisory on the list. 486 00:32:36,700 --> 00:32:37,080 Yeah. 487 00:32:37,200 --> 00:32:37,720 And yeah. 488 00:32:37,800 --> 00:32:43,820 We did the first code injection against mobile smartphones. 489 00:32:44,280 --> 00:32:45,800 And yeah. 490 00:32:45,860 --> 00:32:48,840 There will be a major, major problem in the future 491 00:32:48,840 --> 00:32:53,240 if the companies don't watch out about that. 492 00:32:54,760 --> 00:32:55,320 So. 493 00:32:56,280 --> 00:32:57,260 Let me see. 494 00:32:57,460 --> 00:32:57,920 Oh, yeah. 495 00:32:58,940 --> 00:33:00,620 So it was really too fast. 496 00:33:01,660 --> 00:33:02,080 Yeah. 497 00:33:02,300 --> 00:33:04,780 So in the future, of course, we have 498 00:33:04,780 --> 00:33:07,460 to look at other MMS implementations. 499 00:33:07,940 --> 00:33:12,120 And like, there is a Symbian, Palmer stuff, the new Linux 500 00:33:12,120 --> 00:33:12,440 phones. 501 00:33:12,600 --> 00:33:14,380 We haven't really looked at that stuff. 502 00:33:17,640 --> 00:33:21,320 And then, of course, all the other parts of the MMS message. 503 00:33:21,420 --> 00:33:26,260 We haven't looked at the audio, video, help parser. 504 00:33:26,260 --> 00:33:27,080 And the handlers. 505 00:33:27,580 --> 00:33:29,640 So, so many things to test. 506 00:33:29,940 --> 00:33:32,560 And then, of course, you could also attack the actual MMS 507 00:33:32,560 --> 00:33:33,080 infrastructure. 508 00:33:34,600 --> 00:33:36,960 There are so many different protocols in there. 509 00:33:37,320 --> 00:33:39,860 You can really, really mess it up. 510 00:33:42,420 --> 00:33:43,540 So, yeah. 511 00:33:43,540 --> 00:33:44,840 It was really too fast. 512 00:33:45,760 --> 00:33:49,900 So we have a lot of time for questions for anybody. 513 00:33:53,000 --> 00:33:53,760 Go ahead. 514 00:33:53,960 --> 00:33:55,200 Take the mic. 515 00:33:58,460 --> 00:34:03,000 And so, I guess, we can, I have time if, are people here 516 00:34:03,000 --> 00:34:04,500 with like pocket PC phones? 517 00:34:05,960 --> 00:34:08,680 So we can do some demo. 518 00:34:08,760 --> 00:34:11,840 If you have wireless on, I can do that. 519 00:34:16,980 --> 00:34:18,960 How off does the phone have to be? 520 00:34:20,000 --> 00:34:21,200 Is it on? 521 00:34:24,100 --> 00:34:26,240 How off does the phone have to be? 522 00:34:26,260 --> 00:34:31,660 Like, the, like, airplane mode and Wi-Fi off and Bluetooth off? 523 00:34:31,680 --> 00:34:33,280 Oh, for, for the Wi-Fi stuff, of course. 524 00:34:33,320 --> 00:34:37,540 You just turn off Wi-Fi and then you're secure against the Wi-Fi based stuff. 525 00:34:37,680 --> 00:34:42,040 But for the MMS stuff, yeah, you have to not read MMS. 526 00:34:42,420 --> 00:34:43,380 That's the only thing. 527 00:34:43,860 --> 00:34:45,400 So just leave it in airplane mode? 528 00:34:46,020 --> 00:34:48,920 Yeah, but then your phone is like off and not usable. 529 00:34:49,140 --> 00:34:51,200 So you should basically use a PDA maybe. 530 00:34:56,300 --> 00:35:00,700 When you were testing and you found that all the major carriers prevented the client 531 00:35:00,700 --> 00:35:06,400 from connecting to a rogue server, did you try running a server like on, on a device 532 00:35:06,400 --> 00:35:08,580 that's actually on their network, like a, you know, a cell phone or? 533 00:35:08,900 --> 00:35:14,140 Yeah, we, we tried, we tried that but not with all providers, with some. 534 00:35:14,660 --> 00:35:19,300 And yeah, I guess the, the European one, the US providers are really up to date with 535 00:35:19,300 --> 00:35:20,040 their MMS stuff. 536 00:35:20,440 --> 00:35:25,880 But I, I found online, in the, in the MMS, actually, developer forums online, they give 537 00:35:25,880 --> 00:35:26,240 you software. 538 00:35:26,260 --> 00:35:31,460 So much nice information and people are like, oh yeah, I think like in the former Eastern 539 00:35:31,460 --> 00:35:37,020 Bloc countries, I think some, some providers still just run totally open networks. 540 00:35:37,860 --> 00:35:43,180 But apparently the, the German and US stuff, they, was open I think until two years ago 541 00:35:43,180 --> 00:35:47,580 because I saw posts where people were just, oh, I want to play with MMS and people are 542 00:35:47,580 --> 00:35:50,060 just like reconfigure the MMS server. 543 00:35:54,800 --> 00:35:55,740 Just go ahead. 544 00:35:56,320 --> 00:35:58,140 So how about the future? 545 00:35:59,320 --> 00:36:00,520 What about FIBO? 546 00:36:00,660 --> 00:36:02,160 Is it super secure? 547 00:36:02,460 --> 00:36:10,100 Because I have a personal, this kind of hits me personally because I do have a FIBO phone 548 00:36:10,100 --> 00:36:12,180 but no, wireless is not on. 549 00:36:13,100 --> 00:36:22,400 So yeah, I only, yeah, so I also, I never actually had like a FIBO phone but a friend 550 00:36:22,400 --> 00:36:26,100 told me that apparently FIBO is completely compiled with stack protection. 551 00:36:27,500 --> 00:36:27,980 Yeah. 552 00:36:28,060 --> 00:36:29,160 I, I really don't know. 553 00:36:29,240 --> 00:36:34,600 Some, some people looked at it and they saw there is no way in so I, I haven't looked 554 00:36:34,600 --> 00:36:34,900 at it. 555 00:36:34,960 --> 00:36:42,340 I cannot say anything but you should be able to at least be able to crash the application 556 00:36:42,760 --> 00:36:44,680 over UDP since the. 557 00:36:44,800 --> 00:36:46,040 How is that possible? 558 00:36:46,500 --> 00:36:52,620 Because the exploit is based on MMS, I mean, does it, does FIBO somehow look at the headers 559 00:36:52,620 --> 00:36:54,060 well as the, the body? 560 00:36:54,280 --> 00:36:54,760 No. 561 00:36:54,760 --> 00:36:55,960 So if you're. 562 00:36:55,960 --> 00:37:01,380 Yeah, stack protection just like checks that if you overwrite the stack the function address 563 00:37:01,380 --> 00:37:04,600 doesn't, the function doesn't return so your code is not executed. 564 00:37:04,880 --> 00:37:11,500 So it basically just gets converted to a DOS attack which is kind of stupid over MMS since 565 00:37:11,500 --> 00:37:12,880 you actually have to pay for it. 566 00:37:13,160 --> 00:37:17,480 But the UDP attacks should still work, yeah, I, yeah, I really haven't tested anything 567 00:37:17,480 --> 00:37:22,920 about FIBO so maybe I can get a FIBO device and look at it. 568 00:37:23,800 --> 00:37:24,700 Preferably not mine. 569 00:37:24,700 --> 00:37:26,000 I appreciate it. 570 00:37:29,960 --> 00:37:33,640 The fuzzer you used, did you write that yourself or did you use another application? 571 00:37:34,000 --> 00:37:35,720 And if you wrote it will you be releasing it? 572 00:37:35,960 --> 00:37:36,780 What, what application? 573 00:37:37,300 --> 00:37:39,040 The fuz, the fuzzer you used. 574 00:37:39,080 --> 00:37:44,060 Yeah, we will, that will take some more time since it's actually a university project 575 00:37:44,060 --> 00:37:48,900 and we have like a scientific paper on it so we keep it until then but it's going to 576 00:37:48,900 --> 00:37:49,720 be released this year. 577 00:37:49,920 --> 00:37:53,640 The other application, the, the DOS tools, everyone can try it out. 578 00:37:53,660 --> 00:37:54,100 We'll be. 579 00:37:54,700 --> 00:37:55,120 Released later. 580 00:37:55,700 --> 00:38:00,220 As soon as I get off stage I will try to put it online together with updated slides. 581 00:38:00,780 --> 00:38:01,980 One other quick question. 582 00:38:02,160 --> 00:38:06,080 Are there other services that you're attacking or is it just MMS that you're interested 583 00:38:06,080 --> 00:38:06,340 in? 584 00:38:06,440 --> 00:38:07,480 We're just, just looking at MMS. 585 00:38:07,760 --> 00:38:07,980 Oh. 586 00:38:08,100 --> 00:38:08,580 Thanks. 587 00:38:12,260 --> 00:38:13,220 Anybody else? 588 00:38:14,680 --> 00:38:17,720 I guess I still have like 10 minutes or something. 589 00:38:18,920 --> 00:38:19,400 No. 590 00:38:21,980 --> 00:38:22,820 No, no, Dan. 591 00:38:23,440 --> 00:38:24,580 No, no, Dan. 592 00:38:25,920 --> 00:38:31,740 So, any volunteers for like putting up their, firing up their while, wireless? 593 00:38:34,920 --> 00:38:37,840 Did you say you want to test Windows mobile 5? 594 00:38:38,540 --> 00:38:39,060 No. 595 00:38:39,180 --> 00:38:40,760 Not on stage. 596 00:38:43,520 --> 00:38:48,500 So, no, no volunteers or I actually thought like people were like screaming to like volunteer 597 00:38:48,500 --> 00:38:49,200 for stuff. 598 00:38:49,700 --> 00:38:54,580 Normally people always want to volunteer and like oh yeah, I'm going to do the, the thing 599 00:38:54,680 --> 00:38:58,160 with the guy on stage, but I know that's your phone, huh? 600 00:39:06,640 --> 00:39:08,140 Please use a mic. 601 00:39:10,340 --> 00:39:10,860 OK. 602 00:39:13,660 --> 00:39:16,000 I guess I'm totally under time. 603 00:39:16,260 --> 00:39:17,480 Another question? 604 00:39:18,060 --> 00:39:18,580 Thanks. 605 00:39:18,880 --> 00:39:20,920 So I don't get in trouble with the DEF CON crew. 606 00:39:21,260 --> 00:39:23,040 I was just saying, could you expand a little bit 607 00:39:23,040 --> 00:39:24,360 more on the SMS ports thing? 608 00:39:26,100 --> 00:39:28,560 That's in standard SMS messages, there's like a port 609 00:39:28,560 --> 00:39:29,220 field or something? 610 00:39:29,420 --> 00:39:29,880 Yes, exactly. 611 00:39:30,320 --> 00:39:34,620 But the attacks over SMS itself, that's not as 612 00:39:34,620 --> 00:39:36,720 interesting because you actually have to pay for it. 613 00:39:36,900 --> 00:39:41,400 So the thing is, the SMS ports are the whole port thing for 614 00:39:41,400 --> 00:39:44,340 the web posts are just mirrored one-to-one between 615 00:39:44,340 --> 00:39:45,340 SMS and UDP. 616 00:39:45,740 --> 00:39:49,420 So it's basically, they just map it to the same port so you 617 00:39:49,420 --> 00:39:50,900 can send it over UDP. 618 00:39:51,220 --> 00:39:51,740 And 619 00:39:52,300 --> 00:39:53,000 according to the 620 00:39:53,000 --> 00:39:56,240 Microsoft security guy, we're just following the standards. 621 00:40:00,780 --> 00:40:02,660 I volunteer my phone for a demo. 622 00:40:02,960 --> 00:40:03,980 For two? 623 00:40:09,440 --> 00:40:12,100 Just hook it up to the DEF CON network and I will do this. 624 00:40:12,280 --> 00:40:15,620 I just have to hook up my laptop to the DEF CON network. 625 00:40:18,680 --> 00:40:21,700 And yeah, I don't need your IP since Microsoft accepts 626 00:40:21,700 --> 00:40:23,860 actually messages sent to the broadcast address. 627 00:40:24,140 --> 00:40:25,780 So you don't have to search stuff. 628 00:40:26,620 --> 00:40:29,000 So you actually don't have to search, you're just like, yeah. 629 00:40:30,380 --> 00:40:32,300 I have a question while you're thinking about that. 630 00:40:32,440 --> 00:40:35,360 Do you have any idea why Microsoft allowed the UDP 631 00:40:36,520 --> 00:40:37,440 notification messages? 632 00:40:37,840 --> 00:40:41,440 Like, do you have any thoughts about what their reasoning 633 00:40:41,440 --> 00:40:41,940 might have been? 634 00:40:42,060 --> 00:40:44,360 Because they're just following the standards. 635 00:40:45,540 --> 00:40:47,240 That's what I was told. 636 00:40:57,380 --> 00:40:58,180 I'm not going to. 637 00:40:59,300 --> 00:41:00,400 You have five hours. 638 00:41:02,120 --> 00:41:02,680 Let's see. 639 00:41:05,620 --> 00:41:06,060 . 640 00:41:09,240 --> 00:41:10,660 Make sure your sound's on. 641 00:41:12,120 --> 00:41:12,560 . 642 00:41:15,980 --> 00:41:16,420 . 643 00:41:16,420 --> 00:41:16,540 . 644 00:41:16,540 --> 00:41:16,720 . 645 00:41:17,600 --> 00:41:18,040 . 646 00:41:33,220 --> 00:41:34,620 . 647 00:41:34,620 --> 00:41:35,860 . 648 00:41:35,860 --> 00:41:37,900 . 649 00:41:42,380 --> 00:41:43,780 . 650 00:42:08,000 --> 00:42:10,800 Thank you. 651 00:42:21,700 --> 00:42:23,380 So, is your device on? 652 00:42:30,120 --> 00:42:32,200 You don't see anything on my laptop. 653 00:42:36,600 --> 00:42:38,280 Yeah, it's giving me the IP for now. 654 00:42:51,960 --> 00:42:52,560 Sure. 655 00:42:59,140 --> 00:43:00,220 Do you get anything? 656 00:43:13,820 --> 00:43:14,760 Still nothing? 657 00:43:16,140 --> 00:43:16,740 Bummer. 658 00:43:17,760 --> 00:43:18,360 Bummer. 659 00:43:20,260 --> 00:43:21,500 Anybody with a 4? 660 00:43:21,700 --> 00:43:21,940 2 device? 661 00:43:26,860 --> 00:43:27,380 Okay. 662 00:43:27,500 --> 00:43:28,600 So, I guess 663 00:43:28,600 --> 00:43:31,260 I guess that's it. 664 00:43:31,320 --> 00:43:32,360 5 minutes early, but 665 00:43:33,880 --> 00:43:34,920 Thank you.