WEBVTT

00:12.390 --> 00:14.730
As I was introduced, I'm Tejinder Patel.

00:14.730 --> 00:17.270
I've been a Program Manager at DARPA for about 5 years now.

00:17.510 --> 00:23.090
One of my programs is SMOKE, or Signature Management, usually Operation Knowledge or Environments.

00:23.570 --> 00:26.390
At a high level, what is this program going to do?

00:26.710 --> 00:31.030
Automated, Scalable, Threat Emulated, Life Cycle Management, Cyber Engineering.

00:31.030 --> 00:34.510
So, automated, which means I want computers to do the hard work, not humans.

00:34.710 --> 00:36.510
Scalable, I want to do a lot of it.

00:36.510 --> 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.

00:45.330 --> 00:51.470
Life Cycle Management, so that means the acquisition, the usage, the disposal of this infrastructure.

00:51.790 --> 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.

01:04.670 --> 01:07.110
That's what SMOKE is in a nutshell.

01:07.370 --> 01:08.930
Now , why are we doing SMOKE?

01:09.150 --> 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.

01:24.170 --> 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.

01:33.690 --> 01:37.670
So the name we keep here is automate as much as you can.

01:37.890 --> 01:42.370
So the program is broken up into two technical areas.

01:42.370 --> 01:44.250
That's usually how DARPA runs programs.

01:44.250 --> 01:47.750
On the left hand side, you have the automated planning and execution.

01:47.810 --> 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.

02:04.490 --> 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.

02:13.630 --> 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.

02:20.650 --> 02:25.290
On the right hand side, you have the TA2 or the signature management piece.

02:25.290 --> 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.

02:35.630 --> 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.

02:49.470 --> 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.

02:57.670 --> 03:01.510
So that's the why, if you will, and maybe even the how.

03:01.590 --> 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.

03:08.910 --> 03:18.030
This is an analysis that was done on open source information, publicly available information, and we kind of curated it together.

03:18.030 --> 03:27.390
So diving into that, I'm going to do three things here.

03:27.390 --> 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.

03:44.010 --> 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.

03:54.490 --> 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.

04:03.330 --> 04:11.250
So I'm going to find some IOCs for infrastructure being used by Flying Yeti against Flying Vortex.

04:11.690 --> 04:18.970
So looking at threat actors, I mentioned Gamma Radon, Stark Vortex, and Flying Yeti.

04:18.970 --> 04:24.550
One way you can start doing attribution is by breaking out the groups based on targeting.

04:24.550 --> 04:28.530
Now all of these groups are targeting Ukrainian military.

04:28.950 --> 04:36.270
Not surprising given the current geopolitical events, so it's hard to say, hey, they're all related because of that.

04:36.270 --> 04:40.730
But we can look at their binaries, see what their binary analysis shows us.

04:41.370 --> 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.

04:50.890 --> 04:56.590
The only place there's an overlap is in the initial access, and they're using phishing.

04:56.590 --> 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.

05:03.870 --> 05:09.110
Now, let's assume for a moment that, you know, there was overlap.

05:09.110 --> 05:13.130
For example, in Stage 1, you have the smuggler exploit.

05:13.130 --> 05:16.170
Assume that multiple groups there were using it.

05:16.170 --> 05:21.770
Would that help us create the links necessary to attribute these groups?

05:22.290 --> 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.

05:42.430 --> 05:49.510
So not a good way to sort of disambiguate with groups based on some of their exploit genes.

05:49.970 --> 05:55.750
And so now, looking at StartVortex, just kind of walking through real quick, you know, what they do.

05:55.750 --> 06:00.650
They have a Microsoft help file and a chomp file that has some HTML in it.

06:00.650 --> 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.

06:10.810 --> 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.

06:24.810 --> 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.

06:35.310 --> 06:39.210
So somewhat different attack paths.

06:39.270 --> 06:45.450
And so if you look at them, there's really overlap only in the payload side, where they're using PowerShell.

06:45.450 --> 06:47.790
But the PowerShell is very different.

06:47.890 --> 06:53.750
In fact, I think the only thing these two have in common is they have very poor use of encryption.

06:53.750 --> 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.

