1 00:00:00,000 --> 00:00:08,500 Okay, everyone. I guess we're ready to start now. We got everything worked out. This is my 2 00:00:09,420 --> 00:00:16,940 presentation called Exploiting SCADA Systems. And just a brief background. Well, my name is 3 00:00:16,940 --> 00:00:24,400 Jeremy Brown, and I'm a vulnerability research engineer at Tenable. And I like to play with 4 00:00:24,400 --> 00:00:29,500 SCADA software, so the presentation is focused on vulnerabilities in SCADA software. 5 00:00:30,000 --> 00:00:41,740 So let's get started. So a lot of SCADA software runs on AIX, OS2, Linux, but most of the 6 00:00:41,740 --> 00:00:50,800 modern software runs on Windows. So the framework that I'll be demoing later will show 7 00:00:51,460 --> 00:00:59,980 exploiting the SCADA software on Windows. So SCADA software runs on Windows, and it's 8 00:01:00,000 --> 00:01:03,340 a very, very simple software. You can use it on workstations, you can use it on remote. 9 00:01:03,540 --> 00:01:09,700 There are even mobile apps to control remote aspects of SCADA. And that's what the iPhone app 10 00:01:09,700 --> 00:01:20,420 shows. So tag vectors via software vulnerabilities. With SCADA software, they're used in the 11 00:01:21,240 --> 00:01:27,600 same programming language as all the other applications, C, C++, so they share the same 12 00:01:28,780 --> 00:01:29,980 vulnerabilities as the application itself. And they're very those are very common. And you can 13 00:01:30,000 --> 00:01:33,420 any other application. So whether that be client side 14 00:01:33,420 --> 00:01:36,780 attacks from the web browsers, click on a malicious link, 15 00:01:36,960 --> 00:01:40,920 anything like that, whether it's not patched, e-mail or even 16 00:01:40,920 --> 00:01:43,600 malicious servers attacking clients, SCADA clients and 17 00:01:43,600 --> 00:01:48,660 things like that. Also server side attacks from the Internet 18 00:01:48,660 --> 00:01:51,800 if SCADA software is connected to the Internet, it's 19 00:01:51,800 --> 00:01:55,360 vulnerable, it's just anything else. Or the internal network 20 00:01:55,360 --> 00:02:00,640 if it's fire walled or not accessible by the Internet. I'm 21 00:02:00,640 --> 00:02:02,860 just going to skip through some of the brief introductions. 22 00:02:04,540 --> 00:02:07,140 Click jacking, I thought that would be funny. You never know, 23 00:02:07,220 --> 00:02:12,380 maybe it's vulnerable to click jacking. So what's wrong? What's 24 00:02:12,380 --> 00:02:18,100 the problem with SCADA software? Security has been implemented as 25 00:02:18,100 --> 00:02:21,240 an add-on instead of being built around the product from the 26 00:02:21,240 --> 00:02:24,720 ground up, especially for a lot of the older versions of 27 00:02:24,720 --> 00:02:25,100 software. 28 00:02:25,760 --> 00:02:30,020 In SCADA plants and things, the security is kind of a 29 00:02:30,020 --> 00:02:35,580 hindrance. So it wasn't really built. Everything back then was 30 00:02:35,580 --> 00:02:38,900 kind of built just to be easy for the operators. So security 31 00:02:38,900 --> 00:02:42,800 wasn't really a priority until people figured out people were 32 00:02:42,800 --> 00:02:48,420 hacking into SCADA systems. And then systems typically are 33 00:02:48,420 --> 00:02:52,160 installed for long term and software upgrades may require 34 00:02:52,160 --> 00:02:55,340 new hardware. So when SCADA systems are installed, you're 35 00:02:55,360 --> 00:02:56,860 going to see any kind of temporary backups, they are put 36 00:02:56,860 --> 00:03:00,900 there for maybe a decade, five years, decade, two decades, 37 00:03:01,080 --> 00:03:04,160 something like that for a long term. So when they put 38 00:03:04,160 --> 00:03:07,220 everything together, they're not looking to make upgrades for a 39 00:03:07,220 --> 00:03:11,520 long time. So if vulnerabilities come out or patches or new 40 00:03:11,520 --> 00:03:17,480 versions, they may require new hardware just to upgrade. And 41 00:03:17,480 --> 00:03:22,340 then just a thing that I noticed that may be typical for a lot of 42 00:03:22,340 --> 00:03:25,340 SCADA systems, when they go into an audit or something, it's not 43 00:03:25,360 --> 00:03:29,620 something like that. A lot of administrators are saying this 44 00:03:29,620 --> 00:03:32,760 isn't connected to the Internet or they can't access this from 45 00:03:32,760 --> 00:03:35,820 this network because it's separated or on a different 46 00:03:35,820 --> 00:03:37,740 network or on a different subnet, something like that. 47 00:03:38,320 --> 00:03:43,420 But still, something somewhere is connected to something that 48 00:03:43,420 --> 00:03:47,600 may be connected to the Internet. The whole process of 49 00:03:47,600 --> 00:03:51,940 communication means you can communicate with things 50 00:03:51,940 --> 00:03:55,600 anywhere. You have to be able to communicate with, excuse me, 51 00:03:55,600 --> 00:03:58,580 to control it. So unless it's strictly physical access, 52 00:03:59,260 --> 00:04:02,280 something has to be connected to something. A lot of times it's 53 00:04:02,280 --> 00:04:04,360 also connected to a system that's connected to the 54 00:04:04,360 --> 00:04:09,340 Internet. So the attacker gets control of a system that has 55 00:04:09,340 --> 00:04:12,680 access to the Internet. You got access through the Internet and 56 00:04:12,680 --> 00:04:16,120 got access to the internal network. So even though the 57 00:04:16,120 --> 00:04:19,460 system wasn't connected to the Internet, it is now vulnerable 58 00:04:19,460 --> 00:04:21,800 to attack from the attacker. So. 59 00:04:23,440 --> 00:04:26,920 And then vendors. Vendors can take their time with updates and 60 00:04:26,920 --> 00:04:30,460 managers can take their time updating. Since they're going to 61 00:04:30,460 --> 00:04:33,560 be in place for a long term, a lot of the patches, a lot of the 62 00:04:33,560 --> 00:04:38,040 upgrades may not occur for a long time. So this, even if you 63 00:04:38,040 --> 00:04:41,580 find bugs in the SCADA software that is, it could be five, ten 64 00:04:41,580 --> 00:04:45,660 years old or even the latest software, you still have a 65 00:04:45,660 --> 00:04:48,420 chance to attack something on the network because chances are 66 00:04:48,420 --> 00:04:51,120 they haven't upgraded for so long that it's still going to be 67 00:04:51,120 --> 00:04:51,380 vulnerable. 68 00:04:52,560 --> 00:04:59,340 So. And through my research, I found that there are a ton of 69 00:04:59,340 --> 00:05:02,860 vulnerabilities in SCADA software. It's just, I don't 70 00:05:02,860 --> 00:05:05,340 know if they're not, I guess a lot of the old programming 71 00:05:05,340 --> 00:05:11,100 practices have to do with this, too. And it's just, they're 72 00:05:11,100 --> 00:05:17,720 not, the code is not secure. Plainly saying, it's not. They 73 00:05:17,720 --> 00:05:19,860 should really do some in-house testing because you could 74 00:05:19,860 --> 00:05:21,920 simply, I mean, some of the vulnerabilities are not 75 00:05:21,940 --> 00:05:24,400 going to be fixed. So, I've opened up a hex editor of the 76 00:05:25,560 --> 00:05:28,700 file format that happened to be used in the SCADA software, 77 00:05:29,560 --> 00:05:33,200 looked at an interesting place and put a bunch of characters, 78 00:05:33,340 --> 00:05:37,000 a long string in there, closed it, saved it, closed it, ran it 79 00:05:37,000 --> 00:05:43,800 in the software, crashed. It's just, it's not stable in the 80 00:05:43,800 --> 00:05:49,440 security aspect. So, just kind of, who may find the bugs? I 81 00:05:49,440 --> 00:05:51,920 mean, you never know who may be looking. But, it's just, it's not 82 00:05:51,920 --> 00:05:54,120 steady. You never know who may come across them by accident or 83 00:05:54,120 --> 00:05:58,020 anything else like any other software. So, could be employees 84 00:05:58,020 --> 00:06:01,320 and I just had a couple pictures here. That guy looks kind of 85 00:06:01,320 --> 00:06:07,360 curious what he's doing. Hackers, the ones up to no good, 86 00:06:07,520 --> 00:06:10,100 which, according to how you look at it, black hat, white hat, 87 00:06:10,240 --> 00:06:15,980 gray hat, whatever. But, it's kind of the typical evil 88 00:06:15,980 --> 00:06:21,240 looking, cartoonish evil hacker. I don't know. Kind of looks kind 89 00:06:21,240 --> 00:06:21,900 of cool to me. But, I don't know. I don't know. I don't know. 90 00:06:24,740 --> 00:06:27,800 Security researchers, security professionals, according to how 91 00:06:27,800 --> 00:06:31,440 you interpret it. We know everyone here has at least six or 92 00:06:31,440 --> 00:06:35,280 seven monitors in their work station. So, it's got the clean 93 00:06:35,280 --> 00:06:40,900 representation of all of us here. And then, really, I found 94 00:06:40,900 --> 00:06:43,920 out, you don't even have to have a lot of experience with dealing 95 00:06:43,920 --> 00:06:46,920 with security vulnerabilities. You can come over, you know, you 96 00:06:46,920 --> 00:06:49,600 can find them by accident. A lot of people do. But, anyone that 97 00:06:49,600 --> 00:06:51,900 cares to look could find vulnerabilities in the security 98 00:06:51,920 --> 00:06:57,120 software. It's insane. So, I guess I kind of moved a little 99 00:06:57,120 --> 00:07:01,240 quick here. But, this is kind of the middle of my presentation. 100 00:07:01,920 --> 00:07:07,460 I want to do splitware. Splitware is, well, I started out, I was 101 00:07:07,460 --> 00:07:10,200 finding all these vulnerabilities in SCADA software. And I was 102 00:07:10,200 --> 00:07:14,000 like, well, what am I going to do here? I kind of, you know, I 103 00:07:14,000 --> 00:07:16,540 thought about writing Metasploit modules for them, you know, to 104 00:07:16,540 --> 00:07:18,840 deal with the exploitation part. Which is great. You can 105 00:07:18,840 --> 00:07:21,760 interchange payloads. You can, you know, host, you know, you 106 00:07:21,760 --> 00:07:23,240 guys are familiar with Metasploit, you know what it can 107 00:07:23,240 --> 00:07:28,020 do. But, I was like, well, kind of bored, so maybe I want to start 108 00:07:28,020 --> 00:07:33,400 a project here. And never really wrote a framework before, not in 109 00:07:33,400 --> 00:07:36,080 this sense, not a penetration testing framework. So, I was 110 00:07:36,080 --> 00:07:39,580 like, well, I had some code I could reuse and start on a new 111 00:07:39,580 --> 00:07:41,860 project. And I was like, well, I want to learn some stuff, too. 112 00:07:42,020 --> 00:07:46,220 So, I just basically in my spare time created splitware. And 113 00:07:47,380 --> 00:07:51,240 splitware is just a framework designed to specifically penetration 114 00:07:51,760 --> 00:07:54,860 test SCADA systems. More specifically the software side 115 00:07:54,860 --> 00:08:00,380 of SCADA systems. And I've used it in my, I haven't used it, you 116 00:08:00,380 --> 00:08:02,360 know, of course, in any protection systems. I just used 117 00:08:02,360 --> 00:08:07,140 it in my lab with my test systems. But I found you can get 118 00:08:07,140 --> 00:08:12,020 reliable exploitation just by, I mean, even reusing payloads and 119 00:08:12,020 --> 00:08:15,920 things like that. I just, I mean, it was pretty easy to design 120 00:08:15,920 --> 00:08:19,760 the framework. And I just kind of put some things, I guess, 121 00:08:19,800 --> 00:08:21,740 similar to the concept of Metasploit. I just kind of put some 122 00:08:22,520 --> 00:08:24,980 things, I guess, similar to the concept of Metasploit. And, you 123 00:08:24,980 --> 00:08:28,000 know, I wouldn't dare say it's anything close to Metasploit or 124 00:08:28,000 --> 00:08:30,100 Canvas, but that was my original idea when I wrote it. 125 00:08:30,340 --> 00:08:33,900 Something that I could use to check SCADA systems for 126 00:08:33,900 --> 00:08:39,560 vulnerabilities. So, it was pretty nice to do. It can check 127 00:08:39,560 --> 00:08:42,020 the systems for the potentially vulnerable software. You know, 128 00:08:42,040 --> 00:08:46,700 I've written some local checks. It can test remotely. You know, 129 00:08:46,720 --> 00:08:49,260 if there's any version strings that come up or it can detect the 130 00:08:49,260 --> 00:08:51,740 headers in the requests. And, you know, I've done a lot of 131 00:08:51,760 --> 00:08:55,520 things with it. It can, exploitation is optional but 132 00:08:55,520 --> 00:09:00,080 readily available, like I said. The point of the framework is not 133 00:09:00,080 --> 00:09:03,680 just exploitation. That's what kind of Metasploit was, I mean, 134 00:09:03,700 --> 00:09:07,260 Metasploit can check with them, too. But it's kind of just, you 135 00:09:07,260 --> 00:09:09,560 know, if you go into a pen test and say, hey, we've got some 136 00:09:09,560 --> 00:09:12,400 SCADA systems running here. We've got some software running as 137 00:09:12,400 --> 00:09:16,640 well on them, of course. What can we find out that's 138 00:09:16,640 --> 00:09:21,640 vulnerable? And what can we see, you know, what can we exploit, too? So, it 139 00:09:21,760 --> 00:09:25,740 has checks. It's also kind of added in an auto-pwn feature, which I 140 00:09:25,740 --> 00:09:29,460 love. It's pretty necessary for any explanation framework. It's pretty 141 00:09:29,460 --> 00:09:32,400 cool to do. You can just hit the dash A and it will go through and 142 00:09:32,400 --> 00:09:35,420 check for all the vulnerabilities it has in the database. And if it 143 00:09:35,420 --> 00:09:38,780 finds any, it will exploit them. But the payload, it just has one 144 00:09:38,780 --> 00:09:41,740 payload right now, which I haven't really done much development on it 145 00:09:41,740 --> 00:09:45,360 recently. But it just adds like a user, like exploit, password, 146 00:09:45,560 --> 00:09:48,820 where, something like that. You can use anything. You don't have to 147 00:09:48,820 --> 00:09:50,720 just exploit for some of them, but anyways. 148 00:09:51,760 --> 00:09:55,080 But, like I said, the point of it is not just for exploitation. The 149 00:09:55,080 --> 00:09:58,640 point of it is to, you know, it has local checks, remote checks. It 150 00:09:58,640 --> 00:10:04,780 can, just a brief way you can check the SCADA environment for 151 00:10:04,780 --> 00:10:10,740 anything that may be vulnerable. But the exploits are zero-day. And 152 00:10:10,740 --> 00:10:13,880 I haven't worked with any of the vendors yet, but I plan to in the 153 00:10:13,880 --> 00:10:19,920 future. But for this, they're just kind of let you know, kind of the 154 00:10:22,420 --> 00:10:25,320 pre-audit would be, you know, before they shipped it out. I kind of do 155 00:10:25,320 --> 00:10:27,660 like the post-audit, you know, like the vulnerability research with 156 00:10:27,660 --> 00:10:31,340 them and see what exactly is vulnerable. And everybody loves 157 00:10:31,340 --> 00:10:36,640 zero-day. And the methods I use for identifying the 158 00:10:36,640 --> 00:10:39,280 vulnerabilities. I went from manual testing, like I said, you 159 00:10:39,280 --> 00:10:41,440 know, some of them actually when I first started looking at them, I 160 00:10:41,440 --> 00:10:43,660 just wanted to look at the file format briefly, you know, through a 161 00:10:43,660 --> 00:10:47,660 hex editor or something before I dug into it deeper. So I just 162 00:10:47,660 --> 00:10:49,760 opened that hex editor and I was like, well, I wonder what happened 163 00:10:49,760 --> 00:10:51,740 if I, you know, curiosity gets a bit out of me. And I was like, well, 164 00:10:51,760 --> 00:10:55,960 what if I happened to enter a long string here or changed, you 165 00:10:55,960 --> 00:11:00,140 know, this value to an FF or, you know, just simple auditing. And I 166 00:11:00,140 --> 00:11:03,140 found that after I saved it and ran it with a program, it would 167 00:11:03,140 --> 00:11:05,880 crash. I was like, wow. And then, you know, you do crash analysis 168 00:11:05,880 --> 00:11:08,780 after that. And some of them are actually vulnerabilities, like 169 00:11:08,780 --> 00:11:14,520 buffer overflows, like easy, direct EIP overwrite, easy. Some 170 00:11:14,520 --> 00:11:16,560 of them were memory corruption. Some of them were kind of harder 171 00:11:16,560 --> 00:11:19,600 to exploit, different kinds of memory corruption, maybe pointer 172 00:11:19,600 --> 00:11:21,740 corruption or something like that. But, you know, that's the 173 00:11:21,760 --> 00:11:26,020 thing. It was really easy. That was manual testing. And fuzzing, 174 00:11:26,100 --> 00:11:29,740 of course, any file format fuzzer can, you know, set it up to run the 175 00:11:29,740 --> 00:11:33,140 application, log the crashes, things like that. So I didn't 176 00:11:33,140 --> 00:11:37,480 actually use much fuzzing for the exploits in exploitware. It 177 00:11:37,480 --> 00:11:40,900 was just too easy. Like I didn't even need to. Like I found, you 178 00:11:40,900 --> 00:11:44,060 know, a number of vulnerabilities just by manual testing, just 179 00:11:44,600 --> 00:11:47,700 playing with it. That's how easy it was to exploit. And then 180 00:11:47,700 --> 00:11:50,160 some was reverse engineering. I don't know if you guys have seen 181 00:11:51,780 --> 00:11:56,000 this, but I just kind of dropped my zero day a few months ago. I 182 00:11:56,000 --> 00:11:59,740 was reverse engineering the EDS file format. And I just kind of 183 00:11:59,740 --> 00:12:02,060 went through a brief example. It actually gave me the error 184 00:12:02,060 --> 00:12:04,320 messages. I didn't even have to reverse it. It would actually 185 00:12:04,320 --> 00:12:07,960 give me the error messages to properly format the file. And 186 00:12:07,960 --> 00:12:10,580 then I went into, you know, after I seen that, I was like, 187 00:12:10,640 --> 00:12:12,920 you know, I don't think it's giving me everything. So I want 188 00:12:12,920 --> 00:12:15,960 to reverse it and see what other options were available. So 189 00:12:15,960 --> 00:12:18,240 I went through and done that. And I found a bunch of, you 190 00:12:18,240 --> 00:12:21,740 know, the same buffer was vulnerable, excuse me, two or 191 00:12:22,160 --> 00:12:28,680 three. It was, I think, a Unicode buffer overflow. So I 192 00:12:28,680 --> 00:12:31,180 just went through, found it, and then I didn't really post any 193 00:12:31,180 --> 00:12:33,360 details yet because I had not contacted the vendor or 194 00:12:33,360 --> 00:12:37,360 anything. And I just kind of wanted to do an example of, you 195 00:12:37,360 --> 00:12:39,740 know, kind of black box testing and then going into reverse 196 00:12:39,740 --> 00:12:43,740 engineering. And then somebody apparently, I guess it was my 197 00:12:43,740 --> 00:12:47,340 fault too, they found, they knew what the EDS file format was. 198 00:12:47,420 --> 00:12:51,560 They knew what programs used it in SCADA. So they, Sukuna I 199 00:12:51,560 --> 00:12:56,540 guess somebody, excuse me, contacted Sukuna and told them 200 00:12:56,540 --> 00:12:58,980 about it and they dropped my zero day and stuff. But it 201 00:12:58,980 --> 00:13:07,840 happens. Excuse me. Okay. So that was the method. I mean, it 202 00:13:07,840 --> 00:13:10,160 was really, I didn't use that much reverse engineering because 203 00:13:10,160 --> 00:13:13,500 just because it wasn't necessary. I mean, I like to 204 00:13:13,500 --> 00:13:16,780 reverse engineer just to do research sometimes. But these, 205 00:13:16,880 --> 00:13:19,020 most of the vulnerabilities came from manual testing, like 206 00:13:19,020 --> 00:13:21,540 manually changing variables in the web parameters or, you know, 207 00:13:23,540 --> 00:13:29,100 changing file formats or just, you know, running, connecting to 208 00:13:29,100 --> 00:13:32,280 the server and sending a long stream. Like the exploit I'll be 209 00:13:32,280 --> 00:13:38,200 demoing today, actually the vulnerability is, I guess on 210 00:13:38,200 --> 00:13:41,080 receive, it just receives, it doesn't even file, it doesn't 211 00:13:41,080 --> 00:13:44,320 even format the buffer. It just, the vulnerability is in 212 00:13:44,320 --> 00:13:48,300 receiving all the data into the input buffer. So I didn't need 213 00:13:48,300 --> 00:13:51,340 anything. I basically just connected to the software or 214 00:13:51,560 --> 00:13:55,560 excuse me, server and sent the long stream and crashed. And then 215 00:13:55,560 --> 00:13:59,700 I ran it in, you know, WinDB or, you know, I can't remember what 216 00:13:59,700 --> 00:14:02,700 debugger I was using then. But install, you know, I was 217 00:14:02,700 --> 00:14:05,720 overriding some other variables, too. And I kind of backed off 218 00:14:05,720 --> 00:14:08,560 on my payload a little bit and then found out I could get, you 219 00:14:08,560 --> 00:14:14,180 know, EIP override. Easy. So all these bugs were really not 220 00:14:14,180 --> 00:14:18,180 challenging and a lot of fun. Some of them, like the integer 221 00:14:18,180 --> 00:14:21,540 bugs, were kind of, I don't know, I don't know if you've ever 222 00:14:21,560 --> 00:14:23,580 seen them. They were harder to analyze and find, I guess, 223 00:14:23,700 --> 00:14:26,840 because you can just, you know, manually send negative one, 224 00:14:26,980 --> 00:14:33,260 negative whatever, or a logic value 65536 or whatever, 65535 225 00:14:33,260 --> 00:14:39,860 whatever, and find them. But it's just really easy. And the 226 00:14:40,520 --> 00:14:44,320 reverse, or research and development findings I found, I 227 00:14:44,320 --> 00:14:49,540 probably went through the process over, I don't know, three 228 00:14:49,540 --> 00:14:51,540 or four months just on and off. I don't know how long it took me to 229 00:14:51,560 --> 00:14:53,620 look at them. I was looking at different SCADA software and 230 00:14:53,620 --> 00:14:58,120 finding vulnerabilities. And the findings ranged from, you 231 00:14:58,120 --> 00:15:01,540 know, some of them were remote code execution. Or if you look 232 00:15:01,540 --> 00:15:04,140 at file formats, it would be local. But, you know, if you 233 00:15:04,140 --> 00:15:07,480 share the file or something, it turns into remote. Or if you can 234 00:15:07,480 --> 00:15:09,440 access through a web browser, it turns into be remote anyways. 235 00:15:10,900 --> 00:15:13,700 And then to denial of service, you know, there was tons of 236 00:15:13,700 --> 00:15:17,040 denial of service bugs. Wasn't really that big a deal. Well, I 237 00:15:17,040 --> 00:15:19,960 guess it is in SCADA software. But as a security researcher, 238 00:15:20,020 --> 00:15:21,540 you really don't look at denial of service bugs. You don't look at 239 00:15:21,560 --> 00:15:24,960 denial of service of being high profile. Unless it's something 240 00:15:24,960 --> 00:15:27,400 that takes down like the entire network. But in a SCADA 241 00:15:28,040 --> 00:15:30,980 environment, if you, you know, crash the server, that's sort of 242 00:15:30,980 --> 00:15:36,340 a big deal. And then integrity lost. There was even some, you 243 00:15:36,340 --> 00:15:39,140 know, everybody thinks ActiveX bugs were dead. I even found 244 00:15:39,140 --> 00:15:42,980 some ActiveX vulnerabilities related to integrity loss, you 245 00:15:42,980 --> 00:15:45,960 know, like overriding files or changing files, deleting files, 246 00:15:46,080 --> 00:15:49,480 something like that. So they were interesting, the findings 247 00:15:50,060 --> 00:15:51,540 were. But most of them, you know, they weren't really 248 00:15:51,560 --> 00:15:56,900 well, yeah, half or at least most were led, the vulnerabilities 249 00:15:56,900 --> 00:16:02,660 led to remote code execution. So it's pretty interesting. And so 250 00:16:02,660 --> 00:16:06,760 I've talked through to the demo. And I'm going to, I've 251 00:16:06,760 --> 00:16:14,540 kind of used a lesser version of splitware. I didn't, I only 252 00:16:14,540 --> 00:16:17,320 included like, it was a slew of vulnerabilities, but I only 253 00:16:17,320 --> 00:16:19,980 included one. And kind of like removed some information. So I 254 00:16:23,400 --> 00:16:29,260 will demo that now in a virtual machine. If I can, hopefully I 255 00:16:29,260 --> 00:16:35,300 won't mess up the screen like we had earlier. Let's see. And the 256 00:16:35,300 --> 00:16:37,920 application, or the presentation won't crash out of that 257 00:16:37,920 --> 00:16:47,920 happening earlier. But so far so good. You guys can see that. 258 00:17:03,440 --> 00:17:12,680 So this is just a Windows XP service pack 3 box. And just, I 259 00:17:12,680 --> 00:17:16,580 think this is pretty much default configuration. It may be 260 00:17:16,580 --> 00:17:19,680 different in other environments, but this is just the, excuse me, 261 00:17:19,680 --> 00:17:21,540 the default. And I think this is pretty much the default 262 00:17:21,560 --> 00:17:23,660 version. And it's got all the patches, all the updates and 263 00:17:23,660 --> 00:17:26,980 everything current to maybe a week ago when I made this virtual 264 00:17:26,980 --> 00:17:35,800 machine. So splitware folder, I've kind of dimmed it, kind of 265 00:17:35,800 --> 00:17:41,100 dimmed down it, dumbed it down a little bit. But basically in the 266 00:17:41,100 --> 00:17:44,020 folder, see I'll open up the folder and show you guys real 267 00:17:44,020 --> 00:17:50,000 quick. So it's just the splitware program. And just the compiled, 268 00:17:51,560 --> 00:17:56,000 then you got pack, the pack folder which contains all the exploits in case you want to exploit. 269 00:17:57,560 --> 00:18:01,900 So and there's only one in there, you guys are probably not interested in that anyways, 270 00:18:02,080 --> 00:18:09,000 but I'll show you the exploitware. It's got the cool little header on it and then you 271 00:18:09,000 --> 00:18:14,640 got dash target for the target and I'm sure you guys can read, but you can get information 272 00:18:14,640 --> 00:18:19,620 about the exploit, run the check, you can run a certain check and I call them SPIDs, 273 00:18:21,080 --> 00:18:33,260 which had a different name before I named it exploitware, but still. Excuse me? I don't 274 00:18:33,260 --> 00:18:44,820 know how to do that, I'm sorry. What is it? Okay, properties? I'm sorry, my Windows skills 275 00:18:44,820 --> 00:18:48,080 are not, font? Yeah, makes sense. 276 00:18:56,020 --> 00:19:08,160 Okay. I'm getting less in here myself. Is that going to be appropriate? So glad to have you guys 277 00:19:08,160 --> 00:19:15,500 here, you guys are awesome. Okay. You see that good? Thank you. 278 00:19:21,380 --> 00:19:46,360 I'm just, let's, you guys really want me to change the green on black? At least my presentation is going to go maybe to the time slot, so that's cool. We can do this. Yellow, I click yellow, right? That's not going to be good. 279 00:19:49,120 --> 00:19:49,600 Yellow, I click yellow, right? That's not going to be good. 280 00:19:49,620 --> 00:19:49,660 Okay. 281 00:19:50,060 --> 00:19:50,800 Black feathers, black feathers. 282 00:19:51,200 --> 00:19:52,080 There you go. 283 00:19:53,220 --> 00:19:54,140 Yellow, yellow tags. 284 00:19:57,080 --> 00:20:00,860 I'm going to go with green. Are you serious? 285 00:20:01,160 --> 00:20:01,460 Yeah. 286 00:20:12,340 --> 00:20:19,600 I like the green because it looks cool. But you guys, alright. Yellow, I guess yellow is better on the internet. 287 00:20:19,620 --> 00:20:30,160 readings. Okay, so, exploitware. So I'll just do a couple functions of it. I'll include 288 00:20:30,160 --> 00:20:34,320 one exploit, there's many more than that. I didn't want anybody to steal my ODAY. So 289 00:20:34,320 --> 00:20:43,820 let's do this. So it just all kept in a database and hopefully I NA'd all the stuff I didn't 290 00:20:43,820 --> 00:20:50,400 want anybody to know. I think so. But I just put it in a flat file database right now and it 291 00:20:50,400 --> 00:20:56,800 just prints out status. That's not the real vendor name and product title, but I changed 292 00:20:56,800 --> 00:21:01,540 that. And then you've got vulnerability description. Just like a brief thing with it and 293 00:21:01,540 --> 00:21:08,780 the revision. If I added something on to it, .1 and all that. Made it universal. I think I 294 00:21:08,780 --> 00:21:13,800 used a DLL out of the box. I think that's what it's called. I don't know what it's called. 295 00:21:13,820 --> 00:21:18,520 But DLL. I think it's a dictionary that was included. Easy stuff. But and it's pretty much 296 00:21:18,520 --> 00:21:27,980 100%. I guess I can say 100% reliable. Something messes up. So and then I guess I can shit. 297 00:21:28,540 --> 00:21:39,940 Excuse me. I forgot how to use the up button. And then you just run the check and 298 00:21:39,940 --> 00:21:43,800 exploit it. But I've already got the vulnerable daemon running. And then you open the 299 00:21:45,820 --> 00:21:55,160 We are just going to show the auto-pwn feature. Which is awesome to me. I think every 300 00:21:56,700 --> 00:22:01,840 exploitation thing or penetration should have auto-pwn just for people. People seem to love 301 00:22:01,840 --> 00:22:09,300 that. It's odd. It's cool. I'll do the check first because I said it's not really for 302 00:22:09,300 --> 00:22:15,760 exploitation. I mean it is, but it's optional. So I'll do the check first. Shit, cannot talk. 303 00:22:19,020 --> 00:22:29,420 Check. So you can check for a specific one, but I'm just going to check for the first one. So it 304 00:22:29,420 --> 00:22:33,980 just goes through, runs a simple Windows, checks the registry for it or whatever. It says 305 00:22:33,980 --> 00:22:39,240 deployware demo is installed. Checking if it's a remote service, it can check the 306 00:22:40,100 --> 00:22:44,120 local host. It's running on the local host. I haven't done anything really cool with that, 307 00:22:44,220 --> 00:22:47,700 like version checking that much either. But this one really doesn't. This is the one where I 308 00:22:47,700 --> 00:22:53,840 just sent the long character string and it, you know, I got a ‑‑ I owned it, so it doesn't 309 00:22:53,840 --> 00:22:59,840 really have that many information stuff anyways. So my server is listening. So that's the 310 00:22:59,840 --> 00:23:05,600 check you can go through. And then we can exploit it. I'll just use auto-pwn. Local host. 311 00:23:05,740 --> 00:23:09,180 You can do this on any host. But the local host ‑‑ if you run it as local host, it will do 312 00:23:09,180 --> 00:23:14,380 do the local check too. It's got a little if whatever. But if you don't, it won't execute 313 00:23:14,380 --> 00:23:20,260 the local check. So it won't kind of ‑‑ that's common sense. But anyways. Hopefully 314 00:23:21,360 --> 00:23:30,460 autopun will work here. So I'll briefly show you the ‑‑ crap. The payload is going 315 00:23:30,460 --> 00:23:36,520 to add a user account and there should be no split account here. Great. So you just 316 00:23:36,520 --> 00:23:44,380 see the user and the ASP machine account and the guest. So hopefully that will change very 317 00:23:44,380 --> 00:23:51,280 soon. So we're going to autopun and it just ‑‑ basically just runs a Perl script with 318 00:23:51,280 --> 00:23:57,480 exploit. I named it .SP because I thought that was cool. But I don't know if it is. And 319 00:23:57,480 --> 00:24:05,780 then payload sent. And where it's an egg hunter, it may take a few seconds for it to go. So 320 00:24:05,780 --> 00:24:06,500 we'll wait a couple seconds. 321 00:24:06,500 --> 00:24:13,800 But it just sends the payload. And then you got a nice little screen that says ‑‑ in the 322 00:24:13,800 --> 00:24:19,420 real thing it says, you know, the title of the vendor and the product and everything. But in 323 00:24:19,420 --> 00:24:27,400 this, you know, it changed everything. So. And it's been a couple seconds. So let's 324 00:24:27,400 --> 00:24:36,480 check. Hopefully we should see ‑‑ okay. And we executed the code on the user account. 325 00:24:37,260 --> 00:24:45,800 And we have a nice little exploit account with the password where. So yeah, that's the demo of the 326 00:24:45,800 --> 00:24:47,440 zero day I had in the server. 327 00:24:53,680 --> 00:24:56,920 Should have done some dramatic music maybe that would have helped. I don't know. 328 00:24:57,180 --> 00:25:02,520 Everybody's like, should we clap or should we just ‑‑ it's zero day. I don't have it. 329 00:25:02,660 --> 00:25:06,480 So. Okay. But yeah, so. You can put in any questions that you have. I know I did not have that. 330 00:25:06,480 --> 00:25:08,660 whatever payload you have, I don't currently support more 331 00:25:08,660 --> 00:25:12,200 than one right now. Like I said, it's just a proof of concept 332 00:25:12,200 --> 00:25:18,280 framework. And I really haven't done that much dev on it for 333 00:25:19,920 --> 00:25:21,980 probably two or three months, except for getting this 334 00:25:21,980 --> 00:25:25,360 presentation ready. I had to change all the stuff. But yeah, 335 00:25:25,720 --> 00:25:27,680 I thought it was pretty cool to have my own framework to do 336 00:25:27,680 --> 00:25:33,880 that. So it's rock control, right? I don't think I have a 337 00:25:33,880 --> 00:25:38,860 rock control on this keyboard. Let's use this. Oh, that'll 338 00:25:38,860 --> 00:25:46,260 work. Okay. We'll leave it pwned for now. I'll restore it later. 339 00:25:51,380 --> 00:26:00,820 Okay. Everybody leaves after the demo. That's cool. So demo and I 340 00:26:00,820 --> 00:26:03,720 just had to put a few recommendations here. Vendors 341 00:26:04,740 --> 00:26:06,900 really think you should try to break it before you ship it 342 00:26:06,900 --> 00:26:10,260 because or it will get broken after you ship it. It's kind of, 343 00:26:11,320 --> 00:26:16,260 I don't know. And for the clients, I mean, I think it would 344 00:26:16,260 --> 00:26:18,620 be fair to say to do a security evaluation before you make a 345 00:26:18,620 --> 00:26:22,320 purchase because lots of the websites have free trials and 346 00:26:22,320 --> 00:26:25,840 demos for the SCADA software. You'd be surprised how many you 347 00:26:25,840 --> 00:26:28,200 could find out there just by, you know, I guess you could call 348 00:26:28,200 --> 00:26:30,780 them and tell them you want to request or something. But I 349 00:26:30,780 --> 00:26:33,120 guess you'd probably have to be in a company to do that unless 350 00:26:33,120 --> 00:26:33,860 you just wanted to do it. Yeah. Yeah. Yeah. Yeah. Yeah. Yeah. Yeah. 351 00:26:33,880 --> 00:26:36,980 I would like to. But a lot of it's just free downloads. Some 352 00:26:36,980 --> 00:26:39,280 SCADA software is just free. It's probably not that good. But 353 00:26:41,700 --> 00:26:44,500 yeah, a lot of it has got free trials like I'll be showing you 354 00:26:44,500 --> 00:26:47,280 in a second. So I just wanted to say SCADA software can be just 355 00:26:47,280 --> 00:26:50,260 as vulnerable as your typical download.com application. And 356 00:26:50,260 --> 00:26:52,140 everybody knows when you want to own something you'll go to 357 00:26:52,140 --> 00:26:55,020 download.com, download some mom and pop app and own it, which 358 00:26:55,020 --> 00:26:59,640 is if you're bored or if you can pwn something that's, you 359 00:26:59,640 --> 00:27:03,540 know, worth it, but whatever. And I just wanted to show you a 360 00:27:03,540 --> 00:27:11,980 like a page off the proficiency. You can get a free trial of the DVD program. You can get 361 00:27:11,980 --> 00:27:18,580 the free evaluations. You can check the software out before you buy it for the clients or check 362 00:27:18,580 --> 00:27:27,700 it out and find bugs in it and do presentations or something like that. So thank you. 363 00:27:33,540 --> 00:27:33,640 Thank you.