WEBVTT

00:03.000 --> 00:04.280
Hello, Devcon.

00:06.420 --> 00:12.560
First of all, if anyone does not want to be photographed, I'm going to take two pictures.

00:12.560 --> 00:14.200
That's for my mom.

00:24.940 --> 00:29.020
She never believes that anyone comes and hears me talking.

00:31.220 --> 00:34.620
That says a lot about her trust issues.

00:35.140 --> 00:43.320
Hello, everyone, and welcome to my talk, Behind Enemy Lines, Engaging and Disrupting Ransomware Web Panels.

00:45.160 --> 00:51.300
This talk is PG-17, due to two reasons.

00:51.300 --> 01:01.660
First, there are going to be some notions about drugs and bad words from people in the talk.

01:02.020 --> 01:06.380
And secondly, I love saying fuck and shit.

01:07.220 --> 01:09.580
And I'm not going to stop it.

01:10.860 --> 01:12.180
Hello, all.

01:12.180 --> 01:14.660
As you can see, I'm Vangelis Stikas.

01:14.660 --> 01:20.880
I'm the CTO and co-founder of a penetration testing firm called Atropos.

01:20.880 --> 01:30.460
We specialize in API penetration testing and green PV and electronic vehicle chargers penetration testing.

01:30.460 --> 01:40.260
My research interest for the past decade is API security and for the past couple of years, malware and ransomware C2s.

01:42.230 --> 01:44.690
How everything started.

01:44.690 --> 01:55.590
So I don't know who of you were here last DEF CON, but I did a pretty similar talk about malware C2s, which was really, really easy.

01:55.750 --> 01:58.050
So I wanted a bigger challenge.

01:58.050 --> 02:03.070
And the main question in here is, could it be any harder?

02:05.870 --> 02:13.730
Markus Hatzins, I think you all know who he is, said that cyber threat intelligence is such a white industry.

02:13.730 --> 02:24.830
In contrast to the actual intelligence, which is a monopoly of the government, there is the CTI.

02:25.090 --> 02:34.180
There is just some random dude named Brad who got really baked one night and yollowed his way into a major APT's backend server.

02:35.070 --> 02:36.630
Two issues in here.

02:36.710 --> 02:40.450
I'm going to start with the one that has legal implications.

02:41.330 --> 02:44.010
Who the fuck named his son Brad?

02:46.850 --> 02:48.670
I'm not Brad, I'm Vagelis.

02:48.670 --> 02:51.270
And secondly, I don't take drugs.

02:51.270 --> 03:00.690
I do like my occasional alcohol, but I also have three really strange people in the Signal chat.

03:01.070 --> 03:06.830
If you want to drop them a follow on Twitter, Twitter, not X, fuck Elon Musk.

03:07.570 --> 03:16.050
First is Solfer, my really good friend and pretty much partner in all my research and the main person to blame.

03:16.650 --> 03:30.290
My second person is Iskuri, who is a legendary DEF CON and Black Hat speaker and a person who hacks bootloaders for fun.

03:30.790 --> 03:33.190
The third one is No Thanks.

03:33.190 --> 03:42.410
He's a super ninja hacker, multiple times DEF CON speaker too, and a really good artist.

03:42.410 --> 03:52.420
All three of them were trying to poke me around to start going after ransomware.

03:52.540 --> 03:59.260
A couple of minutes ago, I asked how much more difficult it would be.

03:59.260 --> 04:12.400
For the malware, in the past couple of years, I have been able to pwn or gain access to pretty much 50% of all the bundles that I have seen.

04:12.400 --> 04:14.650
So it's 18 out of 36.

04:15.080 --> 04:17.760
For the ransomware, it's quite difficult.

04:17.760 --> 04:26.100
So I only was able to get access to three and a half out of 140 that I have tested.

04:27.620 --> 04:30.480
Quick intro, that's the only intro.

04:30.480 --> 04:36.940
Ransomware is a type of malicious software that threatens to publish or block access until the blah, blah, blah.

04:36.940 --> 04:40.580
If you don't know what ransomware is, go somewhere else.

04:43.160 --> 04:47.500
How ransomware works, there's a step-by-step process.

04:47.500 --> 04:57.280
One is they somehow get access and distribute their malware and infect an internal user.

04:57.280 --> 05:01.820
The second step is getting access to command and control C2s.

05:01.820 --> 05:05.300
Then they do the discovery and lateral movement.

05:05.400 --> 05:09.760
The data extraction, so they're extracting all the data.

05:09.760 --> 05:13.320
Data encryption, which means you have lost all your data.

05:13.320 --> 05:15.080
Then there is extortion.

05:15.460 --> 05:18.960
So what we're going to see there are three or four ways of extortion.

05:19.300 --> 05:21.540
And then there is resolution.

05:21.540 --> 05:25.040
However you resolve that issue.

05:29.060 --> 05:37.100
That slide is going to seem like I'm teaching you on how good ransomware market is.

05:37.100 --> 05:38.360
I'm not.

