start	end	text
0	1220	Great, right.
1240	2820	Now we're off to a start, finally.
2820	5420	I thought I wasn't going to give a DEF CON talk then for a bit.
7360	8240	Right.
8580	9260	Cool.
9260	9880	Okay.
9880	10180	Right.
10180	14180	So we're going to get started now, because we're behind time.
14580	19320	So my talk today is some research that I've done over the last three or four years.
19320	25040	I used to work at a large company with a global presence.
25600	36120	And based on some of the assets and facilities that they owned, the Russian APT groups were a large focus of my research in that time.
36120	38200	So that's the basis of the talk.
38200	45760	So it's about Red Russians, how Russian APT groups are following Red Team research, which was a trend I identified when tracking these threat groups.
46440	48140	So a little bit about me.
48300	55760	So I'm a Senior Threat Intelligence Advisor with Team Cymru, which is a CTI company, network intelligence organization.
55840	57720	I've only joined there in April.
57960	60520	So that's been good fun to go there.
60520	67840	But before that, the last three and a half years, I was the head of threat hunting at Equinix, which is the world's largest data center company.
69960	72880	I used to run the threat hunting program there.
72880	79300	So I built it from scratch, built it up, figured out what sorts of tools and datasets we had access to.
80000	82380	Sorry, it's Sunday and I've been here a week.
82380	83940	My throat's a little bit sore.
86520	103180	And it was quite fun there, building everything up from scratch and going ahead and figuring out what adversaries we're interested in, what detections we want to focus on, and figuring out what log sources we have and what parts of the organization are most likely to be targeted by these types of threat actors.
103440	112320	I'm also the co-founder of a trust group, which is basically a group of CTI analysts, where we share intelligence amongst ourselves and work together and collaborate on things.
112620	123700	I'm also the co-author of SANS 4589, Cybercrime Investigations, and also the co-founder of B-Sides Bournemouth, which is the first time we're running it is actually next weekend.
123760	127400	And also the organizer of Bournemouth 2600.
128300	133180	So in short, the Russian intelligence services are being a bit lazy here.
133180	137080	They're copying and monitoring and scanning what researchers are doing.
137280	142760	And then they're incorporating it into their campaigns as soon as this stuff comes out and using it for espionage.
144120	154900	The interesting thing about this is, as defenders, we can kind of exploit this ourselves, and we can kind of follow what the red teams are doing, and sort of building detections and things before it's weaponized and exploited in the wild.
154900	157300	So in essence, we kind of need to try a bit harder.
157300	159820	We shouldn't wait until the adversaries exploited it.
159820	168020	We should be, hopefully, the main takeaway from this talk is we should be following red team research and deploying and implementing detections as it's being released.
168020	171280	And we can kind of assume some adversary is going to use it.
171800	173300	So why this matters.
173540	196280	If anyone here is a red team researcher, offensive security tool developer, interesting thing to consider is that when you release this stuff, there are IPT groups actively monitoring you and seeing as these tools are released and are going to leverage them to hack the governments and public society and organizations in the countries that you live in,
196280	196580	right?
196740	199180	Unless you live in Russia.
200780	214260	So think, maybe sometimes think before you release a tool, it's a good idea to maybe help defenders a little bit and explain the technique that you're leveraging so that they can, so the guys on your side can develop detections and stuff for it.
214260	216300	Because you use those public services, right?
216300	221080	And if your hospital goes down or if the energy gets cut off, you're also impacted by it.
221700	226260	And blue teamers, you should pay attention to what the red teamers release and research.
226260	230460	Like, you know, don't just go to blue team conferences all the time or listen to blue team talks all the time.
230460	233340	Spread out and go and have a look at some of the other stuff, right?
234400	238180	And we're going to get into the rest of it in the rest of the talk.
238180	253760	So the relevant Russian intelligence services I'm going to be kind of mentioning and bringing up today are the military intelligence service, the GRU, which is kind of consisted of APT28, Fancy Bear, Forest Blizzard, that's kind of the main group and organization that you'll see in many of these reports.
253760	257180	And they have been doing this of copying red team research.
257600	265920	Foreign intelligence service, the SVR, also known as APT29, Cozy Bear, Midnight Blizzard, threat group that's been around for many, many years.
265920	267880	You know, they've hacked all sorts of U.S.
267880	269440	government organizations, U.K.
269440	277380	government organizations, NATO organizations, and, you know, famous for launching the SolarWinds supply chain attack.
278000	289540	And then also the Federal Security Service, the FSB, pretty well known, famous, one of the longest running and most technical APT groups out there, also known as Turla, or Venomous Bear, and Secret Blizzard.
289540	298040	I thought I'd add some of the APT names since some of the vendors have started to, like, collaborate and share information about what they call each one.
298580	300960	But, you know, these groups have been using it.
300980	311380	So, the first example of one of the more recent examples of this that I observed was M365 device code phishing by the SVR in February of this year.
311440	329760	So, this is a pretty straightforward campaign where they figured out that if you can trigger kind of a login using the device code, which is kind of usually used for smart TVs, other sorts of things, and sort of corporate offices, it's a feature that Microsoft implemented where it's easy to log into things.
329760	334260	And essentially, you just need to get a code from someone who has an M365 account.
334400	342540	And they created lures that pose a sort of WhatsApp messages signal, even element Microsoft Teams messages and stuff.
342940	352680	And they kind of leveraged this to target governments and non-government organizations across, you know, multiple regions, U.S., Europe, as well, as you can probably imagine.
352680	364580	So, the interesting thing about this was that in some of the research where they said this threat group was leveraging this technique, none of the research was saying that this exact technique was disclosed by Black Hills in 2023.
365060	367540	So, this is already a known technique.
367540	370100	It's not a zero day, it's not an exploit or anything.
370100	378180	This is something that a well-known, well-respected red team research sort of organization had shared and shown people how to use.
378180	385260	But the number of organizations that probably already had detections put in place for this is, you know, probably in minuscule numbers.
385800	389100	It's just an example of what this type of attack looked like.
390540	394620	For each of these, I'm going to kind of share some detection opportunities, log sources.
394620	399340	While some of these are probably going to be, you know, somewhat old techniques, there are ways to detect these.
399340	400580	Not actually that hard.
400580	407340	When these blocks come out, you should be able to just scan through them, build some detections, you know, test them out and deploy them.
407340	409820	Shouldn't take longer than an afternoon, really.
410680	413700	In this one, it was simply just slash device login.
413700	415600	That was what the users were seeing.
415760	419280	And that's what the adversaries were sending to the threat actors.
419280	422560	You can see it in social... and they also will add log sources as well.
422560	428460	So, places where you get URLs, your web proxies, things like Zscaler, and also email logs as well.
429240	434820	So, RDP config phishing, another big one that we saw in October 2024, less than a year ago.
434820	442900	These were being used to target sort of Ukrainian government organizations and it spread and hit other sort of UK and US organizations as well.
442900	455280	This is pretty straightforward, where they just literally send you an RDP config file to the user, the user runs it, and then they just grab the credentials and sort of remotely connect to the adversary system.
455340	464140	And by doing that, they've kind of created a channel between the two systems and then they can, you know, run all sorts of other commands and things to do whatever they want to do next.
464140	467300	Steal files, deliver additional malware, as you can imagine.
467340	472220	Again, this exact same thing was disclosed by Black Hills in February 2022.
472580	476460	So, you know, the SCR are reading this blog evidently, in my mind.
476460	489620	They've figured out what technology their targets use and they've gone and researched which vendors published this research on how to exploit this technology and just incorporated it into their campaigns.
489620	491340	It's not that sophisticated.
491440	502180	I feel like, you know, Black Hills and stuff, other organizations, they put such good detail in how to do these and emulate these types of attacks that, you know, pretty much any, you know, APT group could do this if they wanted to.
503220	508040	Again, just an example of what it looks like from the sort of victim's perspective.
510200	512260	Does the two detect RDP config version?
512260	513640	Again, it's not that difficult.
513640	519640	If you see .rdp as email attachments, again, clear sign of something that's going to be pretty suspicious.
519640	525720	You never really see that in sort of day-to-day or running of a business.
525720	528160	People sending RDP config files.
528600	533840	So, again, and some of the things you want to look for is through the email gateway logs and Windows event logs to detect this stuff.
535280	553240	Azure ID, also known as intro nowadays, which means, like, come in, come in in Spanish, which is quite apt, really, because the SPR had been caught doing password spraying attacks against Azure login pages and login fields and stuff.
553380	564280	The issue with this was that this had basically been going on for years, and, you know, the UK NCSC had put out a report about this saying they had been doing this for a really long extended time.
564380	576700	And the interesting thing about this was that Ars Technica and Secureworks put out a sort of an advisory saying there was a basically a bug in Azure ID where you could just password spray it infinitely.
576700	578640	There was no rate limiting whatsoever.
578880	583780	So, as soon as that news got out, you know, again, SVR straight away will start using this stuff.
583780	591660	And it's not until years later that some of this stuff can actually be attributed to these sorts of organizations, because, again, they're going to be in the blog.
591660	594180	They were saying they were using things like residential proxies.
594180	596760	They're using rotating IP addresses.
597360	603820	And, you know, you have to be kind of a sort of at the intelligence level to be able to analyze and attribute some of this stuff.
603820	609820	So, you know, hats off and thanks to the security services for sharing their attribution with us.
610780	611420	Yeah.
611420	613260	This is a screenshot from the article.
614480	616800	Detecting Azure ID and entry stuff.
616800	617960	Password spraying.
618500	620020	This was kind of a funny one.
620020	625520	Of course, if you see multiple failed login attempts, it's going to be examples of password spraying.
625520	629800	Not too difficult to spot if you're actually paying attention to this stuff.
629940	632400	But at the end of the day, it's also useful.
632400	634520	So, some of this stuff was very low and slow.
634520	637620	So, it would be like one request an hour or something like that.
637620	641920	So, you may not see all of these missed password logins attempts.
641920	649200	But you may see the threat actors coming at you from things like VPN exit nodes, from residential proxies and Tor nodes.
649200	658280	So, it's good to have the IP enrichment to be able to detect that stuff and correlate and see if you're getting a sort of a low and slow password spraying attack.
658440	666160	And, of course, you're going to have to have a look at the Microsoft Entra ID protection sources to be able to see this stuff.
667000	670600	Team City exploited by the SVR in October 2023.
670600	672740	So, over two years ago.
672960	682940	This is an interesting one because basically researchers who work for Rapid7 released this as a public exploit after they had discovered it.
682940	683920	You know, fair play to them.
683920	685780	They've researched the vulnerability.
686020	687100	They've been able to find it.
687100	688700	They disclosed it to the vendor.
688700	693780	And they've kind of done their part of the sort of industry norms in a way.
693780	698300	But as soon as that exploit was released, the SVR jumped on it straight.
698300	700200	This is probably one of the fastest examples of it.
700200	710580	Within a week, they had grabbed that POC, proof of concept exploit, and started hitting as many organizations as they can with it, including, you know, government organizations.
711580	719480	And here's an example of the chain of sort of delivery that was included in the advisories about what the SVR was doing.
720240	724560	But, again, another example of them copying and monitoring and copying.
725400	740620	This one wasn't, again, in these sorts of scenarios, the targeting organizations that may not have the sort of latest modern security controls, things like endpoint detection response software or maybe they're not even, you know, running Sysbon on some of this stuff.
740680	757580	But, again, it's not actually too difficult to spot if you do have those controls because you'll be seeing unusual activity commands like wget and requests to things like trycloudflare.com running on the Windows server that's hosting your sort of TeamCity applications.
757740	759080	Very suspicious stuff.
759080	762560	You know, as a threat hunter, I would kind of see this stuff right away.
762640	766960	But, again, we're thinking about organizations that don't have some of these capabilities.
767000	774420	Some of you may work for, you know, SOC teams or threat hunt teams or CTI teams, but they're probably very well-resourced organizations, right?
774560	780840	But, yeah, if you work for an MSSP as well, it's another example of something to hunt for, something to detect.
782220	783640	Microsoft Teams Phishing.
783640	798660	This was a funny one because as soon as Microsoft announced this feature where a user and an external tenant could message another user and another tenant, I realized straight away, you know, APT groups are going to be using this.
798660	801960	There's some features that come out you just know are going to be abused.
802780	815680	And, again, this is another example of as soon as this stuff starts to get talked about, as soon as some of the tools start to be developed and shared, the APT groups have jumped on it straight away and started spear phishing.
816300	835040	A lot of the sort of Ministry of Foreign Affairs and government agencies, military organizations, and a lot of the targets of these types of campaigns have been within the sort of sphere of involvement with the Ukrainian war in Ukraine and invasion by Ukraine by Russia.
836880	838640	This is an example of what it looks like.
838640	846040	You get a message from a user and an external tenant and basically the user would just click on it and then they ask you for a code.
846040	848780	You enter the code and they've taken over your account.
850460	858840	Detecting Microsoft Teams Phishing, not too, a little bit trickier because, you know, it's using legitimate infrastructure, right?
858840	874300	You're seeing suspicious emails involving the legit on Microsoft.com domain and they kind of compromise either compromising tenants or using the valid tenants that they've spun up as either to send and spear phish this stuff.
874680	881060	And I guess the easiest way to deal with this is that you just turn off external access in Microsoft Teams.
881060	884560	If you've not done already, you know, definitely please do that.
884640	893380	And it wasn't too long that sort of the cybercrime groups, things like Darkgate affiliated with Black Buster had started using that as well.
894120	896260	But, you know, SVR was ahead of the game.
897140	900880	HTML smuggling, this is back in May 2021.
900880	907800	Like, this is hopefully underscoring, like, how many years they've been doing this and, you know, I've been seeing it over and over again.
907880	917020	But I didn't see any of the sort of APT researchers, the organizations that are tracking this stuff, linking it back to research that's already been published.
917020	924880	So, this campaign is going on in May 2021, but this technique has already been blogged about, leveraged by red teamers since 2018.
925340	934080	So, in theory, if it's that long ago, everyone should be aware of it, have detections in place for it, the security tools should have detections in place for it.
934820	940640	And, you know, there's quite a bit of lag time and opportunity for you to detect this and catch this stuff.
941320	955480	HTML smuggling is an interesting one, because basically you send an HTML file and it basically decodes into a ISO file, an image file, which is kind of a container for other sort of file extensions as well.
955480	959580	You know, you'll have executables and DLLs and stuff inside of there.
959580	962020	It gets mounted when you execute it.
962020	964320	And then basically a PDF will appear.
964320	969420	So, to the user, they just click on the attachment of the email, and then a PDF appears on their system.
969420	977580	Meanwhile, it's gone in the background, it's decoded it, and it's, you know, expanded it, and then runs sort of malware in the background.
977700	983920	I think it was also using DLL sideloading of some of the Adobe Acrobat applications.
984880	987020	So, detecting HTML smuggling.
987880	988660	Yeah.
989160	991900	Sideloading and acrosub.exe mounting.
991900	995060	This is probably something you may want to look into.
995060	999060	It's just a general mounting of ISO files by explorer.exe.
999060	1004040	Sometimes you'll get some users, maybe IT personnel, using that legitimately.
1004100	1008760	But if you see, you know, Karen and finance doing it, you're like, hold up, what's going on here?
1009620	1012120	The outbound connections to the Dropbox API.
1012120	1023040	Again, if Dropbox is like a sanctioned SaaS application or a sanctioned application inside of your organization, then you may have a trickier time detecting malicious activity related to it.
1023420	1030220	But again, if you're, one of the main things of being a threat hunter is to understand what's normal in your environment, what's allowed in your environment.
1030220	1034800	If some of this stuff isn't allowed, then you're going to want to investigate or just block it.
1036260	1037320	Click fix.
1037320	1039000	Again, this is an interesting one.
1039000	1043880	John Hammond released a blog, released a tool on GitHub in September 2024.
1044240	1051620	He kind of, there was some, I think there was some discussions of threat actors using it or other researchers playing around with it.
1051620	1056020	And then he decided to release this tool to, you know, raise awareness about the problem.
1056220	1058460	Legitimate concern.
1058840	1062800	But as soon as he did that, all sorts of threat actors started using it as well.
1063640	1075220	And one of the most interesting and notable ones was that CERT Ukraine observed APT28, Russian GRU, had been using this exact technique to be able to spear fish people.
1076080	1083100	And this is an interesting one because it basically appears like a capture, capture verification.
1083100	1091700	And it pops up, you press Windows R, the code is already copied to your clipboard, so you press Windows V and it just runs the script.
1092020	1095160	And all sorts of cyber criminals have been using this as well.
1095160	1099060	But it was just interesting to see an APT group hop on it and try it straight away.
1100980	1112980	Detecting clicks fix is a little bit trickier because some of this is going to need things like full PowerShell script blogging, which not all EDRs do that I came to learn when I was working at my last place.
1113420	1123020	And it is generally a trickier technique to be able to detect and run because it's inviting the user to basically copy and paste the script and run it.
1123020	1133040	If that user is like basically already a local admin, again, if you think you're running with a high privileged context, you're going to be able to open that back door on that system.
1134540	1138800	Some people recommend doing sort of clipboard monitoring to detect this kind of thing.
1138800	1143120	And again, it depends on the context of the organization.
1143120	1149720	I wouldn't necessarily recommend doing that because then you have a treasure trove of data in there that an APT is going to go after as well.
1150180	1156360	But a tricky one definitely is more recent, so I definitely recommend reviewing this one if you've not done so already.
1157460	1160480	And this was a timeline I built up.
1160480	1171920	This is a nice example of basically all the research that I've and events and incidents that have appeared over the last, you know, four or five years as I've been researching these threat actors.
1171920	1174980	I've just noticed this is a trend of something they like to do.
1175140	1191140	And I'm kind of sharing that with you guys today to be able to, you know, take note of who's releasing this research or when a new piece of research comes out that's pretty, you know, interesting, a little bit spicy, involving Microsoft 365 in particular or targeting,
1191140	1195400	running a sort of pre-auth exploit, those sorts of POCs that appear on GitHub.
1195500	1200180	If you see this stuff, you know, take note of it and start playing around, start building detections for it.
1200180	1206880	Don't sit back and wait for the APT report to come out because sometimes it's going to be years before, you know, we actually know about this stuff.
1207940	1213960	The other thing to note with this timeline is that it can be years, but in other cases, they can actually do it really quickly.
1214040	1220440	So, the Microsoft Teams phishing tool, as soon as that was released, literally the next few days probably after that was released, they started using it.
1220440	1222600	Same with the Microsoft Team City exploit.
1222860	1230040	If you release one of these tools, it just goes to show threat actors are using it straightaway as soon as you drop that and make it public.
1230040	1234400	So, think before you click, you know, make public on that GitHub repo, right?
1235030	1246700	So, another resource that I've created that should be useful for people here is a GitHub project called the Russian APT tool matrix.
1247320	1256280	Essentially, I've gone through my research over the years or mentioning all these different APT groups and what tools they use in their campaigns.
1256280	1261360	While they do use quite a lot of, you know, legit malware... not legit malware.
1261400	1277660	While they use a lot of legitimate tools, but they also develop custom malware, it's legitimate tools that are things that are kind of... it's a variable that we can kind of see being reused and it's something that's more likely to stay the same than a piece of malware that's going to be custom with the custom,
1277660	1281680	you know, command and control communications mechanisms as well.
1282080	1284220	These are broken down into different categories.
1284460	1299380	So, we have the credential theft tools, defense evasion tools, discovery, exfiltration, all this sorts of stuff that you can go ahead and build detections for and you're making it harder for the APT groups to operate inside of that in your environment.
1300600	1305820	This is an example of Cozy Bear, which is the SVR's, you know, Nick Crowdstrike's name for the SVR.
1305820	1309300	They have quite a wide range of tools that they use.
1309300	1317720	So, they'll use a lot of the Red Team stuff for enumeration and discovery inside of Microsoft 365 environments.
1317720	1332120	They're going to be using EDR detection disabling tools, EDR sandblast, all sorts of interesting credential theft, Mimikatz, pretty much every APT group has been seen to use that as far as I can see.
1332120	1334040	And then lots of different offset tools.
1334040	1338820	So, they're running CobaltStrike, ImpactKit, Sliver is a pretty popular one.
1338820	1346300	They've also been observed using Brute Retail C4, which was kind of released as cracked on the cybercrime underground.
1346500	1349700	And that's kind of potentially how they managed to get their hands on that.
1350540	1364560	Exfiltration, I think Recorder Future has done some great stuff on looking at the different exfiltration techniques that they've been using to basically leveraging those APIs to do communications with their malware.
1364560	1371120	So, I kind of just listed the different SaaS applications, cloud file sharing applications that they used to do that.
1372120	1374120	Intelligence driven threat hunting and engineering.
1374120	1377720	This is kind of example of my process of when I was at my last job.
1377720	1386400	So, the CTI team would do the collection, the reporting, the IOC and TTP sharing, and then the dissemination to the threat hunting team.
1386400	1388580	In some cases, I was both those people.
1388580	1395380	I was the one doing the collection and reporting and then going and searching and analyzing and creating rules around it.
1395380	1398300	It may be the same in some of your organizations as well.
1398300	1404420	But then I worked with the security engineering team to do that rule vetting, rule deploying and rule refining.
1404540	1412500	This is where you've gone and created queries for activities that you think or that you've observed and seen reported.
1412720	1419700	But then you also need to see if that rule is deployed, is it actually going to detect something when it's run on that system?
1419700	1424920	So, you can kind of in this regard, you have to kind of do a little bit of adversary emulation.
1424920	1430500	You're going to have to be running tools, extracting the artifacts from some of these tools and leveraging those as well.
1432260	1437780	And the next slide is pretty much the QR codes to the rest of the resources.
1437960	1440760	So, feel free to scan those quick if you want.
1442800	1444080	And thanks for listening.
1444080	1444860	Thanks, everyone.
1452660	1455280	I don't think we have any time for questions because we started late.
