WEBVTT

00:00.000 --> 00:02.000
Good morning, thanks for coming out.

00:02.640 --> 00:05.780
I was gonna say at 10, but at this point it's like 10.20.

00:06.300 --> 00:07.020
Sorry.

00:07.320 --> 00:08.480
My name is Phillip Martin.

00:08.960 --> 00:10.760
I am the CISO at Coinbase.

00:10.840 --> 00:12.740
I've been at Coinbase about three years.

00:19.050 --> 00:21.310
Yes, and apparently I am too tall for the microphone.

00:21.310 --> 00:22.010
That's fine.

00:22.990 --> 00:29.450
What we're going to talk about today is a follow-on to a blog post we released yesterday.

00:31.510 --> 00:37.510
We're going to talk about an attack from what I think is one of the most dangerous attacker groups in cryptocurrency today.

00:38.770 --> 00:45.170
The attack specifically targeted cryptocurrency companies, around about 20 different companies, including us.

00:45.410 --> 00:53.530
It leveraged two different Firefox ODAs in the execution of the attack, as well as a really extensive social engineering phase that we'll get into as well.

00:54.570 --> 01:10.430
We're going to spend the next 50 or so minutes, until you kick me out of here, breaking down the attack, how it went down, lessons we learned from it, indicators we took from it, what we know about the attacker, and whatever questions you guys have at the end.

01:10.430 --> 01:17.630
My expectation is I'm probably going to get more than normal amount of questions at the end of this, so I'm going to try to leave at least 10, hopefully 15 minutes.

01:17.630 --> 01:20.550
And if there's not that many questions, I'm going to talk some more.

01:20.690 --> 01:22.530
So, ask questions.

01:26.730 --> 01:27.650
Let's talk about that.

01:27.650 --> 01:28.290
That's me.

01:28.290 --> 01:29.290
I do things.

01:29.290 --> 01:30.770
I've done things other places.

01:30.910 --> 01:32.590
We don't need to dwell on that.

01:34.890 --> 01:37.950
So, it's like I told you, we're going to start sort of breaking down the attack.

01:38.050 --> 01:42.170
I'll give you a high level overview of sort of the way I'm breaking it down in terms of phases.

01:42.670 --> 01:45.130
I doubt, I'll just caveat this, I'm going to say it later too.

01:45.130 --> 01:48.210
Well, I'm going to break this down in terms of phases of the attack.

01:48.210 --> 01:53.730
I doubt the attacker thought of it the same way, and I doubt it happened like that in terms of the actual timeline.

01:54.150 --> 01:57.390
But I'm chunking it up so we can talk about each piece discreetly.

01:57.550 --> 02:00.390
So, the timeline makes it look like it all happened one after the other.

02:00.390 --> 02:02.790
I doubt that's actually true in the real world.

02:03.970 --> 02:10.370
We'll talk about our detection strategy, why and how we detected it, lessons learned, a little bit about the attacker.

02:12.550 --> 02:13.690
So, let's get into it.

02:14.350 --> 02:16.030
So, that's the quick overview.

02:18.170 --> 02:38.330
The super high level discussion of this, thanks for reminding me to put my phone on silent, is that an attacker group, it's known in non-English reporting, because there's been some reporting in Polish and Japanese on this group, that they call Hide7,

02:38.330 --> 02:43.490
we track them as Crypto3, so the third in our serialization of actors.

02:45.230 --> 02:48.730
Put together a list of about 200 people, all for the most part in crypto.

02:49.150 --> 02:57.530
Sent out a really elaborate social engineering scheme that was involved with Cambridge and a couple of academic prizes that they award.

02:57.530 --> 02:59.210
And like I said, we'll go into that in depth.

02:59.770 --> 03:03.970
They winnowed that list of 200 down to about five that they actually wanted to exploit.

03:03.970 --> 03:21.190
They delivered a Firefox Oday, two Firefox Odays to those five, which then delivered a two-stage malware setup, that went through this traditional sort of recon pillage with Phase 2 being a more full-featured RAT.

03:21.370 --> 03:23.750
We think this is the same actor that breached CoinJek.

03:23.750 --> 03:27.810
We think this actor has been active in Asia and Eastern Europe for quite a while.

03:28.570 --> 03:34.250
This actor has dropped over the course of their lifetime that we can see, which goes back to about 2016.

03:34.250 --> 03:38.470
We think this attacker has dropped about six Odays of various quality.

03:38.830 --> 03:42.590
So obviously well-funded, well-organized, they know their shit.

03:43.770 --> 03:45.430
So let's break this down a little bit.

03:46.130 --> 03:48.450
I was going to do a really fancy setup.

03:48.450 --> 03:51.290
I'm going to fade everything else out and make the one bright.

03:51.350 --> 03:58.130
If you ever try to make opaque squares in Google Sheets or Google Slides, I'm so sorry for you because it is such a pain in the ass.

03:59.870 --> 04:06.410
So Phase 1 recon, this is the phase we know the least about in terms of what the attacker did and what they were looking for.

04:06.790 --> 04:10.750
We know that they put together a list of about 200 people in the initial target set.

04:10.750 --> 04:15.110
We know it was concentrated in America and India.

04:15.110 --> 04:17.590
It was a little bit of targeting in APAC too.

04:18.630 --> 04:24.110
We know for the majority of the targets, they were right.

04:24.110 --> 04:25.150
They were involved in crypto.

04:25.150 --> 04:29.230
There were a few where they were just dead wrong and there had literally nothing to do with cryptocurrency.

04:30.710 --> 04:36.510
They seemed more interested in IT infrastructure, security, engineering for obvious access reasons.

04:37.470 --> 04:42.910
But were willing to take any foothold they can get based on sort of actions that they took later.

04:44.090 --> 04:45.010
What do we not know?