05:38.360 --> 05:41.020
I fucking hate them.

05:41.020 --> 05:43.120
They fucking hate me.

05:43.440 --> 05:45.720
But I want to say some good stuff about them.

05:45.720 --> 05:49.160
So it's the fastest growing type of cybercrime.

05:49.160 --> 05:54.760
Their payout broke the limit of 1 billion last year.

05:54.760 --> 05:57.400
They hit 1.1 billion.

05:57.500 --> 06:00.060
It's a highly professional industry.

06:00.060 --> 06:03.680
It seems that the boundaries here are falling off.

06:03.680 --> 06:10.660
So they're after hospitals, critical national infrastructure and pretty much everything else.

06:10.660 --> 06:14.360
And want to cry open the kind of forms that we cannot close.

06:15.620 --> 06:18.780
Again, this slide too, I fucking hate them.

06:19.860 --> 06:22.160
The gangs are highly hierarchical.

06:22.160 --> 06:25.720
We expect that it's a criminal rig.

06:25.720 --> 06:27.400
They have a clear structure.

06:27.440 --> 06:31.240
The first part is obviously the tech part that we're going to see later on.

06:31.240 --> 06:34.940
But they also have ransomware negotiators and customer support.

06:34.940 --> 06:36.640
As pretty much any company has.

06:36.640 --> 06:38.760
Money lenders and payment processing.

06:38.760 --> 06:43.100
Because as we saw, they're processing 1.1 billion per year.

06:43.100 --> 06:45.180
And collaboration and partnerships.

06:45.180 --> 06:49.520
Because why not partner with a ransomware, right?

06:50.680 --> 06:52.240
The tech part.

06:52.480 --> 06:57.480
They have several specific and special users.

06:57.480 --> 06:59.100
One is the malware developers.

06:59.100 --> 07:00.760
I'm not going to explain what it is.

07:00.760 --> 07:06.380
Exploitation developers who are possibly developing either zero day or end day.

07:06.380 --> 07:09.540
They have special people for data theft and leaks.

07:09.540 --> 07:11.860
They have people for operational security.

07:11.860 --> 07:15.300
And last but not least, and usually we don't know about that.

07:15.300 --> 07:18.300
They have really good people on infrastructure and hosting.

07:18.300 --> 07:23.220
And that makes sense because imagine owning a unicorn company.

07:23.700 --> 07:28.640
Extracting half a terabyte of data and not being able to process it.

07:28.640 --> 07:32.520
Because your infrastructure or hosting was bad enough.

07:34.400 --> 07:36.760
Let's move to the ransomware models.

07:36.800 --> 07:38.960
First of all, there were lone wolves.

07:38.960 --> 07:42.440
At some point, right now, they are no longer it.

07:42.440 --> 07:45.800
Those were single people who were doing everything.

07:45.800 --> 07:50.040
Initial access brokers are a special way of ransomware groups.

07:50.040 --> 07:54.400
They are people who specialize in just that initial access.

07:54.400 --> 07:57.420
Getting it and then selling it to other ransomware groups.

07:57.420 --> 08:01.880
Only one ransomware groups, which is from start to finish.

08:01.880 --> 08:04.660
Everything done by them.

08:04.660 --> 08:10.680
And ransomware as a service, which you could consider it as software as a service.

08:10.680 --> 08:16.640
Or as I like to say, ransomware meets capitalism.

08:18.080 --> 08:21.600
How ransomware as a service are being paid.

08:21.600 --> 08:23.100
Flat monthly fee.

08:23.100 --> 08:25.640
Affiliate programs with a monthly percent of the profits.

08:25.640 --> 08:27.200
One time license.

08:27.220 --> 08:29.520
This is not as a service, I'm just saying.

08:29.520 --> 08:32.780
But they do advertise that.

08:32.800 --> 08:34.480
Pure profit sharing.

08:34.640 --> 08:39.300
Payments made to the RAS and then they give you a part of...

08:39.300 --> 08:44.660
They give their affiliate, not me, a part of the profits.

08:44.700 --> 08:48.500
And the most well-known were Lockbit, Blackcat, Klopp and some more.

08:49.580 --> 08:55.620
This is my only try of being a graphic designer.

08:56.220 --> 08:57.740
You see I'm not good.

08:58.240 --> 09:01.300
So we are going after the C2 server.

09:01.300 --> 09:09.520
As we can see, there's the user, there's the cloud and there is the hacker slash ransomware on the top with the red.

09:09.520 --> 09:12.160
Can anyone guess why he's the hacker?

09:13.700 --> 09:14.560
No one?

09:15.200 --> 09:17.220
He's wearing a hoodie, guys.

09:17.540 --> 09:19.020
If you wear a hoodie, you're a hacker.

09:19.020 --> 09:20.180
You should know that.

09:20.180 --> 09:22.180
You're DEF CON for fuck's sake.

09:23.840 --> 09:25.740
The extortion, how they do.

09:25.740 --> 09:29.740
They establish communications with victims with multiple ways.

