1 00:00:00,000 --> 00:00:01,820 What's going on there, DEFCON 16? 2 00:00:02,600 --> 00:00:03,740 Come on, let's hear it! 3 00:00:03,840 --> 00:00:05,000 Yeah! Come on! 4 00:00:07,040 --> 00:00:10,380 I need some audience participation. Get some shirts. 5 00:00:11,480 --> 00:00:12,420 Come on, come on. 6 00:00:12,420 --> 00:00:16,160 Get the hands up! Come on! 7 00:00:16,440 --> 00:00:17,380 Come on, let's hear it! 8 00:00:18,720 --> 00:00:20,280 Yeah, let's hear it! Woo! 9 00:00:21,540 --> 00:00:22,420 All right. 10 00:00:23,440 --> 00:00:26,240 Hey, a couple shout-outs real quick. 11 00:00:26,280 --> 00:00:29,100 We want to obviously thank DEFCON for having us up here. 12 00:00:30,180 --> 00:00:32,840 Specifically, DT. It's been a long time, but we finally made it up here. 13 00:00:32,980 --> 00:00:34,040 Appreciate you guys having us. 14 00:00:34,240 --> 00:00:35,260 Great party yesterday. 15 00:00:35,460 --> 00:00:38,140 Had a number of interesting events happen, 16 00:00:38,240 --> 00:00:40,680 so obviously Las Vegas, what happens here, stays here. 17 00:00:41,340 --> 00:00:42,860 Here's what we're going to talk about, guys. 18 00:00:43,020 --> 00:00:44,740 We're going to talk about some cool stuff that's coming out 19 00:00:44,740 --> 00:00:45,540 and some tools released. 20 00:00:46,720 --> 00:00:50,340 Talking specifically about what we can do around SQL injection. 21 00:00:50,780 --> 00:00:53,240 We're going to talk a little bit about how we're able to bypass AV 22 00:00:53,240 --> 00:00:55,860 and do some uploads to some packets 23 00:00:55,860 --> 00:00:58,540 and put some tools up on the server and see us compromise some stuff. 24 00:00:58,760 --> 00:00:59,880 Great talk before us. 25 00:01:00,000 --> 00:01:01,640 We're going to introduce the panel here. 26 00:01:05,820 --> 00:01:08,240 I'm Ken Stasiak. We're all from SecureState. 27 00:01:08,860 --> 00:01:13,940 Next to me is Dave Kennedy, Relic, author of FastTrack. 28 00:01:14,260 --> 00:01:15,300 FastTrack, anybody use it? 29 00:01:16,640 --> 00:01:17,520 In BackTrack? 30 00:01:18,460 --> 00:01:19,640 All right, all right. 31 00:01:20,540 --> 00:01:21,960 We're going to show it. 32 00:01:22,380 --> 00:01:24,760 If you haven't used it before, we're going to show it. 33 00:01:26,120 --> 00:01:28,080 Obviously, Dave's got a number of years of experience. 34 00:01:28,860 --> 00:01:29,740 Good at... 35 00:01:30,000 --> 00:01:33,480 automating the security process and putting things in place 36 00:01:33,480 --> 00:01:35,760 to allow us to efficiently do our job. 37 00:01:36,280 --> 00:01:37,220 Next to him is... 38 00:01:37,820 --> 00:01:39,420 Well, actually, I'm going to go in order here. 39 00:01:39,620 --> 00:01:40,740 We've got Scott White here. 40 00:01:41,300 --> 00:01:43,860 Scott, his expertise is web application security. 41 00:01:44,900 --> 00:01:47,220 We're going to see a lot of what he's brought through 42 00:01:47,220 --> 00:01:49,220 with his SA Exploiter. 43 00:01:49,740 --> 00:01:52,000 And then we have Andrew Weidenheimer. 44 00:01:52,300 --> 00:01:57,200 His expertise is obviously network and staying off the list. 45 00:01:59,400 --> 00:01:59,900 If... 46 00:01:59,900 --> 00:02:01,540 You guys know what the list is? 47 00:02:03,200 --> 00:02:03,580 No. 48 00:02:03,820 --> 00:02:04,200 No. 49 00:02:05,480 --> 00:02:05,940 Say it. 50 00:02:05,940 --> 00:02:06,560 Say it, dude. 51 00:02:06,640 --> 00:02:06,920 Say it. 52 00:02:07,040 --> 00:02:08,180 What's the web? 53 00:02:09,740 --> 00:02:10,940 Full disclosure there. 54 00:02:11,920 --> 00:02:13,260 Andrew wants to stay off that list. 55 00:02:13,460 --> 00:02:15,640 So if you're interested in that, come see Andrew. 56 00:02:17,540 --> 00:02:18,740 Keep me off that list. 57 00:02:19,600 --> 00:02:21,780 All right, we're going to talk about a case study here. 58 00:02:22,400 --> 00:02:25,380 And as I said, you know, SecureState, 59 00:02:25,400 --> 00:02:27,460 we're an information security company based in Cleveland, Ohio. 60 00:02:27,600 --> 00:02:28,900 What we do is ethical pen testing. 61 00:02:29,000 --> 00:02:29,740 So what you're going to find, 62 00:02:29,900 --> 00:02:33,160 is we do about 120 different pen tests a year 63 00:02:33,160 --> 00:02:34,040 for different clients, 64 00:02:34,120 --> 00:02:35,560 ranging from government all the way to commercial. 65 00:02:35,820 --> 00:02:37,160 In this specific example, 66 00:02:37,320 --> 00:02:39,680 we brought a Fortune 100 organization. 67 00:02:40,140 --> 00:02:42,920 And through the course of hacking into the organization, 68 00:02:43,160 --> 00:02:44,140 we've developed some tools 69 00:02:44,140 --> 00:02:46,080 that we thought would be pretty cool to release. 70 00:02:46,340 --> 00:02:47,940 And we're going to actually be demoing those tools 71 00:02:47,940 --> 00:02:49,540 and releasing them at the end of this presentation. 72 00:02:49,980 --> 00:02:51,940 The case study is going to actually walk through 73 00:02:51,940 --> 00:02:54,360 how we use those tools, how we developed them, 74 00:02:54,440 --> 00:02:57,440 and then specifically what you can do to use those ethically 75 00:02:57,440 --> 00:02:59,760 in your own course of penetration. 76 00:02:59,900 --> 00:03:00,180 So I'm going to walk you through the demonstration testing. 77 00:03:03,180 --> 00:03:05,820 All right, when we do the demonstrations and testings, 78 00:03:05,840 --> 00:03:07,720 the first case study is going to walk pretty quickly 79 00:03:07,720 --> 00:03:08,680 through the tools. 80 00:03:09,220 --> 00:03:10,860 We've seen a number of different presentations. 81 00:03:11,320 --> 00:03:13,560 And what we like is when we can do some high-end, 82 00:03:13,700 --> 00:03:15,860 fast demonstration of the tools. 83 00:03:16,040 --> 00:03:17,420 And then if you're interested at the end, 84 00:03:17,880 --> 00:03:20,280 getting more in-depth and more detailed to the tools themselves, 85 00:03:20,540 --> 00:03:21,440 we can actually go through that. 86 00:03:22,660 --> 00:03:24,900 And then at the end, if you haven't seen FastTrack, 87 00:03:24,980 --> 00:03:26,020 we're actually going to do a wrap-up 88 00:03:26,020 --> 00:03:28,580 and show some FastTrack with BackTrack 89 00:03:29,000 --> 00:03:29,820 embedded in that. 90 00:03:31,240 --> 00:03:32,560 What else we got there? 91 00:03:34,220 --> 00:03:34,980 One more slide. 92 00:03:36,560 --> 00:03:39,080 Has anybody saw the topic with Kurt? 93 00:03:41,320 --> 00:03:43,220 Great topic at NCLM is dead. 94 00:03:43,440 --> 00:03:46,740 And we had literally hours of fun 95 00:03:46,740 --> 00:03:49,860 talking about the Squirtle and the way that we were using it. 96 00:03:49,980 --> 00:03:51,920 So I want to just give props out to that. 97 00:03:52,240 --> 00:03:54,240 Awesome presentation from Kurt. 98 00:03:55,840 --> 00:03:56,980 And without further ado, 99 00:03:57,160 --> 00:03:58,360 we're going to start the live demonstration. 100 00:03:58,600 --> 00:03:58,980 Thank you. 101 00:04:07,340 --> 00:04:08,100 Hey, guys. 102 00:04:08,180 --> 00:04:08,540 How's it going? 103 00:04:15,880 --> 00:04:17,160 Gotta love that here. 104 00:04:17,960 --> 00:04:18,620 There it is. 105 00:04:21,540 --> 00:04:22,080 All right. 106 00:04:24,320 --> 00:04:24,880 Pick one. 107 00:04:25,480 --> 00:04:26,040 All right. 108 00:04:26,220 --> 00:04:26,780 Got it. 109 00:04:27,500 --> 00:04:27,980 All right. 110 00:04:27,980 --> 00:04:29,580 So our whole point of this presentation 111 00:04:29,580 --> 00:04:31,120 was to kind of go over what we were doing 112 00:04:31,120 --> 00:04:32,480 for a Fortune 100 company. 113 00:04:32,960 --> 00:04:34,180 And, you know, SQL injection attacks 114 00:04:34,180 --> 00:04:36,080 aren't really a new topic for most cases. 115 00:04:36,200 --> 00:04:38,180 But we did some new interesting twists here 116 00:04:38,180 --> 00:04:39,280 that we're going to release at DEF CON 117 00:04:39,680 --> 00:04:41,660 that were pretty interesting for us to do. 118 00:04:42,360 --> 00:04:43,420 And what we're going to do 119 00:04:43,420 --> 00:04:44,220 is I'm going to kind of walk through 120 00:04:44,220 --> 00:04:45,560 each one of the tools that we used, 121 00:04:45,680 --> 00:04:46,500 how we did it, 122 00:04:46,600 --> 00:04:48,340 how we got around certain challenges. 123 00:04:48,720 --> 00:04:49,700 You know, we're going to go through 124 00:04:49,700 --> 00:04:51,220 and see how we get picked up by AV. 125 00:04:51,600 --> 00:04:52,840 We're going to go ahead and bypass that. 126 00:04:52,920 --> 00:04:54,620 It's pretty much trivial for you guys to know 127 00:04:54,620 --> 00:04:56,140 to bypass any type of AV nowadays. 128 00:04:56,920 --> 00:04:58,560 So we're going to walk through all that good stuff. 129 00:04:58,560 --> 00:05:00,260 So without further ado, 130 00:05:00,380 --> 00:05:01,600 I'll kind of load up the site here that we had. 131 00:05:04,600 --> 00:05:06,400 So we got a site here that we found. 132 00:05:06,580 --> 00:05:08,340 And what we ended up doing was, you know, 133 00:05:08,360 --> 00:05:09,320 the first thing we go after 134 00:05:09,320 --> 00:05:11,040 when we do penetration tests 135 00:05:11,040 --> 00:05:13,440 are we start looking at web application layers 136 00:05:13,440 --> 00:05:14,920 because web applications are generally 137 00:05:14,920 --> 00:05:18,240 the pretty easy way to bypass into systems. 138 00:05:18,560 --> 00:05:20,280 A lot of companies invest in firewalls 139 00:05:20,280 --> 00:05:20,880 and all that great stuff. 140 00:05:21,140 --> 00:05:23,820 So, you know, our most avenue of attack 141 00:05:23,820 --> 00:05:25,020 is through the web application layer. 142 00:05:25,240 --> 00:05:26,420 And so what we did was 143 00:05:26,420 --> 00:05:27,780 we started looking through different web apps 144 00:05:27,780 --> 00:05:28,540 and identified some stuff 145 00:05:28,560 --> 00:05:29,000 like SQL injection. 146 00:05:29,400 --> 00:05:30,400 And, you know, for those, I mean, 147 00:05:30,460 --> 00:05:31,900 SQL injection is some simple stuff here. 148 00:05:32,400 --> 00:05:33,440 You know, hey, it blows up. 149 00:05:33,520 --> 00:05:34,560 We got some SQL injection here. 150 00:05:34,660 --> 00:05:35,680 We know we're good. 151 00:05:35,740 --> 00:05:36,600 We know it's there. 152 00:05:38,680 --> 00:05:41,680 So from there, we decided that we were going to see 153 00:05:41,680 --> 00:05:43,140 if it was running under DBO or SA. 154 00:05:43,360 --> 00:05:44,080 And it was. 155 00:05:44,640 --> 00:05:47,220 And from there, we decided to start going 156 00:05:47,220 --> 00:05:48,740 and attacking the underlying operating system. 157 00:05:51,460 --> 00:05:53,920 How many of you out there have heard of XP Command Shell? 158 00:05:59,520 --> 00:06:00,560 Just a few. 159 00:06:00,700 --> 00:06:01,860 I'm disappointed in you guys. 160 00:06:03,820 --> 00:06:06,860 What we're taking a look at here is the SA Exploiter. 161 00:06:07,060 --> 00:06:09,420 I started this probably a year ago 162 00:06:09,420 --> 00:06:15,120 to help automate SQL injection full compromises 163 00:06:15,120 --> 00:06:17,640 through XP Command Shell. 164 00:06:17,960 --> 00:06:20,540 Once we've identified that a web server is, 165 00:06:20,660 --> 00:06:23,000 or the SQL server is executing queries 166 00:06:23,000 --> 00:06:26,120 under, with excessive privileges, 167 00:06:27,000 --> 00:06:28,440 what we do is, 168 00:06:28,560 --> 00:06:30,980 this tool just automates typing. 169 00:06:31,480 --> 00:06:33,080 This thing is a string generator. 170 00:06:33,800 --> 00:06:34,880 What we're going to do 171 00:06:36,660 --> 00:06:37,840 is we're going to take this 172 00:06:37,840 --> 00:06:40,560 to deliver our payload. 173 00:06:41,720 --> 00:06:43,120 What's our payload going to be, Dave? 174 00:06:43,960 --> 00:06:45,780 It's a nice Metasploit shellcode right here. 175 00:06:46,500 --> 00:06:47,940 Anybody ever heard of Metasploit? 176 00:06:48,080 --> 00:06:48,640 What's that? 177 00:06:52,460 --> 00:06:53,040 Mutt's ass. 178 00:06:54,860 --> 00:06:56,220 It's a little copy and paste. 179 00:06:56,680 --> 00:06:58,520 You can do Control-C, Control-V, 180 00:06:59,540 --> 00:07:00,620 you're elite. 181 00:07:02,020 --> 00:07:04,300 Click that little format shellcode button. 182 00:07:04,460 --> 00:07:07,160 Make some pretty things over there. 183 00:07:07,340 --> 00:07:09,480 Use that binary payload checkbox. 184 00:07:11,600 --> 00:07:13,180 Generate our injection string. 185 00:07:14,960 --> 00:07:17,940 Ooh, that looks pretty complicated too. 186 00:07:19,860 --> 00:07:21,240 So, Dave, then what do we do? 187 00:07:21,500 --> 00:07:22,500 We copy that, right? 188 00:07:23,100 --> 00:07:25,220 Some more Control-C, Control-V. 189 00:07:27,280 --> 00:07:28,520 What was our Metasploit? 190 00:07:28,560 --> 00:07:29,540 What was our Metasploit shellcode that we had there? 191 00:07:30,460 --> 00:07:32,320 Metasploit shellcode was just a reverse TCP shell 192 00:07:32,320 --> 00:07:33,440 that we used through Metasploit, 193 00:07:33,440 --> 00:07:34,860 and copy and paste it. 194 00:07:35,080 --> 00:07:36,420 And what's unique about this, 195 00:07:36,520 --> 00:07:37,460 and we'll get more into detail 196 00:07:37,460 --> 00:07:39,380 once we start talking into the visual tools, 197 00:07:39,660 --> 00:07:41,200 but we successfully figured out a way to bypass 198 00:07:42,460 --> 00:07:44,700 the 64K bit limit through debug. 199 00:07:45,040 --> 00:07:46,240 So it's a nice interesting thing 200 00:07:46,240 --> 00:07:47,580 that we'll be showing you guys here in a second, 201 00:07:47,680 --> 00:07:49,620 but we'll do that more in depth here. 202 00:07:50,560 --> 00:07:52,540 So basically, it's a Windows reverse shell 203 00:07:52,540 --> 00:07:54,620 straight off of Metasploit.com. 204 00:07:55,140 --> 00:07:58,500 Copy, paste, click a button, check a checkbox, click generate. 205 00:07:58,540 --> 00:08:02,680 Copy, paste, paste, put something in for the password. 206 00:08:03,620 --> 00:08:04,260 Say go. 207 00:08:07,420 --> 00:08:07,840 Waiting. 208 00:08:08,460 --> 00:08:08,880 Waiting. 209 00:08:08,900 --> 00:08:10,400 This part's a dead time. 210 00:08:10,580 --> 00:08:14,400 So, I think I'm gonna start taking my clothes off here. 211 00:08:16,520 --> 00:08:18,980 Wait, wait, were you guys cheering for the shirt 212 00:08:18,980 --> 00:08:19,820 or taking my clothes off? 213 00:08:19,880 --> 00:08:20,240 I couldn't tell. 214 00:08:21,980 --> 00:08:22,800 Don't do that. 215 00:08:23,020 --> 00:08:23,540 Oh, what is that? 216 00:08:23,680 --> 00:08:24,100 Yeah! 217 00:08:24,960 --> 00:08:25,740 There's the shell. 218 00:08:29,180 --> 00:08:30,060 Shell number one. 219 00:08:30,680 --> 00:08:31,520 Anybody see that? 220 00:08:31,580 --> 00:08:32,420 That was an elite hack. 221 00:08:32,820 --> 00:08:34,200 Control C, Control V. 222 00:08:35,700 --> 00:08:36,260 Hard, huh? 223 00:08:37,160 --> 00:08:39,100 All right, so in this pen test, 224 00:08:39,200 --> 00:08:41,600 what we did first was we created a customer reverse TCP shell 225 00:08:41,600 --> 00:08:45,120 using assembly, and what we did was when we injected it 226 00:08:45,120 --> 00:08:48,780 into our system they were trying to attack, 227 00:08:48,980 --> 00:08:50,080 it was getting picked up by AV, 228 00:08:50,260 --> 00:08:51,540 and we'll go ahead and demonstrate that real quick. 229 00:08:57,200 --> 00:08:58,140 Not to mention, 230 00:08:58,540 --> 00:08:59,860 when we deliver our payload, 231 00:09:00,320 --> 00:09:02,340 there are no egress connections. 232 00:09:02,620 --> 00:09:05,300 We don't use TFTP, FTP, anything like that, 233 00:09:05,380 --> 00:09:06,360 and I'll talk about that later. 234 00:09:08,320 --> 00:09:12,040 So, we can be dropping our Trojan or whatever it might be 235 00:09:12,420 --> 00:09:14,800 onto the server and it never connects back to us. 236 00:09:15,260 --> 00:09:16,480 I mean, we showed that it could, 237 00:09:16,660 --> 00:09:19,980 but the payload delivery method is not required to do that. 238 00:09:24,400 --> 00:09:28,020 Okay, so what we did here is we have our custom, 239 00:09:30,540 --> 00:09:31,820 our custom EXE. 240 00:09:35,200 --> 00:09:36,060 Down at the bottom, 241 00:09:36,180 --> 00:09:37,680 and then you can change the syntax. 242 00:09:38,220 --> 00:09:38,720 Oh, sorry, thanks. 243 00:09:41,220 --> 00:09:45,020 So, basically we can deliver any custom EXE we want, 244 00:09:45,560 --> 00:09:47,540 along with Metasploit shellcode. 245 00:09:48,400 --> 00:09:50,680 So, I leave the options on this tool up to you. 246 00:09:51,740 --> 00:09:53,560 Whatever you wanna do, it doesn't matter. 247 00:09:53,720 --> 00:09:55,040 I mean, Metasploit or, you know, 248 00:09:55,080 --> 00:09:57,280 I don't know what you wanna do, what your goal is. 249 00:09:58,020 --> 00:10:01,420 different pen tests have different things that our clients want so we leave 250 00:10:01,420 --> 00:10:09,380 that in your hands so this is a custom reverse shell an AVG is up-to-date as 251 00:10:09,380 --> 00:10:16,720 you can see the signatures right here it was updated today 810 at 1 49 p.m. so 252 00:10:16,720 --> 00:10:20,140 we're all today just couldn't connect to the connection manager so right now 253 00:10:20,140 --> 00:10:22,560 we're going through and trying to deliver our payload right now it's 254 00:10:22,560 --> 00:10:25,300 dropping onto the system and we'll do it we'll show you detail steps and how 255 00:10:25,300 --> 00:10:28,220 it's doing all that but just kind of walk through it as it's going through 256 00:10:30,560 --> 00:10:33,960 just waiting for it to execute it takes a while and we also have our command 257 00:10:33,960 --> 00:10:34,780 shell run in here 258 00:10:37,180 --> 00:10:37,760 net cat 259 00:10:52,420 --> 00:10:53,700 so a B didn't 260 00:10:53,700 --> 00:10:54,100 pick it up 261 00:11:05,540 --> 00:11:10,280 so here we go some more hard stuff you can point click a button browse find 262 00:11:10,280 --> 00:11:13,080 your own executable it's about all you have to know 263 00:11:36,140 --> 00:11:38,740 again that ultra elite copy and paste 264 00:11:42,640 --> 00:11:46,960 all right so right now we're delivering it we got neck at listening and hopefully 265 00:11:46,960 --> 00:11:51,080 AVG picks it up here and we'll scan it to while we're waiting here just to show 266 00:11:51,080 --> 00:11:52,340 you that it is it should be picked up 267 00:12:00,880 --> 00:12:08,380 so we see here it does detect the malware infection found one and for some 268 00:12:08,380 --> 00:12:11,480 reason it's not going to detect on our side but anyways most instances it would 269 00:12:11,480 --> 00:12:13,940 get detected by AVG for some reason it's not picking it up we'll go ahead and 270 00:12:13,940 --> 00:12:15,580 just manually scan this thing real quick 271 00:12:16,920 --> 00:12:17,280 you 272 00:12:17,280 --> 00:12:17,480 you 273 00:12:26,500 --> 00:12:26,900 , 274 00:12:26,900 --> 00:12:30,380 are during this case they did in this pen test 275 00:12:30,800 --> 00:12:37,300 hey that's great we were getting flagged by antivirus so you guys were getting 276 00:12:37,300 --> 00:12:38,840 flagged by antivirus what would you do 277 00:12:42,420 --> 00:12:47,320 or you could just use a tool that we developed to get around it and so what we did was we 278 00:12:47,320 --> 00:12:51,640 figured you would took out we took all the antivirus signatures out there like AVG Symantec McAfee not 32 279 00:12:51,640 --> 00:12:52,320 Casperia, 280 00:12:52,340 --> 00:12:52,480 Berski 281 00:12:52,480 --> 00:12:55,040 and we created a smart database out of it 282 00:12:55,400 --> 00:12:59,880 and through their what we do is we look at what antivirus signatures are flagging on in a specific binary 283 00:12:59,880 --> 00:13:02,860 it's actually looking at what antivirus is detecting 284 00:13:03,400 --> 00:13:06,540 and then it makes changes to that binary and automatically rewrites it for you 285 00:13:06,540 --> 00:13:07,820 to completely bypass it 286 00:13:07,820 --> 00:13:12,940 it starts out very simple just looking at instructions looking at you know different characters that it might go 287 00:13:12,940 --> 00:13:17,420 and if it fails it keeps going further and further until it does a custom packer or on various 288 00:13:17,420 --> 00:13:17,920 encryptions 289 00:13:18,400 --> 00:13:21,800 so what we end up doing from that perspective is this tool that we're we're gonna be releasing, 290 00:13:22,340 --> 00:13:24,040 it goes through and automatically detects that, 291 00:13:24,200 --> 00:13:25,300 and I'll go ahead and show you that right now. 292 00:13:29,140 --> 00:13:30,940 Generally, when we do our pen tests, 293 00:13:31,440 --> 00:13:33,160 we don't use automated tools. 294 00:13:33,460 --> 00:13:35,000 Well, I mean, we do use automated tools, 295 00:13:35,120 --> 00:13:36,760 but for a lot of times, 296 00:13:37,320 --> 00:13:39,180 we find that writing our own is a lot easier. 297 00:13:39,880 --> 00:13:41,460 So we go into this tainted folder here. 298 00:13:41,520 --> 00:13:43,380 You can see we got Netcat, we got PWDump, 299 00:13:43,380 --> 00:13:44,640 and we got our custom reverse shell here. 300 00:13:45,240 --> 00:13:46,540 So we're going to look at this reverse shell, 301 00:13:46,660 --> 00:13:48,020 and we're going to scan it with AVG. 302 00:13:50,180 --> 00:13:51,340 That pops up as infected. 303 00:13:51,340 --> 00:13:53,520 We do the same thing with PWDump. 304 00:13:57,620 --> 00:13:57,960 Infection. 305 00:13:59,080 --> 00:13:59,420 Okay. 306 00:14:00,520 --> 00:14:01,440 And then we got Netcat. 307 00:14:03,000 --> 00:14:06,020 Thank you, AVG, for flagging a very legitimate tool. 308 00:14:06,220 --> 00:14:06,820 Ha ha. 309 00:14:07,600 --> 00:14:08,140 Netcat's taken. 310 00:14:08,480 --> 00:14:10,080 So what we're going to do is we're going to take our tool, 311 00:14:11,080 --> 00:14:12,320 and really it's a brute forcer. 312 00:14:12,420 --> 00:14:14,080 I mean, we're looking at what AVG's flagging, 313 00:14:14,080 --> 00:14:15,080 and we keep trying different patterns. 314 00:14:15,660 --> 00:14:17,080 So what do we got to get around right now? 315 00:14:17,240 --> 00:14:18,720 NOT32 is still currently untested, 316 00:14:18,800 --> 00:14:21,220 but right now we got Symantec, McAfee, and AVG in there. 317 00:14:21,340 --> 00:14:22,920 Since we have AVG on the system here, 318 00:14:23,000 --> 00:14:23,760 we're going to go ahead and run that. 319 00:14:24,260 --> 00:14:25,340 So you select AVG. 320 00:14:26,000 --> 00:14:26,840 And what are we going to do? 321 00:14:26,900 --> 00:14:27,680 We're going to do the reverse shell. 322 00:14:28,460 --> 00:14:29,000 Hit 1. 323 00:14:30,020 --> 00:14:31,300 It's looking for instruction signatures. 324 00:14:31,620 --> 00:14:33,200 And if you look at what it's going to find, 325 00:14:33,720 --> 00:14:35,420 and you see the instructions found, 326 00:14:35,520 --> 00:14:37,980 it found that AVG's specifically flagging on 327 00:14:37,980 --> 00:14:40,360 the offset 00400158. 328 00:14:40,660 --> 00:14:43,360 So it's automatically going to recommend to you 329 00:14:43,360 --> 00:14:44,620 to change it to get past it. 330 00:14:44,840 --> 00:14:47,740 So do you want us to redo the actual binary itself? 331 00:14:47,860 --> 00:14:48,020 Sure. 332 00:14:48,360 --> 00:14:48,700 Yes. 333 00:14:50,380 --> 00:14:50,720 Copied. 334 00:14:51,820 --> 00:14:52,220 Done. 335 00:14:55,180 --> 00:14:58,140 Again, another one of those extremely hard things to do. 336 00:14:58,220 --> 00:14:59,020 Can you type numbers? 337 00:15:00,300 --> 00:15:01,800 All right, so scan with AVG. 338 00:15:02,900 --> 00:15:04,260 See here, no viruses came back. 339 00:15:04,780 --> 00:15:05,540 How about that? 340 00:15:13,240 --> 00:15:15,900 Like I said, we're all about automating. 341 00:15:16,340 --> 00:15:19,120 At the end, you're going to see the big one. 342 00:15:21,500 --> 00:15:23,400 So now that we've successfully bypassed it, 343 00:15:23,560 --> 00:15:25,660 we go ahead and deliver our payload like you saw before, 344 00:15:25,740 --> 00:15:27,260 getting a reverse command shell to the system. 345 00:15:27,800 --> 00:15:28,820 Now, what we're going to do is, 346 00:15:29,780 --> 00:15:32,760 since we are talking about malicious code 347 00:15:33,360 --> 00:15:34,540 being on the system, 348 00:15:35,120 --> 00:15:36,100 what we had to do was, 349 00:15:36,120 --> 00:15:37,800 and to the client, was go on there and say, 350 00:15:37,900 --> 00:15:39,300 well, hey, how do I go on here 351 00:15:39,300 --> 00:15:40,760 and look at what's going on? 352 00:15:41,040 --> 00:15:43,040 So we're going to go ahead and execute our command shell 353 00:15:43,040 --> 00:15:45,720 again through Automator. 354 00:15:47,560 --> 00:15:48,920 And we'll walk through all the functions, 355 00:15:49,060 --> 00:15:50,800 but you can do things like turn on XP command shell 356 00:15:50,800 --> 00:15:51,180 if it's disabled. 357 00:15:51,180 --> 00:15:54,560 Yeah, we'll take a more in-depth look at this later. 358 00:15:54,740 --> 00:15:54,920 Right. 359 00:16:04,660 --> 00:16:06,280 So the client really wanted to know, 360 00:16:06,340 --> 00:16:08,060 if we were breached, 361 00:16:09,360 --> 00:16:11,520 walk us through what you do to find it. 362 00:16:12,840 --> 00:16:14,140 They didn't understand, 363 00:16:15,260 --> 00:16:17,280 and they had no idea where to start. 364 00:16:17,980 --> 00:16:19,700 So we helped them out with this. 365 00:16:21,280 --> 00:16:23,240 And while Dave's getting this set up here, 366 00:16:23,920 --> 00:16:25,520 they really wanted to understand 367 00:16:25,520 --> 00:16:29,300 to really push it to the upper level execs, 368 00:16:29,960 --> 00:16:31,400 what can be done, 369 00:16:31,560 --> 00:16:32,940 what we're able to do, 370 00:16:33,120 --> 00:16:35,920 and also educate them at the same time. 371 00:16:36,320 --> 00:16:37,900 Very important during pen tests 372 00:16:37,900 --> 00:16:38,860 is the knowledge transfer. 373 00:16:39,340 --> 00:16:42,680 So our clients understand what we're doing, 374 00:16:42,780 --> 00:16:43,840 what the importance of it is, 375 00:16:44,340 --> 00:16:47,220 and if they can do Control-C, Control-V, 376 00:16:47,440 --> 00:16:48,540 they can do the same thing. 377 00:16:51,180 --> 00:16:51,800 So we're just going to wait 378 00:16:51,800 --> 00:16:53,140 for the established connection to hit again. 379 00:16:53,900 --> 00:16:54,880 And then on this side, 380 00:16:55,440 --> 00:16:57,080 we're going to go ahead and get our tools ready. 381 00:16:57,480 --> 00:17:00,500 Now we've created a new tool called DLL Spy 382 00:17:00,500 --> 00:17:02,340 that looks at what DLLs are being used. 383 00:17:02,420 --> 00:17:03,160 It's actually pretty simple. 384 00:17:03,500 --> 00:17:04,980 But what we're going to do is just look at 385 00:17:04,980 --> 00:17:07,400 a very high level of what we'd be doing. 386 00:17:07,720 --> 00:17:08,920 So now we've got a command shell again. 387 00:17:08,960 --> 00:17:09,680 We have established connections. 388 00:17:09,900 --> 00:17:11,260 So what's the first thing someone's going to do 389 00:17:11,260 --> 00:17:11,900 that we're going to do next to that? 390 00:17:21,280 --> 00:17:23,040 So we can see here we've got a TCP established 391 00:17:23,040 --> 00:17:24,400 to this person on 4444. 392 00:17:24,660 --> 00:17:25,260 All right, great. 393 00:17:25,340 --> 00:17:27,360 Let's take a peek at what's going on in TCP view. 394 00:17:28,640 --> 00:17:29,580 All right, it looks good. 395 00:17:29,960 --> 00:17:30,360 Standard. 396 00:17:31,420 --> 00:17:32,420 This is kind of interesting. 397 00:17:33,500 --> 00:17:34,580 System process zero. 398 00:17:37,360 --> 00:17:37,760 Okay. 399 00:17:39,600 --> 00:17:40,660 It's kind of weird. 400 00:17:43,520 --> 00:17:44,820 So what we're going to do is 401 00:17:45,560 --> 00:17:47,740 open process explorer and try to look at that process. 402 00:17:50,760 --> 00:17:51,160 Process. 403 00:17:51,180 --> 00:17:52,000 Huh, it's not showing up. 404 00:17:52,900 --> 00:17:53,500 That's weird. 405 00:17:54,360 --> 00:17:55,160 If you look here, 406 00:17:55,300 --> 00:17:56,780 how many command shells do I have open here? 407 00:17:56,840 --> 00:17:57,220 I have one. 408 00:17:59,760 --> 00:18:00,700 Showing a two open. 409 00:18:03,200 --> 00:18:04,040 That's kind of strange. 410 00:18:11,640 --> 00:18:12,500 So that looks legit. 411 00:18:17,280 --> 00:18:18,760 Let's just go into command.exe. 412 00:18:18,780 --> 00:18:19,600 Yeah, that's kind of weird. 413 00:18:24,420 --> 00:18:26,020 It's hooking into moo.exe. 414 00:18:26,140 --> 00:18:26,640 So there we go. 415 00:18:26,720 --> 00:18:27,840 We got something weird. 416 00:18:27,920 --> 00:18:28,880 So we can do DLL spy. 417 00:18:31,160 --> 00:18:32,000 Browse that directory. 418 00:18:41,020 --> 00:18:43,580 You ever heard of a legit Windows program called Moo? 419 00:18:45,460 --> 00:18:47,960 So we see it's using a bunch of different types of DLLs. 420 00:18:47,960 --> 00:18:50,640 And in those, we have a lot of network sockets. 421 00:18:50,820 --> 00:18:51,160 We have a lot of network sockets. 422 00:18:51,180 --> 00:18:52,560 We got a bunch of different things that it's connecting to. 423 00:18:52,640 --> 00:18:54,540 So we know for sure this is probably our malicious code. 424 00:18:55,180 --> 00:18:57,220 So being able to detect it, good. 425 00:18:57,280 --> 00:18:57,700 Great stuff. 426 00:18:58,260 --> 00:18:58,700 Fine. 427 00:19:03,760 --> 00:19:04,420 All right. 428 00:19:04,520 --> 00:19:06,860 Let's go into the actual features itself of this tool. 429 00:19:07,720 --> 00:19:10,280 And FastTrack itself, when we go into FastTrack itself, 430 00:19:10,520 --> 00:19:13,340 it really is an automated way of breaking into SQL injection. 431 00:19:13,580 --> 00:19:14,460 What you guys will see is 432 00:19:14,460 --> 00:19:16,380 you can automatically scan subnets, 433 00:19:16,480 --> 00:19:18,380 crawl websites, look for SQL injection, 434 00:19:18,660 --> 00:19:20,040 automatically attack it, 435 00:19:20,120 --> 00:19:20,900 try fuzzing it. 436 00:19:20,900 --> 00:19:23,520 And they actually bypass and do string completion 437 00:19:23,520 --> 00:19:24,940 on SQL injection. 438 00:19:25,100 --> 00:19:26,260 Automatically give you some really cool stuff, 439 00:19:26,400 --> 00:19:28,260 including some reverse GUIs that we'll demo. 440 00:19:28,460 --> 00:19:30,080 But we're going to get into Scott's tool here. 441 00:19:30,300 --> 00:19:31,620 He's going to go through each one of these, 442 00:19:31,840 --> 00:19:33,280 kind of walk you through what you're doing. 443 00:19:44,080 --> 00:19:44,700 All right. 444 00:19:44,780 --> 00:19:47,080 So we're going to take a look at the SA exploiter here. 445 00:19:48,320 --> 00:19:49,140 First of all, 446 00:19:49,960 --> 00:19:50,880 there's a lot of goals. 447 00:19:50,880 --> 00:19:52,340 Within this tool, we'll talk about those. 448 00:19:52,560 --> 00:19:54,760 But the current state of SQL injection tools, 449 00:19:56,200 --> 00:19:57,400 I really don't like it. 450 00:19:57,680 --> 00:19:59,080 Got all these tools out there. 451 00:19:59,260 --> 00:20:00,300 Everybody says they work. 452 00:20:00,760 --> 00:20:01,900 Most of them don't. 453 00:20:01,940 --> 00:20:03,260 Everything automates it for you. 454 00:20:04,340 --> 00:20:06,080 Well, there's more to it than point and click. 455 00:20:07,260 --> 00:20:09,180 This tool is made specifically 456 00:20:09,680 --> 00:20:12,420 for exploiting Microsoft SQL servers 457 00:20:12,900 --> 00:20:15,200 running under SA or those privileges, DBO, 458 00:20:15,440 --> 00:20:16,580 as some of you may know. 459 00:20:18,580 --> 00:20:20,440 It kind of made me mad with all these tools. 460 00:20:20,500 --> 00:20:20,860 I don't like them. 461 00:20:20,860 --> 00:20:24,360 I don't like all these things that we're going to automate 462 00:20:24,360 --> 00:20:25,480 SQL injection and we're going to do that. 463 00:20:25,560 --> 00:20:26,520 It does everything for you. 464 00:20:26,640 --> 00:20:27,540 Well, a lot of the things, 465 00:20:27,760 --> 00:20:30,720 I mean, my tool collection is rather small for SQL. 466 00:20:30,820 --> 00:20:32,780 I choose to do it manually 467 00:20:32,780 --> 00:20:34,780 because I find that's a lot better 468 00:20:34,780 --> 00:20:39,180 and this tool is geared towards that. 469 00:20:39,840 --> 00:20:41,940 I would like to mention SQL Ninja. 470 00:20:42,400 --> 00:20:45,120 It is probably one of the best ones out there. 471 00:20:47,200 --> 00:20:49,760 Unfortunately, for beginners or script kiddies, 472 00:20:49,780 --> 00:20:50,640 whatever you might, 473 00:20:50,860 --> 00:20:51,320 call yourself. 474 00:20:53,440 --> 00:20:54,580 It's only for Linux. 475 00:20:54,780 --> 00:20:55,940 It's a command line. 476 00:20:57,860 --> 00:20:59,960 It has features like file transfer 477 00:21:00,780 --> 00:21:04,700 and it uses Netcat to do that. 478 00:21:05,520 --> 00:21:06,440 What's wrong with that? 479 00:21:07,060 --> 00:21:08,400 What if we have egress filtering? 480 00:21:10,080 --> 00:21:11,140 That's going to be a problem. 481 00:21:11,280 --> 00:21:12,580 I still want to get my stuff up there. 482 00:21:12,980 --> 00:21:15,260 I find something that's going to stop me, 483 00:21:15,320 --> 00:21:16,260 I'm going to get around it. 484 00:21:16,440 --> 00:21:18,140 So, hackers are persistent. 485 00:21:18,640 --> 00:21:19,200 Good night. 486 00:21:20,920 --> 00:21:21,480 SQL man. 487 00:21:22,100 --> 00:21:23,000 And plus, you know, 488 00:21:23,540 --> 00:21:26,460 Netcat also gets flagged by 90% of the antiviruses 489 00:21:26,460 --> 00:21:26,900 out there as well. 490 00:21:27,020 --> 00:21:28,640 So, when you drop a Netcat on there, 491 00:21:28,740 --> 00:21:29,240 good stuff. 492 00:21:31,320 --> 00:21:32,880 So, like I said, 493 00:21:32,920 --> 00:21:34,360 most tools try to automate things. 494 00:21:35,940 --> 00:21:37,840 I still believe manual is the way to go. 495 00:21:38,000 --> 00:21:39,520 You have more control over what you're doing, 496 00:21:39,660 --> 00:21:41,020 not as noisy, things like that. 497 00:21:45,440 --> 00:21:47,000 After doing a whole lot of typing, 498 00:21:47,380 --> 00:21:48,040 like I said, 499 00:21:48,060 --> 00:21:49,940 this is why the tool came out. 500 00:21:52,380 --> 00:21:54,360 The tool that you're looking at is a string generator. 501 00:21:54,540 --> 00:21:55,120 That's all it is. 502 00:21:56,220 --> 00:21:58,440 We just generate the engine string. 503 00:21:59,000 --> 00:22:00,500 That's the main function of this tool. 504 00:22:01,060 --> 00:22:01,840 Why is it nice? 505 00:22:01,980 --> 00:22:03,760 We don't have to remember all the SQL syntax. 506 00:22:04,980 --> 00:22:06,420 There's obviously a lot in there 507 00:22:06,420 --> 00:22:10,480 and not everybody's an expert in every area. 508 00:22:11,620 --> 00:22:13,280 My original plans were to do everything 509 00:22:13,280 --> 00:22:14,300 in SQL Server on memory. 510 00:22:15,280 --> 00:22:16,900 Microsoft has some nice limitations. 511 00:22:17,740 --> 00:22:20,300 For example, you can have up to 512 00:22:20,300 --> 00:22:23,300 an 8,000-character string literal and that's it. 513 00:22:24,080 --> 00:22:25,220 So, why is that an issue? 514 00:22:25,620 --> 00:22:26,980 You can obviously see that we have 515 00:22:26,980 --> 00:22:28,320 a whole bunch of other things on here. 516 00:22:29,780 --> 00:22:31,580 So, ran into some roadblocks, 517 00:22:32,480 --> 00:22:35,200 went back to square one and changed the plans. 518 00:22:36,360 --> 00:22:40,600 There's a lot of issues with double and triple nested, 519 00:22:41,060 --> 00:22:43,760 single and double quotes, things like that. 520 00:22:43,880 --> 00:22:45,880 Again, why we want to be all manual. 521 00:22:48,340 --> 00:22:49,660 A few of the requirements, 522 00:22:49,660 --> 00:22:50,920 when I was writing this tool, 523 00:22:51,640 --> 00:22:53,520 we are ethical pen testers. 524 00:22:54,360 --> 00:22:56,560 Our requirements are a lot more stringent 525 00:22:56,560 --> 00:22:59,220 than your malicious hackers. 526 00:23:00,620 --> 00:23:03,160 With our databases and our attacks, 527 00:23:03,920 --> 00:23:05,080 generally our clients, 528 00:23:05,220 --> 00:23:06,720 if we're doing this in a production world, 529 00:23:07,360 --> 00:23:10,320 they want to keep the integrity of their database. 530 00:23:10,600 --> 00:23:11,480 So, what's that mean? 531 00:23:11,700 --> 00:23:13,460 That means, as a pen tester, 532 00:23:13,620 --> 00:23:16,300 I cannot update, delete, modify any kind of data. 533 00:23:19,660 --> 00:23:23,080 You have to create stored procedures or tables 534 00:23:23,080 --> 00:23:24,660 or things like that for a lot of the known ways 535 00:23:24,660 --> 00:23:25,200 that are out there. 536 00:23:25,640 --> 00:23:28,000 So, I said, well, we're not gonna do that. 537 00:23:28,400 --> 00:23:29,760 So, a couple of the requirements. 538 00:23:30,960 --> 00:23:34,220 Absolutely must not require an egress connection 539 00:23:35,240 --> 00:23:36,800 using FTP or TFTP. 540 00:23:37,600 --> 00:23:38,040 Why? 541 00:23:38,260 --> 00:23:42,220 Well, that's a known way that people do it 542 00:23:42,860 --> 00:23:47,140 and we want to be better than that. 543 00:23:48,000 --> 00:23:49,560 It must be easy to use. 544 00:23:49,560 --> 00:23:50,660 We already showed you. 545 00:23:50,700 --> 00:23:53,880 You can do control C, copy, paste, you can do it. 546 00:23:55,120 --> 00:23:58,680 Within Windows debug, we already talked about that, 547 00:23:58,880 --> 00:24:02,980 you can convert hexadecimal stuff to binary. 548 00:24:04,180 --> 00:24:07,880 Like Dave said, we have a 64K limit with that. 549 00:24:08,060 --> 00:24:08,980 How many people knew that? 550 00:24:10,640 --> 00:24:11,580 Not very many. 551 00:24:11,780 --> 00:24:12,780 Who likes limits? 552 00:24:13,620 --> 00:24:14,320 Not me. 553 00:24:16,320 --> 00:24:17,820 64K, no longer. 554 00:24:19,040 --> 00:24:20,880 We're gonna show you how to get around that today. 555 00:24:21,700 --> 00:24:25,360 So, our file transfer, so long, Windows debug. 556 00:24:26,240 --> 00:24:28,140 And generally when you're attacking systems, 557 00:24:28,420 --> 00:24:30,440 generally when someone compromises a system, 558 00:24:30,500 --> 00:24:31,440 they throw a stager on there, 559 00:24:31,560 --> 00:24:34,320 which does a get to more files 560 00:24:34,320 --> 00:24:37,060 or does some sort of file transfer like SQL Ninja does 561 00:24:37,060 --> 00:24:40,440 for file transfers back and forth via Netcat. 562 00:24:40,840 --> 00:24:41,720 With this new attack, 563 00:24:41,840 --> 00:24:43,360 we don't have to do any type of things like that. 564 00:24:43,480 --> 00:24:45,300 It's not using any type of egress connections 565 00:24:45,300 --> 00:24:46,220 or file transfers. 566 00:24:46,260 --> 00:24:47,200 We do it all through SQL. 567 00:24:47,820 --> 00:24:48,500 So, it's pretty slick. 568 00:24:51,400 --> 00:24:52,700 Like I said before, everything, 569 00:24:53,140 --> 00:24:55,520 I like to leave the options to your hands. 570 00:24:55,700 --> 00:24:58,860 I don't like these tools that go out there and do something 571 00:24:58,860 --> 00:25:00,080 and I have no idea what it's doing. 572 00:25:00,420 --> 00:25:02,820 So, all the options on here are for your convenience. 573 00:25:03,980 --> 00:25:07,000 Things like Metasploit, we have all that shellcode out there, 574 00:25:07,360 --> 00:25:09,120 or the shellcode generator. 575 00:25:09,780 --> 00:25:10,980 I don't care what you do. 576 00:25:11,140 --> 00:25:12,300 I'd leave that option up to you. 577 00:25:12,460 --> 00:25:14,520 We have Metasploit out there, so let's utilize it. 578 00:25:14,600 --> 00:25:15,120 So, I did. 579 00:25:17,820 --> 00:25:20,560 What we're gonna talk about next is how we actually 580 00:25:20,560 --> 00:25:21,880 transfer our payload over. 581 00:25:22,880 --> 00:25:25,460 This is a new technique that to my knowledge 582 00:25:25,460 --> 00:25:26,320 nobody else has done. 583 00:25:26,540 --> 00:25:28,920 This helps us bypass that 64K limit. 584 00:25:30,220 --> 00:25:34,520 Pretty much what we do is we're gonna use Windows debug 585 00:25:34,520 --> 00:25:38,320 to transfer over a small executable. 586 00:25:38,440 --> 00:25:39,720 It's about 5K. 587 00:25:41,340 --> 00:25:43,900 And we're gonna use Windows debug to put that over there. 588 00:25:44,300 --> 00:25:47,160 Pretty much you echo hexadecimal, 589 00:25:48,160 --> 00:25:52,100 representation of my custom file that I wrote. 590 00:25:52,280 --> 00:25:53,480 And we're gonna get that over there. 591 00:25:53,580 --> 00:25:54,980 And we're gonna have a custom binary 592 00:25:54,980 --> 00:25:56,540 over on the system that's 5K. 593 00:25:56,820 --> 00:25:57,760 What does that do? 594 00:25:58,960 --> 00:26:00,520 It's a hex to binary converter. 595 00:26:01,500 --> 00:26:02,280 What's that mean? 596 00:26:02,500 --> 00:26:06,040 What we can do now is echo as much hexadecimal stuff 597 00:26:06,040 --> 00:26:10,020 we want to into a text file, tell it to go at it, 598 00:26:10,060 --> 00:26:12,300 and it'll convert all that to binary. 599 00:26:13,560 --> 00:26:14,620 But there's no limitations. 600 00:26:15,400 --> 00:26:17,000 We don't have that 64K limit. 601 00:26:17,360 --> 00:26:17,800 64K. 602 00:26:17,820 --> 00:26:18,120 There's no 64K limitation. 603 00:26:21,220 --> 00:26:23,420 So, first thing we're gonna do is echo text 604 00:26:23,420 --> 00:26:24,200 into that text file. 605 00:26:24,300 --> 00:26:26,980 Use Windows debug to get our custom converter over there. 606 00:26:28,940 --> 00:26:33,480 We're gonna echo the custom, or excuse me, 607 00:26:34,980 --> 00:26:38,000 our hex values for our payload, whatever it is, 608 00:26:38,060 --> 00:26:42,500 whether it's your custom Trojan or your Metasploit code. 609 00:26:42,740 --> 00:26:44,400 Pretty much we just put Metasploit code 610 00:26:44,400 --> 00:26:46,460 in an EXE stub in a wrapper. 611 00:26:47,820 --> 00:26:50,220 And whatever it is, we're gonna echo that hex 612 00:26:50,220 --> 00:26:52,120 over into the text file. 613 00:26:52,300 --> 00:26:54,200 We use our custom converter to convert it, 614 00:26:54,320 --> 00:26:58,460 and then we can execute it, do whatever we want. 615 00:26:58,720 --> 00:26:59,540 So, let's show this. 616 00:27:03,140 --> 00:27:07,820 We're going to use Metasploit shellcode. 617 00:27:20,020 --> 00:27:27,060 Again, copy-paste, format shellcode, just preps it for me. 618 00:27:27,160 --> 00:27:28,120 You can use it with anything you want. 619 00:27:28,240 --> 00:27:33,440 Any custom binary, interpreter VNC inject, Metasploit VNC inject, 620 00:27:33,480 --> 00:27:35,980 interpreter, counsel, anything you want to at this point. 621 00:27:36,180 --> 00:27:37,220 So, again, there's no limit. 622 00:27:37,360 --> 00:27:39,140 I mean, if you want to upload two gigs, it might take an hour 623 00:27:39,140 --> 00:27:42,300 for it to compile it back to an executable, but at this point, 624 00:27:42,340 --> 00:27:42,680 there's no limit. 625 00:27:43,140 --> 00:27:46,540 Yeah, and these colors are a little off for some reason. 626 00:27:47,300 --> 00:27:47,800 They don't look good. 627 00:27:47,800 --> 00:27:49,120 They don't look like this normally. 628 00:27:50,020 --> 00:27:52,320 So, we want to use the checkbox here, use binary payload, 629 00:27:52,520 --> 00:27:53,520 because we did that over here. 630 00:27:54,240 --> 00:27:55,520 And we're gonna say generate. 631 00:27:57,740 --> 00:28:02,460 And we can see that there's a lot of stuff going on here. 632 00:28:03,900 --> 00:28:06,160 Basically, all we're doing is piggybacking commands 633 00:28:06,160 --> 00:28:08,840 onto the SQL server, a whole bunch of them in a row. 634 00:28:10,280 --> 00:28:13,080 We really don't care how long it takes, 635 00:28:13,560 --> 00:28:14,980 because it's all gonna be queued up. 636 00:28:17,140 --> 00:28:17,780 And what's gonna happen is, 637 00:28:17,800 --> 00:28:19,220 what we've got to demonstrate right now is the POST method. 638 00:28:19,460 --> 00:28:20,480 Obviously, if you're using GET, 639 00:28:20,580 --> 00:28:21,640 you're gonna have to split this up a bit. 640 00:28:22,300 --> 00:28:25,020 When we show FastTrack, it does automatically detect 641 00:28:25,020 --> 00:28:27,180 if you're using POST-GET and splits it up into chunks, 642 00:28:27,380 --> 00:28:29,720 so that, you know, you can get around any POST or GET restrictions. 643 00:28:53,420 --> 00:28:54,140 There we go. 644 00:28:55,180 --> 00:28:56,420 Sorry, not a Mac user. 645 00:28:59,160 --> 00:28:59,900 Your loss. 646 00:29:00,540 --> 00:29:03,380 So, we have a reverse shell, shell code here. 647 00:29:07,220 --> 00:29:08,980 And we need to get Netcat listening, 648 00:29:10,760 --> 00:29:11,620 which, ah... 649 00:29:26,240 --> 00:29:27,660 Okay, so now we have Netcat listening. 650 00:29:31,560 --> 00:29:32,080 Say go. 651 00:29:36,920 --> 00:29:38,300 If you look over here on our server, 652 00:29:38,460 --> 00:29:39,940 I mean, it's going to spike up quite a bit. 653 00:29:41,380 --> 00:29:42,680 Now we're using 100% CPU, 654 00:29:42,840 --> 00:29:44,020 and that's when it's doing the debug conversion 655 00:29:44,020 --> 00:29:46,140 as well as when it's taking all of that 656 00:29:47,580 --> 00:29:49,660 hexadecimal code and converting it back into binary. 657 00:29:56,720 --> 00:29:58,340 And there's the shell for us. 658 00:29:58,840 --> 00:30:00,760 So copy and paste Metasploit shell code, 659 00:30:00,980 --> 00:30:03,260 SQL injection, it's up to you. 660 00:30:03,900 --> 00:30:07,360 To my knowledge, no other tool can do this. 661 00:30:07,440 --> 00:30:12,380 SQL Ninja can do interpreter and BNC DLL injection, 662 00:30:13,020 --> 00:30:15,300 but to my knowledge, nobody else can do this. 663 00:30:17,000 --> 00:30:19,120 So that's how you do it with Metasploit shell code. 664 00:30:19,460 --> 00:30:23,120 Now we're going to show you how to do it with custom EXE. 665 00:30:42,680 --> 00:30:43,820 Okay, this is our custom. 666 00:30:47,380 --> 00:30:49,440 This is our custom reverse shell that we wrote. 667 00:30:52,880 --> 00:30:54,820 Use binary payload, generate. 668 00:31:16,620 --> 00:31:18,440 You just need to add a port and an IP address. 669 00:31:23,460 --> 00:31:24,720 And we say go. 670 00:31:36,040 --> 00:31:38,000 And our server is converting it. 671 00:31:39,660 --> 00:31:45,660 Sometimes depending upon the size of your payload, it can take up to five or ten minutes. 672 00:31:45,900 --> 00:31:47,740 I mean, if you put a huge file up there. 673 00:31:48,440 --> 00:31:52,080 That's going to be a lot of IO for the system to do. 674 00:31:52,640 --> 00:31:58,940 So whether we use Metasploit shell code or your own custom EXE, this shows you pretty 675 00:31:58,940 --> 00:32:01,400 much what the capabilities are. 676 00:32:02,640 --> 00:32:05,700 There's other options within the tool. 677 00:32:07,460 --> 00:32:11,160 These ones are pretty much well known. 678 00:32:11,660 --> 00:32:15,960 We have options to turn on XP command shell if you believe it's turned off. 679 00:32:16,900 --> 00:32:18,420 We can add a local server. 680 00:32:18,440 --> 00:32:18,940 We can add a local user account. 681 00:32:19,520 --> 00:32:22,380 Pretty much automate a lot of things we might want to do. 682 00:32:22,480 --> 00:32:24,500 Disable firewalls, antivirus. 683 00:32:25,020 --> 00:32:26,900 We can connect back via FTP. 684 00:32:28,380 --> 00:32:33,640 Pretty much automates SQL injection running under SA. 685 00:32:34,560 --> 00:32:39,580 The main features that we wanted to show you though is the Metasploit shell code and the 686 00:32:40,580 --> 00:32:42,080 binary payload transfer. 687 00:32:45,440 --> 00:32:47,200 There's other options to it as well. 688 00:32:48,320 --> 00:32:51,860 The blind fuzz list generator. 689 00:32:53,800 --> 00:33:00,060 If we have things being displayed back to the screen, we're not really sure what the 690 00:33:00,060 --> 00:33:03,340 different types of data are that are being presented back. 691 00:33:03,600 --> 00:33:07,860 Basically, it's just going to generate a fuzz list with different types and you can 692 00:33:07,860 --> 00:33:13,360 put that through like web scarab through the fuzzer in there and go through and see when 693 00:33:13,360 --> 00:33:14,460 you get the correct data back. 694 00:33:14,680 --> 00:33:16,220 Pretty much we're just automating it. 695 00:33:16,700 --> 00:33:17,180 Go ahead. 696 00:33:18,280 --> 00:33:21,780 There is an auto-exploit option if you have it in the get request. 697 00:33:22,280 --> 00:33:25,640 Depending upon the web server, most of the get requests are going to have limitations 698 00:33:25,640 --> 00:33:26,720 for how long they're going to be. 699 00:33:26,900 --> 00:33:31,780 So that's going to be, you're going to have to split up your injection which could be 700 00:33:31,780 --> 00:33:33,060 very long as we can see here. 701 00:33:33,620 --> 00:33:35,960 And Dave and Andrew will talk about that later. 702 00:33:42,400 --> 00:33:43,000 All right. 703 00:33:43,060 --> 00:33:44,920 So that's the SA exploiter. 704 00:33:45,380 --> 00:33:47,180 Towards the end of the presentation, we'll open it up for questions. 705 00:33:47,200 --> 00:33:52,000 We'll let you know where you can get that and it'll be available to download to use 706 00:33:52,740 --> 00:33:54,020 ethically in your own pen test. 707 00:34:02,460 --> 00:34:03,000 All right. 708 00:34:03,020 --> 00:34:04,900 Who wants to see some really crazy stuff right now? 709 00:34:05,600 --> 00:34:06,800 Let's wake you guys up. 710 00:34:06,900 --> 00:34:07,120 Come on. 711 00:34:10,300 --> 00:34:10,740 All right. 712 00:34:10,760 --> 00:34:14,360 So for you guys that don't know Fastrack, really what it was, was I decided to learn 713 00:34:14,360 --> 00:34:16,860 Python a while back and I was more of a C sharp guy. 714 00:34:17,000 --> 00:34:17,180 So if you guys don't know Fastrack, really what it was, was I decided to learn Python 715 00:34:17,180 --> 00:34:22,560 and thanks to Muts, I wish I didn't learn Python because my wife hates me and I'm up 716 00:34:22,560 --> 00:34:25,940 coding it late nights to the hour, so special thanks to him for that. 717 00:34:26,360 --> 00:34:29,320 But so with Fastrack is, I really try to automate a lot of different types of attacks 718 00:34:29,320 --> 00:34:30,640 out there and some unique ones. 719 00:34:31,240 --> 00:34:38,040 I originally came up with the attack for Maskline attack, using metasploit, now Egypt from metasploit 720 00:34:39,020 --> 00:34:40,620 has now created the auto-pwn feature for that. 721 00:34:40,840 --> 00:34:43,960 So there's a lot of different types of attacks out there that you can do with Fastrack. 722 00:34:44,420 --> 00:34:45,900 Specifically, the one that we're going to do here. 723 00:34:46,120 --> 00:34:46,560 I mean. 724 00:34:47,180 --> 00:34:52,360 just saw in Scott's tool, we took that one step further and really automated pretty crazy 725 00:34:52,360 --> 00:34:56,840 stuff. What we're going to do and what you're going to see is we're going to scan a subnet 726 00:34:56,840 --> 00:35:01,340 for web servers looking for web servers out there. It's automatically going to identify 727 00:35:01,340 --> 00:35:06,300 them, crawl them, look through the whole website, and look at every form parameter trying to 728 00:35:06,300 --> 00:35:12,420 see if it can get a correct SQL syntax. We can do both error and blind-based SQL injection, 729 00:35:13,260 --> 00:35:16,820 automatically inject, and get us some reverse shells and some reverse GUIs. 730 00:35:20,260 --> 00:35:25,780 Here's the syntax. I also built a front-end web server for it so that for you guys that 731 00:35:25,780 --> 00:35:28,380 just want to point and click, you can also do that, and I'll show that towards a little 732 00:35:28,380 --> 00:35:32,340 bit later. As we're seeing here, we're running FastTrack. We're running the SQL 733 00:35:32,340 --> 00:35:38,460 pwnage on it. We're going to crawl the site using error-based SQL injection. We'll demo 734 00:35:39,080 --> 00:35:41,760 error-based here in a few. That's the IP address we're attacking. 735 00:35:43,400 --> 00:35:49,320 We're using Metasploit, VNC inject, using the shikari, gei, nai encoding. Does anybody 736 00:35:49,320 --> 00:35:54,960 know what that stands for in Japanese? There is no hope. 737 00:35:55,100 --> 00:35:56,100 There is no hope. Everyone else gets a T-shirt. 738 00:36:02,360 --> 00:36:06,120 We do a little bit more different things here. Once we're crawling the site, and once we 739 00:36:06,120 --> 00:36:10,560 identify form parameters, we automatically start attacking them. If I'm not running under 740 00:36:11,380 --> 00:36:12,400 SQLSA, these are my defaults. I'm probably going to get a bit of a free trial or something, 741 00:36:12,400 --> 00:36:14,020 We automatically try to elevate our privileges. 742 00:36:14,480 --> 00:36:16,580 We turn on XP command shell if it's disabled. 743 00:36:16,900 --> 00:36:17,900 We turn off DEP. 744 00:36:18,100 --> 00:36:20,200 A bunch of various other things that we try to do. 745 00:36:20,860 --> 00:36:22,140 Nanj, you want to explain what it's doing here? 746 00:36:22,700 --> 00:36:23,880 So basically right now, 747 00:36:23,900 --> 00:36:26,360 as you guys can see, it's crawling the website 748 00:36:26,360 --> 00:36:27,180 that he entered. 749 00:36:28,160 --> 00:36:30,260 Right now, we're actually looking for 750 00:36:30,260 --> 00:36:31,960 the href tags inside the HTML. 751 00:36:32,560 --> 00:36:34,280 Some of you are probably wondering what happens 752 00:36:34,280 --> 00:36:35,720 if you have URLs embedded in JavaScript. 753 00:36:36,220 --> 00:36:38,220 Right now, we don't have that functionality added. 754 00:36:38,840 --> 00:36:40,220 Before we release the final version, 755 00:36:40,220 --> 00:36:41,060 we will add that. 756 00:36:41,800 --> 00:36:44,100 Keep in mind that this tool is in beta version. 757 00:36:44,360 --> 00:36:46,400 So when we release it to the fast track, 758 00:36:46,560 --> 00:36:48,480 we're expecting a lot of feedback. 759 00:36:49,240 --> 00:36:50,400 We're expecting bugs. 760 00:36:51,220 --> 00:36:52,040 So we want, 761 00:36:52,060 --> 00:36:53,360 we need that feedback because 762 00:36:53,360 --> 00:36:54,960 before we release the final version, 763 00:36:55,060 --> 00:36:57,460 we want to make sure that we get everything worked out. 764 00:36:57,820 --> 00:37:00,100 So right now, it's crawling the entire website. 765 00:37:00,480 --> 00:37:02,060 Looking for every single URL 766 00:37:02,060 --> 00:37:03,880 that's branched off the website. 767 00:37:05,840 --> 00:37:07,500 Originally, we were going to do the NSA.gov, 768 00:37:07,660 --> 00:37:10,100 but we thought we'd get a lot of trouble 769 00:37:10,220 --> 00:37:11,400 for that so we decided not to do it 770 00:37:11,400 --> 00:37:12,340 as far as a fake website. 771 00:37:12,600 --> 00:37:15,320 Right now, we're just doing a fake website that we created. 772 00:37:15,540 --> 00:37:17,380 Keep in mind that if you're scanning 773 00:37:17,380 --> 00:37:20,000 a website such as Web Shots 774 00:37:20,000 --> 00:37:21,740 or something like that, some huge ass website, 775 00:37:22,360 --> 00:37:24,120 we actually allow you to 776 00:37:24,720 --> 00:37:25,700 put a depth parameter 777 00:37:26,140 --> 00:37:27,000 in our spider. 778 00:37:27,480 --> 00:37:29,780 If you don't want it to take two or three days 779 00:37:29,780 --> 00:37:30,740 to spider the entire website, 780 00:37:30,900 --> 00:37:32,120 you can add a depth parameter of two. 781 00:37:32,900 --> 00:37:34,520 It will take 15-20 minutes. 782 00:37:34,620 --> 00:37:37,180 You obviously won't get the entire website. 783 00:37:39,040 --> 00:37:40,200 If that's what you're looking for, 784 00:37:40,220 --> 00:37:41,600 and you don't want it to take a long time, 785 00:37:42,000 --> 00:37:43,520 we give you that option. 786 00:37:44,840 --> 00:37:45,880 Just finishing up here, 787 00:37:45,920 --> 00:37:47,840 we decided to do a very long site for some reason 788 00:37:47,840 --> 00:37:50,140 that would allow a lot of 789 00:37:50,140 --> 00:37:51,220 dead time in the middle of a presentation. 790 00:37:54,820 --> 00:37:55,460 Nice hand. 791 00:38:15,520 --> 00:38:16,520 There we go. 792 00:38:21,440 --> 00:38:22,460 It's still crawling. 793 00:38:22,740 --> 00:38:24,580 It could take some time 794 00:38:24,580 --> 00:38:26,200 depending on how large the website is. 795 00:38:26,440 --> 00:38:27,920 You're going to want to manipulate 796 00:38:27,920 --> 00:38:29,240 the depth parameter a little bit 797 00:38:29,240 --> 00:38:30,600 to speed things up. 798 00:38:32,780 --> 00:38:33,640 At this point, 799 00:38:33,660 --> 00:38:34,640 we don't really have to do anything. 800 00:38:35,040 --> 00:38:35,940 We just let it run. 801 00:38:36,400 --> 00:38:37,720 It's going to do everything, attack it, 802 00:38:40,220 --> 00:38:40,540 and that's it. 803 00:38:40,580 --> 00:38:41,280 As Scott said, 804 00:38:41,380 --> 00:38:42,560 he likes to do the manual attacks. 805 00:38:42,740 --> 00:38:43,480 I really don't. 806 00:38:43,500 --> 00:38:44,040 I'm lazy. 807 00:38:44,260 --> 00:38:45,480 As much as I can automate shit, 808 00:38:45,560 --> 00:38:46,320 that's what I'm going to do. 809 00:38:48,200 --> 00:38:49,960 Dave and I both created this tool. 810 00:38:50,980 --> 00:38:53,320 Basically, you put in the URL, 811 00:38:53,580 --> 00:38:54,320 you let it go. 812 00:38:54,420 --> 00:38:55,460 If it finds SQL injection, 813 00:38:55,800 --> 00:38:57,340 you want to exploit, yes. 814 00:38:57,920 --> 00:38:58,640 You've got to shell. 815 00:39:01,340 --> 00:39:02,340 As you can see here, 816 00:39:02,340 --> 00:39:04,460 we found SQL exception and text password. 817 00:39:04,520 --> 00:39:06,380 After this, it flies off the seat of your pants. 818 00:39:06,660 --> 00:39:08,500 It's automatically elevating our privileges to SA 819 00:39:08,500 --> 00:39:09,280 if not already. 820 00:39:09,640 --> 00:39:10,500 It's turning up depth. 821 00:39:10,840 --> 00:39:13,500 It's enabling SP command shell. 822 00:39:13,860 --> 00:39:15,200 Here we're using a get request. 823 00:39:15,540 --> 00:39:17,420 What we did was, it's all dynamic. 824 00:39:17,740 --> 00:39:19,280 Regardless of what payload you put in there, 825 00:39:19,360 --> 00:39:20,140 if it's 10 megs, 826 00:39:20,480 --> 00:39:21,920 it's automatically going to split it up into chunks 827 00:39:21,920 --> 00:39:24,280 so that it does get down to the server using get request. 828 00:39:24,720 --> 00:39:25,720 As you can see here, 829 00:39:25,860 --> 00:39:28,360 we're taking our 64k debug bypass, 830 00:39:28,360 --> 00:39:30,560 the hex to binary payload 831 00:39:30,560 --> 00:39:32,180 that we initially used in Scott's talk. 832 00:39:32,580 --> 00:39:34,100 We're going through and chunking it up 833 00:39:34,100 --> 00:39:34,900 into four different chunks. 834 00:39:36,720 --> 00:39:39,040 There's a custom text file 835 00:39:39,040 --> 00:39:40,620 that right now we have 836 00:39:40,620 --> 00:39:43,400 the different SQL injection parameters. 837 00:39:43,700 --> 00:39:44,700 Like a single quote, 838 00:39:44,880 --> 00:39:45,840 maybe a single quote admin. 839 00:39:46,040 --> 00:39:47,100 That's totally customizable. 840 00:39:47,580 --> 00:39:49,120 Whatever you guys feel that 841 00:39:49,120 --> 00:39:51,000 to identify SQL injection, 842 00:39:51,220 --> 00:39:52,380 you can add it to that file. 843 00:40:26,900 --> 00:40:28,100 I can make this go back a little bit. 844 00:40:41,200 --> 00:40:43,020 Right now, what's happened, basically, 845 00:40:43,040 --> 00:40:44,060 is it found the URL 846 00:40:44,060 --> 00:40:46,440 that has SQL injection on it. 847 00:40:46,520 --> 00:40:48,200 It's delivering our 848 00:40:49,000 --> 00:40:49,840 Windows debug 849 00:40:50,220 --> 00:40:51,060 bypass payload. 850 00:40:51,560 --> 00:40:53,420 Once it gets on the server, 851 00:40:53,600 --> 00:40:54,380 it's going to compile it. 852 00:40:54,460 --> 00:40:57,280 Then we can actually pretty much deliver any payload 853 00:40:58,360 --> 00:40:59,880 Right now, we actually have three custom ones 854 00:40:59,880 --> 00:41:01,480 inside this module. 855 00:41:01,700 --> 00:41:02,880 We have the VNC inject, 856 00:41:03,800 --> 00:41:04,660 Metasploit Meterpreter, 857 00:41:04,820 --> 00:41:07,880 and then our customized reverse shell. 858 00:41:08,640 --> 00:41:10,200 Again, it's totally customizable. 859 00:41:10,560 --> 00:41:12,380 You can put any payload in there you want. 860 00:41:12,620 --> 00:41:13,880 It may take some time. 861 00:41:26,900 --> 00:41:28,340 It launches the next turn 862 00:41:28,360 --> 00:41:29,020 window right now. 863 00:41:29,680 --> 00:41:30,620 What we're doing is 864 00:41:30,620 --> 00:41:31,620 we're injecting the 865 00:41:33,740 --> 00:41:34,860 Meterpreter inject right now. 866 00:41:34,980 --> 00:41:35,960 If you guys are familiar with Meterpreter 867 00:41:35,960 --> 00:41:36,480 and Metasploit, 868 00:41:36,580 --> 00:41:37,920 it's a pretty nice way to use it. 869 00:41:38,480 --> 00:41:40,140 Do pretty much whatever you want to at this point. 870 00:41:41,560 --> 00:41:42,560 We got it. 871 00:41:52,420 --> 00:41:53,960 This is a completely 872 00:41:53,960 --> 00:41:55,160 automated tool. 873 00:41:56,820 --> 00:41:58,340 Dave and I developed this tool 874 00:41:58,360 --> 00:42:00,140 with the mindset we wanted to be as automated as possible, 875 00:42:00,260 --> 00:42:01,080 as script-kitty as possible, 876 00:42:01,300 --> 00:42:03,440 CIS can run this tool if he wants to, 877 00:42:03,560 --> 00:42:04,720 whatever it is. 878 00:42:05,640 --> 00:42:08,080 Basically, again, type in UR or subnet. 879 00:42:08,280 --> 00:42:09,640 If we use a subnet option, 880 00:42:09,800 --> 00:42:11,180 basically you have the option 881 00:42:11,180 --> 00:42:13,340 to put in a class C or whatever it is. 882 00:42:13,700 --> 00:42:15,420 Then what we'll do is actually go through 883 00:42:15,420 --> 00:42:17,640 the entire class C looking for web servers. 884 00:42:18,300 --> 00:42:19,760 After it finds the web servers, 885 00:42:19,820 --> 00:42:21,280 it will present the user with the list. 886 00:42:21,660 --> 00:42:23,760 The user then has one or two options. 887 00:42:24,560 --> 00:42:25,140 It can 888 00:42:27,000 --> 00:42:27,660 scan the... 889 00:42:28,360 --> 00:42:29,780 scan the entire list that it found. 890 00:42:29,940 --> 00:42:31,680 If you put a class B in there 891 00:42:31,680 --> 00:42:33,640 and it finds 500 web servers, 892 00:42:33,860 --> 00:42:35,880 then obviously you can go through each single one 893 00:42:35,880 --> 00:42:36,940 and it will scan them, 894 00:42:37,080 --> 00:42:39,100 look for SQL injection, finds it, 895 00:42:39,180 --> 00:42:40,160 or allow you to exploit it. 896 00:42:42,320 --> 00:42:43,620 Those are basically two options. 897 00:42:43,700 --> 00:42:44,940 Scan a subnet or a single URL. 898 00:42:46,720 --> 00:42:47,600 Right here we're going to do 899 00:42:47,600 --> 00:42:48,640 the actual GUI itself, 900 00:42:48,840 --> 00:42:50,620 so we'll get a nice little graphical user interface 901 00:42:50,620 --> 00:42:51,220 in the back end. 902 00:42:57,620 --> 00:42:58,340 The reason we want 903 00:42:58,360 --> 00:43:00,020 to release the Windows GUI 904 00:43:00,020 --> 00:43:01,040 is because we know everybody at DEF CON 905 00:43:01,040 --> 00:43:01,600 uses Windows. 906 00:43:02,780 --> 00:43:04,420 We wanted to release a nice tool for that. 907 00:43:09,200 --> 00:43:10,340 I'm so getting beat up at this. 908 00:43:10,840 --> 00:43:11,720 I wonder how many people 909 00:43:11,720 --> 00:43:12,320 you just offended. 910 00:43:21,680 --> 00:43:22,600 Really what we did, 911 00:43:22,660 --> 00:43:23,940 we didn't invent the wheel. 912 00:43:23,940 --> 00:43:25,400 We know we're using a known exploit, 913 00:43:25,600 --> 00:43:26,680 but what we did do is something 914 00:43:26,680 --> 00:43:27,760 that we think is pretty cool, 915 00:43:28,140 --> 00:43:29,560 something that we haven't seen yet. 916 00:43:29,780 --> 00:43:31,580 I mean, again, completely automated, 917 00:43:31,940 --> 00:43:32,940 no manual techniques, 918 00:43:34,280 --> 00:43:35,000 and honestly, 919 00:43:35,660 --> 00:43:37,200 it will find SQL injection. 920 00:43:38,040 --> 00:43:39,140 Hey guys, let's give it up. 921 00:43:39,160 --> 00:43:39,700 Did you see that? 922 00:43:40,060 --> 00:43:41,000 What do we have here, Dave? 923 00:43:41,440 --> 00:43:42,140 Nice command, Sean. 924 00:43:42,220 --> 00:43:43,880 You see I'm not switching over anything. 925 00:43:43,980 --> 00:43:45,380 This is the window right here 926 00:43:45,380 --> 00:43:45,940 for the actual one, 927 00:43:45,980 --> 00:43:46,980 and this is the actual VNC, 928 00:43:47,140 --> 00:43:47,900 as you can see up here. 929 00:43:48,140 --> 00:43:49,840 Full remote desktop, automated. 930 00:43:50,440 --> 00:43:51,900 Does it get any easier than that? 931 00:43:58,840 --> 00:44:00,460 For those of you that listen 932 00:44:00,460 --> 00:44:01,860 or know LOLcats, 933 00:44:02,740 --> 00:44:05,500 I've been having a little LOLcats moment there, 934 00:44:05,560 --> 00:44:06,940 so eyes been pwned, oh noes. 935 00:44:13,120 --> 00:44:14,840 And I think what we forgot to mention, too, 936 00:44:15,380 --> 00:44:16,100 is that to find SQL injection, 937 00:44:16,280 --> 00:44:17,380 the way it's doing it is obviously 938 00:44:17,380 --> 00:44:19,440 it's injecting the form parameters, submitting. 939 00:44:19,860 --> 00:44:21,860 If it comes back with a SQL error message, 940 00:44:21,960 --> 00:44:23,780 you know, like a SQL ODBC message 941 00:44:23,780 --> 00:44:24,400 or something like that, 942 00:44:24,500 --> 00:44:26,300 we're using regular expressions on that page 943 00:44:26,300 --> 00:44:27,180 to find SQL injection. 944 00:44:30,180 --> 00:44:31,640 So for those of you that want to use 945 00:44:31,640 --> 00:44:32,780 a web interface like Metasploit, 946 00:44:32,860 --> 00:44:34,140 you've got SQL components right here. 947 00:44:34,620 --> 00:44:36,100 You've got blind base, error base, 948 00:44:36,300 --> 00:44:36,960 whatever you want to do. 949 00:44:37,560 --> 00:44:38,800 We won't go through the blind base 950 00:44:38,800 --> 00:44:40,600 because that's going to really put some dead time in. 951 00:44:45,380 --> 00:44:46,680 But blind SQL injection is working properly. 952 00:44:47,040 --> 00:44:49,480 At that point, it would initiate the attacks at that point. 953 00:44:49,620 --> 00:44:51,120 So that should be 954 00:44:51,120 --> 00:44:53,060 hopefully put into the next release there. 955 00:44:53,240 --> 00:44:54,980 But as of right now, it just kind of 956 00:44:54,980 --> 00:44:56,920 really brute forces blind SQL at that point, 957 00:44:56,960 --> 00:44:58,320 trying to look for anything a shot in the dark. 958 00:44:59,000 --> 00:45:00,580 And before we release the final version, 959 00:45:00,720 --> 00:45:03,740 right now it currently can't do HTTPS 960 00:45:03,740 --> 00:45:04,660 or SSL, obviously. 961 00:45:05,660 --> 00:45:07,620 So we'll add that in before the final version. 962 00:45:07,740 --> 00:45:09,200 And we're actually going to add in 963 00:45:09,200 --> 00:45:09,940 a login functionality. 964 00:45:10,060 --> 00:45:11,880 So if the page has a login and you have credentials 965 00:45:11,880 --> 00:45:15,080 and you want to continue spidering after you're an authenticated user, 966 00:45:15,380 --> 00:45:16,420 we'll add that in as well. 967 00:45:18,180 --> 00:45:19,280 So all I did was I entered 968 00:45:19,280 --> 00:45:20,860 all my stuff in. It spidered it. 969 00:45:20,920 --> 00:45:21,620 Found a single website. 970 00:45:24,660 --> 00:45:25,300 It's going to go ahead and 971 00:45:25,300 --> 00:45:27,760 automatically crawl it and go through all the various things like that. 972 00:45:28,320 --> 00:45:29,300 Once we finish the crawling, 973 00:45:29,480 --> 00:45:30,660 it's going to go through and do everything that we did. 974 00:45:30,780 --> 00:45:32,240 And as you can see, that is through the web interface. 975 00:45:32,620 --> 00:45:34,780 So it has a bunch of different options you can use. 976 00:45:34,860 --> 00:45:37,120 It has interactive mode where it's kind of like a menu-driven. 977 00:45:37,360 --> 00:45:39,420 It has a command line mode so you guys can script it. 978 00:45:39,640 --> 00:45:41,060 And then obviously the 979 00:45:43,600 --> 00:45:44,380 web GUI mode. 980 00:45:45,040 --> 00:45:45,360 So that's it. 981 00:45:56,180 --> 00:45:56,740 All right. 982 00:45:56,800 --> 00:45:57,160 All right. 983 00:45:57,200 --> 00:45:58,980 So we showed those two real quick. 984 00:45:59,280 --> 00:46:01,000 And what's going on with FastTrack, 985 00:46:01,060 --> 00:46:02,120 I'll show you guys now 986 00:46:02,800 --> 00:46:04,080 the AV and what we're doing. 987 00:46:04,320 --> 00:46:05,960 We'll go pretty simple at this point. 988 00:46:06,120 --> 00:46:07,840 We lost our reverse engineer, John Melvin, 989 00:46:07,940 --> 00:46:09,780 if you saw. He was supposed to be on this topic. 990 00:46:09,940 --> 00:46:11,600 He's unfortunately getting married, 991 00:46:11,720 --> 00:46:13,240 so didn't make it to DEF CON. 992 00:46:15,380 --> 00:46:16,100 Keep a spot here. 993 00:46:21,300 --> 00:46:21,860 All right. 994 00:46:21,880 --> 00:46:24,180 So a lot of antivirus signatures out there 995 00:46:24,180 --> 00:46:26,740 are really pretty basic in all forms. 996 00:46:26,860 --> 00:46:29,120 They look for specific things in files to flag on. 997 00:46:29,520 --> 00:46:31,440 And those are what you see on the signatures. 998 00:46:31,880 --> 00:46:33,180 We did a review on 999 00:46:33,180 --> 00:46:35,120 Nod32 that 1000 00:46:35,120 --> 00:46:36,860 we completely destroyed it and went through it. 1001 00:46:37,100 --> 00:46:38,900 There's really nothing out there at this point 1002 00:46:38,900 --> 00:46:40,140 that's really getting past it. 1003 00:46:41,680 --> 00:46:43,600 It's pretty trivial at this point to bypass it. 1004 00:46:43,600 --> 00:46:45,220 So what we wanted to do was create a tool 1005 00:46:45,220 --> 00:46:46,800 that automated it for us 1006 00:46:46,800 --> 00:46:47,720 so that when we're doing a pen test, 1007 00:46:47,780 --> 00:46:48,460 we get nailed by AV, 1008 00:46:48,720 --> 00:46:50,180 we write a custom payload, 1009 00:46:50,340 --> 00:46:51,620 it automatically rewrites it for us. 1010 00:46:51,740 --> 00:46:54,340 So I'll show you what it's doing and how we're doing it. 1011 00:47:01,440 --> 00:47:02,560 So if you look in our folder here, 1012 00:47:02,620 --> 00:47:04,200 we got a folder here called Tainted. 1013 00:47:04,620 --> 00:47:07,240 And those are the ones that it's getting flagged on. 1014 00:47:07,320 --> 00:47:09,320 So you got the reverse shell, PWDump, and Netcat, 1015 00:47:09,540 --> 00:47:11,520 which we won't do PWDump since it's not getting flagged. 1016 00:47:11,560 --> 00:47:12,860 But like PWDump, for example, 1017 00:47:12,860 --> 00:47:14,020 AVG was looking for 1018 00:47:14,020 --> 00:47:16,040 certain characters like passwords. 1019 00:47:16,260 --> 00:47:18,160 So all you need to really do for that to bypass it 1020 00:47:18,160 --> 00:47:19,440 is change all the S's with dollar signs. 1021 00:47:21,160 --> 00:47:23,320 So it shows you how really basic these are. 1022 00:47:23,900 --> 00:47:25,580 But what we'll do is 1023 00:47:25,580 --> 00:47:27,200 I'll load up this into OLLI real quick. 1024 00:47:32,720 --> 00:47:34,960 We'll load our Tainted reverse shell 1025 00:47:34,960 --> 00:47:35,680 that gets blasted. 1026 00:47:36,520 --> 00:47:38,260 And this arrow right here means that it's already packed. 1027 00:47:38,540 --> 00:47:40,200 And in most cases, this is the type of error 1028 00:47:40,200 --> 00:47:42,140 you're going to get when there's a packed binary. 1029 00:47:43,420 --> 00:47:45,020 So from here, the first signal it's doing, 1030 00:47:45,240 --> 00:47:46,220 and especially in a packer, 1031 00:47:46,280 --> 00:47:47,600 is it's jumping to a specific address. 1032 00:47:47,780 --> 00:47:49,600 So we're going to go to that address that it's jumping to. 1033 00:47:54,560 --> 00:47:55,880 And we see these two flags here. 1034 00:47:56,220 --> 00:47:57,940 Now our tool, what it looks for is 1035 00:47:57,940 --> 00:47:59,900 what specifically is AV flagging on? 1036 00:47:59,980 --> 00:48:01,180 Why is it stopping it? 1037 00:48:01,460 --> 00:48:04,600 So in antivirus, it's specifically stopping 1038 00:48:04,600 --> 00:48:07,000 these two functions right here. 1039 00:48:07,060 --> 00:48:07,940 It's flagging on these two. 1040 00:48:08,120 --> 00:48:10,100 So all we need to really do is change these around 1041 00:48:10,100 --> 00:48:12,260 to be something different than the AVG 1042 00:48:12,860 --> 00:48:14,180 or McAfee is going to find. 1043 00:48:14,660 --> 00:48:15,580 And before we came here, 1044 00:48:15,660 --> 00:48:18,020 we ran it through VirusTotal. 1045 00:48:18,660 --> 00:48:20,060 And after these changes to it, 1046 00:48:20,100 --> 00:48:23,020 it got through McAfee, Symantec, AVG, and Kaspersky. 1047 00:48:23,260 --> 00:48:24,660 So those are pretty good ones 1048 00:48:24,660 --> 00:48:25,740 out there to get around. 1049 00:48:26,220 --> 00:48:27,400 So all we're going to do here is 1050 00:48:27,400 --> 00:48:29,920 we're going to change this to moveEBX instead of ESI. 1051 00:48:32,900 --> 00:48:34,160 And then change this around to be 1052 00:48:34,680 --> 00:48:35,560 moveESI to EBX. 1053 00:48:37,420 --> 00:48:38,380 Just switching them around. 1054 00:48:41,940 --> 00:48:42,720 All we're going to do 1055 00:48:52,020 --> 00:48:57,220 is we're going to save this file. 1056 00:48:58,420 --> 00:48:59,580 So here's our reverse shell 1057 00:48:59,580 --> 00:49:00,680 that we just saved, the new one, right? 1058 00:49:00,780 --> 00:49:02,080 So we've got reverse shell.exe. 1059 00:49:06,100 --> 00:49:08,160 And we'll go to the defcontainer folder real quick 1060 00:49:08,160 --> 00:49:09,380 just to run a scan against it. 1061 00:49:10,680 --> 00:49:11,880 Just to make sure that wasn't 1062 00:49:11,880 --> 00:49:12,680 what I was in fact using. 1063 00:49:15,860 --> 00:49:16,460 Now we're... 1064 00:49:17,680 --> 00:49:18,440 Now we're detected. 1065 00:49:20,060 --> 00:49:20,980 We go to our new one 1066 00:49:20,980 --> 00:49:22,040 that we just wrote on the C drive. 1067 00:49:27,960 --> 00:49:28,900 Now we're not detected. 1068 00:49:35,920 --> 00:49:37,060 Now there's a bunch of different things 1069 00:49:37,060 --> 00:49:38,520 you can do. I mean, this is really basic, 1070 00:49:38,580 --> 00:49:40,660 but our tool automatically, gradually 1071 00:49:40,660 --> 00:49:42,580 gets more and more complex as it goes along. 1072 00:49:42,840 --> 00:49:43,460 David Kennedy, 1073 00:49:45,060 --> 00:49:46,720 the Remote Exploit 1074 00:49:46,720 --> 00:49:48,920 High Court has brought charges against you. 1075 00:49:49,160 --> 00:49:51,420 Please stand to hear the charges. 1076 00:49:51,920 --> 00:49:52,720 Oh, God. 1077 00:49:54,580 --> 00:49:56,340 You have continuously posted 1078 00:49:56,340 --> 00:49:58,860 links to a certain website. 1079 00:50:00,860 --> 00:50:03,080 Will my judges please stand? 1080 00:50:05,080 --> 00:50:06,960 We find you guilty. 1081 00:50:07,140 --> 00:50:08,700 And we will now hold 1082 00:50:08,700 --> 00:50:10,260 11 parties! 1083 00:50:10,480 --> 00:50:11,780 11 parties! 1084 00:50:12,980 --> 00:50:13,700 11 parties! 1085 00:50:15,040 --> 00:50:15,760 11 parties! 1086 00:50:17,500 --> 00:50:17,860 11 parties! 1087 00:50:18,000 --> 00:50:20,060 11 parties! 1088 00:50:20,060 --> 00:50:21,300 11 parties! 1089 00:50:21,300 --> 00:50:24,860 11 parties! 1090 00:50:24,880 --> 00:50:26,000 Thank you. 1091 00:50:26,120 --> 00:50:26,380 Thank you. 1092 00:50:27,420 --> 00:50:28,980 Actually one got me in the side of the head there. 1093 00:50:31,480 --> 00:50:32,660 That was Moss, wasn't it? 1094 00:50:36,200 --> 00:50:37,440 I don't know where I was at 1095 00:50:37,440 --> 00:50:37,860 at that point. 1096 00:50:40,160 --> 00:50:40,520 Dave, 1097 00:50:40,940 --> 00:50:41,940 what's Lemon Party? 1098 00:50:44,680 --> 00:50:49,320 All right, back on to our topic, Gary. It's a game of bingo gone horribly wrong. 1099 00:50:53,760 --> 00:50:59,000 All right, so we took a look at reverse shell.exe. Now we're going to look at Netcat. What does 1100 00:50:59,000 --> 00:51:03,160 Netcat get flagged at? And like I said, it's really trivial to bypass these things at this 1101 00:51:03,160 --> 00:51:07,460 point. And so what our tool's going to do at this point is, the first one it found was 1102 00:51:07,460 --> 00:51:11,040 instructions. It jumped to a specific address, and all we had to do was change those two 1103 00:51:11,040 --> 00:51:17,020 values around. What happens if you do something different? So we're looking at our tainted 1104 00:51:17,020 --> 00:51:27,060 folder here. We're going to look at Netcat. Oh, and here I'll just demo that the tool's 1105 00:51:27,060 --> 00:51:31,540 actually working, too. I forgot to mention that. So do reverse shell.exe, and we'll do, 1106 00:51:33,100 --> 00:51:37,560 because if you rewrite something, a lot of times it doesn't work. So we'll just do 4444, 1107 00:51:38,980 --> 00:51:41,020 10.2155.2, 4444. 1108 00:51:48,380 --> 00:51:56,160 All right, so on the Netcat side of things, you see here, it didn't find any instructions 1109 00:51:56,160 --> 00:52:00,880 that it could change that AV was flagging on. But it was looking at immediate constants 1110 00:52:00,880 --> 00:52:04,960 used by AV that's getting detected. So you look here, it's jumping to this specific 1111 00:52:04,960 --> 00:52:11,020 address here, 00401178. Well, there's also other instructions inside Netcat that doesn't 1112 00:52:11,040 --> 00:52:14,380 recognize that same jump. So what our tool automatically detected was, well, why don't 1113 00:52:14,380 --> 00:52:18,300 we just rewrite this specific one as flagging on and move to another jump that is jumping 1114 00:52:18,300 --> 00:52:24,540 to the same address? What is that going to do? Let's find out. And just so we know, 1115 00:52:24,600 --> 00:52:35,000 we'll go to the DEF CON folder like we did before. Go to our tainted. Man, my head really 1116 00:52:35,000 --> 00:52:39,600 hurts now. That was a good one. Someone was really angry at me. 1117 00:52:42,620 --> 00:52:46,440 Yeah, it smells like lemon now instead of a bunch of guys. So that's kind of nice. 1118 00:52:47,640 --> 00:52:51,440 Okay, so we see here that the spyware was found. So what we're going to do is open up 1119 00:52:51,440 --> 00:53:00,480 ALI again. Go to Netcat. And we're going to go to that address that's specified there. 1120 00:53:01,460 --> 00:53:09,240 Which, actually, I didn't get that up there. So I'm going to do that. Not there. 1121 00:53:14,780 --> 00:53:15,860 Where is that tool? 1122 00:53:26,000 --> 00:53:28,780 All right. So we'll go through this one more time so I can see what actual address it is 1123 00:53:28,780 --> 00:53:35,620 there. I totally forgot. It's the lemons, I swear. 1124 00:53:41,880 --> 00:53:45,000 All right. So flagged on 00401178. 1125 00:53:56,140 --> 00:53:58,540 All right. So right here you can see... 1126 00:53:59,740 --> 00:54:05,400 Am I in the right one here? There we go. Oh, no. Sorry. 1127 00:54:24,700 --> 00:54:25,060 00401178. 1128 00:54:35,740 --> 00:54:38,480 That's just great. There we go. 1129 00:54:39,040 --> 00:54:44,680 All right. So here we see MovieCX. And if you look at where it flagged on in Netcat, 1130 00:54:44,680 --> 00:54:52,100 it says that it flagged on jump short right here at offset 1137. 1131 00:54:53,220 --> 00:54:54,240 So we go to 1137. 1132 00:54:59,320 --> 00:55:04,140 You see here, it's jumping right here. So we need to find another one that's going to 1178 1133 00:55:04,140 --> 00:55:07,420 that we can just change around. So if you look here, we've got another address right there 1134 00:55:07,420 --> 00:55:11,900 that looks nice and tasty for us to use. So we're going to change that to 114C. 1135 00:55:17,760 --> 00:55:19,140 Do the same thing we did last time. 1136 00:55:40,400 --> 00:55:41,940 So we've got our Netcat.exe right here. 1137 00:55:45,960 --> 00:55:46,600 No more AV. 1138 00:55:54,020 --> 00:55:56,240 And again, these are all really basic attacks that you can do. 1139 00:55:56,340 --> 00:56:00,560 I mean, there's polymorphic encryption and Packers and all this crazy stuff out there you can do, 1140 00:56:00,620 --> 00:56:02,800 and it will eventually do that if it does get flagged. 1141 00:56:02,900 --> 00:56:06,180 But at this point, to be honest with you, there really isn't too much out there that's not going to get flagged on 1142 00:56:06,180 --> 00:56:08,400 in the simple steps because they pretty much suck. 1143 00:56:10,320 --> 00:56:12,340 Sorry. If there's anybody out there for me in those companies, I apologize. 1144 00:56:18,560 --> 00:56:19,740 Let me get this. 1145 00:56:25,720 --> 00:56:30,820 What I'm going to do now is show you a couple of nice little functionality features of FastTrack 1146 00:56:30,820 --> 00:56:33,720 that you guys can see out there. It's pretty neat stuff. 1147 00:56:34,180 --> 00:56:36,820 It is on the Backtrack CD. You can also download it. 1148 00:56:37,200 --> 00:56:43,600 I have written a Ubuntu installer for it as well as a Gen 2 installer and also a Vanilla installer. 1149 00:56:43,600 --> 00:56:46,460 So if you're using something out there like Slackware or anything else, 1150 00:56:46,620 --> 00:56:48,220 it automatically detects it and installs it for you. 1151 00:57:06,080 --> 00:57:13,500 Oh, in addition to these attacks that we demonstrated here are no different on a Windows Server 2008 box. 1152 00:57:13,500 --> 00:57:15,220 We're using SQL Server 2008. 1153 00:57:15,740 --> 00:57:17,700 We have successfully tested it on that as well, 1154 00:57:17,860 --> 00:57:21,280 and we're actually able to get an interpreter to work no problem. 1155 00:57:21,560 --> 00:57:23,900 So that was a pretty cool, interesting find that we did see. 1156 00:57:24,940 --> 00:57:28,300 So Server 2008, SQL Server 2008, not a big deal. 1157 00:57:50,720 --> 00:57:53,180 All right, so what we're going to do is a little FastTrack here real quick. 1158 00:57:54,180 --> 00:57:54,960 We'll use the GUI. 1159 00:57:58,360 --> 00:58:03,020 And I can't use the GUI because I did write it, so don't catch me. 1160 00:58:10,000 --> 00:58:13,160 I'm just using a Windows 2000 server because it's the only one I didn't have on patch 1161 00:58:13,160 --> 00:58:13,480 at the time. 1162 00:58:13,500 --> 00:58:15,740 But it does some pretty cool stuff. 1163 00:58:15,920 --> 00:58:17,600 If you look here, here's my address, 55.6. 1164 00:58:18,020 --> 00:58:21,860 You do things like, if anybody's familiar with the auto-pwn feature in Metasploit, 1165 00:58:22,520 --> 00:58:25,440 you know, you have to type in all those commands like dbcreate, you know, dbmmap. 1166 00:58:25,460 --> 00:58:28,200 So I kind of automated that real quick, and we'll just do a quick port scan of that. 1167 00:58:28,740 --> 00:58:32,560 Port 135.445.10.201.55.6. 1168 00:58:33,080 --> 00:58:34,120 And all you do is hit enter. 1169 00:58:34,820 --> 00:58:36,100 It's automatically going to do everything for you. 1170 00:58:37,620 --> 00:58:40,220 Automatically port scan it since the host is down, so let me do a PN real quick. 1171 00:58:50,980 --> 00:58:52,940 It's not finding any ports over there. 1172 00:59:10,740 --> 00:59:13,080 It's not finding any ports over there. 1173 00:59:16,420 --> 00:59:17,760 It does really work, I swear. 1174 00:59:28,840 --> 00:59:30,280 All right, so we'll move on to SQL Brooder. 1175 00:59:34,960 --> 00:59:36,280 What's the SQL Brooder do, Dave? 1176 00:59:37,560 --> 00:59:42,280 So for those of you that are doing pen tests, our main point of entry when we go into companies, 1177 00:59:42,280 --> 00:59:47,640 and it's so simple, is companies that, especially those that, like, load thin clients through SQL, 1178 00:59:47,820 --> 00:59:50,680 they install the SQL Server 2000, 2005. 1179 00:59:51,080 --> 00:59:55,140 They put blank passwords or really easily guessable passwords on port 1433. 1180 00:59:55,600 --> 01:00:01,500 The SA password is blank by default in 2000 and earlier, FYI. 1181 01:00:02,360 --> 01:00:05,940 So, I mean, what we do is we just do mass scans and fast track, 1182 01:00:06,040 --> 01:00:07,640 and you can just do subnet ranges to test for these. 1183 01:00:07,800 --> 01:00:11,840 And it looks for SA accounts and automatically brute forces them, and it gives you shells back to them. 1184 01:00:12,280 --> 01:00:14,000 So you can see here the following SQL servers were compromised. 1185 01:00:14,260 --> 01:00:15,080 It found a blank password. 1186 01:00:15,300 --> 01:00:16,380 Which one do you want to jump into? 1187 01:00:16,580 --> 01:00:17,920 It jumps you into a shell. 1188 01:00:18,300 --> 01:00:21,260 Now, if you're using SQL Server 2005, it automatically detects if it's disabled 1189 01:00:21,260 --> 01:00:23,020 and re-enables the XP command shell for you. 1190 01:00:23,420 --> 01:00:25,180 It gets you full access back into it again. 1191 01:00:25,440 --> 01:00:28,200 So it gets you a full root compromise on that. 1192 01:00:29,180 --> 01:00:34,080 Now, what's been incorporated into the new Metasploit, which is from Egypt, 1193 01:00:34,220 --> 01:00:38,840 was the auto client phone feature where it sets up a fake web server for you, 1194 01:00:38,900 --> 01:00:40,540 and then as soon as someone connects to you, 1195 01:00:40,540 --> 01:00:43,940 it automatically starts running a brute force of exploits against the system. 1196 01:00:44,040 --> 01:00:45,760 It's kind of like MPAC on steroids. 1197 01:00:46,800 --> 01:00:51,260 And what we're working on here is, and it's going to be released in the next fast track version, 1198 01:00:51,520 --> 01:00:54,360 is it automatically does, we wrote a custom filter, 1199 01:00:55,020 --> 01:00:57,900 and what it does is it poisons all traffic going out 80, 1200 01:00:58,120 --> 01:01:01,380 and then as soon as someone goes to browse the website, it automatically redirects to you, 1201 01:01:01,440 --> 01:01:03,100 and it's doing a whole bunch of attacks against you. 1202 01:01:03,260 --> 01:01:03,920 It's pretty slick. 1203 01:01:07,460 --> 01:01:09,620 So we're listening on our specific port, 1204 01:01:09,620 --> 01:01:13,520 and what it's doing is it's loading the meterpreter session right here. 1205 01:01:17,940 --> 01:01:20,460 And so all we need to do is have someone connect to us on 80. 1206 01:01:21,240 --> 01:01:24,100 And so in an EtherCAT type of attack, it would definitely do that. 1207 01:01:48,140 --> 01:01:48,640 Slow. 1208 01:02:00,660 --> 01:02:02,280 And everything breaks for the demonstration. 1209 01:02:02,660 --> 01:02:02,880 . 1210 01:02:02,880 --> 01:02:09,600 . Yeah, we're out of time. 1211 01:02:09,620 --> 01:02:12,280 t-shirt so yeah that's our last call who wants a lemon 1212 01:02:14,640 --> 01:02:30,780 all right guys that was it for us i appreciate your time and that's all we got thanks 1213 01:02:30,780 --> 01:02:36,440 one last thing to mention uh the sa exploiter tool can be run on linux use y and maro something 1214 01:02:36,440 --> 01:02:42,340 like that right um and dave where can we get these tools so if you go to our main website 1215 01:02:42,340 --> 01:02:46,620 securestate.com there's a free tool section on the very bottom there should be available tonight 1216 01:02:48,860 --> 01:02:52,080 and there we go you can see that 1217 01:02:55,620 --> 01:02:56,900 thanks guys appreciate your time