04:45.010 --> 04:47.310
We have no idea how they sourced their data.

04:47.430 --> 04:48.690
Zero at all.

04:48.690 --> 04:51.970
The email addresses they're using are personal email addresses.

04:51.970 --> 04:54.390
They weren't really using much in the way of corporate email addresses.

04:55.190 --> 04:57.570
Like I said, they got the list right.

04:57.630 --> 05:00.690
My suspicion is they're using classical OSINT techniques.

05:00.690 --> 05:03.490
They were looking at names in news reports, things like that.

05:03.490 --> 05:10.090
Using that to then develop further information about it and specifically dig up personal email addresses to bypass corporate controls.

05:10.210 --> 05:11.750
But we don't actually know that for sure.

05:11.750 --> 05:14.130
We don't know how long this recon phase lasted.

05:14.130 --> 05:20.070
We don't know if they were just sitting on a portfolio of people that they wanted to breach or if they got it all together.

05:20.110 --> 05:23.950
We don't know if I might have phase one and two switched.

05:23.950 --> 05:27.350
They may have acquired the ODA before they put the list together.

05:27.630 --> 05:32.790
We just don't know exactly how that played out because this is the phase we have the least visibility into.

05:36.110 --> 05:38.730
So next phase, weaponization.

05:39.190 --> 05:41.890
And this is a really, really rich topic area.

05:42.530 --> 05:45.630
And some really, really interesting pieces here.

05:45.630 --> 05:46.170
Exploitation.

05:46.170 --> 05:48.090
This is a pretty rich topic area.

05:48.090 --> 05:55.270
I've lumped into this sort of both the exploit dev as well as what I call the infrastructure prep that the attacker did.

05:55.930 --> 05:58.150
And we'll go through sort of both of those things.

05:58.150 --> 06:02.510
So there were two ODAs leveraged in this attack.

06:04.370 --> 06:05.990
CB201911707 and CB2019708.

06:06.490 --> 06:08.330
They're both Firefox exploits.

06:08.330 --> 06:12.450
One is essentially a JIT exploit and the other is a sandbox escape.

06:13.470 --> 06:15.810
I feel like I'm stepping on a cable here.

06:15.810 --> 06:22.790
From Firefox, the net result of the two is a zero user interaction ODA in Firefox.

06:22.790 --> 06:24.050
Pretty awesome.

06:25.430 --> 06:32.670
So 707 was a simultaneous discovery by a researcher at Project Zero named Samuel Gross.

06:32.670 --> 06:37.630
And the attacker, whoever the attacker acquired this exploit from.

06:38.270 --> 06:49.190
Samuel has a really good write-up on Twitter about what the difference is between his approach, between the way they discovered it and the result in exploit that they wrote and what the attacker wrote.

06:49.190 --> 06:55.370
The TLDR of that is that we think that the attacker found it a very, very different way than Google did.

06:55.370 --> 06:56.630
Google found that via fuzzing.

06:56.630 --> 07:07.510
The attacker probably found it as a variant of another existing ODA, CB20199810, which was disclosed in April of this year.

07:07.510 --> 07:16.330
So based on the similarities in those two types of bugs, what we think was happening was the attacker was looking for that same pattern bug.

07:16.450 --> 07:23.370
Or potentially just a straight variant of 9810 and ran across this bug as well at about the same time.

07:24.430 --> 07:27.790
The second bug is actually way more interesting.

07:27.790 --> 07:30.890
So 11708 was a novel discovery by the attacker.

07:30.890 --> 07:34.090
Never before seen a sandbox escape in Firefox.

07:34.090 --> 07:45.910
While the underlying mechanism that was used in the attack has actually been in Firefox for years, the specific way this attacker chose to trigger it had only been possible since May 12th.

07:45.910 --> 07:48.290
So what does that imply?

07:48.330 --> 07:54.870
That implies the attackers had about a two-week discovery to weaponization cycle, which is insane.

07:55.350 --> 08:04.070
If you've ever tried to write an exploit for something as complicated as a browser on a platform like Mac, two weeks is just crazy fast to be able to get that out the door.

08:05.030 --> 08:10.450
And we know this because we saw the attacker starting to set up infra, setting up registering domains, things like that.

08:10.450 --> 08:16.170
On about May 28th is when we think the attacker started to set up infra.

08:16.330 --> 08:21.510
Because they're setting up infra, we're assuming that means they had the ODA, or at least they were almost done with the ODA.

08:21.610 --> 08:25.890
Otherwise, why go to the effort if you don't know what you're going to do with it?

08:29.390 --> 08:34.070
Sorry, I'm going a little bit faster than I'd planned to because we're a little bit tight on time.

08:36.190 --> 08:41.870
Right, so the Cambridge side of stuff is really interesting too.

08:41.870 --> 08:47.870
So the attackers gained access to two accounts at the Cambridge University, professor's accounts.

08:47.870 --> 08:50.470
Well, a little bit more on that a little bit later.

08:50.470 --> 08:53.910
Two accounts, two email accounts, legit Cambridge domains.

08:55.110 --> 09:00.230
And they used those email addresses or those accounts in both the phishing.

09:00.230 --> 09:04.810
So we'll see examples of this later where they were sending from legit Cambridge University accounts.

09:04.870 --> 09:10.270
As well as to host pieces of the actual exploit pages themselves.

09:10.270 --> 09:12.330
They didn't host the ODA on Cambridge.

09:12.330 --> 09:15.570
That was in a separate domain, but they hosted all the lure pages, everything else.

09:15.650 --> 09:21.270
One of the things that Cambridge does for people that have accounts is you can, you know, the old school home directory, right?

09:21.270 --> 09:23.550
Tilde username right after the top level domain.

09:23.550 --> 09:25.130
They make that available when you have an account.