09:29.740 --> 09:34.880
Talks, telegram, email or some internal web panels.

09:34.880 --> 09:37.040
Keep that in mind, you're going to see one.

09:37.120 --> 09:41.320
They lay their terms and then they extort victims in multiple ways.

09:42.680 --> 09:45.800
There are four ways of extorting people.

09:45.800 --> 09:47.840
The first is ransomware data.

09:47.840 --> 09:49.620
So they have encrypted their data.

09:49.620 --> 09:55.660
So they're wanting the money to decrypt data.

09:55.660 --> 10:05.000
This was easily fell over because now pretty much everyone has a proper backup system.

10:05.000 --> 10:06.040
I hope.

10:06.780 --> 10:11.900
Then the second level of extortion was releasing data to the public.

10:11.900 --> 10:15.660
So extorting the people that we have your data, we're going to release it on the public.

10:15.660 --> 10:20.260
The third was DDoS with knowledge obtained from data.

10:20.260 --> 10:27.760
And fourth was communicate with people that were the victims' customers or even the LEA.

10:27.760 --> 10:39.080
We have seen in 2024 a lot of groups going to the LEIA and saying that this company was hacked and they did not report it.

10:40.560 --> 10:42.860
So let's set some goals.

10:42.860 --> 10:48.800
First, we want to identify all the C2s and data leak sites.

10:48.880 --> 10:51.080
Try to find any vulnerabilities.

10:51.080 --> 10:52.820
And I mean any vulnerabilities.

10:52.900 --> 10:54.960
Identify any people behind them.

10:54.960 --> 10:58.080
Try to disrupt panels and threat actors.

10:58.480 --> 11:01.900
And the three last ones are really, really important.

11:01.900 --> 11:06.200
Do not disrupt with any active LEA investigation.

11:06.620 --> 11:08.340
Don't be a malakas.

11:08.520 --> 11:10.360
And don't get banned.

11:10.360 --> 11:15.500
So those two, the last, are my motto for the past couple of years.

11:15.500 --> 11:16.960
I have them as stickers.

11:16.960 --> 11:19.240
If you want them, come ask for them.

11:19.240 --> 11:26.120
So, the past couple of years I have been joking around that I will be banned.

11:26.120 --> 11:32.160
Which was mostly a joke and a tongue in the cheek thing.

11:32.160 --> 11:46.340
But right now, I'm trying to disrupt criminal rigs that handle more or less tens of millions of dollars.

11:46.340 --> 11:47.900
And they are criminal rigs.

11:47.900 --> 11:56.920
So this is no longer a joke, but an actual probable risk for me.

11:57.940 --> 12:08.120
Last night, when someone tried to enter my room by wrong, I literally thought that I was getting banned.

12:08.120 --> 12:09.860
This is not funny.

12:10.820 --> 12:18.020
A more probable situation, though, is me waking up again with this message.

12:18.080 --> 12:23.500
I don't know how many of you have woken up with this kind of message.

12:23.500 --> 12:27.700
It's either on your Google account or your iPhone.

12:28.460 --> 12:35.420
But when you wake up and you see that government backed attackers may be trying to steal your password, you are freaked out.

12:37.360 --> 12:40.860
So, I'm going to say it here in DEF CON.

12:40.860 --> 12:43.420
I also said it on Black Hat a couple of days ago.

12:43.420 --> 13:00.160
If anyone wants to burn his one million zero day to get access to my email or my phone, I'm going to delete the photos from my kids and give him my phone for just 100k plus VAT.

13:01.960 --> 13:05.800
There's no reason to burn your zero day for me.

13:06.640 --> 13:19.520
I want to state again that I had really low expectations into finding anything, and I didn't find as much as I would want.

13:20.340 --> 13:23.240
How did I identify pandemics?

13:23.240 --> 13:29.260
Those really nice people that are doing CTI, I'm not a CTI expert.

13:29.260 --> 13:34.520
I'm just a random guy who Googles and Doomscrolls on Twitter.

13:34.520 --> 13:49.660
So, I used Ransomlook.io, Ransomwave, Ransomware.live, the deep dark CTI in GitHub, and lots, and I mean lots of Doomscrolling and monitoring CTI companies for new posts.

13:52.020 --> 13:58.240
The research had certain limitations that we knew, I knew from the beginning.

13:58.240 --> 14:08.280
The C2s had a terribly small lifetime because they were live only during the actual phase of being of the ponies.

14:08.280 --> 14:19.460
And they're also really difficult to find because all the CTIs companies will keep them for themselves, obviously, and not going to post an active threat.

14:19.460 --> 14:24.220
The data link sites are well, very, very well looked after.

14:24.220 --> 14:27.140
And they're also behind Tor and Onion.

14:27.140 --> 14:35.400
So, it gives an extra obstacle that I would have to bypass in order to get to them and test them.

14:36.800 --> 14:41.160
My methodology is quite straightforward.

