1 00:00:00,000 --> 00:00:01,160 All right, everybody. 2 00:00:01,340 --> 00:00:02,160 Thank you for your patience. 3 00:00:02,160 --> 00:00:03,220 We're ready to start. 4 00:00:03,280 --> 00:00:04,740 I'm Jill O'Hearn with the Red Team Village. 5 00:00:04,740 --> 00:00:06,740 I just want to say welcome to our inaugural year. 6 00:00:06,740 --> 00:00:08,740 We're so happy to see so many of your faces here. 7 00:00:08,780 --> 00:00:16,240 Without any further ado, please let me introduce Joe Gray and also Adrian Sanabria to hear to talk with you about the Red Team Framework. 8 00:00:22,650 --> 00:00:25,390 I guess we'll get started with Adrian. 9 00:00:26,490 --> 00:00:28,870 All right, so I've done some pen testing. 10 00:00:28,910 --> 00:00:33,390 I was actually involved with the PTES with putting that together. 11 00:00:33,390 --> 00:00:38,170 He's one of a bajillion people that contributed to that. 12 00:00:39,010 --> 00:00:43,530 And part of the reason we're here is we never really finished that work. 13 00:00:43,530 --> 00:00:46,670 We had a lot of ideas that never got implemented. 14 00:00:46,670 --> 00:00:56,910 It was one of those things where when you've got so many people involved with it, once that momentum goes away, everybody moves on with their life and does different things. 15 00:00:56,910 --> 00:01:00,170 And there was still a lot of work to do there. 16 00:01:00,410 --> 00:01:08,110 I also worked on the Defender side and studied the industry. 17 00:01:08,110 --> 00:01:14,050 So I've really seen this industry and the job from all angles at this point. 18 00:01:15,390 --> 00:01:40,370 So about me, I'm a senior security architect, 2017 DerbyCon Social Engineering Capture the Flag winner, member of the Password Inspection Agency CTF team, third place last year and this year at NOLICON, second place this year besides Atlanta, currently under contract to write a social engineering and OSINT book with NoSearchPress tentatively titled Securing the Human Element. 19 00:01:42,410 --> 00:01:45,270 So we have all these frameworks. 20 00:01:45,270 --> 00:01:47,950 Why do we create a new framework? 21 00:01:48,270 --> 00:01:51,030 Well, I mean, why would you create a new framework? 22 00:01:51,970 --> 00:01:57,630 Yeah, I think the key for me is that a lot of stuff isn't working the way it should be working. 23 00:01:57,850 --> 00:02:01,170 You know, it's the way we do a pen test. 24 00:02:01,370 --> 00:02:04,670 You know, we hand off the results and we don't really talk to the client after that. 25 00:02:04,670 --> 00:02:09,750 You know, maybe we do a 30 minute chat with them just to make sure everything went okay. 26 00:02:09,750 --> 00:02:14,590 But I'd say nine times out of 10, they haven't read the report before we've done that. 27 00:02:14,590 --> 00:02:18,910 And there's really no improvement cycle with pen testing. 28 00:02:19,070 --> 00:02:27,090 And what we've seen happen over the years is that it, you know, ends up being the pen tester having a good time with customers vulnerabilities. 29 00:02:27,570 --> 00:02:31,310 And which led me to come up with the term vulnerbating. 30 00:02:31,570 --> 00:02:39,030 But I've actually seen pen testers request to extend the pen test just so they could get an exploit working. 31 00:02:39,030 --> 00:02:41,930 There's zero value for the customer in doing that. 32 00:02:42,030 --> 00:02:44,890 You know, just, you know, good enough. 33 00:02:44,890 --> 00:02:48,250 Yes, maybe somebody better than me could exploit it. 34 00:02:48,250 --> 00:02:49,090 Move on. 35 00:02:49,090 --> 00:02:54,950 You know, but I think that that lack of focus is part of the reason that we're doing this. 36 00:02:55,070 --> 00:02:57,810 Let's coin that term the technical Tarzan, by the way. 37 00:02:57,810 --> 00:02:58,850 Technical Tarzan? 38 00:02:58,850 --> 00:02:59,230 Yes. 39 00:02:59,230 --> 00:02:59,790 Yeah. 40 00:03:00,190 --> 00:03:09,270 So with this, we're going to use a few terms, red team, purple team, blue team, pen testing, vulnerability assessment, web app testing. 41 00:03:09,970 --> 00:03:16,610 And, you know, I did a series of talks last year called it's time to kill the pen test. 42 00:03:16,750 --> 00:03:19,890 You know, just I don't really think it's time to kill the pen test. 43 00:03:19,890 --> 00:03:24,390 But, you know, it was intended to start a conversation and get perk up people's ears. 44 00:03:24,770 --> 00:03:36,970 But in preparation for that, I asked people what these terms meant to them and got just about as many definitions as people that answered the question, especially with pen testing. 45 00:03:36,970 --> 00:03:42,870 You know, and I was shocked to find how many people when you say pen testing, they think web app assessment. 46 00:03:42,930 --> 00:03:57,530 When you say pen testing, they specifically think web apps, which if you're an older school guy like me, I turned 42 days ago, you know, you think network pen testing when I hear somebody say pen testing. 47 00:03:57,530 --> 00:04:03,170 You know, and web app is always something like a web app assessment is so far from a network pen test. 48 00:04:03,850 --> 00:04:09,950 Totally different tools, different skills, usually different people doing it, you know, if you if you do each one. 49 00:04:10,550 --> 00:04:17,290 So yeah, we've got a big gulf in just terminology and language and what people mean when they say words. 50 00:04:17,710 --> 00:04:18,450 Absolutely. 51 00:04:18,450 --> 00:04:23,410 And, you know, in this industry, especially with people giving talks, I'm not going to hate on other speakers. 52 00:04:23,430 --> 00:04:32,130 But, you know, oftentimes we run into people who I'm a red team or I'm a red teamer, but all they do is consecutive pen test, consecutive vulnerability assessment. 53 00:04:32,130 --> 00:04:46,330 They are using offensive red techniques, but it's not true red teaming in terms of it is more domain admin oriented and less objective oriented. 54 00:04:46,330 --> 00:04:50,110 So let's get into what's wrong with this dichotomy. 55 00:04:50,110 --> 00:04:50,410 Yeah. 56 00:04:50,410 --> 00:04:54,170 And what he just said, I mean, that's that's a good point there. 57 00:04:54,170 --> 00:04:57,170 You know, I had one client that was just so frustrated. 58 00:04:57,170 --> 00:05:03,530 They had gone with three different, very well-known pen testing companies and said, please hack our Linux stuff. 59 00:05:03,610 --> 00:05:05,110 Nobody goes after our Linux stuff. 60 00:05:05,110 --> 00:05:06,290 They just go after DA. 61 00:05:06,290 --> 00:05:08,810 They go after the Windows stuff. 62 00:05:09,150 --> 00:05:19,050 And they're just so frustrated they couldn't get anybody to go after it, you know, because in the pen testers mind or red teamers mind, like it's a win lose situation. 63 00:05:19,050 --> 00:05:19,850 You know, they want to win. 64 00:05:19,850 --> 00:05:21,890 It's like like playing a CTF. 65 00:05:21,890 --> 00:05:24,290 You know, you go after what gets you the most points. 66 00:05:24,370 --> 00:05:35,530 But in reality, you know, the customer wants something, you know, fairly, you know, I mean, yeah, if it's objective based and it's easier to go through Windows to get to the goal. 67 00:05:35,530 --> 00:05:36,170 Sure. 68 00:05:36,190 --> 00:05:42,050 You know, but when the client says, forget about the Windows stuff, go after Linux and you still go after DA. 69 00:05:42,050 --> 00:05:43,270 That's a problem. 70 00:05:44,450 --> 00:05:50,650 Just just for my curiosity, um, who here who in here is a pen tester? 71 00:05:50,650 --> 00:05:54,390 Or does some kind of some kind of pen to something that falls under that blanket? 72 00:05:55,130 --> 00:05:56,350 And defenders? 73 00:05:58,090 --> 00:05:58,750 Okay. 74 00:05:58,950 --> 00:06:01,390 And what else do we have in the room? 75 00:06:01,390 --> 00:06:04,770 Just trying to get an idea of like, compliance, compliance. 76 00:06:05,890 --> 00:06:06,770 Okay. 77 00:06:07,090 --> 00:06:08,210 Sorry, man. 78 00:06:10,110 --> 00:06:12,410 Hey, I mean, security is a spectator sport. 79 00:06:12,470 --> 00:06:15,210 Sometimes I we didn't intend to out you. 80 00:06:15,210 --> 00:06:18,610 I say that because my day job is actually a compliance job, too. 81 00:06:18,630 --> 00:06:20,310 So okay, cool. 82 00:06:20,430 --> 00:06:21,490 That's a good balance. 83 00:06:21,490 --> 00:06:23,630 I was almost that was like 6040. 84 00:06:24,750 --> 00:06:25,550 Absolutely. 85 00:06:27,050 --> 00:06:32,250 And I would just venture to say there's a lot of the reason behind that is there's no Mimi cats for Linux. 86 00:06:32,430 --> 00:06:32,910 Yeah. 87 00:06:32,910 --> 00:06:36,050 I mean, somebody should like make Mimi dogs or Mimi penguins. 88 00:06:36,750 --> 00:06:39,230 So I don't know if you can see this from the back of the room. 89 00:06:39,230 --> 00:06:48,870 But But generally, you know, part of the reason I put together that, that, that talk time to kill the pen test last year is I felt that the design was fairly flawed. 90 00:06:49,550 --> 00:06:57,970 Not only is it not an indicator of an organization's risk, you know, because I mean, especially a large bank or something like that. 91 00:06:58,110 --> 00:07:01,030 It's just best effort. 92 00:07:01,110 --> 00:07:05,290 You know, you get 20 hours, 60 hours, 80 hours to do the pen test. 93 00:07:05,290 --> 00:07:06,810 There's stuff you're going to touch. 94 00:07:06,810 --> 00:07:08,550 There's stuff you're not going to get to. 95 00:07:08,710 --> 00:07:22,210 I mean, just to interject, you can't get an understanding of the environment to actually make the informed decisions that a well informed, a well executed adversary would do. 96 00:07:22,210 --> 00:07:27,950 Because depending on which industry report you trust, you're going to have a dwell time of three months to seven years. 97 00:07:28,190 --> 00:07:34,610 So you're not going to find out enough in 40 hours to be able to do anything of that magnitude. 98 00:07:34,830 --> 00:07:41,070 Or the flip side of that is you have a better understanding after 20 hours on the network than the people that are running it. 99 00:07:41,330 --> 00:07:44,070 Which is a different issue. 100 00:07:45,310 --> 00:07:49,810 And not because they don't spend time with it, because they don't look at it from the perspective that you do. 101 00:07:49,810 --> 00:07:52,070 You know, they've never run Nmap on their own network. 102 00:07:52,070 --> 00:07:56,330 So, you know, you're finding stuff that's just never occurred to them to look for. 103 00:07:57,650 --> 00:07:59,570 Also doesn't simulate adversaries. 104 00:07:59,570 --> 00:08:05,410 You know, how often do we launch ransomware, simulated ransomware during a pentest? 105 00:08:05,410 --> 00:08:07,230 That's what's actually hitting people. 106 00:08:07,590 --> 00:08:13,570 You know, or sending BEC emails, you know, trying to convince them to move money from one account to another. 107 00:08:13,570 --> 00:08:18,170 We're not actually using the attacks that are impacting people when we do a pentest. 108 00:08:18,190 --> 00:08:27,910 Instead, like pentest has become its own kind of isolated thing and Red Team where, you know, we use a social engineering toolkit because it's there. 109 00:08:27,910 --> 00:08:34,850 You know, it's good, it works, but we're not approaching it from a standpoint of, okay, what would the bad guys actually do? 110 00:08:34,850 --> 00:08:41,130 Sometimes because those tools don't exist or it's just not easily feasible to do that during an assessment. 111 00:08:41,130 --> 00:08:46,190 Like running ransomware, which I think we actually absolutely should do. 112 00:08:46,190 --> 00:08:56,510 You know, I love that an NCC group client actually asked for them to make a neutered version of WannaCry and run it in their environment. 113 00:08:56,770 --> 00:09:00,910 I think that's something that everybody should be doing because it's what's hitting them. 114 00:09:00,910 --> 00:09:01,450 Absolutely. 115 00:09:01,450 --> 00:09:12,990 I mean, you can easily, in various languages, web-based like JavaScript or even a compiled language, execute functions that would actually copy the file and attempt to encrypt it. 116 00:09:12,990 --> 00:09:16,610 Because, let's be real, you don't need domain admin to wreak havoc. 117 00:09:16,610 --> 00:09:18,470 Can you send an email to yourself? 118 00:09:18,530 --> 00:09:20,770 Can you send an email with an attachment to yourself? 119 00:09:20,770 --> 00:09:22,170 Can you install something? 120 00:09:22,430 --> 00:09:24,350 Or, you know, can you encrypt a file? 121 00:09:24,350 --> 00:09:26,010 Can you change the file's permissions? 122 00:09:26,250 --> 00:09:29,730 Those are all things that could be far more devastating than DA. 123 00:09:30,110 --> 00:09:36,070 I mean, if I can get to your crown jewels and email them to myself, who cares if I'm DA? 124 00:09:36,070 --> 00:09:36,970 I've got everything I want. 125 00:09:36,970 --> 00:09:38,490 I'm going to cripple your business. 126 00:09:39,250 --> 00:09:47,490 And the other thing we have to understand about red teaming pen testing is that, as a business, logistics play a part. 127 00:09:47,630 --> 00:09:56,870 You know, if the guy who's really good at A, B, and C isn't available because he's doing another engagement somewhere else, you might get the junior pen tester. 128 00:09:56,870 --> 00:09:58,970 You might get somebody who's less experienced. 129 00:09:59,050 --> 00:10:02,010 Or you might have somebody doing a web app test for the first time. 130 00:10:02,010 --> 00:10:05,230 They're not going to tell the client that, but that's who's available. 131 00:10:05,270 --> 00:10:06,470 You know, there's a calendar. 132 00:10:06,470 --> 00:10:08,050 Everybody else was busy. 133 00:10:09,170 --> 00:10:13,050 You know, you're getting one person in their particular skill set. 134 00:10:13,050 --> 00:10:19,810 You know, so consistency is super difficult with this kind of thing when you have one or two people doing the assessment. 135 00:10:20,050 --> 00:10:22,430 And it tries to prove and disprove. 136 00:10:22,430 --> 00:10:25,010 What do I mean by persistent negative here? 137 00:10:25,750 --> 00:10:29,470 So it's the idea that you could do perfect on a pen test. 138 00:10:29,470 --> 00:10:34,570 Pen tester comes in, doesn't find anything, you're fully patched, and you can still get popped tomorrow. 139 00:10:34,630 --> 00:10:41,750 That organization can still have a breach tomorrow because this assessment's never going to cover 100% of things. 140 00:10:41,770 --> 00:10:47,570 You know, so it creates this false sense of accomplishment or security. 141 00:10:48,090 --> 00:10:53,650 And I mean, just to summarize the last two bullets, I mean, it's inefficient. 142 00:10:53,670 --> 00:10:59,330 Back to Adrian's point, you're only going to see a small segment of what could be done. 143 00:10:59,330 --> 00:11:04,550 You may be focusing on web app when someone's coming through and you've got RDP open. 144 00:11:05,050 --> 00:11:12,290 Or you don't implement trading and someone paid me and I'm phishing everybody or calling people. 145 00:11:12,290 --> 00:11:13,670 Something to that effect. 146 00:11:14,270 --> 00:11:15,710 I mean, it's not efficient. 147 00:11:15,710 --> 00:11:22,670 But at the same time, it doesn't make money for companies to admit that they're not the end-all be-all. 148 00:11:22,770 --> 00:11:37,830 I mean, for the first time, I went to the vendor floor of Black Hat this year, and I mean, it was all advanced, persistent, blockchain-enabled, AI, ML, military-grade, super-whammydine, synergistic garbage. 149 00:11:38,970 --> 00:11:48,970 So I mean, there's no money in admitting that you need a relationship with a feedback loop such as UDA that can actually take something like this into account. 150 00:11:48,970 --> 00:11:56,390 Look at true business objectives, things that could impact your business and actually confront the problem head-on. 151 00:11:56,390 --> 00:12:00,550 Because it's kind of like one of my complaints with the medical industry. 152 00:12:00,550 --> 00:12:02,750 We're all about symptom management. 153 00:12:03,170 --> 00:12:04,830 Here, take these pills. 154 00:12:04,850 --> 00:12:05,450 You're good. 155 00:12:05,450 --> 00:12:09,510 But the side effect of that pill is going to make you come back three months later, oh, you need this, you need this. 156 00:12:09,510 --> 00:12:10,650 And it's symptom management. 157 00:12:10,650 --> 00:12:13,210 It's not trying to find a cure for the problem. 158 00:12:13,890 --> 00:12:14,150 Yeah. 159 00:12:14,150 --> 00:12:24,710 And root cause, that's definitely... So I would like to say I've seen huge improvements in pen tests over the last five to eight years. 160 00:12:24,890 --> 00:12:30,810 You do see a lot more reports getting into the root cause of issues, which is often in people and processes. 161 00:12:31,270 --> 00:12:37,250 Whereas the traditional pen test report would just say missing this patch, you know, had that vulnerability. 162 00:12:37,450 --> 00:12:46,410 And the customer ends up fixing the symptoms of the problem rather than, you know, why was that patch not installed in a timely manner in the first place? 163 00:12:46,410 --> 00:12:49,310 Why were those vulnerabilities present and not discovered? 164 00:12:49,310 --> 00:12:55,350 So one of the things I, you know, the company I started, started experimenting with this a lot. 165 00:12:55,350 --> 00:12:58,950 It doesn't exist anymore since I've been acquiring stuff. 166 00:12:58,950 --> 00:12:59,810 Long story. 167 00:12:59,810 --> 00:13:10,050 But we said, you know, so speaking of inefficiency that, you know, two parts of a pen test that just don't have a lot of value for the customer. 168 00:13:10,270 --> 00:13:18,310 Running some kind of vulnerability scanner, you know, or whatever tools you run to gather the data in the first place to figure out what you're going to go after. 169 00:13:18,850 --> 00:13:21,910 That's a huge chunk of time that you're charging the customer for. 170 00:13:21,970 --> 00:13:26,050 And then on the back end of that writing the report, another huge chunk of time. 171 00:13:26,050 --> 00:13:29,350 So you get this little bit in the middle that's actually doing the pen test. 172 00:13:29,350 --> 00:13:40,030 And in some cases, I've seen that's as little as two to four hours of actual work on a 20 to 40 hour engagement that you can actually call pen testing. 173 00:13:40,230 --> 00:13:42,730 You know, so I started thinking, how can we expand that? 174 00:13:42,750 --> 00:13:48,730 How can we get rid of these two inefficient bits on the front end and on the back end? 175 00:13:48,770 --> 00:13:51,470 On the back end, the reporting, a lot of that's automation. 176 00:13:51,470 --> 00:13:57,630 A lot of companies are doing a great job on automating as much of the pen test writing as possible. 177 00:13:58,530 --> 00:14:06,030 You know, some even using portals, you know, where there's no Word doc, no PDF, but a, you know, a nice portal where the results go, you know, great work being done there. 178 00:14:06,030 --> 00:14:10,690 But on the front end, I thought, what if I just use your scan when I come in? 179 00:14:10,770 --> 00:14:12,330 You know, you're doing scans already. 180 00:14:12,570 --> 00:14:19,150 Why am I going to run Nessus, you know, and you pay me to run Nessus for eight hours when you've already got them completed. 181 00:14:19,210 --> 00:14:23,150 And 100% of the time, I found misconfigured scans. 182 00:14:23,190 --> 00:14:25,630 And I'm like, well, there's part of the problem right there. 183 00:14:25,630 --> 00:14:29,530 You know, I found in one case, they were scanning all their web servers. 184 00:14:29,770 --> 00:14:35,030 And somehow in how they copied and pasted the domain names into it. 185 00:14:35,370 --> 00:14:39,170 M was missing from.com on all but one of them. 186 00:14:39,170 --> 00:14:49,730 So they're getting just enough results that they thought the scan was working, but didn't notice that 13 out of the 14 websites weren't getting scanned at all because of a typo. 187 00:14:49,730 --> 00:14:52,870 There's a business in Columbia that's probably mad about that, too. 188 00:14:52,990 --> 00:14:54,770 Yeah, business in Columbia. 189 00:14:54,770 --> 00:14:55,730 Yeah, .co. 190 00:14:55,850 --> 00:14:58,150 But, but yeah, that's huge. 191 00:14:58,150 --> 00:15:02,990 Like, why are we checking to make sure that they they're running a scanner correctly in the first place? 192 00:15:02,990 --> 00:15:04,710 We're going to come in and do a red team. 193 00:15:04,710 --> 00:15:08,030 It's like kicking a baby in the face to teach it martial arts. 194 00:15:08,030 --> 00:15:10,290 Like it's, it's, it's pointless . 195 00:15:10,290 --> 00:15:11,590 That's not how you learned. 196 00:15:13,950 --> 00:15:20,690 So basically, in that, let's look at the contrast of pin testing versus red teaming. 197 00:15:20,970 --> 00:15:29,790 So the pwnage based part of a pin test, that's that whole technical Tarzan mentality of users are stupid, I'm super elite, I'm going to come in, I'm going to bulldoze you. 198 00:15:29,910 --> 00:15:33,510 And I'm going to give you a report and you're going to enjoy it. 199 00:15:33,510 --> 00:15:34,730 And that's about it. 200 00:15:35,370 --> 00:15:39,310 Pin test largely, as of late, have became a tool for compliance. 201 00:15:39,470 --> 00:15:46,270 The second that PCI mandated that pin tests are required, then vendors started salivating. 202 00:15:46,270 --> 00:15:48,670 And it's like, how do we commercialize this? 203 00:15:49,230 --> 00:15:56,710 So as a byproduct, I mean, you can go out there and find companies that are going to give you excellent, in depth, thorough pin tests. 204 00:15:56,990 --> 00:16:02,190 You're also going to find what John Strand refers to as the pin test puppy mills. 205 00:16:02,850 --> 00:16:03,730 And ultimately... 206 00:16:03,730 --> 00:16:04,890 It's a cash cow, why not? 207 00:16:04,890 --> 00:16:05,730 Well, exactly. 208 00:16:05,730 --> 00:16:12,770 So that's one of the big problems in changing the industry is, is, you know, people are going to buy it, regardless of how good you make it. 209 00:16:12,770 --> 00:16:16,810 So, you know, there's some of that why bother element to it. 210 00:16:16,890 --> 00:16:17,510 Absolutely. 211 00:16:17,510 --> 00:16:24,990 And I coined a term in that last bullet, the digital melatonin, to help management sleep better at night. 212 00:16:24,990 --> 00:16:28,150 We've had a pin test, we've had some really good hackers come in and try to get in. 213 00:16:28,370 --> 00:16:30,350 We stopped them in their tracks. 214 00:16:30,630 --> 00:16:38,930 Meanwhile, they're missing the APT unit coming in via their exposed RDP, because that port was not within scope in their statement of work. 215 00:16:39,870 --> 00:16:48,410 So with the red team, you're looking at the specific, a specific actor or a technique or an IOC based on something. 216 00:16:48,430 --> 00:17:02,790 And it's based on an objective, something like, I want to see how long it takes my SOC to detect someone coming into our, our enterprise from a web from the website, pivoting into finance. 217 00:17:02,810 --> 00:17:05,830 That is an objective you can measure with a red team engagement. 218 00:17:05,830 --> 00:17:11,090 How long it takes to get DA or if you get caught giving DA is not an objective. 219 00:17:11,350 --> 00:17:12,590 That's outcome. 220 00:17:12,590 --> 00:17:17,710 And that's a huge, that's been a huge missed opportunity for years that I see done a lot more. 221 00:17:17,710 --> 00:17:28,850 Unfortunately, and what I'm referring to is detection, like involve the incident responders involve the whole security team and seeing if they can detect the attacks that the pen testers are using. 222 00:17:28,950 --> 00:17:30,190 Huge opportunity. 223 00:17:30,190 --> 00:17:33,830 I mean, it's either that or wait till you actually get hacked and see how you do. 224 00:17:34,150 --> 00:17:40,230 You know, so if you're going to pay the money to do it, you know, have everyone try to detect what the pen testers are doing. 225 00:17:40,270 --> 00:17:48,650 Talk to the team beforehand and say, you know, maybe let's pause after each day, you tell us some of what we did, and we figure out what we missed. 226 00:17:48,670 --> 00:17:58,810 You know, and that's part of building this, this loop, the cycle where you're actually learning from the pen test instead of, oh, they found some vulnerabilities, we're going to patch those. 227 00:17:59,290 --> 00:18:08,190 Because those are vulnerabilities too, you know, when they're, when they're sweeping the network password spraying, and nobody notices, that's a problem. 228 00:18:08,190 --> 00:18:14,090 Like that should there should be alarms getting set off everywhere for that, you know, people should be freaking out. 229 00:18:15,490 --> 00:18:16,410 So absolutely. 230 00:18:16,410 --> 00:18:23,910 And measurement is, as you will see later in this presentation, measurement and detection is one of the key steps within our process. 231 00:18:23,910 --> 00:18:32,510 So we're going to go through a few myths that we've heard, through our travels and years of experience, and kind of dispel them. 232 00:18:32,510 --> 00:18:34,730 So you want to kick it off? 233 00:18:35,310 --> 00:18:37,210 We've probably covered a lot of these. 234 00:18:37,210 --> 00:18:39,790 Yeah, we've probably touched on a lot of these. 235 00:18:39,790 --> 00:18:42,470 So we might want to accelerate through this. 236 00:18:42,470 --> 00:18:49,720 But yeah, so so yeah, the digital melatonin, you know, we talked about, yeah, no, it's not an accurate measurement. 237 00:18:50,540 --> 00:18:51,640 It's a best effort. 238 00:18:51,760 --> 00:18:54,120 It's whatever the pen tester happened to touch. 239 00:18:54,320 --> 00:19:01,660 You know, so again, that's a good thing to do coming out of the pen test, you know, which IPs, you know, how much of the network were you able to cover? 240 00:19:01,660 --> 00:19:02,760 What did you touch? 241 00:19:02,760 --> 00:19:04,620 What did you look at really closely? 242 00:19:04,880 --> 00:19:18,500 And what did you just skip, you know, try and get some kind of good idea of how much your different assets were looked at, which ones are missed, and maybe the next time the pen testers come around, have them focus on the stuff that was just skimmed in the previous pen test. 243 00:19:20,760 --> 00:19:29,860 This myth, according to Adrian's colleague Haroun Mir, pen testers emulate other pen testers, they don't emulate adversaries. 244 00:19:29,980 --> 00:19:32,080 And that was from 44Con, correct? 245 00:19:32,160 --> 00:19:37,020 Yeah, that was the first keynote for 44Con in 2011. 246 00:19:37,020 --> 00:19:38,060 He said that. 247 00:19:38,180 --> 00:19:40,500 And here we are almost a decade later. 248 00:19:40,500 --> 00:19:41,640 It's a good talk. 249 00:19:41,640 --> 00:19:44,220 I suggest checking out the video on YouTube. 250 00:19:44,220 --> 00:19:46,840 It's called Pen Testing Considered Harmful. 251 00:19:46,940 --> 00:20:00,520 And the thing about this, before we move on to the next myth, this is a perfect example of why those of us working in the offensive space need to actually study defensive techniques and what other attackers are doing. 252 00:20:00,520 --> 00:20:15,720 So you need to know what your opponent, if you want to use the us versus them mentality, or the blue team or SOC, whomever, whatever you want to call them, I mean, anything, what are they looking for? 253 00:20:15,780 --> 00:20:18,540 They want you to emulate APT29. 254 00:20:18,540 --> 00:20:20,880 What are the IOCs associated with that? 255 00:20:20,880 --> 00:20:23,200 What are the TTPs? 256 00:20:23,320 --> 00:20:27,740 Because IOC, indicator of compromise, and TTP are two completely different things. 257 00:20:27,740 --> 00:20:33,660 IOC, that's kind of like, after, you know, you fall and break your arm and skin your arm. 258 00:20:33,660 --> 00:20:35,220 That's the bloodstain. 259 00:20:35,380 --> 00:20:40,620 The act of what caused you to fall, break your arm and bleed out on the sidewalk is the TTP. 260 00:20:41,460 --> 00:20:49,500 So understanding that you need to know, like from the social engineering perspective, what persona are you getting in to do this engagement? 261 00:20:50,080 --> 00:20:52,880 How many people in here have played with Infection Monkey? 262 00:20:53,720 --> 00:20:55,500 Free tool called Infection Monkey. 263 00:20:55,500 --> 00:20:56,100 Yeah. 264 00:20:56,460 --> 00:20:56,820 Yeah. 265 00:20:56,820 --> 00:21:02,340 So earlier I mentioned, you know, yeah, the bad guys are running ransomware through an organization. 266 00:21:02,340 --> 00:21:03,580 We should be too. 267 00:21:03,580 --> 00:21:06,780 Open source out there, brilliant, easy to set up. 268 00:21:06,780 --> 00:21:08,560 All the instructions are on GitHub. 269 00:21:08,560 --> 00:21:13,040 I think GuardaCore makes it and gives it away for free, MIT license. 270 00:21:13,380 --> 00:21:21,100 But Infection Monkey is basically neutered ransomware that you can just deploy and let it tear through an organization. 271 00:21:21,200 --> 00:21:24,040 You can give it a list of passwords to try. 272 00:21:24,200 --> 00:21:29,680 It'll try some common vulnerabilities that are out there to spread throughout the network. 273 00:21:29,680 --> 00:21:37,780 And it's the best thing I've seen to simulate an actual ransomware worm getting into an environment. 274 00:21:38,160 --> 00:21:47,080 And great, great tool for, obviously, you want to, you probably want to talk about the organization before using that in a pen test, you know, because that's not something you traditionally see in a pen test. 275 00:21:47,200 --> 00:21:54,980 But all the clients I ever talked to where I use that tool in an engagement, they're like, yeah, you know, their eyes open real wide, light bulb goes on. 276 00:21:55,120 --> 00:21:59,160 Yeah, I'd like to see what would happen if ransomware were in here without any negative results. 277 00:21:59,160 --> 00:21:59,980 Absolutely. 278 00:22:00,420 --> 00:22:03,460 So yeah, Infection Monkey is a good tool. 279 00:22:06,860 --> 00:22:12,860 So we've been talking kind of about why pen tests aren't as great as we are led to believe. 280 00:22:12,860 --> 00:22:15,800 But we're not going to say that they don't deserve a seat at the table. 281 00:22:15,800 --> 00:22:22,220 They do serve a purpose in life, if nothing else, for things like HIPAA, PCI and other compliance frameworks. 282 00:22:22,440 --> 00:22:29,760 Additionally, it could be a stepping stone in assessing your own maturity to be prepared for true red team assessment. 283 00:22:29,980 --> 00:22:35,860 If you can't withstand someone coming in and getting DA, then why are you going to go for something a little bit more advanced? 284 00:22:40,850 --> 00:22:49,770 So again, red teaming, pen testing, similar disciplines, not the same, you could say red methods. 285 00:22:50,290 --> 00:22:52,650 I really like this one, though. 286 00:22:53,150 --> 00:23:06,570 Black box testing, honestly, from my perspective, and based on insert industry reports here, based on that whole dwell time statistic we've talked about, there's no such thing as a black box internal test. 287 00:23:06,870 --> 00:23:08,090 They've got time to look around. 288 00:23:08,090 --> 00:23:15,670 They're able to check configurations, get PCAPs, maybe even log into your SIM, look at your diagrams. 289 00:23:15,710 --> 00:23:17,270 They're understanding what's going on. 290 00:23:17,270 --> 00:23:26,330 The only thing you should be considering in this perspective as a black box test, and maybe even not even a black box, probably gray box, would be your perimeter. 291 00:23:27,310 --> 00:23:35,610 Yeah, and I think it's important to explore options and present options to, you know, for the pen test team and for the buyers. 292 00:23:37,030 --> 00:23:39,690 You know, understand why they're having it. 293 00:23:39,690 --> 00:23:43,770 Like, do they want to scare the crap out of management so that they get budget for something? 294 00:23:43,830 --> 00:23:46,410 That's still a thing these days, unfortunately. 295 00:23:46,850 --> 00:23:55,830 Unfortunately, I call it the oh shit moment, getting to that point where key stakeholders believe that, yeah, there really are problems. 296 00:23:55,930 --> 00:24:00,190 You know, because there's still this feeling of, well, nothing's bad happened. 297 00:24:00,250 --> 00:24:01,990 Nothing bad has happened yet. 298 00:24:01,990 --> 00:24:05,750 So whatever I'm spending on security right now is fine. 299 00:24:07,770 --> 00:24:16,090 But yeah, for a lot of pen tests, that's still the purpose of why they're having it, is to try and convince management that yes, there is a problem. 300 00:24:16,090 --> 00:24:18,150 Yes, there are things we have to fix. 301 00:24:18,150 --> 00:24:19,650 You know, we need more tools. 302 00:24:19,650 --> 00:24:20,970 We need more people. 303 00:24:21,150 --> 00:24:25,530 And hopefully the pen test will help us accomplish that goal. 304 00:24:25,670 --> 00:24:27,810 So if that's their goal, then fine. 305 00:24:27,810 --> 00:24:34,330 You know, work with the client to help them achieve that goal, you know, as quickly and efficiently as possible. 306 00:24:34,330 --> 00:24:40,110 I actually put together a different kind of assessment I called a breach impact assessment. 307 00:24:40,310 --> 00:24:47,210 And I actually designed to do it for free as kind of a loss leader, just to show people that they have gaps in detection. 308 00:24:47,430 --> 00:24:59,170 But we'd run a bunch of automated tests that would simulate a post-breach activity or post-intrusion activity, lateral movement, exfiltration, stuff like that. 309 00:24:59,170 --> 00:25:01,410 A lot of that stuff can be totally automated. 310 00:25:01,570 --> 00:25:04,910 You can just sit down with them in a conference room and explain what you're doing. 311 00:25:04,910 --> 00:25:06,930 We'd go through each of 13 tests. 312 00:25:07,050 --> 00:25:11,670 Okay, you know, now what I'm doing is I'm pulling in zero-day malware off the web. 313 00:25:11,670 --> 00:25:15,790 So if you have anything looking at the wire for that kind of stuff, this is a test of that. 314 00:25:15,790 --> 00:25:19,130 Or I'm exfiltrating data out in clear text. 315 00:25:19,130 --> 00:25:21,350 If you have any kind of DLP, you should get that. 316 00:25:21,690 --> 00:25:26,270 And we had a bunch of gimmies in there, like just grabbing ICAR off the internet. 317 00:25:26,350 --> 00:25:28,730 Like somebody should get some kind of alert. 318 00:25:29,390 --> 00:25:31,750 Hitting the kill switch for WannaCry. 319 00:25:32,050 --> 00:25:33,930 Your MSSB should get an alert. 320 00:25:34,030 --> 00:25:40,310 100% of people's MSSBs failed all 13 of those tests every time we did this assessment. 321 00:25:40,590 --> 00:25:45,250 And it was very effective having everyone sitting in the same conference room. 322 00:25:45,250 --> 00:25:47,910 They're looking at their phones, waiting for it to blow up. 323 00:25:48,170 --> 00:25:53,230 You know, we're going through each of these tests, explaining what each of them does, and nothing on their phones. 324 00:25:53,230 --> 00:25:53,850 Nothing happens. 325 00:25:53,850 --> 00:25:55,570 It's very, very effective. 326 00:25:55,670 --> 00:26:04,630 And you accomplish that oh, shit moment in 60 to 90 minutes versus a whole pen test after somebody reads the report. 327 00:26:05,730 --> 00:26:09,210 So introducing the actual red teaming process. 328 00:26:09,990 --> 00:26:12,650 This is a ten step process. 329 00:26:13,030 --> 00:26:15,950 I couldn't think of two more steps to get it up to 12. 330 00:26:16,810 --> 00:26:21,790 Honestly, we could actually go down to eight because retesting and purple teaming would actually be optional. 331 00:26:22,210 --> 00:26:24,370 That lady Gaga song just hit my mind. 332 00:26:24,370 --> 00:26:25,430 The paparazzi. 333 00:26:25,730 --> 00:26:27,810 We were talking about that earlier. 334 00:26:28,230 --> 00:26:31,090 But anyway, so just to walk through. 335 00:26:31,970 --> 00:26:33,270 There we go. 336 00:26:33,270 --> 00:26:53,070 Just to briefly look through this, basically we're scoping, identification of the threat model, baseline security assessment, rescoping, learning phase, execution, measurement, debriefing, and then the optional retesting and or purple team assessment. 337 00:26:53,290 --> 00:27:04,950 So during scoping, we're going to talk about the objectives, define success for the client, talk about time, money, and then the number of systems involved. 338 00:27:04,950 --> 00:27:12,870 And of course, start the conversation about the rules of engagement and what kind of stuff do we want to utilize. 339 00:27:13,530 --> 00:27:23,010 The assumption with this would be that most customers that would be having this conversation would be in the mindset of I'm scoping this for a pen test. 340 00:27:23,010 --> 00:27:26,710 That's why there's a rescoping phase later where this information is refined. 341 00:27:27,150 --> 00:27:30,370 Adrian, do you have anything to add with the scoping? 342 00:27:30,370 --> 00:27:30,950 Okay. 343 00:27:30,950 --> 00:27:37,430 So with the threat model, from my perspective, I would say it's going to be based on the client base. 344 00:27:37,710 --> 00:27:40,530 Who is your customer doing business with? 345 00:27:40,530 --> 00:27:42,990 What sector or industry are they in? 346 00:27:42,990 --> 00:27:45,210 Are they affiliated with any governments? 347 00:27:45,350 --> 00:27:47,470 Where are they physically located? 348 00:27:47,770 --> 00:27:49,170 What are they doing? 349 00:27:49,190 --> 00:27:50,750 That's going to drive your threat model. 350 00:27:50,750 --> 00:27:58,310 If you're dealing with a financial services company, their target is going to be a lot different than, say, a manufacturing company. 351 00:27:58,590 --> 00:28:06,030 I think a lot of these stages as we go through these should involve the client more than traditionally they would have. 352 00:28:07,130 --> 00:28:14,330 From both sides, I think threat modeling should be informed by what's actually happened, what's going on, what could happen. 353 00:28:15,090 --> 00:28:19,630 And just really useful to walk through them with it and talk through them with it. 354 00:28:19,630 --> 00:28:32,430 Because especially on the pentesting, red teaming side, if you don't understand how their business works really well, you're probably not going to understand what they're worried about, what their own equivalent of threat modeling is. 355 00:28:32,550 --> 00:28:35,530 Especially if you get into manufacturing and stuff like that. 356 00:28:36,330 --> 00:28:40,510 I've learned a lot sitting down with clients and going through this kind of stuff. 357 00:28:40,510 --> 00:28:48,950 So it's hugely valuable, even if it's just a one-hour, two-hour, go-to-meeting, whiteboard session, something like that. 358 00:28:49,690 --> 00:28:52,230 So then we have to assess a baseline security model. 359 00:28:52,230 --> 00:28:55,090 This can be derived from the critical security controls. 360 00:28:55,470 --> 00:29:01,350 At a minimum, I would say to be tall enough to ride this ride, you probably at least need the top five. 361 00:29:02,030 --> 00:29:07,990 And also if you have the top five, it's estimated that you're more secure than approximately 65% of other companies in the world. 362 00:29:08,630 --> 00:29:12,970 Other things you could look at would be NIST special publication 853. 363 00:29:13,150 --> 00:29:16,470 But you also want to assess previous testing. 364 00:29:16,790 --> 00:29:18,690 What are you basing this off of? 365 00:29:18,690 --> 00:29:20,910 What's the vulnerability management posture? 366 00:29:20,910 --> 00:29:24,190 If you're not patching things, there's really no sense in doing this. 367 00:29:25,350 --> 00:29:27,150 And do you plan on monitoring? 368 00:29:27,150 --> 00:29:31,170 Do you plan on executing incident response with this? 369 00:29:31,910 --> 00:29:39,170 And if you don't have certain levels of maturity, then your money may be best fit elsewhere. 370 00:29:39,170 --> 00:29:49,030 I'd say 80-90% of the defender of the buyers for pen testing services are lacking the top five, all five of the top five. 371 00:29:49,650 --> 00:29:53,890 So you start to ask yourself, does it make sense to even do a pen test? 372 00:29:54,030 --> 00:29:55,850 And they'll tell you. 373 00:29:55,850 --> 00:30:00,250 Yeah, I mean, there's this stuff over here where we haven't even looked at yet. 374 00:30:00,250 --> 00:30:01,490 We're not patching it. 375 00:30:01,490 --> 00:30:02,950 We know it's deficient. 376 00:30:03,650 --> 00:30:06,370 They know where a lot of the problems are. 377 00:30:10,930 --> 00:30:18,970 So in a lot of cases, they just need help figuring out how to do some of that stuff. 378 00:30:19,210 --> 00:30:28,470 And there's not anything I see a lot of companies have on the menu of services that fits that. 379 00:30:28,470 --> 00:30:30,410 Like, help me do the top five. 380 00:30:30,690 --> 00:30:32,450 And then let's talk about a pen test. 381 00:30:32,450 --> 00:30:35,210 What is that assessment called? 382 00:30:35,230 --> 00:30:40,290 And there are companies that do this stuff, that just do this general consulting. 383 00:30:40,690 --> 00:30:54,110 And again, experimenting with my own company, what we came up with was a subscription service, where for different rates, you could get 4, 8, 16 hours of our time every month. 384 00:30:54,110 --> 00:30:59,070 We would do a baseline, we'd figure out which critical controls have been implemented. 385 00:30:59,070 --> 00:31:08,330 And basically the maturity of the company, how far down this path they were, and we create a roadmap for them. 386 00:31:08,470 --> 00:31:15,790 And we wouldn't really hard hold them to that roadmap, but we would check in with them once a month. 387 00:31:16,570 --> 00:31:23,250 Most of our clients ended up using probably 30 to 50% of those hours for incident response related stuff. 388 00:31:23,250 --> 00:31:35,030 We wouldn't fly out or anything, but we'd get on the phone with help them understand, walk them through some of the incident response stuff, build a plan for them if they didn't have an incident response plan. 389 00:31:35,230 --> 00:31:48,070 But basically, our clients found a lot more value in having somebody they could pick up the phone and call year round, than to take that same amount of money and blow it on a single pen test once every year. 390 00:31:48,410 --> 00:31:59,030 So for that 80 to 90% that has done none of the top five critical controls, maybe something like that makes a lot more sense than, you know, let's do a red team, let's do a pen test. 391 00:31:59,030 --> 00:32:01,290 But that's all people know to ask for. 392 00:32:01,290 --> 00:32:02,670 So that's what they reach for. 393 00:32:06,210 --> 00:32:15,890 So I was gonna say, like, if a 64 ounce Coke is the only thing on the menu, guess, you know, I mean, guess what people are gonna order? 394 00:32:16,450 --> 00:32:21,330 Maybe it's not the best thing for 100% people to order, but... 395 00:32:23,530 --> 00:32:24,330 Exactly. 396 00:32:24,330 --> 00:32:26,310 And we discussed scoping. 397 00:32:26,310 --> 00:32:27,330 So here's re-scoping. 398 00:32:27,330 --> 00:32:32,430 So we're refining the objectives, we're focusing the scope on the following. 399 00:32:32,430 --> 00:32:36,690 So we already kind of talked about time and money, but now we're talking about the execution timeframe. 400 00:32:36,690 --> 00:32:37,630 When do you want this done? 401 00:32:37,630 --> 00:32:42,050 Because a pen test, you can schedule that for next week. 402 00:32:42,050 --> 00:32:52,710 For this, because of the learning phase that's about to follow this, you can't, because there's a certain amount of stuff that you're going to need to know to properly emulate that dwell time. 403 00:32:52,910 --> 00:32:57,130 So you're going to need that, and you're going to need to refine the number of systems within your scope. 404 00:32:57,130 --> 00:33:01,510 There's a good chance it's either going to go up or down, it's probably not going to stay the same. 405 00:33:02,470 --> 00:33:06,190 Then from that, do they want you to explicitly do something? 406 00:33:06,510 --> 00:33:19,330 So are they, I don't like the idea of them confining and saying no social engineering or no web app or none of this, but if there's one thing in particular that really concerns them that they want you to highlight, it's good to get that out. 407 00:33:19,330 --> 00:33:38,670 And the other thing that changed with this is, depending on the sector, it may even be worthwhile to solicit input from one of the ISACs, so financial services, energy, retail, any of those, because you have group knowledge of what's going on across your entire industry. 408 00:33:41,870 --> 00:33:49,090 Yeah, ISACs are great, I wish they happened sooner, but if there is an ISAC for your industry, absolutely. 409 00:33:49,410 --> 00:33:55,810 A lot of them have threat intel that's specific just to your vertical, just to your market. 410 00:33:56,470 --> 00:34:03,090 And yeah, someone else is going through the same problem that you're having, they're having the same challenges. 411 00:34:03,590 --> 00:34:10,810 And I can't tell you how often I've seen amazing solutions to stuff, have you shared this with anybody? 412 00:34:10,810 --> 00:34:24,210 This is great, it's easy, it's quick, it's cheap, it works for your market, you don't have to hire additional people, like you should write a blog post or something about my company won't let me. 413 00:34:24,590 --> 00:34:36,370 And you end up running into that over and over and over where people have had to come to these eureka moments individually, whereas they could have benefited from more sharing. 414 00:34:36,510 --> 00:34:40,130 And ISACs kind of solve that problem, because most of them are private. 415 00:34:40,370 --> 00:34:46,110 You have to be in that vertical, you have to be vetted first, to be able to share and become members. 416 00:34:46,770 --> 00:34:48,370 So I like seeing that. 417 00:34:48,370 --> 00:34:49,650 And there's tons of them now. 418 00:34:49,650 --> 00:34:52,710 I think in the early days, there was just a financial ISAC. 419 00:34:53,350 --> 00:34:56,530 But yeah, there's at least a dozen now that I've seen. 420 00:34:56,530 --> 00:34:58,910 Yeah, it's like an aviation ISAC. 421 00:34:59,010 --> 00:35:01,950 I think there's a maritime ISAC. 422 00:35:02,610 --> 00:35:04,450 About as many as there are villages. 423 00:35:04,450 --> 00:35:07,310 I was just about to say, if there's a village for it, there's probably an ISAC. 424 00:35:07,310 --> 00:35:07,930 Yeah, probably. 425 00:35:07,930 --> 00:35:10,690 So after this, we'll set up the red team ISAC. 426 00:35:12,750 --> 00:35:14,130 That's not what that is. 427 00:35:15,150 --> 00:35:17,590 Totally kidding. 428 00:35:18,650 --> 00:35:20,990 I don't know what any of these acronyms mean. 429 00:35:21,410 --> 00:35:22,110 Right. 430 00:35:22,830 --> 00:35:25,550 Is that what they meant by that's not what any of this means? 431 00:35:26,990 --> 00:35:28,850 Did that refer to us? 432 00:35:28,890 --> 00:35:30,030 I guess so. 433 00:35:31,090 --> 00:35:36,570 So with the learning phase, like I said earlier, depending on which industry report, there's going to be dwell time. 434 00:35:36,570 --> 00:35:38,710 So there's ways you could do this. 435 00:35:38,710 --> 00:35:40,430 Get data from the SIM. 436 00:35:40,430 --> 00:35:41,710 It could be data dumped out. 437 00:35:41,710 --> 00:35:46,870 It could be just giving you access to the SIM as the red team that's actually going to engage in this. 438 00:35:46,870 --> 00:35:49,890 That way you can understand what's considered normal. 439 00:35:49,910 --> 00:35:58,530 Because honestly, depending on how detectable you're trying to be, you need some concept of normalcy for your target organization. 440 00:35:58,710 --> 00:36:01,510 So you might want to look at previous pen test reports. 441 00:36:01,610 --> 00:36:03,950 Might be worth something, might not. 442 00:36:04,730 --> 00:36:16,910 Either way, packet captures, NetFlow, other monitoring tools, get a feel for what's going on because the adversaries may not be using the same exact tools, but that's ultimately what they're trying to do. 443 00:36:16,910 --> 00:36:18,490 They are trying to learn. 444 00:36:18,970 --> 00:36:30,690 Score diagrams, get configurations, interview the administrators, the security administrators, the network administrators, system administrators, HR, anybody you can interview. 445 00:36:31,690 --> 00:36:46,710 Yeah, so this was a big thing when we set up that subscription service with clients that we did, is we would just go through configs and just all day long, every day, any time we looked at a config, we found serious, serious issues. 446 00:36:47,370 --> 00:36:53,930 And, you know, just like forehead slapping, like, no wonder, you know, you're going to get hacked tomorrow. 447 00:36:53,930 --> 00:36:57,650 Like, you know, it's worth going through. 448 00:36:59,090 --> 00:37:00,770 What's a deny all? 449 00:37:02,190 --> 00:37:06,610 So with execution, we're not going to get into telling you how to execute things. 450 00:37:06,910 --> 00:37:10,770 You already have the things on the table for you. 451 00:37:10,770 --> 00:37:16,790 Here's three examples of what you could use for technical frameworks to actually perform the execution. 452 00:37:17,530 --> 00:37:21,150 We saw this as an opportunity to avoid reinventing the wheel. 453 00:37:21,950 --> 00:37:24,270 We're just trying to kind of refine the tire. 454 00:37:24,650 --> 00:37:29,950 Yeah, the tire or the car itself to help it go a little bit more smoothly, maybe the shock absorber. 455 00:37:30,970 --> 00:37:33,490 I'm not mechanically inclined, I apologize, but basically... 456 00:37:34,690 --> 00:37:36,350 No two race tracks are the same. 457 00:37:36,350 --> 00:37:38,550 You're going to set up camber and stuff like that differently. 458 00:37:38,550 --> 00:37:40,890 No two companies are the same. 459 00:37:40,890 --> 00:37:45,750 So it's okay if no two pentests or red team engagements are the same. 460 00:37:45,750 --> 00:37:47,330 You know, it's a custom service. 461 00:37:47,330 --> 00:37:48,250 It should be. 462 00:37:48,250 --> 00:37:50,090 That's why we have all these APT numbers. 463 00:37:50,090 --> 00:37:51,250 Because they're not the same. 464 00:37:51,250 --> 00:37:51,870 Yeah. 465 00:37:52,270 --> 00:37:57,330 So this is probably the most important slide of the entire presentation. 466 00:37:58,190 --> 00:38:05,130 This is getting past that whole technical Tarzan beating your chest because you're so dumb. 467 00:38:06,630 --> 00:38:08,990 Great, you got domain admin, you got access. 468 00:38:08,990 --> 00:38:10,570 What does that mean to the business? 469 00:38:11,390 --> 00:38:12,590 They didn't detect you. 470 00:38:12,590 --> 00:38:13,030 Okay. 471 00:38:13,030 --> 00:38:15,170 Is it because you're so super stealthy? 472 00:38:15,170 --> 00:38:17,970 Or is it because they don't have the capabilities? 473 00:38:18,130 --> 00:38:19,670 Kicking a baby in the face. 474 00:38:19,670 --> 00:38:20,090 Precisely. 475 00:38:20,090 --> 00:38:21,370 You shouldn't be proud of that. 476 00:38:21,570 --> 00:38:22,370 Exactly. 477 00:38:22,590 --> 00:38:26,770 So these are the specific data points that I would recommend. 478 00:38:26,850 --> 00:38:28,190 So time to detect. 479 00:38:28,250 --> 00:38:30,150 I'll share a quick anecdote with you. 480 00:38:30,150 --> 00:38:33,110 I was doing a phishing engagement against a grocery store chain. 481 00:38:34,050 --> 00:38:36,910 When I do mine, I don't use automated tools when I phish. 482 00:38:36,910 --> 00:38:39,730 I send them out in batches of 6 to 10. 483 00:38:40,890 --> 00:38:44,930 Come to a social engineering talk of mine at some point, I'll tell you more about how I actually do it. 484 00:38:45,070 --> 00:38:48,890 The TLDR is about halfway through, I got blocked. 485 00:38:49,250 --> 00:38:54,170 At the time that I got blocked, I had a 6% success rate on scoring creds. 486 00:38:55,250 --> 00:38:58,410 Well, I checked the stats the next day. 487 00:38:58,410 --> 00:39:00,350 I was like, it's going to be bad again. 488 00:39:01,170 --> 00:39:03,450 Went from 6% to 42%. 489 00:39:03,450 --> 00:39:11,710 Because the action taken by the network administrator who blocked me was to forward the email and say, do not click this link. 490 00:39:13,230 --> 00:39:15,350 With the link still in the email. 491 00:39:15,350 --> 00:39:16,050 Correct. 492 00:39:16,350 --> 00:39:19,210 And not blocking it going out. 493 00:39:19,510 --> 00:39:25,170 So the time to detect for them, I mean, was about two and a half hours. 494 00:39:25,570 --> 00:39:26,150 Okay. 495 00:39:26,150 --> 00:39:29,630 It could be faster, it could be far worse. 496 00:39:30,450 --> 00:39:32,610 And that's not an isolated case. 497 00:39:32,610 --> 00:39:38,090 He actually, he told me this story when we were eating lunch, like an hour, two hours ago. 498 00:39:38,090 --> 00:39:42,350 And I have the same exact story, except it's even worse than that. 499 00:39:42,350 --> 00:39:44,770 It's the network administrator shared it. 500 00:39:44,770 --> 00:39:59,730 And seven forwards later, you know, this was a company that hired out, you know, basically, you know, EOD type company, hiring out, people do shady things and shady companies and, you know, stuff like that. 501 00:40:00,130 --> 00:40:04,270 Somebody in Iraq opens it and puts in his password twice and we get it. 502 00:40:04,270 --> 00:40:14,350 You know, he doesn't have a great grasp of English, you know, and forwarding the weaponized emails is, yeah. 503 00:40:14,390 --> 00:40:17,450 And that's going to happen over and over and over again. 504 00:40:17,450 --> 00:40:17,790 Right. 505 00:40:17,790 --> 00:40:25,450 So we also want to look at the quality of the report, the accuracy of the report, and then the efficacy of the actions taken. 506 00:40:25,450 --> 00:40:35,290 Because honestly, forwarding an email with a link in it without blocking the link or doing some sort of mitigation, it's not really an efficient thing to do. 507 00:40:35,330 --> 00:40:37,750 And for them, it didn't work out in their favor. 508 00:40:37,750 --> 00:40:40,570 So these are all things to be graded on. 509 00:40:40,970 --> 00:40:45,710 And then finally, we end up in the debriefing phase that I'll let Adrian address. 510 00:40:46,970 --> 00:40:47,730 Sure. 511 00:40:47,730 --> 00:40:48,250 Yeah. 512 00:40:50,770 --> 00:40:51,250 Yeah. 513 00:40:51,390 --> 00:40:57,510 I mean, the thing to remember here is, you know, a lot of this should get covered along the way. 514 00:40:57,510 --> 00:40:59,510 You know, I think there should be more touch points. 515 00:40:59,950 --> 00:41:03,670 You know, we talked about doing the threat mapping with them. 516 00:41:04,950 --> 00:41:09,150 You know, some customers, at the end of each day, they might want a debriefing. 517 00:41:09,150 --> 00:41:10,990 You know, that's not a bad idea. 518 00:41:11,690 --> 00:41:14,590 Things are going to phase in the pentester's mind as well. 519 00:41:15,350 --> 00:41:18,390 But definitely, this is the most important part. 520 00:41:18,390 --> 00:41:23,470 And honestly, when I was, for all my years of pentesting, this is the part most often skipped. 521 00:41:23,730 --> 00:41:28,530 I would often run into clients at conferences and things like that and say, oh, hey, how are things going? 522 00:41:28,530 --> 00:41:32,870 How's it, you know, what happened after we dropped off the report? 523 00:41:32,870 --> 00:41:34,630 We haven't even opened it yet. 524 00:41:34,830 --> 00:41:36,130 This is six months later. 525 00:41:36,130 --> 00:41:40,650 They, you know, other things going on, you handed them a 64 page report. 526 00:41:40,650 --> 00:41:42,490 Of course, they haven't opened it. 527 00:41:42,610 --> 00:41:44,290 It's a 64 page report. 528 00:41:44,290 --> 00:41:46,590 You know, like half of that are screenshots. 529 00:41:47,070 --> 00:41:49,210 You know, you got to make it consumable. 530 00:41:49,210 --> 00:41:51,050 You got to make it actionable. 531 00:41:52,090 --> 00:41:56,550 And a lot of that, you know, I think getting into the detection stuff helps a lot. 532 00:41:56,570 --> 00:41:59,290 Like, how could you have caught us? 533 00:41:59,290 --> 00:42:04,990 Like, what's the obvious things that you could have done that would have busted us along the way? 534 00:42:05,230 --> 00:42:08,170 You know, so this is, I disagree with you. 535 00:42:08,170 --> 00:42:10,210 I think this is the most important slide. 536 00:42:10,910 --> 00:42:14,650 Maybe we can just compromise and say the whole thing's important. 537 00:42:15,510 --> 00:42:19,990 No, it's just... Stay tuned after this. 538 00:42:19,990 --> 00:42:21,810 We're going to have an MMA match in the hallway. 539 00:42:23,710 --> 00:42:29,050 But anyway, we're going to get the statistics from that measurement phase and then the recommended actions. 540 00:42:29,050 --> 00:42:36,370 Because you're emulating an actual adversary, you don't have to go and research everything about how to detect this. 541 00:42:36,530 --> 00:42:42,050 Because you're reading this from a threat intelligence feed to find out, you know, what's going on, the IOCs and the TTPs. 542 00:42:42,050 --> 00:42:46,350 You can just reference to that and say, okay, well, here's what you can do to remediate that. 543 00:42:46,350 --> 00:42:51,190 Because undoubtedly some vendor has already written a blog post to try to be first to market with it. 544 00:42:51,910 --> 00:42:55,690 And then the other thing is, I like the idea of a qualitative score. 545 00:42:55,930 --> 00:42:57,310 Low, medium, high. 546 00:42:57,630 --> 00:43:00,790 I wouldn't say yes or no, because it's not a binary thing. 547 00:43:00,870 --> 00:43:08,550 I would say that with the whole actions taken piece that we used as an anecdote, that would probably be like a low or an unsatisfactory. 548 00:43:08,710 --> 00:43:12,630 But there's no sense in trying to establish an actual numeric value to it. 549 00:43:12,630 --> 00:43:14,630 Stay very qualitative in nature. 550 00:43:14,630 --> 00:43:17,970 So high, medium, low, severe, critical, whatever term. 551 00:43:18,190 --> 00:43:22,590 You could go with the traffic light protocol version, red, green, yellow, blue, whatever. 552 00:43:23,710 --> 00:43:26,370 And then here come the optional steps as well. 553 00:43:26,430 --> 00:43:30,390 So you can let them retrain, adjust, and retry. 554 00:43:31,390 --> 00:43:36,610 You're going to have to be sneakier about the way you retry, because you're still going to have the information. 555 00:43:36,730 --> 00:43:39,670 You might need to do another bout of the learning phase. 556 00:43:40,170 --> 00:43:46,410 But they're going to be watching for you, so you might want to catch them off guard at some point in some way, shape, or form. 557 00:43:48,030 --> 00:43:54,290 Yeah, so I'm going to disagree a little bit on that last slide with the qualitative stuff. 558 00:43:54,290 --> 00:44:10,270 So with the breach impact report that we did, it wasn't comprehensive, but these 13 specific tests that we would do that simulated attacker actions that they should be detecting, we tell them how many... each of them was pass-fail. 559 00:44:10,270 --> 00:44:11,970 Either you saw it or you didn't. 560 00:44:11,970 --> 00:44:14,010 And they're all things that you should have seen. 561 00:44:14,470 --> 00:44:15,970 Does that cover everything? 562 00:44:15,970 --> 00:44:16,570 No. 563 00:44:16,570 --> 00:44:17,710 But these are... 564 00:44:17,710 --> 00:44:24,830 all 13 of these tests are common things that you should be able to see, that you are going to see from adversaries. 565 00:44:25,090 --> 00:44:34,770 And that's one of the core problems, you know, we probably should have mentioned up front with pen testing, is it's very, very focused on the preventative and not the detective. 566 00:44:35,070 --> 00:44:41,630 And that kind of shifts the mindset to just spending money, time, and effort on that preventative layer. 567 00:44:41,650 --> 00:44:46,070 But then once somebody gets in, you haven't trained that at all. 568 00:44:46,070 --> 00:44:50,150 You haven't tested for that at all, and you're not prepared for that at all. 569 00:44:50,150 --> 00:44:56,610 So that's why, you know, in my opinion, you know, so many of the public breaches we see are handled so badly. 570 00:44:56,610 --> 00:45:09,610 They haven't thought about PR, crisis communications, how to talk about it, how to respond to it, you know, and the initial reactions, you know, are generally the wrong things to do. 571 00:45:09,610 --> 00:45:14,310 Try and hide it, pretend that it didn't happen, that kind of stuff, and it just exacerbates the problem. 572 00:45:14,850 --> 00:45:18,130 So yeah, you know, you got to think about it. 573 00:45:18,130 --> 00:45:26,010 Some of the stuff I think you can score, but you know, if it's something that's more subjective, you know, like how well do you patch? 574 00:45:26,130 --> 00:45:27,930 You know, that's never going to be pass-fail. 575 00:45:27,930 --> 00:45:29,690 You're always going to miss patches. 576 00:45:30,010 --> 00:45:33,570 You know, I think what gets important is how do you handle when a patch is missed? 577 00:45:33,770 --> 00:45:37,010 You know, do you have a plan for mitigations for that? 578 00:45:37,210 --> 00:45:44,090 And absolutely, you should be building to be able to defend an enterprise with unpatched stuff, because it's never going to be 100%. 579 00:45:44,090 --> 00:45:54,750 Which leads us to purple teaming, which basically would be a red team engagement that may have the red team and the blue team in communication with each other or even in the same room. 580 00:45:55,050 --> 00:45:58,310 In the past with red team engagements, I talked to Joe Vest. 581 00:45:58,310 --> 00:46:01,450 He was the technical editor of Red Team Field Manual. 582 00:46:01,450 --> 00:46:07,970 And what him and his team did minutes before they were bought by Spectre is they would start and they would do something. 583 00:46:07,970 --> 00:46:12,330 And as they continued through their engagement, they would get louder and louder, creating noise. 584 00:46:12,330 --> 00:46:18,050 And then finally, if the client didn't recognize it, they would just play Thunderstruck through their speakers. 585 00:46:18,670 --> 00:46:20,270 I'm personally a fan of Rickrolling. 586 00:46:20,270 --> 00:46:23,010 And I was recently just introduced to the Klingon Rickroll. 587 00:46:23,590 --> 00:46:25,310 I like that even better. 588 00:46:26,930 --> 00:46:30,430 Because you know, Rick Astley will loan you any of his Pixar movies, but one. 589 00:46:32,190 --> 00:46:33,250 Go ahead. 590 00:46:33,510 --> 00:46:50,650 And another reason that we this is another reason that we did the, you know, the subscription, the monthly subscription, you know, because, you know, imagine if you're only improving your security based on an annual pen test, versus, you know, if you're sitting in the same room with somebody else, 591 00:46:50,650 --> 00:46:54,150 and you've got these smaller constant iterations. 592 00:46:54,230 --> 00:47:03,950 So I mean, we, I think, ultimately, we need the equivalent of what DevOps does for building applications and writing code. 593 00:47:04,170 --> 00:47:18,550 But for security, you know, if we're improving every week, couple times a week, couple times a month, if the attacker and the defender are sitting in the same conference room, you know, and the moment the attacker gets some kind of success, the defender's learning from it, 594 00:47:18,550 --> 00:47:19,850 and they're fixing it. 595 00:47:19,990 --> 00:47:23,490 And that actually happened with clients when we did that service. 596 00:47:23,670 --> 00:47:39,750 You know, they would, we'd be going through configs and fixing it in real time with them on a, you know, just sharing their screen on a go to meeting, something as simple and humble as that did a lot more than an annual pen test did for them. 597 00:47:40,630 --> 00:47:42,950 So here are some supporting frameworks. 598 00:47:42,950 --> 00:47:43,750 I mentioned them earlier. 599 00:47:43,750 --> 00:47:45,330 These are just links to them. 600 00:47:45,830 --> 00:47:51,830 The bottom one, if you can't see it very well, it's from OWASP. 601 00:47:52,950 --> 00:47:55,250 I'm sure we're going to share the slides, right? 602 00:47:55,290 --> 00:47:56,210 Absolutely. 603 00:47:58,110 --> 00:48:03,630 So when we put our Twitter handles up on that slide, just make sure you take note of it because that's where it will end up. 604 00:48:04,450 --> 00:48:12,050 My upcoming speaking engagements, I'll be at DefendCon in Seattle, Hacker Halted, which I have a coupon code for anyone who wants to come for free. 605 00:48:12,410 --> 00:48:13,610 You can do it. 606 00:48:13,610 --> 00:48:18,130 And then I'll be doing a talk and a two-hour OSINT workshop at the Wild West Hacking Fest. 607 00:48:19,370 --> 00:48:22,650 The only thing I have coming up right now is Virus Bulletin. 608 00:48:22,650 --> 00:48:34,010 Me and Haroon Mir are doing the closing keynote, and it's going to be kind of a takedown of shady marketing stuff, like awards that vendors buy, stuff like that. 609 00:48:35,130 --> 00:48:38,310 Sorry in advance for any pain that causes. 610 00:48:40,250 --> 00:48:43,770 So I'm offering my OSINT training through the OSINTion. 611 00:48:43,770 --> 00:48:52,570 I've got some upcoming training opportunities I'm going to do in person, probably right before Derby, probably right before Hacker Halted. 612 00:48:52,570 --> 00:48:55,690 I'm trying to get to Dallas, Philly, and Boston this year. 613 00:48:55,690 --> 00:49:02,570 My format is it's a one-day OSINT course followed by a four-hour CTF targeting local businesses. 614 00:49:02,570 --> 00:49:04,670 And I don't mean like your local gas station. 615 00:49:04,670 --> 00:49:13,530 I'm talking like OSINT against nearby Fortune 500 companies or publicly traded companies that have enough of a surface that you can collect stuff. 616 00:49:13,530 --> 00:49:15,490 I've got stuff coming online. 617 00:49:15,690 --> 00:49:19,030 Here's that coupon code to Hacker Halted if you want to come in for free. 618 00:49:19,670 --> 00:49:21,350 I like free stuff. 619 00:49:22,570 --> 00:49:30,250 The keynotes this year, we have Casey Ellis of Bug Crowd, Paul Asadorian from Security Weekly, Jenny Radcliffe from the United Kingdom. 620 00:49:30,250 --> 00:49:37,430 Other speakers include Jeff Mann, Ginsberg, myself, Marcel Lee. 621 00:49:37,430 --> 00:49:39,070 You didn't submit this year, right? 622 00:49:39,070 --> 00:49:39,910 Or did you? 623 00:49:39,910 --> 00:49:40,630 I don't remember. 624 00:49:40,630 --> 00:49:41,030 I did. 625 00:49:41,030 --> 00:49:42,170 It didn't get accepted. 626 00:49:42,170 --> 00:49:43,490 I'm so sorry. 627 00:49:45,590 --> 00:49:46,550 Oops. 628 00:49:47,430 --> 00:49:49,550 That must have been that meeting I missed. 629 00:49:49,710 --> 00:49:51,130 Awkward moment right here. 630 00:49:52,670 --> 00:49:54,530 I told you to submit. 631 00:49:55,130 --> 00:49:56,670 I tell everybody to submit. 632 00:49:57,130 --> 00:50:00,450 CFP will open up for it again in probably like I think February. 633 00:50:00,810 --> 00:50:06,050 The Recon NG training, I'm offering two, two-hour Recon NG sessions. 634 00:50:06,050 --> 00:50:08,150 It's the version 5.0, the new one. 635 00:50:09,090 --> 00:50:10,890 You'll need some API keys. 636 00:50:10,890 --> 00:50:14,250 So sign up sooner rather than later if you want to do it. 637 00:50:14,250 --> 00:50:15,930 Use those coupon codes. 638 00:50:16,410 --> 00:50:18,590 I'm going to get you in cheaper. 639 00:50:18,670 --> 00:50:23,470 And I'll get an email to you telling you which API keys you're going to need. 640 00:50:23,690 --> 00:50:27,110 The cool thing is I'm not going to tell you to pay for anything. 641 00:50:27,330 --> 00:50:32,910 The only optional API key that costs anything is have I been pwned, and that's $3.50 a month. 642 00:50:32,970 --> 00:50:34,310 So any questions? 643 00:50:36,450 --> 00:50:37,010 Yes? 644 00:50:37,850 --> 00:50:55,470 What role do you feel white carding has in Red Team engagements, like being given access to certain parts within a network to more efficiently use the time that you have during an assessment? 645 00:50:55,590 --> 00:50:56,750 Do you want to handle it? 646 00:50:56,750 --> 00:50:59,690 Yeah, no, I think that's huge. 647 00:50:59,690 --> 00:51:10,610 I think that this whole assumption of pen test not being legit, if you have to earn every step of access, like I said before, it's, you know, an 80-hour engagement. 648 00:51:10,610 --> 00:51:12,650 It's a 20-hour engagement. 649 00:51:12,930 --> 00:51:19,110 You know, I think you're increasing the value when you make certain assumptions, like let's assume you've gotten in. 650 00:51:19,110 --> 00:51:21,010 Let's give you an account. 651 00:51:21,010 --> 00:51:27,370 Let's, you know, we think somebody could get that far, so why don't we start you off that far? 652 00:51:27,370 --> 00:51:28,030 Yeah, absolutely. 653 00:51:28,030 --> 00:51:33,410 And that's where that breach impact assessment with those automated attacks we did came in so valuable. 654 00:51:34,030 --> 00:51:41,230 Let's assume the worst has already happened, and, you know, could you actually detect it and respond to it in any kind of reasonable amount of time? 655 00:51:41,230 --> 00:51:57,050 Yeah, yeah, so no, I think that's super important, and we need to get over, no, let's make it super legit and like, you know, because if you want value out of that, all of a sudden you're in like 30-40 thousand dollar range to have enough time to do that properly. 656 00:51:57,230 --> 00:52:00,110 We got a question over here, a couple of them actually, a few. 657 00:52:00,230 --> 00:52:01,450 We got a question pod. 658 00:52:04,810 --> 00:52:14,630 So one thing I've noted in the environments I've worked in is that nobody wants to be down or have systems down or impacted that people are actively working on. 659 00:52:14,630 --> 00:52:24,230 Do you think there's any benefit to adding systems that are capable of being targeted and actually locked down or infected that are not going to impact their daily operations? 660 00:52:26,730 --> 00:52:28,330 Did someone say they couldn't hear? 661 00:52:28,530 --> 00:52:39,030 Okay, so the question was, is there any value added to testing systems that should not be taken down? 662 00:52:40,170 --> 00:52:41,490 I'm conflicted with this. 663 00:52:42,230 --> 00:52:56,350 Mostly, so I'm saying like, for example, if in an enterprise you were to add systems in each of the different work areas, so for example, if you have a system in the SOC that you can actually lock down and run somewhere, same thing like the HR departments or any of the other divisions, 664 00:52:56,350 --> 00:53:00,710 that would actually allow the teams to... Setting up simulations, in other words. 665 00:53:00,870 --> 00:53:06,390 That actually is something that you can employ against and not have to worry about taking down everything else. 666 00:53:07,110 --> 00:53:11,150 Right, but you're setting up systems that are non-production, right? 667 00:53:11,150 --> 00:53:13,270 Not production, but standard configuration. 668 00:53:13,270 --> 00:53:15,210 But standard configuration, yeah. 669 00:53:15,210 --> 00:53:17,470 I personally like that idea. 670 00:53:17,870 --> 00:53:24,570 My one flaw that I'm going to see with standard configuration, most companies don't have one of those. 671 00:53:24,570 --> 00:53:26,810 Well, no, he means the same as the production. 672 00:53:26,810 --> 00:53:27,650 I agree. 673 00:53:29,890 --> 00:53:31,330 Fundamentally, I agree. 674 00:53:31,330 --> 00:53:37,290 So this is the whole concept behind cyber ranges. 675 00:53:37,490 --> 00:53:44,610 The whole idea behind the cyber range is that you make a copy of production that you can do anything you want to. 676 00:53:44,610 --> 00:53:47,970 Like you can do proof concepts in there. 677 00:53:47,970 --> 00:53:51,730 You can test out new products in there. 678 00:53:51,730 --> 00:53:55,030 You can do anything you want in there. 679 00:53:55,030 --> 00:54:00,050 It's non-production, but it's a very close copy of what production looks like. 680 00:54:00,050 --> 00:54:09,250 Obviously, once you get into OT and you get into like SCADA stuff and stuff you can't just throw into a VM, that gets a little bit more difficult. 681 00:54:09,850 --> 00:54:16,630 But absolutely, as opposed to leaving it untested, yeah, yeah, no, absolutely, you should do that. 682 00:54:16,630 --> 00:54:18,590 Yeah, there's a lot of value in that 683 00:54:22,070 --> 00:54:22,510 . 684 00:54:22,910 --> 00:54:24,930 Actually, I really like the framework. 685 00:54:24,950 --> 00:54:36,350 Now, is there any reason why the framework shouldn't be applied to more than just rate teaming, but include, for example, any customer's reaction to pen testing, compliance check, and whatever? 686 00:54:39,450 --> 00:54:48,690 Yeah, I mean, forget the word red team. 687 00:54:48,690 --> 00:54:51,590 And there is a document that we're working on. 688 00:54:51,870 --> 00:54:55,050 But yeah, it applies to more than just red teaming. 689 00:54:55,050 --> 00:55:01,330 And it's meant to be an a la carte menu where you can pick and choose and customize something out of that. 690 00:55:01,330 --> 00:55:08,670 So yeah, if you can make that apply to compliance, and absolutely it does apply to a normal pen test, then yeah. 691 00:55:08,870 --> 00:55:14,110 And that feedback loop does need to be better defined. 692 00:55:14,110 --> 00:55:15,150 Yeah, I agree. 693 00:55:19,280 --> 00:55:29,040 I was wondering, based on your experience for the enterprises, how often do you think that this rate teaming activity should be performed? 694 00:55:29,040 --> 00:55:32,200 And how long, ideally, will it take? 695 00:55:33,000 --> 00:55:34,000 Yes. 696 00:55:36,560 --> 00:55:42,720 Yeah, I mean, it depends on how much you're going to cover, how much you hope to cover with the assessment. 697 00:55:42,720 --> 00:55:46,080 I mean, so that's a huge problem. 698 00:55:46,080 --> 00:55:55,140 And that's, you know, scoping, properly doing scoping, and somehow calculating the number of hours that you need to do it. 699 00:55:56,960 --> 00:55:58,040 It's pretty tough. 700 00:55:58,040 --> 00:56:00,200 I don't think there's an easy answer to that. 701 00:56:00,200 --> 00:56:00,680 Right. 702 00:56:01,260 --> 00:56:04,840 The verbosity of the learning phase would have a lot to do with that as well. 703 00:56:04,900 --> 00:56:10,360 And then depending on what the actual objective itself is, that may drive that as well. 704 00:56:10,360 --> 00:56:18,600 So the problem you run into is you need the kind of details that you gather during a pen test to properly scope the pen test. 705 00:56:18,860 --> 00:56:26,320 So I mean, we've asked people for NMAP scans, or for existing vulnerability scans, let us look at those. 706 00:56:26,800 --> 00:56:29,080 And, and then we'll tell you how long we need. 707 00:56:29,480 --> 00:56:31,940 You know, so I think that's a legitimate. 708 00:56:32,100 --> 00:56:37,500 And again, that gets into what you call it white carding, white carding. 709 00:56:37,500 --> 00:56:41,200 So I mean, you know, they might object to that. 710 00:56:41,200 --> 00:56:47,880 But I mean, the thing is, if you already know the vulnerabilities, you know, you can just help that much quicker anyway. 711 00:56:47,880 --> 00:56:52,580 So yeah, I think you should start well, obviously, you're going to get an NDA in place. 712 00:56:52,720 --> 00:57:03,100 So that's that's the other hard problem to that is you're talking about looking at sensitive data before you've even they've signed the contract, you know, during the scoping phase. 713 00:57:03,100 --> 00:57:11,180 So that can be a little tricky just with the the contract process, just the process of getting them signed on. 714 00:57:11,180 --> 00:57:28,060 So yeah, if you can hack that process where you've already got a contract, like an MSA in place and an NDA in place before you actually give them the statement of work, and insert this phase where you're going to go over vulnerability scans together and information about the environment, 715 00:57:28,060 --> 00:57:34,300 maybe even do the threat mapping phase before you actually scope and sell the red tape. 716 00:57:35,560 --> 00:57:37,520 I think that's how you have to do it. 717 00:57:37,520 --> 00:57:41,700 Because doing it blind, it's going to be wrong most of the time. 718 00:57:43,020 --> 00:57:54,080 Either that or make it easy to extend it, you know, tell them, hey, it's going to be between here and here, we might use less money, but, you know, get more time pre-approved or something like that. 719 00:57:54,080 --> 00:57:55,940 But it's a tough problem. 720 00:57:56,980 --> 00:58:03,830 Yeah, this is more of an observation from my experience in this. 721 00:58:03,830 --> 00:58:07,690 I run an adversarial team for a fortune 500 retailer. 722 00:58:07,950 --> 00:58:10,710 We do pen testing and red teaming. 723 00:58:10,710 --> 00:58:15,290 And most red teaming is pen testing on the market. 724 00:58:15,290 --> 00:58:21,110 We talked to a lot of people, there's only a handful of organizations out there that in my experience understand the difference between red teaming and pen testing. 725 00:58:21,110 --> 00:58:25,390 We outsource our pen testing and then we kind of do our own red teaming internally. 726 00:58:25,390 --> 00:58:29,210 We differentiate the objective-based adversarial assessment. 727 00:58:29,330 --> 00:58:32,490 And the best time for a red team is during a pen test. 728 00:58:33,530 --> 00:58:38,310 So my experience is blue teams love pen tests. 729 00:58:38,430 --> 00:58:44,110 They despise red teams because they don't know how to catch adversaries. 730 00:58:44,730 --> 00:58:53,930 Because when you go out there and you talk to red teamers, a lot of times you talk about methodology when you're onboarding them and they talk in it and they go through the whole process like, that's a pen test. 731 00:58:54,250 --> 00:58:55,450 And they're like, no, no. 732 00:58:55,450 --> 00:59:02,010 It's like, I know a lot of guys in the underground who do this for a living in like real life on the bad side. 733 00:59:02,210 --> 00:59:04,030 And like, they don't use NMAT. 734 00:59:04,030 --> 00:59:06,450 They don't use vulnerability scanners. 735 00:59:06,450 --> 00:59:10,210 So if you need a vulnerability scanner or you talk to your... we ask them their tools that they use. 736 00:59:10,590 --> 00:59:15,130 If they give us lots of tools, 9 out of 10 times they disqualify themselves. 737 00:59:15,210 --> 00:59:18,010 It's like, yeah, no, thanks, we're good. 738 00:59:18,110 --> 00:59:20,030 So really vet your pen. 739 00:59:20,030 --> 00:59:26,270 If you're doing a red team, you need to really understand what the difference is because there's a serious difference between them. 740 00:59:26,270 --> 00:59:28,130 Did you actually have a question, sir? 741 00:59:32,450 --> 00:59:37,470 No, that's insightful. 742 00:59:37,470 --> 00:59:39,130 I think that's fantastic. 743 00:59:40,190 --> 00:59:44,790 I'm still... best time to do a red team is during a pen test. 744 00:59:44,790 --> 00:59:48,890 It's still flying around my skull. 745 00:59:48,950 --> 00:59:52,070 I bet you get called a lot of good names by your blue team counterparts. 746 00:59:53,250 --> 00:59:53,550 Yeah. 747 00:59:53,550 --> 00:59:56,170 No, but it's... I mean, and that goes to... 748 00:59:56,170 --> 01:00:03,790 if you go back to that 2011 talk by Harun Mir, I mean, that's one of his major points is pen testers emulate pen testers, not adversaries. 749 01:00:03,970 --> 01:00:07,950 You know, like there's this... I mean, there is a methodology to it. 750 01:00:07,950 --> 01:00:10,730 It's not really written down anywhere, but it's pretty basic. 751 01:00:10,730 --> 01:00:16,370 It's you're going to come in, you're going to run Nmap, you're going to run Nessus or some other vulnerability scanner. 752 01:00:16,770 --> 01:00:20,690 And if you find anything juicy, you're going to try and exploit it. 753 01:00:20,890 --> 01:00:30,350 And if Nessus didn't find it, your pen tester is not going to do it in a lot of cases because they're using that as their guide, which is a terrible, terrible guide. 754 01:00:30,490 --> 01:00:36,430 Like most of the stuff that has default creds, you'll never find, you know, like Nessus doesn't look for all those things. 755 01:00:37,330 --> 01:00:41,010 That's why you go look at the global asset inventory on shodan.io. 756 01:00:41,010 --> 01:00:46,150 The good stuff I do find in Nmap and Nessus is just where it tells me a web server is open. 757 01:00:46,290 --> 01:00:53,130 Like way back in the day, I wrote a script that would take a screenshot of every web interface, web console that I would find. 758 01:00:53,130 --> 01:01:01,410 Then I go through that directory of screenshots and look for config consoles and stuff like that that I knew had default creds. 759 01:01:01,410 --> 01:01:05,030 You know, all those are going to show up as informational on your vulnerability scanner. 760 01:01:05,030 --> 01:01:10,750 Not with a 10, not with a 2, not with a 1, with a 0, with informational. 761 01:01:11,110 --> 01:01:13,390 So yeah, that's a really good point. 762 01:01:17,790 --> 01:01:18,590 What's that? 763 01:01:20,570 --> 01:01:24,090 Oh man, that's just mean. 764 01:01:26,570 --> 01:01:31,270 An actual test of DR is punishing enough. 765 01:01:31,270 --> 01:01:36,490 I like the way you think. 766 01:01:38,980 --> 01:01:40,510 Any more questions? 767 01:01:40,510 --> 01:01:41,370 Yeah. 768 01:01:42,150 --> 01:01:46,790 Companies started to acquire breach and attack simulation tools. 769 01:01:46,790 --> 01:01:54,530 Do you think Red Team can depend on these tools or is it more of a Blue Team tool? 770 01:01:54,530 --> 01:01:57,310 Um, yes, I think so. 771 01:01:57,310 --> 01:02:06,890 So, partial answer, I think yes, attack simulation tools are Blue Team tools and I think they're huge for the industry. 772 01:02:06,890 --> 01:02:13,550 It's the first time we've had any kind of standardized tooling that actually tests all the other products that we're using. 773 01:02:13,730 --> 01:02:17,210 And I think that it's hugely important to use that stuff. 774 01:02:17,210 --> 01:02:31,010 Some of it, I think it's, you know, I see less value in an attack simulation tool that costs six digits and you have to hire one or two people to configure it and run it and stuff like that. 775 01:02:31,010 --> 01:02:33,410 I think at that point it starts to lose value. 776 01:02:34,390 --> 01:02:48,050 I think it should be pretty simple to do it, to have that value, but Blue Teamers need to be able to do what the Pentester and the Red Teams are doing to be able to even know if they fixed it correctly. 777 01:02:48,110 --> 01:02:55,090 Again, if they're coming in once a year, you only get one shot a year to see if you fixed something correctly. 778 01:02:55,090 --> 01:02:56,330 That's horrible. 779 01:02:56,530 --> 01:03:12,930 You need to be able to run that test hundreds of times if you need to, dozens of times, to make sure that, you know, password spraying past the hash, you know, that there isn't a box in the network that you fixed because it's not in the domain, so it's not getting the group policy. 780 01:03:13,090 --> 01:03:16,710 You need to be able to test yourself and find those outliers. 781 01:03:16,790 --> 01:03:34,790 At the same time, that breach impact assessment that I mentioned, as Pentesters or as consultants, we use one of those tools in our engagements, and I think that's another good use of attack simulation tools, is for Pentesters to automate some of that stuff, 782 01:03:34,790 --> 01:03:45,130 you know, because you can just let that thing go, let it run, and, you know, that's more value for the customer where you're not having to build human time to do that. 783 01:03:45,230 --> 01:03:48,290 So there needs to be a lot more automation in Pentesting, basically. 784 01:03:48,790 --> 01:03:50,830 So yeah, good stuff. 785 01:03:50,910 --> 01:03:52,090 Any other questions? 786 01:03:52,950 --> 01:03:54,050 Questions, concerns? 787 01:03:54,050 --> 01:03:55,170 Oh, there's one. 788 01:03:59,080 --> 01:04:08,660 If you have current clients that are Pentest, you know, they want Pentest on, how do you get them to want to do red teaming? 789 01:04:08,660 --> 01:04:10,440 What's your pitch to them? 790 01:04:10,440 --> 01:04:15,160 From a social engineering perspective, offer it as a new introductory service for the same price. 791 01:04:17,100 --> 01:04:29,340 One of the things I'm going to take away is that you've basically given me permission to interact with clients and say, hey, why don't we get a little more dynamic and change this up and have a conversation at the end of the day? 792 01:04:29,400 --> 01:04:36,580 You know, like, I like what you said, you know, show me where you detected me and I'll show you where, you know, you missed. 793 01:04:39,200 --> 01:04:52,700 I think one thing you could do with that is commission an internal anonymized test amongst clients where you ask for specific metrics, like, was this detected? 794 01:04:52,700 --> 01:04:55,320 How long did it, like, what time was it detected? 795 01:04:55,800 --> 01:04:57,680 What steps were taken? 796 01:04:57,680 --> 01:05:09,640 Basically, the measurement phase, ask for those, compile it into a report and then give it to the customer for free and say, hey, based on the clients we do business with, this is what we've determined. 797 01:05:09,780 --> 01:05:15,340 Based on this in comparison to the DBIR, ISTR, the yada, yada, yada reports. 798 01:05:16,580 --> 01:05:21,000 This is how our customers collectively stack up. 799 01:05:21,000 --> 01:05:24,820 So we are implementing a new thing and here's what it is. 800 01:05:25,540 --> 01:05:27,900 And that's the approach I would take. 801 01:05:28,160 --> 01:05:32,660 So I'd use that breach impact analysis or something that looks like that. 802 01:05:32,660 --> 01:05:39,420 Don't actually call it a breach impact analysis, by the way, because BIA is business impact assessment, which is something totally different. 803 01:05:39,680 --> 01:05:44,520 And I just couldn't find anything else that sounded right that didn't share that acronym. 804 01:05:46,180 --> 01:05:55,220 But getting that, that was part of my goal in changing how we did these assessments is getting that oh shit moment at the very beginning. 805 01:05:55,540 --> 01:05:58,720 You know, so that's why we intended to do that as a loss leader. 806 01:05:58,780 --> 01:06:03,120 You know, we intended it to take no longer than, you know, an hour, two hours. 807 01:06:03,120 --> 01:06:09,300 But showing them that an attacker in their environment can do all kinds of stuff without getting detected. 808 01:06:09,300 --> 01:06:15,220 I think it's a great motivator to sign up for a service like that, or to do a larger engagement. 809 01:06:15,980 --> 01:06:16,740 Yeah. 810 01:06:16,780 --> 01:06:22,660 Without having to charge them for an engagement to sell them on an engagement. 811 01:06:23,840 --> 01:06:24,240 Yeah. 812 01:06:24,900 --> 01:06:36,120 So I think the takeaway is a lot of stuff that would really motivate and convince companies to do more of this type of work can be automated and done really quickly. 813 01:06:37,280 --> 01:06:45,160 I mean, we could have gotten it down to where we sent them a link and say click this link, and it'll all happen in a browser and give you a score. 814 01:06:45,200 --> 01:06:53,600 Like it could be automated to that point to where it could be done in like a just a link that you send the client in a web browser. 815 01:06:55,060 --> 01:06:58,220 Assuming they open that link while they're on the corporate network at least. 816 01:06:58,220 --> 01:07:00,120 Open it at home too. 817 01:07:00,900 --> 01:07:02,840 I think we had one more question. 818 01:07:17,610 --> 01:07:21,210 So you have a client that says they have unlimited budget. 819 01:07:22,310 --> 01:07:23,490 Oh, a limited. 820 01:07:23,490 --> 01:07:25,250 I thought you said unlimited. 821 01:07:28,830 --> 01:07:29,930 I've got a card. 822 01:07:29,930 --> 01:07:31,570 A limited at the frequency. 823 01:07:31,590 --> 01:07:38,150 So I mean, that's why the conclusion I came to is don't do monolithic assessments. 824 01:07:38,170 --> 01:07:44,830 And we offered a, you know, it was 1,000, what was it? 825 01:07:44,830 --> 01:07:46,970 Yeah, 1,000, 2,000, or 4,000. 826 01:07:46,970 --> 01:07:53,450 Four, eight, or 16 hours per month, this subscription service that we offered. 827 01:07:53,870 --> 01:08:05,750 Which is, you know, the way a lot of companies' budgets work, there's a certain amount that you hit where they have to get permission, depending on how high the buyer is in the organization. 828 01:08:06,650 --> 01:08:12,650 And there's a certain amount where they don't even need, you know, like, that's almost petty cash for them. 829 01:08:12,710 --> 01:08:21,770 You know, so by making it monthly, you know, it's an invoice that they sign off on every month, like four grand is totally doable for a lot of these guys. 830 01:08:21,910 --> 01:08:36,650 So instead of that 30, $40,000 shocker, you know, you can do a lot of the same stuff, but spread it out throughout the year so that they're constantly focused on security, constantly improving throughout the year instead of in one big engagement. 831 01:08:36,830 --> 01:08:44,550 So with a limited budget, you know, that's a conclusion I came to, is break it up and let them spend that budget slowly. 832 01:08:44,590 --> 01:08:47,690 And they really do feel like they get a lot more value out of it. 833 01:08:47,690 --> 01:08:53,670 I would also consider the business model, customer base, and sector for that as well. 834 01:08:53,950 --> 01:09:03,810 So some industries are a little bit more sensitive than others, like finance, they may want it more frequently because they're attacked more frequently. 835 01:09:04,030 --> 01:09:11,150 If it's a large multinational organization, they may need it more frequently than some mom and pop place in Podunk, Montana. 836 01:09:12,790 --> 01:09:19,090 So I mean, everything on the internet, in theory, there's equal scrutiny put to it. 837 01:09:19,090 --> 01:09:27,630 But then when you start putting two to two together and you find out who it belongs to and what there is to gain from it, then things change. 838 01:09:28,030 --> 01:09:32,970 When you're working with them all year, I mean, you develop a much better relationship with them. 839 01:09:33,610 --> 01:09:38,190 You know, people on your staff know their network as well, if not better than their own people. 840 01:09:38,670 --> 01:09:42,950 You know, you become that truly that trusted partner that they turn to for stuff. 841 01:09:42,950 --> 01:09:46,270 So you end up getting more and more work out of that anyway. 842 01:09:46,990 --> 01:09:49,730 So win-win, I think with that. 843 01:09:49,890 --> 01:09:53,410 We had nothing but positive results from that subscription service. 844 01:09:53,410 --> 01:09:53,890 Yeah. 845 01:09:54,850 --> 01:09:58,590 Any other questions, concerns, complaints, grievances, thoughts, opinions, or otherwise? 846 01:10:00,430 --> 01:10:01,590 That's all folks.