09:25.130 --> 09:29.130
So the attackers leverage that as part of the overall social engineering process.

09:29.130 --> 09:31.490
You'll see some of the links they used when we talk about the phishing.

09:31.790 --> 09:38.110
But it really, really, really improved their ability to fool their targets quite thoroughly.

09:38.990 --> 09:40.870
We don't know a ton about the Cambridge side of this equation.

09:40.870 --> 09:43.290
We don't know how long the attackers were in.

09:43.290 --> 09:45.030
We don't know if they used it for other attacks.

09:45.030 --> 09:52.590
We don't know if the accounts they used were actual user accounts or they were just completely fake.

09:53.190 --> 09:55.750
We've done a fair bit of background on this.

09:55.750 --> 09:57.410
The LinkedIn profiles we think are fake.

09:57.410 --> 10:01.490
So they backed these accounts with LinkedIn profiles and other data.

10:01.490 --> 10:03.210
There's no other results for these names.

10:03.210 --> 10:09.030
We think it's probably the attacker had enough access to create these users, but we don't know either way.

10:10.970 --> 10:14.290
So the delivery is my favorite phase.

10:14.590 --> 10:25.530
It's my favorite phase because the level of effort we saw from these attackers on the social engineering side was, in my experience, extraordinary.

10:25.530 --> 10:27.950
We'll see this in a second.

10:28.030 --> 10:33.890
The attackers took on average 10 days to two weeks with the victims.

10:34.290 --> 10:44.230
From the first contact all the way through a non-malicious phase of social engineering until they winnowed down the list and figured out, do we care enough about you to give you a zero day?

10:44.230 --> 10:46.370
Until they finally actually delivered at the FAR.

10:46.370 --> 10:48.150
And that took about 10 days to two weeks.

10:48.150 --> 10:51.590
Because they were responding on normal human timelines.

10:51.810 --> 10:54.690
They weren't doing automated responders or cut and paste stuff.

10:54.690 --> 10:58.250
It felt, looking at the email threads, it felt normal.

10:58.250 --> 10:59.190
It felt like a human.

10:59.190 --> 11:01.630
It felt like an academic responding back and forth.

11:02.370 --> 11:04.110
So let's take a look at that and what that looked like.

11:04.110 --> 11:06.030
So this is what the initial outreach email was.

11:06.790 --> 11:08.310
There were two versions of this.

11:08.810 --> 11:20.790
So this one references the Adam Smith Prize, which is an economics prize that Cambridge awards to, I think it's postdocs, I believe, on an annual basis.

11:20.790 --> 11:24.330
And it's specifically focused on economics.

11:24.710 --> 11:26.590
A couple of things to note about this.

11:26.590 --> 11:28.570
I'll use this example because it's better colored.

11:28.570 --> 11:36.390
That link you see right there, number one, note that it's going to this user's home page or home directory, not a top-level Cambridge site.

11:36.710 --> 11:38.990
Two, that link is entirely benign.

11:39.130 --> 11:43.550
There's not a malicious bone in that link's body or in the resulting web pages.

11:43.550 --> 11:44.390
Nothing.

11:44.390 --> 11:49.790
It is a pure copy of the Adam Smith Prize page that you can find on Cambridge.

11:50.270 --> 11:52.910
Pure copy, nothing changed about it.

11:54.450 --> 12:00.390
The second phase, so you respond back, you say, like, great, this is amazing, I'm going to do this, this is so cool.

12:00.390 --> 12:03.390
Well, first I'll show you the Adam Smith Prize variant.

12:04.550 --> 12:07.350
So different name, same pattern.

12:11.620 --> 12:17.840
So you follow back up, say, great, I would love to do this, sounds amazing, thank you so much for reaching out.

12:18.560 --> 12:20.200
And you get something like this back.

12:20.200 --> 12:22.080
Great, so thanks so much for your reply.

12:22.080 --> 12:24.640
There were a few variants of this that we saw.

12:25.880 --> 12:29.560
But basically, if you reach back and said, like, yep, this is awesome.

12:29.920 --> 12:32.500
I love math because reasons.

12:33.220 --> 12:34.260
They said this.

12:34.660 --> 12:40.500
If you responded back and said, like, hey, I'm in marketing, dude, like, why are you emailing me this?

12:40.500 --> 12:42.140
They ceased contact immediately.

12:42.540 --> 12:50.100
Really, any reply other than, yes, this is right down my alley, this is amazing, the attacker ceased contact immediately and just moved on.

12:50.140 --> 12:56.500
And keep in mind, of course, up to now, if you were a normal user and you said this, like, there's nothing suspicious here.

12:56.500 --> 13:02.120
This is an email from a Cambridge University account referencing a Cambridge page.

13:02.320 --> 13:05.060
The most suspicious thing is, I wonder how they got my name.

13:05.900 --> 13:08.360
So far, so good in terms of OPSEC with these attackers.

13:09.440 --> 13:13.080
So a few days after that, what you would get is this.

13:14.400 --> 13:15.500
You would get the...

13:16.820 --> 13:21.480
In some cases, there were a few more back and forths based on, like, specific questions and answers.

13:21.480 --> 13:24.560
The attackers, like, engaged wonderfully.

13:24.560 --> 13:28.240
You'll note throughout this entire thing, good grammar, good writing.

13:29.000 --> 13:31.720
Like, they're using reasonable punctuation.

13:31.780 --> 13:37.600
This is not what you expect on a normal sort of, like, low or even mid-quality phishing.

13:38.360 --> 13:40.880
So this is the actual exploitation, is where it starts.

13:40.880 --> 13:43.520
So that link there, that's malicious.

13:43.580 --> 13:51.100
That link is the link that hosts the... that sort of does the final checks and hosts the actual ODA or links to it, at least.