14:41.160 --> 14:45.140
I'm going to ignore malware distribution and reversing.

14:45.180 --> 14:49.280
First, because I'm a simpleton and I don't understand reversing.

14:49.280 --> 15:01.160
This is mostly because I'm, as I said, a simpleton, and two, because I hate assembly due to my college years and a certain person who tried to teach me.

15:02.630 --> 15:12.160
I would just run the malware in a sandbox, extract all the URLs, and use data link URLs found via CTI or other means.

15:12.160 --> 15:19.090
And then, I will introduce you to a newer Toyota Corolla.

15:20.050 --> 15:30.610
The Toyota Corolla of security testing, also known as web application penetration testing, will get you from place A to place B.

15:30.610 --> 15:42.250
It's not sexy, it's not nice, but by getting you from A to B, it will probably also give you some info about ransomware groups and potentially a couple of RCs.

15:44.350 --> 15:51.410
Methodology, boring stuff, but I have to say, because those tools literally made the whole research.

15:52.030 --> 15:53.850
Dirsearch, for the win.

15:54.210 --> 15:56.310
FFUF, Verbshoot.

15:56.410 --> 16:03.890
The Trifecta of Tor, which is Tor Expert Bundle, Tor Browser, and Tor Socks, which greatly helps to run any other tool.

16:03.990 --> 16:06.530
Coffee, and I mean a lot of coffee.

16:06.830 --> 16:09.030
Anyrun, for running all the malwares.

16:09.030 --> 16:16.090
Several droplets on DigitalOcean, because as I said, they had a lot of operation security, so I was getting banned en masse.

16:16.290 --> 16:23.970
So, done ION Census, so that you could potentially find websites outside of Tor.

16:24.110 --> 16:26.170
And did I mention coffee?

16:26.170 --> 16:27.830
I mean lots of coffee.

16:30.210 --> 16:32.770
How I'm going to approach the whole thing.

16:32.770 --> 16:35.030
Black box web application testing.

16:35.310 --> 16:38.930
Use any acquired information for furthering my attacks.

16:38.930 --> 16:41.870
Interact with data leaks and chat websites.

16:42.210 --> 16:45.990
Intentionally infect sandbox so that I could get a ticket.

16:45.990 --> 16:54.810
And by ticket I mean, you're going to see later, that all the chats wanted a ticket so that they can identify what company you were in.

16:56.310 --> 17:05.750
My first step was, as I did with malware, just blatantly run Deer Search and FFUF with a custom word list through Tor Socks.

17:05.870 --> 17:08.290
My results were disappointing.

17:08.290 --> 17:15.450
There were only 15 URLs that gave something interesting, which is not exactly interesting.

17:15.450 --> 17:18.010
Then I moved to manually check all of them.

17:19.210 --> 17:21.810
Five of them were WordPress.

17:21.810 --> 17:25.030
A couple of them were leaking IP addresses.

17:25.030 --> 17:27.010
And some of them were cheeky.

17:27.010 --> 17:30.170
When I say cheeky, I mean really cheeky.

17:30.170 --> 17:33.330
So one of them told me to fuck off.

17:33.990 --> 17:38.490
The other one told me to use the N word.

17:38.490 --> 17:41.090
I'm not going to use it because I respect people.

17:41.250 --> 17:48.010
And the cheeky was Abish who said, just business, nothing personal.

17:48.050 --> 17:49.070
Keep that.

17:50.070 --> 17:52.270
So let's go.

17:52.650 --> 17:56.430
Much like Alice in Wonderland.

17:56.630 --> 18:06.250
Let's take the little dumb bunny by hand and let's move inside Ransomware Land, shall we?

18:08.010 --> 18:10.030
First one is Mallocs.

18:10.030 --> 18:12.090
I don't know who is familiar with that.

18:12.090 --> 18:17.790
They're also known as Target Company, Fargo and Tonsomething.

18:17.790 --> 18:19.330
I cannot pronounce it.

18:19.330 --> 18:22.570
First appearance was June 2021.

18:22.590 --> 18:27.930
They target mostly Windows machines and specifically MS SQL servers.

18:27.930 --> 18:30.050
They brute force SA accounts.

18:30.050 --> 18:33.470
Last year, they started using also some end days.

18:33.470 --> 18:36.450
And they are in the hundreds of victims.

18:37.870 --> 18:42.830
This is their index page of their data leaks.

18:42.830 --> 18:45.610
As you can see, they have a lot of victims.

18:46.270 --> 18:55.770
And the slash malloc slash private signing, they requested a private key so that I could chat with them.

18:55.770 --> 18:59.970
So I had to, as I said, infect something.

18:59.970 --> 19:01.910
I infected anyone.

19:01.910 --> 19:03.650
I got a key.

19:05.110 --> 19:06.370
Is it clear?

19:06.370 --> 19:07.810
I said, hello.

19:08.330 --> 19:09.770
Guy didn't respond.

19:09.770 --> 19:13.030
So like I said again, hello.

19:13.190 --> 19:14.470
Nothing back.

