1 00:00:00,000 --> 00:00:02,240 Hello, DEF CON 2011! 2 00:00:05,420 --> 00:00:07,940 Yeah, I'm excited. I'm glad you guys 3 00:00:07,940 --> 00:00:12,080 are making sounds because I was really expecting like a bunch of half asleep people 4 00:00:12,080 --> 00:00:16,240 kind of drunk, kind of tired of getting over it, but like, I want to see this talk. 5 00:00:18,260 --> 00:00:20,180 So, I think I'd like to start off with 6 00:00:20,180 --> 00:00:23,320 I don't know if you guys read the proto-lol jokes 7 00:00:23,320 --> 00:00:27,900 and so this is kind of, I mean even for DEF CON, a little 8 00:00:27,900 --> 00:00:30,540 over the top nerdy, but I'm going to start with a joke. 9 00:00:32,940 --> 00:00:35,680 So, an IPv4 address walks 10 00:00:35,680 --> 00:00:39,840 into a bar and says, I'll have a strong glass of cider, but the bartender 11 00:00:39,840 --> 00:00:41,040 says, we're exhausted. 12 00:00:45,220 --> 00:00:47,980 It's so terrible, it's great. 13 00:00:49,460 --> 00:00:51,060 Good gosh, do you guys hear me well? 14 00:00:52,380 --> 00:00:54,900 Alright, well then let's get this party started. 15 00:00:56,000 --> 00:00:56,480 . 16 00:00:57,900 --> 00:01:01,520 Sweet, so hi there, my name is Eric Fulton, I work for a 17 00:01:01,520 --> 00:01:05,980 consulting firm called Lake Missoula Group in beautiful Missoula, Montana. 18 00:01:06,640 --> 00:01:09,800 I know you guys are thinking, you guys have public transportation 19 00:01:09,800 --> 00:01:14,100 in Montana, yes we do, and we also have hackers up there, which is a lot of fun. 20 00:01:14,220 --> 00:01:17,440 So we can hack in the morning and hike in the afternoon, as I like to say. 21 00:01:18,620 --> 00:01:21,660 I also help run forensicscontest.com 22 00:01:21,660 --> 00:01:25,960 We actually run a network forensics contest puzzle during DEF CON 23 00:01:25,960 --> 00:01:28,840 which is pretty sweet, and packets are 24 00:01:29,480 --> 00:01:32,500 important in doing forensics analysis of a lot of different things. 25 00:01:33,000 --> 00:01:37,840 So I'm also on Triscuit.com, I really don't update it ever. 26 00:01:39,240 --> 00:01:41,180 So I guess that's not as useful. 27 00:01:41,400 --> 00:01:46,100 I'm also on Twitter, and I'd really like to say during this talk, thank you to Sherry Davidoff 28 00:01:46,100 --> 00:01:49,820 and Jonathan Hamm, they are absolutely amazing ninjas 29 00:01:49,820 --> 00:01:53,480 with packets, and they are actually writing a book, and I was able to help 30 00:01:53,480 --> 00:01:57,420 use an advanced copy of their book to do some of the analysis 31 00:01:57,420 --> 00:01:59,420 that I'm going to kind of show you guys today. 32 00:02:01,520 --> 00:02:05,260 What I'm going to show you today, I'm going to start with some definitions 33 00:02:05,260 --> 00:02:09,300 a testing methodology, kind of go into how I analyze 34 00:02:09,300 --> 00:02:13,580 the packets, what I was looking for, what I kind of found, some fun findings 35 00:02:13,580 --> 00:02:16,500 that I found throughout all of this, and then kind of come to a conclusion. 36 00:02:17,540 --> 00:02:20,600 Now, in addition to this, this talk is kind of three-fold. 37 00:02:21,480 --> 00:02:23,980 I've got a bit to cover, so I'm going to talk a little bit fast, 38 00:02:24,160 --> 00:02:27,140 so I apologize if I'm going at a little bit of a rapid pace. 39 00:02:27,600 --> 00:02:30,580 But what I'm trying to cover here is some distinct topics. 40 00:02:31,400 --> 00:02:34,080 Privacy, especially, I mean, obviously it's in the title. 41 00:02:35,820 --> 00:02:39,380 Because privacy in our lives is important. I think that our privacy 42 00:02:39,380 --> 00:02:42,900 that we have is eroding, and we don't exactly know what's happening. 43 00:02:43,060 --> 00:02:46,280 A lot of you have an Android phone, probably not in your pocket because it's DEF CON, 44 00:02:46,280 --> 00:02:50,040 but maybe at home you've got a smartphone, and 45 00:02:50,040 --> 00:02:54,180 you don't realize that every day it's leaking your location, where you're at, 46 00:02:54,380 --> 00:02:58,180 and some other interesting facts. So that's certainly something 47 00:02:58,180 --> 00:03:02,240 I want to cover. I also want to touch a little bit on network forensics, because this is what I use to help 48 00:03:03,380 --> 00:03:06,280 discover what's being shared over your Android phone. 49 00:03:08,400 --> 00:03:10,080 And that's the majority of it. 50 00:03:10,160 --> 00:03:13,180 So it's a wide breadth, and it's kind of shallow. 51 00:03:13,180 --> 00:03:17,540 And if you want to know more about kind of the analysis that I did, packet forensics, 52 00:03:17,700 --> 00:03:21,340 I'd highly suggest that you, well, our contest is over, so apologies 53 00:03:21,340 --> 00:03:24,880 if you're just finding out about it now, but we run it online, and we've got our 54 00:03:24,880 --> 00:03:29,100 archives of past contests. I'd recommend you take a look at those, you kind of 55 00:03:29,100 --> 00:03:33,120 teach yourself, or try and teach yourself some network forensics, and it'll give you 56 00:03:33,600 --> 00:03:37,000 kind of a new perspective on how to 57 00:03:37,600 --> 00:03:41,320 analyze things. So, what is network forensics? 58 00:03:41,320 --> 00:03:45,020 Now, the Wikipedia article says, network forensics is a 59 00:03:45,020 --> 00:03:49,180 sub-branch of digital forensics relating to the monitoring and analysis of computer network traffic for the purpose 60 00:03:49,180 --> 00:03:53,240 of information gathering, legal evidence, or intrusion detection. But basically 61 00:03:53,240 --> 00:03:57,140 it's sniffing packets on the wire. You've got traditional forensics, which I'm sure 62 00:03:57,140 --> 00:04:01,360 a lot of you know of, where you take your hard drive, you DD it, 63 00:04:01,520 --> 00:04:05,060 you make an image, you analyze it, you try and say, hey, what's on this hard drive? 64 00:04:06,180 --> 00:04:09,200 But, there's also network forensics, and that's where you're going, what 65 00:04:09,200 --> 00:04:13,260 is going over the wire? What is my computer leaking? What is going on? 66 00:04:13,640 --> 00:04:17,340 I mean, with traditional forensics, unless you pull the memory, you won't ever realize that there's 67 00:04:17,340 --> 00:04:20,780 something loaded in memory leaking any number of things. And so, 68 00:04:20,880 --> 00:04:25,080 listening on the wire gives you a different perspective, and it lets you really understand 69 00:04:25,920 --> 00:04:29,220 what your phone, your laptop, your server, etc., is 70 00:04:29,220 --> 00:04:33,020 really sharing with your network in the world. Or, 71 00:04:33,180 --> 00:04:37,160 network forensics could be called listening to the wire for fun, question mark, 72 00:04:37,180 --> 00:04:39,180 question mark, question mark, profit and loss. 73 00:04:39,200 --> 00:04:42,780 So, how network forensics affects us. 74 00:04:46,160 --> 00:04:47,040 You could say, 75 00:04:47,180 --> 00:04:51,000 I mean, assuming you're at DEF CON, all of us use network devices. 76 00:04:51,160 --> 00:04:54,560 We use laptops, phones, etc., etc., and everything is network based. 77 00:04:54,840 --> 00:04:58,780 I mean, back in the day, before the advent of the internet and the beauty that is 78 00:04:58,780 --> 00:05:02,060 network communications, people just had kind of a solid 79 00:05:03,920 --> 00:05:07,140 solidarity, excuse me, they had a single computer that wasn't 80 00:05:07,140 --> 00:05:10,940 really connected to anything else. Everything you did was on that terminal. But now, 81 00:05:11,060 --> 00:05:15,140 we send all sorts of things to everyone. We send usernames, 82 00:05:15,240 --> 00:05:18,760 passwords, hashes, urls, lolcat pictures with your grandma. 83 00:05:20,320 --> 00:05:23,200 I was going for laughs on that one. Sorry, it's Sunday at 10. 84 00:05:23,300 --> 00:05:27,240 I should probably cut the humor. Yes, pretty laughs. 85 00:05:28,260 --> 00:05:31,240 But we send all of these amazing things over the internet, 86 00:05:31,320 --> 00:05:35,400 and we think to ourselves, oh, I'm sending my password to this service. 87 00:05:35,400 --> 00:05:39,160 And a lot of people don't think of all the externalities that affect that. 88 00:05:39,220 --> 00:05:43,340 When I log into Twitter, for example, most people think, 89 00:05:43,460 --> 00:05:46,840 oh, my computer, Twitter, that's all that's happening. But they don't realize that 90 00:05:47,420 --> 00:05:50,860 they're going from their, most likely, laptop, iPhone, iPad, 91 00:05:51,500 --> 00:05:55,140 iDevice, etc., to probably a wireless router, which then 92 00:05:55,140 --> 00:05:58,600 connects to your ISP, which then is routed over the internet to Twitter servers. 93 00:05:58,920 --> 00:06:03,200 And along there, whether or not I have access on your actual computer, I might have 94 00:06:03,200 --> 00:06:07,160 access to your network traffic. And through that, I have access to a lot of fascinating 95 00:06:07,160 --> 00:06:11,000 information. I mean, no one wants to be handing out usernames, passwords, or anything else. 96 00:06:11,200 --> 00:06:14,740 And a lot of companies are really good at protecting that. That's why we hash our passwords. 97 00:06:14,960 --> 00:06:19,240 But the simple fact that I'm able to look at that is a huge 98 00:06:19,240 --> 00:06:22,000 not only privacy risk, but security vulnerability. 99 00:06:23,060 --> 00:06:27,040 So some of our applications send licensing, registration, UDIDs, 100 00:06:28,000 --> 00:06:30,760 and all this data can be filtered, 101 00:06:30,760 --> 00:06:34,620 logged, and analyzed by a third party. You don't know what your ISP 102 00:06:34,620 --> 00:06:38,860 is doing. Most people just kind of sign that contract and assume that the ISP 103 00:06:38,860 --> 00:06:42,640 is their best interest at heart. And I'm not saying that 104 00:06:42,640 --> 00:06:46,320 ISPs can be evil, but if they wanted to be, there's a good chance that they could do a lot of damage. 105 00:06:48,240 --> 00:06:50,540 Or your roommate, who also is on your wireless network, 106 00:06:50,640 --> 00:06:54,680 could do a lot of damage, assuming how close you are with your roommate, or the guy next door if you're using 107 00:06:54,680 --> 00:06:54,920 WEP. 108 00:06:58,380 --> 00:07:00,720 So essentially what I'm trying to say is there's a lot of ways 109 00:07:00,720 --> 00:07:01,700 our phones could fuck us. 110 00:07:02,920 --> 00:07:07,000 What I really am specifically focusing on is Android application security. 111 00:07:07,260 --> 00:07:10,640 Because a lot of people have done the computer thing, a lot of people have done laptop 112 00:07:10,640 --> 00:07:14,220 forensics analysis, etc. But something that we don't realize is we've got this 113 00:07:14,780 --> 00:07:18,780 essentially supercomputer in our pocket. I mean, when I first had my first computer, 114 00:07:19,400 --> 00:07:23,620 and I'm not going to say what that was, but it's like a tenth of the processing speed 115 00:07:23,620 --> 00:07:24,900 of my current phone in my pocket. 116 00:07:24,920 --> 00:07:27,100 Well, in my room, because it's not on. 117 00:07:28,320 --> 00:07:33,000 And people don't realize all of the fascinating things that they have on their phone, and what their phone knows. 118 00:07:35,060 --> 00:07:36,280 So we look at it, and 119 00:07:36,280 --> 00:07:39,620 if someone wanted to, I mean, our phones have a lot of things. 120 00:07:40,000 --> 00:07:44,920 If you're doing GPG encryption, and trying to decrypt your phones, or your emails, 121 00:07:45,040 --> 00:07:48,340 I mean, that's assuming that you're a naturally secure thinking person. Let's say you encrypt your emails, 122 00:07:48,480 --> 00:07:51,680 and it's on your phone, you have to have your private key on your phone to decrypt your emails. 123 00:07:51,680 --> 00:07:55,560 If you're not a private thinking individual, or a secure 124 00:07:55,560 --> 00:07:58,560 thinking individual, you're just sending your emails over your network connection. 125 00:07:59,380 --> 00:08:02,880 You have emails, usernames, GPS, etc, etc, and more. 126 00:08:04,020 --> 00:08:07,500 And so when I first got into this research, I thought, oh, you know what would be really cool? 127 00:08:07,720 --> 00:08:10,980 Let's build an evil application. Right? 128 00:08:11,260 --> 00:08:14,220 Something that would be like a back orifice for phones. 129 00:08:14,800 --> 00:08:18,740 Which I think some other presenters at DEF CON have actually done, which is awesome. 130 00:08:18,740 --> 00:08:22,640 But when you make that application, 131 00:08:23,020 --> 00:08:26,880 it's ultimately silly, because as long as you can get the user 132 00:08:26,880 --> 00:08:30,160 to press OK, done. 133 00:08:30,880 --> 00:08:34,300 Right? I mean, how many people with smartphones scroll through their phone, and they're like, 134 00:08:34,420 --> 00:08:36,820 I want to play this game. Scroll, scroll, scroll, OK. 135 00:08:38,060 --> 00:08:42,620 I mean, I don't know if you guys watch South Park, but there's a whole episode on the human centipad where someone didn't 136 00:08:42,620 --> 00:08:46,500 actually read the EULA. Oh, God forbid someone read 39 pages 137 00:08:46,500 --> 00:08:50,340 on a short level of dense legal text. That doesn't 138 00:08:50,340 --> 00:08:54,400 happen. And so anyone can build an evil app, put it on the market, 139 00:08:54,440 --> 00:08:57,880 and say, hey, you should download this. And anyone could execute it, and it could 140 00:08:57,880 --> 00:09:02,300 export a lot of bad information. And we know this is bad, right? There's a lot of companies out there 141 00:09:02,300 --> 00:09:05,420 that do a lot of great things trying to prevent malware, evil applications, etc. 142 00:09:07,060 --> 00:09:10,480 But then I got thinking, you know, OK, so we know evil applications 143 00:09:10,480 --> 00:09:13,400 are evil, but what about regular applications? 144 00:09:13,400 --> 00:09:17,460 I mean, when you get your Android phone, you think, 145 00:09:17,560 --> 00:09:21,180 oh, OK, first thing I want to do, I want to stream music through Pandora, right? 146 00:09:21,340 --> 00:09:25,240 I mean, it's really awesome having an unlimited internet radio station on your phone. 147 00:09:25,820 --> 00:09:29,480 And then you play with it a little bit longer, and then you're like, oh, sweet, I've heard about Angry Birds. 148 00:09:29,840 --> 00:09:33,400 Who here loves Angry Birds? I'm not going to lie, I use it. 149 00:09:34,020 --> 00:09:37,540 You're sitting in a meeting, you're sitting in your office, you're on the phone 150 00:09:37,540 --> 00:09:41,420 with your boss, and you're just playing. Not that they know 151 00:09:41,420 --> 00:09:45,180 you're playing it, but the fact of the matter is, you're thinking, all of these apps, 152 00:09:45,260 --> 00:09:49,180 I've paid for it, or not, but I've downloaded it from the Android application market, 153 00:09:49,320 --> 00:09:52,860 and it's a game. What I've downloaded is a game. 154 00:09:53,280 --> 00:09:57,320 But what you don't realize is you've downloaded a little spy 155 00:09:57,320 --> 00:10:01,400 in your pocket. Now, some previous research has been 156 00:10:01,400 --> 00:10:05,200 done by the Wall Street Journal, and by a man named Aldo Cortesi. 157 00:10:05,520 --> 00:10:08,100 And I'd like to meet this man, he's done a lot of great things. 158 00:10:08,100 --> 00:10:11,960 But basically, I was even going to call my original presentation 159 00:10:11,960 --> 00:10:15,520 Android the Spy in Your Pocket. Turns out, Wall Street Journal, been there, done that. 160 00:10:16,960 --> 00:10:20,220 They've done a lot of great research seeing what these applications are sharing 161 00:10:21,320 --> 00:10:22,880 and how they're sharing it. 162 00:10:23,260 --> 00:10:27,040 To get back to the privacy side of it, 163 00:10:28,940 --> 00:10:31,260 in terms of privacy, we don't realize 164 00:10:31,700 --> 00:10:36,200 how much we share about our lives. We think, you know, all these companies 165 00:10:36,200 --> 00:10:39,460 have anonymized data. And one of the best examples is with 166 00:10:40,260 --> 00:10:42,540 Apple. You have a U-D-I-D, I think. 167 00:10:44,680 --> 00:10:48,080 It's basically an anonymized number that says, oh, I'm 168 00:10:48,080 --> 00:10:52,000 me, but I'm not actually Eric Fulton, it's just, you know, the company doesn't know 169 00:10:52,000 --> 00:10:56,280 who I am, they just know my number. Well, that's 170 00:10:56,280 --> 00:10:59,820 cool, but there's companies out there in the world where their whole 171 00:10:59,820 --> 00:11:04,120 idea is de-anonymizing who you are. Like, figuring out, 172 00:11:04,120 --> 00:11:08,180 oh, this guy that lives in Montana that loves Doritos 173 00:11:08,180 --> 00:11:11,920 and Mountain Dew and also travels to these places is 174 00:11:11,920 --> 00:11:16,060 this number, and they can easily tag it as Eric Fulton, because I love Mountain Dew. 175 00:11:17,540 --> 00:11:19,880 And so, as part of this, I thought, alright, 176 00:11:19,980 --> 00:11:24,200 well, let's start looking at these applications. These applications that I blindly trust that I think, 177 00:11:24,300 --> 00:11:27,440 oh, yeah, I totally believe these people. So, scientific method 178 00:11:27,960 --> 00:11:32,240 to the rescue. What I wanted to do was create a reproducible kind of 179 00:11:32,240 --> 00:11:32,940 um, 180 00:11:34,460 --> 00:11:38,160 project that someone else could look at and that I could do with standards 181 00:11:38,160 --> 00:11:41,580 that would kind of display what our applications are sharing. 182 00:11:41,960 --> 00:11:45,700 So, we've got all of the basic things there, and the question I asked was, 183 00:11:45,860 --> 00:11:50,080 to what extent do participants in the cellular ecosystem, so 184 00:11:50,080 --> 00:11:53,580 OS creators, app creators, carriers, etc., 185 00:11:54,120 --> 00:11:58,060 respect privacy? Now, in my research, I've only gotten as far as Android, but I hope to 186 00:11:58,060 --> 00:12:01,780 get to Windows phones and to Blackberries and to iPhones. 187 00:12:01,780 --> 00:12:05,500 But right now, we're going to focus in on Android phones. 188 00:12:05,720 --> 00:12:08,980 So, my hypothesis was, in terms of respecting privacy, 189 00:12:09,260 --> 00:12:13,660 what do they do? And I thought, you know what, software applications and operating systems 190 00:12:13,660 --> 00:12:17,720 transmit your private information. I mean, to a certain extent, it's built in. That's what they're supposed 191 00:12:17,720 --> 00:12:21,620 to do. When you log into your Facebook, you kind of have to give Facebook your username 192 00:12:21,620 --> 00:12:25,380 and password. Um, but what do they give 193 00:12:25,380 --> 00:12:29,460 to third parties without your knowledge? What do they give to advertising 194 00:12:29,460 --> 00:12:33,460 partners? And more so, what are their advertising partners that these companies blindly 195 00:12:33,460 --> 00:12:36,700 trust collecting about you? And so I thought, I bet you 196 00:12:37,200 --> 00:12:41,360 they're sharing the standard, you know, usernames and passwords and things that personally identify you. 197 00:12:42,320 --> 00:12:45,460 I mean, it's part of the application. But when you think 198 00:12:45,460 --> 00:12:49,440 about it, why does, when you're searching for something on Google, why does Google need 199 00:12:49,440 --> 00:12:53,420 to know your location? And to a certain extent, for a business purpose, 200 00:12:53,720 --> 00:12:57,380 you know, it's helpful. They need to know that I'm in Las Vegas right now, and when I search 201 00:12:57,380 --> 00:13:01,340 for Batista's Restaurant, they know, oh, restaurant in 202 00:13:01,340 --> 00:13:04,600 Las Vegas. But at the same time, I have no really 203 00:13:04,600 --> 00:13:09,300 real option of turning that off. I mean, I know Google says, hey, if you want to 204 00:13:09,300 --> 00:13:13,180 turn off your location data, your GPS, et cetera, we won't collect it. But we don't realize, 205 00:13:13,400 --> 00:13:17,200 and what I found out later was, is that they kind of are, but to 206 00:13:17,200 --> 00:13:20,940 maybe not the GPS extent, to a different extent. 207 00:13:21,740 --> 00:13:25,400 So for this experiment, I built a lab. And for this lab, I wanted 208 00:13:25,400 --> 00:13:29,080 to install, use apps on the Android phone. I wanted to capture their packets, 209 00:13:29,360 --> 00:13:33,200 analyze these packets, and then profit. Or at least give a 210 00:13:33,200 --> 00:13:34,120 DEF CON presentation. 211 00:13:36,700 --> 00:13:41,160 Thank you. So I built a lab. I thought to myself, I've got this great idea, 212 00:13:41,320 --> 00:13:45,040 I've got this great hypothesis, what do I need? Well, I bought a femtocell, 213 00:13:45,280 --> 00:13:49,200 an original Motorola Droid, a wireless router with DD Word on it, a 214 00:13:49,200 --> 00:13:52,560 sniffing laptop, and an interconnection. And I was like, I am ready. 215 00:13:54,500 --> 00:13:56,600 Turns out you don't need all that stuff to do 216 00:13:56,600 --> 00:14:00,500 this analysis. As I went along, I found out I could have done 217 00:14:00,500 --> 00:14:02,920 a lot of it in the emulator, which would have taken nothing. 218 00:14:06,020 --> 00:14:07,820 But it allowed me to buy some cool shit 219 00:14:08,440 --> 00:14:09,840 using the Office company card. 220 00:14:15,340 --> 00:14:16,080 Well, thank you. 221 00:14:16,300 --> 00:14:20,520 I'm happy about it. So I bought the femtocell thinking, 222 00:14:20,520 --> 00:14:24,340 all right, when I'm using my phone, I want to collect the cellular network traffic 223 00:14:24,340 --> 00:14:28,080 in addition to the regular network traffic. Because I was thinking, you know, if I'm an app creator, 224 00:14:28,660 --> 00:14:32,420 I don't want people tweaking with my stuff. And generally, I'm going to use the word 225 00:14:32,420 --> 00:14:36,280 generally, cellular networks are safe. And so if I was an app creator, 226 00:14:36,420 --> 00:14:40,400 I'd be like, oh, oh, no, no, no, no, no, I won't send sensitive data over Wi-Fi. 227 00:14:40,620 --> 00:14:44,560 I'll make sure it's over the cellular network. Because it's a lot harder to tap. 228 00:14:44,720 --> 00:14:47,240 And so I was like, I'm going to buy a femtocell. I'm going to intercept that. 229 00:14:48,060 --> 00:14:51,120 And then I bought an Android phone, because I was like, this is cheap 230 00:14:51,120 --> 00:14:55,200 on eBay. And then I already had the router and the laptop. And the internet. 231 00:14:55,760 --> 00:14:59,280 Well, it turns out, after doing a bit of research, and I didn't 232 00:14:59,280 --> 00:15:03,040 delve too much into this, that app creators aren't that shiesty. 233 00:15:05,020 --> 00:15:06,700 Yet. All I had to do, I didn't have to 234 00:15:07,160 --> 00:15:11,080 register for the cell network. I was just able to pop open my phone, turn on Wi-Fi, 235 00:15:11,160 --> 00:15:14,860 get to the Android market, and start playing around. Which was absolutely great. 236 00:15:14,860 --> 00:15:18,780 So I created this amazing testing methodology, where I would 237 00:15:18,780 --> 00:15:22,420 take the applications, I would purchase and install them, I would have initial usage, 238 00:15:22,680 --> 00:15:26,740 regular usage, and then uninstalling the application for each application. Because then I would know 239 00:15:26,740 --> 00:15:30,680 what traffic's going on at exactly what point. And then during the operating system 240 00:15:30,680 --> 00:15:34,340 tests, I would have first usage, so when you're first installing your phone, 241 00:15:34,620 --> 00:15:38,840 light usage, and then regular idle time, and then when I reset 242 00:15:38,840 --> 00:15:42,800 the phone. Right? I mean, it seems like I would cover just about every aspect 243 00:15:42,800 --> 00:15:46,720 of every application, and the OS, so that I would make sure 244 00:15:46,720 --> 00:15:50,620 I wouldn't miss any shiesties that went on. Because I thought to myself, you know, if I were an OS creator 245 00:15:50,620 --> 00:15:54,440 every 30 minutes, I'd want to know where you are at. Or if I'm an application 246 00:15:54,440 --> 00:15:58,600 owner, I might be like, hey, every 15 minutes, who have you called 247 00:15:58,600 --> 00:16:02,480 in the last 15 minutes? So this was my amazing 248 00:16:02,480 --> 00:16:06,820 original testing methodology. What actually happened was, I just took a massive 249 00:16:06,820 --> 00:16:11,060 PCAP file for each app, SSL stripped it, TCP dumped it, 250 00:16:11,060 --> 00:16:14,600 and made a drinking game out of it. In true DEF CON fashion. 251 00:16:15,820 --> 00:16:18,320 But you guys weren't hungover, so maybe that's not true DEF CON fashion. 252 00:16:19,940 --> 00:16:22,940 And so for the apps that I tested, I thought, alright, I'm gonna do a mix. 253 00:16:24,000 --> 00:16:26,700 I'm gonna do Angry Birds, as I used earlier, 254 00:16:27,000 --> 00:16:31,200 this really sketchy Chinese app. I don't read Chinese, and I was like, well that looks sketchy. 255 00:16:34,260 --> 00:16:34,920 It's kind of my 256 00:16:34,920 --> 00:16:38,820 sketchy test. And then random applications that no one uses, 257 00:16:38,820 --> 00:16:42,520 so I scrolled a whole bunch of pages down. I got the main ones, Facebook, 258 00:16:42,840 --> 00:16:46,740 I got just browsing the web on Google, and that actually happened by 259 00:16:46,740 --> 00:16:50,100 accident, but I found some fascinating things, so I decided to keep it in. 260 00:16:51,340 --> 00:16:54,700 Intellipilot, which is an airline 261 00:16:54,700 --> 00:16:58,800 pilot's application for using logbooks. Mousetrap, which is a game. 262 00:16:59,960 --> 00:17:02,120 Pandora. Redphone, which is an amazing application 263 00:17:02,620 --> 00:17:06,780 created by Moxie's Marlin Spike, and if you guys don't know this, it's a little app 264 00:17:06,780 --> 00:17:10,680 on your Android phone that you can have secure conversations with other people. And I thought, 265 00:17:11,300 --> 00:17:14,540 you know, I like Moxie, but I kind of want to see if he's doing anything 266 00:17:14,540 --> 00:17:18,080 there. We'll find out more about that later. 267 00:17:18,920 --> 00:17:22,360 And then Words with Friends and Zynga Poker, because I'm absolutely addicted to Words with Friends. 268 00:17:23,280 --> 00:17:25,840 And if any of you guys play Scrabble, you'll know. 269 00:17:27,060 --> 00:17:30,480 I digress. And so it's obviously a work in progress. 270 00:17:30,940 --> 00:17:34,780 I have a lot of applications I'd like to test, I have a lot of different operating systems I'd like 271 00:17:34,780 --> 00:17:35,580 to test, and 272 00:17:36,780 --> 00:17:40,640 basically what I've been trying to work towards is a standard methodology so that I can kind of hammer through it 273 00:17:40,640 --> 00:17:44,460 when I'm not working, which seems to be rare. So what I have to work with 274 00:17:44,460 --> 00:17:47,400 is a bunch of PCAP files and SSL strip outputs. 275 00:17:50,940 --> 00:17:52,820 And the reason I did this was, is because 276 00:17:52,820 --> 00:17:56,680 I figured, you know, if I'm an attacker, it's really easy just to run SSL strip. 277 00:17:56,840 --> 00:18:00,580 So let's just assume SSL is useless. And so 278 00:18:00,580 --> 00:18:04,600 I decided to take all the information that if someone were attacking you, or if they were a corporation, 279 00:18:04,600 --> 00:18:08,580 et cetera, would have. Now later on, I want to see absolutely everything sent back to the company. 280 00:18:08,780 --> 00:18:12,060 I'm going to add a root certificate to the phone and just collect all the information. 281 00:18:12,720 --> 00:18:16,620 But for right now, I've got a bunch of packet captures and SSL strip outputs. 282 00:18:16,900 --> 00:18:20,260 And that alone has proved very interesting. 283 00:18:20,500 --> 00:18:24,420 So let's start analyzing. With each packet capture, I first 284 00:18:24,420 --> 00:18:28,440 peered around with it in Wireshark. I analyzed some of the conversations, some of the IPs being 285 00:18:28,440 --> 00:18:31,660 addressed. I ran strings, ran grep, pretty easy Linux stuff. 286 00:18:31,660 --> 00:18:35,540 And then I did some DNS play, and I did some Argus flows. 287 00:18:36,200 --> 00:18:39,820 So first, Wireshark. If you guys haven't done any network analysis, 288 00:18:40,480 --> 00:18:42,920 Wireshark is kind of the de facto GUI tool. 289 00:18:43,440 --> 00:18:47,220 It's really nice just to kind of poke around and scroll, and you can just visually 290 00:18:47,220 --> 00:18:51,740 look at and see, oh, this is HTTP traffic, DNS traffic, et cetera. 291 00:18:52,060 --> 00:18:54,440 And it's a good starting point. Kind of give you a feel for the lay of the land. 292 00:18:56,800 --> 00:18:59,000 But command line tools are more powerful. 293 00:18:59,000 --> 00:19:03,020 And so I moved to Tshark. And so I wanted to 294 00:19:03,020 --> 00:19:06,440 basically read the packet captures, look around, see what was happening. 295 00:19:06,980 --> 00:19:10,980 Look at some of the hacks, what's being talked to, and the conversations that are 296 00:19:10,980 --> 00:19:14,240 happening. And so I ran Tshark. It's up on there. 297 00:19:14,460 --> 00:19:18,220 And I tried to see, what are these applications talking to? Who are these applications? 298 00:19:18,940 --> 00:19:23,000 I mean, who are these applications talking to? What services are they using? Who are they sharing 299 00:19:23,000 --> 00:19:25,860 it with? And then I whizzed like a mofo. 300 00:19:27,620 --> 00:19:29,800 So, if we were to take one specific example, 301 00:19:29,980 --> 00:19:33,740 we can look at Zynga. How many people here know who 302 00:19:33,740 --> 00:19:37,860 Zynga is? Oh, nice. Well, I should assume this is DEVCON. You guys are smart. 303 00:19:39,580 --> 00:19:41,320 And to read it, for those that didn't raise their hands, 304 00:19:41,520 --> 00:19:45,840 Zynga is kind of the new mogul, if you will, for Android games. 305 00:19:46,780 --> 00:19:49,860 Most games on Android and OpenFaint 306 00:19:49,860 --> 00:19:53,480 on Apple, or, yeah, I think it's OpenFaint. In any case, 307 00:19:53,480 --> 00:19:56,340 Zynga makes a large number of those idle time games. 308 00:19:57,060 --> 00:19:59,860 Those games when you're kind of sitting down, as I stated earlier, 309 00:20:01,380 --> 00:20:05,180 and you're just kind of, you know, you don't have anything to do, and you want a game 310 00:20:05,180 --> 00:20:09,060 that you can play for five minutes, or you're on a conversation and you're a little bored, you can play it for five 311 00:20:09,060 --> 00:20:13,040 minutes. And they're wildly popular, because people have a lot of idle time. 312 00:20:13,600 --> 00:20:17,380 And so, I took a look at Zynga, and I was like, who is Zynga talking to? 313 00:20:17,520 --> 00:20:20,180 Well, if you look at the screen, and I'm not going to read each one out, 314 00:20:21,320 --> 00:20:24,220 there's a lot. There's Tapjoy Ads, Midas, 315 00:20:24,520 --> 00:20:28,100 Tapjoy Ads, Facebook, Facebook, Facebook, 316 00:20:29,920 --> 00:20:31,320 Facebook, Macromedia, Adobe. 317 00:20:31,880 --> 00:20:36,400 And when you look at this, there's a couple on there that you're curious. 318 00:20:36,620 --> 00:20:40,100 I mean, this was for Zynga Poker. And so, you're 319 00:20:40,100 --> 00:20:44,720 playing poker on your phone, and you don't really expect for it to call out to Midas.mobi. 320 00:20:45,460 --> 00:20:46,780 What does this company do? 321 00:20:46,780 --> 00:20:50,300 What does MKHOJ do? 322 00:20:50,580 --> 00:20:54,720 What does Tapjoy Ads do? What information is being sent to these third parties that you 323 00:20:54,720 --> 00:20:58,040 have absolutely no idea? And this is where we draw in on the privacy element. 324 00:20:59,220 --> 00:21:02,760 When you downloaded that application for poker, did you really understand that you were going to 325 00:21:02,760 --> 00:21:06,860 be sending your statistics, your Android version, your location, potentially, 326 00:21:07,000 --> 00:21:10,260 to Zynga Poker? And why do they need to know it? 327 00:21:11,240 --> 00:21:14,720 So this really begs the question, what is being sent 328 00:21:14,720 --> 00:21:16,280 on your phone without you knowing? 329 00:21:17,700 --> 00:21:22,420 I mean, now that I've brought the question up, you guys are thinking, like, oh, what apps do I have? 330 00:21:22,740 --> 00:21:26,500 Well, one of the easiest quick and dirty ways to look at 331 00:21:26,500 --> 00:21:30,540 a packet capture file and see where it goes is strings. Strings just basically outputs 332 00:21:30,540 --> 00:21:34,380 text strings that are inside the packet capture file, or any 333 00:21:34,380 --> 00:21:38,300 file for that matter. But basically what I did was I looked for interesting things. 334 00:21:40,940 --> 00:21:42,840 And you'll see on here, one of the first things I did 335 00:21:42,840 --> 00:21:44,080 was the HTTP 336 00:21:44,720 --> 00:21:48,520 trying to see what websites are being contacted. And then I had a couple key 337 00:21:48,520 --> 00:21:52,700 phrases. And I did this for a couple reasons. One, I don't want 338 00:21:52,700 --> 00:21:56,580 to have to go through every packet capture file trying to figure out what password was what and what I was going 339 00:21:56,580 --> 00:22:01,000 through. So I made some basic things to look for. I made wootdefcon 340 00:22:01,000 --> 00:22:03,040 my password, and 341 00:22:04,180 --> 00:22:08,600 I made my username droid.net.foren 342 00:22:08,600 --> 00:22:12,360 at gmail.com. And for those of you thinking, oh, 343 00:22:12,360 --> 00:22:15,680 he left the password and he just displayed it. I'm going to go log in. 344 00:22:16,260 --> 00:22:17,440 Yeah, I did. I don't care. 345 00:22:20,020 --> 00:22:24,320 Have at it. And so basically, I'm not using it 346 00:22:24,320 --> 00:22:26,800 anymore. Basically what I did was is 347 00:22:28,200 --> 00:22:32,200 I put these little cookies within the packet capture file so I could 348 00:22:32,200 --> 00:22:36,200 instantly grab for wootdefcon, right? Because I was so excited 349 00:22:36,200 --> 00:22:40,280 this was coming up. I was making my password that. And I could instantly see where my 350 00:22:40,280 --> 00:22:44,180 password was shown. I could instantly see, rather than trying to figure out what's their password field 351 00:22:44,180 --> 00:22:47,660 called or is it in their get parameter, their post parameter, whatever, 352 00:22:48,100 --> 00:22:52,360 I could just go, is wootdefcon going over the wire? I also 353 00:22:52,360 --> 00:22:56,120 did it for my email address. Well, when we look at it, wootdefcon is definitely going over 354 00:22:56,120 --> 00:23:00,140 Facebook. Obvious. I mean, you have to log into your Facebook 355 00:23:00,140 --> 00:23:04,140 to actually get the alerts that you want to see about your best friend and their update on how they're so excited for 356 00:23:04,140 --> 00:23:06,940 Friday. But 357 00:23:06,940 --> 00:23:10,220 what we didn't realize 358 00:23:10,280 --> 00:23:14,460 is that Facebook, Words with Friends, and Zynga Poker 359 00:23:14,460 --> 00:23:17,960 are all sending my email. Again, something to be assumed. But beyond that, 360 00:23:18,680 --> 00:23:22,220 any attacker can capture this. And this is where I really tie in the 361 00:23:22,220 --> 00:23:25,420 privacy element. And this is where privacy kind of intercedes with what I'm doing. 362 00:23:25,840 --> 00:23:30,220 So we have it to where, as an attacker or as a man in the middle, I now 363 00:23:30,220 --> 00:23:34,380 know, potentially, your password for your Facebook, your Facebook URL domain name, 364 00:23:36,560 --> 00:23:38,240 etc., all because you're playing poker. 365 00:23:39,320 --> 00:23:40,240 I now know 366 00:23:40,280 --> 00:23:41,900 potentially where you're located, 367 00:23:42,420 --> 00:23:43,540 potentially what you're doing, 368 00:23:43,720 --> 00:23:44,860 potentially where you're at. 369 00:23:45,740 --> 00:23:47,720 And so when we delve in with Words with Friends, 370 00:23:48,200 --> 00:23:50,320 we can see a lot of very interesting things. 371 00:23:50,560 --> 00:23:52,060 And so this is an output that I got 372 00:23:52,060 --> 00:23:54,300 from running strings on Words with Friends. And again, this is all 373 00:23:54,800 --> 00:23:56,200 very simple stuff. I mean, 374 00:23:56,240 --> 00:23:57,840 I'm not doing extremely 375 00:23:58,560 --> 00:24:00,080 advanced packet analysis, but 376 00:24:00,080 --> 00:24:02,380 if you guys would like to know more about that, I would highly recommend 377 00:24:02,380 --> 00:24:03,940 the Network Forensics Contest. 378 00:24:04,540 --> 00:24:05,900 But this is, I mean, this is quite simple. 379 00:24:05,980 --> 00:24:08,040 If you have a Linux VM or a Linux box, 380 00:24:08,260 --> 00:24:10,140 you can all do this. And so I 381 00:24:10,280 --> 00:24:12,020 ran strings on the capture file that I had, and I 382 00:24:12,020 --> 00:24:14,160 found this. I found Words with Friends is sending 383 00:24:14,160 --> 00:24:15,580 a couple interesting things. One, 384 00:24:16,040 --> 00:24:17,420 they're sending the network that I'm on. 385 00:24:17,920 --> 00:24:20,280 So they know whether I'm using AT&T, T-Mobile, 386 00:24:20,440 --> 00:24:21,660 Verizon, etc. 387 00:24:22,260 --> 00:24:23,800 So now they know that my phone is Verizon. 388 00:24:25,060 --> 00:24:25,660 They know 389 00:24:26,120 --> 00:24:28,360 that, well, and they know that I'm a millennial, 390 00:24:28,420 --> 00:24:30,180 which I found was kind of weird. I think 391 00:24:30,180 --> 00:24:32,220 they're guessing. But they 392 00:24:32,220 --> 00:24:34,140 also know what my build 393 00:24:34,140 --> 00:24:35,220 version is for my Android. 394 00:24:35,820 --> 00:24:37,740 They know what 395 00:24:38,240 --> 00:24:39,920 app server I'm using, which I'm guessing, and 396 00:24:40,280 --> 00:24:42,120 some of these are hypotheses and some of these are facts. 397 00:24:42,460 --> 00:24:43,600 But on this I'm guessing 398 00:24:43,600 --> 00:24:45,900 that they know where I'm located based on my 399 00:24:46,360 --> 00:24:47,320 distance to the ad server. 400 00:24:47,800 --> 00:24:49,700 They know what screen resolution I'm using, 401 00:24:51,500 --> 00:24:52,220 what language 402 00:24:52,220 --> 00:24:53,080 I'm using, etc. 403 00:24:54,600 --> 00:24:56,220 And for my testing, some of this didn't 404 00:24:56,220 --> 00:24:58,060 quite show up because I hadn't 405 00:24:58,060 --> 00:25:00,160 fully set up the phone, so they weren't able to send 406 00:25:00,160 --> 00:25:01,820 a couple things because I didn't have anything in there. 407 00:25:02,900 --> 00:25:04,020 But it definitely 408 00:25:04,020 --> 00:25:05,920 lets you know what they're sharing. 409 00:25:07,900 --> 00:25:10,080 And so when we continue on, okay, well they've got my 410 00:25:10,280 --> 00:25:11,760 email, they also have my device ID. 411 00:25:14,280 --> 00:25:16,060 They also know that my last word was 412 00:25:16,060 --> 00:25:17,580 about, and I got 18 points for it. 413 00:25:19,340 --> 00:25:20,100 But that's to be 414 00:25:20,100 --> 00:25:20,440 obvious. 415 00:25:22,300 --> 00:25:24,200 Again, sorry, I thought jokes would go 416 00:25:24,200 --> 00:25:25,080 over better at 10 AM. 417 00:25:26,560 --> 00:25:28,200 But in any case, so they know 418 00:25:28,200 --> 00:25:30,160 the time stamp of when I'm accessing it, 419 00:25:30,240 --> 00:25:31,860 they know my email, they know my 420 00:25:31,860 --> 00:25:32,940 device ID, etc. 421 00:25:34,680 --> 00:25:36,180 And what's important about this? 422 00:25:36,280 --> 00:25:38,260 Well, I can only assume that 423 00:25:38,260 --> 00:25:40,180 my device ID is only my device. 424 00:25:40,740 --> 00:25:42,100 I can also assume, 425 00:25:42,240 --> 00:25:43,440 or I feel safe assuming, 426 00:25:44,140 --> 00:25:46,340 that Zynga has a number of different applications, 427 00:25:46,540 --> 00:25:48,200 and in every application, they know 428 00:25:48,200 --> 00:25:49,760 that my device is using that. 429 00:25:49,840 --> 00:25:52,060 They know that I'm using their game 1, 2, 3, 430 00:25:52,140 --> 00:25:52,480 and 4. 431 00:25:53,880 --> 00:25:56,260 But then we tie this in with kind of a larger ecosystem issue, 432 00:25:56,380 --> 00:25:57,960 is that advertising is kind of the, 433 00:25:58,500 --> 00:26:00,260 I would almost argue, one of the 434 00:26:00,260 --> 00:26:01,360 largest eroders of privacy. 435 00:26:01,720 --> 00:26:03,620 Because they want to know as much as possible. 436 00:26:03,880 --> 00:26:06,080 They want to know exactly who you are so they can market 437 00:26:06,080 --> 00:26:08,260 directly to you. And so we take it from 438 00:26:08,260 --> 00:26:10,260 Zynga and we move to a higher level of the advertising. 439 00:26:10,280 --> 00:26:10,800 We move to a higher level of the advertising agencies 440 00:26:10,800 --> 00:26:12,200 that Zynga leases out. 441 00:26:12,440 --> 00:26:14,460 Well, now that they have my device ID from Zynga, 442 00:26:14,560 --> 00:26:16,920 they can also tie it in with, maybe if I'm at a website, 443 00:26:17,040 --> 00:26:18,020 if they can pull my device ID. 444 00:26:18,280 --> 00:26:20,140 Maybe if they're elsewhere, they can pull my device ID. 445 00:26:20,300 --> 00:26:21,660 And then all of a sudden they can tie all these 446 00:26:21,660 --> 00:26:24,500 disparate pieces of information that I never really thought 447 00:26:24,500 --> 00:26:25,480 someone else would be collecting, 448 00:26:25,860 --> 00:26:27,300 and they're starting to put it together. 449 00:26:29,340 --> 00:26:30,860 Now, continuing on the theme of strings, 450 00:26:31,660 --> 00:26:33,840 and this is the one that I had no idea 451 00:26:33,840 --> 00:26:35,060 and I really do not appreciate. 452 00:26:35,660 --> 00:26:37,280 When you, on your Android phone, 453 00:26:37,400 --> 00:26:39,680 go to Google, and if your Wi-Fi is on, 454 00:26:40,280 --> 00:26:41,240 Google instantly knows, 455 00:26:41,760 --> 00:26:43,360 and it sends back to home, 456 00:26:43,780 --> 00:26:45,740 all of the Wi-Fi access points around you. 457 00:26:46,980 --> 00:26:48,040 These are the people that 458 00:26:48,040 --> 00:26:48,820 live around me. 459 00:26:50,040 --> 00:26:51,060 They're creative people. 460 00:26:53,260 --> 00:26:54,300 I mean, and how many 461 00:26:54,300 --> 00:26:55,600 of you knew, every time you're going, 462 00:26:55,780 --> 00:26:57,600 oh, what's around me? I want to Google for something. 463 00:26:57,860 --> 00:27:00,400 Boom, open up a web browser. Oh, my Wi-Fi's on. 464 00:27:00,600 --> 00:27:01,980 Oh, Google actually knows 465 00:27:01,980 --> 00:27:03,900 all the Wi-Fi access points that are 466 00:27:04,760 --> 00:27:05,560 beaconing, right? 467 00:27:07,460 --> 00:27:08,240 No one really 468 00:27:08,240 --> 00:27:09,940 thinks of this, and they think, oh, oh, 469 00:27:10,280 --> 00:27:12,160 that's fine. I mean, what's some Wi-Fi 470 00:27:12,160 --> 00:27:14,160 access points? But if you guys have heard of 471 00:27:14,160 --> 00:27:16,120 Skyhook, what Skyhook basically does is 472 00:27:16,120 --> 00:27:17,880 it uses Wi-Fi to geolocate people. 473 00:27:18,240 --> 00:27:20,060 And Google's trying to essentially 474 00:27:21,480 --> 00:27:22,280 squeeze Skyhook 475 00:27:22,280 --> 00:27:23,820 out of the market, or at the very least not pay them, 476 00:27:23,920 --> 00:27:26,180 because they're going, okay, so if you're at 477 00:27:26,180 --> 00:27:28,220 this location, and these wireless access points 478 00:27:28,220 --> 00:27:30,400 are around you, if you're using an application, 479 00:27:30,660 --> 00:27:32,220 and you can, like, if someone 480 00:27:32,220 --> 00:27:34,520 else is using this application, and they can see this Wi-Fi, 481 00:27:35,020 --> 00:27:36,100 they also know 482 00:27:36,100 --> 00:27:37,240 where you're at. 483 00:27:38,320 --> 00:27:40,140 And so, you don't even have your 484 00:27:40,280 --> 00:27:42,180 GPS on. Let's say you're a super paranoid person, 485 00:27:42,320 --> 00:27:44,020 and you're like, no, no, no, no, no, my GPS is off. 486 00:27:44,200 --> 00:27:46,180 Google will not find me. Well, now they 487 00:27:46,180 --> 00:27:46,360 know 488 00:27:48,040 --> 00:27:50,020 what wireless IPs are around you. They also 489 00:27:50,020 --> 00:27:52,120 know, because of those wireless IPs, 490 00:27:52,140 --> 00:27:53,740 exactly where you're located. 491 00:27:55,140 --> 00:27:55,760 Kind of scary. 492 00:27:56,640 --> 00:27:58,240 What's also said to Google, 493 00:27:58,420 --> 00:28:00,080 and I totally, totally anonymize 494 00:28:00,080 --> 00:28:00,300 this, 495 00:28:01,920 --> 00:28:04,000 the X's are me, because that's 496 00:28:04,000 --> 00:28:05,560 my exact address. I 497 00:28:06,080 --> 00:28:07,660 was looking through the captures, and I was like, 498 00:28:08,120 --> 00:28:09,860 DevLock? What's that? Is that like 499 00:28:10,280 --> 00:28:12,500 my phone is locked? 500 00:28:12,880 --> 00:28:14,320 It's actually device location. 501 00:28:14,900 --> 00:28:16,200 And when I have my 502 00:28:16,200 --> 00:28:18,280 GPS on, and I am browsing to Google, 503 00:28:18,380 --> 00:28:20,260 and mind you, I am just browsing to 504 00:28:20,260 --> 00:28:21,740 Google, they instantly know 505 00:28:22,180 --> 00:28:23,700 where exactly I am. 506 00:28:24,240 --> 00:28:25,780 Pinpointed to a dot. 507 00:28:25,900 --> 00:28:28,300 I kid you not. I mean, I remember 508 00:28:28,300 --> 00:28:30,200 back when GPS was kind of sketchy, 509 00:28:30,200 --> 00:28:31,440 you'd be like, oh, you're in this area. 510 00:28:31,860 --> 00:28:34,040 But they are. You are standing right 511 00:28:34,040 --> 00:28:36,380 here, to that many X's 512 00:28:36,380 --> 00:28:37,260 worth of latitude 513 00:28:38,440 --> 00:28:39,840 and longitudinal lines. 514 00:28:42,240 --> 00:28:42,600 Scary. 515 00:28:43,640 --> 00:28:44,400 They are also sending 516 00:28:44,400 --> 00:28:46,340 a bunch of other information that I haven't 517 00:28:46,340 --> 00:28:47,980 decoded yet, but I plan on looking through. 518 00:28:48,340 --> 00:28:49,980 But at the same time, I mean, 519 00:28:50,000 --> 00:28:52,360 there's a lot of easy stuff to be picked out right away. 520 00:28:52,520 --> 00:28:54,060 I mean, why does Google need to know my specific 521 00:28:54,060 --> 00:28:55,480 exact location when I'm browsing? 522 00:28:55,860 --> 00:28:58,120 And again, you could say, oh, well, it's useful 523 00:28:58,120 --> 00:28:59,880 because they need to know when you search for pizza 524 00:28:59,880 --> 00:29:02,400 what pizza is nearby. Completely agreeable. 525 00:29:02,480 --> 00:29:04,180 But then we have to move a layer higher 526 00:29:04,180 --> 00:29:06,240 in terms of privacy. Well, because Google 527 00:29:06,240 --> 00:29:08,200 is collecting my location, who are they 528 00:29:08,200 --> 00:29:10,160 sharing it with? Who else knows where 529 00:29:10,280 --> 00:29:12,120 I'm located when I'm browsing for pizza? 530 00:29:12,280 --> 00:29:13,680 Do they share it with their advertisers? 531 00:29:13,960 --> 00:29:15,820 Do they share the time that I search for it with? 532 00:29:16,380 --> 00:29:18,300 And then you start to think, this is getting a little creepier. 533 00:29:19,120 --> 00:29:20,200 Advertisers now know when 534 00:29:20,200 --> 00:29:22,120 I've got a hankering for food or whenever I 535 00:29:22,120 --> 00:29:23,880 search something. They know where 536 00:29:23,880 --> 00:29:26,140 or potentially know where I searched 537 00:29:26,140 --> 00:29:28,080 for it at. They know what time I searched 538 00:29:28,080 --> 00:29:30,320 for it, and they can start to build a profile about you. 539 00:29:31,920 --> 00:29:34,160 And I mean, I personally, in 540 00:29:34,160 --> 00:29:35,940 terms of privacy, I think that we shouldn't have 541 00:29:35,940 --> 00:29:38,000 advertisers that know your most 542 00:29:38,000 --> 00:29:39,760 intimate detail without you even 543 00:29:40,280 --> 00:29:41,980 understanding what you're sharing. Google doesn't instantly 544 00:29:41,980 --> 00:29:44,240 say, hey, if you don't have your 545 00:29:44,240 --> 00:29:46,080 GPS on, we'll just send Wi-Fi access 546 00:29:46,080 --> 00:29:48,040 points around you. If you turn off GPS 547 00:29:48,040 --> 00:29:49,880 location assistance for web applications, 548 00:29:50,160 --> 00:29:52,220 we're going to send your Wi-Fi to try and guess where you're at. 549 00:29:52,440 --> 00:29:53,640 They don't allow you to turn that off. 550 00:29:55,060 --> 00:29:56,080 We also continue 551 00:29:56,080 --> 00:29:58,020 through, and we get 552 00:29:58,020 --> 00:30:00,200 a little bit more interesting information as well. 553 00:30:00,300 --> 00:30:02,140 We have the LAN MAC address, the WAN 554 00:30:02,140 --> 00:30:04,080 MAC address, the WL 555 00:30:04,080 --> 00:30:06,180 MAC address, and the LAN IP, 556 00:30:06,420 --> 00:30:08,360 what type of wireless you're using, 557 00:30:08,520 --> 00:30:10,240 what type of protocol it's 558 00:30:10,280 --> 00:30:11,940 using, what the active 559 00:30:11,940 --> 00:30:14,120 wireless is. I mean, 560 00:30:14,160 --> 00:30:15,900 and I could keep reading through it, and 561 00:30:15,900 --> 00:30:18,160 just for no reason, Google knows 562 00:30:18,160 --> 00:30:19,940 how long I've been up, 563 00:30:20,060 --> 00:30:21,740 how long the uptime has been on my device, 564 00:30:21,960 --> 00:30:24,040 the actual IP of it, the load 565 00:30:24,040 --> 00:30:24,640 average, etc. 566 00:30:26,980 --> 00:30:27,940 And might I 567 00:30:27,940 --> 00:30:29,880 reiterate that they know all of this 568 00:30:29,880 --> 00:30:31,560 just because I popped open a web browser. 569 00:30:31,960 --> 00:30:33,840 It's quite crazy, and it's 570 00:30:33,840 --> 00:30:35,320 insanely disturbing 571 00:30:35,820 --> 00:30:38,180 in terms of privacy, because you think, why do they need 572 00:30:38,180 --> 00:30:38,980 to know this? Well, 573 00:30:41,020 --> 00:30:42,180 now we're going to look at why 574 00:30:42,180 --> 00:30:42,900 data is collecting. 575 00:30:43,800 --> 00:30:45,260 And I'm hypothesizing here. 576 00:30:45,760 --> 00:30:46,760 We've got advertising. 577 00:30:47,960 --> 00:30:50,300 We've got statistics, because obviously they want to know 578 00:30:50,300 --> 00:30:52,200 are you using your application, what you're using it 579 00:30:52,200 --> 00:30:54,080 for, etc. We have 580 00:30:54,080 --> 00:30:54,460 advertising. 581 00:30:56,060 --> 00:30:57,820 We have legitimate business purposes. 582 00:30:58,080 --> 00:31:00,100 So maybe an application needs to know what version 583 00:31:00,100 --> 00:31:02,220 of Android you're using, so it's effective. 584 00:31:02,860 --> 00:31:03,700 We have advertising. 585 00:31:05,420 --> 00:31:06,280 We have things that 586 00:31:06,280 --> 00:31:08,040 can increase the value of a service, so 587 00:31:08,040 --> 00:31:10,220 I mean, it's helpful when you search for pizza that they search 588 00:31:10,280 --> 00:31:10,940 for pizza near you. 589 00:31:11,720 --> 00:31:14,100 We have advertising. And I hope I've made my point here, 590 00:31:14,160 --> 00:31:15,900 as you guys have caught on. I'm repeating 591 00:31:15,900 --> 00:31:17,320 advertising over and over and over, 592 00:31:18,540 --> 00:31:20,000 because advertising is, again, 593 00:31:20,060 --> 00:31:22,020 the number one reason why they 594 00:31:22,020 --> 00:31:23,900 collect this information. And maybe they could 595 00:31:23,900 --> 00:31:26,080 collect it without advertising, but it's the 596 00:31:26,080 --> 00:31:27,220 number one reason that they use. 597 00:31:27,740 --> 00:31:30,080 Why do you need to relocate it? We need to give you 598 00:31:30,080 --> 00:31:32,200 the correct ads. Why do we need to know Wi-Fi 599 00:31:32,200 --> 00:31:34,140 around you? Well, I mean, that helps us 600 00:31:34,140 --> 00:31:35,920 find your location, which helps you get 601 00:31:35,920 --> 00:31:38,180 proper ads. Why do you need to 602 00:31:38,180 --> 00:31:39,020 know my device version? 603 00:31:40,280 --> 00:31:42,180 Well, I mean, if we're going to run an ad on 604 00:31:42,180 --> 00:31:43,880 your screen, we need to know what resolution it's at. 605 00:31:45,140 --> 00:31:45,820 It's creepy. 606 00:31:47,700 --> 00:31:48,140 So, 607 00:31:48,200 --> 00:31:49,080 in terms of this, 608 00:31:50,160 --> 00:31:51,360 what about man-in-the-middle attacks? 609 00:31:51,680 --> 00:31:54,040 Traffic can be intercepted. You can use 610 00:31:54,040 --> 00:31:55,880 SSL strip exploits, etc. 611 00:31:56,300 --> 00:31:58,180 And so, just from sniffing your traffic from 612 00:31:58,180 --> 00:31:59,980 you hopping on my Wi-Fi point, I know 613 00:31:59,980 --> 00:32:02,180 you haven't applied your latest carrier upgrade. 614 00:32:02,420 --> 00:32:04,080 I know you decided 615 00:32:04,080 --> 00:32:06,000 to root your phone and put gingerbread on it 616 00:32:06,000 --> 00:32:07,820 from a certain modded community. 617 00:32:08,320 --> 00:32:09,800 I know exactly 618 00:32:10,280 --> 00:32:12,140 what device you have, where you've 619 00:32:12,140 --> 00:32:12,840 been, etc. 620 00:32:14,140 --> 00:32:16,100 And to hackers, this is all 621 00:32:16,100 --> 00:32:17,820 very, very fascinating information, 622 00:32:18,160 --> 00:32:20,080 right? If I know 623 00:32:20,080 --> 00:32:22,160 that you're using a phone that your carrier 624 00:32:22,160 --> 00:32:23,980 decided not to upgrade, and that there are 625 00:32:23,980 --> 00:32:26,320 active vulnerabilities in it, I also know 626 00:32:26,320 --> 00:32:27,640 that I can screw you. 627 00:32:28,700 --> 00:32:30,280 I know that if I have 628 00:32:30,280 --> 00:32:32,260 one of the exploits probably released at DEF CON 629 00:32:32,260 --> 00:32:34,140 or that I made myself targeting 630 00:32:34,140 --> 00:32:35,720 the Shoals platform 631 00:32:36,300 --> 00:32:37,180 with, or 632 00:32:38,840 --> 00:32:39,800 against gingerbread, 633 00:32:40,280 --> 00:32:42,220 I know I'm 634 00:32:42,220 --> 00:32:43,300 going to have 100% effective rate. 635 00:32:43,560 --> 00:32:46,060 And I know this just because you're playing 636 00:32:46,680 --> 00:32:47,440 Angry Birds 637 00:32:47,440 --> 00:32:49,000 on my wireless network. 638 00:32:50,100 --> 00:32:50,540 Or, 639 00:32:51,880 --> 00:32:53,180 not that I've done this yet, 640 00:32:55,240 --> 00:32:56,120 you happen 641 00:32:56,120 --> 00:32:57,740 to be within a certain foot range 642 00:32:57,740 --> 00:33:00,060 of my femtocell and are on my cellular network, 643 00:33:00,720 --> 00:33:01,900 but that's a whole other talk. 644 00:33:04,080 --> 00:33:06,200 And so, I kind of want 645 00:33:06,200 --> 00:33:07,780 to go back to the original question I asked. 646 00:33:07,780 --> 00:33:09,660 To what extent do participants 647 00:33:09,660 --> 00:33:11,180 in the cellular ecosystem 648 00:33:11,900 --> 00:33:13,540 app creators, OS creators, 649 00:33:13,860 --> 00:33:15,620 carriers, etc., respect 650 00:33:15,620 --> 00:33:16,300 user privacy? 651 00:33:17,540 --> 00:33:18,280 My answer? 652 00:33:20,120 --> 00:33:21,020 Not very much. 653 00:33:22,220 --> 00:33:23,640 And the reason for this is 654 00:33:23,640 --> 00:33:23,880 that 655 00:33:25,400 --> 00:33:27,100 no one's really called out for it. 656 00:33:27,420 --> 00:33:29,540 And I don't mean to wax too poetically. I mean, we're at 657 00:33:29,540 --> 00:33:31,680 DEF CON. I think a lot of people here really 658 00:33:31,680 --> 00:33:34,000 believe in privacy. We've got the Electronic Frontier 659 00:33:34,000 --> 00:33:35,460 Foundation who fights for our privacy. 660 00:33:35,900 --> 00:33:36,620 And yet, 661 00:33:38,360 --> 00:33:38,840 for 662 00:33:40,120 --> 00:33:41,660 convenience, we sacrifice 663 00:33:41,660 --> 00:33:42,460 our privacy. 664 00:33:43,220 --> 00:33:45,120 For the ability to Google something 665 00:33:45,660 --> 00:33:47,800 out of your pocket, to run the 666 00:33:47,800 --> 00:33:49,700 little location GPS 667 00:33:49,700 --> 00:33:51,500 on your phone to find out where you're going, 668 00:33:52,220 --> 00:33:53,640 to do any of these 669 00:33:53,640 --> 00:33:55,660 things, you're sacrificing 670 00:33:55,660 --> 00:33:56,260 your privacy. 671 00:33:57,920 --> 00:33:59,580 I mean, and that's fine. 672 00:33:59,700 --> 00:34:01,640 I mean, if that's something that you want to do, and that 673 00:34:01,640 --> 00:34:03,420 you're comfortable with, that's fine. But myself, 674 00:34:03,600 --> 00:34:05,520 I don't like Google knowing my neighbors have 675 00:34:05,520 --> 00:34:07,360 very creative wireless access point names. 676 00:34:07,940 --> 00:34:09,500 I don't like Google knowing 677 00:34:09,500 --> 00:34:11,240 exactly, exactly 678 00:34:11,640 --> 00:34:13,240 where I'm located when I browse a website. 679 00:34:13,480 --> 00:34:15,380 I don't like when I use turn-by-turn navigation, 680 00:34:15,860 --> 00:34:17,740 Google knows exactly when I'm taking 681 00:34:17,740 --> 00:34:19,680 those turns. And I don't mean to 682 00:34:19,680 --> 00:34:20,880 pick on Google. They're just, 683 00:34:21,400 --> 00:34:23,620 they happen to have the phone that I was able to obtain. 684 00:34:24,480 --> 00:34:25,660 You can only postulate 685 00:34:25,660 --> 00:34:27,620 what's on an Apple iPhone, what's on 686 00:34:27,620 --> 00:34:30,060 a Blackberry, 687 00:34:30,200 --> 00:34:30,740 etc. 688 00:34:31,840 --> 00:34:33,240 And the greatest tie-in with this 689 00:34:33,240 --> 00:34:35,600 is that in terms of privacy, all of these 690 00:34:35,600 --> 00:34:37,600 companies, and let's assume a beautiful 691 00:34:37,780 --> 00:34:39,660 perfect world, all of these companies believe in your 692 00:34:39,660 --> 00:34:41,260 privacy, which is 693 00:34:41,760 --> 00:34:42,920 patently false. But let's say they do. 694 00:34:43,720 --> 00:34:44,880 Well, aside from that, 695 00:34:45,520 --> 00:34:47,520 what about the people that have access to your traffic? 696 00:34:48,780 --> 00:34:49,720 As I stated before, 697 00:34:49,980 --> 00:34:51,040 I did all of these, 698 00:34:51,220 --> 00:34:53,340 let me go back a little bit, I 699 00:34:53,340 --> 00:34:55,600 ran strings and collected all these packets so, 700 00:34:55,640 --> 00:34:57,660 so long ago on my 701 00:34:57,660 --> 00:34:59,680 own network. And I was able to analyze this. 702 00:34:59,760 --> 00:35:01,260 But how many people are able to write filters, 703 00:35:01,480 --> 00:35:03,860 put out a Wi-Fi point, put out a femtocell, 704 00:35:04,040 --> 00:35:05,480 and as soon as you walk by, 705 00:35:05,660 --> 00:35:07,520 you've instantly shared so much 706 00:35:07,780 --> 00:35:08,420 information about yourself. 707 00:35:10,560 --> 00:35:11,640 I mean, if someone 708 00:35:11,640 --> 00:35:13,480 walked next to you and asked to rifle through your 709 00:35:13,480 --> 00:35:14,580 wallet, what would you say? 710 00:35:15,600 --> 00:35:16,780 No. No, sir. 711 00:35:18,000 --> 00:35:19,780 But if you just happened to walk 712 00:35:19,780 --> 00:35:21,600 by a store, and they 713 00:35:21,600 --> 00:35:23,580 happen to know certain details about you, they could 714 00:35:23,580 --> 00:35:24,300 change their advertising. 715 00:35:25,640 --> 00:35:27,580 Going forward, I mean, 716 00:35:27,640 --> 00:35:29,840 I, and this is kind of 717 00:35:29,840 --> 00:35:31,180 near the postulation stage, 718 00:35:32,220 --> 00:35:33,260 all of this information 719 00:35:33,680 --> 00:35:35,760 is available. And whether companies 720 00:35:35,760 --> 00:35:37,680 are, and they're not 721 00:35:37,780 --> 00:35:39,360 protecting it, this is all sent in clear text. 722 00:35:39,980 --> 00:35:41,600 So if you were to hypothesize 723 00:35:41,600 --> 00:35:43,520 into a future where, 724 00:35:43,680 --> 00:35:45,620 and I hope I'm not giving these people ideas, 725 00:35:45,880 --> 00:35:47,320 this is just where my own head is gone. 726 00:35:47,960 --> 00:35:49,760 Imagine an idea where on your 727 00:35:49,760 --> 00:35:51,660 Android phone, it's sharing all this information. 728 00:35:52,060 --> 00:35:53,720 You happen to wander past a 729 00:35:53,720 --> 00:35:55,240 supermarket, and all of a sudden you're saying, 730 00:35:55,380 --> 00:35:57,360 oh, I really do feel hungry for Mountain Dew. 731 00:35:57,560 --> 00:35:59,240 I do really want some chips. 732 00:35:59,580 --> 00:36:01,380 I understand I just said hungry for Mountain Dew. 733 00:36:01,500 --> 00:36:03,020 I'm very thirsty for Mountain Dew. 734 00:36:04,320 --> 00:36:05,480 10 a.m. on a Sunday. 735 00:36:05,980 --> 00:36:06,380 Um, 736 00:36:07,940 --> 00:36:09,560 all of a sudden I see an advertisement 737 00:36:09,560 --> 00:36:11,640 that says Mountain Dew, really cool. 738 00:36:12,040 --> 00:36:14,060 And I think to myself, oh, perfect timing. 739 00:36:14,800 --> 00:36:15,620 I'm gonna get myself 740 00:36:15,620 --> 00:36:17,300 some Mountain Dew, right? 741 00:36:17,480 --> 00:36:19,060 But is that exactly right? 742 00:36:19,300 --> 00:36:21,260 I mean, I may have bought the Mountain Dew beforehand, 743 00:36:21,540 --> 00:36:23,620 but it's almost an abuse of trust and an abuse of your 744 00:36:23,620 --> 00:36:25,600 privacy to take a look into your 745 00:36:25,600 --> 00:36:27,220 private thoughts and your phone 746 00:36:27,620 --> 00:36:28,820 and to share it out with the world. 747 00:36:29,420 --> 00:36:31,220 I mean, let's apply this towards politics. 748 00:36:32,480 --> 00:36:33,700 All of this information is 749 00:36:33,700 --> 00:36:35,280 bought, sold, and traded. 750 00:36:35,620 --> 00:36:37,760 All this information that's being shared on your phone 751 00:36:37,780 --> 00:36:38,840 that you don't quite realize. 752 00:36:39,580 --> 00:36:41,560 So all of a sudden I'm someone in politics 753 00:36:41,560 --> 00:36:43,860 and I'm like, you know, I want to be the perfect politician. 754 00:36:44,340 --> 00:36:44,700 Well, 755 00:36:45,700 --> 00:36:47,400 I've got these advertisers over here 756 00:36:47,400 --> 00:36:49,640 that are allowed on all these applications that you download 757 00:36:49,640 --> 00:36:51,620 and use. And you're like, oh, sweet. 758 00:36:51,740 --> 00:36:53,440 I'm gonna use the free version. It's ad supported. 759 00:36:53,960 --> 00:36:55,200 Rather than paying $1.99. 760 00:36:55,360 --> 00:36:57,000 But when you do that, you give away a little bit of privacy. 761 00:36:57,300 --> 00:36:59,540 It's not just you're giving away, oh, I'm gonna 762 00:36:59,540 --> 00:37:01,660 ignore that ad. You're giving away your privacy. 763 00:37:02,260 --> 00:37:03,500 And they take this information, 764 00:37:03,740 --> 00:37:05,880 they take what device version you have, where you're located, 765 00:37:06,080 --> 00:37:07,320 where you've been, what you like to buy, 766 00:37:07,780 --> 00:37:08,360 what you like to search for, 767 00:37:09,340 --> 00:37:10,720 and they correlate it together. 768 00:37:12,000 --> 00:37:13,760 It's their goal to find out who you 769 00:37:13,760 --> 00:37:15,480 actually are. Because when these companies, 770 00:37:15,640 --> 00:37:17,740 these companies might have your best interest at heart. 771 00:37:17,840 --> 00:37:19,660 They might say, hey, we don't 772 00:37:19,660 --> 00:37:21,740 collect your real name. But when someone 773 00:37:21,740 --> 00:37:23,740 else buys this data that's in your 774 00:37:23,740 --> 00:37:25,800 unique ID, they correlate 775 00:37:25,800 --> 00:37:27,660 it with other public data, and they 776 00:37:27,660 --> 00:37:29,760 kind of jumble it all together. They know who you 777 00:37:29,760 --> 00:37:31,380 are. They know where you live. 778 00:37:31,560 --> 00:37:33,500 They know your favorite color. And so 779 00:37:33,500 --> 00:37:35,280 taking this along the political idea, 780 00:37:36,980 --> 00:37:37,420 imagine 781 00:37:37,780 --> 00:37:38,940 a future where politicians 782 00:37:40,380 --> 00:37:41,860 know every constituent 783 00:37:41,860 --> 00:37:43,660 in their district. They know 784 00:37:43,660 --> 00:37:45,540 this because their cell phones are in that 785 00:37:45,540 --> 00:37:47,700 district. They know this because all of those 786 00:37:47,700 --> 00:37:49,660 cell phones have exposed 787 00:37:50,180 --> 00:37:51,640 what everyone does. They know 788 00:37:51,640 --> 00:37:53,620 what people search for. They know whether they 789 00:37:53,620 --> 00:37:55,440 read the Huffington Post or Fox. They know 790 00:37:55,440 --> 00:37:57,600 what percentage of people do this. They 791 00:37:57,600 --> 00:37:59,200 know what grocery stores you shop at. 792 00:37:59,440 --> 00:38:01,500 And they can take this data, they can take this data 793 00:38:01,500 --> 00:38:03,620 that's been correlated along all these different avenues, 794 00:38:03,800 --> 00:38:05,620 they can combine it, and they 795 00:38:05,620 --> 00:38:07,080 can go, oh, hey, 796 00:38:07,780 --> 00:38:09,320 my district is 797 00:38:09,320 --> 00:38:11,500 68% likely to vote 798 00:38:11,500 --> 00:38:13,660 Democrat or Republican. 799 00:38:15,260 --> 00:38:15,780 Okay. 800 00:38:16,100 --> 00:38:17,580 Or no, let's even do something 801 00:38:17,580 --> 00:38:19,520 closer. It's like, oh, my district 802 00:38:19,520 --> 00:38:21,460 is 55% likely to vote Republican. 803 00:38:21,780 --> 00:38:23,680 But most of those 804 00:38:23,680 --> 00:38:25,600 people, like 10%, are not likely to 805 00:38:25,600 --> 00:38:26,540 vote, which means 806 00:38:27,420 --> 00:38:29,620 I probably need to pitch myself 807 00:38:29,620 --> 00:38:31,440 towards the Democratic side. 808 00:38:32,340 --> 00:38:33,720 Okay. Well, if I'm pitching myself 809 00:38:33,720 --> 00:38:35,460 towards the Democratic side, I 810 00:38:35,460 --> 00:38:37,720 see that most of the people on this 811 00:38:37,780 --> 00:38:39,680 side are value shoppers. They like to 812 00:38:39,680 --> 00:38:41,680 shop for the value brands. Well, now I shop for the value 813 00:38:41,680 --> 00:38:43,680 brands. I talk about value when 814 00:38:43,680 --> 00:38:45,800 I talk to my constituents. I make them think, 815 00:38:45,920 --> 00:38:47,940 oh, my gosh, this politician 816 00:38:47,940 --> 00:38:49,140 is me. 817 00:38:49,440 --> 00:38:51,420 I believe in them. I can affiliate 818 00:38:51,420 --> 00:38:53,500 with this person. I'm going to vote for them. 819 00:38:53,660 --> 00:38:55,580 But what they don't realize is whoever this person is, 820 00:38:55,700 --> 00:38:56,880 they have tailored themselves 821 00:38:57,980 --> 00:38:59,680 meticulously to look exactly like 822 00:38:59,680 --> 00:39:00,860 the person that these people want 823 00:39:01,540 --> 00:39:03,560 or that these people are, that these people 824 00:39:03,560 --> 00:39:04,140 would want to see. 825 00:39:06,300 --> 00:39:08,080 This is the power that 826 00:39:08,080 --> 00:39:10,280 correlating data has. This is the power 827 00:39:10,280 --> 00:39:12,160 that just using these applications 828 00:39:12,160 --> 00:39:14,100 on your cell phone by sharing out your 829 00:39:14,100 --> 00:39:15,820 device ID, your location ID, the Wi-Fi 830 00:39:15,820 --> 00:39:17,480 access points can share. 831 00:39:19,000 --> 00:39:19,520 So, 832 00:39:20,140 --> 00:39:21,500 kind of tying back to my hypothesis, 833 00:39:22,280 --> 00:39:23,780 I said software applications 834 00:39:23,780 --> 00:39:26,140 and operating systems transmit private 835 00:39:26,140 --> 00:39:27,800 user information to the author of third parties 836 00:39:27,800 --> 00:39:30,060 without the user's knowledge and consent. 837 00:39:31,400 --> 00:39:31,920 So, 838 00:39:32,000 --> 00:39:33,740 I mean, throughout this talk I've stated 839 00:39:34,200 --> 00:39:36,080 personal data, identifying data, sent. 840 00:39:36,320 --> 00:39:37,440 Whether it's encrypted or not, 841 00:39:37,920 --> 00:39:39,120 it can be SSL stripped. 842 00:39:39,920 --> 00:39:41,940 And there was some data, and actually to talk 843 00:39:41,940 --> 00:39:44,180 a little bit, I promised 844 00:39:44,180 --> 00:39:45,660 you a little bit about some of the applications I did, 845 00:39:45,760 --> 00:39:48,120 I did test Red Phone. I did take a 846 00:39:48,120 --> 00:39:50,260 look at, hey, you know, I know Moxie 847 00:39:50,260 --> 00:39:52,080 believes in privacy, but does he 848 00:39:52,080 --> 00:39:53,840 put his walk, or does he, I mean, 849 00:39:53,860 --> 00:39:55,100 walk in the steps that he talks? 850 00:39:55,920 --> 00:39:58,240 And I actually couldn't 851 00:39:58,240 --> 00:40:00,200 intercept his traffic. 852 00:40:02,020 --> 00:40:02,380 Fascinating. 853 00:40:02,520 --> 00:40:04,000 And I was like, well, let's look into this. 854 00:40:04,140 --> 00:40:05,980 Apparently, Moxie, having broken 855 00:40:05,980 --> 00:40:07,540 SSL, knows how to secure his shit. 856 00:40:07,680 --> 00:40:08,340 And he does. 857 00:40:10,600 --> 00:40:11,960 So, it's definitely doable. 858 00:40:12,200 --> 00:40:13,880 These companies can make your information 859 00:40:13,880 --> 00:40:15,900 private. They can make it so that 860 00:40:15,900 --> 00:40:18,120 I can't intercept it on the wire. But the problem is 861 00:40:18,120 --> 00:40:19,980 they don't. They view it as not important 862 00:40:19,980 --> 00:40:21,940 data. Or, I mean, maybe not necessarily not 863 00:40:21,940 --> 00:40:23,940 important, but not sensitive. 864 00:40:24,180 --> 00:40:26,100 They don't take the time to protect it. They don't 865 00:40:26,100 --> 00:40:28,060 want to invest in servers so that they can 866 00:40:28,880 --> 00:40:29,900 encrypt it over the wire. 867 00:40:30,380 --> 00:40:31,740 And so I thought, okay, 868 00:40:31,920 --> 00:40:33,600 I mean, and even if they do, it's still 869 00:40:34,140 --> 00:40:36,000 exploitable. Facebook application. You can use 870 00:40:36,000 --> 00:40:38,080 SSL strip, username and password. Boom. 871 00:40:38,140 --> 00:40:40,160 Done. Applications send usernames, 872 00:40:40,300 --> 00:40:42,100 passwords, contact lists, location 873 00:40:42,100 --> 00:40:43,980 data, usage statistics, timing 874 00:40:43,980 --> 00:40:46,000 of activities, and other content. 875 00:40:48,680 --> 00:40:50,180 Kind of give it away. I said they were. 876 00:40:50,400 --> 00:40:52,120 Were we right? Yeah. 877 00:40:53,180 --> 00:40:54,100 We were right on 878 00:40:54,100 --> 00:40:54,880 all of those counts. 879 00:40:57,240 --> 00:40:58,020 All of them. 880 00:40:58,780 --> 00:41:00,020 And this is only using 881 00:41:00,020 --> 00:41:01,460 very basic packet analysis 882 00:41:02,180 --> 00:41:03,340 on these applications. 883 00:41:05,160 --> 00:41:06,160 And when I say 884 00:41:06,160 --> 00:41:07,960 basic, I didn't want to make this talk overly 885 00:41:07,960 --> 00:41:10,100 technical because I hope to make it a bridge between 886 00:41:10,500 --> 00:41:11,920 kind of the more technical field of network 887 00:41:11,920 --> 00:41:14,040 forensics and the non-technical field of privacy 888 00:41:14,040 --> 00:41:16,060 and kind of merge them together so that there's a little bit for 889 00:41:16,060 --> 00:41:18,060 both sides. But if you're a privacy 890 00:41:18,060 --> 00:41:20,180 advocate, I would highly recommend you taking 891 00:41:20,180 --> 00:41:21,460 a look at network forensics. 892 00:41:21,960 --> 00:41:23,920 Being able to look and see, hey, what are applications 893 00:41:23,920 --> 00:41:25,620 sharing? What are these operating systems sharing? 894 00:41:25,780 --> 00:41:28,100 When I go to Google.com, did I know 895 00:41:28,100 --> 00:41:29,800 my Wi-Fi access points are showing? 896 00:41:29,940 --> 00:41:32,020 Did I know my IP address is 897 00:41:32,020 --> 00:41:32,640 showing? Et cetera. 898 00:41:34,140 --> 00:41:36,080 And that was all with very, very basic 899 00:41:36,080 --> 00:41:36,340 testing. 900 00:41:38,400 --> 00:41:39,620 And so to kind of conclude, 901 00:41:40,960 --> 00:41:42,020 I don't think a lot of people 902 00:41:42,020 --> 00:41:43,940 realize your smartphone erodes your privacy 903 00:41:44,520 --> 00:41:45,800 and you agreed to it. 904 00:41:46,120 --> 00:41:47,080 And that's the worst part. 905 00:41:47,800 --> 00:41:49,900 You agreed to it. It's allowed. And until people 906 00:41:49,900 --> 00:41:51,520 start saying, hey, companies, 907 00:41:51,760 --> 00:41:54,000 we don't want information shared. You don't need 908 00:41:54,000 --> 00:41:56,040 to know the wireless access points around me when I'm 909 00:41:56,040 --> 00:41:57,940 trying to look for something, specifically even 910 00:41:57,940 --> 00:41:59,360 when I said I don't want location data shared. 911 00:42:01,140 --> 00:42:01,920 But the problem is 912 00:42:01,920 --> 00:42:04,120 you agreed to it. You scrolled through the pages and pages 913 00:42:04,140 --> 00:42:06,180 and pages and stuff and said, okay. And even beyond 914 00:42:06,180 --> 00:42:08,040 that, a lot of people don't understand the importance 915 00:42:08,040 --> 00:42:09,880 of the data they're sharing. They don't understand 916 00:42:10,480 --> 00:42:11,840 that when they're sharing this information, 917 00:42:12,140 --> 00:42:13,540 they're sharing it not with the world. 918 00:42:14,120 --> 00:42:15,640 Well, no, they are sharing it with the world. 919 00:42:15,860 --> 00:42:16,760 They're sharing it with everyone. 920 00:42:18,180 --> 00:42:20,120 And then they think, I mean, they just 921 00:42:20,120 --> 00:42:21,700 build it up and they say, oh, well, 922 00:42:22,160 --> 00:42:23,960 I'm sorry. I'm starting to digress from my original 923 00:42:23,960 --> 00:42:26,100 point. Essentially what I want to say is 924 00:42:26,100 --> 00:42:28,100 that information, what 925 00:42:28,100 --> 00:42:29,240 can be seen as 926 00:42:30,460 --> 00:42:32,180 benign information that companies collect 927 00:42:32,180 --> 00:42:33,240 can be intercepted 928 00:42:34,660 --> 00:42:36,100 it can be taken by 929 00:42:36,100 --> 00:42:37,960 that original company, it can be correlated, 930 00:42:38,300 --> 00:42:40,100 it can be tied to you, and it can be used for 931 00:42:40,100 --> 00:42:41,140 nefarious purposes. 932 00:42:42,180 --> 00:42:43,460 And you should be aware of this. 933 00:42:44,100 --> 00:42:45,680 And if you're curious about more applications, 934 00:42:46,340 --> 00:42:47,480 what I'm trying to do is 935 00:42:47,480 --> 00:42:49,960 I'm trying to build 936 00:42:49,960 --> 00:42:51,180 out from my original research. 937 00:42:52,840 --> 00:42:54,160 Essentially what I did was a very 938 00:42:54,160 --> 00:42:55,760 manually intensive, time intensive process. 939 00:42:56,400 --> 00:42:57,460 I am working on 940 00:42:58,740 --> 00:42:59,680 automating that process. 941 00:42:59,940 --> 00:43:01,820 I would like to have an emulator 942 00:43:01,820 --> 00:43:03,960 that downloads and installs every 943 00:43:04,140 --> 00:43:05,100 application of the Android market, 944 00:43:05,340 --> 00:43:06,840 runs it through its paces a little bit, 945 00:43:07,680 --> 00:43:09,700 analyzes its packet capture data for passwords, 946 00:43:10,020 --> 00:43:12,300 other, I wouldn't say 947 00:43:12,300 --> 00:43:13,780 shitey looking information, but important 948 00:43:13,780 --> 00:43:15,820 information, and can go through each one. 949 00:43:16,540 --> 00:43:18,000 And that's what I'm going to be working on. 950 00:43:18,320 --> 00:43:19,800 What I'm also going to be working on, 951 00:43:19,920 --> 00:43:21,140 and what this is kind of 952 00:43:21,840 --> 00:43:23,100 hinted me towards, is 953 00:43:23,600 --> 00:43:24,040 advertising. 954 00:43:26,080 --> 00:43:27,880 It's this kind of nether region 955 00:43:27,880 --> 00:43:29,920 and maybe this is just me, but I didn't quite 956 00:43:29,920 --> 00:43:31,480 realize the fact that 957 00:43:32,840 --> 00:43:33,840 there are tons 958 00:43:34,140 --> 00:43:36,100 and tons and tons and tons 959 00:43:36,100 --> 00:43:38,020 of ad networks on every page 960 00:43:38,020 --> 00:43:39,240 looking at everything you do. 961 00:43:40,040 --> 00:43:42,220 And you might think, oh, okay, when I browse 962 00:43:42,220 --> 00:43:43,680 from Engadget 963 00:43:43,680 --> 00:43:45,380 over to Slashdot, 964 00:43:45,920 --> 00:43:47,620 those are two separate websites. 965 00:43:47,980 --> 00:43:49,740 But what you don't realize is that 966 00:43:49,740 --> 00:43:52,100 one advertising company has a cookie 967 00:43:52,100 --> 00:43:54,060 or an ad on both of those 968 00:43:54,060 --> 00:43:56,160 websites. And they're able to see, 969 00:43:56,300 --> 00:43:57,840 oh, when he was done reading Engadget, 970 00:43:57,920 --> 00:44:00,240 he hopped over to Slashdot. This guy's a nerd. 971 00:44:01,300 --> 00:44:01,960 I'm going to 972 00:44:01,960 --> 00:44:03,320 advertise to him nerd products. 973 00:44:04,840 --> 00:44:05,920 I mean, and it's effective. 974 00:44:06,180 --> 00:44:07,800 And there's a reason they do it. They do it because 975 00:44:07,800 --> 00:44:09,460 it's more effective and they make money off it. 976 00:44:09,560 --> 00:44:11,500 And to a certain extent, I mean, having targeting advertising 977 00:44:11,500 --> 00:44:13,600 is useful. But to another extent, 978 00:44:13,820 --> 00:44:15,880 it just gets creepy because the way that 979 00:44:15,880 --> 00:44:16,860 the information can be used. 980 00:44:17,580 --> 00:44:18,140 And so, 981 00:44:19,780 --> 00:44:22,000 in terms of mapping out these, 982 00:44:22,140 --> 00:44:23,960 oh, sorry, so in terms of all this, what I'd also 983 00:44:23,960 --> 00:44:25,560 like to do is I'd like to map out these ad networks. 984 00:44:26,080 --> 00:44:28,060 I'd like to find out who's talking to 985 00:44:28,060 --> 00:44:29,780 whom, where the server's located at, 986 00:44:30,440 --> 00:44:31,820 who has access to what information, 987 00:44:32,700 --> 00:44:34,120 and what can happen from there. 988 00:44:34,140 --> 00:44:34,380 So, 989 00:44:35,840 --> 00:44:36,860 that's where I'm hoping to go. 990 00:44:37,220 --> 00:44:39,460 I hope I've shared a little bit with you guys, 991 00:44:39,520 --> 00:44:42,020 a little bit on the analyzation of packet captures, 992 00:44:42,140 --> 00:44:43,640 finding out where your information is going, 993 00:44:43,900 --> 00:44:45,680 some of the information that is being shared. 994 00:44:46,660 --> 00:44:48,040 And I'm definitely going to be available 995 00:44:48,040 --> 00:44:49,860 for a talk in the Q&A room three. 996 00:44:50,500 --> 00:44:51,980 I've got a lot more technical data, 997 00:44:52,540 --> 00:44:54,140 but I just kind of chose to 998 00:44:54,740 --> 00:44:55,840 keep it simple for 999 00:44:56,280 --> 00:44:57,220 you guys so I could 1000 00:44:57,720 --> 00:44:59,880 kind of focus on privacy and the intersection 1001 00:44:59,880 --> 00:45:01,200 of that. So thank you very much. 1002 00:45:04,140 --> 00:45:06,120 Thank you.