13:51.460 --> 14:01.100
Like I said, so from tip to tail, from this to that, 10 days to two weeks for most recipients.

14:01.660 --> 14:07.480
So really, really high effort, very high quality, like, nothing super weird about this.

14:07.480 --> 14:12.240
So at this point, they're saying, like, OK, these are the specific projects we want you to review.

14:12.340 --> 14:14.120
View it, log in.

14:14.120 --> 14:19.180
This goes to... that link is actually copied again from Cambridge University's actual website.

14:19.180 --> 14:23.140
It's their IDP login page that the attackers stole.

14:25.940 --> 14:30.560
And at that point, once we click there, we start to talk about exploitation.

14:30.560 --> 14:31.180
Right.

14:34.280 --> 14:38.760
So there's two small changes to that, to the website that the attackers made.

14:38.760 --> 14:47.080
Number one, they included this, right, which is just saying, if you're back, if you're using Firefox on Mac, you're good to go.

14:48.320 --> 14:52.560
The bit about if you're using anything that's not a Mac, we think is...

14:54.000 --> 14:56.920
While we looked, when we saw this code, we looked and said, do they have more exploits?

14:56.920 --> 14:58.340
Are they exploiting, like, other shit too?

14:58.340 --> 14:59.320
That'd be really cool.

14:59.320 --> 15:01.500
We don't think so.

15:01.640 --> 15:03.120
We think there was only one exploit.

15:03.120 --> 15:08.240
We think that that was more around OPSEC than it was around target selection.

15:08.440 --> 15:12.540
So that a person who visited on Windows, right, is going to see nothing really weird.

15:12.620 --> 15:16.160
The username password won't work because there's nothing hooked into the form on the back end.

15:16.160 --> 15:17.300
But it's like, oh, that's weird.

15:17.300 --> 15:18.560
I wonder what happened, right?

15:19.940 --> 15:27.100
As opposed to, if you're on Mac and you're not on Firefox, what you get is this.

15:27.100 --> 15:30.100
Oh, so sorry, your browser's not supported.

15:30.480 --> 15:33.580
Please install Firefox and continue, right?

15:33.880 --> 15:46.660
And almost to a person, every person who actually went and installed Firefox and passed this step, said some variation of, oh, I just assumed it was a weird academic thing, right?

15:46.660 --> 15:47.500
It's a university.

15:47.500 --> 15:49.820
Universities do weird shit all the time, right?

15:50.340 --> 15:53.420
It's almost to the person.

15:54.240 --> 15:55.780
That's what folks said.

15:56.720 --> 15:59.820
So you go ahead and do that and you visit the site.

15:59.820 --> 16:01.620
And then this is the second thing they changed.

16:01.940 --> 16:04.120
They injected that script at the very, very bottom.

16:04.320 --> 16:05.800
That's the actual exploit code.

16:05.960 --> 16:09.180
Well, that's the reference to the file that contains the actual exploit code.

16:09.420 --> 16:16.920
We're not releasing the ODAE yet until more and more users get on upgraded versions of Firefox and users are slow at patching.

16:18.580 --> 16:21.260
So analytics-fit is an attacker-controlled domain.

16:21.480 --> 16:25.220
This one was registered on the 28th of May, so right before the campaign started.

16:25.220 --> 16:29.380
It does nothing but host this JavaScript file.

16:29.480 --> 16:31.140
It wasn't involved in C2.

16:31.140 --> 16:32.000
It wasn't involved in anything else.

16:32.000 --> 16:33.600
It's just nothing but host this.

16:36.900 --> 16:38.140
Let's see.

16:39.520 --> 16:45.760
So, sort of, I'm lumping together for the exploitation installation C2.

16:45.760 --> 16:46.900
So you visited that.

16:46.900 --> 16:48.460
Your browser was exploited.

16:48.900 --> 16:50.280
It was a nice, clean exploitation.

16:50.280 --> 16:52.380
We didn't observe much in the way of crashes.

16:52.400 --> 16:53.740
It seemed quite stable.

16:54.440 --> 16:56.420
What happened is your browser would shell out to curl.

16:57.260 --> 16:58.620
It would download stage 1.

16:58.820 --> 17:02.080
So stage 1 was a variant of the NetWire family.

17:02.620 --> 17:14.600
While it is technically a full-fledged RAT, the attackers seem to use it for mostly recon, basic pillaging, and then deciding if they care enough to send stage 2 down the wire.

17:16.120 --> 17:18.480
Stage 2 is a variant of Mox.

17:19.820 --> 17:22.920
The attacker seems to use this as a full-fledged RAT.

17:23.400 --> 17:26.980
We see activity indicative of hands-on keyboard.

17:27.260 --> 17:29.680
So at this point, we're not talking automated exploitation.

17:29.680 --> 17:34.300
We're seeing somebody somewhere behind a computer telling this thing what to do.

17:36.820 --> 17:45.620
One of the difficulties as we advance out of this and into sort of actions on target is that it took us about...

17:45.620 --> 17:51.340
So we got our alerts essentially here.

17:51.340 --> 17:57.240
So when the ODAT landed and the shell to curl happened, we started getting paged by our alerting systems.

17:57.960 --> 18:05.300
So the attacker was only active in a place where we could see them for about 20 minutes, tip-to-tail, in this incident.

18:05.300 --> 18:09.300
So they didn't have a lot of time to do post-exploitation activities where we could see them.

18:09.520 --> 18:10.840
Pluses and minuses there.

18:11.900 --> 18:16.720
We have had some access to other systems where the attacker was present longer.

18:17.460 --> 18:20.440
But we don't have real-time EDR-style logs from those.

18:20.440 --> 18:22.520
We have sort of dead-box forensics from those things.