19:14.470 --> 19:15.390
Sorry.

19:16.490 --> 19:20.350
I then decided to run their search and FFUF.

19:20.350 --> 19:28.470
There was an Apache server status page exposed, which was leaking URLs, server IP addresses.

19:28.470 --> 19:31.990
And it was also leaking tokens to check other people's messages.

19:31.990 --> 19:34.210
But that was not fun enough.

19:36.430 --> 19:39.430
So can you see the whole thing?

19:39.430 --> 19:43.830
There is a button underneath my hello that says reply.

19:44.170 --> 19:45.930
This is the post message.

19:45.930 --> 19:47.910
It's practically a quote.

19:47.910 --> 19:51.970
Can anyone guess what the issue is in here?

19:53.370 --> 19:54.730
No?

19:55.890 --> 19:57.030
Okay.

19:57.030 --> 20:05.770
So there was an either on reply ID parameter, which means I could quote pretty much any message in the world.

20:05.770 --> 20:08.110
Not in the world, in the server.

20:08.110 --> 20:10.490
The parameter was an incremental integer.

20:10.490 --> 20:24.050
So what I had to do was to take that post, write the Python script really badly, and do a for loop from one to, I don't know, 50 million, and export all the messages.

20:25.730 --> 20:34.170
That was also used for in-between messages, for in-organization messages.

20:34.170 --> 20:36.510
So first, there's the boss.

20:36.810 --> 20:39.470
Clearly a God complex.

20:39.610 --> 20:44.010
I work according to my own schedule, which does not change on anyone's request.

20:44.010 --> 20:47.190
As soon as I see the payment, I will send the decryptor.

20:47.230 --> 20:50.270
I have a well-maintained business, blah, blah.

20:50.270 --> 20:55.550
It will not be disturbed by any moron that could not secure their machines.

20:55.630 --> 20:57.550
Oh, the irony, right?

20:58.710 --> 21:05.350
And last one, I was on Special K for a couple of days, so fuck off and do the work that I'm paying you to do.

21:05.890 --> 21:11.370
I don't know exactly what Special K is, but I think it's a drag.

21:13.070 --> 21:14.730
So, employees.

21:14.730 --> 21:17.330
Boss, the budget for this client is only 15K.

21:17.330 --> 21:18.550
Do you agree?

21:18.550 --> 21:20.370
They don't need much data.

21:20.450 --> 21:24.690
And Jessica, probably to another employee, boss is not in a good mood today.

21:24.690 --> 21:26.090
Let's be careful.

21:26.090 --> 21:27.230
Yeah, be careful.

21:27.650 --> 21:29.110
Good for you, Jessica.

21:30.750 --> 21:36.330
And last, but really not least, the boss was sending the decryptors to the guys.

21:36.330 --> 21:38.510
Here's the decryptor for company A.

21:38.510 --> 21:40.310
Here's the decryptor for company B.

21:40.310 --> 21:43.490
I got those decryptors because I wanted them too.

21:45.910 --> 21:48.570
This is the actual organization.

21:48.870 --> 21:53.430
I said I wouldn't have another graphic, but I needed to do another graphic.

21:53.430 --> 21:55.170
You should forgive me for that.

21:55.230 --> 21:59.210
So, boss on the top, Panda, Jessica, Malox, and Ismail on the bottom.

21:59.210 --> 22:06.960
And then, after a day or so, unfortunately, my chat was disabled and my IDOR was fixed.

22:07.410 --> 22:08.810
Message was not delivered.

22:08.810 --> 22:11.850
Unfortunately, I couldn't quote it anymore.

22:12.610 --> 22:13.990
What did I get?

22:13.990 --> 22:16.170
I got internal knowledge of the team.

22:16.170 --> 22:18.410
I got pretty much all of their messages.

22:18.490 --> 22:24.710
I got some decryptors, which I communicated to the companies that were ransomed with, and they used it.

22:24.850 --> 22:31.710
Once the admin got up, or sober, I don't know what, it was fixed.

22:31.830 --> 22:33.790
So, all in all, result?

22:35.710 --> 22:37.090
Mediocre, I guess.

22:37.090 --> 22:39.930
Sorry about that, but I was too verbose.

22:39.930 --> 22:41.450
I was too blatant.

22:41.450 --> 22:45.210
I just did it all at once, but I wanted to do it.

22:46.750 --> 22:49.910
That's my second group.

22:50.150 --> 22:52.150
I think all of you know it.

22:52.150 --> 22:54.550
Black Hat and Alpha V.

22:54.790 --> 22:56.710
They're also known as Noberus.

22:56.710 --> 22:58.970
Their first appearance was in 2021.

22:58.970 --> 23:01.870
They operated as a ransomware as a service.

23:01.870 --> 23:07.910
They have a Rust-based malware and server-side C2, and they use the triple-extrusion scheme.

23:09.290 --> 23:15.450
The Rust loader that we're going to go after was researched by Lapuseanu.

