1 00:00:00,000 --> 00:00:04,000 So thank you very much for coming and not leaving. That means that... 2 00:00:05,720 --> 00:00:06,700 Whatever you want. 3 00:00:09,580 --> 00:00:11,700 Okay, this is a turbo talk. 4 00:00:11,920 --> 00:00:15,540 It's not going to be a one hour long presentation. I think someone screwed up in the schedule. 5 00:00:16,700 --> 00:00:19,900 I didn't receive a check, so it is 6 00:00:19,900 --> 00:00:23,920 what it is. First of all, there is no agenda in this 7 00:00:23,920 --> 00:00:27,780 presentation. No crap about we are going to see this and stuff 8 00:00:27,780 --> 00:00:31,360 like that. No art of war stuff 9 00:00:31,360 --> 00:00:35,700 in this presentation either. I'm trying to 10 00:00:35,700 --> 00:00:39,620 make this campaign of no more free art of war stuff in security 11 00:00:39,620 --> 00:00:43,500 presentations. It applies to everything, so come on. 12 00:00:43,580 --> 00:00:47,820 Give us a break. No more free campaigns. See the dollar sign 13 00:00:47,820 --> 00:00:51,700 at the end? I know that we have to pay bills, but 14 00:00:51,700 --> 00:00:54,440 come on, man. Give us stuff for free. Alright. 15 00:00:54,440 --> 00:00:58,360 No history of web scanners and no drama, but 16 00:00:58,360 --> 00:01:01,440 I think we have saw a little bit in the beginning of the presentation. 17 00:01:02,900 --> 00:01:06,400 I'm sorry for that. It's not my fault. My name 18 00:01:06,400 --> 00:01:10,220 Efrain Torres. Kind of ten years enjoying 19 00:01:10,220 --> 00:01:14,060 IT security. I'm not going to say that I'm a pro. I think that's too high. 20 00:01:14,680 --> 00:01:18,140 I'm a proud member of the Metasploit team. This is my address. 21 00:01:18,360 --> 00:01:21,020 I'm a proud member of the country of Colombia. 22 00:01:21,360 --> 00:01:23,480 How many Colombians are here? 23 00:01:24,440 --> 00:01:28,160 Alright, one, two, three, and that's it. Alright, man. Thank you very much. 24 00:01:30,460 --> 00:01:32,240 By the way, please visit Colombia. 25 00:01:32,400 --> 00:01:34,640 Don't trust CNN. Go there. 26 00:01:37,240 --> 00:01:40,100 I'm evidence that if you go there, you will not be 27 00:01:40,100 --> 00:01:42,460 kidnapped. Well, not for now. 28 00:01:45,980 --> 00:01:47,180 Alright. Thank you. 29 00:01:48,360 --> 00:01:51,320 Alright, let's keep going. Okay, the intro. 30 00:01:51,320 --> 00:01:54,940 This thing is about the web assessment as Metasploit modules. 31 00:01:55,840 --> 00:01:58,600 We are going to run the modules by hand or automated. 32 00:01:59,580 --> 00:02:03,200 Still on early stages. Pay me to the crisis. I have to work. 33 00:02:03,360 --> 00:02:07,040 I have to work a lot, so my free time is getting smaller. 34 00:02:08,120 --> 00:02:11,280 And H.D. Moore in Metasploit in the 35 00:02:11,280 --> 00:02:15,280 conference sector in 2008, he said that, well, expect a big announcement 36 00:02:15,280 --> 00:02:16,860 soon. This is it. 37 00:02:19,340 --> 00:02:19,860 Yeah. 38 00:02:22,240 --> 00:02:24,340 I'm getting a hold of this. I was, like, 39 00:02:24,920 --> 00:02:29,040 shaking. Now I'm shaking less. Alright. So why 40 00:02:29,040 --> 00:02:33,200 I did WMAP. First of all, I struggled with the damn tools that you see 41 00:02:33,200 --> 00:02:37,120 nowadays. Let's say that I hate the 42 00:02:37,120 --> 00:02:40,960 commercial tools. Sorry, guys, if you are from WebInspect or 43 00:02:40,960 --> 00:02:45,200 one of those. Sorry. I don't like it. First of all, you are 44 00:02:45,200 --> 00:02:49,180 finding vulnerabilities while browsing an application. It's an easy way to get 45 00:02:49,180 --> 00:02:53,040 detected and make mistakes. I prefer just to crawl as a normal 46 00:02:53,040 --> 00:02:57,160 user, then wait for a couple of days, then just attack. 47 00:02:57,520 --> 00:03:01,220 Okay? And then I can have my data and keep playing with 48 00:03:01,220 --> 00:03:05,120 it and I don't have to deal with all the bullshit with the graphical user interface. Sorry 49 00:03:05,120 --> 00:03:07,580 for the word, but it is what it is. 50 00:03:09,660 --> 00:03:12,440 I also hate that it can only be run on Windows. 51 00:03:12,740 --> 00:03:16,860 I needed something that I can run everywhere. And I 52 00:03:16,860 --> 00:03:20,500 don't want to be tied to a specific browser, also specifically to the 53 00:03:20,500 --> 00:03:24,820 Internet Explorer control. Sometimes you have 54 00:03:24,820 --> 00:03:28,820 to check some websites that have, like, malware and 55 00:03:28,820 --> 00:03:32,080 well, if you use one of those tools, you will get owned. 56 00:03:33,280 --> 00:03:34,220 And it hurts. 57 00:03:37,920 --> 00:03:40,700 Second motivation, too much focus on whistles 58 00:03:40,700 --> 00:03:44,680 and bells. No more bullshit regarding 59 00:03:44,680 --> 00:03:48,640 vulnerability classification and hard-coded risk. I'm tired of seeing 60 00:03:48,640 --> 00:03:52,700 that an issue is high, an issue is low, an issue is 61 00:03:52,700 --> 00:03:55,780 medium. What the fuck does that mean, man? 62 00:03:58,320 --> 00:04:00,700 What the hell, man? And then you go 63 00:04:00,700 --> 00:04:04,400 to the client and the client says, well, what is a low? And then you are like, well, 64 00:04:04,620 --> 00:04:07,320 low is low, right? 65 00:04:09,020 --> 00:04:12,680 But the truth is that when sometimes a high is just a 66 00:04:12,680 --> 00:04:15,620 low, and a couple of lows can get you high. 67 00:04:18,760 --> 00:04:20,720 What is the real impact? That's why 68 00:04:20,720 --> 00:04:24,560 we are playing with Metasploit. This is just a plug-in, so we can jump from 69 00:04:24,560 --> 00:04:27,760 the testing part directly to the exploitation methods, okay? 70 00:04:29,980 --> 00:04:31,960 How everything is working today. 71 00:04:32,540 --> 00:04:36,680 So I say, like, let's do something really cool. That's the damn graphic that I make. 72 00:04:38,340 --> 00:04:40,120 So when you play with these tools, 73 00:04:40,120 --> 00:04:44,180 with the commercial tools, I like the commercial tools, 74 00:04:44,260 --> 00:04:46,200 it's just that I see that they can do better, okay? 75 00:04:47,560 --> 00:04:51,580 Now, it's like playing with Lemmings. You just see the damn packets and all the requests 76 00:04:51,580 --> 00:04:55,080 just being going through it and they just fall and nothing happens. 77 00:04:55,660 --> 00:05:00,060 I cannot take those results and feed them back to the engine. 78 00:05:00,300 --> 00:05:01,420 It's a pain in the back. 79 00:05:03,400 --> 00:05:07,220 The proxy is kind of like on the side. It's like 80 00:05:07,220 --> 00:05:09,480 the ugly child of the family. 81 00:05:10,120 --> 00:05:12,040 You know, just want an additional toll. 82 00:05:14,900 --> 00:05:18,120 And they say, oh, it is free, so yes, you can use 83 00:05:18,120 --> 00:05:18,980 it sometimes. 84 00:05:21,720 --> 00:05:26,080 But what is the good way to do it? Well, let's go back to basics. The proxy. 85 00:05:26,220 --> 00:05:29,560 The man in the middle proxy. There are tons of proxies out there. 86 00:05:30,020 --> 00:05:34,040 Fiddler, Barb, Paros, etc., man. It's awesome, awesome, 87 00:05:34,120 --> 00:05:37,840 awesome tools that actually does a much better job than 88 00:05:39,060 --> 00:05:39,780 the one above. 89 00:05:40,120 --> 00:05:40,420 Okay. 90 00:05:44,700 --> 00:05:47,720 Okay, what is the objective of WMAP? Being a simple tool, 91 00:05:48,220 --> 00:05:51,740 command line based, a way to testing methods with exploitation 92 00:05:51,740 --> 00:05:55,340 methods. You can use it as a scanner, but it's just 93 00:05:55,340 --> 00:05:59,080 an extension of the Metasploit framework. And again, 94 00:05:59,800 --> 00:06:03,780 something easy to extend and modify. I didn't like the 95 00:06:03,780 --> 00:06:07,980 APIs to adjust or add new extensions to 96 00:06:07,980 --> 00:06:11,860 some of the frameworks out there. So it takes forever to build 97 00:06:11,860 --> 00:06:15,820 something. We just need something easy, okay? Actually, 98 00:06:15,900 --> 00:06:19,960 we have to do a campaign like no more difficult tools or no more 99 00:06:19,960 --> 00:06:22,560 complex tools. Let's go back to basics, dude. 100 00:06:24,720 --> 00:06:27,080 Right? Note, no more web assessment, 101 00:06:27,360 --> 00:06:30,120 the more web assessment tools, the better. 102 00:06:31,880 --> 00:06:35,380 For example, W3AF is awesome. That's Andres 103 00:06:35,380 --> 00:06:39,320 if he's over there or the people that contribute. Thank you very much. 104 00:06:41,700 --> 00:06:42,860 SQLMAP is awesome. 105 00:06:43,640 --> 00:06:47,200 Bernardo if he's over there or some people that work in the 106 00:06:47,200 --> 00:06:50,840 project is around here. Thank you again, too. And 107 00:06:51,560 --> 00:06:55,260 each tool has its own limitations. Choose the damn tool you 108 00:06:55,260 --> 00:06:59,280 like. It's just a tool. Poor worksman playing his 109 00:06:59,280 --> 00:07:02,000 tools. I don't know who said that, but I just copy and paste. 110 00:07:03,660 --> 00:07:05,000 . By the way, 111 00:07:05,380 --> 00:07:09,160 I left a blank field in the bottom so you can write there whatever 112 00:07:09,160 --> 00:07:13,120 you use, okay? I'm not saying that WMAP is the shit, okay? 113 00:07:13,340 --> 00:07:17,260 We are just starting. And even if I finish with WMAP, 114 00:07:17,340 --> 00:07:21,080 still there are good tools out there. So 115 00:07:21,080 --> 00:07:22,840 just put whatever you want there. 116 00:07:25,300 --> 00:07:29,300 What is the design? The design is awesome. What I did is just 117 00:07:30,780 --> 00:07:33,240 decouple everything. Just separating every 118 00:07:33,240 --> 00:07:37,080 single thing that is out there. So I can have multiple 119 00:07:37,080 --> 00:07:40,920 spiders or clients or devices 120 00:07:40,920 --> 00:07:45,020 that connect to the proxy. The proxy just going to store 121 00:07:45,020 --> 00:07:48,580 every single request into the Metasploit database. 122 00:07:48,980 --> 00:07:52,980 And then from the Metasploit database, WMAP, that is the 123 00:07:52,980 --> 00:07:57,300 plugin, will take that information. It will create a tree of the website 124 00:07:57,300 --> 00:08:01,340 and will start launching all the auxiliary modules one by one 125 00:08:01,340 --> 00:08:03,100 in the order that makes sense. 126 00:08:03,240 --> 00:08:06,740 That's it. Actually, that's the way that the other 127 00:08:06,740 --> 00:08:11,240 tools does, but this is simple. So why 128 00:08:11,240 --> 00:08:15,180 do we have to pay for that much? Okay. And then 129 00:08:15,180 --> 00:08:19,180 we just launch the test to the target and we can take 130 00:08:19,180 --> 00:08:22,860 the results because we own those results and we can do whatever it wants. 131 00:08:23,100 --> 00:08:27,220 Like put it again into the database or if you have 132 00:08:27,220 --> 00:08:31,120 something additional to do, just throw it through the proxy and then 133 00:08:31,120 --> 00:08:32,060 you can test it again. 134 00:08:33,240 --> 00:08:37,020 Easy. The proxy. 135 00:08:37,080 --> 00:08:40,760 The proxy only stores requests in the database. Initially 136 00:08:40,760 --> 00:08:45,080 when I started WMAP, I did a small plugin for 137 00:08:45,080 --> 00:08:47,920 Fiddler. Fiddler is made by Eric Lawrence from Microsoft. 138 00:08:48,540 --> 00:08:52,880 I haven't released the plugin because it's ugly. So still needs 139 00:08:52,880 --> 00:08:56,980 some improvement on the GUI because it's Windows. Patch for 140 00:08:56,980 --> 00:09:00,120 the patch that I use right now is a patch for 141 00:09:00,120 --> 00:09:03,580 a RAD proxy from Elkintuff. And 142 00:09:04,980 --> 00:09:08,020 also thank you to Spinbat that has 143 00:09:08,020 --> 00:09:10,680 made some additional plugins for a 144 00:09:10,680 --> 00:09:16,080 BORP proxy. Okay. But if you have anything that 145 00:09:16,080 --> 00:09:19,800 can take the requests and store it in the database, 146 00:09:20,120 --> 00:09:21,260 do it, man. 147 00:09:23,980 --> 00:09:28,020 This is the schema that you can use to store everything. 148 00:09:28,160 --> 00:09:28,820 It's very simple. 149 00:09:30,300 --> 00:09:33,160 What else? It's just that I don't see very well over there. 150 00:09:33,700 --> 00:09:37,420 That's why I use glasses so I have to check this. Okay. 151 00:09:37,480 --> 00:09:40,900 So we have the path, we have the headers, the query, the body, the response 152 00:09:43,440 --> 00:09:45,780 headers. The response code 153 00:09:45,780 --> 00:09:49,980 and the actual response and when it was created. That's it. If you can put it 154 00:09:49,980 --> 00:09:52,560 in that format, you're good to go. 155 00:09:54,460 --> 00:09:57,300 Well, this is a small list of the auxiliary models that are 156 00:09:57,300 --> 00:10:00,220 located right now in the Metasploit framework. 157 00:10:01,160 --> 00:10:04,840 Again, like I told you earlier, this is on early stages. But 158 00:10:04,840 --> 00:10:07,880 if you see it, the plugins that are here, the modules, 159 00:10:09,060 --> 00:10:12,140 they have the basic functionality that you need to have 160 00:10:12,140 --> 00:10:16,000 a good understanding of your target. And also 161 00:10:17,920 --> 00:10:21,080 you can use them, modify it a little bit, 162 00:10:21,180 --> 00:10:25,000 and create new tests without any problem. So please 163 00:10:25,000 --> 00:10:28,500 go to this directory, take one module, 164 00:10:28,660 --> 00:10:32,700 just check it out. It's very simple to understand. And all thanks 165 00:10:32,700 --> 00:10:36,360 to HD. Okay. It's not me. I'm just reusing 166 00:10:36,360 --> 00:10:40,720 his work. Let's start with some explanation 167 00:10:40,720 --> 00:10:44,640 with some type of the modules. Because I think the most important 168 00:10:44,640 --> 00:10:48,400 parts are the actual modules, not the actual plugin. The plugin just 169 00:10:48,400 --> 00:10:52,600 runs all of them on a certain 170 00:10:52,600 --> 00:10:54,940 order. And this is just 171 00:10:55,000 --> 00:10:59,220 one basic example on how to run a specific WMAP 172 00:10:59,220 --> 00:11:02,600 module. Just use it as any other module on the framework. 173 00:11:02,900 --> 00:11:06,680 You set the specific variables for the module, the target. 174 00:11:06,920 --> 00:11:10,380 Remember that each module can be used as a scanner. 175 00:11:11,020 --> 00:11:14,040 You can put a range over there. And 176 00:11:14,040 --> 00:11:19,080 we define the port. In this case, we are going to use the WMAP SSL 177 00:11:19,080 --> 00:11:23,020 module. So I'm going to say that we are going to use SSL. And let's run it. 178 00:11:23,020 --> 00:11:26,760 In this specific example, just 179 00:11:26,760 --> 00:11:30,820 worth to mention that I use, what it does is going to 180 00:11:30,820 --> 00:11:34,800 query a bunch of certificates. And it's just going to show me the information 181 00:11:34,800 --> 00:11:38,440 from them. And it's a very good way to see 182 00:11:38,440 --> 00:11:42,780 the virtual hosts. So if you have a bunch of IP addresses that 183 00:11:42,780 --> 00:11:46,640 usually happen on the pen test, and you find those weird websites when you say, 184 00:11:46,780 --> 00:11:50,860 okay, the web page doesn't show what is the virtual host, 185 00:11:50,860 --> 00:11:53,740 this is a good plugin to use. Okay? A good module. 186 00:11:54,480 --> 00:11:58,320 The other thing is for this example, I use, well, here it says that 187 00:11:58,860 --> 00:12:00,420 it's like the XYZ 188 00:12:03,800 --> 00:12:06,920 Demco.com company. But in reality 189 00:12:06,920 --> 00:12:10,480 it's one of those banks in America. So 190 00:12:10,480 --> 00:12:13,060 what I did is I just run it through a couple of 191 00:12:14,300 --> 00:12:18,720 IP addresses and just check the information that it returns. It returns stuff 192 00:12:18,720 --> 00:12:20,460 like they are running 193 00:12:20,860 --> 00:12:24,760 JBoss and WebSphere. So it's good information to 194 00:12:24,760 --> 00:12:28,620 have. Additional stuff 195 00:12:28,620 --> 00:12:32,200 for information gathering. In this case, I'm going to show you some 196 00:12:34,400 --> 00:12:36,460 the way that another 197 00:12:36,460 --> 00:12:40,920 module works. That is the way that we detect directories 198 00:12:40,920 --> 00:12:44,660 on a web server. Usually what happens is that the tools that you have 199 00:12:44,660 --> 00:12:48,080 out there, they only check for the return code. That sucks, man. 200 00:12:48,080 --> 00:12:51,960 Because sometimes, nowadays, they have their own error pages. 201 00:12:52,340 --> 00:12:55,900 Well, thank you to HD and my work, we were able to create 202 00:12:55,900 --> 00:13:00,120 a small module that has signatures to check 203 00:13:00,120 --> 00:13:03,720 the error page. So if it returns whatever code 204 00:13:03,720 --> 00:13:07,060 it is, it will really detect if 205 00:13:07,060 --> 00:13:09,880 the directory exists or not. 206 00:13:14,120 --> 00:13:16,100 The second important part of 207 00:13:16,100 --> 00:13:20,040 WMAP is the data storage and reporting. I think 208 00:13:20,040 --> 00:13:22,140 the most important part is that with the data, 209 00:13:23,920 --> 00:13:27,960 we were used to only work with the data on the way 210 00:13:27,960 --> 00:13:32,000 that the developers were supposed to give us 211 00:13:32,000 --> 00:13:36,020 access to. In this case, you can store anything you 212 00:13:36,020 --> 00:13:39,860 want and put any name on it. 213 00:13:39,960 --> 00:13:44,000 That means that if in the future there is someone that devices 214 00:13:44,000 --> 00:13:47,520 a new attack technique or a new vulnerability 215 00:13:47,520 --> 00:13:52,100 and it requires a specific cool name, then you can put it 216 00:13:52,100 --> 00:13:55,560 over there and have that information stored on a 217 00:13:55,560 --> 00:13:59,500 tree that you can later reuse for analysis. 218 00:14:01,720 --> 00:14:03,960 For example, let's check a little bit about this code. 219 00:14:04,220 --> 00:14:07,860 The only thing that it has to do is going to find 220 00:14:07,860 --> 00:14:11,840 the report on the first part. It's going to find 221 00:14:11,840 --> 00:14:12,580 the report ID. 222 00:14:14,000 --> 00:14:17,780 Based on the host, on the port number, and if it uses SSL or 223 00:14:17,780 --> 00:14:21,420 not. And then with that report ID, you will be storing 224 00:14:21,760 --> 00:14:25,740 all the information that you want on the format that you see 225 00:14:25,740 --> 00:14:29,800 displayed. It's basically type, description, 226 00:14:30,740 --> 00:14:31,360 that's it. 227 00:14:36,880 --> 00:14:38,780 Let's talk now about the WMAP plugin. 228 00:14:41,460 --> 00:14:43,340 Basically what it does, it identifies 229 00:14:44,000 --> 00:14:47,400 multiple targets from the database that all the requests 230 00:14:47,400 --> 00:14:51,420 are stored. We build a target website with that 231 00:14:51,420 --> 00:14:54,860 structure. And we run the models 232 00:14:55,400 --> 00:14:59,280 in a specific order. Reporting, we already talked about it. 233 00:15:00,180 --> 00:15:03,740 And if you see in the bottom of the presentation, 234 00:15:04,040 --> 00:15:06,400 that's the initial command to run WMAP. 235 00:15:07,900 --> 00:15:10,800 One thing, if we don't have time to run the demo, 236 00:15:10,800 --> 00:15:14,600 then the only thing that you have to do is to load the 237 00:15:14,600 --> 00:15:18,700 DB WMAP, and then you just say WMAP 238 00:15:19,240 --> 00:15:22,580 target to select, and WMAP run, and that's it. 239 00:15:22,980 --> 00:15:26,320 Okay? There is no thing to select what plugins 240 00:15:26,320 --> 00:15:30,820 you want to use. You can do it in other different ways, but 241 00:15:30,820 --> 00:15:33,960 it's very easy to use. That's what I wanted to do. 242 00:15:35,100 --> 00:15:38,940 So how WMAP works. Basically, we have a specific 243 00:15:38,940 --> 00:15:42,760 mixing where you can define specific 244 00:15:42,760 --> 00:15:46,880 types of modules. So we have this 245 00:15:46,880 --> 00:15:50,720 type of modules, and what it does 246 00:15:50,720 --> 00:15:54,160 is I take the module, I put the type, 247 00:15:55,460 --> 00:15:58,640 WMAP, the text, what is the type, and 248 00:15:58,640 --> 00:16:02,320 it will launch it at the right time. For example, the first thing that it will do 249 00:16:02,320 --> 00:16:06,740 when I run something is that it will run every single module that is defined 250 00:16:06,740 --> 00:16:10,680 as a WMAP scan server. Okay? Then it will 251 00:16:10,680 --> 00:16:14,620 try to scan every single module. It will run every single module 252 00:16:14,620 --> 00:16:18,120 that is for files or directories. 253 00:16:18,200 --> 00:16:22,700 Actually, they run kind of at the same time. Then modules 254 00:16:22,700 --> 00:16:26,820 that require to execute at every single query, and you see 255 00:16:26,820 --> 00:16:30,240 that I have something different that is called unique query, because what it does is 256 00:16:30,240 --> 00:16:34,680 it will create a signature of the query that you have a get request or a post 257 00:16:34,680 --> 00:16:36,320 request, and I don't want to run it 258 00:16:36,740 --> 00:16:40,280 every time only because the value changes. I only need to run it 259 00:16:40,280 --> 00:16:44,580 just because I see the same parameters all over again. So I can 260 00:16:44,580 --> 00:16:47,020 do that just with the WMAP scan unique query. 261 00:16:48,400 --> 00:16:52,520 Then also I have something to scan the body or to 262 00:16:52,520 --> 00:16:56,680 work with the body of the request, the headers, and something 263 00:16:56,680 --> 00:17:00,320 called generic that is always run at the end. So this is where we can 264 00:17:00,320 --> 00:17:04,280 analyze all the information that we have been retrieved, take that information 265 00:17:04,280 --> 00:17:07,620 and put it back into the database or feed it back to the proxy. 266 00:17:08,160 --> 00:17:11,940 Okay? One basic example is the WMAP generic email extract. 267 00:17:12,280 --> 00:17:16,340 This is the only type of modules on the framework that you cannot 268 00:17:16,340 --> 00:17:19,560 run it interactively or through the command line, because 269 00:17:20,100 --> 00:17:24,080 the only input that it takes is the database. And this 270 00:17:24,080 --> 00:17:28,240 just extracts all the email addresses, so you 271 00:17:28,240 --> 00:17:32,040 can take it and use some social engineering with the 272 00:17:32,040 --> 00:17:33,260 emailer and 273 00:17:34,280 --> 00:17:37,620 using the tools that Jabra has 274 00:17:38,440 --> 00:17:41,400 helped me develop for the framework. 275 00:17:45,200 --> 00:17:46,320 Okay, so how to 276 00:17:46,320 --> 00:17:49,940 build a WMAP module? Just take a Metasploit module. 277 00:17:50,720 --> 00:17:54,160 It doesn't have to be an auxiliary module. It can be any module. 278 00:17:54,660 --> 00:17:57,860 Not only HTTP. Just include 279 00:17:57,860 --> 00:18:01,700 the mixing type and that's it. So if you see there 280 00:18:01,700 --> 00:18:04,920 you just put the type that you need. 281 00:18:05,200 --> 00:18:08,900 Run it. Easy, right? 282 00:18:11,320 --> 00:18:12,680 Okay, what is the demo? 283 00:18:13,780 --> 00:18:17,140 We only have five minutes, okay? So 284 00:18:17,460 --> 00:18:21,260 what I did is I took a specific 285 00:18:21,260 --> 00:18:25,300 IP address on the internet and 286 00:18:26,020 --> 00:18:29,500 I did a small video. But I think you guys 287 00:18:29,500 --> 00:18:32,960 deserve respect, so I did something like really 288 00:18:33,500 --> 00:18:37,420 a website on the internet, not something that I crafted here because that's 289 00:18:37,420 --> 00:18:41,440 kind of cheesy. And let's see how 290 00:18:41,440 --> 00:18:41,740 it goes. 291 00:18:50,820 --> 00:18:52,180 Where is the full screen? 292 00:18:53,020 --> 00:18:56,720 There it goes. Alright. 293 00:18:56,720 --> 00:19:00,660 So what we're doing right now, we are loading 294 00:19:00,660 --> 00:19:04,020 the plugin. We connect to the database. 295 00:19:06,120 --> 00:19:08,120 I'm showing the commands that 296 00:19:08,120 --> 00:19:11,400 it has available. We're going to 297 00:19:11,400 --> 00:19:16,300 define the targets. So the first thing is we are going to 298 00:19:16,300 --> 00:19:20,720 reload them from the database. 299 00:19:24,960 --> 00:19:26,140 That's it. Only one. 300 00:19:26,840 --> 00:19:30,420 Sorry for the guy from the IP. I'm only browsing his web page, okay? 301 00:19:30,500 --> 00:19:32,100 So no attacks were performed. 302 00:19:34,320 --> 00:19:37,680 And the thing is then I just print the available targets. 303 00:19:38,760 --> 00:19:42,680 And I'm going to select the first one. Actually I selected 304 00:19:42,680 --> 00:19:45,160 first before printing, but it works the same. 305 00:19:47,960 --> 00:19:50,180 And what I'm going to do right now is 306 00:19:50,490 --> 00:19:54,680 I'm going to set the variables that usually are required by the modules. 307 00:19:54,680 --> 00:19:57,340 Again, by the modules, not by the 308 00:19:58,660 --> 00:20:02,500 WMAP plugins. So these are the modules that are 309 00:20:02,500 --> 00:20:06,660 available. You can enable and disable them through a profile too. 310 00:20:06,840 --> 00:20:09,260 So check the documentation of the WMAP. 311 00:20:11,760 --> 00:20:14,400 And now what I'm going to do is I'm looking at the 312 00:20:14,400 --> 00:20:18,480 website structure. This is the most important part. 313 00:20:20,160 --> 00:20:22,680 If you guys do a web app assessment 314 00:20:22,680 --> 00:20:26,600 you will see that the structure is where the gold 315 00:20:26,600 --> 00:20:30,720 is always. Then again, like I said, 316 00:20:30,840 --> 00:20:34,640 you set different variables. In this case I'm setting the extension of 317 00:20:36,160 --> 00:20:37,740 that I need to play with. 318 00:20:41,720 --> 00:20:43,040 Then at that time 319 00:20:43,040 --> 00:20:46,280 I receive a call from my wife. And then I have to stop a little bit. 320 00:20:46,360 --> 00:20:50,720 I kept going. By the way, I'm going to be a dad. 321 00:20:51,120 --> 00:20:51,540 So... 322 00:20:52,680 --> 00:20:53,220 Thank you very much. 323 00:20:58,380 --> 00:21:00,280 I set the virtual host. 324 00:21:00,420 --> 00:21:04,100 That's the other cool thing. Some of the tools don't allow you to play with the virtual host. 325 00:21:04,300 --> 00:21:08,040 So you have a lot of range here to play with. 326 00:21:11,560 --> 00:21:12,620 I'm checking the domain. 327 00:21:13,740 --> 00:21:17,120 For some of the plugins that, for example, perform some brute forcing 328 00:21:17,120 --> 00:21:19,060 to identify additional virtual hosts. 329 00:21:21,120 --> 00:21:22,820 Then I receive another call 330 00:21:22,820 --> 00:21:23,840 from my wife. 331 00:21:25,640 --> 00:21:30,140 Yeah. And there it goes. 332 00:21:30,260 --> 00:21:32,840 Now I'm going to type wmap run. 333 00:21:37,100 --> 00:21:38,000 And...the help. 334 00:21:38,800 --> 00:21:39,800 Come on, man. 335 00:21:43,480 --> 00:21:46,660 And there it goes. 336 00:21:48,800 --> 00:21:49,920 All right. 337 00:21:53,000 --> 00:21:54,680 And...then the module stopped. 338 00:21:54,940 --> 00:21:58,720 And there it goes. So basically it's going to start running all the crap. 339 00:21:59,700 --> 00:22:00,300 That's it. 340 00:22:02,620 --> 00:22:05,200 It's easy. Simple. That's it, man. 341 00:22:08,120 --> 00:22:10,580 We are not framing...not frying brains 342 00:22:10,580 --> 00:22:14,480 here, okay? That's I think what the type of tools that we require. 343 00:22:15,360 --> 00:22:17,420 And I'm going to stop the demo here. 344 00:22:18,000 --> 00:22:21,960 Okay? Because the time is over. So thank you very much, man.