1 00:00:03,000 --> 00:00:04,280 Hello, Devcon. 2 00:00:06,420 --> 00:00:12,560 First of all, if anyone does not want to be photographed, I'm going to take two pictures. 3 00:00:12,560 --> 00:00:14,200 That's for my mom. 4 00:00:24,940 --> 00:00:29,020 She never believes that anyone comes and hears me talking. 5 00:00:31,220 --> 00:00:34,620 That says a lot about her trust issues. 6 00:00:35,140 --> 00:00:43,320 Hello, everyone, and welcome to my talk, Behind Enemy Lines, Engaging and Disrupting Ransomware Web Panels. 7 00:00:45,160 --> 00:00:51,300 This talk is PG-17, due to two reasons. 8 00:00:51,300 --> 00:01:01,660 First, there are going to be some notions about drugs and bad words from people in the talk. 9 00:01:02,020 --> 00:01:06,380 And secondly, I love saying fuck and shit. 10 00:01:07,220 --> 00:01:09,580 And I'm not going to stop it. 11 00:01:10,860 --> 00:01:12,180 Hello, all. 12 00:01:12,180 --> 00:01:14,660 As you can see, I'm Vangelis Stikas. 13 00:01:14,660 --> 00:01:20,880 I'm the CTO and co-founder of a penetration testing firm called Atropos. 14 00:01:20,880 --> 00:01:30,460 We specialize in API penetration testing and green PV and electronic vehicle chargers penetration testing. 15 00:01:30,460 --> 00:01:40,260 My research interest for the past decade is API security and for the past couple of years, malware and ransomware C2s. 16 00:01:42,230 --> 00:01:44,690 How everything started. 17 00:01:44,690 --> 00: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. 18 00:01:55,750 --> 00:01:58,050 So I wanted a bigger challenge. 19 00:01:58,050 --> 00:02:03,070 And the main question in here is, could it be any harder? 20 00:02:05,870 --> 00:02:13,730 Markus Hatzins, I think you all know who he is, said that cyber threat intelligence is such a white industry. 21 00:02:13,730 --> 00:02:24,830 In contrast to the actual intelligence, which is a monopoly of the government, there is the CTI. 22 00:02:25,090 --> 00: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. 23 00:02:35,070 --> 00:02:36,630 Two issues in here. 24 00:02:36,710 --> 00:02:40,450 I'm going to start with the one that has legal implications. 25 00:02:41,330 --> 00:02:44,010 Who the fuck named his son Brad? 26 00:02:46,850 --> 00:02:48,670 I'm not Brad, I'm Vagelis. 27 00:02:48,670 --> 00:02:51,270 And secondly, I don't take drugs. 28 00:02:51,270 --> 00:03:00,690 I do like my occasional alcohol, but I also have three really strange people in the Signal chat. 29 00:03:01,070 --> 00:03:06,830 If you want to drop them a follow on Twitter, Twitter, not X, fuck Elon Musk. 30 00:03:07,570 --> 00:03:16,050 First is Solfer, my really good friend and pretty much partner in all my research and the main person to blame. 31 00:03:16,650 --> 00: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. 32 00:03:30,790 --> 00:03:33,190 The third one is No Thanks. 33 00:03:33,190 --> 00:03:42,410 He's a super ninja hacker, multiple times DEF CON speaker too, and a really good artist. 34 00:03:42,410 --> 00:03:52,420 All three of them were trying to poke me around to start going after ransomware. 35 00:03:52,540 --> 00:03:59,260 A couple of minutes ago, I asked how much more difficult it would be. 36 00:03:59,260 --> 00: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. 37 00:04:12,400 --> 00:04:14,650 So it's 18 out of 36. 38 00:04:15,080 --> 00:04:17,760 For the ransomware, it's quite difficult. 39 00:04:17,760 --> 00:04:26,100 So I only was able to get access to three and a half out of 140 that I have tested. 40 00:04:27,620 --> 00:04:30,480 Quick intro, that's the only intro. 41 00:04:30,480 --> 00:04:36,940 Ransomware is a type of malicious software that threatens to publish or block access until the blah, blah, blah. 42 00:04:36,940 --> 00:04:40,580 If you don't know what ransomware is, go somewhere else. 43 00:04:43,160 --> 00:04:47,500 How ransomware works, there's a step-by-step process. 44 00:04:47,500 --> 00:04:57,280 One is they somehow get access and distribute their malware and infect an internal user. 45 00:04:57,280 --> 00:05:01,820 The second step is getting access to command and control C2s. 46 00:05:01,820 --> 00:05:05,300 Then they do the discovery and lateral movement. 47 00:05:05,400 --> 00:05:09,760 The data extraction, so they're extracting all the data. 48 00:05:09,760 --> 00:05:13,320 Data encryption, which means you have lost all your data. 49 00:05:13,320 --> 00:05:15,080 Then there is extortion. 50 00:05:15,460 --> 00:05:18,960 So what we're going to see there are three or four ways of extortion. 51 00:05:19,300 --> 00:05:21,540 And then there is resolution. 52 00:05:21,540 --> 00:05:25,040 However you resolve that issue. 53 00:05:29,060 --> 00:05:37,100 That slide is going to seem like I'm teaching you on how good ransomware market is. 54 00:05:37,100 --> 00:05:38,360 I'm not. 55 00:05:38,360 --> 00:05:41,020 I fucking hate them. 56 00:05:41,020 --> 00:05:43,120 They fucking hate me. 57 00:05:43,440 --> 00:05:45,720 But I want to say some good stuff about them. 58 00:05:45,720 --> 00:05:49,160 So it's the fastest growing type of cybercrime. 59 00:05:49,160 --> 00:05:54,760 Their payout broke the limit of 1 billion last year. 60 00:05:54,760 --> 00:05:57,400 They hit 1.1 billion. 61 00:05:57,500 --> 00:06:00,060 It's a highly professional industry. 62 00:06:00,060 --> 00:06:03,680 It seems that the boundaries here are falling off. 63 00:06:03,680 --> 00:06:10,660 So they're after hospitals, critical national infrastructure and pretty much everything else. 64 00:06:10,660 --> 00:06:14,360 And want to cry open the kind of forms that we cannot close. 65 00:06:15,620 --> 00:06:18,780 Again, this slide too, I fucking hate them. 66 00:06:19,860 --> 00:06:22,160 The gangs are highly hierarchical. 67 00:06:22,160 --> 00:06:25,720 We expect that it's a criminal rig. 68 00:06:25,720 --> 00:06:27,400 They have a clear structure. 69 00:06:27,440 --> 00:06:31,240 The first part is obviously the tech part that we're going to see later on. 70 00:06:31,240 --> 00:06:34,940 But they also have ransomware negotiators and customer support. 71 00:06:34,940 --> 00:06:36,640 As pretty much any company has. 72 00:06:36,640 --> 00:06:38,760 Money lenders and payment processing. 73 00:06:38,760 --> 00:06:43,100 Because as we saw, they're processing 1.1 billion per year. 74 00:06:43,100 --> 00:06:45,180 And collaboration and partnerships. 75 00:06:45,180 --> 00:06:49,520 Because why not partner with a ransomware, right? 76 00:06:50,680 --> 00:06:52,240 The tech part. 77 00:06:52,480 --> 00:06:57,480 They have several specific and special users. 78 00:06:57,480 --> 00:06:59,100 One is the malware developers. 79 00:06:59,100 --> 00:07:00,760 I'm not going to explain what it is. 80 00:07:00,760 --> 00:07:06,380 Exploitation developers who are possibly developing either zero day or end day. 81 00:07:06,380 --> 00:07:09,540 They have special people for data theft and leaks. 82 00:07:09,540 --> 00:07:11,860 They have people for operational security. 83 00:07:11,860 --> 00:07:15,300 And last but not least, and usually we don't know about that. 84 00:07:15,300 --> 00:07:18,300 They have really good people on infrastructure and hosting. 85 00:07:18,300 --> 00:07:23,220 And that makes sense because imagine owning a unicorn company. 86 00:07:23,700 --> 00:07:28,640 Extracting half a terabyte of data and not being able to process it. 87 00:07:28,640 --> 00:07:32,520 Because your infrastructure or hosting was bad enough. 88 00:07:34,400 --> 00:07:36,760 Let's move to the ransomware models. 89 00:07:36,800 --> 00:07:38,960 First of all, there were lone wolves. 90 00:07:38,960 --> 00:07:42,440 At some point, right now, they are no longer it. 91 00:07:42,440 --> 00:07:45,800 Those were single people who were doing everything. 92 00:07:45,800 --> 00:07:50,040 Initial access brokers are a special way of ransomware groups. 93 00:07:50,040 --> 00:07:54,400 They are people who specialize in just that initial access. 94 00:07:54,400 --> 00:07:57,420 Getting it and then selling it to other ransomware groups. 95 00:07:57,420 --> 00:08:01,880 Only one ransomware groups, which is from start to finish. 96 00:08:01,880 --> 00:08:04,660 Everything done by them. 97 00:08:04,660 --> 00:08:10,680 And ransomware as a service, which you could consider it as software as a service. 98 00:08:10,680 --> 00:08:16,640 Or as I like to say, ransomware meets capitalism. 99 00:08:18,080 --> 00:08:21,600 How ransomware as a service are being paid. 100 00:08:21,600 --> 00:08:23,100 Flat monthly fee. 101 00:08:23,100 --> 00:08:25,640 Affiliate programs with a monthly percent of the profits. 102 00:08:25,640 --> 00:08:27,200 One time license. 103 00:08:27,220 --> 00:08:29,520 This is not as a service, I'm just saying. 104 00:08:29,520 --> 00:08:32,780 But they do advertise that. 105 00:08:32,800 --> 00:08:34,480 Pure profit sharing. 106 00:08:34,640 --> 00:08:39,300 Payments made to the RAS and then they give you a part of... 107 00:08:39,300 --> 00:08:44,660 They give their affiliate, not me, a part of the profits. 108 00:08:44,700 --> 00:08:48,500 And the most well-known were Lockbit, Blackcat, Klopp and some more. 109 00:08:49,580 --> 00:08:55,620 This is my only try of being a graphic designer. 110 00:08:56,220 --> 00:08:57,740 You see I'm not good. 111 00:08:58,240 --> 00:09:01,300 So we are going after the C2 server. 112 00:09:01,300 --> 00: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. 113 00:09:09,520 --> 00:09:12,160 Can anyone guess why he's the hacker? 114 00:09:13,700 --> 00:09:14,560 No one? 115 00:09:15,200 --> 00:09:17,220 He's wearing a hoodie, guys. 116 00:09:17,540 --> 00:09:19,020 If you wear a hoodie, you're a hacker. 117 00:09:19,020 --> 00:09:20,180 You should know that. 118 00:09:20,180 --> 00:09:22,180 You're DEF CON for fuck's sake. 119 00:09:23,840 --> 00:09:25,740 The extortion, how they do. 120 00:09:25,740 --> 00:09:29,740 They establish communications with victims with multiple ways. 121 00:09:29,740 --> 00:09:34,880 Talks, telegram, email or some internal web panels. 122 00:09:34,880 --> 00:09:37,040 Keep that in mind, you're going to see one. 123 00:09:37,120 --> 00:09:41,320 They lay their terms and then they extort victims in multiple ways. 124 00:09:42,680 --> 00:09:45,800 There are four ways of extorting people. 125 00:09:45,800 --> 00:09:47,840 The first is ransomware data. 126 00:09:47,840 --> 00:09:49,620 So they have encrypted their data. 127 00:09:49,620 --> 00:09:55,660 So they're wanting the money to decrypt data. 128 00:09:55,660 --> 00:10:05,000 This was easily fell over because now pretty much everyone has a proper backup system. 129 00:10:05,000 --> 00:10:06,040 I hope. 130 00:10:06,780 --> 00:10:11,900 Then the second level of extortion was releasing data to the public. 131 00:10:11,900 --> 00:10:15,660 So extorting the people that we have your data, we're going to release it on the public. 132 00:10:15,660 --> 00:10:20,260 The third was DDoS with knowledge obtained from data. 133 00:10:20,260 --> 00:10:27,760 And fourth was communicate with people that were the victims' customers or even the LEA. 134 00:10:27,760 --> 00: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. 135 00:10:40,560 --> 00:10:42,860 So let's set some goals. 136 00:10:42,860 --> 00:10:48,800 First, we want to identify all the C2s and data leak sites. 137 00:10:48,880 --> 00:10:51,080 Try to find any vulnerabilities. 138 00:10:51,080 --> 00:10:52,820 And I mean any vulnerabilities. 139 00:10:52,900 --> 00:10:54,960 Identify any people behind them. 140 00:10:54,960 --> 00:10:58,080 Try to disrupt panels and threat actors. 141 00:10:58,480 --> 00:11:01,900 And the three last ones are really, really important. 142 00:11:01,900 --> 00:11:06,200 Do not disrupt with any active LEA investigation. 143 00:11:06,620 --> 00:11:08,340 Don't be a malakas. 144 00:11:08,520 --> 00:11:10,360 And don't get banned. 145 00:11:10,360 --> 00:11:15,500 So those two, the last, are my motto for the past couple of years. 146 00:11:15,500 --> 00:11:16,960 I have them as stickers. 147 00:11:16,960 --> 00:11:19,240 If you want them, come ask for them. 148 00:11:19,240 --> 00:11:26,120 So, the past couple of years I have been joking around that I will be banned. 149 00:11:26,120 --> 00:11:32,160 Which was mostly a joke and a tongue in the cheek thing. 150 00:11:32,160 --> 00:11:46,340 But right now, I'm trying to disrupt criminal rigs that handle more or less tens of millions of dollars. 151 00:11:46,340 --> 00:11:47,900 And they are criminal rigs. 152 00:11:47,900 --> 00:11:56,920 So this is no longer a joke, but an actual probable risk for me. 153 00:11:57,940 --> 00:12:08,120 Last night, when someone tried to enter my room by wrong, I literally thought that I was getting banned. 154 00:12:08,120 --> 00:12:09,860 This is not funny. 155 00:12:10,820 --> 00:12:18,020 A more probable situation, though, is me waking up again with this message. 156 00:12:18,080 --> 00:12:23,500 I don't know how many of you have woken up with this kind of message. 157 00:12:23,500 --> 00:12:27,700 It's either on your Google account or your iPhone. 158 00:12:28,460 --> 00: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. 159 00:12:37,360 --> 00:12:40,860 So, I'm going to say it here in DEF CON. 160 00:12:40,860 --> 00:12:43,420 I also said it on Black Hat a couple of days ago. 161 00:12:43,420 --> 00: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. 162 00:13:01,960 --> 00:13:05,800 There's no reason to burn your zero day for me. 163 00:13:06,640 --> 00: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. 164 00:13:20,340 --> 00:13:23,240 How did I identify pandemics? 165 00:13:23,240 --> 00:13:29,260 Those really nice people that are doing CTI, I'm not a CTI expert. 166 00:13:29,260 --> 00:13:34,520 I'm just a random guy who Googles and Doomscrolls on Twitter. 167 00:13:34,520 --> 00: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. 168 00:13:52,020 --> 00:13:58,240 The research had certain limitations that we knew, I knew from the beginning. 169 00:13:58,240 --> 00:14:08,280 The C2s had a terribly small lifetime because they were live only during the actual phase of being of the ponies. 170 00:14:08,280 --> 00: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. 171 00:14:19,460 --> 00:14:24,220 The data link sites are well, very, very well looked after. 172 00:14:24,220 --> 00:14:27,140 And they're also behind Tor and Onion. 173 00:14:27,140 --> 00:14:35,400 So, it gives an extra obstacle that I would have to bypass in order to get to them and test them. 174 00:14:36,800 --> 00:14:41,160 My methodology is quite straightforward. 175 00:14:41,160 --> 00:14:45,140 I'm going to ignore malware distribution and reversing. 176 00:14:45,180 --> 00:14:49,280 First, because I'm a simpleton and I don't understand reversing. 177 00:14:49,280 --> 00: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. 178 00:15:02,630 --> 00: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. 179 00:15:12,160 --> 00:15:19,090 And then, I will introduce you to a newer Toyota Corolla. 180 00:15:20,050 --> 00: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. 181 00:15:30,610 --> 00: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. 182 00:15:44,350 --> 00:15:51,410 Methodology, boring stuff, but I have to say, because those tools literally made the whole research. 183 00:15:52,030 --> 00:15:53,850 Dirsearch, for the win. 184 00:15:54,210 --> 00:15:56,310 FFUF, Verbshoot. 185 00:15:56,410 --> 00: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. 186 00:16:03,990 --> 00:16:06,530 Coffee, and I mean a lot of coffee. 187 00:16:06,830 --> 00:16:09,030 Anyrun, for running all the malwares. 188 00:16:09,030 --> 00: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. 189 00:16:16,290 --> 00:16:23,970 So, done ION Census, so that you could potentially find websites outside of Tor. 190 00:16:24,110 --> 00:16:26,170 And did I mention coffee? 191 00:16:26,170 --> 00:16:27,830 I mean lots of coffee. 192 00:16:30,210 --> 00:16:32,770 How I'm going to approach the whole thing. 193 00:16:32,770 --> 00:16:35,030 Black box web application testing. 194 00:16:35,310 --> 00:16:38,930 Use any acquired information for furthering my attacks. 195 00:16:38,930 --> 00:16:41,870 Interact with data leaks and chat websites. 196 00:16:42,210 --> 00:16:45,990 Intentionally infect sandbox so that I could get a ticket. 197 00:16:45,990 --> 00: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. 198 00:16:56,310 --> 00: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. 199 00:17:05,870 --> 00:17:08,290 My results were disappointing. 200 00:17:08,290 --> 00:17:15,450 There were only 15 URLs that gave something interesting, which is not exactly interesting. 201 00:17:15,450 --> 00:17:18,010 Then I moved to manually check all of them. 202 00:17:19,210 --> 00:17:21,810 Five of them were WordPress. 203 00:17:21,810 --> 00:17:25,030 A couple of them were leaking IP addresses. 204 00:17:25,030 --> 00:17:27,010 And some of them were cheeky. 205 00:17:27,010 --> 00:17:30,170 When I say cheeky, I mean really cheeky. 206 00:17:30,170 --> 00:17:33,330 So one of them told me to fuck off. 207 00:17:33,990 --> 00:17:38,490 The other one told me to use the N word. 208 00:17:38,490 --> 00:17:41,090 I'm not going to use it because I respect people. 209 00:17:41,250 --> 00:17:48,010 And the cheeky was Abish who said, just business, nothing personal. 210 00:17:48,050 --> 00:17:49,070 Keep that. 211 00:17:50,070 --> 00:17:52,270 So let's go. 212 00:17:52,650 --> 00:17:56,430 Much like Alice in Wonderland. 213 00:17:56,630 --> 00:18:06,250 Let's take the little dumb bunny by hand and let's move inside Ransomware Land, shall we? 214 00:18:08,010 --> 00:18:10,030 First one is Mallocs. 215 00:18:10,030 --> 00:18:12,090 I don't know who is familiar with that. 216 00:18:12,090 --> 00:18:17,790 They're also known as Target Company, Fargo and Tonsomething. 217 00:18:17,790 --> 00:18:19,330 I cannot pronounce it. 218 00:18:19,330 --> 00:18:22,570 First appearance was June 2021. 219 00:18:22,590 --> 00:18:27,930 They target mostly Windows machines and specifically MS SQL servers. 220 00:18:27,930 --> 00:18:30,050 They brute force SA accounts. 221 00:18:30,050 --> 00:18:33,470 Last year, they started using also some end days. 222 00:18:33,470 --> 00:18:36,450 And they are in the hundreds of victims. 223 00:18:37,870 --> 00:18:42,830 This is their index page of their data leaks. 224 00:18:42,830 --> 00:18:45,610 As you can see, they have a lot of victims. 225 00:18:46,270 --> 00:18:55,770 And the slash malloc slash private signing, they requested a private key so that I could chat with them. 226 00:18:55,770 --> 00:18:59,970 So I had to, as I said, infect something. 227 00:18:59,970 --> 00:19:01,910 I infected anyone. 228 00:19:01,910 --> 00:19:03,650 I got a key. 229 00:19:05,110 --> 00:19:06,370 Is it clear? 230 00:19:06,370 --> 00:19:07,810 I said, hello. 231 00:19:08,330 --> 00:19:09,770 Guy didn't respond. 232 00:19:09,770 --> 00:19:13,030 So like I said again, hello. 233 00:19:13,190 --> 00:19:14,470 Nothing back. 234 00:19:14,470 --> 00:19:15,390 Sorry. 235 00:19:16,490 --> 00:19:20,350 I then decided to run their search and FFUF. 236 00:19:20,350 --> 00:19:28,470 There was an Apache server status page exposed, which was leaking URLs, server IP addresses. 237 00:19:28,470 --> 00:19:31,990 And it was also leaking tokens to check other people's messages. 238 00:19:31,990 --> 00:19:34,210 But that was not fun enough. 239 00:19:36,430 --> 00:19:39,430 So can you see the whole thing? 240 00:19:39,430 --> 00:19:43,830 There is a button underneath my hello that says reply. 241 00:19:44,170 --> 00:19:45,930 This is the post message. 242 00:19:45,930 --> 00:19:47,910 It's practically a quote. 243 00:19:47,910 --> 00:19:51,970 Can anyone guess what the issue is in here? 244 00:19:53,370 --> 00:19:54,730 No? 245 00:19:55,890 --> 00:19:57,030 Okay. 246 00:19:57,030 --> 00:20:05,770 So there was an either on reply ID parameter, which means I could quote pretty much any message in the world. 247 00:20:05,770 --> 00:20:08,110 Not in the world, in the server. 248 00:20:08,110 --> 00:20:10,490 The parameter was an incremental integer. 249 00:20:10,490 --> 00: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. 250 00:20:25,730 --> 00:20:34,170 That was also used for in-between messages, for in-organization messages. 251 00:20:34,170 --> 00:20:36,510 So first, there's the boss. 252 00:20:36,810 --> 00:20:39,470 Clearly a God complex. 253 00:20:39,610 --> 00:20:44,010 I work according to my own schedule, which does not change on anyone's request. 254 00:20:44,010 --> 00:20:47,190 As soon as I see the payment, I will send the decryptor. 255 00:20:47,230 --> 00:20:50,270 I have a well-maintained business, blah, blah. 256 00:20:50,270 --> 00:20:55,550 It will not be disturbed by any moron that could not secure their machines. 257 00:20:55,630 --> 00:20:57,550 Oh, the irony, right? 258 00:20:58,710 --> 00: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. 259 00:21:05,890 --> 00:21:11,370 I don't know exactly what Special K is, but I think it's a drag. 260 00:21:13,070 --> 00:21:14,730 So, employees. 261 00:21:14,730 --> 00:21:17,330 Boss, the budget for this client is only 15K. 262 00:21:17,330 --> 00:21:18,550 Do you agree? 263 00:21:18,550 --> 00:21:20,370 They don't need much data. 264 00:21:20,450 --> 00:21:24,690 And Jessica, probably to another employee, boss is not in a good mood today. 265 00:21:24,690 --> 00:21:26,090 Let's be careful. 266 00:21:26,090 --> 00:21:27,230 Yeah, be careful. 267 00:21:27,650 --> 00:21:29,110 Good for you, Jessica. 268 00:21:30,750 --> 00:21:36,330 And last, but really not least, the boss was sending the decryptors to the guys. 269 00:21:36,330 --> 00:21:38,510 Here's the decryptor for company A. 270 00:21:38,510 --> 00:21:40,310 Here's the decryptor for company B. 271 00:21:40,310 --> 00:21:43,490 I got those decryptors because I wanted them too. 272 00:21:45,910 --> 00:21:48,570 This is the actual organization. 273 00:21:48,870 --> 00:21:53,430 I said I wouldn't have another graphic, but I needed to do another graphic. 274 00:21:53,430 --> 00:21:55,170 You should forgive me for that. 275 00:21:55,230 --> 00:21:59,210 So, boss on the top, Panda, Jessica, Malox, and Ismail on the bottom. 276 00:21:59,210 --> 00:22:06,960 And then, after a day or so, unfortunately, my chat was disabled and my IDOR was fixed. 277 00:22:07,410 --> 00:22:08,810 Message was not delivered. 278 00:22:08,810 --> 00:22:11,850 Unfortunately, I couldn't quote it anymore. 279 00:22:12,610 --> 00:22:13,990 What did I get? 280 00:22:13,990 --> 00:22:16,170 I got internal knowledge of the team. 281 00:22:16,170 --> 00:22:18,410 I got pretty much all of their messages. 282 00:22:18,490 --> 00:22:24,710 I got some decryptors, which I communicated to the companies that were ransomed with, and they used it. 283 00:22:24,850 --> 00:22:31,710 Once the admin got up, or sober, I don't know what, it was fixed. 284 00:22:31,830 --> 00:22:33,790 So, all in all, result? 285 00:22:35,710 --> 00:22:37,090 Mediocre, I guess. 286 00:22:37,090 --> 00:22:39,930 Sorry about that, but I was too verbose. 287 00:22:39,930 --> 00:22:41,450 I was too blatant. 288 00:22:41,450 --> 00:22:45,210 I just did it all at once, but I wanted to do it. 289 00:22:46,750 --> 00:22:49,910 That's my second group. 290 00:22:50,150 --> 00:22:52,150 I think all of you know it. 291 00:22:52,150 --> 00:22:54,550 Black Hat and Alpha V. 292 00:22:54,790 --> 00:22:56,710 They're also known as Noberus. 293 00:22:56,710 --> 00:22:58,970 Their first appearance was in 2021. 294 00:22:58,970 --> 00:23:01,870 They operated as a ransomware as a service. 295 00:23:01,870 --> 00:23:07,910 They have a Rust-based malware and server-side C2, and they use the triple-extrusion scheme. 296 00:23:09,290 --> 00:23:15,450 The Rust loader that we're going to go after was researched by Lapuseanu. 297 00:23:15,450 --> 00:23:20,950 Sorry if I butchered your name, Andrei, by Bitdefender Labs. 298 00:23:21,090 --> 00:23:23,450 It was targeting only Mac. 299 00:23:23,450 --> 00:23:25,050 It was developed in Rust. 300 00:23:25,050 --> 00:23:29,690 I think all of the Black Hat malware was developed in Rust. 301 00:23:29,690 --> 00:23:33,370 And their C2 was used on all of Black Hat malware. 302 00:23:34,310 --> 00: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. 303 00:23:47,110 --> 00:23:50,090 I checked all the C2 URLs. 304 00:23:50,090 --> 00:23:54,250 One of them was online, but it was just returning 404. 305 00:23:54,250 --> 00: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. 306 00:24:02,530 --> 00:24:06,450 And two days later, it downloaded some documentation. 307 00:24:06,950 --> 00:24:15,350 The first documentation was for clients, so I could see all the malware-infected clients. 308 00:24:15,350 --> 00: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. 309 00:24:25,170 --> 00:24:31,130 Unfortunately, both of those endpoints were offline at that point. 310 00:24:31,450 --> 00: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. 311 00:24:48,150 --> 00:24:52,410 And by wait, I mean really wait. 312 00:24:53,210 --> 00:25:00,210 I think seven or eight days after, I got a push notification on my phone. 313 00:25:00,270 --> 00:25:01,630 Yay, you got something. 314 00:25:01,630 --> 00:25:06,710 So, I extracted 197 commands in two minutes on a four-hour window. 315 00:25:06,710 --> 00:25:09,310 What does that say to us? 316 00:25:09,310 --> 00:25:16,150 It means that Blackcat was putting the C2 server only when using it and exploiting it. 317 00:25:16,150 --> 00: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. 318 00:25:23,610 --> 00:25:27,730 And you can see that in here, it uploads a file. 319 00:25:29,070 --> 00:25:31,770 And this is the scary command. 320 00:25:31,770 --> 00:25:36,210 When you see the XXX in here was a command's name. 321 00:25:36,210 --> 00: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. 322 00:25:53,330 --> 00:25:56,750 So, I had to switch to incident response mode. 323 00:25:57,600 --> 00:26:00,490 I hate incident response. 324 00:26:01,770 --> 00:26:04,090 I identified four companies. 325 00:26:04,090 --> 00:26:06,990 All of them were cryptocurrency related. 326 00:26:07,450 --> 00:26:09,650 Crypto is cryptography. 327 00:26:09,930 --> 00:26:11,000 Fuck cryptocurrency. 328 00:26:11,970 --> 00:26:18,550 Two of them were unicorns, which means their valuation was over a billion. 329 00:26:18,870 --> 00:26:23,050 All four of them were notified and they acknowledged the issue. 330 00:26:23,130 --> 00:26:25,070 None of them were an unsung. 331 00:26:25,550 --> 00:26:26,690 What did I got? 332 00:26:26,690 --> 00:26:31,750 I got all the info and understood the lateral movement that Blackcat was doing at that point. 333 00:26:31,770 --> 00:26:34,250 I stopped the whole campaign. 334 00:26:34,250 --> 00:26:39,530 Four companies were not ransomed and Blackcat got a really big financial hit. 335 00:26:39,530 --> 00:26:40,790 And after... 336 00:26:47,670 --> 00:26:49,030 Thanks. 337 00:26:49,450 --> 00:26:56,190 And after a month, under increasing federal scrutiny, Blackcat ransomware gang pulled XXX on its way out. 338 00:26:56,350 --> 00: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. 339 00:27:10,570 --> 00:27:15,250 So, all in all, I would say not bad, right? 340 00:27:16,770 --> 00:27:18,510 Third one. 341 00:27:18,650 --> 00:27:19,810 Everest. 342 00:27:20,490 --> 00:27:23,470 Oh, my lovely Everest. 343 00:27:23,470 --> 00:27:26,070 Active since late 2020. 344 00:27:26,110 --> 00:27:31,570 They targeted high profile targets for the first three years. 345 00:27:31,570 --> 00:27:36,750 On the last year, they moved to also lower profile targets. 346 00:27:36,750 --> 00:27:39,450 They pivoted to initial access broker. 347 00:27:39,450 --> 00:27:42,310 They pivoted to just data leak. 348 00:27:42,310 --> 00:27:45,730 Fuck, they pivot around like they're startups. 349 00:27:45,970 --> 00:27:50,370 They graded as highly sophisticated by multiple researchers. 350 00:27:50,370 --> 00:27:58,610 And they're also well known for being paid and not getting... and then releasing the data. 351 00:27:58,610 --> 00:28:00,470 So, they are mentally unstable. 352 00:28:01,570 --> 00:28:02,490 Right? 353 00:28:02,490 --> 00:28:06,970 Why don't you go after a mentally unstable millionaire? 354 00:28:08,390 --> 00:28:11,410 This is their data leak page. 355 00:28:11,530 --> 00:28:14,870 Does it look like something you know? 356 00:28:15,310 --> 00:28:16,610 No one? 357 00:28:21,150 --> 00:28:24,210 It's fucking WordPress. 358 00:28:25,850 --> 00:28:29,590 Version 5.5.3. 359 00:28:29,590 --> 00:28:33,130 This version was done in 2020. 360 00:28:33,130 --> 00:28:35,330 That's four years ago. 361 00:28:35,430 --> 00:28:37,850 There, on the left, there is a login page. 362 00:28:37,850 --> 00:28:43,550 And on the right, there is also the readme.txt in case you didn't know how to install WordPress. 363 00:28:45,270 --> 00:28:50,630 Then, I ran WP scan via Torsox. 364 00:28:50,630 --> 00:28:52,990 Because, why not, right? 365 00:28:52,990 --> 00:28:57,350 It said it's really insecure, 42 vulnerabilities identified. 366 00:28:57,350 --> 00:29:02,570 Unfortunately, none of them was really exploitable by Selemy. 367 00:29:03,050 --> 00:29:12,530 The only thing that I could see in here was that error on RSS functions. 368 00:29:12,870 --> 00:29:18,150 As you can see in here, we can see that the PHP error reporting was on. 369 00:29:18,150 --> 00: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. 370 00:29:28,690 --> 00:29:33,830 They also had OpenDIR, so you could see pretty much everything. 371 00:29:33,910 --> 00:29:36,690 They had a couple of zip files, but nothing interesting. 372 00:29:37,930 --> 00:29:40,170 They also had phpMyAdmin. 373 00:29:41,030 --> 00:29:42,550 Why not, right? 374 00:29:43,750 --> 00:29:47,470 And I did what every super hacker does in the world. 375 00:29:48,150 --> 00:29:54,410 I googled Vertigo default MySQL password. 376 00:29:56,170 --> 00:29:58,250 Yeah, I got that. 377 00:29:58,250 --> 00:30:03,610 But unfortunately, it didn't work. 378 00:30:04,130 --> 00:30:09,170 And that was my talk up until 15th of July. 379 00:30:09,790 --> 00:30:14,470 Then, my nine-year-old son... okay, let me stop. 380 00:30:15,510 --> 00:30:17,470 In Greece, I have two sons. 381 00:30:17,470 --> 00:30:22,490 The one is nine-year-old, the other just became 13. 382 00:30:22,490 --> 00:30:25,390 So, can we all say happy birthday to Antonis? 383 00:30:25,710 --> 00:30:26,230 Because... 384 00:30:28,010 --> 00:30:29,550 Thanks for that. 385 00:30:30,270 --> 00:30:31,650 Happy birthday, Antonis. 386 00:30:31,650 --> 00:30:35,610 I should be there in Greece, but I'm here, so you know me. 387 00:30:35,730 --> 00:30:44,970 So, my nine-year-old was sitting at my computer, reading my 2000 open tabs. 388 00:30:44,970 --> 00:30:50,990 And at some point, he says, that's a really strange name to call your server. 389 00:30:51,730 --> 00:30:54,730 Why the fuck would you call it Vertigo? 390 00:30:54,730 --> 00:30:57,710 I'm like, no, it's not Vertigo, it's Vertigo. 391 00:30:57,910 --> 00:30:59,750 He says, no, I know how to read. 392 00:30:59,750 --> 00:31:02,850 It has two R's, it's Vertigo. 393 00:31:03,490 --> 00:31:06,330 I'm like, what, motherfucker? 394 00:31:08,950 --> 00:31:13,490 He then said that he's not the thing, I'm the thing, but it is what it is. 395 00:31:13,490 --> 00:31:16,150 And do you all know what that means? 396 00:31:16,150 --> 00:31:19,810 I have to reuse my favorite meme. 397 00:31:20,250 --> 00:31:24,330 I use Vertigo, and what that means is... 398 00:31:27,910 --> 00:31:29,590 I'm the fucking admin. 399 00:31:32,130 --> 00:31:38,670 WordPress administration, I did develop a WordPress plug-in. 400 00:31:38,670 --> 00:31:41,670 No, I didn't develop a WordPress plug-in, sorry. 401 00:31:41,670 --> 00:31:50,170 I took a PHP cell, pony cell, zipped it, named it cell.plugin, uploaded there, and 402 00:31:53,740 --> 00: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. 403 00:32:13,860 --> 00: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. 404 00:32:30,200 --> 00: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. 405 00:32:42,020 --> 00:32:45,560 Who the fuck would expect them to be Russians? 406 00:32:45,620 --> 00: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? 407 00:32:58,000 --> 00:33:01,000 They haven't paid for WinRAR. 408 00:33:04,660 --> 00:33:11,260 For fuck's sake, you make, I don't know, 20 million per year, pay the fucking WinRAR. 409 00:33:14,020 --> 00: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. 410 00:33:26,020 --> 00: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. 411 00:33:35,660 --> 00:33:37,100 Result? 412 00:33:44,670 --> 00: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, 413 00:34:08,930 --> 00:34:14,970 and they received a record 75 million ransom, as we all saw last week. 414 00:34:15,450 --> 00: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. 415 00:34:29,050 --> 00:34:35,350 This was on Saturday morning, and I was flying away Saturday evening, so I had six hours. 416 00:34:37,530 --> 00:34:40,030 You can go there right now. 417 00:34:40,030 --> 00:34:42,770 I should make it a demo, but I don't like demos. 418 00:34:42,770 --> 00:34:47,110 So, they have a different HTTPS and HTTP configuration. 419 00:34:47,110 --> 00:34:53,130 The HTTPS is on the slash public of their symphony. 420 00:34:53,330 --> 00: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. 421 00:35:08,990 --> 00:35:12,310 You do what you want with that information. 422 00:35:13,510 --> 00:35:15,510 What did I find? 423 00:35:15,510 --> 00:35:21,210 Env file exposure, internal URLs exposure, some error logs exposed. 424 00:35:21,210 --> 00:35:24,090 I'm not going to say what those error logs were. 425 00:35:24,090 --> 00:35:26,150 You can look at it. 426 00:35:26,210 --> 00:35:31,910 One message mentioning 5.5 million payment exposed. 427 00:35:32,270 --> 00:35:37,850 This was nowhere to be found, so I guess they were paid and killed the whole thing. 428 00:35:37,850 --> 00:35:40,590 So, all in all, that was fast. 429 00:35:40,590 --> 00:35:47,850 I could do some stuff with AppSecret, but unfortunately I had to fly here, so you should excuse me for that. 430 00:35:50,310 --> 00:35:53,290 And we are getting to the end. 431 00:35:54,330 --> 00:35:56,830 My favorite part of Ethical Glimmers. 432 00:35:59,410 --> 00:36:01,390 Are we the baddies? 433 00:36:01,390 --> 00:36:04,230 What the fuck we are doing with our lives? 434 00:36:06,270 --> 00:36:09,230 I never wanted to become a vigilante. 435 00:36:09,230 --> 00:36:14,370 I'm not seeing myself as a vigilante or someone who wanted to do bad things. 436 00:36:14,370 --> 00:36:21,110 I always wanted to be considered, as we Greeks say, the Socratic fly or the god fly. 437 00:36:21,110 --> 00: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. 438 00:36:35,010 --> 00:36:43,950 And I also want to say to CTI companies that they would really need to be more open into sharing information. 439 00:36:44,270 --> 00:36:55,050 If I only had C2's information more quicker, I would have a really bigger talk right now. 440 00:36:55,050 --> 00:37:01,950 Except the two CTI companies that have already used my research without mentioning me. 441 00:37:01,950 --> 00:37:04,310 Those can go fuck off, I don't care. 442 00:37:07,720 --> 00:37:09,000 Conclusions. 443 00:37:09,920 --> 00:37:14,180 Some of us fail and fail miserably. 444 00:37:14,440 --> 00:37:20,100 Some of you really succeed and succeed gloriously. 445 00:37:20,100 --> 00:37:23,160 And I'm really happy with everyone that succeeds. 446 00:37:23,160 --> 00:37:28,860 I know that for the past two years, I have been looking. 447 00:37:28,860 --> 00:37:34,620 I really love VX Underground and their five horsemen paradigm. 448 00:37:34,620 --> 00: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. 449 00:37:44,760 --> 00:37:48,480 I have been fighting all those five horsemen. 450 00:37:48,480 --> 00: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. 451 00:38:01,400 --> 00:38:04,540 So, thank you. 452 00:38:04,560 --> 00:38:09,980 And if anyone has any questions, we have like five minutes to talk. 453 00:38:09,980 --> 00:38:11,400 There's the microphone. 454 00:38:17,340 --> 00:38:18,820 No one? 455 00:38:19,240 --> 00:38:20,400 Nice. 456 00:38:20,400 --> 00:38:21,780 Thank you guys. 457 00:38:22,860 --> 00:38:24,340 Oh, I have one. 458 00:38:24,840 --> 00:38:25,900 Where is he? 459 00:38:26,280 --> 00:38:27,680 Oh, nice. 460 00:38:30,040 --> 00:38:31,480 Hi, thank you. 461 00:38:31,480 --> 00:38:32,460 Great talk. 462 00:38:32,660 --> 00:38:37,600 My question is, which would you choose to fight? 463 00:38:37,760 --> 00:38:42,780 Five duck-sized horses or... 464 00:38:44,000 --> 00:38:45,140 Oh, I got it wrong. 465 00:38:45,140 --> 00:38:46,260 I got no question. 466 00:38:46,260 --> 00:38:47,600 Thank you for the talk. 467 00:38:48,060 --> 00:38:48,680 Thank you. 468 00:38:49,520 --> 00:38:50,960 Anyone else? 469 00:38:51,780 --> 00:38:53,900 Thank you guys.