23:15.450 --> 23:20.950
Sorry if I butchered your name, Andrei, by Bitdefender Labs.

23:21.090 --> 23:23.450
It was targeting only Mac.

23:23.450 --> 23:25.050
It was developed in Rust.

23:25.050 --> 23:29.690
I think all of the Black Hat malware was developed in Rust.

23:29.690 --> 23:33.370
And their C2 was used on all of Black Hat malware.

23:34.310 --> 23:45.910
Andrei Lapuseanu, that's the actual research that I saw while Doomscrolling, and there were 1, 2, 3, 4 CNC servers in there.

23:47.110 --> 23:50.090
I checked all the C2 URLs.

23:50.090 --> 23:54.250
One of them was online, but it was just returning 404.

23:54.250 --> 24:02.530
So, me being me, I have decided to put it in the loop of continuous scanning that I have in my rig.

24:02.530 --> 24:06.450
And two days later, it downloaded some documentation.

24:06.950 --> 24:15.350
The first documentation was for clients, so I could see all the malware-infected clients.

24:15.350 --> 24:25.170
And the second one was tasks, so I could see all the tasks that were ever run on the server, on the machines.

24:25.170 --> 24:31.130
Unfortunately, both of those endpoints were offline at that point.

24:31.450 --> 24:47.890
So, what I had to do is read the documentation, try to guess, not exactly guess, try to understand the documentation, create a Python script, automate the check, and put that in the loop again, and wait.

24:48.150 --> 24:52.410
And by wait, I mean really wait.

24:53.210 --> 25:00.210
I think seven or eight days after, I got a push notification on my phone.

25:00.270 --> 25:01.630
Yay, you got something.

25:01.630 --> 25:06.710
So, I extracted 197 commands in two minutes on a four-hour window.

25:06.710 --> 25:09.310
What does that say to us?

25:09.310 --> 25:16.150
It means that Blackcat was putting the C2 server only when using it and exploiting it.

25:16.150 --> 25:23.150
And when they are not using it to do any movement, any lateral movement or anything else, they were putting it off.

25:23.610 --> 25:27.730
And you can see that in here, it uploads a file.

25:29.070 --> 25:31.770
And this is the scary command.

25:31.770 --> 25:36.210
When you see the XXX in here was a command's name.

25:36.210 --> 25:52.990
So, when you see zipping someone's AWS and GCP environments on an env.zip and then being uploaded to another server, it means that someone is getting exploited as we speak right now.

25:53.330 --> 25:56.750
So, I had to switch to incident response mode.

25:57.600 --> 26:00.490
I hate incident response.

26:01.770 --> 26:04.090
I identified four companies.

26:04.090 --> 26:06.990
All of them were cryptocurrency related.

26:07.450 --> 26:09.650
Crypto is cryptography.

26:09.930 --> 26:11.000
Fuck cryptocurrency.

26:11.970 --> 26:18.550
Two of them were unicorns, which means their valuation was over a billion.

26:18.870 --> 26:23.050
All four of them were notified and they acknowledged the issue.

26:23.130 --> 26:25.070
None of them were an unsung.

26:25.550 --> 26:26.690
What did I got?

26:26.690 --> 26:31.750
I got all the info and understood the lateral movement that Blackcat was doing at that point.

26:31.770 --> 26:34.250
I stopped the whole campaign.

26:34.250 --> 26:39.530
Four companies were not ransomed and Blackcat got a really big financial hit.

26:39.530 --> 26:40.790
And after...

26:47.670 --> 26:49.030
Thanks.

26:49.450 --> 26:56.190
And after a month, under increasing federal scrutiny, Blackcat ransomware gang pulled XXX on its way out.

26:56.350 --> 27:10.570
I'm not going to say that this was all me, but I'm going to say that my exploitation and stopping that campaign probably helped them to make the decision to do that XXX scam.

27:10.570 --> 27:15.250
So, all in all, I would say not bad, right?

27:16.770 --> 27:18.510
Third one.

27:18.650 --> 27:19.810
Everest.

27:20.490 --> 27:23.470
Oh, my lovely Everest.

27:23.470 --> 27:26.070
Active since late 2020.

27:26.110 --> 27:31.570
They targeted high profile targets for the first three years.

27:31.570 --> 27:36.750
On the last year, they moved to also lower profile targets.

27:36.750 --> 27:39.450
They pivoted to initial access broker.

27:39.450 --> 27:42.310
They pivoted to just data leak.

27:42.310 --> 27:45.730
Fuck, they pivot around like they're startups.

27:45.970 --> 27:50.370
They graded as highly sophisticated by multiple researchers.

27:50.370 --> 27:58.610
And they're also well known for being paid and not getting... and then releasing the data.

27:58.610 --> 28:00.470
So, they are mentally unstable.

28:01.570 --> 28:02.490
Right?

28:02.490 --> 28:06.970
Why don't you go after a mentally unstable millionaire?

28:08.390 --> 28:11.410
This is their data leak page.

