[00:00.000 --> 00:00.960] All right. [00:00.960 --> 00:02.500] It is officially noon. [00:02.500 --> 00:04.280] Longest six minutes of my life. [00:04.280 --> 00:05.640] Let's get started! [00:06.500 --> 00:08.520] Thank you so much for being here. [00:08.520 --> 00:10.780] I'm super excited to be giving this talk. [00:10.920 --> 00:14.460] I hope you're ready for 30 minutes of your life that you will never get back. [00:15.080 --> 00:22.080] My presentation today is facilitated by the Adversary Village, so just want to say an extra special thank you to them for the opportunity. [00:22.640 --> 00:29.620] I spent a lot of my time at DEF CON last year at the Adversary Village, and I really learned a lot, and I knew I wanted to come back and contribute to that community. [00:29.820 --> 00:42.260] So in kind, I'm going to be talking about Purple Teams, namely this unique approach that we call the Assume Compromise approach that we've found to be the most effective strategy in creating a high-value Purple Team engagement. [00:43.080 --> 00:47.840] First, I'm going to introduce myself and try to convince you I'm qualified to give this talk. [00:49.460 --> 00:50.780] Who put that there? [00:50.940 --> 00:52.420] Hi, I'm Sarah. [00:52.420 --> 00:56.100] I am the Purple Team Service Lead at Security Risk Advisors. [00:56.100 --> 01:04.360] I have led hundreds of threat intelligence-based Purple Team engagements for the Fortune 500 and the Global 1000 over the past seven years. [01:04.820 --> 01:12.460] Much like Twilight fans are split between Team Edward and Team Jacob, most Purple Teamers are split between Team Red and Team Blue. [01:12.560 --> 01:16.300] As for myself, my background is in offensive security. [01:16.500 --> 01:23.720] I mostly dabbled in network penetration testing, ITOCS pen testing, and the occasional physical pen test. [01:23.720 --> 01:25.420] Which leads us to this picture. [01:26.320 --> 01:32.280] After a break-in, I sent a client a timeline of events, and they went back to their camera footage and pulled this. [01:32.280 --> 01:35.000] So I figured it was a good Who Am I slide picture. [01:35.540 --> 01:37.100] Yes, my shoes were in my hand. [01:37.100 --> 01:42.380] I had to go up like 20 flights of stairs, and my heels were just making an insane amount of noise. [01:42.380 --> 01:43.640] So I had to take them off. [01:43.720 --> 01:47.380] And that is the level of dedication that I intend to bring to this presentation. [01:48.940 --> 01:50.200] I'm from Philadelphia. [01:50.200 --> 01:51.340] I went to Penn State. [01:51.340 --> 01:52.460] I'm left-handed. [01:52.460 --> 01:53.700] I own a dog. [01:53.760 --> 01:55.880] Those are all the answers to my security questions. [01:55.880 --> 01:57.580] So I think we can get started. [01:59.660 --> 02:01.220] This is what we're going to cover today. [02:01.220 --> 02:02.820] We started with an introduction. [02:02.820 --> 02:06.440] It's happening right now, and I hope it's everything that you imagined it would be. [02:06.900 --> 02:14.560] Then I want to get everyone on the same page about what Purple Teams are, and kind of define some terms in the context of this talk. [02:14.700 --> 02:18.600] Then I'm going to get into the fun stuff with what is this Assume Compromise approach? [02:18.600 --> 02:19.700] How do we apply it? [02:19.700 --> 02:21.860] How can you apply it at your organization? [02:22.380 --> 02:23.660] But I won't leave you hanging. [02:23.660 --> 02:25.580] We can take that one step further, too. [02:25.580 --> 02:32.320] How can we collect and analyze the results from a Purple Team like this and really derive that high value I keep bragging about? [02:32.620 --> 02:34.720] And then I'm going to end with a conclusion. [02:34.860 --> 02:35.620] Mic drop. [02:35.620 --> 02:38.400] I can't drop this mic, but that won't stop me from trying. [02:39.880 --> 02:44.720] By a show of hands, whose organizations here have a Purple Team program or run Purple Teams? [02:46.140 --> 02:46.800] Yes! [02:46.800 --> 02:48.320] A lot of us are doing it. [02:48.320 --> 02:53.120] They are a critical component, in my opinion, of a modern cybersecurity program. [02:53.480 --> 02:58.040] But I do find that everyone I talk to about Purple Teams tends to describe something different. [02:58.680 --> 03:07.660] I've found that Purple Team means different things to different people, whether it's a methodology, a team of people, an assessment, engagement, or even a state of mind. [03:07.800 --> 03:10.820] And then the actual Purple Teams themselves come in all shapes and sizes. [03:10.820 --> 03:13.620] So I want to just get on the same page. [03:13.740 --> 03:16.320] Here are some relevant terms to this talk. [03:16.320 --> 03:17.760] I'm not going to cover all of them. [03:17.760 --> 03:19.360] You should be mostly familiar. [03:19.520 --> 03:23.860] Except maybe with the term adversary PEMDAS, and that would be because I made it up. [03:25.520 --> 03:32.840] What an attacker does as part of a breach just has a lot of different names, whether that's... who did that? [03:33.300 --> 03:40.760] A framework, a kill chain, order of operations, which is where I got the PEMDAS from, and I'm sticking with it. [03:40.920 --> 03:48.880] The one definition I did want to cover on this slide is an assumed compromise or assumed breach approach, because I am going to put a twist on it. [03:49.060 --> 03:58.140] Traditionally, that's when we give our testers some level of access to start their test, whether or not we actually prove they can get that level of access to begin with. [03:58.200 --> 04:05.360] Typically, it means that we're letting people write in on the internal network, maybe with a workstation and a domain user account. [04:06.320 --> 04:08.780] And now for the definition of Purple Team. [04:08.960 --> 04:16.580] And I do want to just preface, I'm not saying any other approach to Purple Teaming is wrong, especially if you find it helpful for your organization. [04:16.940 --> 04:23.420] I just found that this is the best approach that yields the highest value results, so it doesn't mean stop doing it the way that you do it. [04:23.420 --> 04:25.900] I just hope that you start doing it this way as well. [04:26.460 --> 04:35.020] A Purple Team engagement is a collaborative workshop where we bring our red and blue teams together to execute side-by-side in an open book exam format. [04:35.340 --> 04:44.320] We know traditionally our red teamers operate in a black box, and that means that we don't always get to know what they're running when, how, or how our security tools responded. [04:44.400 --> 04:53.760] In a Purple Team, we're bringing our red team in to actually demonstrate those things for us, to talk about what they're doing and why an adversary would be interested in doing that thing. [04:53.760 --> 05:01.340] We find a lot of the time for blue teamers, it's the first time they get the true adversary POV on those alerts they respond to every day. [05:01.940 --> 05:06.840] And when I say blue team, I don't just mean your stock analysts, though please have them there. [05:06.840 --> 05:08.000] I mean everybody. [05:08.000 --> 05:12.320] Your infrastructure team, your AD team, your networking team, everybody. [05:12.320 --> 05:13.860] Bring everyone together. [05:13.900 --> 05:18.640] We find that blue teams are often a bunch of departments that operate completely separately. [05:18.640 --> 05:26.380] So take this opportunity to, say, let your detection engineers and your networking team collaborate on how to detect command and control traffic. [05:26.980 --> 05:31.780] We find that we bring everyone together to talk freely without fear of blame. [05:31.780 --> 05:33.800] That's really where the magic happens. [05:33.820 --> 05:37.040] And you get a huge value add, and all you had to do was talk. [05:38.160 --> 05:53.500] Then what the test plan actually is, we use threat intelligence to choose a high prioritized subset of the MITRE ATT&CK framework, then we run those attacks against our security tools in order to evaluate their overall effectiveness. [05:54.160 --> 05:59.820] Now I've talked about what purple teams are , I also need to talk about what purple teams are not. [05:59.820 --> 06:02.160] Because I think the answer might surprise some of you. [06:02.620 --> 06:04.900] Purple teaming is not Baz. [06:05.220 --> 06:11.400] I mean, literally it is breach and attack simulation, but it should never be replaced by a Baz solution. [06:11.640 --> 06:12.420] Why? [06:12.720 --> 06:19.220] Simply put, attackers cannot fully simulate or automate their attacks, so neither should we. [06:19.420 --> 06:24.880] Purple teams can use automation, but only where attack authenticity can be achieved. [06:25.260 --> 06:29.640] If you use a Baz solution on its own, we find it tends to leave a lot to be desired. [06:29.660 --> 06:33.620] Number one, you probably have to put your security tools in audit mode just to get it to run. [06:33.740 --> 06:38.560] So now we're testing against tools that are not configured how they are in our production environment. [06:39.680 --> 06:55.920] But also, a lot of the time they promise full MITRE ATT&CK coverage, which besides that that gives me a rash, also means that they are running thousands of techniques from a single process, and our security tools are going to start to correlate those together and give you detections that they never would otherwise. [06:57.080 --> 07:03.840] You could call that maybe cheating, but I think it's very valuable that our security tools correlate things under a single process. [07:04.340 --> 07:05.740] Baz has a time and a place. [07:05.740 --> 07:10.720] I think it's great for control validation, but it should never replace our purple team engagements. [07:11.720 --> 07:15.780] Purple teaming is unique from red teams and pentests as well. [07:15.980 --> 07:22.560] Red teams, since they're actually simulating or emulating an adversary, they're not really testing your security tools. [07:22.560 --> 07:25.040] In fact, they're trying not to touch your security tools at all. [07:25.500 --> 07:37.920] So because our objective is to ideally catch and remove the red team before they identify our crown jewels, it's really more of an assessment of our incident response capabilities. [07:38.920 --> 07:40.900] It's also different from a pentest. [07:40.900 --> 07:47.540] A pentest is trying to hunt for as many vulnerabilities and risky configurations as they can for you in the time allotted. [07:47.540 --> 07:50.600] They are running noisy and broad enumeration. [07:50.600 --> 07:52.820] It should light up your tools like Christmas trees. [07:53.560 --> 07:55.480] They're not concerned with stealth. [07:55.480 --> 08:01.200] It's not a realistic attack scenario, so it's not a realistic evaluation of our security tools either. [08:03.140 --> 08:06.360] What purple teaming is and is not out of the way. [08:06.360 --> 08:09.120] Now let's talk about the assumed compromise approach. [08:09.380 --> 08:14.160] So far, we've used threat intelligence to choose a high-priority test plan. [08:14.160 --> 08:18.200] We brought our red and blue teams together to execute in this collaborative workshop. [08:18.200 --> 08:21.500] Now how do we set the stage for this actual purple team engagement? [08:21.860 --> 08:28.160] Will we give our red teamers everything that they need to fully simulate an adversary from start to finish? [08:28.740 --> 08:31.220] So remember that assumed compromise approach I went over? [08:31.360 --> 08:37.460] We're giving our testers a workstation and a user account on the internal network, but we're not going to stop there. [08:37.460 --> 08:41.980] We are going to let them in here, here, here, and even here. [08:42.300 --> 08:43.260] Why? [08:43.760 --> 08:45.300] Let's run with an example. [08:45.400 --> 08:47.960] What I'm sharing here, this screen is from Vector. [08:47.960 --> 08:52.000] There is a community version I'll link at the end if you're interested in checking it out. [08:52.000 --> 08:53.700] It's a purple team tracking tool. [08:54.180 --> 09:00.220] So this is a MITRE TTP where we can keep all of the details of the red and blue side of the attack. [09:00.220 --> 09:01.700] We're going to fill it out together. [09:02.440 --> 09:13.480] The test I decided to go with for this example, because it really supports my point, is extracting domain user credentials via replication, often known as a DC sync attack. [09:13.840 --> 09:23.080] For anyone who is not familiar, a DC sync attack works by abusing regular replication activity that domain controllers use to stay up to date with one another. [09:23.080 --> 09:35.820] The main difference here is our adversary has compromised a user account with replication rights, often a domain admin account, and they are using that to convince a legit domain controller to send them whatever credentials they want. [09:36.260 --> 09:42.000] So yes, they can use this attack to obtain user credentials for any account in your domain. [09:42.560 --> 09:47.120] So who needs to hack into a system if you can kind of just log in? [09:47.120 --> 09:53.020] As you might imagine, it would be pretty cool if we had a detection if somebody did this in our environment. [09:53.360 --> 09:59.360] We're going to make sure that's the case by giving our red teamers a domain admin account to do the test. [10:00.140 --> 10:03.520] Some people in this room are internally gasping, and I know it. [10:03.780 --> 10:13.340] We are setting the stage and giving our testers access required to run these tasks that we chose, because it lets us focus on visibility, not vulnerability. [10:13.640 --> 10:22.960] We know that an organization can be vulnerable at any point in time, and we have other assessments like Pentest that are geared toward finding those vulnerabilities for us. [10:22.960 --> 10:30.820] But we don't have other opportunities to truly evaluate the successes, limitations, and opportunities to improve our security tools. [10:31.040 --> 10:36.060] Yeah, I'm talking about those security tools that cost so much money it gives me acid reflux to even think about. [10:36.160 --> 10:38.360] Are they doing what they say they're doing? [10:38.380 --> 10:42.220] Do they have coverage for that really long list of detections on their website? [10:42.540 --> 10:44.400] Have we ever really tested it? [10:45.300 --> 10:56.560] Especially for late kill chain activities like DC Sync, where it is a much lower likelihood, as you can imagine, an attacker needs to escalate all the way to god tier without getting caught first around this attack. [10:56.560 --> 11:00.080] But if they can do it, the impact is extremely high. [11:00.080 --> 11:03.700] So we need to make sure that we can detect an activity like this. [11:04.320 --> 11:12.500] And if you're still a little scared about it, just remember that this is a fully supervised test in a controlled environment. [11:12.560 --> 11:20.320] You can do something like ask those red teamers to not choose that DC that restarts if you breathe weird while you're authenticated to it. [11:20.820 --> 11:26.580] But we don't get to ask that of our pen testers who are definitely running DC Sync sans supervision. [11:28.160 --> 11:29.920] Alright, we're all on the same page. [11:29.920 --> 11:32.260] We're going to let our red teamers run DC Sync. [11:32.580 --> 11:35.500] There's a lot of different ways that you can run an attack like this. [11:35.500 --> 11:38.160] You can run it right from a domain controller. [11:38.540 --> 11:43.580] Let's say they try to do that and they are blocked by our privileged access management solution. [11:43.840 --> 11:44.420] Cool. [11:44.760 --> 11:47.800] Next, they will try to run on a user workstation. [11:48.040 --> 11:52.480] They extract Mimikatz and drop it right onto disk and our EDR ate it. [11:52.520 --> 11:55.340] And we are shocked that something like that could happen. [11:56.040 --> 12:01.140] Then we say, okay, maybe we're not going to drop hack tools straight onto disk. [12:01.140 --> 12:04.800] Let's get a command and control channel going and run this attack through that. [12:04.820 --> 12:07.900] We try to launch default cobalt strike. [12:08.100 --> 12:10.260] It gets blocked by our next gen firewall. [12:11.500 --> 12:12.220] Wow. [12:12.360 --> 12:14.780] We tried to run this attack three different ways. [12:14.820 --> 12:15.940] Absolutely nothing. [12:15.940 --> 12:17.280] We should probably just call it blocked. [12:17.280 --> 12:19.020] Who's getting domain admin anyway? [12:20.320 --> 12:44.520] That's where I would say, what if an adversary adds a rogue workstation to your domain that doesn't have security tools on it or breaks into your office building and plugs their machine directly onto your network or maybe they're an insider threat that had months to figure out how they want to execute this attack or maybe they're not doing something we've seen before and they're making direct RPC calls from a SOCKS proxy or a C2 where we don't have the network traffic signatured. [12:44.520 --> 12:54.720] Maybe they're running from a Linux server they compromised and don't even get me started on my opinion on antivirus for Linux servers or maybe they just have a payload that we haven't seen before. [12:55.100 --> 12:56.340] Pause for gas. [12:58.040 --> 13:07.000] And while I'm talking about all of these different ways that you can try to run this attack differently so it's not subjected to your other security controls, what if it is? [13:07.020 --> 13:10.280] And maybe they don't need to do some crazy thing to bypass your EDR. [13:10.700 --> 13:14.000] When's the last time that you checked that list of exclusions that you have? [13:14.160 --> 13:17.480] It might be long enough to go around a track a couple times. [13:18.380 --> 13:24.680] And some people with Defender are probably thinking, well, if you want to pull this list locally you have to have local admin to even do that. [13:24.680 --> 13:29.120] To which I would say, when's the last time you checked who has local admin on your workstations? [13:29.580 --> 13:33.060] And it's no shade on anybody, but these things happen. [13:33.060 --> 13:34.060] And we know they do. [13:34.060 --> 13:40.620] And beyond that, we know that the Mimikatz release on GitHub is going to get blocked if we try to run it. [13:40.620 --> 13:43.120] But we also know an attacker can find a way around. [13:43.240 --> 13:44.740] We see it all the time. [13:44.780 --> 13:46.480] Or maybe we don't see it. [13:46.540 --> 13:48.440] And that is the problem. [13:50.700 --> 13:55.200] So like I said, your attacker might not even need to bypass your EDR at all. [13:55.200 --> 14:00.240] In fact, you can run DC sync anywhere on the domain with network connectivity. [14:00.900 --> 14:08.260] And all these different ways that I've listed off are just a small sliver of all of the different, not only procedures, but procedure variants. [14:08.260 --> 14:12.460] Try TTP PVs on for size for a single test. [14:12.460 --> 14:18.660] And now multiply that by all of MITRE ATT&CK and you might be feeling a little bit hopeless. [14:19.040 --> 14:21.180] And if you are, that's what I was going for. [14:21.180 --> 14:26.380] This is like the sports movie thing where I build everybody down and now I'm going to build you back up. [14:26.820 --> 14:34.920] Because no matter how an attacker tweaks this approach, the underlying activity of a replication attack is always the same. [14:35.260 --> 14:40.180] It will always take an action upon an object, which is windows event ID 4662. [14:40.700 --> 14:44.560] And then within that, there's always a GUID string for replication activity. [14:44.560 --> 14:51.700] And then if you're big on networking, the RPC call is always going to bind to the same interface and execute the same function. [14:51.700 --> 14:54.420] And so this is what I'm trying to get at. [14:54.420 --> 15:07.780] With all of these different procedures, we can try to plan and have controls for every single one of those, but if we test to the underlying activity, it doesn't matter how they modify that approach, we'll always have a control for it. [15:07.780 --> 15:11.600] Which also gives us a little bit of future proofness. [15:11.600 --> 15:19.280] Proofness is not a word, but if something new comes out, then our detection should hold firm. [15:19.280 --> 15:22.160] Which leads me to my next point. [15:22.280 --> 15:25.760] Take the assume compromise approach another step further. [15:25.820 --> 15:32.280] Don't just focus on assuming a level of user and network access, assume compromise of your tools. [15:32.500 --> 15:37.280] Test your email gateway, but then assume your attacker's gotten a phishing payload through. [15:37.280 --> 15:41.920] Then test your EDR, and assume that they've gotten a file past your EDR. [15:41.920 --> 15:47.120] And then again, and again, and again, all the way through your adversary PEMDAS. [15:47.120 --> 15:54.700] Take your compensating controls out of the way and strictly focus on the defensive tool that correlates to the test itself. [15:55.120 --> 15:57.340] So we'll take it back to our example. [15:58.160 --> 16:05.620] Since we know DC sync can be run from anywhere, our area under test is our directory service object access. [16:05.620 --> 16:12.060] If we correlate that to our defense in depth layers, we have the SIM and we have our identity threat protection tool. [16:12.060 --> 16:14.440] These should be our areas under test. [16:14.440 --> 16:16.600] Doesn't mean forget about all your other ones. [16:17.020 --> 16:18.740] Document them, test them. [16:18.740 --> 16:20.700] We do love compensating controls. [16:20.700 --> 16:23.940] They make it a lot more challenging for an attacker to execute an attack. [16:23.940 --> 16:27.380] They might reduce a lot of the procedures that are available to them. [16:27.380 --> 16:28.700] So write them all down. [16:28.700 --> 16:32.060] Don't rely on them as your actual prevention or detection control. [16:34.880 --> 16:43.980] So to actually run a purple team, we need to take what we just did for DC sync, multiply it by about 25 to 70 use cases. [16:43.980 --> 16:46.460] Again, we're not doing full miter attack coverage. [16:46.460 --> 16:48.320] And then we need to score each one. [16:49.480 --> 16:53.380] So first, we're choosing that threat intelligence driven test plan. [16:53.500 --> 16:58.740] As I just talked about, we are isolating under one security area under test. [16:58.740 --> 17:00.700] Then we're going to pick an outcome. [17:02.240 --> 17:09.200] Successful outcomes are if a security tool or a secure configuration prevents or detects this attack. [17:09.200 --> 17:20.200] The important thing with scoring is that we have our successful outcomes count toward our score, but we don't have test cases where we don't have a successful outcome count against us. [17:20.300 --> 17:21.620] And we do this on purpose. [17:21.660 --> 17:28.180] When we want to use an approach like this, we're asking everyone to come in and take away all of these layers of different controls. [17:28.180 --> 17:31.500] So we don't want any ego, any blame game. [17:31.500 --> 17:34.940] Really, we want to eliminate that concept of failure. [17:35.000 --> 17:38.580] And that is a really important step in fostering that environment. [17:39.440 --> 17:49.080] So we're going to take all of that, our successful outcomes total, divided by the total number of test cases we ran, and we have our score. [17:49.760 --> 17:51.820] This score is never going to be 100%. [17:51.820 --> 17:58.180] We cannot prevent or detect everything an adversary does through the whole PEMDAS, and that is okay. [17:58.280 --> 18:02.780] But we can use this score to try to continually get closer to that 100%. [18:02.780 --> 18:06.020] But we can do even more with these results. [18:06.600 --> 18:11.080] We can, say, prioritize our remediation efforts at the tactic level. [18:11.080 --> 18:15.560] Again, this is a report from Vector if you ever want to try to create one yourself. [18:15.580 --> 18:19.600] This was the test cases that we ran in this theoretical purple team. [18:19.600 --> 18:22.040] It's color-coded by how we did for each test. [18:22.040 --> 18:25.140] Green good, red bad, and then some things in the middle. [18:25.600 --> 18:28.880] The best way to look at this is at the column or the tactic level. [18:28.880 --> 18:31.300] Where were our strengths and weaknesses? [18:31.300 --> 18:32.820] How do we prioritize? [18:32.960 --> 18:37.520] The other thing with reading this is we always read this from left to right. [18:37.520 --> 18:44.960] As an attacker goes further down the kill chain, the higher the signal-to-noise ratio, the more difficult to identify and remove them. [18:44.960 --> 18:48.400] So let's start by prioritizing left kill chain. [18:49.720 --> 18:53.580] We can also identify themes with our security tools themselves. [18:53.780 --> 19:01.600] We can run all of these different tests, identify how our security tools did, and maybe we want to prioritize our remediation efforts by tool. [19:03.380 --> 19:07.120] And most importantly, we can make historical comparisons. [19:07.840 --> 19:11.720] You want to run purple teams on a regular interval for a lot of reasons. [19:11.720 --> 19:16.520] One is to track success over time, aka also bragging rights. [19:16.520 --> 19:22.700] When do we get to show that all of these defensive measures that we did did something besides not have us get hacked? [19:22.700 --> 19:26.060] So this is a really unique opportunity to do that. [19:26.700 --> 19:31.160] Two, we want to keep our purple test plan up to date with the latest threat intelligence. [19:31.160 --> 19:35.840] We always want to be testing to what the latest and greatest attackers are doing is. [19:36.200 --> 19:38.980] And three, we always inspect what we expect. [19:39.040 --> 19:44.240] We expect our security controls to behave in a certain way, but we never really know until we test them. [19:44.300 --> 19:54.500] So continuous testing is really cool for identifying things like my favorite, least favorite, is someone creates a really cool detection in Q2. [19:54.800 --> 19:59.280] And then in Q3, someone does testing, and it's lighting up this alert, so someone turns it off. [19:59.280 --> 20:02.480] And in Q4, we find out that nobody ever turned that alert back on. [20:02.480 --> 20:06.600] So continuous testing is really good for validating those kinds of things. [20:08.620 --> 20:10.180] So there you have it. [20:10.180 --> 20:20.640] I hope that no matter what your Purple Team looks like, or what kind of Purple Team projects you're running now, that you will consider adding this method to your approach to Purple Teams. [20:20.680 --> 20:28.080] We're going to use the Assume Compromise approach to take, as some of my coworkers like to call it, a brutally honest look at our security tools. [20:28.080 --> 20:33.520] We're going to find every opportunity to add a new detection or prevention control. [20:33.520 --> 20:39.060] And maybe most importantly, we're going to foster that environment of open collaboration and communication. [20:40.620 --> 20:46.820] I do want to take this back to wrap up to looking at the actual purpose of what we're doing here. [20:46.820 --> 20:50.840] What are we trying to accomplish with threat intelligence-driven Purple Teams? [20:51.340 --> 21:06.300] SRA's catchphrase for it is we're trying to flip the burden of perfection in reference to that adage that we all know and hate, that we need to be perfect 24 by 7 in order to keep out attackers, and an attacker only needs to be perfect once. [21:06.420 --> 21:16.520] We want to flip that burden of perfection by finding every possible place that we can to add that new control that might allow us to identify and eradicate an adversary. [21:18.100 --> 21:20.460] We're not looking to block or prevent everything. [21:20.460 --> 21:28.240] As I mentioned, an attacker might open a command prompt and type, who am I, and maybe that's too noisy for us to alert on, and that's okay. [21:28.420 --> 21:36.040] The attacker PEMDAS, as I keep lovingly referring to it, has a lot of different terms, but Lockheed Martin coined the term kill chain. [21:36.040 --> 21:39.940] We aren't trying to stop every single thing an attacker would try to do. [21:39.940 --> 21:41.800] We're just trying to break the chain. [21:42.400 --> 21:44.740] So it's not about compensating controls. [21:45.020 --> 21:54.080] It's not about proving attack paths exist by identifying vulnerabilities, and it's not about being squeamish about the level of access we provision to do our testing. [21:54.980 --> 22:05.160] It's about assuming our controls will fail, assuming adversaries will find a path, assuming there's another control that we can add, and assuming we have something to learn from each other. [22:05.420 --> 22:10.960] And that is how you shore up your defenses, and that's how you gain true resilience to adversarial threats. [22:13.060 --> 22:16.820] So thank you so much for hanging out with me at the end of DEF CON. [22:24.760 --> 22:29.420] If you decide to use this approach at your organization, I would love to hear how it works out. [22:29.520 --> 22:32.880] But I think I have a few minutes if anyone has any questions. [22:36.320 --> 22:37.200] Yeah? [22:55.620 --> 23:07.900] I think that's one really good use case for it, is if we're assuming compromise, especially if they have this level of access, maybe they're an insider threat, but I think it's really comprehensive to any kind of breach as well. [24:01.200 --> 24:02.880] Yeah, I love that. [24:02.880 --> 24:09.140] And we always say that purple teaming is, we call it practicing for the test of a true red team kind of engagement. [24:09.800 --> 24:13.840] My tip would probably be just bringing everyone into the room. [24:13.840 --> 24:15.760] Everybody loves to watch the hacker. [24:15.820 --> 24:28.180] A lot of the companies that I do these with, they love coming in and watching this, and then it really brings a lot of perspective when you get to watch someone run that technique against your thing. [24:28.180 --> 24:31.320] Maybe your baby, if that's the team that's responsible. [24:31.760 --> 24:37.580] And as far as detections, I know a lot of the time we talk a lot about detecting, but we really like to see a good parity. [24:37.580 --> 24:50.220] Obviously let's block whatever we can, but a good balance between our secure configurations and security tools doing the work for us, but also making sure we have eyes and hands on keyboard to respond to these things. [24:50.220 --> 24:57.480] My advice would be, that's what bringing everybody together is all about, and really showing them what we're trying to accomplish. [25:14.440 --> 25:19.020] I do prefer the former for this style of testing. [25:19.080 --> 25:24.740] Like I said, I definitely think Caldera is a great tool, and there's a ton of great BaaS solutions that you can use. [25:24.740 --> 25:27.820] I just really use them for different purposes a lot of the time. [25:27.820 --> 25:38.040] So use this kind of test to identify a technique, and then in between your purple teams, using something automated is great for validating that the controls that we created are working. [25:38.200 --> 25:44.500] Especially for things like custom detections, where we know there's a certain criteria, and as long as that's there, it's going to fire. [25:59.790 --> 26:02.330] Yeah, that's a good question. [26:03.230 --> 26:08.110] I guess it really depends, because we go all through the kill chain with different things that we run. [26:08.110 --> 26:14.370] For us, we use Mythic C2, and we have some automation with Jupyter Notebooks that we use that works really well. [26:14.370 --> 26:17.410] A lot of the stuff that we do that's automated is custom built. [26:17.550 --> 26:24.330] The more purple teams you run, you're just asking all of these security vendors to signature all your stuff, so it changes all the time. [26:46.030 --> 26:46.950] Sure. [26:46.950 --> 26:52.530] My number one tip for this is we eliminate any of the audit speak, definitely. [26:52.810 --> 26:54.170] There's no failures. [26:54.170 --> 26:56.010] You'll never hear me use the term failure. [26:56.010 --> 26:58.170] Maybe unsuccessful, but not failure. [26:58.390 --> 27:05.330] These aren't vulnerabilities, and so we never refer to them as being critical, high, medium, or low severity. [27:05.370 --> 27:22.630] They're ways that we can change our security tools, and so we'll assign more of a remediation F project priority level versus a vulnerability rating that creates that association, because then you add in the defensiveness and all of the other complications, [27:22.630 --> 27:26.730] so we just take all of that out, because we're trying to be collaborative. [27:30.910 --> 27:32.370] Awesome, thank you!