[00:00.000 --> 00:00.940] Hello everyone. [00:00.940 --> 00:07.160] First of all, thank you for having me, the DEF CON Adversary Village team, and thank you for being here. [00:07.160 --> 00:09.220] I didn't expect so many people in here. [00:09.280 --> 00:16.760] Yesterday when I came here, I just expected 10 or 50 people in front of me, but I'm really surprised about that. [00:17.040 --> 00:25.740] My story, my name is Seong-Suk Park from South Korea, and my talk is about cyber threat intelligence and some attributions. [00:25.920 --> 00:33.480] And I want to share some why attribution is challenging based on my experience tracking the North Korean threat actors. [00:33.920 --> 00:34.980] Okay, let's start. [00:34.980 --> 00:47.140] I'm working in the G-Scaler APT research team as a staff threat researcher, and I've been tracking the North Korean threat actors more than decades. [00:47.780 --> 00:59.320] When I started the threat intelligence job, I'm the only one who can speak the Korean in our team, so I naturally started tracking the North Korean threat actors. [00:59.320 --> 01:00.440] It's been a decade. [01:00.440 --> 01:07.160] And this story and the whole example in this story is also about the research from my experience. [01:07.160 --> 01:08.300] So let's start. [01:09.580 --> 01:22.740] I know you guys in this room already know about what is a CTI and what is attribution, so I don't want to spend too much time to explain this one, but for the new people, just let me explain very briefly. [01:25.820 --> 01:28.360] The CTI is a cyber threat intelligence. [01:28.360 --> 01:37.300] It's evidence-based knowledge about our adversaries' motivation, their tools, their capabilities, and tool technique procedures. [01:37.300 --> 01:42.540] And attribution is the process of identifying who is behind some cyber attack. [01:42.620 --> 01:52.640] So attribution is a small part of the CTI, but attribution is very challenging these days, because when I first started working in this field, attribution is very easy. [01:52.640 --> 01:57.080] When I just see the malware, then, oh, it's this one, this group's malware, that group's malware. [01:57.080 --> 02:07.380] But these days, it's very challenging, because many threat actors adopt some false flag intentionally, and some groups share their infrastructures time to time. [02:07.380 --> 02:24.480] And many threat actors nowadays are very good at their offset, so they are very good at using the anonymization tool, like a VPN or a toll, and sometimes they use the public tools and reuse the tool or techniques from other groups. [02:24.480 --> 02:32.500] So these days, the attribution is very challenging, so I want to show why it's challenging based on my experience. [02:33.180 --> 02:36.960] The first one is the expansion of threat actors. [02:38.600 --> 02:41.200] You may have heard about this group, the Lazarus. [02:41.200 --> 02:56.440] It's a very high-profile threat actors and prominent threat actors of North Korea, and they are initially known as the group, their initial campaign was known as a start from 2007, but I'm not sure if they can start previous to 2007. [02:56.560 --> 03:18.680] And in 2014, the Sony Pictures hack, it's a very sharp industry, because the nation's state-sponsored threat actor sabotaged a private company, so many people were shocked at that time, and many security vendors started to have interest about this group from this instance. [03:18.680 --> 03:35.420] And in 2017, the WannaCry ransomware outbreak, WannaCry also used some vulnerabilities, so it damaged here and there in many industries, so it has a huge impact in our normal life. [03:35.420 --> 03:46.180] In 2018 and until recently, this group is a prominent activity targeting the defense sector, and especially the cryptocurrency industry. [03:46.180 --> 03:53.560] They steal every cryptocurrency from individual and enterprise these days, so they are a very high-profile group these days. [03:54.300 --> 03:58.760] I extracted some numbers from some reliable source. [03:58.760 --> 04:09.840] This says that every year, the defense South Korea publishes some white paper, that includes some physical military power of North Korea. [04:09.840 --> 04:17.940] But from now, they include some number of the cyber army of North Korea, so I just extracted that number. [04:17.940 --> 04:24.440] So in 2013, the number of the North Korean cyber army is around 3,000. [04:24.440 --> 04:33.860] It's big, 6,800. [04:34.960 --> 04:40.740] And from the latest report, the number has increased more than 8,300. [04:40.740 --> 04:42.060] It's huge, right? [04:42.200 --> 04:51.640] I'm not sure other countries, Russia, China, I'm not sure, but North Korea nowadays operates their cyber army more than 8,000 people. [04:52.080 --> 05:00.180] An interesting point of this number is that in 2018, the number is dramatically increased, like double numbers. [05:00.380 --> 05:05.080] So I'm also very curious what happened in 2018, politically. [05:05.080 --> 05:15.480] So I did some research on what happened in North Korea government, and at that time, the North Korean leader, Kim Jong-un, announced some strategic politics. [05:15.480 --> 05:22.760] It named Byung-jin, and it includes some parallel development, nuclear weapon, and economy. [05:22.760 --> 05:25.020] And economy is a top priority of them. [05:25.020 --> 05:28.440] So 2018, there is a huge change in their cyber army. [05:28.760 --> 05:31.580] And in 2018, I also very busy. [05:31.580 --> 05:35.160] In my memory, 2018 makes me very busy. [05:35.160 --> 05:38.720] I can't remember anything, because time flies at that time. [05:38.800 --> 05:44.280] So early of the 2018, I start to recognize the sub-cluster of the Lazarus Group. [05:44.320 --> 05:50.880] In early of the 2018, the Threatened Needle Cluster discovered from some defense sector in Eastern Europe. [05:51.140 --> 05:53.500] And this is all lined with the Moonstone Slate these days. [05:53.500 --> 05:57.500] In middle of the 2018, Apple Juice Cluster identified. [05:57.500 --> 06:00.940] It's the first time the North Korean Secretary used the MacOS malware. [06:01.100 --> 06:08.660] And after that, there are another cluster, like a book code, or that's not a cookie time, was popped up in the same years, 2018. [06:08.960 --> 06:12.360] I know you are not familiar about this name. [06:12.360 --> 06:16.180] It's an unpublished name. [06:16.540 --> 06:20.880] It's not a well-known name in the industry. [06:20.880 --> 06:29.160] But I think the bottom line is 2018, there is a sub-cluster popped up of Lazarus Group. [06:30.500 --> 06:42.960] And these days, based on the naming scheme of Microsoft, this group is separated to several groups these days, and they run the four several groups these days. [06:42.960 --> 06:47.520] There's Diamond Slate, and Moonstone Slate, and Citrine, and Jade Slate. [06:47.520 --> 06:55.480] I believe they are stemmed from the Lazarus Umbrella, and nowadays they are separated as a full group. [06:55.480 --> 06:57.900] But these four groups still use the same... [06:59.120 --> 07:09.800] sometimes they discover from the same environment, victim environment, and they use the same code, and sometimes they share their tool set and infrastructure as well. [07:09.800 --> 07:14.720] But these four groups have a distinct TTPs these days. [07:14.720 --> 07:17.500] Their stuff is very similar. [07:17.500 --> 07:27.420] They share some tools and techniques, but these days they have a distinct tool technique and procedures, and sometimes they use the different motivation and different target. [07:27.420 --> 07:39.340] For example, the Diamond Slate is mainly targeting the defense sector these days, but the other Slate, like Moonstone and Citrine and Jade, is targeting the cryptocurrency industry only. [07:41.380 --> 07:49.180] And this is not only Lazarus group's characteristics, like Kibuski Group is also a very well-known group. [07:49.180 --> 08:05.340] They started to activate from 2013, and initially their motivation is focusing on the cyber espionage attack to get some intellectual property or some geopolitical intelligence from South Korea. [08:05.340 --> 08:08.380] But these days they are separated to several clusters. [08:08.560 --> 08:12.420] I just named Baby Shark, Apple Seed, HTTP Spy, and many things. [08:12.420 --> 08:15.360] It's not all, there are more than a cluster in there. [08:15.520 --> 08:23.620] But they use the different tools, like Baby Shark is just to use a script, like PowerShell, a visual basic script. [08:23.880 --> 08:28.920] And Apple Seed and HTTP Spy use the C and C++ malware. [08:29.040 --> 08:32.220] And HTTP Spy also uses the code language-based malware. [08:32.220 --> 08:34.680] That's the only group using the code language. [08:34.700 --> 08:41.540] And MillionOK just uses a phishing kit to steal some login credentials, to steal some money from the victim. [08:41.540 --> 08:45.380] And they also use different objectives and targets as well. [08:45.780 --> 08:51.000] For example, MillionOK's intention is only financial profit. [08:51.000 --> 08:55.000] They stem from the same group, but they have different motivations. [08:55.180 --> 08:56.960] And the main target is also different. [08:57.460 --> 09:07.980] HTTP Spy is only targeting the defense sector and the heavy industry, and MillionOK is targeting the individual investors in South Korea, only in South Korea. [09:08.120 --> 09:21.440] So the bottom line is that I believe they are from the same group, but nowadays they have different tools, tactical procedures, and they have different motivations and objectives these days. [09:24.290 --> 09:31.470] So as I said, the North Korean threat vector is stemmed from some groups, like Rogers and Warkinski. [09:31.470 --> 09:34.650] Not only this group, the other groups also expand. [09:35.810 --> 09:37.990] Just a decade ago, they were a small group. [09:38.130 --> 09:46.870] It's very easy to track just one group, but nowadays they expand their capability, and there are many multi-clusters in one group. [09:46.870 --> 10:02.590] So if they conclude they are just one group, we always fail to respond to them, because each sub-cluster uses a different TTP, so TTP-based clustering is essential these days. [10:02.590 --> 10:11.990] So I tried my best to track each cluster, and some vendors think that this is a different threat vector. [10:13.070 --> 10:16.350] So TTP-based clustering is essential these days. [10:16.350 --> 10:21.190] The second case is the inter-group collaborations. [10:22.390 --> 10:37.750] This one is discovered in late 2023, and this is a cryptocurrency exchange company in South Korea, and they compromised one day, so I look into what happened in this victim, and they had used some enterprise software. [10:37.750 --> 10:53.370] It's a security software, like a DRM software, but this software, when in normal updated processes, this software is to go to their updated server and check each module's hash, and if this hash is changed, they fetch the updated module. [10:53.370 --> 11:00.690] It's a normal process, but the threat actor changed this software's updated server somehow. [11:00.690 --> 11:17.130] I'm not sure how they changed this updated server until now, but they changed this server, and in this attacker-controlled server, the threat actor changed the hash, finally this enterprise software fetched a malicious file to the victim. [11:17.270 --> 11:38.590] So that's the reason this vendor, sorry, this company was compromised, and after this, using this software chain, the Tronized installer is implanted to the victim, and finally, using the several loaders, finally the Durian, the core language-based backdoor named Durian was executed. [11:38.590 --> 11:50.990] This is a intuitive module, like there is some function name in there, you can see the process come and hibernate, it's a good job, it's a very straightforward. [11:50.990 --> 12:10.710] It has a full function, can control the victim, but using this backdoor, the threat actor implants additional preliminary tools, because if the antivirus is deleted, just the Durian backdoor, there is no way they can control the victim, so they implanted additional preliminary tools. [12:10.710 --> 12:30.790] The first one is a proxy, Hazelode, it's a homemade proxy tool, only one threat actor used, and the other one is the ng-lock, it's a very well-known tool, right, so many threat actors use ng-lock to bypass the firewall and NAT, and they also add some high-preliminary account for RDP connections, [12:30.790 --> 12:33.850] and they also implanted some Chrome desktop as well. [12:33.970 --> 12:39.450] So to control the one victim, they implanted many preliminary tools like this. [12:40.350 --> 12:44.030] So this is the very high-level full infection chain of this victim. [12:44.030 --> 12:53.670] They, using the supply chain attack, they installed some malware named the Durian, and they installed another preliminary tools to control the victim. [12:53.890 --> 13:05.950] So if I just check the initial stage backdoor, the Durian malware, it was attributed to the threat actors named Andaria, it's also the North Korean threat actor's name. [13:06.010 --> 13:12.290] But when I checked the whole infection chain, I found out there is another threat actor in there. [13:12.290 --> 13:22.130] So using this Durian malware, they implanted additional backdoor named the AppleSeed, and they also installed other tools as well. [13:22.130 --> 13:29.530] But installed ng-lock, account manipulation, Chrome desktop is the biggest characteristic of the Kimsky group as well. [13:29.530 --> 13:36.530] So I believe this incident is at the initial stage, the Andaria group is working. [13:36.530 --> 13:42.750] They compromised their software and installed this initial stage malware. [13:42.750 --> 13:53.750] And using this malware, they hand over this connection to the Kimsky group, and the Kimsky start working to implant their favorite tools and start to steal something from there. [13:53.830 --> 13:57.570] So I believe it's two groups working together in here. [13:57.810 --> 14:05.070] So it's very rare cases, North Korean threat actors, sometimes they're working like a competitor. [14:05.070 --> 14:14.530] When they attack some cryptocurrency industry here and there, they have some target of each team, so they're working like a competitor. [14:14.530 --> 14:24.510] But sometimes they're working together, like Andaria and Kimsky, they mostly attacking the South Korea, so when they attack the South Korea enterprise, they're working together time to time. [14:24.710 --> 14:31.690] And when I just analyzed the initial stage of this incident, then I made a wrong attribution, right? [14:31.690 --> 14:42.950] Because initial stage, there is only one group's malware, Andaria group malware, but after analyzing the full chain of this infection, I realized that there was two groups in there. [14:42.990 --> 14:51.870] So in order to understand the right attribution, we should very carefully, we should try to understand the full infection chain. [14:51.870 --> 14:56.870] Sometimes they coordinate like this one to achieve their shared objective. [14:58.310 --> 15:06.290] The third case is reshuffling, it means we allocate their resources, they hand over their tools to other teams or kind of that. [15:06.430 --> 15:08.310] It's very rare cases. [15:08.850 --> 15:17.190] So initially it was happening in August of 2023, so old one, and I stumbled upon this interesting malware. [15:17.190 --> 15:32.810] It's a PIF extension, it's a window executable definitely, and when the team executed this malware, it extracts decoded document and additional payload inside it and decrypt it and just execute it. [15:32.810 --> 15:34.230] It's very simple, right? [15:34.230 --> 15:39.530] They're using the XOR key and decrypt the payload and decoded document and open up. [15:40.010 --> 15:45.910] But interesting thing is the installed backdoor was a known one named Pebble Dash. [15:45.910 --> 15:51.050] It was published by the CISA before. [15:51.050 --> 15:53.590] It's a very reliable source, right? [15:53.590 --> 16:15.890] CIS named this Pebble Dash malware is attributed to Lazarus Group, and I also very agree with their opinions, but there is some ambiguous point in this incident, because I never seen the Lazarus Group use this kind of infection chain, and some C2 communication is also a little weird. [16:15.890 --> 16:30.310] So at the initial early stage of my confusion is the Pebble Dash malware used in this attack, it has a high similar configuration and execution structure with the old Lazarus malware. [16:30.310 --> 16:31.870] I really agree with that. [16:31.870 --> 16:41.250] And this malware was attributed to the Lazarus Group before by the CISA, and the target of this attack was the defense sector in South Korea. [16:41.250 --> 16:44.890] So defense sector is a long-standing target of the Lazarus Group. [16:44.890 --> 16:56.370] So I strongly agree the Lazarus was behind this attack, but in this attack, the C2 domain used address.linkd.p-e.kr. [16:56.370 --> 17:04.870] p-e.kr is a free domain hosting service in South Korea, and I never seen the Lazarus Group use this kind of domain hosting service. [17:04.870 --> 17:13.770] But this free domain service is a favorite service by the KimSky Group for a long time, so I feel the little weird one. [17:13.870 --> 17:23.030] And Pebble Dash also used a very interesting, very strange string in there, and it is an unusual string. [17:23.030 --> 17:31.990] But when I make some error rule and scan the whole repository, I found some malware using the same key to decrypt the embedded strings. [17:32.090 --> 17:39.710] So maybe it's a threat actors or developer of this attack want to reuse some tools and make some mistake. [17:39.950 --> 17:42.630] So unused string left in the malware. [17:43.130 --> 18:00.690] So I keep watching on, and it's more than two or three years I keep watching on this malware instance, and in 2024, this variant heavily target using the job description and targeting maybe the Berlin or German. [18:00.850 --> 18:10.750] And in 2024, 2025, they switch their target to South Korea again, and they keep attacking the defense sector and some heavy industry as well. [18:10.750 --> 18:23.690] But interestingly, all of this initial infection vector is dropped to HTTP spy and Pebble Dash, only two malware variants, and I keep tracking the C2 servers, what is in their C2 server. [18:23.690 --> 18:27.890] I want to figure out who is the really behind this attack. [18:28.570 --> 18:33.090] And one day, luckily, I found some misconfigured their C2 servers. [18:33.910 --> 18:54.010] Their offset is not bad, but one day they made some mistake, and while I keep tracking this campaign, I stumbled upon this misconfigured server, and when I click the resend.php file, it shows some email contents, and it looks like they're using this kind of email contents, [18:54.010 --> 19:12.490] they send a spear phishing email, and there are also some URL.txt file, it contains more than 400 shortened URLs, and when I extract the whole original URL, it includes a phishing link, including some email address only using in South Korea, and when I checked this URL, [19:12.490 --> 19:18.630] it's a phishing link to steal the login credential, portal service only using in South Korea. [19:18.630 --> 19:22.450] It's definitely the tactic of the Kim's group. [19:22.450 --> 19:28.490] So I start to conclude that maybe the Kim's group was behind this attack. [19:28.530 --> 19:31.950] So this is my summary of this campaign. [19:32.470 --> 19:51.510] Maybe some parties are still linked to the Lazarus group, like they're using the Pebble Dash malware, and they still use some social engineering attack, but many parties are linked, pointed to the Kim's group, like JavaScript only using the... JavaScript-based infection vector only using the Kim's group, [19:51.510 --> 20:01.070] and many code overlap with the Kim's group's malware, and from the C2 server, I found many evidence that Kim's group was behind this campaign. [20:01.110 --> 20:15.030] So my conclusion is Lazarus group using the Pebble Dash malware before, but they hand over this tool to the Kim's group, or the developer of the Pebble Dash malware is moved to the Kim's group, and they are working together right now. [20:16.310 --> 20:24.410] So it's also very rare case that they, you know, re-emerge some tools from one group to other group. [20:24.410 --> 20:35.770] So when I just check the attribution using the malware itself, only malware, like a Pebble Dash malware, then I conclude that Lazarus group was behind this campaign. [20:35.770 --> 20:49.850] But when I researched for a long time, for two or three years, and I analyzed their, you know, C2 infrastructures, my conclusion is that there is some reallocation inside their team. [20:49.930 --> 20:54.810] So full chain-based infection analysis is very important, I think. [20:55.310 --> 20:58.390] The last case is the emergence of new actors. [21:00.370 --> 21:10.310] You know, there was a big political issue in South Korea last year, end of last year, our former president in South Korea declared some martial law. [21:10.310 --> 21:28.530] I don't want to make some, you know, declare about some political things in here, but when this kind of big political event happen, as a threat intelligence researcher, we can anticipate that there is a big social engineering follow-up using this content. [21:28.530 --> 21:35.690] So exactly five days later, some spear phishing campaign was launched to South Korea. [21:35.690 --> 21:39.190] It used the contents about this martial law. [21:39.730 --> 21:45.930] So it has many, many, you know, media where researchers have interest about that. [21:45.930 --> 21:49.530] I start to analyze who is behind this attack. [21:49.530 --> 21:58.530] So at first, luckily when I just do research about this one, the attacker controlled the GitHub server still alive. [21:58.530 --> 22:02.430] So I extract the whole evidence from that and start to analyze it. [22:02.870 --> 22:19.330] And if the user executes the initial file, the CPL file, it fetches the additional archived file from the attacker controlled GitHub server, and it contains the two files, the legitimate exe file and malicious version.dll file. [22:19.330 --> 22:23.510] And using the side loading, this version.dll file is executed. [22:23.510 --> 22:27.670] This file was the known information stealer. [22:27.670 --> 22:33.590] But interestingly, the threat actor does not use any information steal functionality. [22:33.610 --> 22:37.090] They use the only the downloading functionality using that. [22:37.090 --> 22:46.150] And after through the same infection procedure, finally they launched some shellcode on the memory, and they're using the callback function hijacking. [22:46.210 --> 22:49.630] And to launch this shellcode is a donor loader. [22:49.630 --> 22:51.310] Donor loader is also a public tool. [22:51.310 --> 22:54.990] You can find the donor loader just a search from the Google. [22:55.030 --> 23:00.730] And using this donor loader, the encrypted core satellite is decrypted and launched on the memory. [23:00.870 --> 23:09.910] So I figured the whole infection chain is a high-level overview, but interesting thing is that they're only using the public tools in here. [23:09.990 --> 23:17.510] So at the initial, my initial conclusion is about the attribution. [23:17.510 --> 23:20.430] I found some intriguing points. [23:20.430 --> 23:24.050] They used some torus stealer, code of torus stealer. [23:24.050 --> 23:28.390] It's a known tool introduced since the middle of 2020. [23:28.770 --> 23:34.390] But when I checked it, most antivirus vendors detected these tools. [23:34.490 --> 23:41.130] When I found a new torus stealer and when I upload to the virus total, most of the vendors already detected. [23:41.130 --> 23:45.470] But I'm not sure why they're using these easily detected tools. [23:45.470 --> 23:49.790] And they also use the public tools like a donor loader and the core satellite. [23:49.870 --> 23:53.750] So it's very tricky to find out who is behind this attack. [23:54.750 --> 23:59.030] And I have only limited information about this instance. [23:59.030 --> 24:03.290] So the working path is they call their working as the work. [24:03.290 --> 24:07.370] It's not a job or it's not a form. [24:07.370 --> 24:10.670] They use their job as a work. [24:10.670 --> 24:13.870] And there is some resources using the Korean. [24:13.870 --> 24:16.750] So it means that they are very familiar with the Korean. [24:16.770 --> 24:19.670] And they're using the Korean software. [24:19.670 --> 24:23.090] So it looks like they are very familiar with the Korean. [24:23.210 --> 24:31.090] And I aggregated the whole time, like a malware compilation time and GitHub commit time, every timeline. [24:31.090 --> 24:36.570] And I found out they might be working at the GMT plus eight and nine time zone. [24:36.570 --> 24:43.610] So GMT eight plus eight, nine time zone is the east side of China, South Korea and Japan. [24:43.610 --> 24:49.970] So maybe they are kind of North Korean threat actors, but I'm still not sure who they are. [24:49.970 --> 24:51.490] So I kept an eye on it. [24:51.490 --> 25:10.930] The emergence of a new threat actor is a very rare case, but my confession is that I have some bias because when I found a new campaign or new malware or something, I tend to fit into that new things to known public threat actors. [25:10.930 --> 25:13.630] So sometimes it make many mistakes for me. [25:13.630 --> 25:19.170] So as an analyst, we have avoided this kind of bias. [25:19.170 --> 25:21.470] So it's very important, I think. [25:21.870 --> 25:23.230] This is takeaway. [25:24.330 --> 25:29.630] Like a normal team, like us, we are reallocated. [25:29.630 --> 25:31.850] Sometimes our team is expand. [25:32.190 --> 25:33.690] Threat actors is as well. [25:33.690 --> 25:40.070] Sometimes, as you can see, these cases, they expanded their size and dynamically reallocated their resources. [25:40.310 --> 25:46.830] And sometimes they collaborating together and they introduced a new malware or a new campaign time to time. [25:46.830 --> 25:51.850] So we have to make sure that this kind of things happen in threat actors. [25:51.850 --> 25:59.870] And to make a right attribution, we have to, you know, full context-based conclusion is the key. [25:59.870 --> 26:06.070] When we just see the small part of the infection, we make many mistakes like me. [26:06.070 --> 26:11.350] So we have to try to understand the full context-based conclusion. [26:11.350 --> 26:14.230] And for this, the cooperation is the key, I think. [26:14.230 --> 26:22.890] Because in South Korea, I working together many government agency like the National Intelligence Service or Korean search or national police. [26:22.890 --> 26:26.670] So each sector has a different strength, right? [26:26.670 --> 26:29.030] So cooperation is really important. [26:30.370 --> 26:30.910] Okay. [26:30.910 --> 26:31.310] That's it. [26:31.310 --> 26:32.530] This is my presentation. [26:32.530 --> 26:34.510] Thank you for your attention. [26:36.070 --> 26:37.110] Thank you. [26:38.090 --> 26:42.150] And I'll be around here. [26:42.150 --> 26:45.210] So if you have some questions, please hit me up. [26:45.210 --> 26:47.730] And there is my email address and Twitter handle. [26:47.730 --> 26:49.690] So you can ask anything from there. [26:49.690 --> 26:50.790] Thank you for your attention.