1 00:00:00,000 --> 00:00:03,940 My name is Tony Martin. I'm a security architect. I also do some research on the side. 2 00:00:04,540 --> 00:00:08,840 When I get bored, things tend to get broken. You can ask my wife. She's sitting right over there. 3 00:00:10,000 --> 00:00:14,520 And here's a shameless self-promotion about myself. 4 00:00:15,160 --> 00:00:17,420 If you want to take a look at my background. 5 00:00:18,160 --> 00:00:21,600 So, one day I was sitting at home and I was kind of bored. 6 00:00:21,680 --> 00:00:24,920 And well, things tend to get broken. I had this brand new device. 7 00:00:25,900 --> 00:00:27,020 This QNAP device. 8 00:00:27,020 --> 00:00:30,540 And my home has. And I started poking around at it. 9 00:00:30,620 --> 00:00:32,780 I was like, take a look at it. And I'm playing with it. 10 00:00:32,880 --> 00:00:36,580 And the great thing about these devices is their functionality is expanding. 11 00:00:36,800 --> 00:00:40,520 They're no longer just backing up your data or providing a network share. 12 00:00:41,180 --> 00:00:44,460 They are now serving your content, your entire network. 13 00:00:44,580 --> 00:00:48,100 They have syslog servers. They can do email. They can do all kinds of things. 14 00:00:48,900 --> 00:00:52,300 So, I started taking a look at it. I was playing with cross-site scripting. 15 00:00:52,340 --> 00:00:56,860 So, I wanted to see if I could find some sort of a field in there that if I played with it, 16 00:00:56,860 --> 00:00:58,020 I could get immediate feedback. 17 00:00:58,680 --> 00:01:01,080 So, here you see the admin. There was a blank description. 18 00:01:01,420 --> 00:01:03,080 So, if I go in and I edit the admin. 19 00:01:03,760 --> 00:01:08,300 And I can edit the descriptions here. It says testing. And you'll see testing show up. 20 00:01:08,800 --> 00:01:09,920 So, really, really quick. 21 00:01:10,500 --> 00:01:14,300 Cross-site scripting. What happens here is an attacker just sends a string. 22 00:01:15,100 --> 00:01:18,640 The server stores a string. It's just a string of characters to the server. 23 00:01:18,740 --> 00:01:21,340 And the server will deliver that out to the client. 24 00:01:21,600 --> 00:01:25,500 When the client web browser gets it, it will then take that string. 25 00:01:25,600 --> 00:01:26,840 And that's when the bad thing happens. 26 00:01:26,840 --> 00:01:28,220 It will execute it. 27 00:01:30,100 --> 00:01:34,880 So, I wanted to take a look here and put it into the description field and put it into an alert. 28 00:01:35,080 --> 00:01:38,120 Alert with this. And this is the classic attack string. 29 00:01:38,340 --> 00:01:42,180 You put this in. And what I was expecting was, is if there was a cross-site scripting, 30 00:01:42,180 --> 00:01:44,760 is you would see this little pop-up window come up with a 1. 31 00:01:45,420 --> 00:01:48,060 But this is what happened. Nothing showed up. 32 00:01:48,260 --> 00:01:49,800 It filtered it out. And I said, oh. 33 00:01:51,620 --> 00:01:56,820 And so, what this told me was, is what they're doing is a form, a very, very bad way of trying to be 34 00:01:56,840 --> 00:01:58,900 to make cross-site scripting is called blacklisting. 35 00:01:59,080 --> 00:02:02,060 They're attempting to filter out all the bad data. 36 00:02:02,220 --> 00:02:07,140 But there are so many variable combinations, you really can't do this approach successfully. 37 00:02:07,840 --> 00:02:10,920 So, I tried putting in this. I tried different types of things. 38 00:02:10,980 --> 00:02:13,260 I wanted to map out what their blacklists looked like. 39 00:02:13,460 --> 00:02:16,300 And so, I put in this into the iframe to the admin account. 40 00:02:16,480 --> 00:02:19,520 And this was a bad thing because, well, it locked up my device. 41 00:02:19,680 --> 00:02:23,640 It tried to render and he saw loading data. And my device completely locked up. 42 00:02:23,720 --> 00:02:26,820 And I couldn't go back in to delete this cross-site scripting script. 43 00:02:26,840 --> 00:02:30,620 So, I had to reset my device at this point, back to default. 44 00:02:31,240 --> 00:02:33,780 Thankfully, the data stored on the, oh, there we go. 45 00:02:33,820 --> 00:02:35,320 Got some quiet going for now. 46 00:02:35,680 --> 00:02:38,120 Thankfully, the data on the devices was still set. 47 00:02:38,680 --> 00:02:41,500 But, so, what I did is I created a temporary user. 48 00:02:41,680 --> 00:02:43,040 I was able to play with that. 49 00:02:43,180 --> 00:02:47,220 And I could delete that temporary user if things blew up in that cross-site scripting. 50 00:02:48,140 --> 00:02:52,820 One of the favorite tools that I really, really like to use when I was playing with this was Firebug. 51 00:02:53,240 --> 00:02:56,760 And what it allows you to do is you can see this test user here. 52 00:02:56,840 --> 00:02:58,560 And I have some sort of an iframe. 53 00:02:58,720 --> 00:03:05,300 And what it wants me to do is when I enter in this JavaScript source, I can take a look at what it did for the rendering. 54 00:03:05,720 --> 00:03:09,440 So, I can click on that field and it'll show me what is the rendering in the HTML. 55 00:03:10,660 --> 00:03:15,100 I want to touch in really quickly on how you're supposed to properly mitigate cross-site scripting. 56 00:03:15,200 --> 00:03:21,140 So, when you saw in that script, it uses a lot of the tags for the brackets for the script tagging for JavaScript and whatnot. 57 00:03:21,660 --> 00:03:26,820 So, to do that, what you need to do is you need, you're supposed to, as you're outputting from the server, 58 00:03:26,840 --> 00:03:33,760 sending to the client, you're supposed to output sanitize various characters so that they won't be rendered by the browser, 59 00:03:33,820 --> 00:03:37,640 but the browser will see them and just display them as the characters they're supposed to. 60 00:03:38,600 --> 00:03:40,360 And take a look at OWASP. 61 00:03:40,480 --> 00:03:46,640 These are the list of the various types of characters you're supposed to work in, including all whitespace and even Unicode characters. 62 00:03:46,900 --> 00:03:48,060 You've got to be really, really careful. 63 00:03:48,240 --> 00:03:50,100 There's really good packages to handle this. 64 00:03:50,200 --> 00:03:55,860 You've got to be careful that you get it right in the right context also, whether it's going into HTML data, 65 00:03:55,860 --> 00:03:59,180 whether it's a tag, whether it's going into JavaScript insert, or an attribute. 66 00:03:59,520 --> 00:04:00,600 So, be really careful. 67 00:04:02,000 --> 00:04:04,360 Another thing is, is content security policy. 68 00:04:04,540 --> 00:04:05,560 I want to touch on this really quick. 69 00:04:05,660 --> 00:04:11,960 And what this is, is header directives in your page where you can say, only run JavaScript from these sources. 70 00:04:12,600 --> 00:04:17,820 So, it allows you to prevent someone from running JavaScript, but it won't stop them from doing HTML injection. 71 00:04:18,140 --> 00:04:20,040 So, they can still mess with your page. 72 00:04:20,400 --> 00:04:24,680 So, you still need to be careful, but it's a really, really, really, strongly recommend you use this. 73 00:04:25,180 --> 00:04:27,820 So, back to the device that I was playing with. 74 00:04:28,620 --> 00:04:30,440 So, it had an interesting feature. 75 00:04:30,580 --> 00:04:32,420 If you enter in, this is the login page. 76 00:04:32,580 --> 00:04:34,980 Enter in and use an admin and give it a junk password. 77 00:04:35,640 --> 00:04:41,820 When the administrators log in, it pops up this little window down at the bottom and says, hey, someone tried to log in with the administrator. 78 00:04:42,560 --> 00:04:45,140 And it'll tell you, and it'll give up this little warning. 79 00:04:45,300 --> 00:04:53,200 And you go in here, over to the systems log, and it'll say, this is the IP address they were coming from, and here's the user they were trying to log in from. 80 00:04:54,540 --> 00:04:56,000 So, very, very helpful. 81 00:04:56,100 --> 00:04:57,160 It's a great little interface. 82 00:04:57,400 --> 00:04:58,960 And I was like, oh, that's interesting. 83 00:04:59,040 --> 00:05:00,180 That might be helpful for me. 84 00:05:01,040 --> 00:05:03,540 So, I have a little demonstration here. 85 00:05:04,240 --> 00:05:06,960 So, we have the administrators logged in the background. 86 00:05:07,120 --> 00:05:08,440 Here's a different web browser. 87 00:05:08,480 --> 00:05:13,640 We're going to enter in a YouTube iframe into the user name and just a junk password. 88 00:05:14,160 --> 00:05:21,000 And so, when the user, the administrator then comes up and they take a look and you can see it pops up right there, the YouTube iframe. 89 00:05:21,120 --> 00:05:23,020 I'm like, wow, that's going to be fun. 90 00:05:23,200 --> 00:05:28,280 And then we go in and you open up the syslog and you can see the browser there. 91 00:05:28,340 --> 00:05:31,520 And when you press play, though, nothing happens. 92 00:05:32,300 --> 00:05:37,700 And the other interesting thing is it's always refreshing the syslog. 93 00:05:38,080 --> 00:05:39,840 This log display. 94 00:05:40,020 --> 00:05:41,340 So, it's always refreshing it, too. 95 00:05:41,520 --> 00:05:47,900 So, this is always, if the administrator has any, if they're ever logged in or they ever look at this, it's going to immediately pop it up. 96 00:05:48,160 --> 00:05:50,600 So, this is an interesting type of thing. 97 00:05:50,700 --> 00:05:52,400 So, I want to take a look at what happened. 98 00:05:52,400 --> 00:05:54,680 Why didn't my YouTube frame load? 99 00:05:55,580 --> 00:05:57,660 So, Fire, take a look at Firebug. 100 00:05:57,820 --> 00:06:03,920 And if you look here, you can see that what it did is it cut off telling which video. 101 00:06:04,100 --> 00:06:08,880 Because the administrator field will only accept admin characters of 30 characters long. 102 00:06:09,160 --> 00:06:10,840 So, this was one of the other things. 103 00:06:10,960 --> 00:06:12,840 So, I had this blacklist I had to get around. 104 00:06:13,000 --> 00:06:16,060 And I also had this 30-character string that I had to get along. 105 00:06:16,220 --> 00:06:20,080 So, I'm thinking, how can I inject anything decent with only 30 characters? 106 00:06:20,740 --> 00:06:23,660 So, then I took a look at a URL shortener. 107 00:06:24,140 --> 00:06:33,520 I could have the, so the idea was is if I had the iframe sent to a URL shortener and then I could have the URL shortener sent to a file that I wanted to. 108 00:06:33,860 --> 00:06:38,320 And here's a very simple file that's just very, and all it's going to do is display the word hi. 109 00:06:39,180 --> 00:06:45,060 So, the way this works is you enter in the iframe and you can see it's going to trim. 110 00:06:45,260 --> 00:06:46,560 Give it the bad password. 111 00:06:47,120 --> 00:06:49,460 It pops up in the bottom corner for the administrator. 112 00:06:49,460 --> 00:06:50,520 They see the word hi. 113 00:06:51,380 --> 00:06:56,220 And also in the log, the system log, it's going to show it the same thing. 114 00:06:56,400 --> 00:07:03,820 So, if we expand this and we take the word hi and we put it in our iframe for our YouTube video, we see the following. 115 00:07:04,800 --> 00:07:07,780 And if I can find my mouse because I always lose it. 116 00:07:09,780 --> 00:07:10,960 My mouse disappeared. 117 00:07:11,100 --> 00:07:11,440 There it is. 118 00:07:17,740 --> 00:07:18,180 Oops. 119 00:07:18,180 --> 00:07:18,740 Hold on. 120 00:07:18,900 --> 00:07:19,840 I need my video. 121 00:07:19,960 --> 00:07:20,320 Sound. 122 00:07:20,560 --> 00:07:21,720 I need to start over. 123 00:07:22,000 --> 00:07:23,220 Where's my sound plug in? 124 00:07:24,960 --> 00:07:26,520 This doesn't work without sound. 125 00:07:31,860 --> 00:07:32,600 All right. 126 00:07:32,640 --> 00:07:33,160 Here we go. 127 00:07:36,080 --> 00:07:36,760 All right. 128 00:07:36,760 --> 00:07:48,160 So, we're triggering the attack on the Assistant Administrator and it even pops up in the 129 00:07:48,260 --> 00:07:50,080 And you see that it'll refresh and it'll keep going. 130 00:07:50,320 --> 00:07:51,620 And so, I'm not going to bore you. 131 00:07:51,680 --> 00:07:54,060 But yes, I got to Rickroll you all. 132 00:07:54,160 --> 00:07:54,920 So, thank you very much. 133 00:07:55,000 --> 00:07:55,780 That's the end of my talk. 134 00:07:55,960 --> 00:07:56,480 And have a good... 135 00:07:56,480 --> 00:07:56,500 No. 136 00:07:56,600 --> 00:07:57,080 Just joking. 137 00:07:58,160 --> 00:08:00,460 So, I like to use the Rickroll. 138 00:08:00,580 --> 00:08:02,340 Everybody knows and everybody has understanding. 139 00:08:02,520 --> 00:08:06,580 When I'm doing pen tests, if you're breaking someone's stuff, sometimes a little bit of 140 00:08:06,580 --> 00:08:07,620 egos can get bruised. 141 00:08:07,960 --> 00:08:12,040 But you put this in there and it makes people laugh. 142 00:08:12,300 --> 00:08:13,800 And so, it disarms them. 143 00:08:13,960 --> 00:08:17,280 And then you can actually really start teaching them and showing them what's going wrong. 144 00:08:17,280 --> 00:08:18,200 And then they become curious. 145 00:08:18,300 --> 00:08:19,140 Why did this happen? 146 00:08:19,340 --> 00:08:24,500 So, while everybody understands that this is getting Rickrolled, my family, they don't 147 00:08:24,500 --> 00:08:25,080 understand that. 148 00:08:25,200 --> 00:08:29,100 Whenever my kids hear this video, they come running and saying, Daddy, what did you hack? 149 00:08:29,200 --> 00:08:29,740 What did you hack? 150 00:08:30,020 --> 00:08:32,400 Because to them, this means Daddy hacked something again. 151 00:08:32,920 --> 00:08:36,120 My eight-year-old daughter said, Daddy, I never get to hear the whole video. 152 00:08:36,240 --> 00:08:37,280 Can you please let me hear it? 153 00:08:37,300 --> 00:08:39,460 So, I let her see it and watch it. 154 00:08:39,520 --> 00:08:41,320 She was interested. 155 00:08:42,080 --> 00:08:46,700 But when I was playing with this thing, I was really trying to explore the edges of 156 00:08:46,700 --> 00:08:47,120 the device. 157 00:08:47,280 --> 00:08:48,940 Seeing what's wrong with the edges. 158 00:08:49,060 --> 00:08:50,720 What can an external person do? 159 00:08:51,120 --> 00:08:56,120 And this attack not only could work on the admin interface, but also worked on SSH, SFTP, 160 00:08:56,780 --> 00:08:58,000 Telnet, all of these. 161 00:08:58,080 --> 00:09:00,260 Any of these authentication interfaces, it would pop up. 162 00:09:00,360 --> 00:09:04,540 Someone was attempting to log in from this interface and this is the user ID that they 163 00:09:04,540 --> 00:09:05,040 were trying to use. 164 00:09:05,160 --> 00:09:05,680 And this would attack. 165 00:09:06,880 --> 00:09:09,080 But I also started playing around, taking a look at this. 166 00:09:09,140 --> 00:09:12,600 Since it's a file sharing system, what happens if I have access to the file share? 167 00:09:12,960 --> 00:09:16,900 And so, if you create a file, and this is the command to get it. 168 00:09:16,900 --> 00:09:18,620 I had to play around to be able to figure it out. 169 00:09:18,740 --> 00:09:19,540 But this is the file. 170 00:09:19,680 --> 00:09:24,900 And the administrator takes a look at that file in the file browser for the system. 171 00:09:25,180 --> 00:09:26,360 This is what they're going to see. 172 00:09:26,520 --> 00:09:27,780 They'll get to see Rick Ashley. 173 00:09:28,440 --> 00:09:31,620 Again, with the hover over for the file, they'll also see all that. 174 00:09:31,980 --> 00:09:34,040 And same with the directory. 175 00:09:34,220 --> 00:09:37,440 So, you could do essentially attack through the directory. 176 00:09:38,600 --> 00:09:40,900 And it also has a syslog. 177 00:09:41,320 --> 00:09:42,940 Syslog is a collector. 178 00:09:43,140 --> 00:09:43,760 Syslog collector. 179 00:09:43,900 --> 00:09:46,660 So, you can have all kinds of devices sending. 180 00:09:46,660 --> 00:09:48,560 What their log information is. 181 00:09:48,640 --> 00:09:50,280 You can collect it at this one central point. 182 00:09:50,440 --> 00:09:52,400 Well, this was also vulnerable to the attack. 183 00:09:52,780 --> 00:09:54,680 Are we doing a number three at 3 o'clock? 184 00:09:54,900 --> 00:09:55,540 No, we don't. 185 00:09:55,540 --> 00:09:56,080 This is the last talk. 186 00:09:56,360 --> 00:09:56,680 Yep. 187 00:09:58,800 --> 00:10:01,080 So, I wanted to do a talk at DEF CON on this. 188 00:10:01,140 --> 00:10:03,760 I have this great, this is really great potential here. 189 00:10:03,980 --> 00:10:05,300 I want to do a talk at DEF CON. 190 00:10:05,440 --> 00:10:10,260 But unless you can get to Roo, there's no sense in coming here with any type of presentation. 191 00:10:11,120 --> 00:10:14,020 So, I want to really quickly say I had to do a few cheats. 192 00:10:14,580 --> 00:10:16,640 So, one of the cheats that I had to do. 193 00:10:16,660 --> 00:10:18,140 Is I had to disable no script. 194 00:10:18,540 --> 00:10:20,580 No script prevented all the attacks. 195 00:10:21,200 --> 00:10:24,260 I also had to disable active mixed content blocking. 196 00:10:24,500 --> 00:10:26,580 This is some security feature in Firefox. 197 00:10:27,020 --> 00:10:29,160 Where if you're going to a secure website. 198 00:10:29,400 --> 00:10:30,900 And you try and put insecure data. 199 00:10:31,140 --> 00:10:32,040 It will block it. 200 00:10:32,100 --> 00:10:33,440 Saying this is a security problem. 201 00:10:33,980 --> 00:10:37,080 And where the problem runs into is in the forwarding. 202 00:10:37,080 --> 00:10:40,560 While the URL shortener has the secure content in HPS. 203 00:10:40,900 --> 00:10:43,520 What I was forwarding it to, my test site, did not. 204 00:10:43,520 --> 00:10:46,480 So, if I really wanted to be an elite hacker. 205 00:10:46,600 --> 00:10:48,220 I could have registered and used a good site. 206 00:10:48,320 --> 00:10:49,360 But I said, heck with it. 207 00:10:49,400 --> 00:10:50,260 I'm just going to use this. 208 00:10:50,980 --> 00:10:53,340 And so, I disabled active mixed content. 209 00:10:54,200 --> 00:10:56,260 This is another tool that I love to use. 210 00:10:56,360 --> 00:10:57,260 Is OWASP's app. 211 00:10:58,120 --> 00:10:59,660 And there's other tools for this. 212 00:10:59,780 --> 00:11:01,520 But what I like to use it for is a proxy. 213 00:11:02,020 --> 00:11:08,600 And what it does is it records all of your traffic right down here. 214 00:11:08,860 --> 00:11:10,260 So, it records all your traffic. 215 00:11:10,400 --> 00:11:11,840 And you can click on any of these. 216 00:11:11,940 --> 00:11:13,500 And you can see what the cookie is. 217 00:11:13,500 --> 00:11:14,380 That was sent. 218 00:11:14,600 --> 00:11:15,400 Which URL. 219 00:11:15,860 --> 00:11:17,120 And the post parameter data. 220 00:11:18,060 --> 00:11:19,720 You can also right click on it. 221 00:11:19,860 --> 00:11:22,760 And you can make modifications to any of the fields in here. 222 00:11:23,020 --> 00:11:24,120 And then you can send. 223 00:11:24,520 --> 00:11:25,980 So, you can resend these. 224 00:11:26,160 --> 00:11:28,020 You can make modifications really quickly and easily. 225 00:11:28,180 --> 00:11:29,020 And resend it. 226 00:11:29,060 --> 00:11:30,580 And see what the response is from the server. 227 00:11:30,940 --> 00:11:31,880 Very, very powerful. 228 00:11:32,060 --> 00:11:32,640 So, I said, all right. 229 00:11:32,680 --> 00:11:35,520 If I want to be able to get root access on this device. 230 00:11:35,640 --> 00:11:40,560 I want to see maybe I can add a system administrator account onto it remotely somehow. 231 00:11:41,860 --> 00:11:43,120 So, taking a look at it. 232 00:11:43,500 --> 00:11:45,640 So, here we have the to be able to add a user. 233 00:11:45,720 --> 00:11:50,980 And what this does is it's going to create a user temp with a super strong password of 234 00:11:50,980 --> 00:11:51,520 a single character. 235 00:11:52,640 --> 00:11:55,080 And giving them the group of administrator. 236 00:11:55,600 --> 00:11:56,720 Looking back in. 237 00:11:56,860 --> 00:12:01,440 And this is what the taking a look at the function here of the packet that's sent. 238 00:12:01,860 --> 00:12:03,140 Take a quick look here. 239 00:12:03,240 --> 00:12:04,980 And you can see what is sent up. 240 00:12:05,180 --> 00:12:07,200 And so, you can see in here user name temp. 241 00:12:07,440 --> 00:12:08,220 The administrator. 242 00:12:09,160 --> 00:12:12,920 The other interesting thing that I found is if I took those post parameters and I just 243 00:12:12,920 --> 00:12:13,480 copied them. 244 00:12:13,500 --> 00:12:14,380 I copied them up on the URL. 245 00:12:15,120 --> 00:12:16,260 That worked as well. 246 00:12:16,620 --> 00:12:20,380 So, that made my life a lot easier in later attacks. 247 00:12:20,600 --> 00:12:21,920 Because I didn't have to deal with the post data. 248 00:12:22,020 --> 00:12:23,520 I could just deal with one long URL. 249 00:12:24,400 --> 00:12:29,340 And if you run that, the return data, you hit the send and you can see off pass with 250 00:12:29,340 --> 00:12:29,960 the CDATA1. 251 00:12:30,220 --> 00:12:33,900 And you go into the system and there's the user temp that was added in. 252 00:12:34,060 --> 00:12:35,600 So, that's good. 253 00:12:36,100 --> 00:12:38,080 But if you, I needed one thing. 254 00:12:38,500 --> 00:12:41,960 For their attempt to prevent cross site request forgery. 255 00:12:41,960 --> 00:12:46,340 They took a value that's in the cookie and added it to the URL. 256 00:12:46,640 --> 00:12:51,480 So, only the server should have access to that cookie value here in SID. 257 00:12:52,000 --> 00:12:56,000 To be able to attach it to the URL so that, I mean, only the browser should have that. 258 00:12:56,100 --> 00:13:00,460 So, that the server will validate that the data in the cookie is the same as that's coming 259 00:13:00,460 --> 00:13:01,220 in on the URL. 260 00:13:01,500 --> 00:13:05,140 This prevents someone from sending you like a phishing attack type of thing. 261 00:13:05,380 --> 00:13:06,700 And triggering that off. 262 00:13:06,860 --> 00:13:10,440 So, I needed to be able to get to this SSID value. 263 00:13:11,300 --> 00:13:14,960 So, I was trying to figure out, to do that, I need to get to the cookie. 264 00:13:15,780 --> 00:13:17,140 So, I went back to my file. 265 00:13:17,400 --> 00:13:19,280 Removed the URL, the YouTube link. 266 00:13:19,460 --> 00:13:22,160 And I put in this, the alert document cookie. 267 00:13:22,560 --> 00:13:23,980 Seeing if I could get to it. 268 00:13:24,100 --> 00:13:25,320 But this didn't work. 269 00:13:25,660 --> 00:13:30,720 Obviously, because browsers enforce the same origin policy. 270 00:13:31,000 --> 00:13:35,980 And what that does is this JavaScript will only run and will only access the cookies 271 00:13:35,980 --> 00:13:38,200 from the site that it's being run from. 272 00:13:38,340 --> 00:13:40,420 So, since this was being run from my own site. 273 00:13:40,440 --> 00:13:42,000 It was delivering my cookie site. 274 00:13:42,720 --> 00:13:45,760 Not the cookie from the network access device. 275 00:13:46,000 --> 00:13:46,660 So, it's like, all right. 276 00:13:46,700 --> 00:13:47,580 This isn't going to work. 277 00:13:48,080 --> 00:13:53,580 And I started playing around with, okay, is there some way with only 30 characters 278 00:13:53,580 --> 00:13:57,360 that I can pass that value and forward it off. 279 00:13:57,700 --> 00:13:59,040 I couldn't find anything. 280 00:13:59,380 --> 00:14:00,400 And I played around. 281 00:14:00,540 --> 00:14:00,920 I played around. 282 00:14:02,000 --> 00:14:03,760 Probably someone else could have done it. 283 00:14:03,800 --> 00:14:04,620 But I wasn't able to. 284 00:14:04,720 --> 00:14:05,640 So, I said, all right. 285 00:14:05,700 --> 00:14:06,720 Maybe there's another way. 286 00:14:07,300 --> 00:14:08,980 So, I fired up Rack Proxy. 287 00:14:08,980 --> 00:14:12,160 Rack Proxy is another tool that's good for finding vulnerabilities. 288 00:14:12,660 --> 00:14:14,540 And you use it as a proxy. 289 00:14:14,720 --> 00:14:16,960 And you point your web browser at it. 290 00:14:17,020 --> 00:14:18,400 And then you exercise your website. 291 00:14:18,700 --> 00:14:23,120 And looking through there, I found a reflective cross-site scripting. 292 00:14:23,220 --> 00:14:24,580 So, very, very quick. 293 00:14:24,760 --> 00:14:29,780 The prior cross-site scripting attack we saw with YouTube video is called a persistent. 294 00:14:30,140 --> 00:14:32,080 Meaning it's stored on the system. 295 00:14:32,720 --> 00:14:34,200 A reflective isn't stored. 296 00:14:34,420 --> 00:14:37,980 And what a reflective looks like is, so you pass in a URL parameter. 297 00:14:37,980 --> 00:14:39,920 In this case, it was for an album. 298 00:14:40,120 --> 00:14:43,440 So, you can, in this device, you can actually listen to music. 299 00:14:43,620 --> 00:14:46,840 And so, you can create an album or a playlist equivalent. 300 00:14:47,080 --> 00:14:49,020 And you give it an album name here. 301 00:14:49,100 --> 00:14:50,040 And you can see it up there. 302 00:14:50,100 --> 00:14:50,720 It's testing. 303 00:14:51,320 --> 00:14:53,560 And what happens is it's down in here. 304 00:14:53,780 --> 00:14:58,040 You can see that it reflects in the body of the HTML the word testing. 305 00:14:58,240 --> 00:15:02,620 So, the nice thing you can do with this is you can figure out how to escape the sequence. 306 00:15:02,820 --> 00:15:03,720 The character sequence. 307 00:15:04,320 --> 00:15:06,260 And break out of the HTML. 308 00:15:06,260 --> 00:15:08,580 And then get it to run your own script. 309 00:15:08,900 --> 00:15:10,720 And when you do that, you get this. 310 00:15:11,740 --> 00:15:15,900 So, now I have an ability to inject scripts on the system. 311 00:15:16,200 --> 00:15:24,760 And if I change it from just doing a pop-up alert one, but I pop up the document cookie, I can see I can get to my SID value that I want to. 312 00:15:25,580 --> 00:15:27,060 So, on my website. 313 00:15:27,260 --> 00:15:28,580 So, then you extend it. 314 00:15:28,700 --> 00:15:36,020 So, instead of just getting the document cookie, what we're going to do is we split out and get to that value that we want with a little bit of JavaScript. 315 00:15:36,260 --> 00:15:38,440 And we do an alert on that SID. 316 00:15:38,740 --> 00:15:41,760 And this is what that whole command looks like. 317 00:15:41,880 --> 00:15:43,960 You just remove all the carriage returns. 318 00:15:44,380 --> 00:15:47,380 Add that on to execute that URL. 319 00:15:47,740 --> 00:15:50,540 And now I have my session ID that I need to get to. 320 00:15:51,060 --> 00:15:54,480 So, now I have an ability to get to that session ID value. 321 00:15:55,480 --> 00:15:59,720 Through this reflective cross-site scripting attack. 322 00:16:01,200 --> 00:16:03,640 Go back to the ability to add the user. 323 00:16:03,900 --> 00:16:05,780 This was that long URL. 324 00:16:06,260 --> 00:16:09,680 And you can see here, what we're going to do is we're going to create a user with test two. 325 00:16:10,120 --> 00:16:12,920 And somewhere in here, administrator privileges. 326 00:16:13,240 --> 00:16:17,340 And so, I'm going to build up a script that will get the SID. 327 00:16:17,900 --> 00:16:18,960 Take this URL. 328 00:16:19,320 --> 00:16:21,520 Add that value right to the end of it. 329 00:16:21,620 --> 00:16:30,520 And then change the window to this new URL, which will then cause it to add a user. 330 00:16:31,300 --> 00:16:35,580 But what I need to do is when I first put this in, well, it blew up. 331 00:16:35,580 --> 00:16:37,020 Because this is part of the long URL. 332 00:16:37,180 --> 00:16:41,360 It blew up because it started trying to interpret these as part of the URL. 333 00:16:41,720 --> 00:16:44,580 So, you have to URI encode this URL. 334 00:16:45,160 --> 00:16:49,520 And then you embed right in here that URL value. 335 00:16:49,880 --> 00:16:51,660 So, the encoded URL is here. 336 00:16:51,800 --> 00:16:55,320 So, what's going to happen is it's going to be executed is you get the document cookie. 337 00:16:55,540 --> 00:16:56,420 Get the SID. 338 00:16:57,000 --> 00:16:59,900 Put that long URL to add the administrator here. 339 00:17:00,940 --> 00:17:01,900 Decode the URL. 340 00:17:02,220 --> 00:17:04,240 Add the SID to the end of it. 341 00:17:04,240 --> 00:17:05,660 And then we change the window location. 342 00:17:06,300 --> 00:17:07,780 And that should get it to execute. 343 00:17:07,960 --> 00:17:10,580 And just testing it out, taking that long, long string. 344 00:17:10,880 --> 00:17:12,820 And you can see here what it looks like. 345 00:17:13,000 --> 00:17:15,180 And you can see it says here off past one. 346 00:17:15,520 --> 00:17:17,920 And in the test, you go in and you can see temp two. 347 00:17:18,960 --> 00:17:20,560 So, let's put this all together. 348 00:17:20,780 --> 00:17:21,780 There's quite a few steps here. 349 00:17:22,940 --> 00:17:25,900 You take this entire string here. 350 00:17:27,120 --> 00:17:31,640 We put it, go back to the page where we had the YouTube link. 351 00:17:32,120 --> 00:17:33,360 And put that in there. 352 00:17:34,240 --> 00:17:35,900 So, now this is the steps that happen. 353 00:17:36,480 --> 00:17:41,300 You go to it and you enter in the attack into the login field. 354 00:17:42,220 --> 00:17:44,520 The admin views the cross-site scripting attack. 355 00:17:45,060 --> 00:17:46,680 This loads the iframe. 356 00:17:46,900 --> 00:17:48,720 Which then in turn loads trim. 357 00:17:49,040 --> 00:17:51,340 Which redirects you to the off-site file. 358 00:17:51,620 --> 00:17:55,420 The off-site file has a redirect to this reflective cross-site scripting attack. 359 00:17:55,960 --> 00:17:57,300 Which will load the cookie. 360 00:17:57,600 --> 00:17:58,920 Gets the session ID. 361 00:17:59,340 --> 00:18:02,440 Builds the URL to add a user with admin privileges. 362 00:18:03,140 --> 00:18:05,560 Redirects the add to add this user. 363 00:18:05,880 --> 00:18:07,540 Redirects it to add the user. 364 00:18:07,720 --> 00:18:09,820 And then see if we get root. 365 00:18:12,620 --> 00:18:14,440 And here I'll hit play. 366 00:18:14,740 --> 00:18:16,240 And we'll take a look what happens. 367 00:18:18,000 --> 00:18:21,900 So, we see that there is only the admin and backup user. 368 00:18:22,220 --> 00:18:23,620 We trigger off the attack. 369 00:18:24,780 --> 00:18:25,860 Go back here. 370 00:18:26,320 --> 00:18:29,620 And it takes a little bit sometimes for the window to pop up. 371 00:18:31,280 --> 00:18:32,080 And I'll get. 372 00:18:32,080 --> 00:18:32,980 Some water. 373 00:18:34,100 --> 00:18:35,740 So, there the window popped up. 374 00:18:35,860 --> 00:18:36,840 We refresh it. 375 00:18:36,940 --> 00:18:38,380 And go back in. 376 00:18:38,480 --> 00:18:39,900 And now we've added our administrator. 377 00:18:40,160 --> 00:18:41,560 A new administrator account remotely. 378 00:18:44,820 --> 00:18:48,740 We attempt to log in with that administrator account temp 2 in the other web browser. 379 00:18:49,120 --> 00:18:50,100 As the attacker. 380 00:18:50,320 --> 00:18:52,520 With the super strong password of a single character. 381 00:18:52,840 --> 00:18:54,600 And we can log in. 382 00:18:55,160 --> 00:19:00,200 So, now we can remotely get our own admin account on this device. 383 00:19:01,120 --> 00:19:01,560 Okay. 384 00:19:03,180 --> 00:19:04,580 So, that was very interesting. 385 00:19:04,700 --> 00:19:06,260 So, I was all excited when this happened. 386 00:19:06,320 --> 00:19:07,220 I was like pumped. 387 00:19:07,380 --> 00:19:08,200 I got root. 388 00:19:08,320 --> 00:19:08,900 I'm going to get root. 389 00:19:09,080 --> 00:19:11,200 So, then go fire up SSH. 390 00:19:11,340 --> 00:19:13,060 Try and connect it with my user temp 2. 391 00:19:13,180 --> 00:19:13,560 And I'm denied. 392 00:19:14,060 --> 00:19:15,200 I was like, oh, no. 393 00:19:15,540 --> 00:19:17,200 So, I'm like trying to figure out why. 394 00:19:17,700 --> 00:19:21,880 On this device, the only admin can log in through SSH. 395 00:19:21,960 --> 00:19:24,300 Unless I want to be able to load a lot of special software. 396 00:19:24,460 --> 00:19:27,080 So, at this point, I'm moping around. 397 00:19:27,320 --> 00:19:28,080 I'm wandering around. 398 00:19:28,180 --> 00:19:29,180 I'm like my head's down. 399 00:19:29,320 --> 00:19:29,840 I'm all depressed. 400 00:19:30,040 --> 00:19:31,380 Because I was so close. 401 00:19:31,380 --> 00:19:34,000 My life thinks I'm stranger than normal. 402 00:19:35,020 --> 00:19:36,840 Which is normal, I guess. 403 00:19:37,180 --> 00:19:39,960 So, I'm fairly depressed. 404 00:19:40,280 --> 00:19:42,100 And I put it aside for a few days. 405 00:19:42,300 --> 00:19:47,820 And then a few days later, something said, huh, maybe I can get around this. 406 00:19:47,900 --> 00:19:49,700 So, I decided to take a look. 407 00:19:49,760 --> 00:19:57,220 So, if I can't get my, if I can't get to root with my own admin account, how about I can hijack the admin account? 408 00:19:58,280 --> 00:19:59,380 So, I took a look here. 409 00:19:59,500 --> 00:20:00,420 And this is what happens. 410 00:20:00,420 --> 00:20:02,940 When very standard is logged in the admin. 411 00:20:03,060 --> 00:20:04,040 I want to change the password. 412 00:20:04,200 --> 00:20:05,380 Enter the old password. 413 00:20:05,500 --> 00:20:06,680 Enter your new password twice. 414 00:20:07,060 --> 00:20:08,860 And this is what the data looks like. 415 00:20:09,320 --> 00:20:11,060 So, you can see username admin. 416 00:20:11,540 --> 00:20:14,320 Here's the new password you want to change to. 417 00:20:14,420 --> 00:20:15,400 Here's the old password. 418 00:20:15,580 --> 00:20:17,640 And then I saw this in the post parameter. 419 00:20:17,900 --> 00:20:19,080 Need check yes. 420 00:20:20,280 --> 00:20:21,380 Need check yes. 421 00:20:21,520 --> 00:20:25,780 Why is the client telling the server that it needs to check? 422 00:20:26,340 --> 00:20:29,680 So, I then went in and I tried to change it. 423 00:20:29,680 --> 00:20:31,700 But temp 2, because I'm still its admin. 424 00:20:31,860 --> 00:20:32,880 I changed temp 2's. 425 00:20:32,900 --> 00:20:34,400 I'm the super admin on the system. 426 00:20:34,520 --> 00:20:35,900 I can change anybody's password. 427 00:20:36,560 --> 00:20:37,900 And you take a look here. 428 00:20:38,040 --> 00:20:39,580 And you can see username temp 2. 429 00:20:39,980 --> 00:20:43,460 The password you want to change to old password is blank because we don't need it. 430 00:20:43,500 --> 00:20:44,700 Need check equals no. 431 00:20:46,300 --> 00:20:47,840 So, I said, uh-oh. 432 00:20:48,080 --> 00:20:50,820 And I changed the username from temp 2 to admin. 433 00:20:51,020 --> 00:20:51,820 And I ran it. 434 00:20:51,900 --> 00:20:53,000 And it executed. 435 00:20:53,420 --> 00:20:59,660 So, I was able to change the administrator's account from actually from any other account could change any other account. 436 00:20:59,660 --> 00:21:00,960 Password on the system. 437 00:21:01,100 --> 00:21:02,040 There was no authentication. 438 00:21:02,320 --> 00:21:05,040 So, a low privilege user could change admin privileges. 439 00:21:05,600 --> 00:21:08,140 So, this is essentially what it needed to execute. 440 00:21:08,300 --> 00:21:11,920 So, I think now I have the key piece that I need to be able to get through. 441 00:21:12,540 --> 00:21:15,280 So, this is what the URL is going to look like. 442 00:21:15,400 --> 00:21:20,740 I'm going to change the admin's password to this super strong single character here, which is the MD5 of it. 443 00:21:21,400 --> 00:21:24,920 And I'm going to leave my SID blank because I'm going to concatenate that in. 444 00:21:25,420 --> 00:21:27,740 So, we're going to go through the steps yet again. 445 00:21:28,220 --> 00:21:29,640 We're entering the persistent query. 446 00:21:29,660 --> 00:21:31,840 Cross-site scripting attack into the login field. 447 00:21:32,160 --> 00:21:34,580 The administrator views this cross-site scripting attack. 448 00:21:35,040 --> 00:21:36,620 It loads the iframe. 449 00:21:36,660 --> 00:21:38,840 The iPhone loads the URL redirector. 450 00:21:39,160 --> 00:21:41,160 Redirects to the off-site file. 451 00:21:41,540 --> 00:21:51,240 This redirects to the reflective cross-site scripting attack, which gets the cookie, parses out that session ID, attaches it to the end of the URL to change the admin password. 452 00:21:52,060 --> 00:21:55,100 Redirects the user to that, the admin to that URL. 453 00:21:55,360 --> 00:21:57,260 And let's see if we can get root. 454 00:21:57,520 --> 00:21:58,600 Hopefully, we still do. 455 00:22:01,180 --> 00:22:02,540 So, here we're going to show you. 456 00:22:02,660 --> 00:22:03,780 I'm logging in as the administrator. 457 00:22:04,080 --> 00:22:06,880 Remember, I had to reset the device so the password was still admin. 458 00:22:07,480 --> 00:22:08,860 I hadn't gone and changed it. 459 00:22:08,920 --> 00:22:11,940 So, you see it's admin, admin, and it logs in. 460 00:22:14,320 --> 00:22:16,400 Go over to my other browser. 461 00:22:17,500 --> 00:22:18,860 And I enter in the attack. 462 00:22:20,480 --> 00:22:22,060 And you give it a few seconds. 463 00:22:22,240 --> 00:22:23,280 It's going to pop up here. 464 00:22:29,020 --> 00:22:30,020 There we go. 465 00:22:30,380 --> 00:22:32,680 So, it triggers the attack on the administrator. 466 00:22:32,840 --> 00:22:35,680 You can see it actually hit the XML there. 467 00:22:36,100 --> 00:22:38,720 And so, now on the other web browser, I go in. 468 00:22:38,760 --> 00:22:41,760 I log in as admin with my super strong password. 469 00:22:41,920 --> 00:22:43,120 And I'm in. 470 00:22:44,880 --> 00:22:47,060 And so, I call up SSH. 471 00:22:47,200 --> 00:22:48,720 And I'm able to SSH in. 472 00:22:49,480 --> 00:22:50,340 Who am I? 473 00:22:50,500 --> 00:22:51,280 I am admin. 474 00:22:51,440 --> 00:22:52,340 And if we take a look. 475 00:22:52,340 --> 00:22:53,980 The user ID is 00. 476 00:22:54,280 --> 00:22:56,020 So, I have root on the system now. 477 00:22:56,560 --> 00:22:57,680 So, now I have root. 478 00:22:57,860 --> 00:22:59,760 I have my talk. 479 00:22:59,900 --> 00:23:02,580 I have just about everything I need for my talk for DEF CON BET. 480 00:23:02,680 --> 00:23:04,320 I need a cool name for my attack. 481 00:23:04,820 --> 00:23:05,600 Because you know what? 482 00:23:05,600 --> 00:23:06,300 Everybody else. 483 00:23:06,400 --> 00:23:07,100 We have Heartbleed. 484 00:23:07,200 --> 00:23:08,060 We have Shellshock. 485 00:23:08,060 --> 00:23:08,900 We have Poodle. 486 00:23:09,220 --> 00:23:09,580 Ghost. 487 00:23:10,260 --> 00:23:10,620 Freak. 488 00:23:10,620 --> 00:23:14,100 Everybody these days, if you want to be cool, you have to name your exploit. 489 00:23:14,260 --> 00:23:16,060 So, I wanted to be cool just like everybody else. 490 00:23:16,380 --> 00:23:17,960 So, I need to come up with a cool name. 491 00:23:18,340 --> 00:23:20,680 So, what I did is I took a look at all the various things. 492 00:23:20,800 --> 00:23:22,240 So, I'm doing remote cross-site scripting. 493 00:23:22,340 --> 00:23:23,900 I exploit authentication root on and as. 494 00:23:24,040 --> 00:23:27,520 And I punch this into a website that would take a look at all your words and try and 495 00:23:27,520 --> 00:23:28,660 figure out different things for you. 496 00:23:28,980 --> 00:23:33,100 So, this is one of the first ones that came up was remote access to on and as. 497 00:23:33,380 --> 00:23:35,460 So, I thought, oh, I could call the attack reason. 498 00:23:35,600 --> 00:23:36,180 The reason attack. 499 00:23:36,760 --> 00:23:40,280 And if we want to give it an X man flare, we could call the cross-site scripting remote 500 00:23:40,280 --> 00:23:41,380 and give it X reason. 501 00:23:41,560 --> 00:23:43,380 I thought, well, that was not too bad. 502 00:23:43,640 --> 00:23:45,040 I said, what else do I have? 503 00:23:45,120 --> 00:23:45,680 I'm curious. 504 00:23:45,880 --> 00:23:47,380 I'm not going to take the first thing. 505 00:23:47,640 --> 00:23:49,100 Curiosity always kills the cat. 506 00:23:49,200 --> 00:23:50,000 So, we've got to keep going. 507 00:23:51,420 --> 00:23:53,160 This one came up was arson. 508 00:23:53,340 --> 00:23:55,060 And we extend that to X arson. 509 00:23:55,180 --> 00:24:00,040 But an old show that I used to love to watch, Beavis got in some trouble for saying similar 510 00:24:00,040 --> 00:24:00,440 things. 511 00:24:00,620 --> 00:24:02,300 So, we'll pass on that one for now. 512 00:24:03,820 --> 00:24:07,140 Remote cross-site script exploit to on and as is Exxon. 513 00:24:09,120 --> 00:24:12,880 Some company might not be too happy with me calling that the name of their exploit. 514 00:24:13,060 --> 00:24:14,440 And I might get in a little bit of trouble. 515 00:24:14,520 --> 00:24:17,580 And I get in enough trouble with my wife as it is. 516 00:24:17,640 --> 00:24:19,500 So, I like to try and stay out of it where I can. 517 00:24:20,000 --> 00:24:20,780 As much as possible. 518 00:24:21,900 --> 00:24:23,040 This was a possibility. 519 00:24:23,300 --> 00:24:23,680 Texas. 520 00:24:23,860 --> 00:24:24,460 But you know what? 521 00:24:24,520 --> 00:24:26,700 I didn't think the tack was that big. 522 00:24:26,880 --> 00:24:28,320 They do things really big down there. 523 00:24:28,620 --> 00:24:30,100 So, I passed on that one. 524 00:24:31,280 --> 00:24:32,560 I kind of like this one. 525 00:24:33,100 --> 00:24:34,580 My exploit has a name. 526 00:24:34,940 --> 00:24:35,380 Methane. 527 00:24:35,820 --> 00:24:37,780 But a friend of mine said it really stunk. 528 00:24:37,860 --> 00:24:39,580 So, we're going to pass on that one as well. 529 00:24:41,080 --> 00:24:42,220 This one was tempting. 530 00:24:42,500 --> 00:24:44,500 Cool hackers named their exploits. 531 00:24:44,980 --> 00:24:45,420 Cheap. 532 00:24:45,620 --> 00:24:46,700 It's somewhat appropriate. 533 00:24:48,580 --> 00:24:49,860 Being cheap about it. 534 00:24:50,000 --> 00:24:53,960 And getting even more appropriate is cool hackers exploit names. 535 00:24:54,160 --> 00:24:54,880 Or cheapen. 536 00:24:55,420 --> 00:24:58,620 And I was like, oh, that one's really tempting as well. 537 00:24:58,760 --> 00:24:59,780 But let's keep going. 538 00:24:59,840 --> 00:25:00,400 See what we have. 539 00:25:00,660 --> 00:25:02,600 Cool hackers named their exploits. 540 00:25:02,740 --> 00:25:03,220 Cane. 541 00:25:03,220 --> 00:25:05,280 But I couldn't find anything for able. 542 00:25:05,500 --> 00:25:07,360 And that one's already been used some years ago. 543 00:25:08,500 --> 00:25:14,160 So, I finally came across it as I need an exploit name to be cool or neon tool. 544 00:25:14,760 --> 00:25:17,900 And when I went over to Whois, neon tool was available. 545 00:25:18,220 --> 00:25:19,040 So, I got it. 546 00:25:19,040 --> 00:25:19,800 I grabbed it. 547 00:25:19,840 --> 00:25:20,760 And I registered it. 548 00:25:20,940 --> 00:25:24,020 And then when I showed this to my wife the first time, she said, how much did that cost? 549 00:25:24,360 --> 00:25:26,080 And I just looked at her and I said, I love you, honey. 550 00:25:29,020 --> 00:25:30,160 So, here's the timeline. 551 00:25:30,320 --> 00:25:35,320 After I reported to the company, I first reported the day before April Fool's. 552 00:25:36,220 --> 00:25:40,260 I gave a few following reports on April 21st and May 22nd. 553 00:25:40,720 --> 00:25:45,180 Along the way, unfortunately, I broke their reporting tool. 554 00:25:45,780 --> 00:25:47,120 I'm not going to quite say how. 555 00:25:47,260 --> 00:25:48,140 But it was an accident. 556 00:25:48,140 --> 00:25:49,220 I didn't mean to. 557 00:25:49,600 --> 00:25:52,880 And I think their customer support people weren't too happy with me. 558 00:25:52,960 --> 00:25:55,460 Because they started to, I think, ignore me a little bit. 559 00:25:55,600 --> 00:25:57,180 And I think there was a small company. 560 00:25:57,580 --> 00:26:00,780 There was some confusion on how to handle these types of security vulnerabilities. 561 00:26:01,360 --> 00:26:02,540 A friend of mine helped me. 562 00:26:02,600 --> 00:26:06,000 We reached out through the incidents response teams and were able to get a hold of the 563 00:26:06,000 --> 00:26:06,740 security people. 564 00:26:07,060 --> 00:26:10,240 And once I got in touch with one of their security people, they were great to work 565 00:26:10,240 --> 00:26:10,480 with. 566 00:26:10,680 --> 00:26:12,080 They were very, very responsive. 567 00:26:12,880 --> 00:26:15,460 They were very apologetic for not getting up. 568 00:26:15,460 --> 00:26:19,480 And they said they had a breakdown in the process, which happens. 569 00:26:19,900 --> 00:26:23,620 And so around mid-July, they got me some test builds. 570 00:26:23,840 --> 00:26:27,700 And I was able to test some of the protection, some of the stuff, not all of it. 571 00:26:28,080 --> 00:26:31,520 But they did, for a lot of the cross-site scripting, it looks like they were doing most 572 00:26:31,520 --> 00:26:32,700 of it very well. 573 00:26:32,760 --> 00:26:33,700 So I was happy there. 574 00:26:35,460 --> 00:26:39,380 They finally got the release out four days ago, which was a big relief. 575 00:26:39,520 --> 00:26:41,260 Because that meant I now could give my talk. 576 00:26:41,520 --> 00:26:45,380 So I was very, very appreciative that they got that out there so that I could give this 577 00:26:45,460 --> 00:26:45,800 talk here. 578 00:26:46,000 --> 00:26:47,100 And I was very happy about it. 579 00:26:47,580 --> 00:26:48,680 So here's my advice. 580 00:26:50,060 --> 00:26:53,520 A lot of these small companies, they have these devices out there. 581 00:26:53,640 --> 00:26:55,960 And like this company, they have a lot of my data. 582 00:26:56,380 --> 00:26:58,280 And they have a lot of everybody else's data. 583 00:26:58,560 --> 00:27:02,220 And I don't mean, I don't want to put them down. 584 00:27:02,380 --> 00:27:04,800 Because now they have a much more secure device. 585 00:27:04,960 --> 00:27:06,440 Because they have these fixes out there. 586 00:27:06,580 --> 00:27:09,840 So if you have these devices sitting around, play with them. 587 00:27:10,300 --> 00:27:11,400 Especially if they're yours. 588 00:27:11,540 --> 00:27:13,540 If it's someone else's, ask permission. 589 00:27:13,860 --> 00:27:14,820 If it's on a web server. 590 00:27:15,000 --> 00:27:15,280 . 591 00:27:15,780 --> 00:27:16,560 Be careful. 592 00:27:16,740 --> 00:27:17,640 Don't get in trouble. 593 00:27:17,940 --> 00:27:18,820 But play with it. 594 00:27:18,860 --> 00:27:23,860 Try to do this and help these companies to really get their devices more secure. 595 00:27:23,960 --> 00:27:26,380 Because, man, this is our data that's sitting on these. 596 00:27:26,520 --> 00:27:27,620 This is our systems. 597 00:27:29,180 --> 00:27:32,880 Try and make sure when you break these devices, record your findings as you're going along. 598 00:27:33,040 --> 00:27:35,680 I don't know how many times just playing with all kinds of different things. 599 00:27:35,780 --> 00:27:37,220 And I found out I broke something. 600 00:27:37,300 --> 00:27:41,000 And then I tried to spend hours trying to figure out how did I recreate this. 601 00:27:41,800 --> 00:27:43,500 Report this stuff to the company. 602 00:27:43,680 --> 00:27:44,460 Help them out. 603 00:27:44,460 --> 00:27:45,160 Give them time. 604 00:27:47,420 --> 00:27:49,660 I work with a lot of development teams. 605 00:27:49,920 --> 00:27:51,900 And they're usually flat out. 606 00:27:52,000 --> 00:27:55,920 Their schedule is flat out for at least the next six months, if not a year. 607 00:27:56,160 --> 00:27:59,080 And all of a sudden you come along and you throw a whole bunch of work on them. 608 00:27:59,160 --> 00:28:01,920 And they have this time frame that they have to get it out by. 609 00:28:02,840 --> 00:28:04,880 It's really, really hard on these teams. 610 00:28:05,020 --> 00:28:07,300 So please be patient with them when you're dealing with them. 611 00:28:08,340 --> 00:28:09,640 And offer your help. 612 00:28:09,680 --> 00:28:10,280 Offer your service. 613 00:28:10,360 --> 00:28:11,020 Say, I'll help you. 614 00:28:11,420 --> 00:28:13,340 Here's solutions that you can do. 615 00:28:13,340 --> 00:28:17,400 If you want me to take a look at any debug builds, test builds, I will definitely do that. 616 00:28:18,680 --> 00:28:19,680 Really quick thank you. 617 00:28:19,720 --> 00:28:22,380 I'd like to thank everybody here for attending my talk. 618 00:28:23,140 --> 00:28:25,200 Thank my family for putting up with me. 619 00:28:25,420 --> 00:28:30,500 Thank you to Packet Hacking Village for letting me talk here. 620 00:28:30,880 --> 00:28:34,300 And if there are any questions, I'm going to take them offline. 621 00:28:34,680 --> 00:28:36,360 Thank you very much for attending my talk. 622 00:28:36,680 --> 00:28:39,640 And I hope everyone's had a great call-in. 623 00:28:40,280 --> 00:28:40,920 Thank you.