28:11.530 --> 28:14.870
Does it look like something you know?

28:15.310 --> 28:16.610
No one?

28:21.150 --> 28:24.210
It's fucking WordPress.

28:25.850 --> 28:29.590
Version 5.5.3.

28:29.590 --> 28:33.130
This version was done in 2020.

28:33.130 --> 28:35.330
That's four years ago.

28:35.430 --> 28:37.850
There, on the left, there is a login page.

28:37.850 --> 28:43.550
And on the right, there is also the readme.txt in case you didn't know how to install WordPress.

28:45.270 --> 28:50.630
Then, I ran WP scan via Torsox.

28:50.630 --> 28:52.990
Because, why not, right?

28:52.990 --> 28:57.350
It said it's really insecure, 42 vulnerabilities identified.

28:57.350 --> 29:02.570
Unfortunately, none of them was really exploitable by Selemy.

29:03.050 --> 29:12.530
The only thing that I could see in here was that error on RSS functions.

29:12.870 --> 29:18.150
As you can see in here, we can see that the PHP error reporting was on.

29:18.150 --> 29:28.130
It was a Windows machine, and we were running Vertigo server hosting, which is end of life for the past two years.

29:28.690 --> 29:33.830
They also had OpenDIR, so you could see pretty much everything.

29:33.910 --> 29:36.690
They had a couple of zip files, but nothing interesting.

29:37.930 --> 29:40.170
They also had phpMyAdmin.

29:41.030 --> 29:42.550
Why not, right?

29:43.750 --> 29:47.470
And I did what every super hacker does in the world.

29:48.150 --> 29:54.410
I googled Vertigo default MySQL password.

29:56.170 --> 29:58.250
Yeah, I got that.

29:58.250 --> 30:03.610
But unfortunately, it didn't work.

30:04.130 --> 30:09.170
And that was my talk up until 15th of July.

30:09.790 --> 30:14.470
Then, my nine-year-old son... okay, let me stop.

30:15.510 --> 30:17.470
In Greece, I have two sons.

30:17.470 --> 30:22.490
The one is nine-year-old, the other just became 13.

30:22.490 --> 30:25.390
So, can we all say happy birthday to Antonis?

30:25.710 --> 30:26.230
Because...

30:28.010 --> 30:29.550
Thanks for that.

30:30.270 --> 30:31.650
Happy birthday, Antonis.

30:31.650 --> 30:35.610
I should be there in Greece, but I'm here, so you know me.

30:35.730 --> 30:44.970
So, my nine-year-old was sitting at my computer, reading my 2000 open tabs.

30:44.970 --> 30:50.990
And at some point, he says, that's a really strange name to call your server.

30:51.730 --> 30:54.730
Why the fuck would you call it Vertigo?

30:54.730 --> 30:57.710
I'm like, no, it's not Vertigo, it's Vertigo.

30:57.910 --> 30:59.750
He says, no, I know how to read.

30:59.750 --> 31:02.850
It has two R's, it's Vertigo.

31:03.490 --> 31:06.330
I'm like, what, motherfucker?

31:08.950 --> 31:13.490
He then said that he's not the thing, I'm the thing, but it is what it is.

31:13.490 --> 31:16.150
And do you all know what that means?

31:16.150 --> 31:19.810
I have to reuse my favorite meme.

31:20.250 --> 31:24.330
I use Vertigo, and what that means is...

31:27.910 --> 31:29.590
I'm the fucking admin.

31:32.130 --> 31:38.670
WordPress administration, I did develop a WordPress plug-in.

31:38.670 --> 31:41.670
No, I didn't develop a WordPress plug-in, sorry.

31:41.670 --> 31:50.170
I took a PHP cell, pony cell, zipped it, named it cell.plugin, uploaded there, and

31:53.740 --> 32:07.260
I think I might have prematurely used the I'm the admin meme, because right now, I'm the fucking admin in the whole situation.

32:13.860 --> 32:30.200
Then, after doing things that most of the Red Teamers in here, I see a really good Red Teamer in here, would decapitate me of doing, but again, I'm a simpleton, sorry about that.

32:30.200 --> 32:41.410
I somehow run Mimikatz, got the whole, I don't know, token and shit and all that, which means they're Russians.

32:42.020 --> 32:45.560
Who the fuck would expect them to be Russians?

32:45.620 --> 32:56.000
It's a Windows 2012 server, and they have done a lot of crimes, but can anyone guess what's their biggest crime?

32:58.000 --> 33:01.000
They haven't paid for WinRAR.

33:04.660 --> 33:11.260
For fuck's sake, you make, I don't know, 20 million per year, pay the fucking WinRAR.

33:14.020 --> 33:26.020
So, database export, username extract, remote command execution on the server, got hold of their own secret keys, lots, and I mean lots of locks to analyze.

33:26.020 --> 33:35.360
I was hoping that it would be down by someone by now, but it's still there, so if anyone wants to play, go play.

33:35.660 --> 33:37.100
Result?

