1 00:00:00,000 --> 00:00:03,940 All right, well, welcome, everybody, to The Pen Test is Dead, Long Live the Pen Test. 2 00:00:04,200 --> 00:00:08,240 I guess we're going to get started, despite the fact that we didn't get our presenter view going, 3 00:00:08,360 --> 00:00:09,840 so we're going to be missing all of our notes. 4 00:00:10,160 --> 00:00:15,160 I will also forewarn you, we worked pretty hard to cut this presentation down to 50 minutes 5 00:00:15,160 --> 00:00:18,240 from its original black hat 75-minute length. 6 00:00:18,400 --> 00:00:22,160 So we're going to push through our slides, and we expect that there will be some Q&A. 7 00:00:22,320 --> 00:00:27,540 We will ask that you hold Q&A until the end, at which point in time we will move it to the Q&A room 8 00:00:27,540 --> 00:00:31,040 so we don't encroach on anybody else's time. 9 00:00:31,860 --> 00:00:34,200 All right, with that, we will offer some brief introductions 10 00:00:34,200 --> 00:00:36,700 and then tell you guys a little bit about what we're talking about here. 11 00:00:41,220 --> 00:00:42,280 So I'm Carrick. 12 00:00:43,320 --> 00:00:44,020 Hi, Carrick. 13 00:00:44,180 --> 00:00:44,580 Hello. 14 00:00:46,040 --> 00:00:51,380 I probably know a bunch of you, and probably a bunch more of you have seen me at the cons. 15 00:00:51,480 --> 00:00:54,080 I've been a goon for, this is year five. 16 00:00:54,660 --> 00:00:57,040 I've been in information security since. 17 00:00:57,120 --> 00:00:57,520 No. 18 00:00:57,540 --> 00:01:02,360 1997, really started doing a lot of penetration testing, vulnerability assessments. 19 00:01:03,680 --> 00:01:06,160 I'm sorry, vulnerability testing. 20 00:01:07,760 --> 00:01:13,640 Since 2000, I've done some instructing, minimal presenting. 21 00:01:13,880 --> 00:01:16,020 So if I'm not very good, I'm sorry. 22 00:01:18,180 --> 00:01:21,980 And these are just some of the cons that I have actually been on staff for. 23 00:01:22,800 --> 00:01:24,060 So I'm going to hand it over to Taylor. 24 00:01:27,020 --> 00:01:28,020 Hello, everybody. 25 00:01:28,220 --> 00:01:29,040 I'm Taylor Banks. 26 00:01:29,600 --> 00:01:31,680 Carrick and I have relatively similar backgrounds. 27 00:01:31,860 --> 00:01:34,120 We've both been in InfoSec since about 1997. 28 00:01:34,740 --> 00:01:39,260 I have also been performing and teaching penetration tests since about 1999. 29 00:01:40,360 --> 00:01:45,960 I have done penetration testing for large enterprise as well as state and local government, 30 00:01:46,060 --> 00:01:50,080 and I've done pen testing training for a wide variety of organizations, 31 00:01:50,300 --> 00:01:53,760 including large enterprise, small-medium enterprise, federal government, 32 00:01:54,060 --> 00:01:54,340 and military. 33 00:01:55,320 --> 00:01:58,540 So hopefully Carrick and I can both bring a little bit of different background, 34 00:01:58,760 --> 00:02:01,540 although we've been doing this for equal lengths of time, 35 00:02:01,620 --> 00:02:03,900 and share with you guys some of our experiences in pen testing, 36 00:02:04,060 --> 00:02:06,620 some of the things we like, some of the things we hate, some of the things we love, 37 00:02:07,300 --> 00:02:13,480 and at the same time talk to you guys about where we see this service, this industry going. 38 00:02:18,720 --> 00:02:21,620 Wow, this is really not very smooth. 39 00:02:22,360 --> 00:02:23,960 So, quick overview over top. 40 00:02:24,060 --> 00:02:25,160 This isn't a technical talk. 41 00:02:25,360 --> 00:02:26,560 We're not going to talk about zero-day. 42 00:02:26,740 --> 00:02:31,060 We're not going to talk about black box reversing. 43 00:02:31,140 --> 00:02:34,560 This is the classic network pen test is what we're actually talking about. 44 00:02:34,800 --> 00:02:37,220 So, an overview of what we're talking about. 45 00:02:37,360 --> 00:02:42,000 With the pen test is dead, we're going to get a little bit into the history of hacking slash pen testing. 46 00:02:42,840 --> 00:02:46,620 We're going to talk about pen testing going mainstream, seeing it in the movies. 47 00:02:47,620 --> 00:02:54,040 We're going to talk about tools-driven, tool-driven methodology versus an actual repeatable process. 48 00:02:54,060 --> 00:02:56,400 And how you go about selecting a vendor. 49 00:02:56,500 --> 00:02:57,560 We'll mention a little bit about that. 50 00:02:57,760 --> 00:03:01,720 And our long-lived pen test talks a little bit about how does it fit into the organization, 51 00:03:02,100 --> 00:03:04,100 when would it make sense to have a pen test done, 52 00:03:04,920 --> 00:03:08,620 and then the evolution of pen testing as we've seen it over the past 10 years, 53 00:03:08,820 --> 00:03:11,520 and where we feel the future of pen testing is going. 54 00:03:13,880 --> 00:03:14,680 Cool, clicker. 55 00:03:18,280 --> 00:03:21,980 So, as I've already said something about this, we're not presenting O-Day. 56 00:03:22,140 --> 00:03:23,460 It's not a technical talk. 57 00:03:24,060 --> 00:03:28,180 Hopefully, it'll be fun, hopefully, it'll be informative, so I'll just keep pressing through here. 58 00:03:30,440 --> 00:03:34,700 All right, on that note, I'm going to offer a couple of warnings and a couple of disclaimers. 59 00:03:34,720 --> 00:03:42,460 The first disclaimer, I'm going to potentially, nay, no, I will most certainly offend many of the people in this audience. 60 00:03:42,920 --> 00:03:44,340 I want to say this in advance. 61 00:03:44,600 --> 00:03:50,960 There are some smart folks out there doing pen testing, and rather than mentioning you by name, you know who you are, right? 62 00:03:51,040 --> 00:03:53,940 If you've been doing pen testing for a long time, you know what a pen test is. 63 00:03:53,940 --> 00:03:58,500 And you've been providing good and valuable services to your clients, you will not be the people that I'm picking on. 64 00:03:58,660 --> 00:04:01,900 But be forewarned, I am going to lay some smack down on some folks. 65 00:04:02,020 --> 00:04:07,820 And again, I expect to offend some of those of you in the audience, so be prepared. 66 00:04:08,040 --> 00:04:13,660 Number two, I was actually sent an interesting definition by Decode. 67 00:04:13,760 --> 00:04:16,060 Decode's another one of the goons here a couple of days back. 68 00:04:16,440 --> 00:04:23,920 It was an urban definition for social plagiarism, and it's kind of an interesting phenomenon that seems to happen more in this one. 69 00:04:23,940 --> 00:04:25,820 It's more space than probably anywhere else I've seen. 70 00:04:26,380 --> 00:04:33,020 You're sitting in somebody's presentation or you're sitting in somebody's class, and they begin to tell a story about a penetration test they've performed. 71 00:04:33,120 --> 00:04:36,960 And you say, wait a second, that was my story. 72 00:04:37,700 --> 00:04:39,460 So I offer you this, right? 73 00:04:39,540 --> 00:04:45,180 We're going to be filling our presentation with some good stories and some experiences that we've had doing penetration testing. 74 00:04:45,640 --> 00:04:48,560 If we hear you telling your our stories, we will find you. 75 00:04:48,740 --> 00:04:49,860 So there are our disclaimers. 76 00:04:49,920 --> 00:04:50,440 Thank you very much. 77 00:04:52,080 --> 00:04:52,520 Okay. 78 00:04:52,580 --> 00:04:53,540 So part one. 79 00:04:53,540 --> 00:04:55,540 We talk about pen test is dead. 80 00:04:55,840 --> 00:05:04,000 A little bit of the timeline and history of penetration testing in the 70s, Captain Crunch, okay, multicolored boxes. 81 00:05:05,760 --> 00:05:08,440 1980s, we have things like War Games. 82 00:05:08,580 --> 00:05:09,340 Anybody remember that movie? 83 00:05:09,460 --> 00:05:10,280 You've never seen that movie? 84 00:05:11,400 --> 00:05:15,000 LOD, MOD, Kevin Mitnick. 85 00:05:15,880 --> 00:05:19,140 In the 90s, DEFCON, all right? 86 00:05:19,200 --> 00:05:20,520 Yay, DEFCON. 87 00:05:21,000 --> 00:05:23,460 And then present day, iOS. 88 00:05:23,540 --> 00:05:24,800 I love you, a little while ago. 89 00:05:26,060 --> 00:05:27,220 Virtualization, big deal. 90 00:05:27,340 --> 00:05:29,400 Dan Kaminski, one of the big names, rock star. 91 00:05:30,300 --> 00:05:35,020 Web 2.0, Web 3.0, Web whatever, and Red Pill, Blue Pill. 92 00:05:38,440 --> 00:05:46,120 So back in the day, when pen testing started evolving as a service line, there were only a few people doing it, a few pretty smart people. 93 00:05:46,220 --> 00:05:50,060 They were typically this elite group of guys, you know, in long black coats. 94 00:05:51,680 --> 00:05:53,400 Very few organizations were doing it. 95 00:05:53,400 --> 00:05:56,500 It was kind of a novelty thing around 99, 2000. 96 00:05:57,200 --> 00:06:02,740 It was just starting to become a little more popular, and information security was kind of poorly understood. 97 00:06:03,480 --> 00:06:08,860 Typically, when you do, in particular, where you can really see the shift is an external penetration test. 98 00:06:09,000 --> 00:06:15,220 If you guys did external penetration testing back in 98, 99, 2000, how often did you get in? 99 00:06:16,560 --> 00:06:18,360 Like, all the time, right? 100 00:06:18,960 --> 00:06:22,360 Today, doing an external pen test, a lot of times, it's kind of boring. 101 00:06:22,940 --> 00:06:23,380 Okay. 102 00:06:23,400 --> 00:06:25,520 Because you find, like, five ports open, right? 103 00:06:25,740 --> 00:06:26,700 So it's not as fun. 104 00:06:28,360 --> 00:06:37,520 Some of the initial papers that started to kind of embody or express the mindset of the culture of the people that come to cons, 105 00:06:37,560 --> 00:06:45,600 like Def Con and Black Hat, Hacker Manifesto, okay, Dan Farmer and Vita Venema's paper, and their tool, subsequent tool, Satan. 106 00:06:48,180 --> 00:06:49,780 Just some more supporting information. 107 00:06:49,780 --> 00:06:58,220 But it starts to show an evolution of hacking penetration testing as a culture and becoming a viable service line. 108 00:06:58,340 --> 00:07:09,360 When you look at Internet Security Scanner from ISS or Chris Klaus at the time, it was one of the first, after Satan, it was one of the first automated testing tools. 109 00:07:09,600 --> 00:07:10,020 Okay. 110 00:07:10,040 --> 00:07:15,320 So it started to open up this space and make it a more viable enterprise service line. 111 00:07:18,220 --> 00:07:18,740 So. 112 00:07:19,920 --> 00:07:20,840 Quick story. 113 00:07:21,120 --> 00:07:26,880 Did an external and internal penetration test for a public school system in 2000. 114 00:07:27,140 --> 00:07:28,020 Actually, comparative test. 115 00:07:28,240 --> 00:07:31,720 So somebody else in the room might have actually been with me on that test. 116 00:07:31,900 --> 00:07:32,600 Hope you're out there. 117 00:07:32,800 --> 00:07:33,260 Shouts. 118 00:07:33,960 --> 00:07:40,960 Anyway, we were doing a public school system, and we found an SQL server exposed to the Internet that had two NICs in it. 119 00:07:42,060 --> 00:07:44,440 One NIC was connected to the Internet. 120 00:07:44,540 --> 00:07:47,060 The other was connected to the internal network. 121 00:07:47,280 --> 00:07:48,720 It was on the internal domain. 122 00:07:48,720 --> 00:07:52,120 And it had a blank password for the SA account. 123 00:07:52,440 --> 00:07:58,900 So, as you can imagine, there were probably plenty of external manipulations of the data in that database. 124 00:07:59,200 --> 00:08:00,900 You know, what grade do you want today? 125 00:08:01,300 --> 00:08:08,360 At the end of this engagement, the report that was actually generated for this client took up two reams of paper. 126 00:08:08,820 --> 00:08:15,480 There were thousands and thousands and thousands of what Internet Scanner considered critical vulnerabilities. 127 00:08:16,600 --> 00:08:22,380 So this was kind of an early on pen test exemplifies just how really bad it was. 128 00:08:24,300 --> 00:08:27,640 And what were some of the things that we found in those thousands and thousands of vulnerabilities? 129 00:08:28,860 --> 00:08:29,740 IIS Unicode. 130 00:08:29,880 --> 00:08:31,200 IIS, the double D code stuff. 131 00:08:32,000 --> 00:08:33,220 Solaris TTY prompt. 132 00:08:33,420 --> 00:08:34,480 Have you guys all seen that? 133 00:08:34,580 --> 00:08:36,160 That's a great exploit. 134 00:08:36,420 --> 00:08:38,500 It's one of my favorites because it's so funny. 135 00:08:39,480 --> 00:08:39,920 Fruit. 136 00:08:40,100 --> 00:08:45,340 This was something that manifested in AIX 13 years ago and then resurfaced its ugly head. 137 00:08:45,340 --> 00:08:46,140 With Solaris 10. 138 00:08:46,620 --> 00:08:48,800 Where you'd basically tell that to the machine. 139 00:08:49,020 --> 00:08:50,480 Tell it who you wanted to log in as. 140 00:08:50,820 --> 00:08:55,560 And you'd put a dash fruit or dash F root in double quotes. 141 00:08:55,720 --> 00:08:57,280 And it just gave you a shell as that user. 142 00:08:57,420 --> 00:08:57,680 It was great. 143 00:08:58,640 --> 00:08:59,420 Blank passwords. 144 00:08:59,620 --> 00:09:00,700 Saw a lot of blank passwords. 145 00:09:00,780 --> 00:09:01,700 A lot of default passwords. 146 00:09:02,180 --> 00:09:05,440 So these were the kinds of things we were seeing in 99-2000. 147 00:09:10,620 --> 00:09:15,320 So early on, really, those that were doing penetration testing were essentially seeing 148 00:09:15,320 --> 00:09:15,760 self-taught. 149 00:09:15,920 --> 00:09:19,700 In fact, I would go so far as to say that probably the vast majority of those that were 150 00:09:19,700 --> 00:09:23,120 doing penetration testing were doing so because they didn't always wear white hats. 151 00:09:23,380 --> 00:09:27,900 I don't want to imply that they were necessarily all malicious hackers, but most of us doing 152 00:09:27,900 --> 00:09:32,680 penetration testing got there because we spent time in underground communities and hackers 153 00:09:32,680 --> 00:09:34,560 by night, pen testers by day. 154 00:09:37,120 --> 00:09:43,360 Around 2000, we started to see kind of a change or a shift in pen testing as a professional 155 00:09:43,360 --> 00:09:43,920 service. 156 00:09:43,920 --> 00:09:46,960 And we're going to work our way from history through present day. 157 00:09:47,160 --> 00:09:51,440 But there was less agreement at the time on any commonly accepted methodology. 158 00:09:51,920 --> 00:09:54,540 Now, we can argue the need for a methodology. 159 00:09:54,740 --> 00:09:56,400 And in fact, later on, we most certainly will. 160 00:09:56,840 --> 00:10:01,440 But up to this point in time, one of the things that we were facing is that no two pen tests 161 00:10:01,440 --> 00:10:02,480 were alike. 162 00:10:02,700 --> 00:10:04,820 And there are any number of reasons for this. 163 00:10:05,480 --> 00:10:06,900 We'll go into some of those as well. 164 00:10:07,120 --> 00:10:13,480 In late 2000, a gentleman by the name of Pete Herzog, AKA Idea Hamster, released a document 165 00:10:13,920 --> 00:10:18,340 that he dubbed the Open Source Security Testing and Methodology Manual, otherwise known as 166 00:10:18,340 --> 00:10:18,820 the OSDEM. 167 00:10:20,100 --> 00:10:27,120 The initial version of the OSDEM, OSDEM 1.0 and then later OSDEM 1.5, these were a very 168 00:10:27,120 --> 00:10:27,660 good start. 169 00:10:27,880 --> 00:10:29,720 They were helpful in a number of ways. 170 00:10:29,980 --> 00:10:33,820 And it was certainly a laudable effort because there was really nothing similar available 171 00:10:33,820 --> 00:10:37,580 to the professional information security community of this kind. 172 00:10:37,960 --> 00:10:41,860 Now, that said, the early versions of the OSDEM really served largely as guidance. 173 00:10:41,980 --> 00:10:43,900 And while I was doing penetration testing, there were a number of reasons for this. 174 00:10:43,900 --> 00:10:49,280 I wasn't going to go and replace all of my own handwritten methodologies with what I 175 00:10:49,280 --> 00:10:50,740 took verbatim out of the OSDEM. 176 00:10:50,800 --> 00:10:53,020 But I did find the OSDEM to be a great effort. 177 00:10:53,120 --> 00:10:55,860 And again, it filled a gap. 178 00:10:55,980 --> 00:10:59,780 It filled a gap where, again, before there was no standardization, there was no methodology, 179 00:10:59,860 --> 00:11:03,980 and there was no way to guarantee that what Carrick and I might do on a penetration test 180 00:11:03,980 --> 00:11:07,120 were somewhat similar, if not completely different. 181 00:11:10,260 --> 00:11:13,540 So really what we had was a service in search of a methodology. 182 00:11:13,540 --> 00:11:17,860 We've got a number of organizations out offering penetration tests. 183 00:11:18,120 --> 00:11:22,520 And we're starting to move towards finding a methodology. 184 00:11:22,820 --> 00:11:26,500 But the problem was, in 2001, there was too much competition. 185 00:11:26,960 --> 00:11:29,920 This was kind of an elite professional service. 186 00:11:30,220 --> 00:11:33,080 There's a number of organizations that are doing professional pen testing. 187 00:11:33,460 --> 00:11:38,140 But we see a lot of job security through process obscurity. 188 00:11:38,240 --> 00:11:43,520 In other words, nobody wants to expose the methodologies they're using because then they feel they can't offer 189 00:11:43,540 --> 00:11:45,560 their clients some special secret sauce. 190 00:11:46,240 --> 00:11:50,300 The idea, you know, 2000, 2001, as long as you were good at what you did 191 00:11:50,300 --> 00:11:53,800 and you provided thorough and complete results to your clients 192 00:11:53,800 --> 00:11:57,520 and were able to help them correct the problems you found, hey, you won. 193 00:11:58,080 --> 00:12:03,600 But ultimately, this job security through process obscurity really only served to hurt us all. 194 00:12:04,120 --> 00:12:07,880 Again, not only were no two pen tests alike, but in many cases, 195 00:12:07,880 --> 00:12:12,260 two pen tests conducted by two different individuals or two different organizations 196 00:12:12,260 --> 00:12:17,540 were so radically different that you couldn't really feel secure in the results 197 00:12:17,540 --> 00:12:21,320 of just one penetration test performed by just one organization. 198 00:12:22,320 --> 00:12:28,040 So my point here is that, hey, if it's not a repeatable process, ultimately, it's not really a pen test. 199 00:12:28,220 --> 00:12:28,820 It's a hack. 200 00:12:29,000 --> 00:12:32,140 And I don't want to say that there's not value to a hack, right? 201 00:12:32,220 --> 00:12:36,760 There is some value in finding and breaking things with no process, no methodology. 202 00:12:37,080 --> 00:12:42,000 But lacking the process, lacking the methodology, again, we've got no repeatable process. 203 00:12:42,000 --> 00:12:45,880 We've got no way to ensure consistency across retests. 204 00:12:47,620 --> 00:12:48,780 So progress. 205 00:12:49,180 --> 00:12:54,980 Now, we move a little bit away from history here, and I've thrown a handful of acronyms up on the board. 206 00:12:55,100 --> 00:13:00,420 Since 2001, we've seen a lot of changes in terms of available methodologies 207 00:13:00,420 --> 00:13:04,440 and available documents that provide frameworks for doing penetration testing. 208 00:13:05,280 --> 00:13:07,700 Many of these documents have very different focuses. 209 00:13:07,960 --> 00:13:11,180 We've seen lots of changes in the Austin document itself. 210 00:13:11,180 --> 00:13:13,340 This was Pete Herzog's document. 211 00:13:13,540 --> 00:13:17,400 This is now maintained by an organization known as ISACOM. 212 00:13:17,540 --> 00:13:21,160 We've got some great web testing frameworks from OWASP. 213 00:13:21,200 --> 00:13:24,180 We've got guidelines and frameworks from the NSA. 214 00:13:24,480 --> 00:13:27,760 We've got NIST documents, Special Publication 800-42. 215 00:13:28,220 --> 00:13:33,840 So we've got lots of places where we can abstract information that ultimately help us create methodology, 216 00:13:34,160 --> 00:13:35,340 that help us create framework. 217 00:13:35,900 --> 00:13:38,560 And we've seen a lot of improvements in all of these along the way. 218 00:13:42,580 --> 00:13:46,680 So, 2000, pen testing starting to get buy-in, as I said before. 219 00:13:48,020 --> 00:13:50,320 Automated testing tools are coming into the market. 220 00:13:50,380 --> 00:13:53,340 You start to see things like Internet Security Scanner. 221 00:13:53,920 --> 00:13:58,360 This was just before Fountainstone Enterprise came to the market. 222 00:13:58,600 --> 00:14:03,300 But you're seeing more and more tools out there, figuratively and literally. 223 00:14:04,260 --> 00:14:06,900 Because what's happening is, as you have the automated tools, 224 00:14:07,240 --> 00:14:10,200 it's making it easier and easier for people to get into this space, 225 00:14:10,200 --> 00:14:13,060 come run a tool, give you a report. 226 00:14:13,320 --> 00:14:14,940 There's your pen test. Thank you. Have a nice day. 227 00:14:16,340 --> 00:14:21,340 There was nothing like a pen test framework in 2000, 2001, 2002. 228 00:14:21,680 --> 00:14:24,220 I can't remember the exact year that Metasploit came out. 229 00:14:24,320 --> 00:14:27,560 It was not long after, right around 2002 or 2003. 230 00:14:27,980 --> 00:14:34,260 But basically you would cobble your kit together out of exploits that you find on the Internet, 231 00:14:34,380 --> 00:14:37,740 things that you craft yourself, scripts and little bits and snippets of code. 232 00:14:38,880 --> 00:14:44,000 One of the tools that we used at ISS was a tool that Robert Graham wrote. 233 00:14:44,140 --> 00:14:50,000 He would take several different exploits out there that were typically good quality and repeatable. 234 00:14:50,060 --> 00:14:54,840 He compiled them into one executable, and then we would use that executable on pen tests 235 00:14:54,840 --> 00:14:59,600 and say, okay, I want to run this exploit, some IIS exploit. 236 00:14:59,880 --> 00:15:03,060 And then you would pass it the parameters that you wanted, and then it would send them. 237 00:15:03,140 --> 00:15:07,720 So it was kind of a convenient way to carry a set of tools in one place. 238 00:15:07,740 --> 00:15:10,820 It was one little binary, but it wasn't as nice as like a framework. 239 00:15:11,120 --> 00:15:18,980 I remember seeing a presentation by Elias Levy on the concept of a framework at I.O. Wargames from SANS 240 00:15:18,980 --> 00:15:24,260 back in 2001, right after 9-11, which was revolutionary at the time. 241 00:15:27,400 --> 00:15:34,340 So what happens with it, what we used to call them at ISS was scan now assessments or penetration tests, 242 00:15:34,460 --> 00:15:37,380 where basically someone would come in, run a tool, 243 00:15:38,420 --> 00:15:43,640 generate a 1,300-page report or 2,000 pages, whatever it was, hand that to the client, 244 00:15:43,780 --> 00:15:45,940 and now they're left to figure out what's important. 245 00:15:47,180 --> 00:15:51,060 The problem with that approach is you leave the client with no guidance. 246 00:15:51,960 --> 00:15:56,120 Okay, well, we'll try and fix all the reds, and then we'll fix the yellows. 247 00:15:56,360 --> 00:15:58,600 The problem is there's no strategic approach. 248 00:16:00,180 --> 00:16:05,540 How do they determine within the context of their own risk what to do first? 249 00:16:05,720 --> 00:16:07,380 How much effort is it going to take? 250 00:16:07,740 --> 00:16:10,680 The problem is what they're probably going to end up doing is running around 251 00:16:10,680 --> 00:16:14,180 and fixing all of these issues and then have to do the same thing next year 252 00:16:14,180 --> 00:16:16,200 because they didn't fix it from a process perspective. 253 00:16:16,520 --> 00:16:21,540 So a lot of the pen tests that started coming into the market at the time 254 00:16:22,020 --> 00:16:25,480 were these scan now assessments or pen tests, 255 00:16:25,640 --> 00:16:29,160 and it really kind of put a nasty smudge on our community. 256 00:16:32,980 --> 00:16:35,680 So we also start to see hacking in the movies, okay? 257 00:16:35,680 --> 00:16:40,060 Everybody recognizes Matthew Broderick here in War Games. 258 00:16:40,820 --> 00:16:42,300 Little sneakers, okay? 259 00:16:42,460 --> 00:16:43,600 Some favorite movies there. 260 00:16:44,160 --> 00:16:45,720 You guys remember this movie, right? 261 00:16:47,020 --> 00:16:48,380 Why did we watch this movie? 262 00:16:48,480 --> 00:16:48,780 Oh, wait. 263 00:16:51,720 --> 00:16:52,840 Matrix, okay? 264 00:16:54,260 --> 00:16:55,640 Anybody recognize that shot? 265 00:16:57,080 --> 00:16:58,400 All right, yeah. 266 00:16:59,100 --> 00:17:00,100 What tool is that? 267 00:17:01,220 --> 00:17:01,780 Awesome. 268 00:17:03,900 --> 00:17:04,640 All right. 269 00:17:04,640 --> 00:17:09,640 So Swordfish, the only reason to watch Swordfish. 270 00:17:11,820 --> 00:17:12,680 And here we go. 271 00:17:12,740 --> 00:17:16,880 We actually have a movie based on some real-world events in the hacker community, okay? 272 00:17:20,220 --> 00:17:22,600 So how did you become a pen tester back in the day? 273 00:17:22,740 --> 00:17:24,840 So Taylor kind of alluded to that already. 274 00:17:26,040 --> 00:17:27,780 You went out and read a lot of text. 275 00:17:27,900 --> 00:17:29,700 Anybody ever read the Rainbow series? 276 00:17:30,340 --> 00:17:32,380 Got probably a copy of you here to help write it. 277 00:17:33,980 --> 00:17:35,240 Smashing the stack for fun and profit. 278 00:17:35,360 --> 00:17:38,140 So there were several examples, several texts, things out there that you could read. 279 00:17:38,440 --> 00:17:42,480 You could get in an IRC channel, hang out with some people, get a little mentoring. 280 00:17:43,520 --> 00:17:49,140 But really, one of the crucial points to make is you need to understand the process of the attack, okay? 281 00:17:49,160 --> 00:17:54,100 Knowing a bunch of tools doesn't really make a pen test, okay? 282 00:17:54,480 --> 00:17:55,720 It's really about a mindset. 283 00:17:59,340 --> 00:18:00,500 I'm going to stand back up. 284 00:18:00,560 --> 00:18:02,200 I can't see anybody on the left side of the room. 285 00:18:02,200 --> 00:18:03,120 Sitting down over here. 286 00:18:03,220 --> 00:18:04,480 And it feels like a much smaller audience. 287 00:18:04,720 --> 00:18:07,500 So around the same timeframe, right? 288 00:18:07,540 --> 00:18:15,740 Early 2000, 2001, 2002, we also started to see commercial penetration testing or applied hacking and countermeasures training. 289 00:18:15,940 --> 00:18:19,480 And in fact, both Carrick and myself were providing training of this ilk. 290 00:18:21,000 --> 00:18:23,060 In the early 2000s, right? 291 00:18:23,120 --> 00:18:26,980 In the 99, 2000, 2001 timeframe, we had some good training available. 292 00:18:27,340 --> 00:18:30,240 So we're doing pen testing training or we're doing hacking training. 293 00:18:30,580 --> 00:18:31,560 But honestly. 294 00:18:31,560 --> 00:18:33,160 It was good training. 295 00:18:33,180 --> 00:18:34,280 It wasn't great training. 296 00:18:34,720 --> 00:18:40,020 There were a lot of things wrong with what was being delivered around 2000, 2001. 297 00:18:40,500 --> 00:18:47,880 I don't want to imply that it wasn't helpful and that we didn't smarten up a lot of people and help them understand and better identify their own vulnerabilities. 298 00:18:48,280 --> 00:18:51,520 But frankly, one of the things that we weren't doing was teaching a methodology. 299 00:18:52,160 --> 00:19:01,020 We were teaching a set of tools and we were teaching prescribed processes for how to apply these tools in an environment in order to find network vulnerabilities. 300 00:19:01,560 --> 00:19:06,060 But we couldn't really truly teach a methodology primarily for two reasons. 301 00:19:06,300 --> 00:19:12,360 Number one, in order to really understand and follow the methodology, you got to be able to think a bit like a hacker. 302 00:19:12,460 --> 00:19:14,620 The whole point of a penetration test, right? 303 00:19:14,660 --> 00:19:18,080 Is to recreate this environment. 304 00:19:18,580 --> 00:19:22,560 We're coming in from the perspective of a malicious attacker on our network. 305 00:19:22,760 --> 00:19:25,140 If you can't think like a hacker, you can't act like a hacker. 306 00:19:25,280 --> 00:19:28,380 So you can't teach someone to think like a hacker in five days. 307 00:19:28,460 --> 00:19:30,180 And furthermore, again, around this timeframe. 308 00:19:30,180 --> 00:19:33,440 There wasn't yet a generally accepted methodology. 309 00:19:34,600 --> 00:19:37,120 Although ISACOM's Austin was available. 310 00:19:37,420 --> 00:19:40,900 Again, it was still, it was a relatively early draft. 311 00:19:41,220 --> 00:19:43,380 And it wasn't replacing internal methodologies. 312 00:19:43,480 --> 00:19:49,180 So it most certainly wasn't something we were going to stand up and deliver as the word in terms of how to conduct a pen test. 313 00:19:53,880 --> 00:19:54,700 All right. 314 00:19:55,740 --> 00:19:57,140 Got to see my slide. 315 00:19:57,540 --> 00:19:58,040 Now. 316 00:19:58,040 --> 00:20:04,180 So nowadays we see a zillion and one training organizations out offering hacking training. 317 00:20:04,500 --> 00:20:07,540 And the training that we see nowadays goes by a million names, right? 318 00:20:07,600 --> 00:20:08,380 It's applied hacking. 319 00:20:08,500 --> 00:20:09,120 It's pen testing. 320 00:20:09,360 --> 00:20:10,200 It's ethical hacking. 321 00:20:10,980 --> 00:20:18,280 Unfortunately, I'm going to tell you in my humble opinion, I think much of the training we see is truly really crap. 322 00:20:18,800 --> 00:20:19,860 It really is. 323 00:20:19,980 --> 00:20:25,260 We've got lots of certified folks who are out there teaching tools and teaching process. 324 00:20:25,380 --> 00:20:28,020 But without understanding the tools and understanding the process. 325 00:20:28,020 --> 00:20:33,660 To be completely honest, I've met, I say in the slide, a dozen. 326 00:20:33,720 --> 00:20:44,140 But I will say at least a couple of handfuls of instructors who are out delivering penetration testing certification without ever having performed a penetration test themselves. 327 00:20:45,920 --> 00:20:46,440 Really? 328 00:20:47,200 --> 00:20:47,720 Seriously? 329 00:20:49,820 --> 00:20:50,840 Thank you. 330 00:20:51,180 --> 00:20:51,900 All right. 331 00:20:52,040 --> 00:20:55,540 Around the same timeframe, we also began to see the emergence of hacking books. 332 00:20:55,540 --> 00:20:58,180 And I will say we see hacking exposed release. 333 00:20:58,420 --> 00:21:02,720 This was really kind of the first of this, the genre of hacking books. 334 00:21:02,860 --> 00:21:04,220 And frankly, it was a really good book. 335 00:21:04,380 --> 00:21:05,600 It set the bar pretty high. 336 00:21:06,060 --> 00:21:09,180 Again, largely tool driven, tool focused. 337 00:21:09,220 --> 00:21:10,360 But it was very well done. 338 00:21:10,540 --> 00:21:19,300 And the process described within the hacking exposed book did begin to lay out the framework for performing penetration tests. 339 00:21:19,540 --> 00:21:22,740 In and of itself, the book wasn't going to turn you into a pen tester. 340 00:21:22,880 --> 00:21:24,100 But it gave you a lot of context. 341 00:21:24,100 --> 00:21:28,100 And understanding how you began to go about the process of performing pen tests. 342 00:21:28,380 --> 00:21:33,700 Now, since that time, again, we've seen numerous other hacking books pop up. 343 00:21:33,860 --> 00:21:37,740 And while there are a few books that Carrick and I both believe to be the notable exceptions, 344 00:21:38,220 --> 00:21:45,060 most of the books that we've seen since this initial rush of hacking books are reworked, rewritten material, 345 00:21:45,420 --> 00:21:49,980 oftentimes with the same screenshots stolen from the other previously available books. 346 00:21:50,240 --> 00:21:52,620 So, again, we're seeing this. 347 00:21:53,840 --> 00:21:58,720 Hacking go mainstream is really having its direct impact on the industry itself. 348 00:21:59,100 --> 00:21:59,140 Right? 349 00:21:59,260 --> 00:22:00,680 We've got hacking in movies. 350 00:22:00,820 --> 00:22:07,240 We see hacking training, penetration testing training being provided by pen test or by folks who've never done a pen test. 351 00:22:07,500 --> 00:22:11,400 And books that are basically regurgitation of earlier books on the same topics. 352 00:22:13,580 --> 00:22:21,720 In fact, while Carrick and I sat at Borders writing the previous slide, we decided let's go see what's on the shelf here at Borders in terms of security books. 353 00:22:21,980 --> 00:22:22,600 And sure enough. 354 00:22:23,840 --> 00:22:24,860 CISSP for dummies. 355 00:22:24,940 --> 00:22:25,880 Hacking for dummies. 356 00:22:26,420 --> 00:22:26,820 Really? 357 00:22:27,660 --> 00:22:28,060 Really? 358 00:22:28,160 --> 00:22:29,140 Does that help us out a lot? 359 00:22:30,320 --> 00:22:30,920 All right. 360 00:22:30,940 --> 00:22:33,480 Now, again, I mentioned I'd probably piss several of you off. 361 00:22:33,600 --> 00:22:35,680 And I kind of hope that I do on this slide. 362 00:22:35,820 --> 00:22:38,780 But hacking certifications, are you really serious? 363 00:22:39,060 --> 00:22:39,320 Right? 364 00:22:39,400 --> 00:22:40,200 Are you proud of that? 365 00:22:41,560 --> 00:22:43,520 You know, I'm going to give you my disclaimer here. 366 00:22:43,600 --> 00:22:45,640 I've got probably a dozen certifications myself. 367 00:22:45,840 --> 00:22:49,720 And most of them are probably about as worthless as the ones I'm picking on in this slide. 368 00:22:50,240 --> 00:22:50,960 But seriously. 369 00:22:51,120 --> 00:22:52,580 As a hacking certification agent. 370 00:22:52,580 --> 00:22:53,820 Are you any better than a note from your mom? 371 00:22:54,060 --> 00:22:54,880 I say no. 372 00:22:56,860 --> 00:22:58,040 I'm telling you guys. 373 00:22:58,220 --> 00:22:58,700 Seriously. 374 00:23:00,300 --> 00:23:07,480 Who in this room believes that they know somebody qualified to certify a hacker? 375 00:23:07,600 --> 00:23:08,680 Because I damn sure don't. 376 00:23:08,740 --> 00:23:10,540 And there's a lot of smart people in this room. 377 00:23:11,100 --> 00:23:12,520 So, hacking certification. 378 00:23:13,840 --> 00:23:14,800 Give me a break. 379 00:23:17,680 --> 00:23:18,340 All right. 380 00:23:18,400 --> 00:23:19,000 So, again. 381 00:23:19,180 --> 00:23:21,420 You know, I knew I'd probably aggravate some of you. 382 00:23:21,420 --> 00:23:24,600 And in fact, some of you guys probably have the certifications that I am specifically picking on. 383 00:23:24,640 --> 00:23:26,300 Hell, I probably have some of them myself. 384 00:23:26,780 --> 00:23:29,000 That said, those of you who know what you're doing. 385 00:23:29,060 --> 00:23:31,120 Hey, you're one of the dying breed. 386 00:23:31,300 --> 00:23:32,400 You're smarter than your peers. 387 00:23:32,540 --> 00:23:35,780 And hey, we appreciate your efforts in keeping the scene real. 388 00:23:35,860 --> 00:23:36,600 The rest of you. 389 00:23:36,660 --> 00:23:39,580 And those of you whose faces turned bright red when I was picking on. 390 00:23:39,640 --> 00:23:40,880 Those of you with hacking certifications. 391 00:23:40,980 --> 00:23:41,800 You know who you are. 392 00:23:43,180 --> 00:23:43,680 All right. 393 00:23:43,720 --> 00:23:44,520 So, the bottom line though. 394 00:23:44,560 --> 00:23:46,280 And what Carrick and I are really trying to point out here. 395 00:23:46,380 --> 00:23:47,380 Is that it's not about the tools. 396 00:23:47,560 --> 00:23:48,340 And learning the tools. 397 00:23:48,460 --> 00:23:49,560 Whether through a training class. 398 00:23:49,660 --> 00:23:50,540 A series of books. 399 00:23:50,540 --> 00:23:54,860 Or being certified on the tools that you learned in your series of books. 400 00:23:55,040 --> 00:23:56,940 Does not a pen test make. 401 00:23:57,240 --> 00:23:57,400 Right? 402 00:23:57,480 --> 00:24:00,140 A pen test is about a lot more than just the tools. 403 00:24:00,360 --> 00:24:01,400 You've got to understand the process. 404 00:24:01,780 --> 00:24:03,500 You have to understand the mindset. 405 00:24:03,800 --> 00:24:05,100 And in fact, possess the mindset. 406 00:24:05,300 --> 00:24:13,620 In order to be able to go out and find the problems that are truly going to be those that will be taken advantage of by the attackers that you are trying to protect your clients from. 407 00:24:17,200 --> 00:24:20,140 So, we'll just talk a little bit about some of those tools that have come out. 408 00:24:20,140 --> 00:24:21,460 Over the years. 409 00:24:21,820 --> 00:24:22,440 In map. 410 00:24:22,620 --> 00:24:24,240 Super scanner was one of my favorites. 411 00:24:24,520 --> 00:24:27,780 I used to tell people when I taught ultimate hacking. 412 00:24:27,880 --> 00:24:28,600 Ultimate hacking expert. 413 00:24:28,820 --> 00:24:31,840 That if I had three tools I could take with me to my desert island. 414 00:24:32,340 --> 00:24:34,060 It would probably be Metasploit. 415 00:24:34,200 --> 00:24:34,880 Cain and Abel. 416 00:24:34,940 --> 00:24:35,420 John the Ripper. 417 00:24:35,560 --> 00:24:36,280 Those are my favorites. 418 00:24:37,580 --> 00:24:39,640 Bone scanners and management tools that are out there. 419 00:24:39,820 --> 00:24:41,780 You know, Nessus is still a great tool. 420 00:24:42,280 --> 00:24:44,020 I've used it on several engagements. 421 00:24:44,700 --> 00:24:47,560 And then of course there are a lot of other players in that space. 422 00:24:47,940 --> 00:24:49,800 Some of the wireless tools that have come out. 423 00:24:49,900 --> 00:24:50,120 Air conditioning. 424 00:24:50,140 --> 00:24:50,680 Air crack NG. 425 00:24:50,920 --> 00:24:53,660 I mean that tool is pretty much the de facto bomb right now. 426 00:24:53,760 --> 00:24:55,860 You can crack a web key in less than two minutes. 427 00:24:57,080 --> 00:24:59,300 And then of course some of the other tools that we use. 428 00:24:59,640 --> 00:25:05,000 I started using a lot of virtualization around 2003-ish, 4-ish. 429 00:25:05,140 --> 00:25:08,120 Until then of course I was multi-booting which is so much more convenient. 430 00:25:09,400 --> 00:25:15,460 But also the advent of bootable distros were fantastic. 431 00:25:15,900 --> 00:25:18,000 I mean backtrack is again a fantastic tool kit. 432 00:25:18,160 --> 00:25:19,220 So, shouts to those guys. 433 00:25:21,720 --> 00:25:29,300 So here's actually an example of comparing yes tools have improved but kind of takes a brain. 434 00:25:29,740 --> 00:25:31,620 I did an internal pin. 435 00:25:31,740 --> 00:25:34,880 It's actually there to review the voice over IP network. 436 00:25:35,300 --> 00:25:38,780 And I kept trying to guess my way in. 437 00:25:39,040 --> 00:25:43,100 The way I kind of like to start on a pin test is slow and low, low impact. 438 00:25:43,500 --> 00:25:48,400 So I started digging around looking at different systems trying to guess my way into the few VoIP systems that were there. 439 00:25:48,400 --> 00:25:53,320 And I came across the documentation for the voice over IP system on some share. 440 00:25:53,560 --> 00:25:55,480 And started looking through and oh my God. 441 00:25:55,860 --> 00:26:00,660 The password to everything was the company name with like ats for As and threes for Es. 442 00:26:00,760 --> 00:26:02,680 Now yes a tool might have found that. 443 00:26:02,800 --> 00:26:08,880 But when you're brute forcing something like a password over telnet or whatever it's less effective. 444 00:26:09,940 --> 00:26:17,480 So it kind of illustrates the point that actually just as an aside I noticed when I was there that they were running a wireless network with no encryption. 445 00:26:17,700 --> 00:26:18,340 I thought wow. 446 00:26:18,960 --> 00:26:19,880 That's a bold move. 447 00:26:20,520 --> 00:26:21,580 And so I asked the guy. 448 00:26:21,660 --> 00:26:25,980 And he said oh we've got MAC filtering turned on though because you can't change that on the heart. 449 00:26:26,080 --> 00:26:28,660 This is a pin test literally like a year and a half ago. 450 00:26:29,040 --> 00:26:34,980 And an administrator told me that because you couldn't change the MAC address on a NIC they were all good. 451 00:26:39,080 --> 00:26:41,240 So how do you go about picking a pin test vendor? 452 00:26:41,560 --> 00:26:43,100 Well it depends on what you're trying to achieve. 453 00:26:45,080 --> 00:26:48,320 But by that same virtue I've actually spoken to some people. 454 00:26:48,320 --> 00:26:55,560 Some clients that have told me well I'll tell you what if I really need to pass a pin test I don't want them to find anything I'll pick these guys. 455 00:26:56,060 --> 00:26:59,960 If I really want to know it's got to be secure I'll pick these other guys. 456 00:27:00,820 --> 00:27:02,480 So again just something to think about. 457 00:27:06,080 --> 00:27:11,720 So in summary we're saying the pin test as it was is dead. 458 00:27:15,340 --> 00:27:16,740 So summary of that section. 459 00:27:16,740 --> 00:27:17,960 We covered a little bit of the history. 460 00:27:18,320 --> 00:27:20,160 We looked at the lack of standardization. 461 00:27:20,240 --> 00:27:23,940 There was no real solid methodology or process for how to conduct a penetration test. 462 00:27:24,760 --> 00:27:30,240 We also saw a torrent of people coming into the space because well everybody can be a hacker. 463 00:27:30,340 --> 00:27:32,840 I can go buy two or three books or I can take a class. 464 00:27:33,020 --> 00:27:33,720 I'm good to go. 465 00:27:33,920 --> 00:27:34,800 I'm a pin tester. 466 00:27:35,120 --> 00:27:36,320 I can get my cert. 467 00:27:38,260 --> 00:27:43,720 But you can also skew those results by picking a vendor due to the lack of standardization. 468 00:27:48,740 --> 00:27:49,960 Anybody have this book? 469 00:27:55,440 --> 00:27:58,760 Alright so we're going to shift into long live the pin test. 470 00:28:00,920 --> 00:28:02,200 Is it viable? 471 00:28:03,300 --> 00:28:05,240 Where does pin testing fit into the organization? 472 00:28:07,280 --> 00:28:13,600 Well I've actually seen a presentation by somebody I didn't work with directly but worked for the same company I worked for for a while. 473 00:28:13,880 --> 00:28:15,580 The software security guy. 474 00:28:16,740 --> 00:28:17,620 It's actually John Viega. 475 00:28:17,900 --> 00:28:23,460 So he wrote building secure software and was telling a room full of pin testers so pin testing is stupid. 476 00:28:23,620 --> 00:28:25,180 The classic network pin. 477 00:28:25,380 --> 00:28:27,060 There's no reason to do that anymore. 478 00:28:27,380 --> 00:28:28,700 It's a dead end service line. 479 00:28:29,000 --> 00:28:32,300 Imagine the looks on our faces and the sick feeling. 480 00:28:32,740 --> 00:28:36,500 You looked around the room I'm sure it was probably highly amusing to the fly on the wall. 481 00:28:37,960 --> 00:28:46,380 So but the argument is a pin test something that you could in terms of the classic network pin is it really something that you can commoditize every part of? 482 00:28:46,440 --> 00:28:46,600 Yes. 483 00:28:46,740 --> 00:28:50,840 Certainly there are aspects of a penetration test that you could automate using certain tools. 484 00:28:50,980 --> 00:28:58,760 But I would argue I mean I've been on plenty of pin tests where you run some automated scanner and it gave you know hey pass these guys are the bomb. 485 00:28:59,020 --> 00:29:01,940 You do a little manual digging and bam you own the system. 486 00:29:03,820 --> 00:29:10,720 I've also I guess it's a mentality of if you have no software vulnerabilities then you're solid. 487 00:29:11,000 --> 00:29:15,220 It kind of ignores the fundamental point that a lot of times I don't. 488 00:29:16,440 --> 00:29:20,100 I've broken into many many windows networks without ever launching an exploit. 489 00:29:20,840 --> 00:29:22,300 Don't launch one if you don't need to. 490 00:29:22,520 --> 00:29:24,660 So it's not an issue of software security. 491 00:29:25,240 --> 00:29:26,860 It's more of a human issue. 492 00:29:27,440 --> 00:29:30,280 You know okay you can keep throwing technology at the problem. 493 00:29:30,420 --> 00:29:31,320 You can go buy a NAC. 494 00:29:31,380 --> 00:29:33,220 You can go buy IDS IPS. 495 00:29:33,480 --> 00:29:34,880 And I'm not saying those are bad things. 496 00:29:34,980 --> 00:29:37,000 I'm not saying that they don't fit into the overall model. 497 00:29:39,800 --> 00:29:42,120 But is it really solving the problem? 498 00:29:43,620 --> 00:29:45,100 So is pin testing dead? 499 00:29:45,100 --> 00:29:47,020 We really say no. 500 00:29:47,100 --> 00:29:55,260 Based on the results of the pin testing that I've personally participated in I would say it's a great way to pop quiz yourself. 501 00:29:55,620 --> 00:30:01,940 Are these security initiatives that I have in place are these countermeasures that I'm deploying are they effective? 502 00:30:02,480 --> 00:30:05,740 Well and they may be effective within the context of everything you know today. 503 00:30:06,300 --> 00:30:12,960 But you know somebody like Ophir you know comes in and owns your NAC because he did something you didn't think of. 504 00:30:13,120 --> 00:30:14,680 How else would you validate that? 505 00:30:15,100 --> 00:30:15,160 Okay. 506 00:30:16,280 --> 00:30:22,180 So one of the funniest quotes I've heard from another pin tester is Marty Sells with ISS. 507 00:30:22,540 --> 00:30:26,860 We were doing a pin test and he says we're not conducting a penetration test. 508 00:30:27,000 --> 00:30:28,400 We're creating compelling events. 509 00:30:29,660 --> 00:30:31,060 I found it highly amusing. 510 00:30:32,500 --> 00:30:35,680 So again as I said it's like a pop quiz. 511 00:30:36,860 --> 00:30:39,900 You can let me just go to the next slide. 512 00:30:41,040 --> 00:30:43,980 The point that I was trying to make was somewhere around here. 513 00:30:44,560 --> 00:30:47,060 We've lost our presentation view by the way. 514 00:30:47,340 --> 00:30:48,900 So I've lost my notes. 515 00:30:50,500 --> 00:31:01,580 But essentially the point I was trying to make was that you can use the results of a pin test to validate funding. 516 00:31:01,740 --> 00:31:05,960 To get initiatives in place to secure issues you already know you have. 517 00:31:08,980 --> 00:31:13,140 So as another example of using multiple issues. 518 00:31:13,140 --> 00:31:20,740 Or depending on a vulnerability scanner to identify all of your issues might not be that helpful. 519 00:31:20,840 --> 00:31:27,440 I actually did an internal pin for a client where one of the things they really wanted me to do was break into the AS400 environment. 520 00:31:28,980 --> 00:31:30,760 I don't know that much about AS400. 521 00:31:30,920 --> 00:31:33,420 So I was looking at ways to get in checking defaults. 522 00:31:33,720 --> 00:31:36,960 Ran an automated scanner and it actually came up with a pretty good score. 523 00:31:37,080 --> 00:31:37,900 Didn't find much stuff. 524 00:31:38,000 --> 00:31:41,120 But it did find default SNMP on the AS400. 525 00:31:41,460 --> 00:31:43,000 Or a default SNMP community. 526 00:31:43,000 --> 00:31:44,780 So what can you do with that? 527 00:31:45,340 --> 00:31:52,040 Well I looked at all the data returned from an SNMP walk and noticed here are all the live connections. 528 00:31:52,360 --> 00:31:54,260 What about the connections to port 23? 529 00:31:54,660 --> 00:31:55,920 Those might be interesting. 530 00:31:56,840 --> 00:32:02,340 So I also using a combination of knowing that I could sniff on their network. 531 00:32:02,460 --> 00:32:06,380 They weren't using any anti-spoofing technology to protect themselves from network eavesdropping. 532 00:32:07,100 --> 00:32:09,040 Combined, which is semi-nasty. 533 00:32:09,560 --> 00:32:12,980 Combined that with now knowing where the connections are coming from to the AS400. 534 00:32:13,000 --> 00:32:21,040 I was able to capture an administrator logging into the AS400 and had complete control of the AS400 environment. 535 00:32:21,440 --> 00:32:27,700 So it kind of exemplifies the point of you use something that isn't necessarily a bad thing. 536 00:32:27,760 --> 00:32:31,060 If you can find a couple of little things you might be able to leverage that into something nasty. 537 00:32:31,300 --> 00:32:37,080 And that's the kind of correlation that an automated tool just isn't going to be able to do for you I think ever. 538 00:32:37,340 --> 00:32:39,000 It requires a brain. 539 00:32:43,000 --> 00:32:45,020 So interestingly what are the things we find now right? 540 00:32:45,080 --> 00:32:47,760 After all the things we saw from the earlier section in history of the pen test. 541 00:32:47,920 --> 00:32:48,740 What are the things we find today? 542 00:32:50,380 --> 00:32:53,760 Well believe it or not it's the same stuff we found yesterday right? 543 00:32:53,840 --> 00:32:55,080 We still have weak passwords. 544 00:32:55,320 --> 00:32:56,560 We still have poor architecture. 545 00:32:56,880 --> 00:32:58,780 We're still finding system defaults. 546 00:32:58,800 --> 00:33:02,360 We're also still finding vendor configurations and default vendor devices. 547 00:33:02,740 --> 00:33:06,600 In fact in a large number of organizations that Carrick and I have both done pen tests for. 548 00:33:06,740 --> 00:33:11,640 We often find devices that the local administrators don't even have root on. 549 00:33:11,640 --> 00:33:16,440 Nor do they have the ability to modify or patch because they are owned and controlled by the vendor. 550 00:33:16,660 --> 00:33:19,200 So in essence despite all of these improvements. 551 00:33:19,440 --> 00:33:24,420 Despite all of these things that would make us believe that hey if we write our code properly. 552 00:33:24,560 --> 00:33:26,100 If we secure our code effectively. 553 00:33:26,400 --> 00:33:28,780 We're not going to need to do network pen tests. 554 00:33:29,280 --> 00:33:30,240 That's hogwash. 555 00:33:30,460 --> 00:33:33,800 Unfortunately the problems we see are not just software problems. 556 00:33:34,320 --> 00:33:38,280 So again they're basically the same damn things that we saw ten years ago. 557 00:33:38,520 --> 00:33:39,580 Have we learned anything? 558 00:33:39,860 --> 00:33:40,320 Well yes. 559 00:33:40,320 --> 00:33:42,520 Our software is getting more secure. 560 00:33:42,780 --> 00:33:43,760 We know that for a fact. 561 00:33:43,900 --> 00:33:45,160 We can test that. 562 00:33:45,220 --> 00:33:46,440 We can demonstrate it conclusively. 563 00:33:47,060 --> 00:33:52,220 But again unfortunately what we're talking about here goes well beyond just software problems. 564 00:33:52,720 --> 00:33:54,460 Software problems are the vulns. 565 00:33:54,560 --> 00:33:59,940 And we just got done spending 20 minutes telling you guys that a penetration test is not just a simple vuln scan. 566 00:34:00,240 --> 00:34:02,980 So if a pen test is not just a simple vuln scan. 567 00:34:03,100 --> 00:34:09,580 And we're telling you that hey most of the major problems we find are not necessarily or inherently current software vulnerabilities. 568 00:34:09,580 --> 00:34:13,200 I tell you unfortunately there's still a lot of need for pen tests. 569 00:34:13,360 --> 00:34:16,780 Because it's the only way that we're going to identify these systemic issues. 570 00:34:19,640 --> 00:34:22,840 So you know the other thing to understand here is that security is a process. 571 00:34:23,020 --> 00:34:23,820 It's not a project. 572 00:34:24,100 --> 00:34:26,560 And you've probably seen one of a dozen of these circle diagrams. 573 00:34:26,900 --> 00:34:34,760 In fact I think any vendor that has ever done penetration testing had to create a circle diagram to describe the process or methodology that they used. 574 00:34:35,020 --> 00:34:39,020 But the idea here is that you know we're not just walking in performing a test. 575 00:34:39,020 --> 00:34:40,520 We're walking out and moving on. 576 00:34:40,880 --> 00:34:44,400 Number one the environments that we're testing in themselves are dynamic. 577 00:34:44,740 --> 00:34:48,340 And a pen test is essentially a snapshot of a dynamic environment. 578 00:34:48,720 --> 00:34:50,800 The environment itself is changing all the time. 579 00:34:50,920 --> 00:34:55,700 And therefore we need to continue performing processes and continue performing pen tests. 580 00:34:55,920 --> 00:35:01,400 In order to ensure that changes in these environments and changes in risk profiles within these environments. 581 00:35:01,700 --> 00:35:04,280 Don't significantly affect the security of the organizations. 582 00:35:06,160 --> 00:35:07,680 Again as I said before. 583 00:35:07,680 --> 00:35:09,400 If it's not a repeatable process. 584 00:35:09,500 --> 00:35:10,900 It's a hack not a pen test. 585 00:35:11,180 --> 00:35:16,440 Now there's something to be said for the fact that pen testing is in essence still somewhat of an art form. 586 00:35:16,560 --> 00:35:16,760 Right. 587 00:35:16,860 --> 00:35:26,960 There is still some inherent unique focus or advantage that will always be imbued into a pen test by the person performing the penetration test. 588 00:35:27,220 --> 00:35:30,280 But there must be some semblance of a repeatable process. 589 00:35:30,680 --> 00:35:35,880 Otherwise we've got no way to guarantee that when we go back and perform a rescan against our organization. 590 00:35:35,880 --> 00:35:43,960 That we are doing the same things in order to effectively determine whether or not the problems we found the first time around have been fixed. 591 00:35:44,040 --> 00:35:44,820 Have been changed. 592 00:35:44,880 --> 00:35:45,480 Have been improved. 593 00:35:48,040 --> 00:35:50,140 We started talking here a little bit about metrics. 594 00:35:50,260 --> 00:35:52,400 And about process and metrics. 595 00:35:52,660 --> 00:35:55,240 So if we look at the different approaches to pen testing. 596 00:35:55,500 --> 00:35:55,620 Right. 597 00:35:55,680 --> 00:35:56,920 There's the yesterday approach. 598 00:35:57,160 --> 00:36:00,580 The 1999-2000 scan now pen test. 599 00:36:00,860 --> 00:36:01,020 Right. 600 00:36:01,060 --> 00:36:01,560 We go in. 601 00:36:01,600 --> 00:36:02,480 We sit down with a client. 602 00:36:02,480 --> 00:36:05,760 You dump a 1300-page report from scanner. 603 00:36:05,980 --> 00:36:09,720 I mean the custom report we generated for you into a client's lap. 604 00:36:10,020 --> 00:36:10,740 And then they run away. 605 00:36:11,320 --> 00:36:12,780 You sit and you talk with the clients. 606 00:36:12,880 --> 00:36:20,500 And you say, hey, we're not really going to be able to accurately assess the risk of the vulnerabilities we find unless we can really define a risk profile. 607 00:36:20,820 --> 00:36:23,560 And the client says, risk profile, what's that? 608 00:36:24,120 --> 00:36:31,500 So, you know, again, the pen test of yesteryear was something that was, it was driven by, a lot more by vulnerability scanning. 609 00:36:31,500 --> 00:36:32,740 It was driven by the vulnerability scanning process. 610 00:36:33,320 --> 00:36:36,200 Whereas today we need to move a bit beyond this. 611 00:36:36,340 --> 00:36:42,260 And we're now moving from, you know, kind of a tactical approach to a strategic approach to pen testing. 612 00:36:42,460 --> 00:36:55,240 So now, you know, our goal here or our aim is to be able to sit with our clients and have remediation plans and action plan matrixes that actually deal with highest impact, lowest cost vulnerabilities first. 613 00:36:55,380 --> 00:36:55,700 Right. 614 00:36:55,740 --> 00:37:00,840 We need to help them fix the problems that are going to most directly influence or affect them. 615 00:37:00,900 --> 00:37:01,480 Immediately. 616 00:37:01,500 --> 00:37:08,280 Before we go on to fixing things like SNMP default community strings on an isolated out of band air gap network. 617 00:37:10,520 --> 00:37:11,300 All right. 618 00:37:11,380 --> 00:37:12,800 So, again, we talked about metrics. 619 00:37:13,000 --> 00:37:21,680 And honestly, we could probably have a whole other presentation or for that matter a series of presentations on metrics and process and frameworks. 620 00:37:22,060 --> 00:37:24,760 And, in fact, we'd probably love to do just that. 621 00:37:25,640 --> 00:37:30,940 It's impossible to capture what would be in the optimal metric when doing pen testing. 622 00:37:30,940 --> 00:37:33,080 Or the optimal process. 623 00:37:33,660 --> 00:37:37,320 But we know that there are things that we need to focus on and need to identify. 624 00:37:37,900 --> 00:37:39,840 There's a couple of interesting components here. 625 00:37:40,020 --> 00:37:42,340 You know, one of the things, Karek and I had a discussion. 626 00:37:42,560 --> 00:37:50,860 We talked about changes in the vulnerability landscape during the time when a penetration test is being performed and across systematic rescans. 627 00:37:51,060 --> 00:38:00,920 And, therefore, as we're looking at the results of these tests, we realize, hey, you know, 13 new vulnerabilities were released for the systems that we tested since the last time we tested. 628 00:38:00,920 --> 00:38:08,180 If we did a pen test for this organization, that needs to find its way into the metric that we use to produce the results for our clients. 629 00:38:08,440 --> 00:38:13,180 But we also need to focus on things like, again, for instance, business process. 630 00:38:13,780 --> 00:38:24,640 You know, we need to understand that, hey, the risk associated with an individual vulnerability ties back to what an organization does and what information is affected by the vulnerability that we found. 631 00:38:25,660 --> 00:38:30,780 Again, as I said before, you know, two pen tests are always still going to be influential. 632 00:38:30,920 --> 00:38:31,900 They're going to be influenced by the pen testers. 633 00:38:31,940 --> 00:38:33,820 And, honestly, that's a good thing, right? 634 00:38:33,860 --> 00:38:35,460 Otherwise, hey, we'd all be drones. 635 00:38:36,120 --> 00:38:49,220 So despite the fact that this is not a tool-driven process, and although I encourage and suggest and talk to the points of methodologies and process, again, we know that, you know, tests are influenced by the individual pen tester. 636 00:38:49,340 --> 00:38:52,220 And, again, that's an important part of this process. 637 00:38:52,680 --> 00:38:54,960 We said volume counting is ineffective, you know. 638 00:38:55,000 --> 00:38:59,620 And one of the things is let's say we've got findings in a new scan, right? 639 00:38:59,620 --> 00:39:00,840 We've done a scan for an organization. 640 00:39:00,920 --> 00:39:01,620 We go back. 641 00:39:01,700 --> 00:39:03,260 We do a systematic re-scan. 642 00:39:03,320 --> 00:39:03,820 We come back. 643 00:39:03,860 --> 00:39:05,520 And now we've got new findings. 644 00:39:05,820 --> 00:39:07,340 So what does that tell us, right? 645 00:39:07,460 --> 00:39:08,880 Has the organization changed? 646 00:39:09,120 --> 00:39:11,640 Have they made changes within the environment? 647 00:39:11,960 --> 00:39:12,980 Did the tester change? 648 00:39:13,360 --> 00:39:14,440 Did the tools improve? 649 00:39:14,600 --> 00:39:16,460 Or what combination thereof, right? 650 00:39:16,520 --> 00:39:18,420 Did the tool improve and the tester improve? 651 00:39:18,760 --> 00:39:20,440 We brought new people on to the team. 652 00:39:20,580 --> 00:39:25,180 Oh, and by the way, they turned on seven new systems since the last time we performed the scan. 653 00:39:25,540 --> 00:39:29,600 Well, unfortunately, the only way that we can really begin to address this issue is with the testers. 654 00:39:29,600 --> 00:39:30,700 And that is with metrics. 655 00:39:34,520 --> 00:39:35,780 So an example of this. 656 00:39:36,400 --> 00:39:37,700 I actually had a client. 657 00:39:37,800 --> 00:39:45,500 We went out there in 2006 and did an internal pen for them where we were able to own a total like 60 systems. 658 00:39:45,660 --> 00:39:48,220 I felt like it was a complete failure because you have to own them all. 659 00:39:50,820 --> 00:39:55,120 So the reason for this, actually I'll get into the reason when I kind of summarize the whole thing. 660 00:39:55,300 --> 00:39:55,700 2007. 661 00:39:56,360 --> 00:39:57,260 We show up. 662 00:39:58,520 --> 00:40:01,820 Owned everything by like 11 or 15 on Monday. 663 00:40:02,900 --> 00:40:10,380 So we're explaining the results of, you know, the client comes to me and says, you only got limited control the first time. 664 00:40:10,400 --> 00:40:14,100 We haven't really made significant changes to the environment. 665 00:40:14,700 --> 00:40:15,940 What the hell happened? 666 00:40:16,200 --> 00:40:19,540 So I start to explain, well, the first time what happened was we came in. 667 00:40:20,260 --> 00:40:21,860 We find a vulnerability on a system. 668 00:40:21,960 --> 00:40:22,700 Take advantage of it. 669 00:40:22,740 --> 00:40:23,360 Get into the box. 670 00:40:24,100 --> 00:40:25,600 Rape the accounts off of it. 671 00:40:25,600 --> 00:40:33,200 And we'd have to shut those off to a machine somewhere else because you couldn't run password cracking on your local machine because it pretty much makes it a brick. 672 00:40:34,260 --> 00:40:35,440 So we'd push that off. 673 00:40:35,500 --> 00:40:36,880 Run John the Ripper somewhere else. 674 00:40:37,260 --> 00:40:38,820 And it would be recovering the password. 675 00:40:38,880 --> 00:40:41,300 Maybe it would take a day to get a password back. 676 00:40:41,560 --> 00:40:46,340 You'd get about 11 or 12 more systems and bam, hit a new brick wall where that password wasn't good anymore. 677 00:40:46,800 --> 00:40:55,440 It was kind of a byproduct of the company growing through acquisition and different groups had owned different pieces of this thing and they hadn't really solidified it all together yet. 678 00:40:55,440 --> 00:40:59,640 So it was highly segmented in terms of what chunks we were able to get our hands into. 679 00:41:00,200 --> 00:41:01,520 Came back the next year. 680 00:41:02,360 --> 00:41:05,680 What had happened was I had some rainbow tables with me. 681 00:41:05,800 --> 00:41:13,720 I had John the Ripper had been upgraded to version 1.7 and it was taking me about 15 to 20 minutes to compromise passwords. 682 00:41:14,500 --> 00:41:16,520 So I don't know. 683 00:41:16,560 --> 00:41:17,340 Maybe I got better. 684 00:41:17,800 --> 00:41:20,640 I might have learned something new, a new trick or whatever it was. 685 00:41:20,780 --> 00:41:24,780 But it kind of illustrates the point that there was no dramatic. 686 00:41:24,780 --> 00:41:26,840 Change that the enterprise. 687 00:41:26,940 --> 00:41:29,920 They hadn't necessarily gotten less secure. 688 00:41:30,200 --> 00:41:41,960 It was more an evolution of the tools and maybe an evolution of methodology or some approach or technique that I used that dramatically impacted the ultimate results of the test. 689 00:41:42,180 --> 00:41:42,700 Okay. 690 00:41:42,800 --> 00:41:47,040 So when we talk about a metric systems, how do we capture all this? 691 00:41:47,080 --> 00:41:49,400 How do we determine if we're getting better? 692 00:41:51,460 --> 00:41:52,020 Okay. 693 00:41:55,220 --> 00:41:55,860 All right. 694 00:41:55,880 --> 00:41:56,800 So we come back to frameworks. 695 00:41:56,940 --> 00:42:01,460 And I threw a bunch of acronyms and pictures and icons on the board before. 696 00:42:01,640 --> 00:42:04,160 And so now I'll come back and readdress a few of these. 697 00:42:04,380 --> 00:42:12,160 You know, again, we've seen some significant improvements in the frameworks and the methodologies that we have used and or contributed to across the past ten years. 698 00:42:12,660 --> 00:42:14,200 The OSTIM itself has improved. 699 00:42:14,500 --> 00:42:18,500 We've also seen release of a new framework called the ISSAF. 700 00:42:19,020 --> 00:42:20,740 We've got a couple of frameworks provided. 701 00:42:20,740 --> 00:42:24,580 Kevin Ori has a pen testing framework publicly available, as I mentioned. 702 00:42:24,720 --> 00:42:30,340 NIST special publication 800-42 talks about guidelines for network security testing. 703 00:42:30,740 --> 00:42:37,860 We've even got a wireless penetration testing framework that got rolled up into Kevin Ori's overall pen testing framework. 704 00:42:38,280 --> 00:42:40,260 Again, these are all great starting points. 705 00:42:40,420 --> 00:42:47,900 And they're all a great set of guidelines or a basis upon which we can influence the tests that we are performing. 706 00:42:50,620 --> 00:42:55,120 However, you know, we've had this problem with not being able to see the forest for the trees. 707 00:42:55,360 --> 00:43:07,620 And so now, again, one of the things that we need to understand is that because we're no longer just focusing on individual vulnerabilities, we've got to look for the systemic issues, the architectural issues within our environments. 708 00:43:08,460 --> 00:43:11,400 Unfortunately, even methodologies might not help us there. 709 00:43:11,580 --> 00:43:11,780 Right? 710 00:43:11,860 --> 00:43:17,740 When we're looking for architectural problems, the specific subset of UDP ports to scan. 711 00:43:17,740 --> 00:43:22,820 In order to be compliant with somebody's methodology document is not really going to be very useful. 712 00:43:25,960 --> 00:43:28,740 Again, we talk about move from tactical versus strategic. 713 00:43:29,000 --> 00:43:34,160 Whereas, tactical was our process of just basically identifying, categorizing all known vulnerabilities. 714 00:43:34,500 --> 00:43:37,880 Whereas, we move into strategic, which is a more systematic approach. 715 00:43:38,160 --> 00:43:38,300 Right? 716 00:43:38,380 --> 00:43:41,160 We're trying to find not only system level vulnerabilities. 717 00:43:41,640 --> 00:43:44,220 We're also trying to find these architectural issues. 718 00:43:44,540 --> 00:43:47,540 And we're trying to correlate all of this back to, again. 719 00:43:47,740 --> 00:43:49,760 The organization for whom we're doing the tests. 720 00:43:50,300 --> 00:43:50,820 Business. 721 00:43:50,960 --> 00:43:52,060 To their risk. 722 00:43:52,240 --> 00:43:52,400 Right? 723 00:43:52,500 --> 00:43:55,560 To the risk profile associated with the nature of the business they're doing. 724 00:43:55,700 --> 00:43:58,540 And the information affected by the vulnerabilities that we find. 725 00:44:02,960 --> 00:44:14,020 So, again, this is something that is really only going to be improved through the development of appropriate metrics. 726 00:44:14,220 --> 00:44:14,400 Right? 727 00:44:14,440 --> 00:44:17,620 We need systems that we can use to help us identify. 728 00:44:17,620 --> 00:44:24,860 And to help us provide information that ties back to the vulnerabilities to the systems that we find. 729 00:44:24,980 --> 00:44:29,960 And include things like risk associated with business profile. 730 00:44:32,920 --> 00:44:36,020 We mentioned complexity and likelihood of attack. 731 00:44:36,320 --> 00:44:44,840 And this is rather important because, again, the likelihood of an attack as well as the complexity of an attack will affect the likelihood of that attack affecting the systems within the organization. 732 00:44:46,080 --> 00:44:46,820 All right? 733 00:44:48,080 --> 00:44:51,840 So we move into pen testing in the 21st century and beyond. 734 00:44:51,940 --> 00:44:54,800 Fortunately, we've got five minutes and we've only got 45 more slides. 735 00:44:57,400 --> 00:44:58,040 All right. 736 00:44:58,520 --> 00:45:00,000 We talk about methodologies. 737 00:45:00,000 --> 00:45:02,280 One of the things that's important here is an organic methodology. 738 00:45:02,560 --> 00:45:07,940 In other words, a methodology that is going to improve as the state of penetration testing improves. 739 00:45:08,280 --> 00:45:15,420 And one of the real benefits to the documents that we mentioned or that we referenced in some of these slides is that most of these are open source documents. 740 00:45:15,500 --> 00:45:16,800 Or open source methodologies. 741 00:45:16,800 --> 00:45:23,320 While they have groups of core contributors, the bottom line is that they are open for contributions from any and all of us. 742 00:45:23,420 --> 00:45:25,240 And this is an important part of this process. 743 00:45:25,620 --> 00:45:25,960 Right? 744 00:45:26,020 --> 00:45:33,800 Where there are flaws, omissions, or where these frameworks and guidelines are lacking, it's up to us to go out and flesh them out. 745 00:45:33,880 --> 00:45:45,000 And identify what they are missing and where they are lacking in order to ensure that in the future these documents and these guidelines can help improve the consistency of tests performed for our clients. 746 00:45:45,320 --> 00:45:46,060 All right. 747 00:45:47,500 --> 00:45:50,000 We talk about adapting to new technologies. 748 00:45:50,140 --> 00:45:53,640 And this is something that I think frightens a lot of folks doing penetration tests. 749 00:45:53,860 --> 00:45:54,040 Right? 750 00:45:54,140 --> 00:45:56,360 It's what happens as we see changes in technology. 751 00:45:56,680 --> 00:45:59,420 We see things like, you know, Ajax, Web 2.0. 752 00:45:59,600 --> 00:46:01,620 We've got new technologies like NAC. 753 00:46:01,820 --> 00:46:13,120 And oftentimes these technologies are deployed within organizations before the folks that are hired to do penetration tests really have an opportunity to identify how the systems work and how they might be compromised. 754 00:46:13,120 --> 00:46:21,940 So we've got to ask ourselves, what can we do or how can we go about adapting to these new technologies, especially when, frankly, they're technologies we might not fully understand? 755 00:46:22,340 --> 00:46:24,240 So we say, well, there are two ways. 756 00:46:24,280 --> 00:46:26,180 Number one, the easy way would be Billy Hoffman. 757 00:46:26,240 --> 00:46:31,680 Or number two, we do essentially what software developers have been doing in building secure code. 758 00:46:31,960 --> 00:46:33,020 We do threat modeling. 759 00:46:33,140 --> 00:46:34,100 We do attack modeling. 760 00:46:34,140 --> 00:46:34,880 And we fuzz. 761 00:46:35,160 --> 00:46:35,560 Right? 762 00:46:35,620 --> 00:46:42,640 We treat these environments in the same way we would treat a piece of software that we are trying to secure from the ground up. 763 00:46:43,640 --> 00:46:52,220 On the topic of threat or attack modeling, you know, this is, again, something you will read generally in the context of software development. 764 00:46:52,620 --> 00:47:01,740 However, at an abstract level, the process of threat modeling applies equally well to an unknown or unidentified technology when conducting a pen test. 765 00:47:02,000 --> 00:47:02,460 Right? 766 00:47:02,480 --> 00:47:05,280 We're trying to identify essentially data flows. 767 00:47:05,540 --> 00:47:07,820 We're trying to look at where is a piece of data? 768 00:47:07,980 --> 00:47:10,300 Who owns or modifies that piece of data? 769 00:47:10,480 --> 00:47:11,920 Where does that data go? 770 00:47:12,640 --> 00:47:18,460 What trace of trust relationships or boundaries exist between the pieces of data that affect this system? 771 00:47:20,920 --> 00:47:22,700 So can you test without a baseline? 772 00:47:23,060 --> 00:47:23,500 Yes. 773 00:47:24,220 --> 00:47:37,480 Unfortunately, the problem is testing new technologies and testing without a baseline is going to produce results that will be more difficult to quantify and more difficult to define or associate qualitative values with. 774 00:47:37,680 --> 00:47:38,060 Right? 775 00:47:38,120 --> 00:47:39,520 We start testing new technologies. 776 00:47:39,520 --> 00:47:59,380 The problem is even though threat modeling can help us identify where the weaknesses are and help us identify vulnerabilities within the architecture or configuration of these systems, until there are baselines for these new technologies, relating that information back to the risk profiles and the organizations we're doing testing for is certainly not going to be an easy task. 777 00:48:03,680 --> 00:48:09,260 Lastly, we ask ourselves the question, how can we really provide quality assurance? 778 00:48:09,260 --> 00:48:10,760 How can we really provide quality assurance in the context of a pen test? 779 00:48:11,000 --> 00:48:12,240 And by that, here's what I mean. 780 00:48:12,740 --> 00:48:16,540 How do I know if one pen test is good and one pen test is bad? 781 00:48:16,760 --> 00:48:37,440 If we don't yet have effective metrics, and we're saying that the number of vulnerabilities is not necessarily an indication of the security of the environment, especially if we're ignoring risk profile of the organization, how can I look at two different penetration tests and say, well, this organization or this individual did a good job, and this organization or this individual did not? 782 00:48:37,640 --> 00:48:39,240 Well, again, we're trying to identify where the weaknesses are. 783 00:48:39,240 --> 00:48:40,660 We're going to have to come back to process. 784 00:48:41,500 --> 00:48:49,760 The only way that we're going to be able to come back and define quality assurance or quality control in the scope of penetration testing is through effective metrics. 785 00:48:49,980 --> 00:49:01,300 And these metrics are things that, again, through working with and adapting the existing frameworks, we're going to be able to define and improve, and it will be an ongoing and ever-changing process. 786 00:49:05,020 --> 00:49:05,460 Okay. 787 00:49:05,580 --> 00:49:07,120 How do we justify a pen test? 788 00:49:07,180 --> 00:49:08,080 How do we position this? 789 00:49:08,300 --> 00:49:08,840 That one. 790 00:49:09,240 --> 00:49:09,660 All right. 791 00:49:10,220 --> 00:49:11,880 I've got one minute, so I'm going to go really fast. 792 00:49:12,660 --> 00:49:14,160 It might be a legislative requirement. 793 00:49:14,440 --> 00:49:16,880 It might be a genuine interest in the environment. 794 00:49:17,080 --> 00:49:20,180 I alluded to this a little bit earlier. 795 00:49:20,460 --> 00:49:22,560 And clients really kind of fall into those two categories. 796 00:49:24,000 --> 00:49:28,620 I actually did, and this will probably be my last pen test story, did an external pen for a company. 797 00:49:30,260 --> 00:49:39,220 I was able to compromise multiple Oracle servers, found PII, found credit card receipts, found my favorite one was this picture. 798 00:49:39,220 --> 00:49:45,180 So I actually found a file share and started digging through it and found this series of pictures. 799 00:49:45,320 --> 00:49:51,000 And there was this woman that was having something removed from her leg that was this large growth tumor thing. 800 00:49:53,380 --> 00:49:56,420 So you watch the process, and they have, you know, one snapshot removing it. 801 00:49:56,500 --> 00:50:04,660 And then in the last snapshot, the doctor is standing there with the tumor under his arm. 802 00:50:04,720 --> 00:50:06,020 Now, you have to ask yourself. 803 00:50:07,940 --> 00:50:08,380 . 804 00:50:10,240 --> 00:50:11,660 What's the exposure there? 805 00:50:11,860 --> 00:50:12,140 Okay. 806 00:50:12,480 --> 00:50:13,320 Illegal exposure. 807 00:50:15,820 --> 00:50:21,420 And probably their biggest problem from an architectural perspective, they had no external firewalls. 808 00:50:21,420 --> 00:50:25,760 So anybody could have viewed that particular sequence of photographs. 809 00:50:29,500 --> 00:50:30,220 All right. 810 00:50:30,260 --> 00:50:35,100 So we make it to our conclusion slide just as we hit the final moments of our talk. 811 00:50:35,360 --> 00:50:38,360 Again, you know, Carrick and I wanted to focus on a couple of points here. 812 00:50:38,360 --> 00:50:42,600 And, you know, the first half of this presentation was dedicated to what we call the pen test is dead. 813 00:50:42,800 --> 00:50:45,880 What we're saying here is that yesterday's pen test is dead. 814 00:50:46,040 --> 00:50:46,280 Right? 815 00:50:46,460 --> 00:50:48,620 Simple volume counting is no longer effective. 816 00:50:48,980 --> 00:51:00,780 While what worked then still works now, we've had to evolve and adapt to the process to meet the requirements of changes in technology and changes in security within and around the organizations that we have been working with. 817 00:51:01,620 --> 00:51:05,680 The second portion of this talk we focused on essentially long lived the pen test. 818 00:51:05,880 --> 00:51:08,260 And what Carrick and I both posit is that. 819 00:51:08,260 --> 00:51:23,060 Despite the fact that improvements to the quality and security of the software we are developing, despite the fact this will inevitably help our organizations and improve security on the whole, it is not going to mitigate the need for network-based penetration testing. 820 00:51:23,400 --> 00:51:34,200 In many cases, network-based penetration testing remains the one effective way that we've got to identify problems within organizations that go above and beyond simple software vulnerabilities. 821 00:51:36,940 --> 00:51:38,240 Everything we said may be a lie. 822 00:51:38,680 --> 00:51:40,200 Thank you, guys, very much, for coming. 823 00:51:40,420 --> 00:51:42,260 I also want to thank DC404. 824 00:51:43,120 --> 00:51:43,300 Right? 825 00:51:43,400 --> 00:51:46,820 We're part of the Atlanta DEF CON group. 826 00:51:47,020 --> 00:51:49,940 And we ended up with seven presentations at this year's DEF CON. 827 00:51:50,140 --> 00:51:50,980 So thank you. 828 00:51:51,080 --> 00:51:52,420 Thank you, DC404. 829 00:51:52,580 --> 00:51:54,560 And thanks to all the other speakers from DC 404. 830 00:51:54,760 --> 00:51:55,760 You guys all did a great job.