1 00:00:00,000 --> 00:00:01,280 My name is Bryson Bort. 2 00:00:01,280 --> 00:00:09,060 I'm the founder of a startup called Scythe, which I just found out this week we completed our seed round raise. 3 00:00:09,100 --> 00:00:18,480 So if you've never been in that position before, there's like no better feeling than when you finally get to complete, stop having to ask people for money, and then like just start doing the job. 4 00:00:18,500 --> 00:00:20,480 So you could round of applause for that. 5 00:00:20,480 --> 00:00:21,240 That'd be cool. 6 00:00:25,000 --> 00:00:29,760 So when I'm not building attack simulation platforms, I'm the co-founder of the ICS Village. 7 00:00:29,860 --> 00:00:30,860 So, right over there. 8 00:00:30,860 --> 00:00:32,700 Hope you have a, come and check us out. 9 00:00:32,880 --> 00:00:39,360 Uh, in today's talk, uh, I'm gonna be talking about some different issues around Internet of Things than probably you've heard before. 10 00:00:40,180 --> 00:00:43,500 So the agenda, we'll start off by painting what is the landscape. 11 00:00:43,680 --> 00:00:46,120 Um, the different kinds of attack types. 12 00:00:46,560 --> 00:00:47,280 Enterprise. 13 00:00:49,240 --> 00:00:51,520 This got translated over, dropped my letters. 14 00:00:53,180 --> 00:00:54,140 Oh, yes. 15 00:00:54,140 --> 00:00:55,180 The entrepre. 16 00:00:55,280 --> 00:00:59,380 This is, this is where the IOT is and how to defend against. 17 00:00:59,380 --> 00:00:59,880 Yes. 18 00:00:59,880 --> 00:01:04,080 Uh, so what we're gonna be showing is by, by working from what we've seen. 19 00:01:04,080 --> 00:01:09,800 One of the things that I'm gonna take with my research a step further is showing how easy it is to build a mass attack campaign. 20 00:01:09,860 --> 00:01:18,760 So not just going after a particular IOT device, but showing how to build, no pun intended, the phishing net to go after tens of thousands at a time. 21 00:01:18,780 --> 00:01:27,120 Uh, and then the reason for the name of the talk was then I wanted to talk about how to turn all those IOT devices into your own Tor. 22 00:01:27,320 --> 00:01:32,820 Um, has anybody ever had to give a talk before and you're like running down to the deadline to complete your research? 23 00:01:32,840 --> 00:01:33,900 Know that feeling? 24 00:01:34,200 --> 00:01:36,900 And then you don't finish your research? 25 00:01:38,220 --> 00:01:40,920 So that part's gonna be a little conceptual. 26 00:01:41,140 --> 00:01:43,720 I didn't, didn't quite get all the way through it. 27 00:01:43,720 --> 00:01:46,820 Uh, turns out putting the village together took a little bit more time than I'd hoped. 28 00:01:47,020 --> 00:01:54,200 Um, but I will set up the concept and, uh, I will continue to, to publish that research as I, um, actually do complete it. 29 00:01:55,300 --> 00:01:58,380 Alright, so who has IOT devices, right? 30 00:01:58,380 --> 00:02:00,160 This is where we all raise our hands. 31 00:02:00,420 --> 00:02:03,520 It's the thing about this internet of things is they're ubiquitous. 32 00:02:03,520 --> 00:02:04,460 They are everywhere. 33 00:02:04,740 --> 00:02:10,800 Um, I mean it is not, we are not far away from this, these computers being embedded in our clothes. 34 00:02:10,880 --> 00:02:14,460 When you start thinking about that, computerized underwear, that's coming. 35 00:02:14,460 --> 00:02:15,440 It's happening. 36 00:02:16,540 --> 00:02:23,680 Um, and that, that's a reflection of the fact that computing has finally reached this point where it is so cheap that we can mass produce it and we can push computation anywhere. 37 00:02:23,940 --> 00:02:37,620 And that has phenomenal use when we start thinking about its purposes in our daily lives or in manufacturing, industrial control systems, the delivery of that, there's ability to collect that data and then to bring some sort of automated intelligence analysis to drive something. 38 00:02:37,620 --> 00:02:38,860 It's fantastic. 39 00:02:38,880 --> 00:02:41,940 But then we start to think, well what else could it be used for? 40 00:02:42,160 --> 00:02:46,880 And all that computational capacity sitting out there just waiting for somebody to do something with it. 41 00:02:47,980 --> 00:02:55,320 So, we have across as a part of the CTF, uh, what we call Howdy Neighbor and that's a model smart house. 42 00:02:55,640 --> 00:03:08,580 Um, and this is one of the things that we're going to be pushing out in the coming weeks is we actually have an IOT workshop for those of you who want to stand up your own piece to demonstrate what I'm going to be going through in today's research. 43 00:03:08,580 --> 00:03:11,520 So we're going to be pushing that on GitHub, uh, so stay tuned. 44 00:03:11,960 --> 00:03:14,940 Uh, and that'll show you everything you need to do to set it up yourself. 45 00:03:14,940 --> 00:03:16,220 We'll push out the builds. 46 00:03:16,440 --> 00:03:17,980 Um, you don't even need to have your own environment. 47 00:03:17,980 --> 00:03:23,800 We'll provide the environment and from the comfort of your own home, you'll be able to walk through everything that I'm going to be demonstrating today. 48 00:03:25,420 --> 00:03:33,080 So, CES, which is actually here in Vegas and is about six times the size of DEF CON. 49 00:03:33,080 --> 00:03:35,740 I've never seen 200,000 people together before. 50 00:03:35,780 --> 00:03:48,880 Um, I was there, uh, giving a talk on automotive mobility and so, uh, I went, uh, with a journalist and we walked the floor and of course the, the set up here as we went to all, to see all the new IOT devices that were coming out. 51 00:03:48,940 --> 00:03:56,480 And if you can imagine the discussions on security as we walked the floor, nobody had given any thought to it. 52 00:03:56,480 --> 00:03:57,980 This was my favorite though. 53 00:03:57,980 --> 00:04:01,180 So this, this is an engineered umbrella. 54 00:04:01,260 --> 00:04:04,400 This umbrella literally could do everything. 55 00:04:04,500 --> 00:04:08,180 It had built in solar power that fueled a battery down here. 56 00:04:08,280 --> 00:04:11,640 It had just about every single communication protocol I'd ever heard of. 57 00:04:11,640 --> 00:04:13,500 I mean, it did your homework for you. 58 00:04:13,500 --> 00:04:14,960 It followed the sun around. 59 00:04:14,960 --> 00:04:16,160 It, it was incredible. 60 00:04:16,240 --> 00:04:20,560 And I started thinking to myself, well, why, why did we need to put all of these things in there? 61 00:04:20,620 --> 00:04:24,960 And then I thought of the second question, which is how much does that cost? 62 00:04:26,000 --> 00:04:34,060 And so fortunately I was lucky the COO was there and was kind enough to, to come up and she's like, just guess, how much do you think this umbrella costs? 63 00:04:35,140 --> 00:04:35,940 What? 64 00:04:36,520 --> 00:04:37,320 $350. 65 00:04:38,300 --> 00:04:39,020 Whoa. 66 00:04:39,020 --> 00:04:41,120 Now you're, you're like a magnitude off. 67 00:04:41,460 --> 00:04:43,580 You look like you raised your hand, so I'm going to pick on you anyway. 68 00:04:43,580 --> 00:04:45,780 Guess a number above $350. 69 00:04:47,340 --> 00:04:48,360 $50,000. 70 00:04:48,360 --> 00:04:49,560 Well, it's not a Porsche . 71 00:04:50,900 --> 00:04:52,740 Porsche of umbrellas right here. 72 00:04:54,080 --> 00:04:54,680 What? 73 00:04:55,240 --> 00:04:56,540 $9,000. 74 00:04:57,100 --> 00:04:58,580 $9,000, right? 75 00:04:58,580 --> 00:04:58,580 $9,000. 76 00:04:58,580 --> 00:04:58,580 $9,000. 77 00:04:58,580 --> 00:04:58,580 $9,000. 78 00:04:58,600 --> 00:05:03,820 So, yes, so of course the logical question is, who's the demographic? 79 00:05:03,820 --> 00:05:06,100 Who buys a $9,000 umbrella? 80 00:05:06,740 --> 00:05:11,920 I was lucky again that I was talking to the COO because she informed me she was buying 10 of them for her vineyard. 81 00:05:13,520 --> 00:05:15,500 I, I don't own a vineyard. 82 00:05:16,720 --> 00:05:20,660 So, I summed up my experience on CES with two things. 83 00:05:20,660 --> 00:05:24,120 If it could be interconnected, it was. 84 00:05:24,460 --> 00:05:26,980 And everybody now wants to talk to everything. 85 00:05:26,980 --> 00:05:30,880 So, you now have the choice because they are putting voices into everything. 86 00:05:30,880 --> 00:05:32,560 So, it's no longer just going to be in your head. 87 00:05:32,640 --> 00:05:36,000 Everything you're going to be interacting with, you'll be able to talk to it and it'll talk back. 88 00:05:37,600 --> 00:05:44,300 Now, there was a really interesting public quote, I think it was about two years ago, and I'll throw the company on the bus, LG. 89 00:05:44,560 --> 00:05:48,720 And they were releasing their new product line of all consumer appliances. 90 00:05:48,980 --> 00:05:54,360 And the vice president or whatever of, of products gets up at this press conference and this is what he says. 91 00:05:54,360 --> 00:05:56,460 He's like, we are putting the internet in everything. 92 00:05:56,760 --> 00:06:00,800 And of course, the logical question from somebody in the audience was, why? 93 00:06:01,360 --> 00:06:03,600 He's like, well, because. 94 00:06:03,860 --> 00:06:07,200 And they're like, and so they came up with the idea, like, well, like a toaster . 95 00:06:07,200 --> 00:06:09,200 Does a toaster need to be internet connected? 96 00:06:09,400 --> 00:06:12,080 He's like, um, no, but we're doing it. 97 00:06:14,440 --> 00:06:15,780 Seriously, you can look this up. 98 00:06:15,780 --> 00:06:18,320 This guy, this was the conversation this guy had in public. 99 00:06:19,680 --> 00:06:24,400 Alright, so we've heard of IOT, we know about IIOT, an industrial internet of things. 100 00:06:24,400 --> 00:06:33,120 It's basically the inclusion of that ubiquitous computing so that we can drive decisions for all sorts of interesting things besides what is in the consumer environment. 101 00:06:33,400 --> 00:06:45,660 I point this out because this talk, I'm using consumer devices to demonstrate it, but it applies just as easy to your house as it applies to the manufacturing floor, as it applies to lots of different uses of critical infrastructure. 102 00:06:46,600 --> 00:06:48,360 So the state of affairs. 103 00:06:48,460 --> 00:06:52,240 These are the three kinds of things that we've seen. 104 00:06:52,240 --> 00:06:58,140 We have seen Brian Krebs get DDoS'd by hundreds of thousands of internet of things devices. 105 00:06:58,220 --> 00:07:06,200 We have seen ransomware start to appear, and ransomware lands on an IOT device and locks it down and says, send me bitcoins. 106 00:07:06,240 --> 00:07:07,900 And then crypto jacking. 107 00:07:07,900 --> 00:07:21,140 Crypto jacking is the fact that now that bitcoin is actually worth something, that I can take advantage of those computational cycles that are free to me, that's the bad guy, and use your spare cycles to go mining cryptocurrency. 108 00:07:21,680 --> 00:07:26,800 Now, if you look at all of this, how does this affect you, the end consumer? 109 00:07:27,600 --> 00:07:32,960 These devices are in your home, so it might be a little bit of an inconvenience that you're using a little bit more electricity. 110 00:07:33,160 --> 00:07:36,020 Certainly the ransomware might be an issue, but that hasn't been that widespread. 111 00:07:36,860 --> 00:07:39,900 And then DDoSing Brian Krebs doesn't really affect you. 112 00:07:39,900 --> 00:07:45,820 So it might be a bit creepy that I'm on your web camera, but I haven't really done anything to bother you. 113 00:07:46,340 --> 00:07:55,300 And so we get a little carried away because our community, we really love zero days, but we still have to really start to think about what does it matter, right? 114 00:07:55,300 --> 00:08:00,860 Zero day in a Nest thermostat, am I really going to do that research so that I can play with your temperature? 115 00:08:01,260 --> 00:08:04,340 Like, I don't want you to have 68, I want it to be 70. 116 00:08:04,720 --> 00:08:06,020 There's no money in that. 117 00:08:06,520 --> 00:08:11,920 So we need to put it in perspective of what in fact is the security research accomplishing. 118 00:08:12,940 --> 00:08:14,420 So history of attacks. 119 00:08:14,800 --> 00:08:17,200 These follow two basic models. 120 00:08:17,200 --> 00:08:22,140 So Mirai, what they did is the fact that most people don't change their passwords. 121 00:08:22,140 --> 00:08:26,680 And there are about 10 default password combinations that work on just about everything. 122 00:08:27,280 --> 00:08:30,600 And so the vendors push those out to you and the default password works. 123 00:08:30,600 --> 00:08:39,260 So what Mirai did was just scan the internet, anything that it saw that talked back to it, it threw those 10 password combinations at it. 124 00:08:39,520 --> 00:08:40,160 Guess what? 125 00:08:40,160 --> 00:08:41,020 That worked. 126 00:08:41,880 --> 00:08:44,780 Reaper and IO Troop took it up a step further. 127 00:08:44,860 --> 00:08:58,700 They went and identified because security researchers like us are constantly identifying these things and let's say that even a security researcher who's doing the right thing contacts the vendor privately, gives them time to push a patch out and then releases the research. 128 00:08:59,040 --> 00:09:01,380 Well they release that research as a proof of concept. 129 00:09:01,380 --> 00:09:05,080 So that code is there for somebody who can just copy it down and use it. 130 00:09:05,080 --> 00:09:08,740 Now assuming that the patch has been applied, that's great, that doesn't work. 131 00:09:08,940 --> 00:09:12,820 How many folks actually go around applying patches to their IOT devices? 132 00:09:14,060 --> 00:09:16,540 And we're the smart ones, right? 133 00:09:16,540 --> 00:09:18,280 We even know what a computer is. 134 00:09:18,960 --> 00:09:21,600 For the rest of the world it's black voodoo magic. 135 00:09:21,980 --> 00:09:24,360 And they never even considered what a patch is. 136 00:09:25,120 --> 00:09:40,680 And so what Reaper and IO Troop did was I'm just going to enumerate about 65 to 70 devices across multiple categories, match those to known exploits, because I just pulled down those proof of concept code. 137 00:09:42,520 --> 00:09:48,180 Enumerate is where I fingerprint a device so I know exactly what it is. 138 00:09:48,180 --> 00:09:51,580 Because you can't just go throw exploits willy nilly, they won't work. 139 00:09:51,580 --> 00:09:54,560 They work on certain models and certain firmware versions. 140 00:09:54,800 --> 00:10:04,460 And so same case here, I have to make sure it is the device that I think it is, I match that up against my list and then I'm going to launch that proof of concept code and automatically take it over. 141 00:10:04,460 --> 00:10:09,840 The difference here is, up here, if you change your password, this won't work. 142 00:10:10,080 --> 00:10:12,060 Here, it doesn't matter. 143 00:10:12,140 --> 00:10:15,460 If the patch isn't there, then the device will be compromised. 144 00:10:16,800 --> 00:10:18,640 So, phone patch history. 145 00:10:18,940 --> 00:10:20,400 Everyone has a phone. 146 00:10:20,740 --> 00:10:21,960 Who's heard of stage fright? 147 00:10:24,200 --> 00:10:25,620 You know , what was stage fright? 148 00:10:27,140 --> 00:10:28,620 Yeah, that's right, stage fright. 149 00:10:28,620 --> 00:10:29,560 It's like a pun. 150 00:10:35,010 --> 00:10:43,790 So, it was a SMS attack where I just had to send a text message to your phone, independent of you doing anything, and I got remote code execution. 151 00:10:44,350 --> 00:10:45,150 SMS. 152 00:10:47,710 --> 00:10:52,830 And so that, of course, was a really big deal, because that works on both Android and Apple. 153 00:10:52,830 --> 00:10:54,250 You didn't even need to participate. 154 00:10:54,250 --> 00:10:57,010 I just sent some text, boom, I got you. 155 00:10:57,410 --> 00:11:01,290 So, of course, that was a critical failure. 156 00:11:01,790 --> 00:11:03,110 They pushed out patches. 157 00:11:03,170 --> 00:11:11,590 Nine months after it was discovered, these are, these are countries, doesn't matter which ones, but fundamentally you just look at the red versus the blue. 158 00:11:11,590 --> 00:11:23,910 Nine months after the patch was pushed out into the population, and cell phones are actually fairly easy to update compared to IOT devices, which you usually have to go manually download something and then figure out how to interact with your device. 159 00:11:24,170 --> 00:11:29,370 This was how much of the world was still vulnerable nine months after a patch of that critical magnitude. 160 00:11:31,010 --> 00:11:33,410 Yeah, I mean, that's scary, right? 161 00:11:33,410 --> 00:11:34,710 This is our environment. 162 00:11:36,030 --> 00:11:41,050 Did you know that you only are supported for so long by your operating system vendors on phones? 163 00:11:41,110 --> 00:11:42,590 You have to buy a new phone. 164 00:11:42,590 --> 00:11:44,810 There's just gonna be a point where you're on your own. 165 00:11:44,850 --> 00:11:48,250 And that is, of course, much shorter than what we see on traditional PCs. 166 00:11:51,780 --> 00:11:53,020 So, the setup. 167 00:11:53,500 --> 00:12:10,760 What we're gonna show for this demonstration, like I said, this is a commercial demonstration, but the same thing would apply to any similar embedded system device in any other kind of environment, is that our consumer and our smart house, they want enhanced security. 168 00:12:10,980 --> 00:12:12,240 Alarm systems are expensive. 169 00:12:12,240 --> 00:12:14,980 Why am I gonna spend 99 bucks a month for ADT? 170 00:12:15,120 --> 00:12:16,180 I wanna secure my house. 171 00:12:16,180 --> 00:12:18,440 Cost is a factor, as it often is. 172 00:12:18,460 --> 00:12:20,700 Consumers are primarily driven by two things. 173 00:12:20,940 --> 00:12:23,180 Function, I want to do something. 174 00:12:23,320 --> 00:12:25,080 Cost, I don't wanna pay a lot. 175 00:12:25,660 --> 00:12:27,680 And so, people are used to buying security cameras. 176 00:12:27,680 --> 00:12:31,900 So, this is just a nominal security camera that we're gonna use and put into our house. 177 00:12:34,800 --> 00:12:36,580 Alright, let's see if I can get this going. 178 00:12:36,660 --> 00:12:43,580 So, our customer has bought his camera, or her camera, and he, or she, what? 179 00:12:44,240 --> 00:12:45,800 Okay, that's bad juju. 180 00:12:46,320 --> 00:12:47,440 Still works. 181 00:12:48,520 --> 00:12:52,060 Alright, so we are logging in and we are setting up our web camera. 182 00:12:52,580 --> 00:12:53,380 And we're in. 183 00:12:54,560 --> 00:12:57,380 Alright, at least it tells me I should change my password. 184 00:12:57,380 --> 00:12:58,380 That's a good start. 185 00:12:58,580 --> 00:13:01,280 So, I'm putting in a really good password. 186 00:13:01,280 --> 00:13:03,200 I'm gonna follow basic principles here. 187 00:13:04,520 --> 00:13:09,900 Oh, alright, well, nope, I don't want special characters, so it's actually gonna try to make me less secure. 188 00:13:09,920 --> 00:13:10,560 Thanks. 189 00:13:11,220 --> 00:13:15,720 So, this is enforcing me trying to do the right thing, and it won't let me do it as far as I want. 190 00:13:16,420 --> 00:13:18,740 So, nope, still making it hard. 191 00:13:19,080 --> 00:13:20,280 Alright, we got there. 192 00:13:21,160 --> 00:13:23,040 Okay, so our camera's set up. 193 00:13:23,120 --> 00:13:27,360 Um, you can actually go and see the view from the, the house across in the ICS village. 194 00:13:27,640 --> 00:13:33,560 Uh, we set up port forwarding so that we're able to, uh, access this from the internet because, of course, we're an internet security camera. 195 00:13:33,560 --> 00:13:36,580 This is something that I'm gonna be using when I'm away from home. 196 00:13:37,220 --> 00:13:38,100 Okay. 197 00:13:41,220 --> 00:13:42,960 And let's see what our password was. 198 00:13:42,960 --> 00:13:44,740 It's applesaucebang. 199 00:13:45,700 --> 00:13:48,740 Now, remember, we tried to make a harder password, but it wouldn't let us. 200 00:13:49,500 --> 00:13:55,120 But, we're still ahead of the game because we've built, we've changed the default password. 201 00:13:56,980 --> 00:13:58,800 And we're, we're a step up. 202 00:14:02,330 --> 00:14:05,190 Alright, so what we're gonna do is we're gonna show the attacker perspective now. 203 00:14:05,190 --> 00:14:21,090 Our consumer's set up their IOT device, and what we're gonna do is we're gonna go from reconnaissance to identifying what is everything we can see on the world because the starting point from a, an attacker perspective, particularly when I'm looking at how to attack thousands to tens of thousands of devices around the world, 204 00:14:21,090 --> 00:14:22,670 is to find them. 205 00:14:22,670 --> 00:14:25,530 And I can only, I can only affect what I can touch. 206 00:14:25,930 --> 00:14:31,390 Enumerate, I wanna make sure that I'm dealing with what exactly I think I'm going to that works with my exploit. 207 00:14:31,530 --> 00:14:32,630 I'm gonna compromise. 208 00:14:33,030 --> 00:14:35,310 And then this is the part where we're gonna make it more interesting. 209 00:14:35,470 --> 00:14:39,610 I'm gonna use that IOT device not because it's the IOT device itself, right? 210 00:14:39,610 --> 00:14:42,010 I'm not interested in creeping on you in the webcam. 211 00:14:42,390 --> 00:14:50,530 I am interested in your personal information, your social security number, your bank accounts, your tax forms, and that's what we're gonna do. 212 00:14:50,530 --> 00:14:59,430 We're gonna show how to pivot through the network to take over other devices, eventually working my way to something that is interesting and stealing interesting information off that. 213 00:15:01,930 --> 00:15:05,110 So first, reconnaissance and enumeration. 214 00:15:05,130 --> 00:15:09,010 So like we talked about, the camera's connected in. 215 00:15:09,250 --> 00:15:11,450 Census is just another version of SHODAN. 216 00:15:11,450 --> 00:15:20,250 So we look out there for the model of camera that we're interested in from an attacker perspective and we just happen to coincidentally pick the camera that matches what this consumer's put in. 217 00:15:20,270 --> 00:15:29,890 And by quick search we can immediately see 2700 cameras around the world that are available on port 80, so unencrypted. 218 00:15:31,950 --> 00:15:34,450 And now we get to play z-hackers. 219 00:15:34,770 --> 00:15:42,010 And of course we always have to have a picture when we demonstrate the hackers of two items that do not go together to demonstrate that we're doing bad things. 220 00:15:42,070 --> 00:15:48,590 So I hope all of you are wearing your masks and carrying a camera when you're hacking away. 221 00:15:49,350 --> 00:15:56,910 And so now we're gonna demonstrate the attacker view of how he's going to... 222 00:16:01,540 --> 00:16:04,720 alright so first we're gonna start with our reconnaissance phase. 223 00:16:07,140 --> 00:16:11,460 So we're going into census, which like I said is a SHODAN equivalent. 224 00:16:12,580 --> 00:16:18,780 And we're going to pair together just the keys to identify the camera against port 80. 225 00:16:21,560 --> 00:16:25,600 We like port 80 because it's just open without any certification. 226 00:16:25,880 --> 00:16:30,200 And here we get back all of the cameras that match that around the world. 227 00:16:48,680 --> 00:16:50,940 Probably have elevator music during this part. 228 00:16:57,230 --> 00:16:58,990 Okay so we see there's a lot. 229 00:17:03,140 --> 00:17:05,780 And the point of this is that this can be scripted. 230 00:17:06,520 --> 00:17:12,080 Alright so we click on a specific one and we see that through this we automatically can get a lot of information. 231 00:17:16,460 --> 00:17:18,540 Alright so now we're gonna try to get in. 232 00:17:18,540 --> 00:17:26,240 And we're gonna start off with the Mirai approach, which is we are going to try to do all of the password combinations. 233 00:17:28,280 --> 00:17:29,480 See if we can get in. 234 00:17:29,480 --> 00:17:30,420 And we failed. 235 00:17:31,020 --> 00:17:32,460 Score one for the home team. 236 00:17:42,000 --> 00:17:42,820 Alright. 237 00:17:42,940 --> 00:17:45,640 So now we're gonna take it a step further. 238 00:17:47,600 --> 00:17:48,480 No. 239 00:17:50,720 --> 00:17:51,160 There you go. 240 00:17:51,160 --> 00:17:51,160 Alright so now we're gonna take it a step further. 241 00:17:51,180 --> 00:17:52,460 You told me this would be easy. 242 00:17:53,880 --> 00:17:55,460 I'm not good with computers. 243 00:17:58,710 --> 00:18:05,450 Alright so now we just saw the Mirai approach where we try the default combinations and that failed because we did change the password. 244 00:18:05,710 --> 00:18:10,730 And so now here is the code where we're gonna launch a known end day that we've identified. 245 00:18:11,110 --> 00:18:12,910 That was the slide I just skipped over quickly. 246 00:18:12,910 --> 00:18:13,410 I apologize. 247 00:18:13,410 --> 00:18:16,190 There's a proof of concept code for the end day that's out there. 248 00:18:16,330 --> 00:18:17,410 No technical knowledge. 249 00:18:17,410 --> 00:18:19,270 All I have to do is copy paste that down. 250 00:18:19,470 --> 00:18:26,530 And then my script here essentially goes to all the IP addresses that I pulled down from census and launches that known end day against all of them. 251 00:18:26,910 --> 00:18:27,510 And we're on. 252 00:18:27,510 --> 00:18:28,170 We're root. 253 00:18:28,470 --> 00:18:30,630 So even though we changed the password of course that was irrelevant. 254 00:18:30,630 --> 00:18:32,210 We have remote code execution. 255 00:18:32,430 --> 00:18:35,590 So now what I'm gonna do is I'm going to enumerate the network for services. 256 00:18:35,590 --> 00:18:39,390 So this is the initial scan to identify what else can I see. 257 00:18:41,850 --> 00:18:43,790 Now I'm looking for file shares. 258 00:18:43,830 --> 00:18:47,830 Of course file shares locally are where we post interesting information. 259 00:18:48,250 --> 00:18:50,630 And I find a window share. 260 00:18:50,630 --> 00:18:52,250 So we try brute forcing that. 261 00:18:52,290 --> 00:18:54,790 Um, one of the advantages also if you think about it since 262 00:19:00,060 --> 00:19:06,220 now remember our user initially changed the password on their web camera. 263 00:19:06,220 --> 00:19:07,840 So they were trying to do the right thing. 264 00:19:07,860 --> 00:19:10,200 How often do we reuse passwords? 265 00:19:11,780 --> 00:19:22,400 So when I use my exploit to land on that camera, I'm going to of course have access to your password file and I'm gonna take that password and I'm gonna try it against everything that I can see. 266 00:19:22,400 --> 00:19:34,060 So that part of when I enumerate into that network is I'm now going to add that into a dictionary attack and different combinations because most of us tend to follow patterns of reusing passwords or derivative passwords. 267 00:19:34,100 --> 00:19:36,640 And I'm gonna try that now on everything that I see. 268 00:19:36,640 --> 00:19:39,840 And that's how we get access into the Windows file share. 269 00:19:40,680 --> 00:19:43,840 And so of course we do a directory run to see what we can get. 270 00:19:46,660 --> 00:19:48,920 We see some photos. 271 00:19:51,200 --> 00:19:53,960 We pull all those back because we're gonna start with the fun stuff. 272 00:19:58,400 --> 00:20:00,100 So what kind of photos do we get? 273 00:20:03,890 --> 00:20:05,090 The Grimm family. 274 00:20:05,610 --> 00:20:08,850 If you go look inside the house you can actually see the family portraits. 275 00:20:10,970 --> 00:20:14,950 So like I said this is creepy but eh, not that interesting. 276 00:20:15,010 --> 00:20:16,710 Let's see what else we can find on the computer. 277 00:20:17,210 --> 00:20:20,590 So we're now gonna start looking for documents and try to find things of interest. 278 00:20:20,590 --> 00:20:25,390 Again, keep in mind that the key to all of this is that this would be scripted. 279 00:20:25,390 --> 00:20:31,550 So the automated capability to do this walking through each of those steps is what makes this interesting, right? 280 00:20:31,550 --> 00:20:33,150 How am I doing this times thousands? 281 00:20:33,150 --> 00:20:35,730 Not that I'm actually hands on shell right there. 282 00:20:38,120 --> 00:20:52,090 So we take all the documents and in those documents we get all your passwords, check with your bank account routing number, and your tax forms. 283 00:20:52,270 --> 00:20:52,270 So that's what we 284 00:20:56,060 --> 00:20:56,540 do. 285 00:20:56,540 --> 00:20:58,200 Yeah, oops, somebody say oops. 286 00:21:04,000 --> 00:21:05,480 So what can I do? 287 00:21:06,020 --> 00:21:07,560 Let's go back to the first principle. 288 00:21:07,560 --> 00:21:09,140 Does anybody remember what it is? 289 00:21:10,820 --> 00:21:13,620 Can an attacker just do anything, right? 290 00:21:13,620 --> 00:21:16,260 I can only do something to what I can touch. 291 00:21:16,340 --> 00:21:20,020 So starting point, place it behind a firewall. 292 00:21:20,200 --> 00:21:24,260 Something should not be internet accessible unless absolutely necessary. 293 00:21:24,460 --> 00:21:32,360 And putting it behind a firewall you can create some state based rules that will allow to restrict that traffic so that it doesn't just do that. 294 00:21:32,520 --> 00:21:34,060 Changing default credentials. 295 00:21:34,060 --> 00:21:37,060 We saw that that worked against the initial kind of attack. 296 00:21:38,060 --> 00:21:44,380 It's not necessarily about that I have to be faster than the bear, but I just have to be faster than somebody else running away from the bear. 297 00:21:44,400 --> 00:21:51,340 As long as folks continue to fall behind on these basic rules, attackers are not going to change their mindset. 298 00:21:51,340 --> 00:21:56,080 They will continue to run the sweeps that work because that produces results. 299 00:21:56,120 --> 00:22:01,160 When all of us start to establish a higher level, then that's what's going to require them to shift. 300 00:22:01,180 --> 00:22:04,140 By definition, hackers are lazy , right? 301 00:22:04,140 --> 00:22:07,520 What's the bare minimum that I need to do to get the effect that I need? 302 00:22:08,520 --> 00:22:10,140 Patches, applying patches, right? 303 00:22:10,140 --> 00:22:15,840 This is the pain in the ass thing because every IOT device is going to be pulling from a different place. 304 00:22:15,840 --> 00:22:18,660 Each vendor is not, is going to have its own approach. 305 00:22:18,940 --> 00:22:29,260 Uh, and we're going to talk about this at the end of the talk about things that the manufacturing community could do better because this should not, this burden should not be on us, the consumer, as much as it is. 306 00:22:29,800 --> 00:22:33,760 But my recommendation now, just like every year, you have to do your taxes. 307 00:22:34,540 --> 00:22:44,960 Every year, find some time like spring cleaning, make an inventory of your devices, go to the manufacturer website for each of those devices and try to identify the latest patch and install it. 308 00:22:45,440 --> 00:22:49,600 And then finally, segregating your WIFIs onto VLANs. 309 00:22:49,600 --> 00:22:55,640 So in that previous attack, everything was on the same network, which is what allowed me to see it. 310 00:22:55,920 --> 00:23:01,180 All of your IOT devices should be on their own segregated VLAN at least. 311 00:23:01,180 --> 00:23:09,420 And then the important things like the PC that you're using to do your taxes or to access your bank account should be on its own VLAN by itself. 312 00:23:09,420 --> 00:23:16,520 Now granted, this only ups the ante because those VLANs are just of course virtual LANs that are all going back to a common router. 313 00:23:16,780 --> 00:23:22,300 And just the same issue that our web camera had, routers can have that same problem. 314 00:23:22,300 --> 00:23:27,100 They have end days that are published and you can exploit that and get past this barrier. 315 00:23:27,300 --> 00:23:30,260 But again, you're stepping it up to at least a higher level. 316 00:23:32,000 --> 00:23:34,620 Who's heard of the concept of herd immunity? 317 00:23:35,740 --> 00:23:37,440 What is it sir? 318 00:23:52,220 --> 00:23:54,520 So like IOT devices. 319 00:23:56,800 --> 00:23:59,580 This is the threat that we're facing. 320 00:23:59,580 --> 00:24:02,060 It's not individual IOT devices. 321 00:24:02,060 --> 00:24:10,120 It's not even the damage or nuisance of how I could do some damage to a group of folks in a consumer environment. 322 00:24:10,120 --> 00:24:15,960 The risk is that there are every day more and more of these coming to our environment. 323 00:24:15,960 --> 00:24:22,880 I mean, I don't know what the number is, but I can't imagine it's not less than tens of thousands that are being introduced into our internet every day. 324 00:24:23,240 --> 00:24:34,120 And we talked about the fact that while it might be inconvenient that these things can be reused for malicious purposes to someone else, it's actually decreasing the security of the overall environment in ways that we hadn't thought. 325 00:24:34,500 --> 00:24:38,760 Cause it's no longer, oh, okay, you know, the web camera got taken over. 326 00:24:38,760 --> 00:24:46,720 But we've already started to see how that web camera is a pivot point to other things that would have been more secure had that not been in the environment. 327 00:24:46,920 --> 00:24:56,880 IOT devices are putting us in the same kind of challenge where we're going to increase our probability of a different kind of outbreak in our environment. 328 00:24:56,900 --> 00:25:03,920 I mean, in this country, in the world, because we're continuing to introduce this capability that's unsecure. 329 00:25:04,020 --> 00:25:06,720 By itself, it's a nuisance. 330 00:25:06,720 --> 00:25:12,120 Adding it, the fact that all these devices are connected, we are increasing our overall risk. 331 00:25:13,580 --> 00:25:15,500 So call to action. 332 00:25:16,380 --> 00:25:18,060 Manufacturer accountability. 333 00:25:18,060 --> 00:25:22,700 Has anyone ever seen a manufacturer punished for putting out an insecure device? 334 00:25:23,000 --> 00:25:25,200 There are no consequences. 335 00:25:25,680 --> 00:25:26,740 There are none. 336 00:25:26,900 --> 00:25:30,840 We've already seen how difficult it is to apply a patch. 337 00:25:31,580 --> 00:25:36,160 We've seen that they can push out something where everything has default credentials. 338 00:25:36,160 --> 00:25:44,060 It does not take a lot of engineering to have a unique password pair supplied to each IOT device that's issued to that consumer. 339 00:25:44,240 --> 00:25:47,820 So your own admin password is already changed for you and is unique to your device. 340 00:25:47,820 --> 00:25:51,020 That would solve a large percentage of the problems that we're seeing. 341 00:25:51,020 --> 00:25:52,800 That is on the manufacturer. 342 00:25:53,140 --> 00:26:01,900 The other piece of course is, I don't think it's reasonable to expect any vendor to, to push out a completely secure device. 343 00:26:01,900 --> 00:26:02,580 Right? 344 00:26:02,580 --> 00:26:04,620 Has anybody ever seen anything that's unhackable? 345 00:26:04,620 --> 00:26:06,600 I mean, except for John McAfee. 346 00:26:06,600 --> 00:26:12,300 But you know, besides him, and he got quickly proved wrong, because nothing is unhackable. 347 00:26:12,300 --> 00:26:23,160 So it's not a question of can I push out something that's absolutely, completely secure, particularly when it costs $39, but why can't we demand that they have planned for a security life cycle? 348 00:26:23,700 --> 00:26:24,600 Right? 349 00:26:24,600 --> 00:26:29,600 It's not that you made sure that it's secure tomorrow, but that it's very easy to secure down the road. 350 00:26:29,700 --> 00:26:39,500 You have a disclosure policy that allows independent researchers to identify things to you, and you have a time period that you're required to turn down, turn around a response. 351 00:26:39,500 --> 00:26:41,040 Push out a patch. 352 00:26:41,040 --> 00:26:41,600 Right ? 353 00:26:41,600 --> 00:26:43,500 Push out a patch. 354 00:26:43,680 --> 00:26:44,920 Make that patch available. 355 00:26:44,920 --> 00:26:48,140 Make it easy for the consumer to take it and to apply it. 356 00:26:48,340 --> 00:26:56,280 We are all dealing with this problem because the manufacturers have no incentive to change, and the burden is being pushed on us to solve it. 357 00:26:58,020 --> 00:26:59,920 So references for more information. 358 00:26:59,920 --> 00:27:02,320 Obviously the ICS village, we pushed a lot of this. 359 00:27:02,420 --> 00:27:05,920 There's also the IOT Security Foundation, and then I am the Calvary. 360 00:27:05,920 --> 00:27:12,440 These are all independent organizations, non-profits, pushing security, education, and awareness around this problem. 361 00:27:12,520 --> 00:27:24,880 This is things that all of us as volunteers do, just this is our passion, because I think it takes the experts to identify the problems, push for calls to action, highlight the issues, and try to drive a change. 362 00:27:26,460 --> 00:27:30,600 Um, so I talked earlier about the fact, the reason this was originally called TORT. 363 00:27:30,860 --> 00:27:37,280 The Onion Router approach for IOT, that's going to be my upcoming research that I did not get in time for today. 364 00:27:37,280 --> 00:27:40,740 So I'll be pushing, I'll be pushing that out, that'll be coming to, to future areas. 365 00:27:40,960 --> 00:27:55,260 Um, as well as the Home Hacking Lab, which will have a build environment and a setup for you to be able to demonstrate and build the scripts to automatically attack, not illegally, but in the comfort of your own home, with something that you own, so that you'll be able to prove this yourself. 366 00:27:55,260 --> 00:27:57,280 So we'll be pushing that out on GitHub in the future. 367 00:27:57,600 --> 00:27:59,760 Um, I think I have time for like one question. 368 00:28:01,320 --> 00:28:02,560 Anybody has any questions? 369 00:28:03,520 --> 00:28:04,360 Yes sir? 370 00:28:28,120 --> 00:28:40,960 So, uh, the original idea there for the complex password that you were forced to change every 30 days and, you know, cannot match the prior 12 passwords and must be at least 14 characters long, have we all experienced that? 371 00:28:41,360 --> 00:28:42,080 Okay. 372 00:28:42,140 --> 00:28:47,600 The guy who created that, this standard back in 2003 has now apologized to all of humanity. 373 00:28:47,880 --> 00:28:48,780 He was wrong. 374 00:28:51,780 --> 00:28:55,740 I, I, I, there is tar and there's feather, I, I don't know. 375 00:28:55,740 --> 00:28:58,900 Uh, he, he apologized though, cause that's not necessary, right? 376 00:28:58,900 --> 00:29:14,880 If you look at what the threat is here, um, certainly if somebody is already on your network, um, theoretically you changing access to something like that could cause an issue, but chances are, um, having done this kind of research for 20 years, I'll tell you if that was me, 377 00:29:14,880 --> 00:29:21,700 I've already got root on your box, you change your password, I already know what it's going to be every time you change it, cause I'm root. 378 00:29:21,700 --> 00:29:28,260 I'm, I'm going to be there hanging out, you, you, what you're changing is up here, so it doesn't actually, you haven't shifted anything. 379 00:29:28,680 --> 00:29:34,980 Um, and those passwords, you forget them, that's the reason why passwords usually are so derivative and the same, because it's easier to remember. 380 00:29:35,400 --> 00:29:39,960 The password was the worst invention in the history of mankind, but we have no other choice. 381 00:29:40,140 --> 00:29:43,900 And then that rule was just proof that there is hell. 382 00:29:44,880 --> 00:29:46,440 The devil does exist. 383 00:29:47,060 --> 00:29:52,260 So, I apologize, I'm, uh, my time is up, I'll be over at the ICS Village for the rest of the day if you have any more questions. 384 00:29:52,480 --> 00:29:57,680 Um, and follow so you can see, um, the additional open source stuff we'll be pushing out. 385 00:29:57,680 --> 00:29:58,340 Thank you.