07:01.210 --> 07:05.010
So , you know, not really that high quality, in my opinion.

07:06.670 --> 07:07.490
All right.

07:07.490 --> 07:11.710
So, you know, that's kind of the challenges that you have when you're doing binary analysis.

07:12.070 --> 07:16.330
So let's pivot over to networks and network TTPs.

07:16.330 --> 07:19.990
What do we mean from that sort of analysis?

07:19.990 --> 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.

07:30.710 --> 07:34.610
We saw that it uses this .70 IP address for C2.

07:34.850 --> 07:35.730
That's there.

07:35.730 --> 07:37.630
It said it's available on, you know, VirusTotal.

07:37.630 --> 07:38.650
You can see that.

07:38.730 --> 07:41.170
And so we said, okay, let's start looking at this IP.

07:41.170 --> 07:44.090
Let's see what, you know, what we can discern.

07:44.090 --> 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.

07:53.490 --> 07:58.490
So here are domains that have been used in attacks by GammaRadon.

07:58.670 --> 08:04.470
Now, let's take a little bit deeper analysis of that domain name, how it's been used.

08:04.470 --> 08:09.470
So what I've listed here is three different groups, three different time periods.

08:11.890 --> 08:14.190
Basic TTPs for GammaRadon there, right?

08:14.190 --> 08:15.790
They're using specific malware.

08:16.010 --> 08:23.110
And, you know, we've mapped them to known GammaRadon domains, and they're going after various Ukrainian targets.

08:23.450 --> 08:30.670
Fast forward a year or so, you see StarCortex, and they happen to be using the same IP for C2.

08:30.670 --> 08:33.010
And they're also attacking the Ukrainian military.

08:33.450 --> 08:36.710
Fast forward maybe 20 days is what it says here.

08:36.710 --> 08:38.310
And now you have something interesting, right?

08:38.310 --> 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.

08:51.290 --> 08:53.150
So kind of a change there.

08:53.410 --> 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?

09:06.570 --> 09:08.710
Interesting, right?

09:10.050 --> 09:13.910
StarCortex used that IP address very consistently for about three months.

09:14.310 --> 09:16.570
Okay, so there's a clear pattern there.

09:17.850 --> 09:22.830
When you take a step back and look at this IP address, there's very low global presence, right?

09:22.830 --> 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?

09:31.310 --> 09:35.610
But if that was the case, you would expect to see a much larger global presence.

09:35.610 --> 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.

09:45.570 --> 09:51.410
Now, you can't really tell from here whether there is absolute cooperation between GammaRadar and StarCortex.

09:51.710 --> 09:53.710
You know, they use the same BVS.

09:53.870 --> 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.

10:00.730 --> 10:01.710
I don't know.

10:01.710 --> 10:03.530
I don't really believe in coincidences.

10:03.530 --> 10:08.170
But, you know, I will admit that it is possible.

10:09.310 --> 10:11.190
Well, we did that analysis, right?

10:11.190 --> 10:14.910
It let us identify additional infrastructure that was being used by these groups.

10:14.910 --> 10:17.710
We found this 235 IP address.

10:18.610 --> 10:22.870
Now, GammaRadar, as far as we can tell, has never used this IP address.

10:22.970 --> 10:27.270
But StarCortex has, and recall their targets of choice.

10:27.410 --> 10:31.950
And so has Teal Karma, and they have a very different target of choice.

10:33.390 --> 10:36.370
In this case, just 10 days apart.

10:37.190 --> 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.

10:47.590 --> 10:49.230
Mostly two types of attacks.

10:49.230 --> 10:49.910
Right?

10:50.050 --> 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.

11:01.250 --> 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.

11:16.970 --> 11:21.150
It just starts to be a little bit prejudiced, if you will.

11:21.970 --> 11:28.750
So, looking at a bit about the hosting provider, so you see that it is BL Networks, right?

11:28.750 --> 11:31.530
And they're associated with Bitbunch.io.

11:31.530 --> 11:38.810
What's interesting about Bitbunch.io is they take Bitcoin to allow you to acquire infrastructure.

11:38.810 --> 11:40.210
So, what does that mean?

