[00:00.000 --> 00:08.100] So this is now 3.30 talk with Harrison Erland and the talk is called SoLong and Thanks for all the Fish. [00:08.140 --> 00:13.640] All right, give these guys, this is our first talk, so give them a good warm round of applause. [00:15.060 --> 00:16.880] They're from Deutschland. [00:21.660 --> 00:22.860] Hello. [00:23.560 --> 00:25.060] Is the sound OK? [00:27.280 --> 00:34.000] Thank you everyone for coming to our presentation called SoLong and Thanks for all the Fish. [00:34.180 --> 00:37.040] This presentation is about the story. [00:37.040 --> 00:51.820] It's a storytelling presentation where we will guide you through all the steps that we had to go through from receiving a text message to identifying scammering and the people behind the software. [00:52.920 --> 00:58.000] So my name is... does the clicker work? [00:58.000 --> 00:58.660] No. [00:58.660 --> 01:00.280] My name is Erland. [01:00.280 --> 01:06.340] I work in a security company called Mnemonic in Norway where I do pen testing. [01:06.720 --> 01:10.420] Yes, and my name is Harrison and I do the exact same thing as Erland. [01:10.480 --> 01:13.280] And for those of you in the back here, here's what we look like. [01:16.300 --> 01:22.460] So our project, it started back in the end of 2023. [01:23.240 --> 01:39.740] And at that time, it was like a pandemic of phishing messages where people would send you text messages about packages in the mail with a link and you needed to pay some postage fee or something. [01:39.840 --> 01:44.100] And on the screen, it's like the message that we received. [01:44.100 --> 01:48.100] I received it personally and it's from the Norwegian Postal Office. [01:48.220 --> 01:53.940] And I want me to click this link and fill out my credit card details. [01:54.500 --> 01:59.600] The news coverage at that time was very scarce. [01:59.600 --> 02:01.680] It told you basically two things. [02:01.680 --> 02:04.580] You should not click the link and you should delete the message. [02:04.760 --> 02:06.700] And we found that a little bit upsetting. [02:06.700 --> 02:15.260] We really wanted to know what can we find out if we click the link and use our skills to see what was really going on. [02:15.280 --> 02:24.800] So we felt a bit, what you can call it, courageous and we decided to not follow all the advices and we clicked the link. [02:26.600 --> 02:27.660] All right. [02:27.680 --> 02:46.260] So we clicked on the link and as you expected, you got a page for the website basically pretending to be the postal service showed up on our phone and it was, I mean, the example that we had was for the Norwegian Postal Service but just imagine this applies to any country on the planet. [02:46.260 --> 02:48.100] There's different templates that exist. [02:48.160 --> 02:51.120] So it worked on the phone and then we loaded it up on our browser. [02:51.120 --> 02:53.100] So we mainly work with web application security. [02:53.100 --> 02:56.740] So the first thing you want to do is load it up into burp and kind of see the traffic going back and forth. [02:57.140 --> 03:01.880] Unfortunately, the first thing we got was this not found page which was a bit disappointing. [03:02.380 --> 03:06.500] We figured, okay, what's the difference between what we're sending and what our phone is sending? [03:07.580 --> 03:11.560] We tried changing the user agent to see if they were checking that. [03:12.240 --> 03:13.980] Unfortunately, that didn't work. [03:14.840 --> 03:17.260] But then eventually we found that they were checking two things. [03:17.260 --> 03:23.560] It was the user agent and then they were also, what we think they were doing was checking that it was coming from a mobile network. [03:23.560 --> 03:27.240] So that if you were connecting from Wi-Fi or whatever because they were sending it to your phone, right? [03:27.240 --> 03:29.360] So they expect you to come from a mobile network. [03:29.360 --> 03:35.520] So they checked what IPs and I think that's probably to prevent people from spamming with fake data maybe. [03:35.520 --> 03:36.320] I don't know. [03:37.560 --> 03:41.860] So now that we have the website up and running , we can see the traffic moving back and forth. [03:43.420 --> 03:45.520] Maybe some of you are familiar with this. [03:45.520 --> 03:48.280] They were using a standard library called socket IO. [03:48.500 --> 03:55.300] For those of you not familiar, it's basically just a framework for sending messages back and forth between a browser and a back end web server. [03:57.340 --> 04:01.860] One of those messages looked like this when we were kind of filling out the form. [04:02.400 --> 04:05.000] If it looks like nothing to you, it almost looked like nothing to us. [04:05.000 --> 04:08.940] It was basically a bunch of obfuscated data going back and forth. [04:09.760 --> 04:11.220] So we decided to break it down. [04:11.220 --> 04:12.420] What exactly is going on here? [04:12.420 --> 04:16.680] So we kind of went through each part of the message bit by bit. [04:18.140 --> 04:24.000] You know, so there was a type field, a data field, a user field and a room field. [04:24.020 --> 04:32.360] Type in room just looked like a character set in length for maybe an MD5 hash and data looked like it was base 64 encoded. [04:32.400 --> 04:42.620] If you decoded that string, you got a, it started with some ASCII text that said salted and then a bunch of garbage so we figured some kind of encryption was going on here. [04:43.780 --> 04:46.080] So obviously another layer of obfuscation. [04:46.080 --> 04:47.100] And that's kind of a reoccurring thing. [04:47.100 --> 04:54.340] You'll see a few different scenarios throughout the presentation where they really try and add a few steps just to make it a bit more difficult to figure out what's going on. [04:55.620 --> 04:59.600] So we wanted to dig a bit deeper into the obfuscation. [05:00.840 --> 05:09.000] Because they were doing encryption and because the encryption was being done in the browser, we figured there's probably going to be some keys sitting somewhere in the JavaScript. [05:10.020 --> 05:12.060] So we went into the developer options. [05:12.080 --> 05:15.020] We found some functions called the encrypt and decrypt. [05:15.020 --> 05:16.080] We set a break point. [05:16.620 --> 05:21.360] And then any time that encrypt or decrypt function gets called, you can see what gets passed in. [05:21.360 --> 05:24.820] And normally that's going to be a key and the data that you want to have encrypted. [05:24.880 --> 05:26.400] So that's exactly what we did. [05:26.600 --> 05:29.680] And then you can see on the right hand side, you see sync data. [05:29.680 --> 05:30.900] That was actually the key. [05:30.960 --> 05:35.280] And then there's a JSON blob underneath that and that's the data that they were asking to get encrypted. [05:35.280 --> 05:37.360] And this is basically just the phishing data that's getting sent back and forth. [05:37.360 --> 05:40.460] So if you type in your name or address or whatever, that's what's getting encrypted. [05:41.040 --> 05:52.120] So now that we had a key, we made a small JavaScript utility where you could just type in that encrypted string and it would spit out the plain text back. [05:52.680 --> 05:59.360] So to kind of summarize what everything is going on here, we were able to find in the JavaScript that type was actually another string, sync data. [05:59.760 --> 06:01.800] The data looked like this. [06:02.260 --> 06:04.540] And room was actually admin. [06:05.200 --> 06:09.400] So now we're kind of seeing like logically how they're maybe thinking about building this application. [06:09.400 --> 06:13.020] So you're sending messages to an admin room. [06:16.020 --> 06:19.560] So this is the kind of like real time. [06:19.560 --> 06:29.260] So as you're typing in the data, type in your name and address, you can see with each character like entered into the field, a message is sent over web sockets. [06:29.920 --> 06:33.380] So at this point we figured, okay, there's probably a back end that's receiving this in real time. [06:33.380 --> 06:37.120] Maybe there's kind of like some admin panel. [06:37.920 --> 06:38.560] Yeah. [06:38.560 --> 06:45.760] And also when we talk with some people, they felt that they were not phished because they never pressed the submit button. [06:45.760 --> 06:48.760] They might be getting second thoughts at the final field. [06:48.960 --> 06:55.080] But as you can see, it was already too late because you kind of had submitted the text without pressing enter. [06:55.240 --> 06:55.880] Yep. [06:58.930 --> 07:03.990] So here's just another example where you can see as you started filling out data, you have 1, 2, 3, 4 MAI. [07:03.990 --> 07:07.470] I didn't finish typing in the address there. [07:07.470 --> 07:09.450] So just an example of what you can see. [07:09.930 --> 07:10.950] So we kept digging. [07:11.230 --> 07:15.070] When you first opened the page, it sent a different type of message. [07:15.070 --> 07:17.150] And this was a join command, whatever. [07:17.150 --> 07:20.090] I mean, they made this so we're still trying to figure out how it was put together. [07:20.290 --> 07:23.970] But you're joining a room but that string was empty. [07:24.050 --> 07:27.550] So we're sending messages to an admin room but we're joining a nothing room. [07:27.550 --> 07:32.530] So like, okay, what if we replace that text and just join the admin room? [07:33.790 --> 07:37.290] And this is exactly what we saw when we joined the admin room. [07:37.290 --> 07:47.330] It was a real time stream of everybody that was connected to that phishing site as they were typing in their name, address, credit card data, everything. [07:47.330 --> 07:53.370] And you could see it character for character as they were typing it in just like you saw when we were kind of demoing how you got phished. [07:53.430 --> 07:58.530] So this is blurred for obvious reasons but this was an actual video feed we took when we saw what was going on. [08:02.350 --> 08:07.310] Then, we started to like, try and take apart, okay, what are in these messages. [08:07.310 --> 08:13.910] So aside from the phishing data, there were some debug messages basically. [08:13.910 --> 08:18.390] Kind of like messages between different application components. [08:18.510 --> 08:20.950] So they weren't just using it for the phishing data. [08:21.270 --> 08:25.030] So this was a message, it's not exactly the one that we saw but it's very similar. [08:25.050 --> 08:26.870] Unfortunately, I don't have a proper screen shot. [08:26.970 --> 08:34.530] But basically in that data field, instead of those characters there, it was a debug message for a database. [08:35.290 --> 08:39.650] And it had the name of the database that it was sending those debug messages to. [08:40.690 --> 08:44.390] And the name of the database was Darkula. [08:44.570 --> 08:46.210] And at a point, they're like, it stuck out to us. [08:46.210 --> 08:46.690] Like, what is that? [08:46.690 --> 08:47.830] Is that the name of the software? [08:47.950 --> 08:48.590] Don't know. [08:48.590 --> 08:49.810] We started Googling. [08:50.750 --> 08:51.950] Maybe some of you know. [08:53.070 --> 08:57.470] Darkula is also the name of a theme for VS code or IDs. [08:57.970 --> 09:00.350] So it was just around nothing relevant really there. [09:00.350 --> 09:05.530] But then we thought around this time, criminals like to hang out on Telegram. [09:05.530 --> 09:08.930] So we typed in the word Darkula into Telegram. [09:11.620 --> 09:18.880] So the two results that we got, it was a user name called Darkula. [09:19.200 --> 09:26.340] And he was the administrator of a group called Darkula that had almost 500 members at that time. [09:28.000 --> 09:36.320] In this group, all the members, or very many of the members, liked to brag about what they were doing, were showing off. [09:36.880 --> 09:44.260] This was the Android phones that they would use to send the RCS messages with. [09:44.440 --> 09:52.200] You can see that they have put some green tape over the camera, so they are a bit cautious about what they're doing. [09:55.780 --> 10:08.640] They posted pictures of their setup with mobile modems, bunch of SIM cards in boxes, iPhones, iPads for iMessage. [10:08.640 --> 10:14.700] The servers, we don't know, but we guess they are using those to emulate Android devices. [10:17.320 --> 10:23.120] They also showed what they did with the credit cards that they received. [10:23.220 --> 10:33.100] When we saw this, we were a bit baffled because we didn't think it was possible to add that many cards to a phone without getting some fraud detection or something like that. [10:33.300 --> 10:53.100] And it hadn't occurred to us that by adding a card to your Google Wallet or on your Android or iPhone, that you only need to get a validation pin once, and then you can continue to use a stolen card forever without actually being challenged with a new pin. [10:54.080 --> 11:22.620] They would show the bank statements, how they would use these credit cards to cash out on terminals, how they would spend your stolen money on the first class tickets and bars, nice cars, parties, and other versions of Las Vegas. [11:25.460 --> 11:44.300] But the user Darkala, what we believed to be the developer of this phishing kit back then, he was quiet, he did only post technical stuff, and the pinned message was installation instructions on how you should get this phishing kit installed on your own Linux server. [11:44.300 --> 11:56.680] So it was a simple one-liner, you would execute this command on your rented Linux virtual machine, and moments later, you would have a working copy of the phishing kit. [11:56.680 --> 11:58.800] But it was not licensed yet. [11:58.800 --> 12:00.780] Harrison will get into that now. [12:02.720 --> 12:08.220] All right, so, digging a bit into the phishing platform now that we had a copy running on a server that we controlled. [12:09.200 --> 12:11.860] So, as Arlan mentioned, it was an easy one -liner. [12:11.980 --> 12:16.600] You just run it, and then they give you a URL so you can log in. [12:16.600 --> 12:21.680] So there's a hidden back-end admin panel with a unique URL, unique for each server. [12:21.680 --> 12:23.040] They give you a username and password. [12:23.120 --> 12:24.740] This is what it looks like when you log in. [12:25.100 --> 12:33.760] So the video here, it's a step-by-step through all the different menu options. [12:34.160 --> 12:35.340] We were a bit surprised. [12:35.340 --> 12:37.680] It was actually quite well developed. [12:38.220 --> 12:43.100] You could even back up all of your stolen data to Telegram in case your server got taken down. [12:45.480 --> 12:53.520] But, as Arlan alluded to, in the bottom left-hand corner, you see a big red box. [12:53.520 --> 12:56.680] And if you don't read Chinese, it basically says you need to pay for a license. [12:58.320 --> 13:06.920] But now that we had, you know, we had the software running on our own server, we could dig a bit deeper into the back-end to see what it was, what kind of code it was running. [13:06.980 --> 13:09.420] It was written in Node.js. [13:10.620 --> 13:11.960] This is what the code looked like. [13:11.960 --> 13:15.140] Another example of obfuscation, just a bunch of nothing. [13:17.660 --> 13:22.860] We found out that they were using an obfuscation tool called JavaScript Obfuscator. [13:22.860 --> 13:24.480] It's an open source project. [13:24.480 --> 13:25.720] You can just download it from GitHub. [13:26.220 --> 13:30.340] There's also another open source project on GitHub called Synchrony. [13:30.520 --> 13:33.620] And it basically just does the exact opposite of what the JavaScript Obfuscator does. [13:33.620 --> 13:39.740] So you just take the obfuscated code, you put it in, and then you get, basically, then you just get normal, more or less normal Node.js code back out again. [13:39.840 --> 13:41.960] So now we can look at the code and actually see, okay, what's going on? [13:41.960 --> 13:44.140] What kind of functions does this application have? [13:45.180 --> 13:54.860] So I'm not going to get too much into the weeds here, but basically what this arrow is pointing to is a part of the code that handles activations. [13:54.920 --> 13:59.660] And not just client activations, like I'm running a client and I need to activate against a licensing server. [13:59.660 --> 14:03.040] This actually contained code to be the licensing server. [14:03.040 --> 14:04.360] It was the same code base. [14:05.100 --> 14:10.660] So what it did was it checked, like, is my host name the host name of the licensing server? [14:10.660 --> 14:16.200] If yes, then enable a hidden menu and you can issue your own licenses to run the software. [14:17.460 --> 14:25.160] Not the best visualization here, but basically we just made some NGINX configurations and tricked it into thinking it was its own authorization server. [14:27.440 --> 14:32.920] And it's supposed to be playing? [14:33.240 --> 14:33.760] Maybe? [14:35.260 --> 14:39.280] There we go. [14:39.300 --> 14:39.620] Okay. [14:39.620 --> 14:40.520] So now I got two tabs. [14:40.520 --> 14:43.600] One is the regular server and one is the authorization server. [14:43.600 --> 14:44.960] So now you see a hidden menu. [14:45.880 --> 14:49.060] And then you can click on a button that says, like, generate new license key. [14:49.060 --> 14:50.560] You give the license key a name. [14:52.100 --> 14:53.720] You give it an expiration time. [14:53.720 --> 14:56.160] Normally licenses are issued for a few weeks at a time. [14:56.580 --> 14:58.220] We just set a few years. [14:58.860 --> 15:10.160] You get the license code and then you can go back to your same server, but you go back to your phishing server, click on the red button, paste it in, and now you have a green box, which is good. [15:10.980 --> 15:15.740] So now we could use the phishing platform to its fullest extent, like emulating actual phishing sites. [15:16.220 --> 15:17.500] And back to burp again. [15:18.960 --> 15:21.280] So we mainly work with application security. [15:21.280 --> 15:28.700] One of the most basic first checks that you do is kind of playing around with authorization. [15:29.140 --> 15:33.500] Do they check that you're actually, you know, are you providing a valid token? [15:33.580 --> 15:35.400] So you see that admin token line there. [15:36.680 --> 15:40.620] If we remove it, they give you a 401. [15:40.620 --> 15:41.480] You need to log in. [15:41.480 --> 15:42.340] Good for them. [15:44.160 --> 15:51.520] However, we read through the code and we found out that there was a if statement on that authorization check. [15:51.520 --> 16:03.800] And it says if the host header is this value here, local host, and if you provide a refer header that you can see here, then you don't need to check for admin token. [16:04.400 --> 16:17.100] So then you can see on, so basically we took away the admin token, we provided these two headers here, and then now you can use the API as if you were logged in as a, um, as a phisher or a scammer . [16:21.600 --> 16:22.640] Yeah. [16:22.920 --> 16:30.280] So the way the, uh, this ecosystem worked was that there were servers on the internet . [16:30.280 --> 16:35.180] It was, uh, servers for the, um, the licensing. [16:35.180 --> 16:46.020] It would be servers for hosting the installation files, the docker images, and also the individual pages that impersonate well-known brands. [16:47.220 --> 17:03.960] We were interested in finding the licensing server because as Harrison just showed, you would fill out a comment and we suspected that the people behind it would use it for bookkeeping to keep track of who had bought the different licenses. [17:04.820 --> 17:23.320] So we would try to find it on the internet amongst all IPs on the IPv4 space, the server itself was hidden behind CloudFlare and, uh, we wanted to see if we can find it, the, the origin IP that is not behind CloudFlare. [17:24.880 --> 17:43.140] Since the application was containerized, it meant that every installation was, uh, unique and as we saw that the software is dual purpose, we knew that it only required to be configured with the right host name, so we suspected that the same setup was used also for the licensing server. [17:43.260 --> 17:53.400] We made a single fingerprint and used Shodan to search for servers that match this fingerprint of, uh, technologies. [17:53.820 --> 18:11.340] We had about 800 results, a few of them were false positives, but with this we were able to find all the phishing instances on the internet and we already knew the API fairly well so we could interrogate each and every one and see, are you the licensing server? [18:11.340 --> 18:14.120] And we kept on going until we, we found it. [18:15.500 --> 18:26.800] Uh, it was hosted in, uh, Los Angeles, uh, by Multicom that is in the Ian building on the marketing material. [18:27.060 --> 18:30.640] Uh, they say it's on the fourth floor if I remember correctly. [18:31.060 --> 18:36.300] Uh, we suspect it is actually hosted on the left bottom image. [18:36.560 --> 18:38.000] Hiding behind the guy. [18:38.000 --> 18:38.720] Yeah. [18:39.000 --> 18:44.960] It's just a joke, but it's, it's in this floor somewhere according to the marketing material. [18:47.180 --> 19:04.900] And we were, we were able to extract all the licenses so we could see that in a period of, uh, I think it was four months, they had, uh, issued over 5,000 licenses and we could see who had bought them and also where it was activated from. [19:07.720 --> 19:09.440] So yeah, just one comment on that last slide. [19:09.440 --> 19:18.560] You could, uh, I know it's a bit small, um, but you have the license key, you have the telegram handle for all the users and the date and time it was valid for as well as the, uh, IP that was activated. [19:18.560 --> 19:20.580] So that's the origin for every single phishing server. [19:20.580 --> 19:22.660] So good, nice information to have. [19:23.140 --> 19:26.560] Um, so with all of this, we figured it was a good time to talk to the police. [19:27.220 --> 19:30.020] So we put a 24 page report together. [19:30.320 --> 19:36.720] Um, Ireland and myself, you know, we're based out of Norway, so we initially contacted the Norwegian law enforcement, even though this is a global issue. [19:37.460 --> 19:39.860] Um, so we, we shared it with a few agencies there. [19:39.860 --> 19:43.640] We talked with Europol, uh, Europol, uh, also distributed to the FBI. [19:44.580 --> 19:49.320] Um, Europol invited us to The Hague, so we each flew out once, uh, so we were there twice. [19:49.740 --> 19:51.340] Um, we had good discussions with them. [19:51.340 --> 19:53.340] They were quite happy to receive the information. [19:53.740 --> 19:59.380] Um, in the end, we kind of learned that, uh, they said thanks and that was that. [19:59.540 --> 20:00.960] So we kept poking around ourself. [20:02.340 --> 20:08.600] Um, now, uh, because we had API access to the licensing server, we wanted to see, okay, what other data can we get out of this? [20:08.940 --> 20:15.920] Um, this message here was a, it was an access logs, uh, for the licensing server. [20:16.020 --> 20:23.360] It logs the IP address, the user agent, um, post header and, uh, basically the, that there was a not found error. [20:23.360 --> 20:28.660] And what we think happened here was that, um, there was an admin logged in, right? [20:28.660 --> 20:29.940] Because you can see that unique URL. [20:29.940 --> 20:34.480] So you know that somebody knew this secret, uh, and they were accessing a JavaScript file that didn't exist. [20:34.480 --> 20:39.960] So maybe there was a mismatch between, maybe he updated the software and it had a unique JavaScript, but the client wasn't updated. [20:39.960 --> 20:41.460] So it asked for something that wasn't there. [20:41.460 --> 20:49.920] Anyway, it generated this not found error, but the IP of that not found is the IP of the admin who logs into the licensing server. [20:49.920 --> 20:54.180] So this is the IP, that's basically their, uh, internet IP for their, yeah. [20:54.620 --> 20:56.140] We looked it up on Shodan. [20:56.360 --> 21:00.580] It was a, uh, virtual server hosted in Alibaba cloud in Hong Kong. [21:01.120 --> 21:03.460] Um, we didn't know too much about this. [21:03.460 --> 21:06.000] Uh, we figured though it was going to be some type of VPN. [21:06.000 --> 21:14.140] We weren't sure if it was a private VPN that was set up or if it was, uh, like, uh, an exit node for lots of VPN users. [21:14.500 --> 21:25.640] Um, in China, if you're located in mainland China, it's quite common, especially if you work in tech to set up a VPN server so that you can access Western sites to basically get access to what you need to do development. [21:26.300 --> 21:28.580] Um, so we figured maybe this is what he's doing. [21:29.000 --> 21:34.920] Uh, we looked, uh, we're going way down the rabbit hole here saying what else is associated with this IP address? [21:35.700 --> 21:38.780] Um, mnemonic, we have a passive DNS service. [21:38.780 --> 21:47.880] There's lots of them out there, but basically what it is is a historical record of, uh, DNS records saying this IP was associated with this domain name back at this point in time. [21:48.280 --> 21:54.980] Uh, so we were able to see that about a year prior to our research, it was associated with a domain, uh, here, ifshe.com. [21:55.380 --> 22:00.240] Uh, had no idea, maybe like most likely in the cloud, IPs get reused, don't know. [22:00.300 --> 22:03.500] Um, but we also just kept going because we didn't have much else to go on. [22:03.740 --> 22:08.960] And we saw that the, uh, this domain was also associated, uh, with a GitHub account. [22:09.600 --> 22:11.220] So we went to the GitHub account. [22:11.840 --> 22:26.360] Um, way down the rabbit hole here, really like pulling at the threads here or straws, but basically, uh, we did realize that going through the projects on this GitHub page was that this developer focused on a lot of the same technologies that, uh, uh, [22:26.360 --> 22:28.100] the magic hat software was written in. [22:28.660 --> 22:31.920] Um, going through what, uh, was posted on GitHub. [22:31.940 --> 22:38.120] If you, uh, clone the repository and look through all the commits, sometimes there's email addresses there. [22:38.300 --> 22:39.840] Uh, we found this. [22:40.420 --> 22:43.900] My4cheng at G mall, figured it was a misspelling. [22:43.900 --> 22:48.040] So we fixed that and, uh, put it into a tool called OSINT industries. [22:48.100 --> 22:52.660] So if you don't know what this is, it's basically, you know, like when you go to Google and you say, Hey, I forgot my password. [22:52.660 --> 22:58.280] Uh, so you type in the email address and they're like, okay, we're going to send the SMS message to blah, blah, blah, number ending in one, two, three. [22:58.460 --> 23:01.920] Uh, they basically do this at scale for a ton of different services. [23:02.120 --> 23:08.200] Uh, so you can kind of map out where this address is or where there's email account has is used. [23:08.740 --> 23:11.600] Um, we found it was used in a lot of places. [23:12.860 --> 23:17.340] Um, what was interesting, um, was that there were some phone hints. [23:17.360 --> 23:20.260] Uh, so for, there was a PayPal account where you can see there's a Chinese number. [23:20.260 --> 23:23.000] There was a Apple account, um, looked like a US number. [23:23.000 --> 23:26.580] Potentially the US number stood out to us because we had seen it before. [23:27.520 --> 23:35.640] Uh, or at least part of it, um, on the telegram, uh, profile for Darkula, like the user we knew was a criminal. [23:36.280 --> 23:37.640] Uh, there was a mobile number. [23:37.640 --> 23:40.400] We had already looked into it, but it pointed at a Google voice number. [23:40.400 --> 23:42.220] We figured it was kind of like a burner voice number. [23:42.220 --> 23:43.740] Didn't really mean too much. [23:44.060 --> 23:46.040] Um, but then we saw, oh, okay. [23:46.040 --> 23:48.260] It has the same one that's associated with an Apple account. [23:48.380 --> 23:49.200] Maybe we're onto something. [23:49.200 --> 23:51.620] Maybe this could be the same guy, but we still weren't really sure. [23:52.640 --> 23:59.980] Uh, so we sent them an email and, and we said, Hey, we've got a problem with one of your, uh, GitHub repositories. [23:59.980 --> 24:01.500] Can you like help us? [24:01.600 --> 24:02.340] Uh, whatever, whatever. [24:02.340 --> 24:03.780] Here's a link to whatever. [24:04.140 --> 24:05.300] And it didn't do anything. [24:05.300 --> 24:07.080] I think it just redirected to Google or something. [24:07.200 --> 24:18.140] Um, but it was a URL shortener and it just logged the IP address, uh, that clicked on the link and the IP address that clicked on the link was the same IP that we saw logging into the backend licensing server for Magic Cat. [24:18.140 --> 24:22.600] So we felt pretty certain at this point, okay, we're, we're on the right, we're on the right path. [24:23.760 --> 24:29.540] Um, we were looking through the internet archive trying to see what else was associated with these accounts that we had found. [24:29.720 --> 24:32.700] Um, there was an old blog, uh, with like a contact me button. [24:32.700 --> 24:36.900] So we found a QQ account, a common email platform in China. [24:37.620 --> 24:45.840] Um, we looked at, uh, we looked at this GitHub page back in time, saw that there was a bunch of repositories , uh, that used to exist, but that had been since deleted. [24:46.120 --> 24:52.800] Uh, we looked at when they were deleted and it would kind of, uh, lined up with when the Magic Cat software was starting to get released. [24:52.800 --> 24:55.740] So, okay, maybe he's trying to like clean up his online presence a bit. [24:56.320 --> 24:56.960] Not sure. [24:57.960 --> 25:00.740] Um, and then at also one point, uh, the name was changed. [25:00.740 --> 25:06.420] So this was, uh, it was, it was this account and then, um, changed the name on GitHub to the one that you just saw on the last slide. [25:07.900 --> 25:10.720] Um, we went on to the Wayback Machine. [25:11.160 --> 25:18.540] Uh, this was new to me, but if you click on URLs, you don't just, you can actually get the list of files that were indexed, not just, uh, randomly clicking around and getting the, oh, sorry, this wasn't indexed. [25:18.540 --> 25:20.780] You can actually just see the list of what was saved. [25:21.280 --> 25:24.560] Um, there was an, an archive that had since been deleted that had a tar file. [25:24.560 --> 25:32.780] So like a compressed directory, open that up in that compressed directory was a Word document in the metadata for the Word document was an author. [25:33.240 --> 25:39.140] And if you, uh, translated those characters, uh, get that guy's name. [25:40.140 --> 25:50.340] We also went back to Telegram and, uh, there were files uploaded by Darkula and these were kind of like installation instructions, like user guides for how to use the MagicCat software. [25:50.340 --> 25:51.140] And what do you know? [25:51.140 --> 25:53.680] You look in the metadata documents for those, same name. [25:57.630 --> 26:08.730] So to summarize, what we had found was, uh, some phone numbers, uh, US phone number that, uh, most likely were, were belonging both to Tresor and, uh, Darkula. [26:08.950 --> 26:16.510] We had an IP address associated to, to, um, both Darkula and, uh, Tresor at the same time. [26:18.010 --> 26:22.370] Um, a lot of phone number hints for his different email accounts. [26:23.130 --> 26:31.430] Uh, what we wanted to find out now was his real phone number and, uh, his, uh, Chinese phone number. [26:31.430 --> 26:36.170] And apparently there is no standard on how you should mask phone numbers. [26:36.170 --> 26:42.270] So the, uh, phone number hint from PayPal and QQ didn't, uh, overlap perfectly. [26:42.270 --> 26:45.670] So we ended up with 1,000 possibilities. [26:46.230 --> 26:52.390] We could use OSINT Industries directly here, but it would probably cost a little bit of money. [26:52.510 --> 26:59.570] And, uh, it's an active service that will reach out, so it's not, uh, too efficient on this specific case. [27:00.630 --> 27:08.290] So we decided to look in, uh, database leaks to see if this person have an online presence. [27:08.290 --> 27:13.030] There's a good chance that his phone number have appeared in at least one leak. [27:13.030 --> 27:21.910] So we started searching the leaks to just get a list of possible, uh, accounts to look into. [27:21.990 --> 27:28.850] So from this, we found that among these 1,000 numbers, only seven of them had appeared in a leak . [27:28.850 --> 27:41.330] And the third one we checked after, uh, going through the, the online leaks, we found an account that had a picture of a girl that, uh, we had seen before. [27:41.490 --> 27:50.890] Because on an Instagram account with the username my4cheng, it was the picture of the same girl with the same edits that didn't appear anywhere else on the internet. [27:51.770 --> 27:56.970] Uh, we blurred it out because, uh, the picture of this girl is not related to the story. [27:58.310 --> 28:11.990] Uh, using this phone number that we had, uh, found us, is, found out is, uh, Yucheng Cheng's phone number, we used, uh, historical whois lookup and we got an address where he used to live back in 2018. [28:13.450 --> 28:14.390] Yep. [28:14.390 --> 28:24.390] And then, uh, we don't, uh, we're not sure exactly where he lives now, but at least, uh, according to that whois, this is, uh, he was from the Henan, uh, province in China at some point. [28:25.330 --> 28:28.170] Um, so okay, summarizing everything. [28:28.350 --> 28:31.570] Uh, these are very conservative estimates. [28:31.570 --> 28:34.830] We didn't really put too much time into getting all the data. [28:34.830 --> 28:38.690] We were just trying to really gauge what kind of scale we're looking at here. [28:39.310 --> 28:44.150] Um, so, uh, there were over 200 impersonated brands. [28:44.150 --> 28:49.450] So just imagine, uh, every postal company for every country on the planet minus China. [28:49.630 --> 28:54.950] Uh, and it was, uh, also plus like Apple and Amazon and all kinds of stuff. [28:55.130 --> 29:03.810] Um, as you saw before, over 500 or 5,000 licenses had been issued and each license can be used to, um, multiple times. [29:03.810 --> 29:05.470] So you can kind of get an idea of what the scale is. [29:05.670 --> 29:11.550] There were, um, potentially up to 600, uh, individual phishing operators or scammers. [29:12.390 --> 29:15.950] Um, the link had been clicked on 13 million times. [29:15.970 --> 29:20.750] Not necessarily saying that everyone filled out their credit card details, but you could see that somebody at least clicked on the link. [29:21.610 --> 29:29.130] Um, a very conservative number, but, uh, we could, uh, concretely see, uh, close to 900,000 stolen credit cards. [29:29.370 --> 29:33.850] Um, and some individual victims, uh, lost as much as $10,000. [29:33.850 --> 29:39.590] So you can kind of, not, not everybody was, uh, that bad, but you can kind of get an idea of what the scale is here. [29:42.320 --> 29:45.980] So this is the end of our story. [29:46.140 --> 29:57.480] We kind of kept to the digital realm and we found out that this story was much bigger than a technical blog post from, uh, from the Norwegian state media. [29:57.480 --> 30:09.140] We decided to reach out to the Norwegian state media, uh, that also worked with, uh, Bayerische Landfunk and ARD and LeMond. [30:09.140 --> 30:11.380] Uh, BR is here with us today. [30:11.860 --> 30:24.760] And, uh, they were able to talk with the victims and, uh, confront the scammers, travel to, uh, where they operated, and, uh, do things that we, it would be out of our place to do. [30:24.760 --> 30:33.220] Like, we, uh, we left them to take over in the physical realm and we felt, uh, that was the right thing to do. [30:33.220 --> 30:34.080] Yep. [30:35.160 --> 30:37.880] So, so long and thanks for all the fish. [30:37.960 --> 30:47.200] The main, uh, photo in the middle here was, um, uh, obtained as part of that, uh, investigative journalism with the, the media outlets, uh, from the last slide. [30:47.420 --> 30:55.420] They were able to, to get this based on the data that we provided to them, blurred out some of the sensitive parts, but that we believe is the main developer, Yu Teng Chung. [30:55.700 --> 31:00.300] The photos around are of some of the prominent, uh, scammers that were in the group. [31:00.300 --> 31:14.400] I highly recommend if you haven't, uh, read, um, you guys can check out the story, uh, a lot of the, if you really want to see the humans behind it and kind of how they operated and, and, uh, how the media traveled to Thailand and, uh, you can, yeah, basically, [31:14.400 --> 31:15.320] you can read about it there. [31:15.320 --> 31:16.780] Uh, highly recommend it. [31:18.260 --> 31:23.120] We're going to pray to the demo gods, but you can, uh, if you like to, you can scan the QR code. [31:23.260 --> 31:25.800] We have a live copy of the phishing software running. [31:26.680 --> 31:29.380] Uh, you can scan it, load it up on your phone. [31:29.600 --> 31:33.320] Uh, and then after a minute or so, I'll pull up what the backend looks like. [31:33.320 --> 31:39.700] And then you can see what it looks like as the operator, um, uh, basically can see all the live stream of, uh, of cards coming in. [31:40.040 --> 31:44.680] So, um, they don't validate any information except for the card number. [31:44.680 --> 31:46.280] They, so they do the loon check. [31:46.280 --> 31:49.320] So basically just remember 42424242 and that should pass. [31:49.520 --> 31:49.520] Yeah. [31:49.520 --> 31:52.000] Don't, you don't have to use your real credit card number. [31:52.000 --> 31:52.440] Please. [31:52.560 --> 31:53.040] Yeah. [31:56.800 --> 32:03.640] So I'll just, uh, I'll leave it, I'll leave it up here just for maybe 20 more seconds and then give you guys a chance to scan it and then I'll, I'll load up the page. [32:19.850 --> 32:20.770] Hey, it works. [32:23.670 --> 32:24.110] All right. [32:24.110 --> 32:27.690] So this is what the backend looks like and try and find, here you go. [32:28.110 --> 32:34.930] So what happens basically here, somebody types in their information, you can click on, click on and see what they typed in. [32:35.470 --> 32:40.210] And, um, then it starts yelling at you and we don't have the audio enabled, but, uh, it makes a lot of, it speaks to you. [32:40.210 --> 32:41.630] It makes a lot of noise. [32:42.090 --> 32:45.910] Um, and then, so basically what happens is after you click next, it sits with the loading screen. [32:46.050 --> 32:55.870] And what's happening during that loading screen is it's waiting for the scammer to choose one of these options saying like, okay, now that you have a card number , do you want to prompt them for a two factor code? [32:55.870 --> 33:08.250] Cause you're sitting there potentially with your iPhone, uh, enrolling that credit card into Apple pay and then they're going to send a text message to your bank and then, uh, the victim gets that text message and then you prompt them to enter it, uh, [33:08.250 --> 33:09.050] in back to the website. [33:09.050 --> 33:12.330] So you get to choose, um, there's a few different options here. [33:12.550 --> 33:20.870] Uh, you can kind of go through, click on each one, maybe you get lucky and then you get a two factor code and then maybe you can say, oh, card was declined. [33:20.870 --> 33:21.230] Sorry. [33:21.230 --> 33:21.670] Try again. [33:21.670 --> 33:23.130] And then you get another card and another card. [33:24.030 --> 33:31.350] Um, and, and there's videos, uh, like all over their telegram group where they just kind of show off. [33:31.350 --> 33:42.070] Like there was even one where the guy was like, he was driving in a car that had one of the big screens and he had it, he loaded up a web browser and this was, he was like, he was driving down the highway and he was just like, oh, I'm making all this money while I'm like going somewhere. [33:44.010 --> 33:45.230] So it was kind of cool. [33:47.290 --> 33:48.510] How many do we have so far? [33:48.510 --> 33:49.690] Got a lot of credit cards. [33:50.510 --> 33:51.050] Yep. [33:51.550 --> 33:59.190] So, uh, the outcome of, uh, what happened. [33:59.190 --> 34:07.570] So when the media, uh, they, you know, journalistic, uh, process, you contact who you're going to write about for a request for comment. [34:07.610 --> 34:14.450] Um, they did about, they did this about a week before the news was, was published and, uh, Darkula disappeared. [34:14.530 --> 34:17.990] He like, I think deleted a lot of his stuff. [34:17.990 --> 34:25.710] I think his telegram account, uh, went away and we, we were tracking updates to the software and we didn't see any updates to the software after he was contacted. [34:26.390 --> 34:32.290] And also he pulled down everything that was on the internet, the licensing server, the installation server. [34:32.290 --> 34:34.350] So everything was gone after he left. [34:34.350 --> 34:34.890] Yep. [34:35.730 --> 34:40.310] Um, uh, now there's a lot of, we did not solve the problem by any means. [34:40.350 --> 34:43.170] There's probably, I'm sure some of you are still getting messages. [34:43.170 --> 34:47.430] Maybe it's not a post message, but maybe it's like easy pass or you have some toll, something you have to still have to pay. [34:47.690 --> 34:54.130] Um, there's about four or five other prominent groups that more or less have the same software. [34:54.190 --> 35:00.910] Um, one that's a bit up and coming, uh, that got popular after, uh, magic cat went down was magic mouse. [35:00.910 --> 35:05.990] There was actually a message in, uh, the magic mouse telegram group, uh, that said, uh, Hey, the mouse killed the cat. [35:05.990 --> 35:08.210] And they were kind of happy cause everybody moved over to their group. [35:08.630 --> 35:11.850] Um, so this is a screenshot of that, uh, of that software. [35:12.510 --> 35:15.010] Um, a bit interesting. [35:15.190 --> 35:21.230] So a lot of these phishing kits, uh, have, uh, they, they basically steal components from each other. [35:21.510 --> 35:27.810] Um, so some of the front end pages, uh, were stolen from magic cat used in magic mouse. [35:27.810 --> 35:34.490] So some of the people tracking got a bit confused because they looked and saw references looking like it was the magic cat, but it's not, it's the new one. [35:34.490 --> 35:35.330] Kind of messy. [35:35.570 --> 35:38.770] Um, we were trying, so this is kind of what we're looking into now. [35:38.890 --> 35:43.770] Um, we were able to track, they have about, uh, 1300 servers in a 1 month time span. [35:43.770 --> 35:44.910] So really large. [35:45.010 --> 35:52.210] And it's a rough estimate, but we, we believe that, uh, this group is responsible for up to, uh, 650,000 credit cards per month. [35:52.330 --> 35:56.130] Uh, so it's very, uh, very much still an issue. [35:56.130 --> 35:59.950] Um, and with that, thank you.