18:22.520 --> 18:28.840
So we don't really know everything we would hope to know about what the attacker was doing after the initial breach.

18:29.260 --> 18:30.660
But we do know a few things.

18:30.660 --> 18:36.100
Number one, we know that they went after browser-stored credentials, including session tokens.

18:36.540 --> 18:41.080
They pivoted, interestingly enough, they pivoted from the endpoint into the cloud.

18:41.080 --> 18:42.880
We saw several times, right?

18:42.880 --> 18:52.480
So from the endpoint, stealing session tokens, stealing credentials, using that to go into email accounts, online file storage, other cloud-based services was a thing.

18:52.520 --> 18:54.460
Which the attacker particularly seemed to like.

18:55.320 --> 18:59.120
We saw a bunch of other weird stuff on a few endpoints.

18:59.120 --> 19:03.960
Like applications that the user didn't recognize that were suddenly installed after the attacker showed up.

19:04.140 --> 19:10.020
But again, dead-box forensics, it's really hard for us to start talking about intent and what the attacker was actually trying to do with that.

19:11.640 --> 19:16.280
There is a fair bit of Japanese language reporting on these attackers.

19:16.760 --> 19:21.920
So we released a blog post earlier yesterday about this as well.

19:22.520 --> 19:23.960
It references this.

19:25.320 --> 19:27.440
The... I'm going to forget the name.

19:28.000 --> 19:36.400
But the Japanese search, basically, published a really in-depth write-up that goes much more in-depth into some of the techniques that these actors are using.

19:38.180 --> 19:46.200
And really starts... it's one of the ways where you're sort of assessing these are linked actors, is all the similarities we saw in the TTPs there.

19:47.800 --> 19:51.040
I feel like I'm stepping on something that's like half broken, which is why this is happening.

19:52.520 --> 19:54.720
So let's talk about the attacker a little bit.

19:55.460 --> 20:00.920
Number one, based on open source reporting, we think they've been active since about 2016.

20:02.540 --> 20:08.280
We think... in fact, we know they're not covered as a named group by any of the threat intelligence companies that we've talked to.

20:08.980 --> 20:16.420
Some cover them as unknown or unattributed groups in some ways, but no one has sort of named coverage of this group.

20:17.460 --> 20:19.880
We think this is the same firm that breached Coincheck.

20:20.640 --> 20:25.860
So the Japanese language reporting I was referring to was specifically talking about the Coincheck breach.

20:26.460 --> 20:36.480
Overlaps include the use of academic emails as phishing, the same malware, the same kind of lures and patterns in how they were reaching out to users.

20:37.900 --> 20:43.640
We think this group, lastly, has dropped at least half a dozen ODAs since 2016.

20:44.220 --> 20:48.860
Which, when you think about it, is actually quite a few ODAs in the last three years.

20:48.860 --> 20:52.200
This Firefox ODA was by far the most interesting of them.

20:52.200 --> 20:58.660
The rest were like ODAs in RAR or things like that, that were much harder to operationalize.

20:58.660 --> 21:02.320
We think this is the most interesting ODA we've seen evidence of them dropping.

21:03.880 --> 21:10.300
But what this says to me, and this is why I said it at the very beginning, I think this is the most dangerous attacker group in crypto today.

21:10.300 --> 21:16.940
Is a well-funded, organized, the skill sets we saw displayed in that exploitation chain.

21:16.940 --> 21:19.680
That's not someone somewhere alone, right?

21:19.680 --> 21:24.780
That's a small group between the social engineering and the infra and the ODAs and patching it all together.

21:25.060 --> 21:26.580
That's a small group.

21:27.180 --> 21:34.920
My guess, looking at the code, looking at how it's structured, looking at the short development timeline on the ODAs, is that they bought the ODAs.

21:35.020 --> 21:37.120
I don't think they developed them.

21:37.120 --> 21:38.580
I could be very wrong on that.

21:38.580 --> 21:41.140
I'd say that's like low confidence statement.

21:41.880 --> 21:47.320
But because that cycle was so fast and because when you look at the code, it's nice, it's modular.

21:47.840 --> 21:52.100
It was done by somebody who's, I think, used to building these things before.

21:52.340 --> 21:58.920
That makes me suspect that we're dealing with a brokered ODA as opposed to an internally developed ODA.

21:59.020 --> 22:05.040
But if that's true, that means, and these guys have done six ODAs in the last three years.

22:05.040 --> 22:09.980
That's a very well resourced organization to spend that money for those capabilities.

22:11.320 --> 22:14.820
So very, very scary attacker group.

22:16.280 --> 22:17.960
And not well tracked.

22:17.960 --> 22:19.040
So response.

22:20.560 --> 22:21.960
So shock.

22:21.960 --> 22:26.500
We did not leverage magic cyber AI to detect this attack.

22:27.020 --> 22:30.800
There were no blockchains involved in this attack and detection of this attack.

22:31.040 --> 22:33.320
Nor was there any machine learning.

22:33.320 --> 22:37.840
This attack was detected with essentially behavioral rules.

22:37.840 --> 22:39.400
That just shouldn't happen.

22:39.500 --> 22:42.020
It turns out Firefox should not be shelling out to curl.

22:42.480 --> 22:46.060
It turns out that files probably shouldn't be executing from temp.

22:46.760 --> 22:55.340
It turns out unknown or in this case unsigned processes shouldn't be touching .SSH, .AWS, .GNUPG.

22:55.340 --> 22:56.560
Shouldn't be touching the keychain.

22:56.560 --> 23:00.580
These are behavioral alerts that literally any of us can write.

23:01.660 --> 23:07.660
The other reason we detected this is because we're fanatical about visibility.

23:07.820 --> 23:14.820
We treat endpoints that don't have security tooling like endpoints that have unpatched major vulnerabilities.

