1 00:00:00,500 --> 00:00:04,900 All right, my name is Tom Wilhelm. I'm going to be talking about hacking with the iPod Touch. 2 00:00:05,060 --> 00:00:07,480 This is going to be a little bit different than what you guys have seen already today. 3 00:00:08,040 --> 00:00:11,140 Some of the objectives for this is I'm going to talk about my personal experience, 4 00:00:11,280 --> 00:00:15,380 so you have an idea whether or not this talk actually makes sense or totally blows. 5 00:00:15,600 --> 00:00:19,080 But we're going to also be talking about jailbreaking the iPod Touch. 6 00:00:19,180 --> 00:00:22,740 We're going to touch on it very quickly, because most of you guys have probably already done this. 7 00:00:23,600 --> 00:00:27,880 We're going to talk about using the iPod Touch as a pen test platform. 8 00:00:27,880 --> 00:00:34,080 When we get to that section, we're going to talk about it as a computer, not necessarily as a hacking tool. 9 00:00:34,260 --> 00:00:36,600 That's the next one, the hacking with the iPod Touch. 10 00:00:37,440 --> 00:00:43,720 We'll talk about that, and we'll talk about the different steps that occur during a penetration test 11 00:00:43,720 --> 00:00:47,380 and how the iPod Touch actually responds to that. 12 00:00:47,820 --> 00:00:51,800 And then we're going to talk about the iPod Touch as an attack vector. 13 00:00:51,900 --> 00:00:56,120 It's got some benefits that you guys are going to probably already be aware of, 14 00:00:56,180 --> 00:00:57,560 but we'll go over those as well. 15 00:00:57,880 --> 00:01:00,580 And then there's going to be the conclusion, where I'll just wrap everything up. 16 00:01:01,740 --> 00:01:02,800 All right, personal experience. 17 00:01:03,160 --> 00:01:06,900 I'm actually a paid professional penetration tester. 18 00:01:07,140 --> 00:01:11,860 I work for a Fortune 20 company where we do internal and external penetration tests. 19 00:01:11,960 --> 00:01:13,240 We do system attacks. 20 00:01:13,560 --> 00:01:14,640 We do code reviews. 21 00:01:14,900 --> 00:01:17,540 We do architecture reviews and attacks. 22 00:01:17,980 --> 00:01:24,000 So basically we cover everything that is available under the sun, really cool stuff. 23 00:01:25,200 --> 00:01:26,540 I get to work from home. 24 00:01:26,600 --> 00:01:27,780 So, yes, I hack in my indoor. 25 00:01:27,880 --> 00:01:28,460 Which is awesome. 26 00:01:28,800 --> 00:01:31,000 So I've got some certifications. 27 00:01:31,780 --> 00:01:32,380 Thank you. 28 00:01:32,640 --> 00:01:33,960 I got some certifications. 29 00:01:34,080 --> 00:01:42,880 Now we all know that that's primarily fodder for HR, but I put them up anyway so if anybody has any questions about that. 30 00:01:43,000 --> 00:01:48,520 I do get a lot of questions about how things are going to progress as far as the industry, 31 00:01:48,700 --> 00:01:51,080 and that's a topic I can talk for hours on. 32 00:01:53,540 --> 00:01:53,980 Oops. 33 00:01:56,640 --> 00:01:59,080 All right, I'm also an associate professor. 34 00:01:59,780 --> 00:02:05,260 I teach at a local community college, a technical college, where I do information system security, 35 00:02:05,400 --> 00:02:07,420 both at the undergrad and the grad level. 36 00:02:08,580 --> 00:02:09,200 Excuse me. 37 00:02:12,660 --> 00:02:15,960 Anyway, now that you guys know that, I will let you know that anybody 38 00:02:15,960 --> 00:02:18,660 who leaves early will be deducting karma points on your life. 39 00:02:18,740 --> 00:02:21,100 So if you don't reach nirvana, then you'll know why. 40 00:02:21,840 --> 00:02:23,200 There will also be a participation. 41 00:02:23,980 --> 00:02:27,080 In this a little bit, so make sure you get your points for that, too. 42 00:02:28,960 --> 00:02:30,180 I've got a couple degrees. 43 00:02:31,060 --> 00:02:35,360 This is the academic side of me, one in computer science and one in management. 44 00:02:35,520 --> 00:02:40,040 It's actually primarily project management, which helps my current role as well. 45 00:02:40,580 --> 00:02:41,720 I'm a doctoral student. 46 00:02:43,100 --> 00:02:49,060 I'm working on a Ph.D. a year in so far, working on a Ph.D. in I.T. with an emphasis 47 00:02:49,060 --> 00:02:50,820 on the information assurance and security. 48 00:02:51,360 --> 00:02:52,140 All right. 49 00:02:53,500 --> 00:02:53,960 All right. 50 00:02:53,980 --> 00:03:00,700 And I'm also an author, and that pretty much consumes the rest of my time, other than what 51 00:03:00,700 --> 00:03:02,980 my wife can eke out of me once in a while. 52 00:03:03,380 --> 00:03:05,120 But these are the books that I've written for. 53 00:03:05,220 --> 00:03:09,160 The one that's on top there, that's coming out in a few weeks, Professional Penetration 54 00:03:09,160 --> 00:03:09,540 Testing. 55 00:03:10,000 --> 00:03:13,780 I'd appreciate you guys if you could just take a gander at that and see if you're interested 56 00:03:13,780 --> 00:03:15,480 in buying it, because I've got a brand new hobby. 57 00:03:15,580 --> 00:03:16,680 It's home brewing. 58 00:03:17,100 --> 00:03:21,120 So any money that you guys spend towards the book will definitely be going to a very good 59 00:03:21,120 --> 00:03:22,560 cause, drinking and making beer. 60 00:03:25,540 --> 00:03:27,480 All right, let's talk about jailbreaking. 61 00:03:28,680 --> 00:03:33,100 There's some legal issues that we're going to have to talk about in this class, and then 62 00:03:33,100 --> 00:03:34,800 we're going to talk about class, see? 63 00:03:35,400 --> 00:03:35,880 Sorry. 64 00:03:37,500 --> 00:03:38,100 All right. 65 00:03:38,920 --> 00:03:40,700 Jailbreaking tools also we'll talk about. 66 00:03:40,780 --> 00:03:42,860 But I want a quick show of hands. 67 00:03:43,020 --> 00:03:49,560 How many people here have an iPod touch or phone that they've actually jailbroken? 68 00:03:50,900 --> 00:03:51,640 I don't. 69 00:03:52,060 --> 00:03:52,540 I don't. 70 00:03:52,560 --> 00:03:54,620 I would say 10 to 20 percent. 71 00:03:55,220 --> 00:03:56,640 Probably closer to 10 percent. 72 00:03:56,840 --> 00:03:57,240 All right. 73 00:03:57,260 --> 00:04:03,100 How many people have an iPhone or an iPod touch that they have not jailbroken? 74 00:04:04,580 --> 00:04:06,040 Wow, that's a lot more. 75 00:04:06,380 --> 00:04:09,320 What's some of the reasons for not doing that, just out of curiosity? 76 00:04:13,580 --> 00:04:14,060 Lazy. 77 00:04:14,800 --> 00:04:15,580 Lazy is one. 78 00:04:15,680 --> 00:04:16,340 I heard illegal. 79 00:04:16,780 --> 00:04:17,780 Who said illegal? 80 00:04:18,180 --> 00:04:18,740 What's that? 81 00:04:19,840 --> 00:04:20,320 Stability. 82 00:04:20,360 --> 00:04:20,480 Stability. 83 00:04:21,000 --> 00:04:22,480 That's one issue that... 84 00:04:22,480 --> 00:04:22,920 What's that? 85 00:04:23,200 --> 00:04:23,880 Code signing. 86 00:04:24,080 --> 00:04:24,740 Code signing. 87 00:04:24,960 --> 00:04:26,560 I can talk a little bit about that. 88 00:04:28,080 --> 00:04:29,400 I did hear somebody. 89 00:04:29,780 --> 00:04:30,640 Somebody said... 90 00:04:31,120 --> 00:04:31,420 What's that? 91 00:04:31,720 --> 00:04:32,040 Apple. 92 00:04:32,800 --> 00:04:33,380 I'm sorry? 93 00:04:33,800 --> 00:04:34,240 . 94 00:04:36,240 --> 00:04:36,680 Okay. 95 00:04:36,780 --> 00:04:36,940 Yeah. 96 00:04:36,980 --> 00:04:40,480 It sounds like primarily stability is the biggest issue that most everybody has. 97 00:04:41,360 --> 00:04:44,240 I know that somebody said legality. 98 00:04:44,320 --> 00:04:44,920 I know it. 99 00:04:45,320 --> 00:04:46,320 Nobody's going to fess up? 100 00:04:46,660 --> 00:04:48,900 Well, obviously we've got somebody from Apple here, so. 101 00:04:51,040 --> 00:04:52,280 We'll find you guys later. 102 00:04:52,540 --> 00:04:53,060 All right. 103 00:04:53,920 --> 00:04:55,060 Some of the legal issues. 104 00:04:55,160 --> 00:05:01,760 The EFF proposed an exception last year, and the talk has already been done, and I unfortunately 105 00:05:01,760 --> 00:05:07,580 missed it, but I'm sure it was outstanding, because lawyers are really great speakers. 106 00:05:07,980 --> 00:05:13,500 Anyway, they proposed that there was a class, or proposed an exception to the copyright 107 00:05:13,500 --> 00:05:13,840 law. 108 00:05:14,720 --> 00:05:20,320 Basically, they were asking the Copyright Office to allow circumvention. 109 00:05:20,320 --> 00:05:20,460 Okay. 110 00:05:20,460 --> 00:05:25,340 So, this is the application of an application on a phone that when it's accomplished for 111 00:05:25,340 --> 00:05:27,820 the sole purpose of enabling interoperability. 112 00:05:28,020 --> 00:05:29,520 Basically, you get an application. 113 00:05:29,820 --> 00:05:31,580 You want it to run on your system. 114 00:05:31,840 --> 00:05:33,720 You should have that right to be able to do that. 115 00:05:33,860 --> 00:05:35,840 That's the gist from what I understand. 116 00:05:36,020 --> 00:05:37,520 Of course, I'm not a lawyer, so thank God. 117 00:05:38,260 --> 00:05:38,760 All right. 118 00:05:40,260 --> 00:05:45,300 What Apple came back with, and they said that they were opposed to this, and this is when 119 00:05:45,300 --> 00:05:48,880 they actually took a stand on jailbreaking, and they said that it would actually result 120 00:05:48,880 --> 00:05:49,820 in copyright infringement. 121 00:05:51,060 --> 00:05:55,740 I'm not sure I understand the logic behind that, but they also said that there's potential 122 00:05:55,740 --> 00:06:00,600 damage to the device, potential harmful physical effects, adverse effects of the functioning 123 00:06:00,600 --> 00:06:03,600 of the device, which a lot of people have already talked about, and then there's the 124 00:06:03,600 --> 00:06:04,540 breach of contract. 125 00:06:04,940 --> 00:06:06,600 Now, what's going to happen? 126 00:06:06,680 --> 00:06:07,660 That's a very good question. 127 00:06:07,920 --> 00:06:13,760 In October, the Copyright Office is going to make a decision based on the proposition 128 00:06:13,760 --> 00:06:15,500 that the EFF put out there. 129 00:06:16,800 --> 00:06:18,380 Now, even if... 130 00:06:18,380 --> 00:06:19,620 From what I understand... 131 00:06:19,820 --> 00:06:24,580 Even if the Copyright Office comes back and says, you know, the exception is appropriate 132 00:06:24,580 --> 00:06:30,320 and enacts it or whatever they do, there's still some license agreement issues as well. 133 00:06:31,160 --> 00:06:35,060 Now, I put up here on the link, if anybody does the same thing I do, as soon as you get 134 00:06:35,060 --> 00:06:35,880 that little big... 135 00:06:35,880 --> 00:06:39,860 Actually, it's a big wad of paper, and it's got your license agreement, you pitch it. 136 00:06:39,960 --> 00:06:40,880 That's what I do. 137 00:06:40,980 --> 00:06:42,280 I'm sure that's what most people here do. 138 00:06:42,580 --> 00:06:49,160 For those that have done that, there are PDFs online for you guys to go to and actually 139 00:06:49,160 --> 00:06:49,700 read this. 140 00:06:50,320 --> 00:06:53,260 If anybody does, let me know. 141 00:06:53,340 --> 00:06:53,900 Actually, you know what? 142 00:06:53,960 --> 00:06:54,720 Don't even let me know. 143 00:06:54,840 --> 00:06:58,580 If you've got that much OCD that you really want to see it on PDF form, that's one thing. 144 00:06:59,120 --> 00:07:06,300 Now, basically, the biggest problem I typically have with the license agreements is that they're 145 00:07:06,300 --> 00:07:09,300 extremely boring and bereft of a soul. 146 00:07:09,820 --> 00:07:14,380 And speaking of that, I'd like to just kind of go off on a tangent real quick and talk 147 00:07:14,380 --> 00:07:14,860 about lawyers. 148 00:07:17,860 --> 00:07:18,980 We were at the... 149 00:07:18,980 --> 00:07:19,140 We were at the... 150 00:07:19,160 --> 00:07:24,620 We had an EFF fundraiser the other day, me and my wife, and it really kind of hit home. 151 00:07:24,980 --> 00:07:25,900 It was interesting. 152 00:07:26,080 --> 00:07:26,920 I don't think we give... 153 00:07:26,920 --> 00:07:30,440 As hackers, we give the lawyers a lot of credit. 154 00:07:30,740 --> 00:07:36,240 If you think about it, what we're doing in this room is we're talking about hacking 155 00:07:36,240 --> 00:07:39,080 a single device or attacking other systems. 156 00:07:39,320 --> 00:07:45,100 These guys hack society, so they're talking about doing something here that could impact 157 00:07:45,500 --> 00:07:46,580 us in the long run. 158 00:07:46,820 --> 00:07:48,400 And so I really think... 159 00:07:48,400 --> 00:07:57,640 This isn't a plug for them, but I think that we need to start really pushing and basically 160 00:07:58,200 --> 00:08:01,040 emphasizing our viewpoints on a lot of these laws that are being made. 161 00:08:01,240 --> 00:08:06,700 I think the EFF is obviously one of the better organizations, so anyway, just wanted to say 162 00:08:06,700 --> 00:08:06,820 that. 163 00:08:06,960 --> 00:08:08,560 I will go off on tangents a lot. 164 00:08:09,060 --> 00:08:13,680 My students, there's a few of them actually in here, they know that, and I'll eventually 165 00:08:13,680 --> 00:08:18,200 get all the slides in, whether or not we accelerate real quick, but if I go off on tangent, I'll 166 00:08:18,400 --> 00:08:19,120 try to get back on it. 167 00:08:21,560 --> 00:08:30,900 Now, because things still haven't solidified in the laws, we still are having some problems 168 00:08:31,340 --> 00:08:32,740 dealing with some bad laws. 169 00:08:34,220 --> 00:08:41,000 If we jailbreak the iPhone and we actually use it for hacking, we encounter some additional 170 00:08:43,140 --> 00:08:45,000 problems, legal issues. 171 00:08:45,600 --> 00:08:45,920 Just... 172 00:08:45,920 --> 00:08:51,200 The iPhone and iPod Touch, as it stands right now, if you don't jailbreak it, there's not 173 00:08:51,200 --> 00:08:57,120 a whole lot you can do as far as network sniffing or attacks or anything like that. 174 00:08:57,220 --> 00:08:59,660 It's pretty well-neutered, it's very tight. 175 00:09:00,080 --> 00:09:06,880 Once you jailbreak it, then you open yourself up to a lot of other hostile laws, and some 176 00:09:06,880 --> 00:09:07,880 of them are actually pretty bad. 177 00:09:07,940 --> 00:09:13,180 I like to put this guy back up here on occasion, because all he did... 178 00:09:13,180 --> 00:09:15,880 This is the Sierra Corporate Design Incorporation. 179 00:09:15,920 --> 00:09:17,600 Sierra Corporate Design Incorporated versus David Ritz. 180 00:09:17,720 --> 00:09:19,080 All he did... 181 00:09:19,080 --> 00:09:19,880 He's a... 182 00:09:20,240 --> 00:09:25,800 Basically, he looks for spammers and tries to get some information on them and get them 183 00:09:25,800 --> 00:09:26,280 shut down. 184 00:09:27,180 --> 00:09:29,980 Well, he did a DNS zone transfer. 185 00:09:30,100 --> 00:09:33,380 That's all he did, and he did it at a command line. 186 00:09:33,820 --> 00:09:41,260 Because he did that, the judge in the case decided against him and that he basically 187 00:09:41,260 --> 00:09:43,680 conducted an unauthorized attack. 188 00:09:43,680 --> 00:09:50,160 There was a $63,000 judgment, so we're having to deal... 189 00:09:50,820 --> 00:09:53,940 Even just by jailbreaking the phone, we have some other issues. 190 00:09:54,100 --> 00:09:56,100 Now, if you remember... 191 00:09:56,100 --> 00:10:00,600 We all know that as soon as you turn on the wireless, a lot of these devices just start 192 00:10:00,600 --> 00:10:01,860 trying to connect to networks. 193 00:10:02,460 --> 00:10:05,060 What kind of legal issues are we dealing with? 194 00:10:05,140 --> 00:10:08,220 That's something that we're really going to have to tighten down to. 195 00:10:08,340 --> 00:10:13,360 It goes back to the topic about supporting the EFF and making ourselves known. 196 00:10:13,360 --> 00:10:18,000 That these kind of laws are really dangerous and just don't really make a lot of sense. 197 00:10:18,200 --> 00:10:23,180 Anyway, now that we talked about some of the legal issues, let's talk about the actual 198 00:10:23,180 --> 00:10:23,560 tools. 199 00:10:23,960 --> 00:10:25,480 I used for mine... 200 00:10:25,480 --> 00:10:31,200 I know there's more out there, but for my iPod Touch, I used QuickPone. 201 00:10:32,000 --> 00:10:37,600 I have the iPod Touch, the first generation, I guess is what you would say. 202 00:10:39,580 --> 00:10:42,300 This software was perfect for me. 203 00:10:43,380 --> 00:10:47,080 These are the different phones and the different things that they're going to talk... 204 00:10:47,080 --> 00:10:48,800 That they currently hack. 205 00:10:48,940 --> 00:10:52,700 I think that the second generation is coming around, too. 206 00:10:52,820 --> 00:10:57,580 I don't know if they finished that or not, but that's not really a big concern of mine. 207 00:10:57,720 --> 00:11:00,060 What gets installed originally when you do the jailbreak? 208 00:11:00,820 --> 00:11:03,980 There's a Cydia and then there's also another program called Installer. 209 00:11:05,260 --> 00:11:10,980 The first thing that you'll want to drop on there is a OpenSSH in order to be able 210 00:11:10,980 --> 00:11:13,340 to communicate directly with the operating system. 211 00:11:19,600 --> 00:11:27,680 This section is talking about the iPod Touch as a computer and whether or not you want 212 00:11:27,680 --> 00:11:33,060 to actually move your attacks onto this system to conduct your attacks. 213 00:11:33,520 --> 00:11:35,660 First let's talk about the operating system. 214 00:11:36,980 --> 00:11:38,920 The kernel is Darwin. 215 00:11:38,980 --> 00:11:41,160 The kernel that I'm using is 9.4.1. 216 00:11:41,180 --> 00:11:42,940 I think it's up to 9.7 or something like that. 217 00:11:43,360 --> 00:11:45,340 It's actually open source, strangely enough. 218 00:11:45,540 --> 00:11:50,860 It's POSIX compliant and it includes a lot of code from FreeBSD. 219 00:11:51,220 --> 00:11:53,860 That's what originally caught my eye with this. 220 00:11:53,940 --> 00:11:59,020 I've always been interested in having a PDA that actually was a computer that I could 221 00:11:59,020 --> 00:11:59,880 do stuff with. 222 00:12:00,520 --> 00:12:04,540 That's why I actually ended up buying the iPod Touch. 223 00:12:05,120 --> 00:12:11,880 I was an avid hater of Mac, but now I own a Mac and I own an iPod, so they're sucking 224 00:12:11,880 --> 00:12:12,520 me in slowly. 225 00:12:13,360 --> 00:12:15,140 I feel my soul being drawn out too. 226 00:12:16,900 --> 00:12:22,380 The interesting thing also is that it's actually UNIX compliant according to the single UNIX 227 00:12:22,380 --> 00:12:22,740 specification. 228 00:12:24,740 --> 00:12:29,860 After going through this and messing with it personally, I came to the conclusion that 229 00:12:30,400 --> 00:12:34,500 what we really have here on this iPod Touch is a UNIX system. 230 00:12:34,900 --> 00:12:41,560 Not just a clutch of different stuff thrown together, they actually put together something 231 00:12:41,560 --> 00:12:42,580 that we could use. 232 00:12:42,580 --> 00:12:45,740 We could use as a community to do stuff with. 233 00:12:48,380 --> 00:12:55,720 The next problem that I addressed was, okay, so I've got an operating system, well, what 234 00:12:55,720 --> 00:12:57,060 is its capabilities? 235 00:12:57,260 --> 00:13:02,060 I mean, if it's totally neutered and there's nothing I can do other than just run applications, 236 00:13:02,300 --> 00:13:04,880 games and stuff like that, then it was going to be worthless. 237 00:13:06,280 --> 00:13:09,120 There had to be some sort of development behind it. 238 00:13:09,180 --> 00:13:12,560 There had to be some sort of ability to experience it. 239 00:13:12,560 --> 00:13:14,540 I had to expand it and add the stuff that I needed to do. 240 00:13:15,220 --> 00:13:22,860 Well, Cydia is actually a port of the Debian app and it has 30 plus repositories and it's 241 00:13:22,860 --> 00:13:27,600 got hundreds if not a thousand at least different applications that you can put on there. 242 00:13:28,640 --> 00:13:35,020 For those that will try to duck out during the conclusion, I put a list of all the applications 243 00:13:35,020 --> 00:13:37,900 that I have on the second to last slide, so you guys got to hang around. 244 00:13:40,260 --> 00:13:42,540 We'll talk about those just a little bit later. 245 00:13:42,540 --> 00:13:46,200 We'll talk about some of those as a subset. 246 00:13:47,640 --> 00:13:54,460 There are a few applications that are useful from the Apple iStore, so don't hesitate to 247 00:13:54,460 --> 00:13:58,120 look around there as well for a lot of your applications that you want to put on there. 248 00:14:00,680 --> 00:14:02,880 So I said I need to be able to get applications. 249 00:14:03,240 --> 00:14:05,320 I need a good solid operating system. 250 00:14:06,120 --> 00:14:07,880 I can also develop on this. 251 00:14:08,000 --> 00:14:09,880 I can compile code on this. 252 00:14:09,940 --> 00:14:11,620 In fact, we're going to... 253 00:14:11,620 --> 00:14:12,520 When we do talk about this, we're going to talk about this. 254 00:14:12,540 --> 00:14:15,660 When we talk about some of the different applications, look for a little asterisk. 255 00:14:15,780 --> 00:14:19,680 Those are the ones that I either had to compile or had to just install myself. 256 00:14:20,320 --> 00:14:22,920 And we'll talk about the code signing at that point. 257 00:14:23,360 --> 00:14:31,740 But you have the ability to do the GNU compiler on the iTouch, an iPhone. 258 00:14:32,820 --> 00:14:37,400 It has most of the headers you can actually download from Cydia as well. 259 00:14:37,600 --> 00:14:41,520 The one that I ran into that wasn't there was the Telnet header. 260 00:14:42,820 --> 00:14:47,020 But you can actually get that from Apple itself and download for free. 261 00:14:47,160 --> 00:14:48,440 But that's like three gigs. 262 00:14:48,620 --> 00:14:49,860 It takes a lot longer. 263 00:14:50,220 --> 00:14:55,480 But there is a way to just download the headers and start compiling straight off of the iPhone. 264 00:15:01,320 --> 00:15:05,460 There's also the ability to install some of these different programs, the scripting languages 265 00:15:05,460 --> 00:15:06,660 like Perl and Python. 266 00:15:07,040 --> 00:15:09,640 You can even do Ruby on Rails. 267 00:15:09,940 --> 00:15:12,520 And, of course, there's a Bash shell in there as well. 268 00:15:12,540 --> 00:15:17,920 well. You can load up other shells as well, seashell or whatever. So now from a system 269 00:15:17,920 --> 00:15:23,880 administrator perspective, I've got everything I need together in order to be able to manipulate 270 00:15:23,880 --> 00:15:32,360 this system to actually start hacking. All right. There's some additional network tools that 271 00:15:32,360 --> 00:15:38,500 made it even better. Open SSH, we already kind of talked about that. There's some INET utilities as 272 00:15:38,500 --> 00:15:48,000 well. FTP, it doesn't install rlogin. It allows you to connect using rlogin. Trivial FTP, telnet, 273 00:15:48,580 --> 00:15:53,320 things like that. There's also some network commands. There's ARP, netstat, traceroute, 274 00:15:53,780 --> 00:15:59,540 wget. I mean, you can't complain about that. And here's some other cool ones. At this point, 275 00:15:59,620 --> 00:16:03,800 once you start looking at this, you'll start expanding your mind and seeing what kind of 276 00:16:03,800 --> 00:16:07,940 potentials there is. You can change your MAC address on that. That's pretty cool. 277 00:16:08,500 --> 00:16:14,700 You can also install STunnel on there so you can have your secure tunnels and also TCP dump, 278 00:16:14,880 --> 00:16:26,160 which really becomes a big boon later on. As a usability issue, the iPod is really small. 279 00:16:26,300 --> 00:16:31,080 We all know that. And I got big meat sticks. So when I'm trying to type a lot of that stuff, 280 00:16:31,280 --> 00:16:38,240 my thumbs go all over the place. So this just shows you a picture of the screen. It's only 13 281 00:16:38,500 --> 00:16:44,520 lines and 57 characters across. You can start manipulating it to get the letter smaller. I'm 282 00:16:44,520 --> 00:16:49,220 wearing glasses, so that makes it painful. There's some other things you can do, but 283 00:16:50,120 --> 00:16:56,260 the actual keyboard takes up a lot of the real estate of the device. As you can tell there, 284 00:16:56,360 --> 00:17:00,720 there's not a whole lot. And when it starts spewing out, especially the NMAP stuff, 285 00:17:01,040 --> 00:17:08,400 you just can't keep up. So one of the observations I'm going to make right now is that, 286 00:17:08,500 --> 00:17:15,700 if you're going to do anything with iPod Touch, it's better to do it remotely than to do it 287 00:17:15,700 --> 00:17:23,200 right on the device. From a social engineering perspective, you'll want to use the iPod Touch 288 00:17:23,200 --> 00:17:29,400 directly. We'll talk about that in a minute. People will just assume that you're texting and 289 00:17:29,400 --> 00:17:37,440 that you've got a lot of friends. Now let's talk about actual hacking with iPod Touch. 290 00:17:39,060 --> 00:17:44,880 For those that are here that expect to learn how to hack, it's not going to happen. What I'm going 291 00:17:44,880 --> 00:17:50,760 to do is I'm going to talk at a high level of some of the tools that are available to use 292 00:17:51,300 --> 00:17:58,540 on the touch to do actual hacking. This isn't a class on NMAP or Metasploit. 293 00:17:59,260 --> 00:18:02,220 Saturday, I'm actually looking really forward to the Metasploit track 294 00:18:02,220 --> 00:18:06,320 myself. But we're just going to go over some of the high level stuff. 295 00:18:09,220 --> 00:18:14,540 Okay. Before we get going on that, I want to talk about some of the tools that I uploaded 296 00:18:14,540 --> 00:18:21,740 and some statistics on it. Out of the top 20 tools that's on sectools.org, I got nine of them 297 00:18:21,740 --> 00:18:26,660 installed. Some of those 20 are actually redundant. So it doesn't give you a clear 298 00:18:26,660 --> 00:18:32,540 picture. Basically, a lot of the stuff that you'll want, you can put on there. I installed 299 00:18:32,540 --> 00:18:37,900 John the Ripper. There's a little asterisk. I told you I had to do it myself. Use it as a benchmark 300 00:18:38,500 --> 00:18:48,020 to see how the performance was. Use the MD5. And it turns out with the MacBook Pro, you get 7600 hits at a time. 301 00:18:48,140 --> 00:18:54,400 And the iPod touch is basically quite dramatically less. So as far as a powerhouse, it's not. 302 00:18:55,960 --> 00:19:03,060 But in a lot of cases, when you're doing like a net cat or something like that, you don't really need the power behind it. 303 00:19:03,080 --> 00:19:04,000 You just need the connectivity. 304 00:19:08,500 --> 00:19:15,360 So in the information gathering phase, we've got some tools that are pretty obvious. There's Safari, which is built in. 305 00:19:15,440 --> 00:19:22,400 You also, for the hardcore guys out there that like links, you can actually install links. That stuff gives me a total headache. 306 00:19:22,480 --> 00:19:29,660 So more power to you. Nmap is on there. It was one of the first tools, I think, that was installed or built. 307 00:19:30,340 --> 00:19:37,280 And of course, you can use it during this phase to do some footprinting and some banner grabbing. 308 00:19:38,500 --> 00:19:44,340 We've got telnet net cat that's on there. We can actually use it to verify and enumerate all of our findings previously. 309 00:19:47,100 --> 00:19:51,120 So when we go to vulnerability identification, there's actually a gap. 310 00:19:51,480 --> 00:19:55,380 There's not a whole lot of tools out there that will do this. 311 00:19:55,420 --> 00:19:59,660 Nessus is obviously the first one that comes to mind, but there's also Core Impact. There's a few others. 312 00:20:00,080 --> 00:20:06,540 Well, there's nothing that's been ported, or nothing that's easily ported to the phone. 313 00:20:06,540 --> 00:20:12,600 phone i know that nessus you can set up a client um you know do it all command line and that was 314 00:20:12,600 --> 00:20:17,960 one thing that i was thinking of doing but i i do know that uh from using core impact i could 315 00:20:17,960 --> 00:20:25,660 probably use set up a remote shell and use it to pivot attacks into this is into the network so i 316 00:20:25,660 --> 00:20:29,800 don't think that's too much of a stretch but there's nothing directly on the ipod touch that 317 00:20:29,800 --> 00:20:35,800 you can use now we can get in the argument about vulnerability identification primarily for low 318 00:20:35,800 --> 00:20:40,320 hanging fruit there's a lot of stuff that you can still do you can still obviously grab all your 319 00:20:40,320 --> 00:20:48,960 your code off online and and compile whatever you need to do to do your attacks including fuzzing 320 00:20:48,960 --> 00:20:59,460 and stuff so vulnerability exploitation metasploit has been available for installation on the ipod 321 00:20:59,460 --> 00:21:05,520 touch and phone for almost a year now and basically it's their if i remember right it's 322 00:21:05,520 --> 00:21:05,780 their third generation of the ipod touch and phone and it's been available for almost a year 323 00:21:05,800 --> 00:21:12,380 uh metasploit framework three so you can exploit the code you got exploit code excuse me and you 324 00:21:12,380 --> 00:21:18,140 also get the shell code that you can push onto the system uh one of my favorite tools is scapey that 325 00:21:18,140 --> 00:21:23,480 packet manipulation uh you can do whatever you need to do if you want to get down to the 326 00:21:23,480 --> 00:21:28,840 you know hands-on part of this type of an attack 327 00:21:31,740 --> 00:21:35,720 on web hacking you can install other programs called when it's 328 00:21:35,800 --> 00:21:40,040 called nick doe i used uh it's basically a web server scanner it's going to give you some uh 329 00:21:40,840 --> 00:21:46,660 basically just goes out and looks to see what what it can find on the target but then i also 330 00:21:46,660 --> 00:21:52,580 installed medusa i tried installing hydra hydra was having a real bad problem getting it on there 331 00:21:52,580 --> 00:21:57,460 but medusa seems to work actually very well and it basically will do brute forcing i mentioned at 332 00:21:57,460 --> 00:22:01,520 the web hacking as well but obviously you can do it across a variety of different 333 00:22:03,080 --> 00:22:05,140 protocols as well not just uh 334 00:22:05,800 --> 00:22:12,840 hacking. Here's a cool one. I'm going to take a minute on this one. There's a, recently there's 335 00:22:12,840 --> 00:22:19,880 a guy, I forget, there's, I got the URLs at the end there. Pyrenee is an application that does 336 00:22:19,880 --> 00:22:27,140 ARP spoofing and network sniffer. It also has the ability to filter the traffic at the command line 337 00:22:27,140 --> 00:22:31,780 when you launch this thing to only grab certain data. And in this case, the example is to just 338 00:22:31,780 --> 00:22:38,440 grab the TCP destination port 80. We also have John the Ripper. I'm going to go back to Pyrenee 339 00:22:38,440 --> 00:22:42,760 in a second. We have John the Ripper, which does the password brute force attack, and of course 340 00:22:42,760 --> 00:22:51,500 Medusa again. Now, on the Pyrenee, there was another application that some of you guys are 341 00:22:51,500 --> 00:22:56,440 probably familiar with, dsniff. And that's actually been ported as well over to the iPhone and the 342 00:22:56,440 --> 00:23:00,800 iTouch. And that seems to work pretty well. It's not something I've used. 343 00:23:01,780 --> 00:23:08,620 With any great extent. But, you know, Pyrenee has been working for me. But I know a lot of people 344 00:23:08,620 --> 00:23:12,920 are more comfortable with dsniff. And so you just, you know, basically do your ARP spoofing and then 345 00:23:12,920 --> 00:23:21,500 you start capturing data live, you know, as it flows across. When you want to maintain access 346 00:23:21,500 --> 00:23:25,600 after actually exploiting a system, there's the netcat and then there's OpenSSH. So you can do 347 00:23:25,600 --> 00:23:31,420 your shells or your reverse shells and your shells. The netcat obviously can do additional 348 00:23:31,420 --> 00:23:31,760 things. But it's not going to do a lot of things. So you can do a lot of things. So you can do a lot 349 00:23:31,780 --> 00:23:35,180 of things, too. And we'll talk a little bit about that in an example. Where you can read and write 350 00:23:35,180 --> 00:23:43,660 data across the network. And it also provides the back doors and file transfers. And then the OpenSSH, 351 00:23:43,820 --> 00:23:49,600 which provides reverse shells. Now, here's the biggest problem with iPhone is actually if you turn 352 00:23:49,600 --> 00:23:54,940 off the phone, you're dead. You don't have your SSH connection or any of the other stuff. So in 353 00:23:54,940 --> 00:24:00,280 order to keep your system alive and be able to do all this stuff, you have to keep it turned on. 354 00:24:00,860 --> 00:24:09,540 Now, there's some other cool widgets that you can install as well. And what I use to extend the life 355 00:24:09,540 --> 00:24:17,060 of my battery is since I have to leave it on and the screen is actually on, there's a dimmer. You 356 00:24:17,060 --> 00:24:21,820 can actually dim it all the way down until you can barely see anything. And that will extend the 357 00:24:21,820 --> 00:24:29,580 life of the battery dramatically. So this has been my biggest problem is keeping the processes alive. 358 00:24:29,580 --> 00:24:34,940 And then also trying to do multiple processes. If you're doing things remotely, it's a little bit easier. 359 00:24:36,480 --> 00:24:48,500 But doing it straight from the iPod touch is dramatically more difficult. All right. In this section, I'm 360 00:24:48,500 --> 00:24:53,200 going actually pretty fast here. So I know that there's some other people going to be doing a lot of AV 361 00:24:53,200 --> 00:24:58,120 stuff coming in. So I might try to give them additional time or at least get some questions out here. 362 00:24:59,580 --> 00:25:06,640 Okay. iPod touch as an attack vector. I've got two things I got to prove to you. One is that iPod touch actually works like a 363 00:25:06,640 --> 00:25:17,720 computer. And the other one is that it works better than a computer. When I wrote the original write-up for this talk, I 364 00:25:17,720 --> 00:25:23,700 included that we were going to do some attacks against some real systems. Well, people get nervous when you actually ask them to be 365 00:25:23,700 --> 00:25:29,560 able to put up data at DEF CON on some of their systems. So everything here that we're going to do is going to be 366 00:25:29,580 --> 00:25:43,860 about is hypothetical. Okay. Hypothetical. We got it? That's the mantra. All right. Some of the advantages of the iPod touch is that 367 00:25:43,860 --> 00:25:53,500 it's small, compact, and nobody really has any fear of it. You saw the number of hands that were up here. There's a lot of people 368 00:25:53,500 --> 00:25:59,560 that have the iPhone or the iTouch. I personally like the iTouch because, again, it's a little bit easier to use. It's a little bit more 369 00:25:59,580 --> 00:26:07,320 flexible. It gives me a little bit more flexibility as far as network connectivity. But, you know, you walk into any place, let's just say a 370 00:26:07,320 --> 00:26:12,700 bank. You walk into a bank with a laptop, people start looking at you. You walk into a phone, you can sit there for an hour or so just doing 371 00:26:12,700 --> 00:26:18,440 nothing but twiddling with it, and people are just assuming, like I said, you got a lot of friends, you know, twittering or sending off 372 00:26:18,440 --> 00:26:29,560 messages. Some of the disadvantages are that there's a power issue and that it's only wireless. Specifically, the iPhone Touch has a 373 00:26:29,580 --> 00:26:39,460 little bit more power, but it has, especially the version I have, has no real way to provide connectivity for other systems to connect to it. 374 00:26:39,640 --> 00:26:51,500 And I can't directly power into a local area network. The price itself for the one I, I think the base price is $299 for the iPod Touch, which is 375 00:26:51,500 --> 00:26:59,560 more than I actually paid for my APC, which I've actually used to do some penetration testing with as well. But, so it's a, it can be 376 00:26:59,560 --> 00:27:07,380 considered a little bit more pricey, but the trade-off is the size and, and the, the fact that nobody gives a flip if you're messing with your 377 00:27:07,380 --> 00:27:10,060 phone. So, it's a big difference. 378 00:27:11,520 --> 00:27:19,280 Okay, so the iPod Touch versus the laptop. Like I said, most people just assume that what you have is a phone instead of an attack vector device. 379 00:27:19,860 --> 00:27:29,480 And a lot of people, probably even after this talk, will be totally unaware that you can do anything as far as malicious with a iPhone 380 00:27:32,140 --> 00:27:39,040 Texting is socially acceptable, and it's compact, easy to hide, which really comes into play. And then, of course, there's another application out there 381 00:27:39,420 --> 00:27:46,720 that allows you to hide your applications themselves. So, I've got on my system, you know, like, uh, Cydia and TouchTerm and all those other things. 382 00:27:46,820 --> 00:27:55,400 I can hide those, uh, with a, a specific application. It's called HidePod. Basically, it pretends it's a computer. Okay, I'm docking all you guys that are leaving right now. 383 00:27:55,540 --> 00:27:56,060 So you know. 384 00:27:56,920 --> 00:27:57,440 All right. 385 00:27:59,560 --> 00:28:08,940 So you can actually make it look like your phone is un-jailbroken and, uh, and, uh, people won't be too suspicious if they take a look at it. 386 00:28:10,580 --> 00:28:11,200 All right. 387 00:28:12,100 --> 00:28:14,740 So iPod Touch as an attack vector. 388 00:28:16,300 --> 00:28:20,500 This way, this is the way, or part of the description where it actually works like a computer. 389 00:28:20,960 --> 00:28:22,300 Again, it's all hypothetical. 390 00:28:23,460 --> 00:28:24,540 Got that down. 391 00:28:25,520 --> 00:28:26,040 Okay. 392 00:28:26,160 --> 00:28:29,540 So, we can intercept data specifically with iPods. 393 00:28:29,560 --> 00:28:30,060 It's called HidePod Touch. 394 00:28:30,320 --> 00:28:34,300 Uh, it can provide ARP spoofing and then collect the TCP traffic. 395 00:28:34,680 --> 00:28:41,420 So in this case, I ran Peerney and, uh, I basically created a, a PCAP file called It's Not Caesar's Palace. 396 00:28:43,680 --> 00:28:50,220 Uh, the IP addresses and everything have, haven't been changed for the innocent because this is all innocent anyway, right? 397 00:28:51,200 --> 00:28:51,800 All right. 398 00:28:51,940 --> 00:28:57,480 So, once that data gets stuck on my iPod, I want to be able to transfer it off somewhere. 399 00:28:57,480 --> 00:29:04,680 I don't have the ability to run, uh, Wireshark on iPod Touch, so I have to actually drop it off to another system somewhere. 400 00:29:04,800 --> 00:29:12,740 So I can simply use Netcat to push the Not Caesar's Palace PCAP file onto another system, uh, somewhere in another network. 401 00:29:17,020 --> 00:29:17,420 Okay. 402 00:29:17,780 --> 00:29:21,660 Once I get it there, uh, you know, obviously you can do a lot of things with it. 403 00:29:21,740 --> 00:29:25,680 You can specifically look for, uh, passwords, usernames, and stuff like that. 404 00:29:25,680 --> 00:29:29,180 But there also seems to be a lot of fun stuff that shows up once in a while. 405 00:29:29,300 --> 00:29:33,500 So actually, this is a, a clip from a hypothetical chat. 406 00:29:33,920 --> 00:29:38,720 So, I don't know how many people can read it, but the fewer, probably the better. 407 00:29:41,180 --> 00:29:41,760 All right. 408 00:29:41,800 --> 00:29:50,180 So now we've got the ability, we've got a system in a, an environment that is collecting data and pushing data back. 409 00:29:50,440 --> 00:29:55,400 Well, we can also set up a reverse shell so we can have access to that system at any time. 410 00:29:55,680 --> 00:29:57,220 So throw up another Netcat. 411 00:29:57,340 --> 00:29:58,400 I'm a big fan of Netcat. 412 00:29:58,460 --> 00:30:02,120 I wrote a chapter for Netcat called, uh, The Dark Side of Netcat. 413 00:30:02,240 --> 00:30:04,160 So I'm kind of, kind of like it. 414 00:30:04,200 --> 00:30:04,940 Like it a lot. 415 00:30:05,540 --> 00:30:07,760 Um, really old school, but still a lot of fun. 416 00:30:07,820 --> 00:30:12,340 And, uh, you know, I don't care about the, there's an argument about, well, it's not encrypted. 417 00:30:12,400 --> 00:30:13,460 You know, you're pushing data across. 418 00:30:13,580 --> 00:30:14,820 Well, they didn't encrypt it in the first place. 419 00:30:14,880 --> 00:30:15,880 I'm pulling off port 80. 420 00:30:15,980 --> 00:30:18,000 So if, if they don't care, I don't care. 421 00:30:18,560 --> 00:30:18,920 So. 422 00:30:19,860 --> 00:30:22,240 So, uh, so I'm pushing the, the Netcat. 423 00:30:22,340 --> 00:30:25,520 And I'm, I'm basically allowing it to, uh, do a reverse shell. 424 00:30:25,680 --> 00:30:27,820 So as soon as it connects back to my system. 425 00:30:28,040 --> 00:30:31,760 And of course you can script all of this stuff to do it on the hour or stuff like that. 426 00:30:32,020 --> 00:30:35,500 Um, so you can just basically be hands off. 427 00:30:35,560 --> 00:30:38,040 You can really have it in a remote site. 428 00:30:39,020 --> 00:30:42,200 And be somewhere else and still have access to it on a regular basis. 429 00:30:42,300 --> 00:30:43,720 As long as the power doesn't die. 430 00:30:45,720 --> 00:30:46,160 Okay. 431 00:30:48,640 --> 00:30:51,640 Now, why does it work better than a computer? 432 00:30:52,400 --> 00:30:53,220 Well, stealth. 433 00:30:53,420 --> 00:30:54,600 That's really the big thing. 434 00:30:55,680 --> 00:30:57,520 I mean, when you start thinking about it. 435 00:30:58,300 --> 00:31:00,400 These, these things are really teeny tiny. 436 00:31:00,620 --> 00:31:01,580 I mean, they can go in drawers. 437 00:31:01,760 --> 00:31:03,000 They can go behind coffee machines. 438 00:31:03,180 --> 00:31:04,100 They can go all this other stuff. 439 00:31:04,260 --> 00:31:06,720 But my favorite is duct tape. 440 00:31:08,100 --> 00:31:08,540 The. 441 00:31:09,260 --> 00:31:10,860 Try to go a little low tech, right? 442 00:31:11,080 --> 00:31:13,060 So, I found out though. 443 00:31:13,320 --> 00:31:17,500 That you don't want to actually use duct tape on the iPod. 444 00:31:18,160 --> 00:31:18,600 Because. 445 00:31:19,120 --> 00:31:21,920 That glue sticks for a very long time. 446 00:31:22,700 --> 00:31:23,660 So I found out. 447 00:31:23,680 --> 00:31:25,240 You just use those little baggies. 448 00:31:25,680 --> 00:31:26,460 Throw it in a baggie. 449 00:31:26,500 --> 00:31:27,040 Zip it up. 450 00:31:27,140 --> 00:31:28,280 And then tape that to the wall. 451 00:31:28,560 --> 00:31:29,220 Or whatever. 452 00:31:29,520 --> 00:31:29,900 Now. 453 00:31:30,280 --> 00:31:31,620 What can we do with the duct tape? 454 00:31:31,760 --> 00:31:33,220 We can surface mount the thing. 455 00:31:35,680 --> 00:31:38,760 My favorite location is actually behind pictures. 456 00:31:39,380 --> 00:31:41,840 So, I mean, nobody ever looks there. 457 00:31:42,700 --> 00:31:44,840 You can do it underneath the table as well. 458 00:31:44,980 --> 00:31:46,020 In the conference room. 459 00:31:46,140 --> 00:31:47,140 Or something along those lines. 460 00:31:47,400 --> 00:31:49,560 And if I don't say it. 461 00:31:49,580 --> 00:31:50,060 Remind me. 462 00:31:50,060 --> 00:31:53,520 I want to talk about the difference between the iPhone and the iTouch. 463 00:31:53,660 --> 00:31:54,840 That there's some additional vectors. 464 00:31:55,040 --> 00:31:56,280 That you can use with that. 465 00:31:56,460 --> 00:31:57,940 But just keep going here. 466 00:31:58,260 --> 00:31:59,780 So what else can you do with the duct tape? 467 00:31:59,900 --> 00:32:00,800 Besides surface mount. 468 00:32:01,040 --> 00:32:03,060 We can hide things that you don't want others to see. 469 00:32:09,260 --> 00:32:10,260 Plus you can also. 470 00:32:11,000 --> 00:32:12,080 It will stick to anything. 471 00:32:13,060 --> 00:32:15,360 Now I know a lot of you guys are still catching up on your notes. 472 00:32:15,420 --> 00:32:17,060 So I'm going to actually leave this up for a minute. 473 00:32:17,060 --> 00:32:18,100 Because I don't have a picture. 474 00:32:18,160 --> 00:32:22,320 Of actually duct taping the iPod to the wall. 475 00:32:22,480 --> 00:32:23,500 Or behind the picture frame. 476 00:32:23,760 --> 00:32:24,380 But I mean. 477 00:32:24,400 --> 00:32:26,940 Start thinking about some of the things that you can do. 478 00:32:27,720 --> 00:32:28,020 I mean. 479 00:32:28,340 --> 00:32:29,640 It can go anywhere. 480 00:32:29,940 --> 00:32:30,500 Like I said. 481 00:32:30,520 --> 00:32:31,380 Behind desks. 482 00:32:31,940 --> 00:32:32,820 Behind computers. 483 00:32:33,260 --> 00:32:34,380 It doesn't really matter. 484 00:32:34,560 --> 00:32:38,180 The primary thing you're going to want is a power source. 485 00:32:38,540 --> 00:32:40,640 And we'll talk about that here in just a second. 486 00:32:40,980 --> 00:32:43,060 So everybody got caught up on the notes? 487 00:32:43,200 --> 00:32:44,600 Or do I need to leave up a little bit longer? 488 00:32:47,060 --> 00:32:47,220 Okay. 489 00:32:48,700 --> 00:32:49,480 By the way. 490 00:32:49,860 --> 00:32:51,780 My wife hasn't seen that slide yet. 491 00:32:51,940 --> 00:32:54,440 So if I don't make it to the Q&A. 492 00:32:54,620 --> 00:32:55,900 You'll know why. 493 00:32:56,500 --> 00:32:59,040 And I also suspect that I'm going to have a. 494 00:32:59,280 --> 00:33:00,520 Q&A for her. 495 00:33:00,680 --> 00:33:02,520 For each of my slides later on too. 496 00:33:03,860 --> 00:33:04,740 Independent from. 497 00:33:04,820 --> 00:33:06,140 What you guys are going to be dealing with. 498 00:33:06,580 --> 00:33:07,020 Alright. 499 00:33:07,780 --> 00:33:10,120 Here's a better idea than duct tape. 500 00:33:10,500 --> 00:33:11,860 After messing with that. 501 00:33:12,260 --> 00:33:13,460 For long enough. 502 00:33:13,500 --> 00:33:14,580 I decided to. 503 00:33:17,280 --> 00:33:18,220 Because I'm lazy. 504 00:33:18,360 --> 00:33:20,180 And I hate messing with duct tape. 505 00:33:20,320 --> 00:33:21,620 And this was kind of convenient. 506 00:33:22,000 --> 00:33:23,600 Now what we have here. 507 00:33:24,320 --> 00:33:26,700 Is we have basically less than $10. 508 00:33:27,040 --> 00:33:28,280 I take that back. 509 00:33:28,460 --> 00:33:30,340 The box that you see up here. 510 00:33:30,560 --> 00:33:32,880 And the thing that's laying on top of the iPod. 511 00:33:32,880 --> 00:33:34,220 That was less than $5. 512 00:33:34,220 --> 00:33:36,480 With the plate that's on it. 513 00:33:36,560 --> 00:33:38,460 And then I bought a USB. 514 00:33:38,920 --> 00:33:39,740 Power supply. 515 00:33:40,460 --> 00:33:42,260 For my iPod. 516 00:33:42,920 --> 00:33:44,900 And basically the idea was. 517 00:33:44,900 --> 00:33:47,160 Is I should be able to conceal this thing. 518 00:33:47,300 --> 00:33:49,300 And just put it wherever I want to. 519 00:33:50,000 --> 00:33:51,400 Because it's got an outlet. 520 00:33:51,620 --> 00:33:53,360 And because it's plugged into the iPod. 521 00:33:53,460 --> 00:33:55,100 I can just find an outlet. 522 00:33:55,240 --> 00:33:56,240 And put it on there. 523 00:33:56,400 --> 00:33:58,580 And most people will not even mess with it. 524 00:33:58,620 --> 00:34:00,760 Because it's a covered outlet plate. 525 00:34:01,540 --> 00:34:02,980 Something you won't see in here. 526 00:34:03,220 --> 00:34:04,720 Is if you look. 527 00:34:04,940 --> 00:34:06,540 You can't see it thank goodness. 528 00:34:06,660 --> 00:34:08,580 Is the USB power supply. 529 00:34:10,000 --> 00:34:11,080 Well it didn't fit. 530 00:34:11,240 --> 00:34:11,680 Perfect. 531 00:34:12,220 --> 00:34:13,820 So I started sanding it. 532 00:34:14,900 --> 00:34:15,620 And I basically stopped. 533 00:34:15,720 --> 00:34:17,080 When I could see most of the wires. 534 00:34:17,320 --> 00:34:19,280 I don't know if that's a fire hazard or not. 535 00:34:19,460 --> 00:34:22,040 But it hasn't gone up in flames yet. 536 00:34:22,280 --> 00:34:22,680 And so. 537 00:34:23,460 --> 00:34:23,900 Alright. 538 00:34:25,580 --> 00:34:27,100 Here is a picture of it. 539 00:34:27,120 --> 00:34:29,620 Actually attached to a wall. 540 00:34:30,500 --> 00:34:30,940 Now. 541 00:34:31,600 --> 00:34:33,640 You see this stuff all over the place. 542 00:34:33,820 --> 00:34:34,800 Now what I've done. 543 00:34:35,060 --> 00:34:37,000 Is I have my iPod touch in there. 544 00:34:37,340 --> 00:34:38,500 I have it powered. 545 00:34:38,760 --> 00:34:40,040 So it will not die. 546 00:34:40,600 --> 00:34:42,640 I plug it on to the wall. 547 00:34:44,900 --> 00:34:46,500 I set up a script to do a reverse shell. 548 00:34:46,920 --> 00:34:47,780 Every hour. 549 00:34:47,900 --> 00:34:48,600 To my system. 550 00:34:49,060 --> 00:34:50,820 And I just start hacking away. 551 00:34:51,100 --> 00:34:53,380 It has to auto connect to a network. 552 00:34:54,200 --> 00:34:54,760 That's a problem. 553 00:34:55,180 --> 00:34:56,460 If I don't get a network. 554 00:34:56,740 --> 00:34:58,000 We already talked about that. 555 00:34:58,160 --> 00:34:59,660 Then I might be hosed. 556 00:35:00,100 --> 00:35:02,660 But if you think about it. 557 00:35:02,740 --> 00:35:04,820 There's a lot of wireless access around there. 558 00:35:05,020 --> 00:35:06,140 And if you can't pick up one. 559 00:35:06,300 --> 00:35:07,680 You might be able to pick up something else. 560 00:35:09,180 --> 00:35:10,840 The other problem that I encounter. 561 00:35:10,840 --> 00:35:11,620 Is that. 562 00:35:12,800 --> 00:35:14,220 In an organization. 563 00:35:14,300 --> 00:35:15,580 Their wireless network. 564 00:35:15,820 --> 00:35:18,740 Often doesn't connect directly with their internal network. 565 00:35:19,040 --> 00:35:20,600 So that's a problem as well. 566 00:35:20,700 --> 00:35:21,880 But at least I'm in the facility. 567 00:35:22,580 --> 00:35:24,660 Being able to communicate with the device. 568 00:35:24,780 --> 00:35:26,580 That is secured up against the wall. 569 00:35:27,720 --> 00:35:28,240 Now. 570 00:35:28,840 --> 00:35:31,120 I find that's true in the larger. 571 00:35:32,120 --> 00:35:33,160 Monolithic organizations. 572 00:35:33,560 --> 00:35:34,360 And the smaller ones. 573 00:35:35,000 --> 00:35:35,860 That's not true. 574 00:35:35,960 --> 00:35:38,220 You can pretty much connect straight to their wireless. 575 00:35:38,460 --> 00:35:39,780 And be in their internal network. 576 00:35:42,100 --> 00:35:42,460 Okay. 577 00:35:42,800 --> 00:35:44,840 So that's why it works better than a laptop. 578 00:35:45,920 --> 00:35:47,540 I've got quite a few more minutes here. 579 00:35:47,680 --> 00:35:49,180 So I'm still doing good. 580 00:35:49,580 --> 00:35:50,940 I'm going to give some personal thoughts. 581 00:35:51,040 --> 00:35:52,080 I'm going to expand a little bit. 582 00:35:52,460 --> 00:35:53,700 I want to do some shout outs. 583 00:35:53,700 --> 00:35:54,840 I'm going to get a reminder. 584 00:35:54,980 --> 00:35:56,020 And I'm going to do a list of tools. 585 00:35:56,080 --> 00:35:57,740 So you two people that are leaving right now. 586 00:35:57,800 --> 00:35:58,920 There's just another couple points off. 587 00:35:59,540 --> 00:35:59,980 All right. 588 00:36:00,020 --> 00:36:00,300 Remember. 589 00:36:00,820 --> 00:36:02,620 There's good stuff all the way to the very end. 590 00:36:04,900 --> 00:36:07,300 Is the iPod touch a worthwhile hacking platform? 591 00:36:10,840 --> 00:36:11,980 iPod touch versus iPhone. 592 00:36:12,320 --> 00:36:13,240 And what does the future hold? 593 00:36:14,380 --> 00:36:15,140 Let's go back. 594 00:36:15,300 --> 00:36:15,660 Okay. 595 00:36:16,660 --> 00:36:17,660 Worthwhile hacking platform. 596 00:36:17,940 --> 00:36:18,260 Absolutely. 597 00:36:18,520 --> 00:36:21,080 I think that the biggest problem though. 598 00:36:21,180 --> 00:36:23,400 Is that there is no support. 599 00:36:24,200 --> 00:36:25,720 Obviously Apple is not going to say. 600 00:36:25,780 --> 00:36:26,680 Yeah you jail broke your phone. 601 00:36:26,820 --> 00:36:28,160 Here's some patches for you. 602 00:36:28,260 --> 00:36:31,180 To buff up your distribution. 603 00:36:31,260 --> 00:36:32,720 That you decided to hack up yourself. 604 00:36:34,180 --> 00:36:36,780 So from an industrial side. 605 00:36:36,780 --> 00:36:38,040 From a professional side. 606 00:36:38,200 --> 00:36:40,740 Where I actually get paid to use these tools. 607 00:36:41,140 --> 00:36:42,420 I can't use this. 608 00:36:42,460 --> 00:36:44,160 I don't have the support behind me. 609 00:36:44,260 --> 00:36:46,020 In order to be able to apply this. 610 00:36:47,000 --> 00:36:49,120 Obviously it will catch a lot of traffic. 611 00:36:49,180 --> 00:36:50,320 Of customers that. 612 00:36:50,760 --> 00:36:51,500 Sensitive data. 613 00:36:51,760 --> 00:36:53,880 And we want to make sure that we're using something really tight. 614 00:36:54,160 --> 00:36:55,360 For a hacker perspective. 615 00:36:55,880 --> 00:36:56,500 It's awesome. 616 00:36:56,880 --> 00:36:59,440 I mean there's no reason why not to use this. 617 00:37:00,040 --> 00:37:00,500 Okay. 618 00:37:00,520 --> 00:37:01,120 What could be better? 619 00:37:01,900 --> 00:37:03,160 There's a few things. 620 00:37:03,560 --> 00:37:04,080 Obviously. 621 00:37:05,180 --> 00:37:06,520 It would be nicer. 622 00:37:06,560 --> 00:37:07,420 If there was. 623 00:37:08,900 --> 00:37:11,440 The ability to actually connect to a local network. 624 00:37:11,740 --> 00:37:13,020 And I'm hoping that. 625 00:37:13,080 --> 00:37:15,040 There's been talk about being able to. 626 00:37:15,160 --> 00:37:16,300 Do that directly. 627 00:37:17,180 --> 00:37:18,840 Using your USB. 628 00:37:19,080 --> 00:37:20,500 Or using another jack. 629 00:37:20,660 --> 00:37:21,420 Or something like that. 630 00:37:21,580 --> 00:37:23,540 But we'll see how all that plays out. 631 00:37:23,620 --> 00:37:25,120 Right now like I said. 632 00:37:26,140 --> 00:37:27,920 It provides some complexity. 633 00:37:28,400 --> 00:37:30,480 Simply because everything you have to do. 634 00:37:31,120 --> 00:37:31,720 Is connected to your wireless network. 635 00:37:32,660 --> 00:37:34,140 iPod touch versus the iPhone. 636 00:37:35,920 --> 00:37:37,120 The iPod. 637 00:37:37,180 --> 00:37:38,080 The iPhone. 638 00:37:38,440 --> 00:37:39,980 Is an interesting device. 639 00:37:40,300 --> 00:37:43,160 Where it includes the ability to record audio. 640 00:37:43,660 --> 00:37:44,940 And record video. 641 00:37:45,220 --> 00:37:47,160 The newest editions of the phones. 642 00:37:47,280 --> 00:37:48,700 Have the ability to do the video. 643 00:37:48,840 --> 00:37:49,520 But there's been. 644 00:37:50,000 --> 00:37:51,000 A distribution. 645 00:37:51,560 --> 00:37:53,080 For many months. 646 00:37:53,380 --> 00:37:54,920 Where you can actually do video. 647 00:37:55,340 --> 00:37:57,400 Using the older generation iPhone. 648 00:37:59,000 --> 00:38:00,580 There was a recent. 649 00:38:01,120 --> 00:38:02,760 Event where discussion I guess. 650 00:38:02,820 --> 00:38:04,360 Where some people were talking about. 651 00:38:06,260 --> 00:38:06,860 Shoulder surfing. 652 00:38:06,960 --> 00:38:08,440 Is no longer a threat. 653 00:38:08,640 --> 00:38:09,840 Or a minor threat. 654 00:38:11,520 --> 00:38:12,660 But this basically. 655 00:38:12,700 --> 00:38:14,100 Would allow people to. 656 00:38:15,380 --> 00:38:15,940 Shoulder surf. 657 00:38:16,540 --> 00:38:17,800 A lot easier than. 658 00:38:18,500 --> 00:38:19,500 What we're doing now. 659 00:38:19,640 --> 00:38:21,300 I mean I see people type. 660 00:38:21,800 --> 00:38:23,460 It's hard to keep track of what they're doing. 661 00:38:23,580 --> 00:38:25,100 But it would be nice to be able to record that. 662 00:38:25,180 --> 00:38:25,780 And go back later. 663 00:38:26,300 --> 00:38:27,440 One of the other features. 664 00:38:31,120 --> 00:38:31,360 Is that you don't owe nothing. 665 00:38:31,680 --> 00:38:33,020 So you have a device. 666 00:38:33,040 --> 00:38:34,840 That you're playing with. 667 00:38:35,400 --> 00:38:36,280 Messing around with. 668 00:38:36,500 --> 00:38:38,780 And you're able to record anything and everything. 669 00:38:38,920 --> 00:38:40,580 That's going on in that room at the same time. 670 00:38:40,980 --> 00:38:42,060 Now the other thing is. 671 00:38:42,160 --> 00:38:43,560 That there's the audio part too. 672 00:38:44,380 --> 00:38:46,720 A hacker or anybody can record conversations. 673 00:38:47,060 --> 00:38:48,600 All they need to do is a little bit of duct tape. 674 00:38:49,440 --> 00:38:51,280 And slap it up underneath a table. 675 00:38:51,360 --> 00:38:51,940 And start recording. 676 00:38:52,420 --> 00:38:54,760 In Colorado the law is that one person. 677 00:38:55,120 --> 00:38:56,180 That's part of the conversation. 678 00:38:56,440 --> 00:38:58,760 Has to know that the recording is being made. 679 00:39:01,120 --> 00:39:01,620 So you think they care. 680 00:39:02,920 --> 00:39:04,420 So the iPhone itself. 681 00:39:04,460 --> 00:39:05,760 Has some additional features. 682 00:39:06,060 --> 00:39:08,020 That I would love to be able to take advantage of. 683 00:39:08,080 --> 00:39:10,720 Using the iPod touch as well. 684 00:39:11,600 --> 00:39:13,480 And there's also rumor about that. 685 00:39:13,640 --> 00:39:15,380 So we'll see how all that comes around. 686 00:39:15,680 --> 00:39:16,780 So what does the future hold? 687 00:39:16,920 --> 00:39:19,520 I think that these types of devices. 688 00:39:19,700 --> 00:39:22,500 Are going to be widely accepted. 689 00:39:22,740 --> 00:39:23,420 I mean obviously. 690 00:39:23,680 --> 00:39:24,860 There's a lot of people in this room. 691 00:39:24,960 --> 00:39:28,060 That are ecstatic about the ability to use this. 692 00:39:29,240 --> 00:39:30,800 Oh I forgot to talk about code signing. 693 00:39:30,880 --> 00:39:31,100 I'll bring that up. 694 00:39:31,120 --> 00:39:32,140 I'll touch on that later. 695 00:39:32,320 --> 00:39:34,720 Anyway catch me at the Q&A. 696 00:39:34,800 --> 00:39:35,740 We'll talk about code signing. 697 00:39:35,880 --> 00:39:38,780 The future holds is that. 698 00:39:39,220 --> 00:39:40,960 These things are going to become prevalent. 699 00:39:41,340 --> 00:39:42,880 And eventually we're going to see. 700 00:39:43,000 --> 00:39:44,140 The same kind of functionality. 701 00:39:44,260 --> 00:39:46,560 All the way down to much smaller phones like this. 702 00:39:46,820 --> 00:39:49,000 And so all anybody has to do is forget it. 703 00:39:49,520 --> 00:39:50,300 Gets picked up. 704 00:39:50,320 --> 00:39:51,280 Turned into lost and found. 705 00:39:51,500 --> 00:39:54,100 And then it'll be sitting there collecting data. 706 00:39:54,220 --> 00:39:54,900 For who knows how long. 707 00:39:55,120 --> 00:39:57,480 So it's going to get cooler. 708 00:39:58,220 --> 00:39:59,440 Is what I'm saying. 709 00:40:01,120 --> 00:40:01,400 Shout outs. 710 00:40:02,860 --> 00:40:03,820 The DC303. 711 00:40:03,920 --> 00:40:05,440 Those guys are an intense group. 712 00:40:06,720 --> 00:40:08,620 I haven't given them enough credit. 713 00:40:08,740 --> 00:40:10,080 But I've learned quite a bit from them. 714 00:40:11,260 --> 00:40:12,220 They're primarily. 715 00:40:13,140 --> 00:40:14,580 The Capture the Flag group. 716 00:40:14,640 --> 00:40:15,740 Is outstanding. 717 00:40:16,120 --> 00:40:18,340 There's also Colorado Tech Security Club. 718 00:40:18,400 --> 00:40:19,340 People here as well. 719 00:40:19,700 --> 00:40:21,280 And of course my family. 720 00:40:21,380 --> 00:40:23,060 I've got my wife and my daughter here. 721 00:40:23,520 --> 00:40:25,560 My daughter is nine years old. 722 00:40:25,760 --> 00:40:27,960 So we're trying to teach her to hack early. 723 00:40:28,520 --> 00:40:29,200 Then later. 724 00:40:31,120 --> 00:40:31,240 Thank you. 725 00:40:35,300 --> 00:40:38,120 We picked up her first set of lock pick tools today. 726 00:40:38,360 --> 00:40:38,520 So. 727 00:40:41,640 --> 00:40:44,020 We're still wondering about the hardware hacking. 728 00:40:44,160 --> 00:40:46,340 And whether or not those fumes can really do brain damage. 729 00:40:46,500 --> 00:40:47,620 But we'll figure that out later. 730 00:40:48,100 --> 00:40:48,700 And then. 731 00:40:49,140 --> 00:40:50,740 Let's talk about some links. 732 00:40:51,060 --> 00:40:52,880 If you guys are interested. 733 00:40:53,040 --> 00:40:53,960 I'm going to post these slides. 734 00:40:54,040 --> 00:40:56,100 They're a little bit different than what's on the disc. 735 00:40:56,540 --> 00:40:58,460 If you go to forums.herit.net. 736 00:40:58,640 --> 00:40:59,760 You can get them. 737 00:41:01,120 --> 00:41:02,900 You'll be able to get them by the end of this weekend. 738 00:41:03,420 --> 00:41:05,040 Quick Pwn is one of the. 739 00:41:06,800 --> 00:41:07,280 Outstanding. 740 00:41:08,860 --> 00:41:09,340 Applications. 741 00:41:09,340 --> 00:41:10,340 That you can use to. 742 00:41:10,480 --> 00:41:12,680 Crack your iPod or iTouch. 743 00:41:12,960 --> 00:41:13,440 Cydia. 744 00:41:14,660 --> 00:41:16,500 The guy who developed Cydia. 745 00:41:16,820 --> 00:41:17,380 Is there. 746 00:41:17,580 --> 00:41:19,240 And of course developer.apple.com. 747 00:41:19,340 --> 00:41:21,520 I definitely wouldn't want to exclude them. 748 00:41:21,760 --> 00:41:24,000 There's a lot you can do with iPhone. 749 00:41:24,680 --> 00:41:26,980 Even within the legal. 750 00:41:28,180 --> 00:41:28,660 Boundaries. 751 00:41:28,680 --> 00:41:29,660 That they lay out. 752 00:41:31,120 --> 00:41:31,860 General reminder. 753 00:41:32,220 --> 00:41:32,660 Beer. 754 00:41:33,140 --> 00:41:33,580 Good. 755 00:41:34,860 --> 00:41:36,520 And then here's a list of the tools. 756 00:41:36,560 --> 00:41:38,540 That I was able to get on there. 757 00:41:38,720 --> 00:41:40,140 Some of them that are interesting. 758 00:41:43,000 --> 00:41:43,600 Let's see. 759 00:41:44,300 --> 00:41:44,740 Well. 760 00:41:45,040 --> 00:41:46,540 I'll just leave this up a little bit. 761 00:41:48,500 --> 00:41:48,940 Basically. 762 00:41:49,220 --> 00:41:50,700 Anything you want to talk about. 763 00:41:50,920 --> 00:41:52,740 Or want on a Unix machine. 764 00:41:52,940 --> 00:41:54,140 You can pretty much get it installed. 765 00:41:54,500 --> 00:41:55,540 And like I said. 766 00:41:55,540 --> 00:41:56,200 These are. 767 00:41:56,400 --> 00:41:57,300 That list up there. 768 00:41:57,360 --> 00:41:59,140 Is primarily those that are available. 769 00:41:59,500 --> 00:42:01,700 To download automatically through Cydia. 770 00:42:02,320 --> 00:42:02,940 Click it. 771 00:42:03,000 --> 00:42:03,700 It's installed. 772 00:42:03,880 --> 00:42:04,920 There's no hassle. 773 00:42:05,220 --> 00:42:06,220 No fret. 774 00:42:06,320 --> 00:42:06,620 No worry. 775 00:42:06,760 --> 00:42:08,300 It also does updates too. 776 00:42:08,460 --> 00:42:09,960 So when they do an update to the repository. 777 00:42:10,420 --> 00:42:11,400 You get notification. 778 00:42:11,720 --> 00:42:12,500 You can update it. 779 00:42:13,020 --> 00:42:13,640 All right. 780 00:42:13,640 --> 00:42:14,200 And then. 781 00:42:15,260 --> 00:42:15,980 There's also. 782 00:42:16,120 --> 00:42:16,800 Like I said. 783 00:42:16,820 --> 00:42:17,960 I installed John the Ripper. 784 00:42:18,500 --> 00:42:19,300 Scappy Medusa. 785 00:42:19,600 --> 00:42:20,000 Now. 786 00:42:20,560 --> 00:42:22,180 I would like to thank you for attending. 787 00:42:23,080 --> 00:42:24,740 We're going to have a Q&A session afterwards. 788 00:42:25,040 --> 00:42:25,940 And we'll have punch and pie. 789 00:42:26,580 --> 00:42:27,920 So thank you very much.