1 00:00:08,660 --> 00:00:19,060 My name is Matt Shannon. I work for KPMG as part of the Information Risk Management group. We do penetration testing, vulnerability assessments, general security work. 2 00:00:20,380 --> 00:00:29,280 What I'm going to talk about today is Microsoft Front Page. I'm going to cover a couple of different topic areas. 3 00:00:30,060 --> 00:00:38,900 It's a pretty heavily deployed tool that's not very well known. I'm going to cover the protocol, the back end systems. 4 00:00:39,080 --> 00:00:45,520 I'm going to cover a simple brute force authentication scanning program I put together. 5 00:00:45,880 --> 00:00:49,040 I'm going to talk about what to do when you first start. 6 00:00:49,060 --> 00:00:52,060 I'm going to talk about how to gain front page access. I'm going to talk about ASP. 7 00:00:52,180 --> 00:00:58,320 I'm going to talk about some of the powerful ASP components and tools you can use to gain further access. 8 00:00:58,740 --> 00:01:03,820 And then I'm going to wrap it up with how to secure front page. 9 00:01:03,980 --> 00:01:09,740 All of you have friends, relatives, girlfriends, clients, others that insist on running front page. 10 00:01:10,440 --> 00:01:15,340 This is how you take the extra steps to prevent the people that attended this conference from doing anything to them. 11 00:01:16,200 --> 00:01:18,840 And just to get us all on the same page. 12 00:01:19,520 --> 00:01:23,900 Before we begin, we're going to talk about a lot of tools and techniques in here. 13 00:01:24,060 --> 00:01:28,940 We all know you've got to use these on machines that you have permission to use them on. 14 00:01:29,360 --> 00:01:31,900 So, get your written permission ahead of time. 15 00:01:32,440 --> 00:01:33,220 Let's get started. 16 00:01:34,440 --> 00:01:35,380 Laying the groundwork. 17 00:01:36,140 --> 00:01:38,720 Front page. Microsoft Front Page. What is it? 18 00:01:38,880 --> 00:01:43,660 You have to ask that question. You've been under a rock for the last ten years. 19 00:01:44,720 --> 00:01:47,260 It's Microsoft's integrated website development tool. 20 00:01:47,500 --> 00:01:49,040 It's a system for adding pages. 21 00:01:49,040 --> 00:01:52,340 It's basic to advanced functionality with little or no web page experience. 22 00:01:52,780 --> 00:01:56,360 In addition, it's an integrated Microsoft Office package. 23 00:01:56,560 --> 00:01:58,980 And in my personal opinion, a security nightmare. 24 00:02:00,020 --> 00:02:04,000 It was built by Vermeer Technologies in early 1995. 25 00:02:04,500 --> 00:02:11,500 Vermeer was one of those dot-com explosive firms that created front page to capture the web boom. 26 00:02:12,220 --> 00:02:17,120 Following an enormous success, they were bought out by Microsoft in 1996. 27 00:02:19,040 --> 00:02:24,160 The original programming staff still works for Microsoft, although the management's moved on to new endeavors. 28 00:02:24,760 --> 00:02:35,520 Essays aside, all DLLs, all functions within front page start with the underscore VTI underscore Vermeer Technologies Incorporated. 29 00:02:37,540 --> 00:02:38,560 Decoding the system. 30 00:02:39,260 --> 00:02:47,120 We're going to talk a little bit about the HTTP protocol and what's going on behind the scenes when you access and administer a front page site. 31 00:02:47,740 --> 00:02:49,020 It's client-server communication. 32 00:02:49,040 --> 00:02:50,500 Very basic. 33 00:02:51,420 --> 00:02:57,440 Front page client talks to the front page server extensions over HTTP put requests. 34 00:02:57,780 --> 00:03:07,220 The front page client typically makes requests against author, admin, shtml.exe, as well as VTI RPC commands. 35 00:03:08,040 --> 00:03:11,000 We're going to talk about the different DLLs. 36 00:03:11,040 --> 00:03:17,960 The admin DLL is typically used for authoring commands, uploading content, downloading content. 37 00:03:20,180 --> 00:03:21,800 Reviewing properties, setting permissions. 38 00:03:23,340 --> 00:03:26,900 The author DLL is used, like I said, for uploading and adding content. 39 00:03:27,820 --> 00:03:34,700 The VTI RPC and shtml are typically used for starting your initial session or beginning access. 40 00:03:38,080 --> 00:03:44,540 There's a lot put on that slide, so I'm going to try to break it down for you, but you can go back and read it at your leisure. 41 00:03:44,880 --> 00:03:47,260 The authentication system is kind of interesting. 42 00:03:48,580 --> 00:03:52,160 It authenticates you every single time you do anything. 43 00:03:52,440 --> 00:03:54,680 When you first make a connection, it authenticates. 44 00:03:54,780 --> 00:03:56,580 When you scan the directory, it authenticates. 45 00:03:56,660 --> 00:04:00,120 When you pull up a file, when you upload or download a file, it authenticates. 46 00:04:00,340 --> 00:04:07,680 What it essentially does, the first half of the authentication is let's determine if this actually is a front page enabled server. 47 00:04:07,960 --> 00:04:13,620 So the first request is a client request for underscore VTI underscore inf dot html. 48 00:04:14,680 --> 00:04:17,860 Basically, this gives us information on server versions. 49 00:04:17,860 --> 00:04:20,780 In other words, is this client compatible with this version? 50 00:04:20,900 --> 00:04:25,880 It gives me locations for the admin, the author, EXEs or DLLs, whatever case that may be. 51 00:04:26,220 --> 00:04:31,460 Following this, the client takes this information and makes a post to VTI RPC. 52 00:04:32,000 --> 00:04:35,920 It's kind of an initial session start post. 53 00:04:36,160 --> 00:04:38,900 It's trying to initiate communication. 54 00:04:40,220 --> 00:04:43,840 The server will typically respond with a 200 OK. 55 00:04:44,400 --> 00:04:47,840 The client then posts to VTI RPC. 56 00:04:47,840 --> 00:04:52,120 VTI author or admin, depending on the action. 57 00:04:52,440 --> 00:04:54,140 In our example here, it's author. 58 00:04:55,100 --> 00:04:59,760 In the case that the administration has elected to allow everyone access, 59 00:04:59,960 --> 00:05:04,780 at this point, the front page will receive a 200 OK and you will have authenticated. 60 00:05:04,960 --> 00:05:09,600 Otherwise, you'll get kicked back a 401.3 authorization required. 61 00:05:11,820 --> 00:05:17,580 At this point, the client knows it needs to communicate. 62 00:05:17,840 --> 00:05:18,520 It needs to authenticate to the server. 63 00:05:18,600 --> 00:05:21,880 It needs to authenticate so it takes its NTLM. 64 00:05:21,900 --> 00:05:27,040 In the case of Windows, it takes the NTLM username and password, builds the NTLM challenge, 65 00:05:27,780 --> 00:05:29,660 and sends that back to the server. 66 00:05:29,940 --> 00:05:34,700 The server will once again respond with a 401.3 authorization required. 67 00:05:35,040 --> 00:05:40,740 Except this time, it passes back the server side challenge. 68 00:05:41,220 --> 00:05:45,160 At this point, the client, knowing its own username and password, 69 00:05:45,260 --> 00:05:47,480 and having a specific server challenge, 70 00:05:47,840 --> 00:05:49,360 pushes back the challenge response. 71 00:05:49,620 --> 00:05:51,900 It closes with a 200 OK. 72 00:05:52,200 --> 00:05:56,480 It's a very simple system, but it happens again and again and again 73 00:05:56,480 --> 00:05:59,560 throughout the process of accessing front page. 74 00:06:00,700 --> 00:06:03,300 We'll talk a little bit about VTI-INF. 75 00:06:03,540 --> 00:06:05,860 This does provide all the configuration information. 76 00:06:06,540 --> 00:06:11,260 It's embedded in the comments of the VTI-INF.html. 77 00:06:11,280 --> 00:06:15,520 If you were to open that page, it would just say front page configuration information. 78 00:06:15,520 --> 00:06:20,540 What resides inside that, on the other hand, is actually the comments, 79 00:06:20,660 --> 00:06:22,360 and they show the location of the file. 80 00:06:22,540 --> 00:06:28,300 They show the location of the server version information, things like that. 81 00:06:29,400 --> 00:06:36,300 Like I said before, VTI-INF actually gives us a lot of extra information about the server itself. 82 00:06:37,880 --> 00:06:41,000 Believe it or not, it tells us the operating system in most cases. 83 00:06:41,400 --> 00:06:45,500 The .dll's and .exe's, 84 00:06:45,520 --> 00:06:46,820 can help us determine that. 85 00:06:47,040 --> 00:06:51,960 Anytime the VTI-INF contains author or admin .exe, 86 00:06:52,080 --> 00:06:55,420 9 out of 10 times you're dealing with an Apache or a Unix box. 87 00:06:56,660 --> 00:06:58,780 Dll's will of course come on the Windows side. 88 00:06:59,080 --> 00:07:05,200 More importantly, the version information can help us narrow down the OS version. 89 00:07:06,180 --> 00:07:09,680 This is important for other attacks. 90 00:07:10,100 --> 00:07:12,520 I put together a version information table. 91 00:07:12,720 --> 00:07:13,960 I've got the... 92 00:07:13,960 --> 00:07:20,220 I was not able to obtain a Windows ME personal server version information. 93 00:07:20,340 --> 00:07:25,280 I apologize, the formatting got munged. 94 00:07:26,700 --> 00:07:29,360 Windows NT, typically it is a 4.x version. 95 00:07:29,540 --> 00:07:30,480 Pretty easy to remember. 96 00:07:30,720 --> 00:07:34,140 Windows 2000 and Windows XP both fall under a 5.x version, 97 00:07:34,260 --> 00:07:39,140 although it's most often than not a much lower subversion number for 2K. 98 00:07:39,200 --> 00:07:43,840 It's a 5.1 or a 5.2 versus a 5.6 or 5.8 on XP. 99 00:07:43,960 --> 00:07:47,900 I didn't create the name, that's Vermeer, 100 00:07:48,000 --> 00:07:52,800 but Vermeer created, they call their packets that they pass back and forth, 101 00:07:52,920 --> 00:07:55,020 Vermeer RPC packets. 102 00:07:56,160 --> 00:08:00,560 Vermeer RPC packets resemble web services. 103 00:08:00,940 --> 00:08:05,760 They resemble encoded HTML with variables. 104 00:08:06,640 --> 00:08:09,940 In my opinion, it might have been an early precursor to XML. 105 00:08:11,420 --> 00:08:13,340 The following is a sample. 106 00:08:13,340 --> 00:08:15,140 This is a sample Vermeer RPC packet. 107 00:08:15,780 --> 00:08:17,500 It contains a large amount of information. 108 00:08:17,680 --> 00:08:21,120 It's a little clearer, I'm sure, on your CD than it is up here. 109 00:08:21,540 --> 00:08:25,180 What you'll see embedded down in there is a physical drive path 110 00:08:25,180 --> 00:08:26,980 to a file you attempt to download. 111 00:08:28,380 --> 00:08:29,920 It's pretty much a big no-no. 112 00:08:30,020 --> 00:08:34,060 You really don't want to keep a complete physical drive path to the file. 113 00:08:34,480 --> 00:08:38,620 It's possible to use that kind of information for future Unicode exploits. 114 00:08:38,780 --> 00:08:42,300 In addition, if you climb in and start reviewing the different information, 115 00:08:42,300 --> 00:08:46,100 you'll find a lot of different functions or features, 116 00:08:46,280 --> 00:08:52,460 revision level, additional authorizations and permissions, 117 00:08:52,640 --> 00:08:54,420 all embedded in those strings. 118 00:08:54,840 --> 00:08:58,680 It would be interesting, and we made multiple attempts to modify different values, 119 00:08:58,800 --> 00:09:02,960 and I think there's still additional exploits to be had there. 120 00:09:09,100 --> 00:09:12,080 Let's talk about the backend for a minute. 121 00:09:12,960 --> 00:09:15,860 One of the more interesting things we were able to do 122 00:09:15,860 --> 00:09:22,320 was download a free copy of Microsoft's Windows debugger, 123 00:09:22,320 --> 00:09:23,280 the WinDebug tool. 124 00:09:23,320 --> 00:09:23,860 It's a free tool. 125 00:09:23,980 --> 00:09:25,040 Microsoft gives it away. 126 00:09:26,480 --> 00:09:29,700 Attach that to a backend running INET info process 127 00:09:30,300 --> 00:09:37,520 and listen as you connect to and make a front page session. 128 00:09:38,070 --> 00:09:41,900 Watch what DLLs are being used and what functions the DLLs are calling. 129 00:09:43,640 --> 00:09:47,200 You can download WinDebug from Microsoft's debugging site, 130 00:09:47,300 --> 00:09:48,080 which I've included here. 131 00:09:48,260 --> 00:09:51,820 When you download this, you will also want to enable it 132 00:09:51,820 --> 00:09:54,100 to use Microsoft's Symbols server. 133 00:09:54,380 --> 00:09:57,240 It'll help you translate what functions they're calling. 134 00:09:57,840 --> 00:10:02,440 Both the access to the Symbols server as well as Microsoft's debugging tool 135 00:10:02,440 --> 00:10:03,220 are completely free, 136 00:10:03,380 --> 00:10:07,060 and a really easy way to get an understanding of what's going on under the hood. 137 00:10:08,600 --> 00:10:11,120 Front page server extensions use, 138 00:10:11,120 --> 00:10:13,340 as a partial list, 139 00:10:13,440 --> 00:10:15,580 other front page server extension DLLs. 140 00:10:15,780 --> 00:10:20,200 The AuthL and AWEL DLLs you'll find 141 00:10:20,200 --> 00:10:22,620 are used more often than any of the others. 142 00:10:23,280 --> 00:10:27,960 The Author and Admin DLLs almost contain stub-like functions 143 00:10:27,960 --> 00:10:33,740 that are used to call functions in the earlier DLLs. 144 00:10:35,160 --> 00:10:39,100 I don't know the level of debugging skills, 145 00:10:39,360 --> 00:10:40,960 but debugging is, 146 00:10:41,120 --> 00:10:42,600 is an art as well as a science, 147 00:10:42,720 --> 00:10:44,340 and it takes time to understand it. 148 00:10:45,060 --> 00:10:48,580 There are multiple guides and tutorials available on the internet. 149 00:10:48,740 --> 00:10:51,020 A couple of quick Google searches will point you to dozens. 150 00:10:52,120 --> 00:10:53,700 WinDebug's got its own set of help files. 151 00:10:54,420 --> 00:10:59,320 But I included here the simple commands I used when I was getting started. 152 00:11:00,040 --> 00:11:03,480 You can use the VM to set breakpoints, 153 00:11:03,700 --> 00:11:05,000 and it's kind of interesting. 154 00:11:05,100 --> 00:11:09,980 You can give it the DLL and a global variable like star. 155 00:11:10,340 --> 00:11:10,820 In other words, 156 00:11:11,120 --> 00:11:11,680 in the example I did, 157 00:11:11,840 --> 00:11:14,360 FP4 AWEL bang star, 158 00:11:14,820 --> 00:11:17,720 it'll essentially set a breakpoint for every single function in that DLL. 159 00:11:17,940 --> 00:11:19,400 Now, that's going to hurt, 160 00:11:19,600 --> 00:11:23,280 because you're going to be stepping through that again and again and again. 161 00:11:23,480 --> 00:11:28,160 However, what you're going to get is a list of three, four hundred functions. 162 00:11:28,460 --> 00:11:31,080 You can immediately pinpoint and narrow down 163 00:11:31,080 --> 00:11:32,920 the functions that seem most interesting to you, 164 00:11:32,980 --> 00:11:35,480 such as set permission, get permission, 165 00:11:36,080 --> 00:11:38,980 check authorization, things like that. 166 00:11:39,560 --> 00:11:41,200 BC to clear those breakpoints. 167 00:11:41,400 --> 00:11:42,540 Once you've got your list, 168 00:11:42,640 --> 00:11:43,460 you print up your list, 169 00:11:43,540 --> 00:11:46,080 you go back and highlight the ones you want to set the breakpoint on, 170 00:11:46,280 --> 00:11:49,840 and then go back and run through and step through the code at those points. 171 00:11:51,220 --> 00:11:52,520 G is, of course, go. 172 00:11:52,680 --> 00:11:56,000 Once you hit a break, 173 00:11:56,200 --> 00:11:57,560 you can restart it with go. 174 00:11:57,680 --> 00:11:59,000 P pauses the activity. 175 00:12:00,780 --> 00:12:01,380 All right. 176 00:12:01,540 --> 00:12:03,400 What did I discover when I went through it? 177 00:12:03,480 --> 00:12:05,800 This is just a very brief list, 178 00:12:05,980 --> 00:12:08,440 but one of the things that I hit on, 179 00:12:08,440 --> 00:12:12,680 was the FPAWEL service 180 00:12:13,360 --> 00:12:17,400 actually forms a listing of all documents in the defined web 181 00:12:17,400 --> 00:12:19,260 prior to accepting a request. 182 00:12:20,080 --> 00:12:24,500 It was my hope that it was coded a little more poorly, 183 00:12:24,620 --> 00:12:26,160 that it would break for your request, 184 00:12:26,340 --> 00:12:28,900 then go and pull the file and retrieve it for you. 185 00:12:29,080 --> 00:12:32,180 However, the server does pre-query the site 186 00:12:32,180 --> 00:12:35,640 and then create an stack array listing of these values, 187 00:12:35,820 --> 00:12:37,840 and then it will reply with what you, 188 00:12:38,440 --> 00:12:39,640 when we search this list, 189 00:12:39,880 --> 00:12:40,980 when you make a request. 190 00:12:41,320 --> 00:12:44,040 However, is there still an opportunity to break out this list? 191 00:12:44,160 --> 00:12:46,260 Are there opportunities for the buffer to be overrun? 192 00:12:46,380 --> 00:12:46,960 I'm sure there are. 193 00:12:49,880 --> 00:12:51,980 DSPContext.getfile is another one of the, 194 00:12:52,080 --> 00:12:53,520 getfile and getdocument, 195 00:12:53,760 --> 00:12:56,880 they're called when downloading from front page. 196 00:12:57,040 --> 00:12:58,260 Set your breakpoints to these, 197 00:12:58,400 --> 00:13:01,460 and you can step through and figure out exactly where that array is getting called, 198 00:13:01,600 --> 00:13:04,860 and whether or not there are opportunities for buffer overruns. 199 00:13:07,120 --> 00:13:08,420 NTDLL is used to, 200 00:13:08,440 --> 00:13:11,120 exclusively in the authorization process, 201 00:13:11,280 --> 00:13:13,560 and we all know that there were attack vectors on that. 202 00:13:13,780 --> 00:13:17,420 Microsoft came out and said they will not patch for NT4. 203 00:13:17,660 --> 00:13:20,540 Do those same attack vectors apply via front page? 204 00:13:20,780 --> 00:13:21,580 Entirely possible. 205 00:13:24,760 --> 00:13:25,280 Okay. 206 00:13:26,080 --> 00:13:27,840 Taking some of this background information 207 00:13:28,200 --> 00:13:31,840 I learned about front page through my job, 208 00:13:32,080 --> 00:13:35,040 I went ahead and put together automated tools 209 00:13:35,040 --> 00:13:37,360 to grind through accounts, 210 00:13:37,360 --> 00:13:38,540 to grind through passwords, 211 00:13:38,760 --> 00:13:42,520 to grind through client front page enabled servers. 212 00:13:45,860 --> 00:13:47,180 FPExploiter was what came out of it. 213 00:13:47,380 --> 00:13:49,060 It's a really, it's a simple tool. 214 00:13:49,380 --> 00:13:53,820 It's a front page password grinding and vulnerability scanner, 215 00:13:54,000 --> 00:13:57,840 built as both command line and Perl GTK. 216 00:13:58,940 --> 00:14:02,420 In other words, now that you have a better understanding of how front page works, 217 00:14:02,720 --> 00:14:05,040 let's find out about finding vulnerable targets. 218 00:14:05,800 --> 00:14:07,460 This is what brought about the tool. 219 00:14:07,560 --> 00:14:10,500 The tool locates front page accessible web servers, 220 00:14:10,720 --> 00:14:12,340 uses default options, 221 00:14:12,540 --> 00:14:14,320 in other words, tests for the everyone account, 222 00:14:14,580 --> 00:14:18,360 then follows up using user defined accounts and passwords. 223 00:14:19,040 --> 00:14:21,600 It comes with a default password list. 224 00:14:21,960 --> 00:14:24,040 If I recall, it's one of the ones that the, 225 00:14:24,180 --> 00:14:26,060 one of the NetBios forums uses. 226 00:14:26,220 --> 00:14:28,340 It's a typical, simple password list. 227 00:14:30,280 --> 00:14:33,460 It's a Perl GTK and a command line tool. 228 00:14:33,460 --> 00:14:36,820 When you open it under Linux, 229 00:14:36,920 --> 00:14:39,100 you will see a window pretty similar to this. 230 00:14:40,320 --> 00:14:41,780 The scanner works by, 231 00:14:42,020 --> 00:14:44,320 you provide it a class C range. 232 00:14:44,480 --> 00:14:45,180 You set targets. 233 00:14:45,940 --> 00:14:48,480 Yeah, I could definitely have made it a lot larger than that, 234 00:14:48,520 --> 00:14:50,980 but most clients only have a class C network, 235 00:14:51,140 --> 00:14:54,020 and we didn't want to help to script these out any more than I had to. 236 00:14:56,820 --> 00:14:58,620 You can also set the password list. 237 00:14:59,400 --> 00:15:00,500 Like I said before, 238 00:15:00,700 --> 00:15:02,960 the password list is created initially 239 00:15:02,960 --> 00:15:07,160 with a roughly 25 or 30 standard administrator passwords, 240 00:15:07,720 --> 00:15:08,360 very simple things, 241 00:15:08,460 --> 00:15:09,240 password 123, 242 00:15:09,580 --> 00:15:13,080 the password list can be modified. 243 00:15:13,240 --> 00:15:16,940 Keep in mind that using an enormous password dictionary, 244 00:15:17,180 --> 00:15:19,860 something on the tune of tens of thousands of passwords, 245 00:15:20,060 --> 00:15:22,420 will chew up your memory very quickly. 246 00:15:24,360 --> 00:15:26,760 The default account is set to administrator. 247 00:15:27,000 --> 00:15:27,900 This was done on purpose. 248 00:15:28,060 --> 00:15:30,280 The administrator account does not lock out. 249 00:15:30,640 --> 00:15:32,840 If the client had set 250 00:15:32,960 --> 00:15:35,580 has a better account for you to use, 251 00:15:35,620 --> 00:15:39,680 if you know that their web administrator uses the account webman, 252 00:15:39,880 --> 00:15:40,920 or webadmin, 253 00:15:41,000 --> 00:15:41,640 or mike, 254 00:15:41,860 --> 00:15:43,820 then that would be of course the one you would use. 255 00:15:43,860 --> 00:15:46,860 Keep in mind that those accounts can be set to be locked out. 256 00:15:48,840 --> 00:15:52,200 Again, the tool allows you to save the log. 257 00:15:52,360 --> 00:15:53,580 It wouldn't be very useful to me 258 00:15:53,580 --> 00:15:55,240 if all I could do was look at it on the screen. 259 00:15:55,480 --> 00:15:56,900 So you can save the log to text, 260 00:15:56,960 --> 00:15:57,480 print it up, 261 00:15:57,480 --> 00:15:58,560 and add it to your scanning reports. 262 00:15:59,760 --> 00:16:01,380 Screen capture during operation. 263 00:16:01,580 --> 00:16:02,940 There are more interesting ones on media. 264 00:16:02,960 --> 00:16:03,720 On the website. 265 00:16:05,720 --> 00:16:09,260 Now, what I didn't cover is that the tool is built for 266 00:16:09,260 --> 00:16:14,000 and only runs against IIS-based web servers. 267 00:16:14,480 --> 00:16:17,320 I didn't make any modifications to support FrontPage Apache 268 00:16:17,320 --> 00:16:20,300 as the authentication system and the processes are very different. 269 00:16:21,720 --> 00:16:27,120 FrontPage Apache uses DES or Crypt function on the Unix side. 270 00:16:27,300 --> 00:16:30,720 However, they do store their passwords in individual files. 271 00:16:30,840 --> 00:16:32,520 Many times these password files 272 00:16:32,520 --> 00:16:33,000 are accessible. 273 00:16:33,340 --> 00:16:34,960 So I wouldn't be too surprised 274 00:16:34,960 --> 00:16:36,940 if in the next three to six weeks 275 00:16:36,940 --> 00:16:38,920 you happen to see a version that supports Apache 276 00:16:39,440 --> 00:16:40,120 up on the website. 277 00:16:42,060 --> 00:16:44,500 There's also an opportunity to redesign it 278 00:16:44,500 --> 00:16:45,980 for generic FrontPage access. 279 00:16:46,140 --> 00:16:48,480 Perhaps the OpenOffice guys, 280 00:16:48,580 --> 00:16:49,300 if they're listening, 281 00:16:49,440 --> 00:16:52,180 are interested in adding FrontPage-based access 282 00:16:52,180 --> 00:16:53,220 to the OpenOffice suite. 283 00:16:54,180 --> 00:16:55,760 And I'm all for rebuilding it 284 00:16:55,760 --> 00:16:57,840 something a little faster than Perl GTK. 285 00:16:59,060 --> 00:17:01,900 Support for uploading content is very close. 286 00:17:02,680 --> 00:17:05,140 There's a few Unicode-based characters 287 00:17:05,140 --> 00:17:06,180 that Microsoft puts in, 288 00:17:06,260 --> 00:17:07,660 but once all of that's been cleared up, 289 00:17:07,780 --> 00:17:10,460 I don't see it taking very long. 290 00:17:12,140 --> 00:17:14,420 All the code is available at the website. 291 00:17:14,500 --> 00:17:15,680 It's on your DEF CON CD, 292 00:17:15,920 --> 00:17:18,620 but I recommend you go to the website tomorrow. 293 00:17:19,120 --> 00:17:22,560 The code will be unlocked once I've got access to a console. 294 00:17:23,380 --> 00:17:25,180 I recommend you go and download that 295 00:17:25,180 --> 00:17:26,040 if you plan on using it. 296 00:17:26,100 --> 00:17:27,860 That's where the latest code will be. 297 00:17:30,940 --> 00:17:32,060 So let's say you've gained, 298 00:17:33,580 --> 00:17:35,200 access to FrontPage, 299 00:17:35,320 --> 00:17:37,720 and you're looking at the next steps. 300 00:17:38,200 --> 00:17:40,500 In other words, where do you go from here? 301 00:17:43,180 --> 00:17:44,640 The little session we're going to call 302 00:17:44,640 --> 00:17:46,080 ASP for Hackers. 303 00:17:46,980 --> 00:17:48,940 Active server pages have been around for quite a while. 304 00:17:50,020 --> 00:17:52,000 And if you ever take the time, 305 00:17:52,060 --> 00:17:53,460 or have taken the time to develop 306 00:17:53,460 --> 00:17:55,240 any web-based content, 307 00:17:55,640 --> 00:17:57,540 ASP is much like PHP. 308 00:17:57,800 --> 00:17:59,320 It gives you a lot of options. 309 00:17:59,540 --> 00:18:01,740 It gives you a lot of areas 310 00:18:01,740 --> 00:18:02,360 you can exploit. 311 00:18:02,460 --> 00:18:04,000 You can build some rather impressive 312 00:18:04,000 --> 00:18:06,040 administration and control systems 313 00:18:06,040 --> 00:18:07,400 straight from a web page. 314 00:18:08,460 --> 00:18:10,100 One of the first tools I'm going to talk about 315 00:18:10,100 --> 00:18:13,880 is a tool I discovered out on ASP Alliance. 316 00:18:14,440 --> 00:18:16,600 Michael Brinkley developed it. 317 00:18:16,640 --> 00:18:17,620 Real nice guy. 318 00:18:17,760 --> 00:18:20,120 His tool set's rather extensive. 319 00:18:20,740 --> 00:18:22,020 The SQL Server, 320 00:18:22,160 --> 00:18:24,360 it's a SQL Server database tool. 321 00:18:24,580 --> 00:18:27,560 If you've ever administered or accessed SQL Servers, 322 00:18:27,600 --> 00:18:29,900 you've gone at them using Query Analyzer. 323 00:18:29,980 --> 00:18:31,600 Most of us folks are command line driven, 324 00:18:31,740 --> 00:18:31,900 different types, 325 00:18:32,040 --> 00:18:34,000 and Query Analyzer allows you to go in 326 00:18:34,000 --> 00:18:36,620 and execute all of the administrative queries 327 00:18:36,620 --> 00:18:37,300 you would want to do. 328 00:18:37,380 --> 00:18:38,980 Add an account, removing users, 329 00:18:40,960 --> 00:18:42,160 analyzing the data. 330 00:18:43,940 --> 00:18:45,960 What SQL Ultimate allows you to do 331 00:18:45,960 --> 00:18:48,400 is it allows you to run a Query Analyzer session 332 00:18:48,400 --> 00:18:49,620 directly out of your web browser. 333 00:18:51,380 --> 00:18:53,440 Once you've used your front page exploiter 334 00:18:53,440 --> 00:18:54,660 to find a vulnerable server, 335 00:18:54,880 --> 00:18:58,080 you've logged in and uploaded SQL Ultimate, 336 00:18:58,260 --> 00:19:00,300 you'll find you're able to access, administer, 337 00:19:00,300 --> 00:19:02,880 and control internal SQL Server databases, 338 00:19:03,280 --> 00:19:05,820 as most administrators do place the SA account 339 00:19:05,820 --> 00:19:09,180 embedded in the ASP code already on their site. 340 00:19:11,260 --> 00:19:13,980 SQL Analyzer, to give you some suggestions, 341 00:19:14,260 --> 00:19:16,580 some interesting things to try, 342 00:19:16,880 --> 00:19:18,700 adding SQL users is very simple. 343 00:19:19,460 --> 00:19:21,480 Most of the time you are part of the SA role. 344 00:19:22,100 --> 00:19:23,280 Accessing corporate data, 345 00:19:23,420 --> 00:19:26,080 accessing the back end to web applications 346 00:19:26,080 --> 00:19:27,240 can also be very powerful. 347 00:19:28,200 --> 00:19:30,280 You can execute extended store procedures 348 00:19:30,300 --> 00:19:33,880 as well as locate application accounts and passwords. 349 00:19:35,800 --> 00:19:38,620 Here's a screen capture of SQL Ultimate. 350 00:19:38,800 --> 00:19:40,980 You'll see the query window on the left 351 00:19:40,980 --> 00:19:44,920 and the resulting window on the right. 352 00:19:46,180 --> 00:19:49,600 Go ahead, go over to ASPAlliance.com 353 00:19:49,600 --> 00:19:53,260 and check out the stuff that was put together by Michael. 354 00:19:53,540 --> 00:19:55,760 He's really done a lot of great work. 355 00:19:56,200 --> 00:19:58,380 He was very amenable to me putting it up here. 356 00:20:00,300 --> 00:20:03,120 Like I said, there's the link for the ASP Alliance site. 357 00:20:07,300 --> 00:20:10,540 Let's talk about command line ASP. 358 00:20:10,620 --> 00:20:11,320 This is an old one. 359 00:20:11,400 --> 00:20:13,100 It's been out for quite a while, 360 00:20:13,180 --> 00:20:16,180 but there are still some folks that don't know about it. 361 00:20:16,800 --> 00:20:19,840 I'm going to butcher this poor guy's name or girl's name. 362 00:20:20,680 --> 00:20:22,060 Maseo is what I'm going to try. 363 00:20:22,700 --> 00:20:26,480 This tool allows for the execution of simple commands 364 00:20:27,240 --> 00:20:28,100 on the command line. 365 00:20:28,700 --> 00:20:29,700 It's just that basic. 366 00:20:30,300 --> 00:20:32,440 Some of the more interesting things you can do with it, 367 00:20:33,380 --> 00:20:35,740 Netstat minus A, Netstat minus N, 368 00:20:35,780 --> 00:20:39,500 create your own makeshift reverse DNS lookup. 369 00:20:39,600 --> 00:20:41,820 Do a Netstat minus A, get the names. 370 00:20:42,000 --> 00:20:45,160 Do a Netstat minus N, get the numbers, match the ports, 371 00:20:45,300 --> 00:20:48,220 and you've got kind of a makeshift reverse DNS. 372 00:20:49,480 --> 00:20:50,840 You can do an IP config. 373 00:20:50,980 --> 00:20:52,020 You can do a VER. 374 00:20:52,200 --> 00:20:53,520 You can do a set users. 375 00:20:53,680 --> 00:20:55,440 You can net users, net local group. 376 00:20:56,120 --> 00:20:59,300 Remember that the account permissions that you have, 377 00:20:59,300 --> 00:21:03,440 typically on a site, are when you've cracked a site 378 00:21:03,440 --> 00:21:04,620 or something like local system. 379 00:21:04,940 --> 00:21:08,100 However, if you've built your own front page site 380 00:21:08,100 --> 00:21:11,820 and you set that site to require authentication, 381 00:21:12,600 --> 00:21:14,380 the account you log in with 382 00:21:14,380 --> 00:21:16,180 is the account you execute these as. 383 00:21:18,160 --> 00:21:21,080 Front Page Explorer helps us find vulnerable web servers. 384 00:21:21,320 --> 00:21:25,760 Command ASP dot ASP contains custom code 385 00:21:25,760 --> 00:21:27,860 to execute simple console commands. 386 00:21:27,860 --> 00:21:31,720 Now, like I said before, you can use a Netstat minus A 387 00:21:31,720 --> 00:21:35,820 or a Netstat minus AN to make a makeshift reverse DNS. 388 00:21:36,420 --> 00:21:39,580 You can use net local group and net view 389 00:21:39,580 --> 00:21:41,300 to understand drive mappings in groups. 390 00:21:42,140 --> 00:21:45,180 It's a very powerful option. 391 00:21:45,300 --> 00:21:47,720 In fact, many clients in the past have had their web server mapped 392 00:21:47,720 --> 00:21:50,040 to multiple internal file servers 393 00:21:50,040 --> 00:21:53,100 to make retrieving documents on the website much easier, 394 00:21:53,860 --> 00:21:57,840 as well as using ping to find additional servers. 395 00:21:58,840 --> 00:22:02,480 Here's a screen capture of the command ASP tool in action. 396 00:22:03,020 --> 00:22:05,280 It's a very simple punch in the command and hit go 397 00:22:05,280 --> 00:22:08,020 and you'll have the results passed back to you in HTML. 398 00:22:09,320 --> 00:22:12,100 The code is not available at my site, of course. 399 00:22:12,160 --> 00:22:14,160 It's available at secureteam.com. 400 00:22:18,120 --> 00:22:21,940 ASP code can be used in conjunction with 401 00:22:22,500 --> 00:22:25,280 WinSock controls to provide scanning from the web server. 402 00:22:25,460 --> 00:22:27,840 What I'm talking about here is there are a lot of us 403 00:22:27,860 --> 00:22:28,300 have other options. 404 00:22:28,420 --> 00:22:29,660 I've just mentioned two. 405 00:22:29,820 --> 00:22:33,340 There's a lot of other things you can use ASP code for. 406 00:22:33,580 --> 00:22:35,240 You can upload controls. 407 00:22:35,480 --> 00:22:37,540 Microsoft, as well as a lot of other companies, 408 00:22:37,660 --> 00:22:40,860 have developed web-based controls to do any manner of things, 409 00:22:41,040 --> 00:22:43,120 and one of which would be a WinSock control, 410 00:22:43,260 --> 00:22:46,340 perhaps programmatically scan the internal network. 411 00:22:47,220 --> 00:22:49,460 There's been some really fascinating work being done 412 00:22:49,460 --> 00:22:54,720 with ASP.net for Samba shares and remote administration. 413 00:22:55,520 --> 00:22:57,480 You can use that tool to reach out 414 00:22:57,860 --> 00:23:01,380 and do the same sorts of right-click administer sort of activities 415 00:23:01,380 --> 00:23:02,980 you would do on the internal network. 416 00:23:03,640 --> 00:23:10,260 In addition, you can use the ASP code and an XML HTTP control 417 00:23:10,260 --> 00:23:12,180 to proxy surf the intranet. 418 00:23:12,400 --> 00:23:14,580 This was a previous client. 419 00:23:14,780 --> 00:23:19,340 This was beneficial as the client had mounted web-based cameras 420 00:23:19,340 --> 00:23:23,420 in their intranet to provide security monitoring for their employees. 421 00:23:23,640 --> 00:23:26,320 So it was very interesting to be able to watch their employees 422 00:23:26,320 --> 00:23:27,760 go about their dealing business. 423 00:23:31,020 --> 00:23:33,640 We're going to close a little early today, I think. 424 00:23:33,920 --> 00:23:37,000 I don't want to get the attorneys mad at me. 425 00:23:37,760 --> 00:23:39,880 We're going to talk about holding down the fort. 426 00:23:41,400 --> 00:23:43,660 How do you secure a front page? 427 00:23:45,360 --> 00:23:47,800 You use simple best practices. 428 00:23:48,180 --> 00:23:52,980 As in most systems, your first, last, and primary line of defense 429 00:23:52,980 --> 00:23:53,980 is your password. 430 00:23:54,220 --> 00:23:56,300 The front page really is no different. 431 00:23:56,320 --> 00:23:59,060 You want to choose strong passwords 432 00:23:59,060 --> 00:24:02,000 consisting of upper and lower case characters, 433 00:24:02,240 --> 00:24:03,660 numbers, special characters. 434 00:24:04,140 --> 00:24:06,000 Let's make it something a little more difficult 435 00:24:06,000 --> 00:24:08,380 than dog, cat, password, girlfriend's name. 436 00:24:09,300 --> 00:24:12,360 I prefer you stick with passwords over eight characters in length. 437 00:24:12,460 --> 00:24:14,280 And we can go into a lengthy discussion about, 438 00:24:14,420 --> 00:24:16,160 well, it only uses the first seven, 439 00:24:16,200 --> 00:24:18,640 and then if you have a 14-character password, 440 00:24:18,760 --> 00:24:19,460 it's really like two. 441 00:24:20,340 --> 00:24:23,460 That being said, passwords eight characters in length, 442 00:24:24,080 --> 00:24:25,760 typically they're easy enough to remember. 443 00:24:26,320 --> 00:24:28,000 You have to remember your own phone number, 444 00:24:28,060 --> 00:24:29,180 and that's seven characters in length. 445 00:24:29,300 --> 00:24:29,900 So what's one more? 446 00:24:31,840 --> 00:24:33,080 Change the admin account. 447 00:24:34,180 --> 00:24:36,380 Contrary to popular belief, 448 00:24:36,500 --> 00:24:38,180 Microsoft actually encourages you 449 00:24:38,180 --> 00:24:40,460 to change the name of the administrator account. 450 00:24:40,660 --> 00:24:43,260 It will not break all functions. 451 00:24:43,340 --> 00:24:44,840 It won't cause the machine to explode. 452 00:24:46,200 --> 00:24:49,180 Choose a meaningful admin account, 453 00:24:49,320 --> 00:24:50,780 but avoid typical choices 454 00:24:50,780 --> 00:24:54,780 like root, admin, supervisor, boss. 455 00:24:58,420 --> 00:25:00,420 Concept of least privilege. 456 00:25:01,040 --> 00:25:03,200 Only provide the access necessary 457 00:25:03,200 --> 00:25:04,740 to get the job done. 458 00:25:05,380 --> 00:25:07,440 Use front page roles 459 00:25:07,440 --> 00:25:11,920 to assign users author rights versus admin rights. 460 00:25:12,180 --> 00:25:14,620 In fact, if there is no reason 461 00:25:14,620 --> 00:25:15,980 to have the administrator account 462 00:25:15,980 --> 00:25:18,420 have front page access, then pull it. 463 00:25:18,640 --> 00:25:19,900 Within front page, 464 00:25:20,080 --> 00:25:22,480 the front page has its own set of permissions. 465 00:25:22,780 --> 00:25:24,940 Use the front page permissions tool 466 00:25:24,940 --> 00:25:27,060 to add or remove accounts as needed. 467 00:25:27,240 --> 00:25:28,440 Pull the administrator account 468 00:25:28,440 --> 00:25:30,120 or reserve it for, 469 00:25:30,320 --> 00:25:32,580 or reserve the front page administration rights 470 00:25:32,580 --> 00:25:33,540 for specific accounts. 471 00:25:34,980 --> 00:25:36,060 Your best option, 472 00:25:36,220 --> 00:25:37,400 and this is my personal favorite, 473 00:25:37,560 --> 00:25:39,000 is remind your employees, 474 00:25:39,180 --> 00:25:41,460 specifically another girlfriend, family members, 475 00:25:41,620 --> 00:25:45,080 that you don't use front page from just anywhere. 476 00:25:45,300 --> 00:25:47,840 You use it when you are in your corporate office, 477 00:25:47,880 --> 00:25:51,980 environment, VPN, secure area. 478 00:25:53,140 --> 00:25:53,980 By that, 479 00:25:53,980 --> 00:25:57,320 I recommend using the IP-based restrictions 480 00:25:57,900 --> 00:25:59,320 that are native to IIS. 481 00:25:59,800 --> 00:26:03,340 Go and take the admin, author, and VTIRPC files 482 00:26:03,340 --> 00:26:06,780 and set those to only be allowed access 483 00:26:06,780 --> 00:26:09,240 from internal IP addresses only. 484 00:26:09,940 --> 00:26:12,140 Consider segmenting your web developers 485 00:26:12,140 --> 00:26:13,860 onto a separate segment of your network 486 00:26:13,860 --> 00:26:16,260 and allowing that group access to those DLLs only. 487 00:26:18,580 --> 00:26:19,340 All right. 488 00:26:21,780 --> 00:26:22,720 There's the site. 489 00:26:22,860 --> 00:26:23,420 Hi. 490 00:26:23,980 --> 00:26:25,500 I don't have a lot of artistic talent 491 00:26:25,500 --> 00:26:27,800 unlike some of the other folks here, 492 00:26:27,940 --> 00:26:30,200 so it's pretty plain, 493 00:26:30,280 --> 00:26:32,200 but it contains the code and the commentary 494 00:26:32,200 --> 00:26:35,020 and all of the tools packaged 495 00:26:35,600 --> 00:26:38,700 both in typical tar.gzips or RPMs. 496 00:26:42,380 --> 00:26:45,240 I want to thank some of the guys who came before me. 497 00:26:45,320 --> 00:26:47,140 There's a bunch of front page hacking techs 498 00:26:47,140 --> 00:26:47,880 out there on the internet. 499 00:26:48,040 --> 00:26:53,640 Some of them are more pertinent than others 500 00:26:53,640 --> 00:26:54,140 at this point, 501 00:26:54,220 --> 00:26:56,480 but I've included a link to one of them there. 502 00:26:56,560 --> 00:26:59,000 The guys over at the Perl GTK tutorial. 503 00:26:59,260 --> 00:27:01,580 It's been a long time since I've done anything with GTK. 504 00:27:01,760 --> 00:27:03,000 It was good to get up to speed. 505 00:27:03,380 --> 00:27:06,120 And Microsoft's put together a pretty big site 506 00:27:06,120 --> 00:27:08,680 devoted entirely to front page. 507 00:27:08,840 --> 00:27:10,780 It tends to rotate and move around, 508 00:27:10,980 --> 00:27:12,800 so you've got to pay attention to where it is. 509 00:27:13,100 --> 00:27:15,620 But they've got a lot of the backend processes mapped. 510 00:27:15,740 --> 00:27:18,460 They talk a lot about some of the VTI information 511 00:27:18,460 --> 00:27:19,640 that gets passed back and forth. 512 00:27:22,600 --> 00:27:24,640 We'll close with the thanks. 513 00:27:24,760 --> 00:27:26,880 Of course, my lovely wife. 514 00:27:28,440 --> 00:27:29,240 My boss. 515 00:27:29,780 --> 00:27:31,660 It's a shameless attempt to get a raise. 516 00:27:33,740 --> 00:27:36,200 The graphics designer who did the image, 517 00:27:36,380 --> 00:27:37,400 Mike D'Andrea. 518 00:27:38,160 --> 00:27:40,180 He's a resident blender head, 519 00:27:40,280 --> 00:27:41,220 does a lot of this kind of stuff. 520 00:27:41,380 --> 00:27:43,320 I could never have come up with anything like that. 521 00:27:45,260 --> 00:27:47,780 Steve Bickle, who did the technical review. 522 00:27:47,980 --> 00:27:49,200 And the guys over at the, 523 00:27:49,640 --> 00:27:51,240 the GTK tutorial put up with my emails. 524 00:27:52,220 --> 00:27:52,980 All right. 525 00:27:53,140 --> 00:27:54,320 If you've got any questions. 526 00:27:54,480 --> 00:27:58,620 Otherwise, I do want to cede the pool 527 00:27:58,620 --> 00:28:01,560 that the best question does happen to get 528 00:28:01,560 --> 00:28:05,560 one of these cellular PC cards. 529 00:28:05,780 --> 00:28:06,800 They won't let me keep it, 530 00:28:06,900 --> 00:28:09,440 so I have to give it out to someone 531 00:28:09,440 --> 00:28:11,560 with an informative and entertaining question. 532 00:28:12,600 --> 00:28:15,400 You said the authentication system 533 00:28:15,400 --> 00:28:17,820 for the Apache version of front page 534 00:28:17,820 --> 00:28:19,620 and the IIS version of front page. 535 00:28:19,640 --> 00:28:20,440 Front page are different. 536 00:28:20,900 --> 00:28:23,860 Won't they just use basic and NTLM? 537 00:28:23,920 --> 00:28:25,820 Like, I don't think front page 538 00:28:25,820 --> 00:28:28,140 has its own authentication system at all. 539 00:28:28,220 --> 00:28:29,380 It's just a web server. 540 00:28:29,520 --> 00:28:30,420 Is that correct? 541 00:28:30,900 --> 00:28:31,660 It isn't. 542 00:28:31,660 --> 00:28:32,300 You're close. 543 00:28:33,040 --> 00:28:36,220 The difference is the way the information is passed. 544 00:28:36,460 --> 00:28:38,700 Front page uses a, 545 00:28:38,720 --> 00:28:40,620 has a VTI specific header. 546 00:28:40,720 --> 00:28:42,540 It doesn't use the typical NTLM header. 547 00:28:42,680 --> 00:28:45,420 So when you go to a website and log in with, 548 00:28:45,520 --> 00:28:47,580 say you've got a Microsoft and IIS site 549 00:28:47,580 --> 00:28:48,920 and the site has, 550 00:28:49,640 --> 00:28:50,460 you know, authentication required, 551 00:28:50,840 --> 00:28:53,560 the authorization string is passed back and forth. 552 00:28:53,600 --> 00:28:54,700 It's just an NTLM authorization. 553 00:28:55,120 --> 00:28:56,220 On the front page side, 554 00:28:56,400 --> 00:28:59,200 they've got their own VTI headers embedded in that. 555 00:28:59,460 --> 00:29:01,820 It's, from the standpoint of technology, 556 00:29:02,040 --> 00:29:02,680 it's very similar. 557 00:29:02,780 --> 00:29:05,360 However, from the standpoint of the headers 558 00:29:05,360 --> 00:29:06,960 and the exact style of the information 559 00:29:06,960 --> 00:29:08,340 that's passed back and forth, it's different. 560 00:29:08,800 --> 00:29:09,480 Good question. 561 00:29:12,940 --> 00:29:17,920 You know, I wish I could answer that. 562 00:29:17,920 --> 00:29:20,880 I haven't had a lot of exposure to the .NET platform. 563 00:29:21,180 --> 00:29:21,960 I know that they kept, 564 00:29:21,980 --> 00:29:27,020 that front page is used on both XP and the 2003 server. 565 00:29:27,260 --> 00:29:28,980 I know that the LLs have not changed. 566 00:29:29,060 --> 00:29:29,840 They're all the same. 567 00:29:30,020 --> 00:29:32,280 The tool really hasn't changed a lot 568 00:29:32,280 --> 00:29:34,260 in the last five or six years. 569 00:29:34,420 --> 00:29:38,180 And with 32,000 of them deployed on last Google search, 570 00:29:38,880 --> 00:29:40,880 it's remarkable that it hasn't been more, 571 00:29:41,820 --> 00:29:43,180 more followed than it has. 572 00:29:43,880 --> 00:29:44,400 Yeah. 573 00:29:44,520 --> 00:29:46,120 Well, actually, to answer that, 574 00:29:47,340 --> 00:29:50,320 .NET allows you to authenticate 575 00:29:50,320 --> 00:29:55,800 and upload content from the front page extension. 576 00:29:56,700 --> 00:29:58,600 Well, then most likely whatever the same, 577 00:29:58,620 --> 00:29:59,500 the same rules would apply. 578 00:29:59,800 --> 00:30:01,840 There's likely a huge security role in that. 579 00:30:04,660 --> 00:30:06,260 So out of the box, 580 00:30:07,280 --> 00:30:10,240 if you wanted to see front page extensions 581 00:30:10,240 --> 00:30:11,620 enabled from the internet, 582 00:30:11,900 --> 00:30:14,220 outside of providing good passwords 583 00:30:14,220 --> 00:30:15,780 for authentication in there, 584 00:30:15,780 --> 00:30:16,680 is there any 585 00:30:26,840 --> 00:30:29,800 Well, the biggest vulnerability, 586 00:30:30,140 --> 00:30:30,800 it's a good question. 587 00:30:30,860 --> 00:30:31,740 The question was what's the, 588 00:30:32,600 --> 00:30:33,380 what are the, 589 00:30:33,460 --> 00:30:35,760 what's the real problem besides passwords and access 590 00:30:35,760 --> 00:30:37,340 with the front page, 591 00:30:37,420 --> 00:30:38,280 if I think I've got that right. 592 00:30:40,100 --> 00:30:42,960 The real problem is it's typically not configured. 593 00:30:43,240 --> 00:30:45,200 It's typically deployed right out of the box 594 00:30:45,200 --> 00:30:47,760 and the first person to request access for it, 595 00:30:47,800 --> 00:30:50,520 someone goes in and sets it to access to everyone. 596 00:30:50,920 --> 00:30:52,880 And immediately within, 597 00:30:53,000 --> 00:30:54,860 within a few weeks that's forgotten 598 00:30:54,860 --> 00:30:56,540 and the site exists. 599 00:30:57,540 --> 00:31:00,180 What's interesting is it's not more heavily scanned for, 600 00:31:00,280 --> 00:31:01,680 it's not more heavily detected. 601 00:31:02,080 --> 00:31:04,380 The IIS scanners I think will tell you 602 00:31:04,380 --> 00:31:06,000 if there's a front page enabled site, 603 00:31:06,100 --> 00:31:07,220 but they won't go any further than that. 604 00:31:07,280 --> 00:31:08,520 They won't tell you if it's got a weak password 605 00:31:08,520 --> 00:31:09,740 or missing an account 606 00:31:09,740 --> 00:31:11,320 or the everyone account is configured. 607 00:31:12,340 --> 00:31:12,780 Yeah. 608 00:31:13,860 --> 00:31:18,040 After that, probably the biggest problem is 609 00:31:18,040 --> 00:31:20,240 if you don't configure it 610 00:31:20,240 --> 00:31:22,900 then your password is something that you use 611 00:31:22,900 --> 00:31:24,800 front page as a client 612 00:31:24,800 --> 00:31:26,200 to modify the website. 613 00:31:26,540 --> 00:31:27,840 Yeah, and honestly, 614 00:31:28,060 --> 00:31:30,520 the guys I wouldn't worry as much about, 615 00:31:30,640 --> 00:31:31,640 in a professional opinion, 616 00:31:31,700 --> 00:31:32,780 the guys I wouldn't worry as much about 617 00:31:32,780 --> 00:31:34,080 are the guys that go in and modify your site. 618 00:31:34,420 --> 00:31:35,060 I, you know, 619 00:31:35,060 --> 00:31:36,680 if someone goes and modifies my main page, 620 00:31:36,840 --> 00:31:38,640 I'm probably going to figure that out pretty quickly 621 00:31:38,640 --> 00:31:40,840 when my wife or significant other family member calls 622 00:31:40,840 --> 00:31:42,140 and asks me, 623 00:31:42,140 --> 00:31:43,380 what the heck this is. 624 00:31:43,920 --> 00:31:46,040 But the guys I'm worried more about 625 00:31:46,040 --> 00:31:49,060 are the ones that slip copies of some of these ASP tools 626 00:31:49,060 --> 00:31:50,420 deep down in my site, 627 00:31:50,500 --> 00:31:51,860 rename them to make them sound like 628 00:31:51,860 --> 00:31:53,180 there's something that should be on my site 629 00:31:53,180 --> 00:31:54,840 and it takes me weeks 630 00:31:54,840 --> 00:31:57,420 or a well-configured tripwire-like configuration 631 00:31:57,420 --> 00:31:58,260 to even find them. 632 00:31:59,600 --> 00:32:01,280 That's where the real power is. 633 00:32:01,300 --> 00:32:02,800 That's where the real risk is. 634 00:32:03,520 --> 00:32:03,880 Yeah. 635 00:32:04,120 --> 00:32:08,220 Can you speak to some of the standard vulnerabilities 636 00:32:08,220 --> 00:32:10,960 that exist within front page as a platform 637 00:32:10,960 --> 00:32:12,120 as opposed to 638 00:32:12,140 --> 00:32:13,260 just the 639 00:32:14,000 --> 00:32:14,440 Yeah. 640 00:32:16,340 --> 00:32:17,780 There are some. 641 00:32:18,020 --> 00:32:19,140 In the past, 642 00:32:19,200 --> 00:32:21,940 you could go to the VTI underscore CNF file 643 00:32:21,940 --> 00:32:22,760 for each directory 644 00:32:22,760 --> 00:32:23,360 and, of course, 645 00:32:23,380 --> 00:32:24,340 it would give you a directory listing 646 00:32:24,340 --> 00:32:27,140 that would allow you to execute different content from there. 647 00:32:27,800 --> 00:32:28,680 I found, 648 00:32:28,740 --> 00:32:30,120 I went through 649 00:32:30,120 --> 00:32:31,460 and one of the links that was in here 650 00:32:31,460 --> 00:32:32,760 spoke about a lot of the different, 651 00:32:32,880 --> 00:32:34,460 a lot of those older exploits. 652 00:32:34,680 --> 00:32:35,120 However, 653 00:32:35,260 --> 00:32:36,540 from 2K forward, 654 00:32:36,700 --> 00:32:39,480 a lot of those rules do not apply any longer. 655 00:32:39,620 --> 00:32:41,920 That's the majority of the clients I was running into. 656 00:32:42,020 --> 00:32:42,120 Yeah. 657 00:32:42,140 --> 00:32:44,980 If they were 2K or were beta testing O3, 658 00:32:46,020 --> 00:32:49,200 I didn't spend the additional time to go in and review those. 659 00:32:49,320 --> 00:32:51,300 If you have a client that's on an MT4 660 00:32:51,300 --> 00:32:51,880 or even a, 661 00:32:51,880 --> 00:32:53,340 for all extensive purposes, 662 00:32:53,500 --> 00:32:55,040 an ME or a Windows 98, 663 00:32:55,400 --> 00:32:57,600 it might be worthwhile to go back and take a look at that. 664 00:32:58,200 --> 00:32:58,680 However, 665 00:32:58,760 --> 00:33:00,840 a lot of those rules don't apply any longer. 666 00:33:01,240 --> 00:33:01,720 So, 667 00:33:01,720 --> 00:33:05,840 most of the older vulnerabilities are information leakage? 668 00:33:06,840 --> 00:33:07,780 From what I saw, 669 00:33:07,880 --> 00:33:08,020 yeah, 670 00:33:08,020 --> 00:33:11,000 most of the older vulnerabilities were information leakage 671 00:33:11,000 --> 00:33:12,620 or directory scanning or, 672 00:33:12,740 --> 00:33:15,220 and remember that what I'm, 673 00:33:15,300 --> 00:33:16,940 what I really want to hit on is 674 00:33:16,940 --> 00:33:19,300 the tool gets configured, installed and enabled 675 00:33:19,300 --> 00:33:20,860 more often than not. 676 00:33:21,100 --> 00:33:22,840 32,000 sites on a Google search 677 00:33:22,840 --> 00:33:24,780 is enough to kind of make your head spin. 678 00:33:25,120 --> 00:33:25,580 And, 679 00:33:26,400 --> 00:33:27,440 when it's there, 680 00:33:27,560 --> 00:33:28,520 more often than not, 681 00:33:28,560 --> 00:33:29,640 it's completely misconfigured. 682 00:33:29,940 --> 00:33:30,400 What, 683 00:33:30,850 --> 00:33:31,660 what you'll find, 684 00:33:31,720 --> 00:33:33,240 what you'll find, I'm sure, 685 00:33:33,300 --> 00:33:34,200 in doing this kind of work 686 00:33:34,200 --> 00:33:35,980 is that it's not so much 687 00:33:36,660 --> 00:33:37,960 vulnerabilities in systems 688 00:33:37,960 --> 00:33:40,100 as it's vulnerabilities in people's ability 689 00:33:40,100 --> 00:33:41,880 to manage systems that cause problems. 690 00:33:44,480 --> 00:33:45,020 All right. 691 00:33:49,080 --> 00:33:49,860 It's a good question. 692 00:33:50,220 --> 00:33:50,720 Here you go. 693 00:33:59,300 --> 00:34:00,960 Yeah, go on and enjoy Vegas, all right? 694 00:34:10,100 --> 00:34:10,960 All right.