23:14.860 --> 23:21.340
We focus heavily on 100% deployment of our visibility infrastructure.

23:22.760 --> 23:26.600
And that, I think, pays dividends broadly.

23:27.300 --> 23:30.420
The other reason, so that's why we detected it.

23:30.420 --> 23:31.860
That's how we detected it.

23:32.000 --> 23:38.360
The reason it was a 20-minute to containment incident for us is because we're fanatical about practice.

23:38.580 --> 23:43.080
So the thing I tell the team all the time is if you can't do it drunk at 3 a.m.

23:43.080 --> 23:44.440
on Christmas morning, you can't do it.

23:45.580 --> 23:46.720
Flat out.

23:47.920 --> 23:52.560
We don't practice it like that, although there have been some proposals.

23:53.940 --> 23:56.460
But seriously, this means playbooks.

23:56.600 --> 23:57.800
This means practicing.

23:57.800 --> 23:59.420
This means knowing your tools.

23:59.420 --> 24:05.580
This means finding the edge cases, finding the bugs in practice before you find the bugs in reality.

24:05.900 --> 24:10.940
I was in the military for about a decade, and the saying we had was the more you bleed in practice, the less you bleed in war.

24:11.400 --> 24:12.860
Same concept here.

24:12.860 --> 24:20.380
The more problems and bugs and just things you find in practice, the fewer you're going to find when it actually counts.

24:20.380 --> 24:21.240
And it's 3 a.m.

24:21.240 --> 24:23.120
on Christmas morning, and you're drunk.

24:23.700 --> 24:25.760
Because that's not when you want to find bugs.

24:29.040 --> 24:39.200
The last thing, and really, this is more on the lessons learned side, is that if anyone in cryptocurrency was laboring under the impression that an ODA is not actually in your threat model.

24:39.200 --> 24:43.640
And I will upfront say for most organizations, ODA is probably not in the threat model.

24:43.640 --> 24:46.560
If you're in cryptocurrency, ODAs are in your threat model.

24:46.820 --> 24:49.680
If you're not already planning for it, you should be today.

24:49.740 --> 24:51.720
And you should already have been.

24:51.720 --> 24:55.480
And this means, right, when you're talking about ODAs, we're talking about layered defenses.

24:55.480 --> 24:56.320
We're talking about consistency.

24:56.320 --> 25:02.840
We're talking about high quality execution, playbooks, practice, making sure that you know what to do and can do it at a moment's notice.

25:03.280 --> 25:07.680
Or you can do it when someone's on vacation, or we can do it when two people are on vacation, right?

25:07.920 --> 25:11.240
Without calling that person on the beach in Hawaii and saying, hey, can you respond to an incident?

25:11.520 --> 25:14.020
Because no one is at their best responding to an incident on the beach in Hawaii.

25:14.160 --> 25:14.920
I promise you.

25:16.180 --> 25:18.240
A couple of other things I'll highlight.

25:18.880 --> 25:24.840
And I think I blasted through this, and I'm going to not delay the rest of the stuff too much.

25:25.780 --> 25:28.080
A couple of things I will highlight is interesting here.

25:28.080 --> 25:33.180
The use of personal email was particularly interesting as what the attacker targeted.

25:33.800 --> 25:39.020
The intent was clearly to bypass controls on corporate email.

25:39.180 --> 25:40.680
Great, that makes sense.

25:40.680 --> 25:54.080
The consequence, though, was that we saw several cases where targeted individuals fell prey and downloaded everything and compromised their personal endpoints in addition to potentially corporate endpoints.

25:54.620 --> 25:58.960
From a corporate incident response perspective, this is a big problem for me.

25:58.960 --> 26:06.180
Not only do I lack visibility on those endpoints, it's not always totally clear that the user even is going to know that they're compromised.

26:06.180 --> 26:12.820
And for most people, not everyone has great hygiene about separating work from private life.

26:12.820 --> 26:23.040
Even if they do, that kind of access can be leveraged in follow-on phishing campaigns that will be much more effective as they're coming from these personal, well-known email addresses as opposed to something else.

26:23.360 --> 26:26.240
So that, I think, is an interesting thing.

26:26.500 --> 26:29.340
Again, we talk about this in red teaming a lot.

26:29.340 --> 26:33.000
An actual red team can't go target your personal life.

26:33.000 --> 26:35.620
An actual attacker probably prefers to.

26:36.440 --> 26:37.960
Because of a lack of controls.

26:40.920 --> 26:44.540
With that, I'm going to leave about 10 minutes for questions.

26:44.560 --> 26:45.560
I hope it's been useful.

26:46.560 --> 26:50.100
What I've tried to do, tried to leave you guys with, is sort of a view into this actor.

26:50.840 --> 26:52.600
They are an actor to watch.

26:53.440 --> 26:54.420
Go read the blog post.

26:54.420 --> 26:55.440
Reference the reporting.

26:56.280 --> 26:58.080
If you can read Japanese, that's even better.

26:58.680 --> 27:01.160
If not, I'm sure it's going to get translated at some point soon.

27:02.320 --> 27:05.060
If you're in cryptocurrency, you should be looking at this actor.

27:06.180 --> 27:09.080
Just a few notes on practice, practice, practice.

27:09.200 --> 27:10.820
I think security is about execution.

27:11.220 --> 27:12.200
More than anything else.

27:13.000 --> 27:15.880
With that, I'm happy to have your questions and thank you all for your attention.

27:16.300 --> 27:17.760
And sorry for the AV issues.

27:22.660 --> 27:23.360
Go ahead.

27:23.360 --> 27:27.900
Maybe I missed it, but I don't think you said the name of the group or one of the names associated with it.

27:27.900 --> 27:30.060
I think I said it at the very beginning.