33:44.670 --> 34:08.930
Again, this was supposedly my talk up until this Saturday, but this Saturday, Dark Angels, it emerged in May 2022, high-profile targets, Babook-based, that means that they just stole the whole league of Babook and they're using it, they're focused on Linux and ESXi,

34:08.930 --> 34:14.970
and they received a record 75 million ransom, as we all saw last week.

34:15.450 --> 34:29.030
And then, Rakesh Krishnan, I hope I said it correctly, found their clear text, their open web IP, which means I had to take a look.

34:29.050 --> 34:35.350
This was on Saturday morning, and I was flying away Saturday evening, so I had six hours.

34:37.530 --> 34:40.030
You can go there right now.

34:40.030 --> 34:42.770
I should make it a demo, but I don't like demos.

34:42.770 --> 34:47.110
So, they have a different HTTPS and HTTP configuration.

34:47.110 --> 34:53.130
The HTTPS is on the slash public of their symphony.

34:53.330 --> 35:08.450
The HTTP, port 80, is on the root of symphony, which means if you go to .env, you are going to see .env, and you are going to see AppSecret and the MySQL password.

35:08.990 --> 35:12.310
You do what you want with that information.

35:13.510 --> 35:15.510
What did I find?

35:15.510 --> 35:21.210
Env file exposure, internal URLs exposure, some error logs exposed.

35:21.210 --> 35:24.090
I'm not going to say what those error logs were.

35:24.090 --> 35:26.150
You can look at it.

35:26.210 --> 35:31.910
One message mentioning 5.5 million payment exposed.

35:32.270 --> 35:37.850
This was nowhere to be found, so I guess they were paid and killed the whole thing.

35:37.850 --> 35:40.590
So, all in all, that was fast.

35:40.590 --> 35:47.850
I could do some stuff with AppSecret, but unfortunately I had to fly here, so you should excuse me for that.

35:50.310 --> 35:53.290
And we are getting to the end.

35:54.330 --> 35:56.830
My favorite part of Ethical Glimmers.

35:59.410 --> 36:01.390
Are we the baddies?

36:01.390 --> 36:04.230
What the fuck we are doing with our lives?

36:06.270 --> 36:09.230
I never wanted to become a vigilante.

36:09.230 --> 36:14.370
I'm not seeing myself as a vigilante or someone who wanted to do bad things.

36:14.370 --> 36:21.110
I always wanted to be considered, as we Greeks say, the Socratic fly or the god fly.

36:21.110 --> 36:34.010
I wanted to be the one that reinvents the status quo and tries to make the bad people, the ransomware gangs, give them a taste of their own medicine.

36:35.010 --> 36:43.950
And I also want to say to CTI companies that they would really need to be more open into sharing information.

36:44.270 --> 36:55.050
If I only had C2's information more quicker, I would have a really bigger talk right now.

36:55.050 --> 37:01.950
Except the two CTI companies that have already used my research without mentioning me.

37:01.950 --> 37:04.310
Those can go fuck off, I don't care.

37:07.720 --> 37:09.000
Conclusions.

37:09.920 --> 37:14.180
Some of us fail and fail miserably.

37:14.440 --> 37:20.100
Some of you really succeed and succeed gloriously.

37:20.100 --> 37:23.160
And I'm really happy with everyone that succeeds.

37:23.160 --> 37:28.860
I know that for the past two years, I have been looking.

37:28.860 --> 37:34.620
I really love VX Underground and their five horsemen paradigm.

37:34.620 --> 37:44.400
So for the past two years, from London 2022 with Spower, Defqon last year with Stealer and Botnet, and this year's Defqon and Blackhat with ransomware.

37:44.760 --> 37:48.480
I have been fighting all those five horsemen.

37:48.480 --> 38:01.240
And while I never had a clear win, I could never say that this was not the case, that I didn't look anyone, all of them in the eye and smiled.

38:01.400 --> 38:04.540
So, thank you.

38:04.560 --> 38:09.980
And if anyone has any questions, we have like five minutes to talk.

38:09.980 --> 38:11.400
There's the microphone.

38:17.340 --> 38:18.820
No one?

38:19.240 --> 38:20.400
Nice.

38:20.400 --> 38:21.780
Thank you guys.

38:22.860 --> 38:24.340
Oh, I have one.

38:24.840 --> 38:25.900
Where is he?

38:26.280 --> 38:27.680
Oh, nice.

38:30.040 --> 38:31.480
Hi, thank you.

38:31.480 --> 38:32.460
Great talk.

38:32.660 --> 38:37.600
My question is, which would you choose to fight?

38:37.760 --> 38:42.780
Five duck-sized horses or...

38:44.000 --> 38:45.140
Oh, I got it wrong.

38:45.140 --> 38:46.260
I got no question.

38:46.260 --> 38:47.600
Thank you for the talk.

38:48.060 --> 38:48.680
Thank you.

38:49.520 --> 38:50.960
Anyone else?

38:51.780 --> 38:53.900
Thank you guys.