11:40.210 --> 11:47.270
That means it's got a lot of interest from some criminalists because of obvious Bitcoin reasons.

11:47.510 --> 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.

11:57.510 --> 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.

12:08.290 --> 12:14.170
So, it kind of lends credence to, like, this is good news for malicious behavior.

12:14.490 --> 12:22.230
And so, overall, what this leads to is sort of an assessment, and I will say this is an assessment.

12:22.790 --> 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.

12:32.170 --> 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.

12:42.310 --> 12:44.710
You see them over here.

12:47.150 --> 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.

12:55.870 --> 12:58.350
And there's a theme here.

12:58.470 --> 13:02.890
So, the differences are very much centered around binary analysis.

13:02.950 --> 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.

13:18.030 --> 13:21.470
So, I promised some IOCs.

13:22.830 --> 13:28.650
Here are some IOCs that, as far as we can tell, are being used actively by these groups.

13:28.730 --> 13:33.310
I do want to point out that we have obfuscated the last octet.

13:33.310 --> 13:36.150
That is part of DARPA policy.

13:36.310 --> 13:41.750
And so, I don't want to give the impression that the entire Slash-24 is being used for malicious purposes.

13:41.830 --> 13:44.790
It's just a specific IP in each of those.

13:44.930 --> 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.

13:52.870 --> 13:55.510
So, feel free to come out and talk to me.

13:56.710 --> 13:58.190
So, okay.

13:58.970 --> 14:01.070
Showed connections between these groups.

14:01.450 --> 14:03.370
Tied them to a new threat actor.

14:03.410 --> 14:05.250
And I dropped some IOCs.

14:05.310 --> 14:07.010
That makes for a cool DEF CON talk.

14:07.010 --> 14:08.990
That's not really what I do at DARPA.

14:08.990 --> 14:12.230
I focus on advancing scientific concepts.

14:12.230 --> 14:15.790
So, it's not that the IOCs themselves are useful.

14:15.790 --> 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.

14:32.350 --> 14:36.270
So, what happens when we find those behavioral patterns?

14:36.490 --> 14:44.510
Well, we want to be able to run repeatable tests to validate what our results are.

14:44.510 --> 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.

15:02.530 --> 15:07.630
Because ultimately, this is about making our red teams better, which is also about making our blue teams better.

15:07.630 --> 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.

15:12.650 --> 15:15.390
And because of that, we created a testbed.

15:15.390 --> 15:18.750
You can think of this testbed as a Hollywood stage.

15:18.750 --> 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.

15:31.430 --> 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.

15:41.290 --> 15:45.730
So, my testbed is live.

15:45.730 --> 15:47.150
It's internet connected.

15:47.150 --> 15:48.550
It is fairly large.

15:49.090 --> 15:54.650
It is geographically distributed, logically distributed.

15:54.650 --> 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.

16:06.570 --> 16:08.850
And there's a SOC associating to this.

16:08.850 --> 16:15.410
Because I'm doing this live, I'm doing it within networks of entities that are working on this program.

16:15.790 --> 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.

16:37.550 --> 16:39.250
We don't stop there.

16:39.250 --> 16:46.330
So, I mentioned that this is about having infrastructure that productors set up across the internet.

16:46.450 --> 16:50.030
So , apologies, I don't know how to use a clicker.

16:50.250 --> 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.

17:04.630 --> 17:10.230
So, we're working on helping out at multiple fronts, not just a local peer team, but even our peer team.

17:10.230 --> 17:12.230
This is a big aspiration here.

17:12.370 --> 17:16.890
So, overall, what that lets us do is we get to emulate these cyber operations.

17:17.350 --> 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.

17:25.850 --> 17:30.790
And then what you get is a bunch of systems all over the place.

17:31.270 --> 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.

17:38.910 --> 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.

17:48.890 --> 17:52.750
So, in a nutshell, that's really what I'm doing on Spoke.

17:53.150 --> 17:55.050
I'm going to be around, as I said before.

17:55.050 --> 17:58.810
I'll be doing a chat some more about that, about other efforts that I have going on.

17:59.250 --> 18:01.290
Thank you for listening to my talk.

18:03.770 --> 18:04.490
Thank you for listening to my talk.