27:30.060 --> 27:31.040
It's HYD7.

27:31.780 --> 27:34.360
H-Y-D-S-E, the word seven.

27:34.360 --> 27:36.680
That's what the Japanese reporting calls it.

27:36.680 --> 27:38.560
We track it as...

27:38.560 --> 27:41.320
We don't use the fancy names.

27:41.320 --> 27:42.180
We use just numbers.

27:42.180 --> 27:43.360
We track it as Crypto3.

27:43.580 --> 27:46.980
Which one?

27:47.180 --> 27:49.420
H-Y-D-S-E-V-E-N.

27:50.220 --> 27:50.840
Yeah.

27:51.060 --> 27:51.880
What's up?

27:54.400 --> 27:54.980
Yep.

27:59.020 --> 28:00.840
No, it was not.

28:01.180 --> 28:05.300
There was almost no use of obfuscation, at least on the JavaScript's guide.

28:05.440 --> 28:06.820
In these attacks.

28:06.820 --> 28:15.660
Which is nice, because then we're able to do things like look at the structure of the JavaScript and draw conclusions or at least form opinions on that stuff.

28:16.440 --> 28:16.780
Yep.

28:19.320 --> 28:20.120
Yep.

28:27.480 --> 28:27.980
Yep.

28:31.560 --> 28:33.080
No, it is not.

28:33.080 --> 28:38.060
So the question was, you said that they were looking for in-browser tokens.

28:38.060 --> 28:47.660
Obviously, it's very popular these days to have browser-deferred stored session tokens, either your application delegates or others in OAuth 2.

28:47.660 --> 28:54.380
Is there any indication that this is a generalized attack that's basically getting at all cloud inputs or targeting?

28:55.880 --> 28:57.220
How do you mean generalized attack?

28:57.220 --> 28:58.720
So I would say it's part of their...

28:58.720 --> 28:59.520
Yeah.

29:03.880 --> 29:05.200
Oh, yeah, yeah.

29:05.200 --> 29:10.760
So just to clarify, we saw no evidence of them going after the blockchain-specific accounts.

29:10.780 --> 29:13.840
It was all about email, file storage.

29:13.980 --> 29:15.660
It was all about that stuff.

29:16.180 --> 29:16.460
Yeah.

29:16.460 --> 29:19.860
So this is clearly part of their post-exploitation TTPs.

29:19.860 --> 29:22.760
Like, this is just part of their playbook, would be my guess.

29:22.820 --> 29:23.400
Yes.

29:37.940 --> 29:43.760
I mean, they only delivered this ODA to like five people, just to be clear, right?

29:43.780 --> 29:45.700
They started with 200.

29:46.140 --> 29:53.180
They wintered it down in the emails, and they only pick about five to deliver the ODA link to.

29:53.180 --> 29:54.580
This was not mass exploitation.

29:54.580 --> 29:55.900
This was highly targeted.

29:55.940 --> 29:58.320
They were not after your wallet.

29:58.320 --> 30:02.780
They were after my wallet, quite frankly, in the context of Coinbase.

30:02.980 --> 30:04.600
Let's turn that question around.

30:04.600 --> 30:07.360
If they were after MetaMask, would they have bought it?

30:07.660 --> 30:10.940
I don't know enough about how MetaMask stores data, but my guess is yes.

30:10.940 --> 30:11.620
Okay.

30:13.060 --> 30:13.740
Sir?

30:13.800 --> 30:17.240
Were these points only used by Coinbase or MetaMask?

30:17.300 --> 30:17.940
No.

30:17.940 --> 30:22.660
So it was a broad swath of cryptocurrency companies.

30:22.760 --> 30:26.180
So about 20 different companies were involved among the 200 people.

30:28.420 --> 30:32.420
We have relatively limited visibility into some of this stuff.

30:32.420 --> 30:36.460
So we know they threw them at at least one of our users.

30:36.480 --> 30:41.160
We know they threw them at other users, not at Coinbase as well.

30:42.420 --> 30:44.340
Sir, two factors in place.

30:44.340 --> 30:46.820
Is it what they do really good for you?

30:46.820 --> 30:48.400
No, absolutely not.

30:48.860 --> 30:52.100
So because they're looking at browser token theft, right?

30:52.100 --> 30:53.520
So they're not stealing your credentials.

30:53.520 --> 30:54.760
They're stealing your session token.

30:55.880 --> 30:57.700
So you've already logged in.

30:58.200 --> 31:00.680
Even if two factors in place, it depends on your two factor.

31:01.040 --> 31:03.180
And what exactly you're using.

31:03.180 --> 31:06.240
So this isn't credential phishing.

31:06.240 --> 31:08.700
This isn't something where they're trying to impersonate you per se.

31:08.700 --> 31:10.300
They're on your system.

31:10.300 --> 31:11.560
They can steal your session tokens.

31:11.560 --> 31:12.640
They can steal your cookies.

31:12.640 --> 31:14.400
They can impersonate you in that way.

31:14.700 --> 31:29.940
But even more than that, they're more than likely, had we let this intrusion continue, what we would have seen was internal network pivoting and seeking out internal systems documentation, like fairly standard post-exploitation stuff for a group like that.

31:30.860 --> 31:31.780
Sir?

31:31.780 --> 31:33.300
How long have they been funded?

31:34.240 --> 31:35.580
I don't know.

31:36.140 --> 31:43.460
We think there are open source attacks we can attribute back to them back to 2016 or so.

31:43.720 --> 31:48.320
We think they did the coin check breach in this attack.

31:48.320 --> 31:55.640
My guess is if they bought that Oday, they spent between half a million dollars and a million dollars on that, depending on lots of factors.

31:56.880 --> 32:02.420
But like I said, this group is, I think, under-researched and there's not enough light on them really for me to be able to say.

