1 00:00:12,390 --> 00:00:14,730 As I was introduced, I'm Tejinder Patel. 2 00:00:14,730 --> 00:00:17,270 I've been a Program Manager at DARPA for about 5 years now. 3 00:00:17,510 --> 00:00:23,090 One of my programs is SMOKE, or Signature Management, usually Operation Knowledge or Environments. 4 00:00:23,570 --> 00:00:26,390 At a high level, what is this program going to do? 5 00:00:26,710 --> 00:00:31,030 Automated, Scalable, Threat Emulated, Life Cycle Management, Cyber Engineering. 6 00:00:31,030 --> 00:00:34,510 So, automated, which means I want computers to do the hard work, not humans. 7 00:00:34,710 --> 00:00:36,510 Scalable, I want to do a lot of it. 8 00:00:36,510 --> 00:00:44,870 Threat Emulated, which means I want to understand what different threat actors look like on the internet, especially from their infrastructure and their network. 9 00:00:45,330 --> 00:00:51,470 Life Cycle Management, so that means the acquisition, the usage, the disposal of this infrastructure. 10 00:00:51,790 --> 00:01:04,670 This infrastructure could mean everything from domains, PPS providers, the software you use, any redirectors or co-opted infrastructure in the middle of the internet that allows you to get to your target. 11 00:01:04,670 --> 00:01:07,110 That's what SMOKE is in a nutshell. 12 00:01:07,370 --> 00:01:08,930 Now , why are we doing SMOKE? 13 00:01:09,150 --> 00:01:22,950 There's an insatiable appetite for penetration testing or red team operations, specifically to train our defenders on being prepared for the types of threats that are going to go out to the networks. 14 00:01:24,170 --> 00:01:33,690 I say insatiable appetite, as far as I can tell, it doesn't matter how many red teamers we add to the mix or we train, there's just not enough of them to go around. 15 00:01:33,690 --> 00:01:37,670 So the name we keep here is automate as much as you can. 16 00:01:37,890 --> 00:01:42,370 So the program is broken up into two technical areas. 17 00:01:42,370 --> 00:01:44,250 That's usually how DARPA runs programs. 18 00:01:44,250 --> 00:01:47,750 On the left hand side, you have the automated planning and execution. 19 00:01:47,810 --> 00:02:04,290 You can think of this as a set of software that we could use where we say, hey, I'm a red teamer, my target is this specific network, and I would like to book the TTPs belonging to a specific threat. 20 00:02:04,490 --> 00:02:13,630 So what the system will do is it will come up with a plan of attack, it will provide that information, and then help automate the process of actually deploying it. 21 00:02:13,630 --> 00:02:20,370 So red teamers can spend their time not on setting up infrastructure and managing it, but on doing actual red team operations. 22 00:02:20,650 --> 00:02:25,290 On the right hand side, you have the TA2 or the signature management piece. 23 00:02:25,290 --> 00:02:35,130 So the concept here is we want to take large scale data and automate the process by actually identifying and attributing different threat actors. 24 00:02:35,630 --> 00:02:49,470 And what I mean by that is I don't want to focus on specific IOCs or indicators of compromise, but I want to be able to do it repeatedly and then take a step back and say, hey, I see a pattern in how APTX or APTY or APTZ operates. 25 00:02:49,470 --> 00:02:57,370 Because what that allows us to do is mimic those exact patterns when it comes time to actually doing a red team assessment. 26 00:02:57,670 --> 00:03:01,510 So that's the why, if you will, and maybe even the how. 27 00:03:01,590 --> 00:03:08,910 Before I dive into some more details of it, maybe we move away from the science part of it and look at a real world example. 28 00:03:08,910 --> 00:03:18,030 This is an analysis that was done on open source information, publicly available information, and we kind of curated it together. 29 00:03:18,030 --> 00:03:27,390 So diving into that, I'm going to do three things here. 30 00:03:27,390 --> 00:03:40,230 So the first one is I'm going to show three different threat actors, Gamma Radon, Stark Vortex, and Teal Karma, and see how their networking infrastructure overlaps. 31 00:03:44,010 --> 00:03:53,970 Then I'm going to move forward in time to a recent attack by Flying Yeti against the Ukrainian military and show how it relates to the Stark Vortex infrastructure. 32 00:03:54,490 --> 00:04:03,330 And finally, this program isn't about indicators of compromise, but that is the root information that you take advantage of to then be able to build out those patterns. 33 00:04:03,330 --> 00:04:11,250 So I'm going to find some IOCs for infrastructure being used by Flying Yeti against Flying Vortex. 34 00:04:11,690 --> 00:04:18,970 So looking at threat actors, I mentioned Gamma Radon, Stark Vortex, and Flying Yeti. 35 00:04:18,970 --> 00:04:24,550 One way you can start doing attribution is by breaking out the groups based on targeting. 36 00:04:24,550 --> 00:04:28,530 Now all of these groups are targeting Ukrainian military. 37 00:04:28,950 --> 00:04:36,270 Not surprising given the current geopolitical events, so it's hard to say, hey, they're all related because of that. 38 00:04:36,270 --> 00:04:40,730 But we can look at their binaries, see what their binary analysis shows us. 39 00:04:41,370 --> 00:04:50,830 So you look at the tooling used by these three threat actors, and the attacks that exist, and there's really not much overlap. 40 00:04:50,890 --> 00:04:56,590 The only place there's an overlap is in the initial access, and they're using phishing. 41 00:04:56,590 --> 00:05:03,870 But that's kind of the easiest way to get to a target, so not a good way to really say that, hey, these are different groups. 42 00:05:03,870 --> 00:05:09,110 Now, let's assume for a moment that, you know, there was overlap. 43 00:05:09,110 --> 00:05:13,130 For example, in Stage 1, you have the smuggler exploit. 44 00:05:13,130 --> 00:05:16,170 Assume that multiple groups there were using it. 45 00:05:16,170 --> 00:05:21,770 Would that help us create the links necessary to attribute these groups? 46 00:05:22,290 --> 00:05:42,430 Thinking about that vulnerability alone, what you find is, well, it was discovered, a lot of APTs use it, and by the way, the POC for this already exists on GitHub, so the barrier to entry to actually take advantage of this exploit, but use it, is quite low. 47 00:05:42,430 --> 00:05:49,510 So not a good way to sort of disambiguate with groups based on some of their exploit genes. 48 00:05:49,970 --> 00:05:55,750 And so now, looking at StartVortex, just kind of walking through real quick, you know, what they do. 49 00:05:55,750 --> 00:06:00,650 They have a Microsoft help file and a chomp file that has some HTML in it. 50 00:06:00,650 --> 00:06:09,910 It's got some malicious JavaScript, and that throws out its own PowerShell, and then, you know, the PowerShell will deploy, you know, their payload. 51 00:06:10,810 --> 00:06:24,810 Flying Yeti, on the other hand, uses Signal with that WinRAR exploit I mentioned to basically set up a dummy .def and a command file to, I guess, initialize the execution. 52 00:06:24,810 --> 00:06:34,870 So the user gets to see a dummy .pdf that maybe makes sense, maybe doesn't, but in the background, obviously, all the payload is running, and they've got their exploit. 53 00:06:35,310 --> 00:06:39,210 So somewhat different attack paths. 54 00:06:39,270 --> 00:06:45,450 And so if you look at them, there's really overlap only in the payload side, where they're using PowerShell. 55 00:06:45,450 --> 00:06:47,790 But the PowerShell is very different. 56 00:06:47,890 --> 00:06:53,750 In fact, I think the only thing these two have in common is they have very poor use of encryption. 57 00:06:53,750 --> 00:07:01,170 I think one is doing XOR, you know, basic XOR, and the other one is just doing sort of a category substitution. 58 00:07:01,210 --> 00:07:05,010 So , you know, not really that high quality, in my opinion. 59 00:07:06,670 --> 00:07:07,490 All right. 60 00:07:07,490 --> 00:07:11,710 So, you know, that's kind of the challenges that you have when you're doing binary analysis. 61 00:07:12,070 --> 00:07:16,330 So let's pivot over to networks and network TTPs. 62 00:07:16,330 --> 00:07:19,990 What do we mean from that sort of analysis? 63 00:07:19,990 --> 00:07:30,670 So in this instance, we took, you know, a publicly attributable binary to GammaRadon, found it on VirusTotal, and then started exploring what's going on here. 64 00:07:30,710 --> 00:07:34,610 We saw that it uses this .70 IP address for C2. 65 00:07:34,850 --> 00:07:35,730 That's there. 66 00:07:35,730 --> 00:07:37,630 It said it's available on, you know, VirusTotal. 67 00:07:37,630 --> 00:07:38,650 You can see that. 68 00:07:38,730 --> 00:07:41,170 And so we said, okay, let's start looking at this IP. 69 00:07:41,170 --> 00:07:44,090 Let's see what, you know, what we can discern. 70 00:07:44,090 --> 00:07:53,490 And what we find is that there are at least three domains over time that have been attached to that IP address. 71 00:07:53,490 --> 00:07:58,490 So here are domains that have been used in attacks by GammaRadon. 72 00:07:58,670 --> 00:08:04,470 Now, let's take a little bit deeper analysis of that domain name, how it's been used. 73 00:08:04,470 --> 00:08:09,470 So what I've listed here is three different groups, three different time periods. 74 00:08:11,890 --> 00:08:14,190 Basic TTPs for GammaRadon there, right? 75 00:08:14,190 --> 00:08:15,790 They're using specific malware. 76 00:08:16,010 --> 00:08:23,110 And, you know, we've mapped them to known GammaRadon domains, and they're going after various Ukrainian targets. 77 00:08:23,450 --> 00:08:30,670 Fast forward a year or so, you see StarCortex, and they happen to be using the same IP for C2. 78 00:08:30,670 --> 00:08:33,010 And they're also attacking the Ukrainian military. 79 00:08:33,450 --> 00:08:36,710 Fast forward maybe 20 days is what it says here. 80 00:08:36,710 --> 00:08:38,310 And now you have something interesting, right? 81 00:08:38,310 --> 00:08:51,290 So you have TealKarma that uses the same IP, not on Ukrainian fricking stuff, but on more Middle Eastern and NGO website sort of domains. 82 00:08:51,290 --> 00:08:53,150 So kind of a change there. 83 00:08:53,410 --> 00:09:06,570 And so, you know, looking at those three threat actors, right, first you have that the same IP address was used a year apart, okay? 84 00:09:06,570 --> 00:09:08,710 Interesting, right? 85 00:09:10,050 --> 00:09:13,910 StarCortex used that IP address very consistently for about three months. 86 00:09:14,310 --> 00:09:16,570 Okay, so there's a clear pattern there. 87 00:09:17,850 --> 00:09:22,830 When you take a step back and look at this IP address, there's very low global presence, right? 88 00:09:22,830 --> 00:09:31,310 So, you know, trying to do alternate hypotheses as to what this IP would be, you know, the question is, well, is it like a proxy or is it a BVM? 89 00:09:31,310 --> 00:09:35,610 But if that was the case, you would expect to see a much larger global presence. 90 00:09:35,610 --> 00:09:43,230 You don't see that, so it's very indicative of what this community used for a specific group for a specific malicious activity. 91 00:09:45,570 --> 00:09:51,410 Now, you can't really tell from here whether there is absolute cooperation between GammaRadar and StarCortex. 92 00:09:51,710 --> 00:09:53,710 You know, they use the same BVS. 93 00:09:53,870 --> 00:10:00,370 They might have gotten unlucky or lucky, as the case may be, given DHCP churn, and they just happened to get the same IP address. 94 00:10:00,730 --> 00:10:01,710 I don't know. 95 00:10:01,710 --> 00:10:03,530 I don't really believe in coincidences. 96 00:10:03,530 --> 00:10:08,170 But, you know, I will admit that it is possible. 97 00:10:09,310 --> 00:10:11,190 Well, we did that analysis, right? 98 00:10:11,190 --> 00:10:14,910 It let us identify additional infrastructure that was being used by these groups. 99 00:10:14,910 --> 00:10:17,710 We found this 235 IP address. 100 00:10:18,610 --> 00:10:22,870 Now, GammaRadar, as far as we can tell, has never used this IP address. 101 00:10:22,970 --> 00:10:27,270 But StarCortex has, and recall their targets of choice. 102 00:10:27,410 --> 00:10:31,950 And so has Teal Karma, and they have a very different target of choice. 103 00:10:33,390 --> 00:10:36,370 In this case, just 10 days apart. 104 00:10:37,190 --> 00:10:47,590 And so what we see here is that you have StarCortex and Teal Karma 10 days apart using the exact same IP address for two different types of attacks. 105 00:10:47,590 --> 00:10:49,230 Mostly two types of attacks. 106 00:10:49,230 --> 00:10:49,910 Right? 107 00:10:50,050 --> 00:11:01,250 So, now Mary is 10 day period with the earlier analysis for IPA, and now you start saying that these don't really look like coincidences. 108 00:11:01,250 --> 00:11:16,970 What's the chance that C2 infrastructure used across these attackers over a period of a year and a half, and infrastructure that was used over a period of 10 days, both happen to be the coincidence of being used by these attackers. 109 00:11:16,970 --> 00:11:21,150 It just starts to be a little bit prejudiced, if you will. 110 00:11:21,970 --> 00:11:28,750 So, looking at a bit about the hosting provider, so you see that it is BL Networks, right? 111 00:11:28,750 --> 00:11:31,530 And they're associated with Bitbunch.io. 112 00:11:31,530 --> 00:11:38,810 What's interesting about Bitbunch.io is they take Bitcoin to allow you to acquire infrastructure. 113 00:11:38,810 --> 00:11:40,210 So, what does that mean? 114 00:11:40,210 --> 00:11:47,270 That means it's got a lot of interest from some criminalists because of obvious Bitcoin reasons. 115 00:11:47,510 --> 00:11:57,510 Some of the analysis that we've done, though, means attributing different threat actors trying to identify what networks they prefer to use their infrastructure out of. 116 00:11:57,510 --> 00:12:08,290 And in that analysis, what we've seen is the high likelihood or the distribution of networks that Gamma Radon uses is very much centered around this provider. 117 00:12:08,290 --> 00:12:14,170 So, it kind of lends credence to, like, this is good news for malicious behavior. 118 00:12:14,490 --> 00:12:22,230 And so, overall, what this leads to is sort of an assessment, and I will say this is an assessment. 119 00:12:22,790 --> 00:12:30,950 I can't really knock on the threat actors' doors and ask them if I'm right or not, that this overlap is likely not the reason. 120 00:12:32,170 --> 00:12:40,990 So, now let's fast-forward to this year, where we have a new threat actor, Flying Yeti, who is also going after the Ukrainian military. 121 00:12:42,310 --> 00:12:44,710 You see them over here. 122 00:12:47,150 --> 00:12:55,870 Now, taking a look at just the TTPs between Stark, Vortex, and Flying Yeti, you see that there are a set of differences and there are common links. 123 00:12:55,870 --> 00:12:58,350 And there's a theme here. 124 00:12:58,470 --> 00:13:02,890 So, the differences are very much centered around binary analysis. 125 00:13:02,950 --> 00:13:17,550 But where it becomes a little bit more interesting and more difficult to keep those differences, so that separation, is when it comes to the infrastructure leads or the network TTPs that we see used by these groups. 126 00:13:18,030 --> 00:13:21,470 So, I promised some IOCs. 127 00:13:22,830 --> 00:13:28,650 Here are some IOCs that, as far as we can tell, are being used actively by these groups. 128 00:13:28,730 --> 00:13:33,310 I do want to point out that we have obfuscated the last octet. 129 00:13:33,310 --> 00:13:36,150 That is part of DARPA policy. 130 00:13:36,310 --> 00:13:41,750 And so, I don't want to give the impression that the entire Slash-24 is being used for malicious purposes. 131 00:13:41,830 --> 00:13:44,790 It's just a specific IP in each of those. 132 00:13:44,930 --> 00:13:52,850 If you're interested in finding out what those are or following up with me, I'll be at the AICC area at the DARPA stacks. 133 00:13:52,870 --> 00:13:55,510 So, feel free to come out and talk to me. 134 00:13:56,710 --> 00:13:58,190 So, okay. 135 00:13:58,970 --> 00:14:01,070 Showed connections between these groups. 136 00:14:01,450 --> 00:14:03,370 Tied them to a new threat actor. 137 00:14:03,410 --> 00:14:05,250 And I dropped some IOCs. 138 00:14:05,310 --> 00:14:07,010 That makes for a cool DEF CON talk. 139 00:14:07,010 --> 00:14:08,990 That's not really what I do at DARPA. 140 00:14:08,990 --> 00:14:12,230 I focus on advancing scientific concepts. 141 00:14:12,230 --> 00:14:15,790 So, it's not that the IOCs themselves are useful. 142 00:14:15,790 --> 00:14:30,950 I wanted to show you what we do and how we're automating this process over and over again to get a selection of TTPs that each of these threat actors use so then we can sort of lift up and find those behavioral patterns. 143 00:14:32,350 --> 00:14:36,270 So, what happens when we find those behavioral patterns? 144 00:14:36,490 --> 00:14:44,510 Well, we want to be able to run repeatable tests to validate what our results are. 145 00:14:44,510 --> 00:15:02,530 And assuming that we do understand the TTPs' threat actors, we also want to understand what is the information necessary that we should be collecting in terms of security laws or NetFlow or DNS to enable us to identify that sort of behavior in the real world. 146 00:15:02,530 --> 00:15:07,630 Because ultimately, this is about making our red teams better, which is also about making our blue teams better. 147 00:15:07,630 --> 00:15:12,650 And so, we want to be able to show them what they need to be looking for and what they need to be focusing on. 148 00:15:12,650 --> 00:15:15,390 And because of that, we created a testbed. 149 00:15:15,390 --> 00:15:18,750 You can think of this testbed as a Hollywood stage. 150 00:15:18,750 --> 00:15:29,010 It's very well wired up for sound, video, collecting all the information across the board and then being able to do ablation testing to see what's useful and what isn't. 151 00:15:31,430 --> 00:15:41,290 Oftentimes, you get testbeds that are isolated in a lab and then they're of limited interest or use for what happens in the real world. 152 00:15:41,290 --> 00:15:45,730 So, my testbed is live. 153 00:15:45,730 --> 00:15:47,150 It's internet connected. 154 00:15:47,150 --> 00:15:48,550 It is fairly large. 155 00:15:49,090 --> 00:15:54,650 It is geographically distributed, logically distributed. 156 00:15:54,650 --> 00:16:06,530 It has a local testbed with some server infrastructure that allows me to dynamically generate what a target network looks like with local victims. 157 00:16:06,570 --> 00:16:08,850 And there's a SOC associating to this. 158 00:16:08,850 --> 00:16:15,410 Because I'm doing this live, I'm doing it within networks of entities that are working on this program. 159 00:16:15,790 --> 00:16:37,550 So, we have the benefit of being able to run different EDR software to be able to do not just network TTPs across the network or out of the network, but also what you would expect to see inside of the network either on the host or across the different victim posts. 160 00:16:37,550 --> 00:16:39,250 We don't stop there. 161 00:16:39,250 --> 00:16:46,330 So, I mentioned that this is about having infrastructure that productors set up across the internet. 162 00:16:46,450 --> 00:16:50,030 So , apologies, I don't know how to use a clicker. 163 00:16:50,250 --> 00:17:04,630 We also have a telco that we're working with and we're able to put intentionally vulnerable devices that we control so we can watch what these behaviors look like and have their SOC provide us feedback. 164 00:17:04,630 --> 00:17:10,230 So, we're working on helping out at multiple fronts, not just a local peer team, but even our peer team. 165 00:17:10,230 --> 00:17:12,230 This is a big aspiration here. 166 00:17:12,370 --> 00:17:16,890 So, overall, what that lets us do is we get to emulate these cyber operations. 167 00:17:17,350 --> 00:17:25,490 Look in the real world, find these TTPs, understand what those behaviors are, and then build out exactly what those plays look like in an automated fashion. 168 00:17:25,850 --> 00:17:30,790 And then what you get is a bunch of systems all over the place. 169 00:17:31,270 --> 00:17:38,810 You've got your telco SOC, you've got your local SOC, and then voila, you have a DICEL threat actor pivoting through and going after a DOOC. 170 00:17:38,910 --> 00:17:48,490 It gives us the opportunity to understand exactly what we need to see where and understand maybe we don't need to collect certain types of data, and maybe we do need to collect other types of data. 171 00:17:48,890 --> 00:17:52,750 So, in a nutshell, that's really what I'm doing on Spoke. 172 00:17:53,150 --> 00:17:55,050 I'm going to be around, as I said before. 173 00:17:55,050 --> 00:17:58,810 I'll be doing a chat some more about that, about other efforts that I have going on. 174 00:17:59,250 --> 00:18:01,290 Thank you for listening to my talk. 175 00:18:03,770 --> 00:18:04,490 Thank you for listening to my talk.