As I was introduced, I'm Tejinder Patel. I've been a Program Manager at DARPA for about 5 years now. One of my programs is SMOKE, or Signature Management, usually Operation Knowledge or Environments. At a high level, what is this program going to do? Automated, Scalable, Threat Emulated, Life Cycle Management, Cyber Engineering. So, automated, which means I want computers to do the hard work, not humans. Scalable, I want to do a lot of it. Threat Emulated, which means I want to understand what different threat actors look like on the internet, especially from their infrastructure and their network. Life Cycle Management, so that means the acquisition, the usage, the disposal of this infrastructure. 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. That's what SMOKE is in a nutshell. Now , why are we doing SMOKE? 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. 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. So the name we keep here is automate as much as you can. So the program is broken up into two technical areas. That's usually how DARPA runs programs. On the left hand side, you have the automated planning and execution. 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. 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. So red teamers can spend their time not on setting up infrastructure and managing it, but on doing actual red team operations. On the right hand side, you have the TA2 or the signature management piece. So the concept here is we want to take large scale data and automate the process by actually identifying and attributing different threat actors. 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. Because what that allows us to do is mimic those exact patterns when it comes time to actually doing a red team assessment. So that's the why, if you will, and maybe even the how. 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. This is an analysis that was done on open source information, publicly available information, and we kind of curated it together. So diving into that, I'm going to do three things here. 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. 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. 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. So I'm going to find some IOCs for infrastructure being used by Flying Yeti against Flying Vortex. So looking at threat actors, I mentioned Gamma Radon, Stark Vortex, and Flying Yeti. One way you can start doing attribution is by breaking out the groups based on targeting. Now all of these groups are targeting Ukrainian military. Not surprising given the current geopolitical events, so it's hard to say, hey, they're all related because of that. But we can look at their binaries, see what their binary analysis shows us. So you look at the tooling used by these three threat actors, and the attacks that exist, and there's really not much overlap. The only place there's an overlap is in the initial access, and they're using phishing. 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. Now, let's assume for a moment that, you know, there was overlap. For example, in Stage 1, you have the smuggler exploit. Assume that multiple groups there were using it. Would that help us create the links necessary to attribute these groups? 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. So not a good way to sort of disambiguate with groups based on some of their exploit genes. And so now, looking at StartVortex, just kind of walking through real quick, you know, what they do. They have a Microsoft help file and a chomp file that has some HTML in it. 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. 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. 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. So somewhat different attack paths. And so if you look at them, there's really overlap only in the payload side, where they're using PowerShell. But the PowerShell is very different. In fact, I think the only thing these two have in common is they have very poor use of encryption. I think one is doing XOR, you know, basic XOR, and the other one is just doing sort of a category substitution. So , you know, not really that high quality, in my opinion. All right. So, you know, that's kind of the challenges that you have when you're doing binary analysis. So let's pivot over to networks and network TTPs. What do we mean from that sort of analysis? 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. We saw that it uses this .70 IP address for C2. That's there. It said it's available on, you know, VirusTotal. You can see that. And so we said, okay, let's start looking at this IP. Let's see what, you know, what we can discern. And what we find is that there are at least three domains over time that have been attached to that IP address. So here are domains that have been used in attacks by GammaRadon. Now, let's take a little bit deeper analysis of that domain name, how it's been used. So what I've listed here is three different groups, three different time periods. Basic TTPs for GammaRadon there, right? They're using specific malware. And, you know, we've mapped them to known GammaRadon domains, and they're going after various Ukrainian targets. Fast forward a year or so, you see StarCortex, and they happen to be using the same IP for C2. And they're also attacking the Ukrainian military. Fast forward maybe 20 days is what it says here. And now you have something interesting, right? 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. So kind of a change there. 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? Interesting, right? StarCortex used that IP address very consistently for about three months. Okay, so there's a clear pattern there. When you take a step back and look at this IP address, there's very low global presence, right? 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? But if that was the case, you would expect to see a much larger global presence. You don't see that, so it's very indicative of what this community used for a specific group for a specific malicious activity. Now, you can't really tell from here whether there is absolute cooperation between GammaRadar and StarCortex. You know, they use the same BVS. 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. I don't know. I don't really believe in coincidences. But, you know, I will admit that it is possible. Well, we did that analysis, right? It let us identify additional infrastructure that was being used by these groups. We found this 235 IP address. Now, GammaRadar, as far as we can tell, has never used this IP address. But StarCortex has, and recall their targets of choice. And so has Teal Karma, and they have a very different target of choice. In this case, just 10 days apart. 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. Mostly two types of attacks. Right? 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. 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. It just starts to be a little bit prejudiced, if you will. So, looking at a bit about the hosting provider, so you see that it is BL Networks, right? And they're associated with Bitbunch.io. What's interesting about Bitbunch.io is they take Bitcoin to allow you to acquire infrastructure. So, what does that mean? That means it's got a lot of interest from some criminalists because of obvious Bitcoin reasons. 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. 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. So, it kind of lends credence to, like, this is good news for malicious behavior. And so, overall, what this leads to is sort of an assessment, and I will say this is an assessment. 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. 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. You see them over here. 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. And there's a theme here. So, the differences are very much centered around binary analysis. 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. So, I promised some IOCs. Here are some IOCs that, as far as we can tell, are being used actively by these groups. I do want to point out that we have obfuscated the last octet. That is part of DARPA policy. And so, I don't want to give the impression that the entire Slash-24 is being used for malicious purposes. It's just a specific IP in each of those. 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. So, feel free to come out and talk to me. So, okay. Showed connections between these groups. Tied them to a new threat actor. And I dropped some IOCs. That makes for a cool DEF CON talk. That's not really what I do at DARPA. I focus on advancing scientific concepts. So, it's not that the IOCs themselves are useful. 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. So, what happens when we find those behavioral patterns? Well, we want to be able to run repeatable tests to validate what our results are. 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. Because ultimately, this is about making our red teams better, which is also about making our blue teams better. 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. And because of that, we created a testbed. You can think of this testbed as a Hollywood stage. 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. 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. So, my testbed is live. It's internet connected. It is fairly large. It is geographically distributed, logically distributed. It has a local testbed with some server infrastructure that allows me to dynamically generate what a target network looks like with local victims. And there's a SOC associating to this. Because I'm doing this live, I'm doing it within networks of entities that are working on this program. 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. We don't stop there. So, I mentioned that this is about having infrastructure that productors set up across the internet. So , apologies, I don't know how to use a clicker. 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. So, we're working on helping out at multiple fronts, not just a local peer team, but even our peer team. This is a big aspiration here. So, overall, what that lets us do is we get to emulate these cyber operations. 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. And then what you get is a bunch of systems all over the place. 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. 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. So, in a nutshell, that's really what I'm doing on Spoke. I'm going to be around, as I said before. I'll be doing a chat some more about that, about other efforts that I have going on. Thank you for listening to my talk. Thank you for listening to my talk.