32:02.700 --> 32:03.380
Sir?

32:07.920 --> 32:12.780
So, I mean, A, when this happened, we went public with it immediately.

32:13.200 --> 32:15.320
Shared the hashes, shared some of the IPs.

32:15.320 --> 32:17.320
And we...

32:19.160 --> 32:21.260
Look, I'm not Mandiant, I'm not CrowdStrike.

32:21.260 --> 32:24.620
I make no money from having private threat intelligence, right?

32:24.740 --> 32:29.700
I derive all my benefit from sharing this intelligence as widely as humanly possible.

32:29.700 --> 32:32.500
So, hence this, basically.

32:32.500 --> 32:37.100
And hence the work we do directly with other cryptocurrency organizations.

32:38.020 --> 32:38.590
Yeah.

32:40.300 --> 32:41.260
Sir?

32:48.720 --> 32:49.880
Yeah.

32:49.880 --> 32:52.880
Well, in this attack, I don't believe...

32:53.480 --> 32:56.400
I don't believe they made any money on this attack, although I could be wrong.

32:56.480 --> 33:01.180
There may have been other organizations that lost funds to them in some way or shape or form.

33:02.440 --> 33:04.320
So, in this attack, they...

33:04.740 --> 33:06.260
Again, this is my guess.

33:06.260 --> 33:09.940
I'm guessing they spent between half a million and a million dollars putting this act together.

33:10.260 --> 33:12.620
So, this was a loss to them.

33:12.620 --> 33:17.960
But if they were the ones who did the coin check breach, they got away with about...

33:17.960 --> 33:20.960
I think it was 500 million dollars in NEM.

33:21.040 --> 33:24.740
The sum of which they were actually able to convert and take with them.

33:24.740 --> 33:31.260
They've been active in cryptocurrency so long that my assumption is they're essentially self-funding at this point.

33:31.680 --> 33:36.100
And the million dollars they lost here was like, we took a swing, we failed.

33:36.100 --> 33:37.220
We'll do it next time.

33:40.430 --> 33:40.990
Yes?

33:40.990 --> 33:44.830
Can you share any details about your run book after you got the alert?

33:44.830 --> 33:50.170
How did you respond to it, especially when there's so many potential things where session tokens could have been stolen?

33:50.170 --> 33:50.690
Yeah.

33:50.690 --> 33:55.810
So, fortunately, the attack was highly targeted.

33:55.810 --> 33:58.050
It ended up on one endpoint, right?

33:58.770 --> 34:01.130
So that we were able to, A, go...

34:02.070 --> 34:05.690
The general shape of that is we went broad and then deep.

34:05.690 --> 34:07.550
We said, okay, here are the indicators.

34:07.550 --> 34:08.130
Here's the malware.

34:08.130 --> 34:08.650
Here's the hashes.

34:08.650 --> 34:09.570
Here's the IPs.

34:09.570 --> 34:12.390
Is this present anywhere else in our entire ecosystem?

34:12.470 --> 34:13.090
No.

34:13.170 --> 34:13.970
Outstanding.

34:14.030 --> 34:16.190
Let's take a much deeper look at this.

34:16.810 --> 34:23.510
So we were able then to pull the endpoint logs and say, okay, what files did these processes touch?

34:23.570 --> 34:28.870
Which is how we can gain certainty on what they were getting access to before we quarantined the machine.

34:28.950 --> 34:31.470
And then based on that, we said, okay, they probably got these things.

34:31.470 --> 34:34.150
We don't know if they exfiltrated the data or not before we quarantined.

34:34.150 --> 34:38.990
So let's just roll all those creds and move on from there.

34:38.990 --> 34:46.730
We were also able, thanks to some quick action from the incident response team, this is how we pulled the Oday code directly from the site.

34:46.890 --> 34:50.230
Before they knew we were responding, we had detected it and were responding.

34:50.250 --> 34:59.330
We were able to set up a pre-existing analysis VM infrastructure with Burp sitting in front of all the connections.

34:59.350 --> 35:05.050
Go pretend to get exploited, just like the same user is clicking on it from another device, basically.

35:05.570 --> 35:08.250
And it happily tried to re-exploit us.

35:08.250 --> 35:10.830
And we snagged the Zero Day from there.

35:11.770 --> 35:13.130
And then reported it to Firefox.

35:13.190 --> 35:14.990
Actually, I forgot to give Firefox a shout out.

35:14.990 --> 35:17.990
They were incredibly, incredibly great in this entire process.

35:18.250 --> 35:28.450
They got the first Oday patched the next day.

35:28.830 --> 35:31.150
The second Oday was patched the same week.

35:32.190 --> 35:34.210
The first one they'd already been working on a fix on.

35:34.210 --> 35:41.690
The second one, they went from never before hearing of this thing to shipping a patch in under a week.

35:41.770 --> 35:43.150
Very, very impressive.

35:43.150 --> 35:45.110
They were a joy to work with.

35:46.190 --> 35:47.230
Sir?

36:11.300 --> 36:14.020
Yeah, we're going to share the slides later.

36:15.180 --> 36:22.340
And then, of course, we have Ripple and us happy to share whatever else you want to hear afterwards.

36:23.260 --> 36:24.000
Yep.

36:27.150 --> 36:28.470
All right.

36:28.750 --> 36:32.130
I actually don't want to share that, quite frankly.

36:32.130 --> 36:37.430
So, we do use an MSP for Tier 1.

36:37.810 --> 36:45.830
We also do independent detection on that same data feed for stuff that we feel is more targeted to us.

36:49.250 --> 36:51.370
Maybe last question.

36:52.330 --> 36:53.550
Or no?

36:53.970 --> 36:54.550
Outstanding.

36:54.550 --> 36:55.710
Thank you all very much.

