1 00:00:00,000 --> 00:00:07,440 Alright, the content is so packed that we're going to like stroll through it. 2 00:00:07,660 --> 00:00:11,760 But so, here's a slide about bragging about ourselves. 3 00:00:11,760 --> 00:00:13,000 Let's get right into it. 4 00:00:13,000 --> 00:00:15,700 First, I guess I should read our title . 5 00:00:16,240 --> 00:00:24,760 So, hacker dropping mid-heist selfies, LLM identifies information stealer infection vectors and extract IOCs. 6 00:00:24,760 --> 00:00:28,180 This is a mouthful, but we'll get through it. 7 00:00:29,340 --> 00:00:31,060 Big agenda. 8 00:00:31,340 --> 00:00:38,520 And, um, first, you need to understand, and we'll go through together the agenda, so don't worry. 9 00:00:38,520 --> 00:00:41,620 Don't, you know, don't feel bad. 10 00:00:41,620 --> 00:00:48,020 But first, I need to set the record straight about, uh, uh, information stealer malware. 11 00:00:48,200 --> 00:00:52,300 You need to understand to see what we're doing with this. 12 00:00:52,300 --> 00:00:59,500 So, information stealer malware, people, uh, usually infect themselves. 13 00:01:00,040 --> 00:01:04,000 They download, uh, cracked software is one of the big vector. 14 00:01:04,060 --> 00:01:10,980 But so, it goes through your computer and it reaches to everything that can be stolen and leveraged, right? 15 00:01:10,980 --> 00:01:20,240 And, um, usually this is the credentials, the, the, the crypto wallet, like everything that could be leveraged. 16 00:01:20,240 --> 00:01:22,340 Admin rights are not required. 17 00:01:23,460 --> 00:01:25,740 And, uh, it doesn't persist. 18 00:01:25,740 --> 00:01:31,920 So, for IR, it's complicated, it's difficult, it's not, it's not a fun place to be. 19 00:01:31,920 --> 00:01:38,820 Then, the data is exfiltrated to telegram most of the time, not always telegram. 20 00:01:39,220 --> 00:01:48,320 But so, uh, uh, it goes to C2 and it's packaged and it's resold on the darknet. 21 00:01:48,320 --> 00:01:50,620 It's resold on cybercrime forums. 22 00:01:54,430 --> 00:02:00,270 Now, then, the cybercriminals, they package it, they sell it in bulk. 23 00:02:00,270 --> 00:02:03,090 So, they sell it, they bundle everything together. 24 00:02:03,090 --> 00:02:04,670 They sell it in bulk. 25 00:02:04,750 --> 00:02:19,430 And this talk is about going into each infections, and we have millions of them, we collected millions of them, going inside the infection, going after the screenshot. 26 00:02:19,710 --> 00:02:24,970 The screenshot is a really hard, uh, artifact to analyze as a cybercriminal. 27 00:02:24,970 --> 00:02:34,670 So, this is what we did and what is, uh, the, the, what the take away of our whole presentation. 28 00:02:35,050 --> 00:02:37,570 But so, why a screenshot, right? 29 00:02:38,210 --> 00:02:45,550 So, the cybercriminals, they're trying to infect everyone and sandboxes are messing with them, right? 30 00:02:45,610 --> 00:02:48,950 They, they, they, uh, virus total and stuff like that. 31 00:02:48,950 --> 00:02:59,710 So, for them, including a screenshot part of the infection is good because they can tell, like, this is not a normal computer, this is not a user's computer. 32 00:02:59,710 --> 00:03:02,410 It's a very telltale sign for them. 33 00:03:02,410 --> 00:03:10,710 So, they added that feature of the screenshot when they infect the computer and they were probably feeling like this. 34 00:03:10,710 --> 00:03:18,870 They're probably like, oh my god, I'm the shit, like, I figured out how to bypass sandboxes. 35 00:03:18,870 --> 00:03:21,350 But for us, it's more like this. 36 00:03:21,490 --> 00:03:27,490 It's more like you're taking a selfie in at the crime scene. 37 00:03:27,590 --> 00:03:31,110 Like, you're, you're telling us, you're giving us information. 38 00:03:31,510 --> 00:03:39,910 You're, you know, it sounds cool from your perspective, but from our perspective, it's like giving us so much intel. 39 00:03:40,030 --> 00:03:41,930 So, this is a real one, right? 40 00:03:41,930 --> 00:03:44,090 The other one was, were jokes. 41 00:03:44,250 --> 00:03:46,270 But this is what it looks like. 42 00:03:46,370 --> 00:03:50,150 So, we have all the context, right? 43 00:03:50,150 --> 00:03:57,850 Fortnite, like, uh, uh, Fortnite mod, the URL, the download, the password, everything is in there. 44 00:03:57,850 --> 00:03:59,650 Here's another example. 45 00:04:00,250 --> 00:04:03,890 It's a mega, we have the URL again. 46 00:04:03,890 --> 00:04:06,170 We know the context of the infection. 47 00:04:06,170 --> 00:04:08,930 It's a, it's a Microsoft Office crack. 48 00:04:08,930 --> 00:04:15,330 All the clues are there for us to do the IR or to explain what happened. 49 00:04:15,750 --> 00:04:19,710 So, what we felt about that was more like this, right? 50 00:04:19,710 --> 00:04:25,830 Threat actor is basically giving us, this is Estelle's meme, by the way. 51 00:04:25,830 --> 00:04:27,450 Most memes are from her. 52 00:04:27,450 --> 00:04:29,110 I'm a, I'm a millennial. 53 00:04:29,110 --> 00:04:34,070 She's a Gen Z, so she, she has the on key memes. 54 00:04:34,210 --> 00:04:38,290 But so, the, the, we were like, thank you, buddy. 55 00:04:38,290 --> 00:04:41,490 You don't realize how much you're giving us. 56 00:04:41,530 --> 00:04:43,610 The, everything is in there. 57 00:04:43,610 --> 00:04:45,510 We know what happened. 58 00:04:45,610 --> 00:04:50,910 And we can solve the mystery and track campaigns doing that, right? 59 00:04:50,910 --> 00:04:54,330 And we have millions of them. 60 00:04:54,330 --> 00:05:04,590 Like, uh, uh, we have around 150 million information stealer log, but like 15 million of them plus contain the screenshot. 61 00:05:04,590 --> 00:05:09,390 So, out of that, so with this we're very successful at tracking it. 62 00:05:09,390 --> 00:05:22,170 But the problem with, so an analyst can tell everything about the screenshot, but an analyst can only do so much, right? 63 00:05:22,170 --> 00:05:27,930 We're, we're, we're, we're drowning in information. 64 00:05:27,990 --> 00:05:33,350 But so, what's the buzz word now to, when you're drowning in information? 65 00:05:33,370 --> 00:05:35,410 It's LLMs. 66 00:05:35,430 --> 00:05:38,870 And here's Estelle's genius. 67 00:05:40,850 --> 00:05:42,770 She fixed it. 68 00:05:42,770 --> 00:05:43,310 She fixed it. 69 00:05:43,310 --> 00:05:43,310 She fixed it. 70 00:05:43,330 --> 00:05:49,550 I hope you guys can hear me well, but let me present to you the pipeline of how we did it. 71 00:05:49,970 --> 00:05:57,630 First we feed the screenshots to a first layer of LLM and then it outputs a description of what's going on inside the screenshots. 72 00:05:57,630 --> 00:06:06,730 Then we take that description and feed it into a second LLM layer that will pretty much extract the vector infection as well as the theme. 73 00:06:06,990 --> 00:06:16,610 Then comes the IOC checking in order to get rid of any dead IOC, so we only keep the theme of infection as well as the live IOC. 74 00:06:18,390 --> 00:06:24,570 Now if we look into the overview of the pipeline, you see we have two layers of LLM. 75 00:06:24,870 --> 00:06:28,390 And you must, you might ask yourself, why two? 76 00:06:28,830 --> 00:06:34,670 Honestly that's a very good question and I'll have to tell you a story to explain why we have two. 77 00:06:35,690 --> 00:06:45,950 When I started the project, as any human not very familiar with LLM would do, I just translated my thoughts to the LLM as if it was a human. 78 00:06:45,990 --> 00:06:48,090 The project was pretty simple. 79 00:06:48,090 --> 00:06:52,530 It was a single task to identify the infection vector. 80 00:06:53,070 --> 00:06:57,350 So I initially launched a pipeline with a single layer of LLM. 81 00:06:57,590 --> 00:07:01,250 However the LLM did not like it and it failed. 82 00:07:01,250 --> 00:07:02,210 Why? 83 00:07:02,210 --> 00:07:06,470 Because LLMs and humans don't think nor act the same way. 84 00:07:06,490 --> 00:07:09,450 Let me exemplify. 85 00:07:09,610 --> 00:07:11,790 Here's a screenshot we already showed you. 86 00:07:12,070 --> 00:07:17,110 As humans what happens, we see and we grasp what's going on. 87 00:07:17,290 --> 00:07:19,290 We see it's a YouTube video. 88 00:07:19,630 --> 00:07:24,430 It's about Fortnite and you have a download involved. 89 00:07:25,270 --> 00:07:30,950 So what we did here was a very first task and it was to visually assess the screen shots. 90 00:07:32,470 --> 00:07:37,310 Now that we had a grasp of what's going on, we start to look into the details. 91 00:07:38,510 --> 00:07:41,810 We can see there's a download link in the description box. 92 00:07:42,610 --> 00:07:49,010 And if we look on the bottom of the screenshot, we can see there's an archive being downloaded already. 93 00:07:49,770 --> 00:07:58,410 And as many of you may already know, when you read the title of the archives, you understand basically how the infection happened. 94 00:07:59,430 --> 00:08:03,210 Here we perform this second different task. 95 00:08:03,210 --> 00:08:08,030 We pointed out the infection vector based on field knowledge. 96 00:08:09,030 --> 00:08:14,390 And now we begin to understand why the single layer LLM pipeline did not work out. 97 00:08:14,390 --> 00:08:23,990 Because with a single LLM layer, the LLM had to perform two different tasks disguised as a single one in the human mind. 98 00:08:25,330 --> 00:08:26,710 And here's the first one. 99 00:08:26,710 --> 00:08:31,070 The LLM pipeline is the first piece of key insight for you guys if you wanted to use an LLM. 100 00:08:31,270 --> 00:08:33,530 An LLM can't just figure it out. 101 00:08:33,550 --> 00:08:43,250 You have to translate your analyst intuition into precise instruction if you want the LLM to carry out the task properly. 102 00:08:44,630 --> 00:08:49,710 So I came back to the pipeline and I built it based on two layers. 103 00:08:49,710 --> 00:08:56,210 One to visually assess like we just did as human and the second one to point out the infection vector. 104 00:08:59,050 --> 00:09:04,030 Now I'll get into the prompt engineering because LLMs need precise instruction. 105 00:09:05,070 --> 00:09:07,390 Let's deep dive into the first one. 106 00:09:07,430 --> 00:09:16,330 When we looked into the screenshot we had, we as humans saw that every screenshot could be basically categorized into three classes. 107 00:09:16,510 --> 00:09:19,590 The first one is when the screenshot is web-based. 108 00:09:19,590 --> 00:09:21,750 You can only see a website. 109 00:09:22,250 --> 00:09:27,530 The second one was when the screenshot involves a file system or an installer. 110 00:09:28,670 --> 00:09:30,450 And the third one was a hybrid. 111 00:09:30,450 --> 00:09:33,270 You had basically both of the above. 112 00:09:34,750 --> 00:09:39,370 So we designed a prompt to pick up any relevant information for all three categories. 113 00:09:39,370 --> 00:09:40,830 The first one for web content. 114 00:09:40,830 --> 00:09:42,970 We wanted to get the basic description. 115 00:09:43,830 --> 00:09:49,370 Also the links and the browsing tabs to understand what was going on inside the screenshot. 116 00:09:50,430 --> 00:09:53,050 For the file system, again, the description. 117 00:09:53,250 --> 00:09:58,770 We wanted to pick out any file explorer and the names of the files inside the explorer. 118 00:09:59,350 --> 00:10:04,630 And in case it was an installer, we wanted to pick out the software that was being installed. 119 00:10:06,210 --> 00:10:09,930 For the last one, we wanted to point out all of the above. 120 00:10:10,110 --> 00:10:13,330 So if there's a file explorer, an installer, links, anything. 121 00:10:14,570 --> 00:10:18,130 So we have four elements going into the prompts. 122 00:10:18,510 --> 00:10:26,230 The scene description, any files or installer, the links, and also the browser tab notification. 123 00:10:27,230 --> 00:10:31,790 If you remember the overview of the pipeline, we had a second LLM layer. 124 00:10:31,870 --> 00:10:35,070 And its job is to identify the infection vector. 125 00:10:35,070 --> 00:10:43,070 So we thought we might point out the suspicious things to help the second layer understand better what it could be looking at. 126 00:10:43,090 --> 00:10:49,770 So we added a fifth element, which was pointing out the suspicious elements on the infection screenshot. 127 00:10:49,950 --> 00:10:54,410 We described what could be a suspicious element so the LLM wouldn't go crazy. 128 00:10:55,910 --> 00:10:59,110 And that's how the prompt was structured. 129 00:10:59,510 --> 00:11:02,890 First, you have the main content, which is the scene description. 130 00:11:03,810 --> 00:11:09,010 Then we have the file or any program that was being installed or seen on the screenshot. 131 00:11:09,670 --> 00:11:11,670 Under, we have any links. 132 00:11:12,030 --> 00:11:14,270 Then the browser tab analysis. 133 00:11:15,130 --> 00:11:17,590 And lastly, we had suspicious elements. 134 00:11:19,350 --> 00:11:25,610 This way, if we feed these screenshots into the pipeline, you get this output. 135 00:11:26,350 --> 00:11:30,790 The main content identified the ESET security window as well as the YouTube video. 136 00:11:31,290 --> 00:11:33,850 In the file and program, you see the ESET. 137 00:11:34,030 --> 00:11:36,530 Then in the links, you have the YouTube link. 138 00:11:36,690 --> 00:11:37,930 We have the tabs. 139 00:11:37,930 --> 00:11:45,690 And in the suspicious elements, we identified both the YouTube video and the key entry prompt from the false ESET window. 140 00:11:48,180 --> 00:11:50,520 That's how the first layer works. 141 00:11:50,900 --> 00:11:53,280 Gives us a formatted description. 142 00:11:53,760 --> 00:11:57,300 And then we input it into the second layer. 143 00:11:57,760 --> 00:12:11,020 If you're familiar with any LLMs or machine learning, you might know that any inputs you give to an algorithm should be perfect to a certain extent if you want to get good results at the end. 144 00:12:11,500 --> 00:12:23,640 And if you want to avoid this scenario, where the first layer output sabotages the second layer, then we had to assess what was going on and what was the output of that first layer. 145 00:12:24,940 --> 00:12:27,860 So we did exactly that. 146 00:12:27,940 --> 00:12:31,340 And we went to assess the first layer on 1,000 screenshots. 147 00:12:31,680 --> 00:12:33,520 The accuracy were really good. 148 00:12:33,520 --> 00:12:38,740 For the scene description, 96% of screenshots were accurately described. 149 00:12:38,920 --> 00:12:42,800 For the file explorer and the links, we had 100% accuracy. 150 00:12:43,260 --> 00:12:48,620 And for suspicious element identification, we had an 85% accuracy. 151 00:12:49,680 --> 00:12:56,520 However, for the browser tab identification, the LLM performed pretty much poorly. 152 00:12:57,960 --> 00:13:08,360 To go into details, 30% of the screenshots were missing information. 153 00:13:08,940 --> 00:13:11,660 And 36 of them were just plainly wrong. 154 00:13:12,220 --> 00:13:23,400 And if we look at an example where the LLM failed at identifying the browsing tabs, you can see in the output, we had three correctly identified browsing tabs. 155 00:13:23,620 --> 00:13:27,940 And then the LLM resorted into identifying the bookmarks. 156 00:13:28,580 --> 00:13:33,180 And it even failed in identifying the very last browsing tab. 157 00:13:33,700 --> 00:13:40,120 So we realized we had unusual and unwanted behavior into that section of the prompt. 158 00:13:40,760 --> 00:13:41,920 And that was a problem. 159 00:13:41,920 --> 00:13:46,620 Because if the output is bad, then it's a bad input to the second layer. 160 00:13:47,980 --> 00:13:50,300 So we thought we have to correct it. 161 00:13:50,300 --> 00:13:52,460 But correcting things require efforts. 162 00:13:52,460 --> 00:13:54,240 And we were lazy. 163 00:13:54,320 --> 00:13:58,040 So we had this idea first to delete it and see what happens. 164 00:13:58,040 --> 00:14:02,220 Because that would be basically saving the energy. 165 00:14:02,860 --> 00:14:04,440 So we did just that. 166 00:14:04,440 --> 00:14:05,420 We deleted it. 167 00:14:05,420 --> 00:14:07,140 Run the assessment again. 168 00:14:07,640 --> 00:14:11,240 And surprise, surprise, the accuracy was the very same. 169 00:14:11,580 --> 00:14:17,340 So lazy as we are, we just deleted it basically and we went with this section. 170 00:14:19,300 --> 00:14:21,620 So the first layer was assessed. 171 00:14:22,040 --> 00:14:23,560 The input is pretty good. 172 00:14:24,160 --> 00:14:26,420 So now we can jump into the second layer. 173 00:14:27,240 --> 00:14:33,940 The purpose of the second layer is to point out the infection vector as well as the theme inside the description. 174 00:14:34,740 --> 00:14:37,280 And then we asked to format it. 175 00:14:37,900 --> 00:14:40,480 So it looks like this with a screenshot . 176 00:14:40,880 --> 00:14:45,060 The vector, you have the link that leads to the software that was installed. 177 00:14:45,620 --> 00:14:52,720 And then as the theme, you have the name of the file that was basically being hosted on the link. 178 00:14:55,210 --> 00:14:56,250 So that's great. 179 00:14:56,310 --> 00:14:58,630 Performed really well on the first try. 180 00:14:58,710 --> 00:14:59,650 Hooray. 181 00:14:59,870 --> 00:15:04,010 We have the vector and the theme and it's basically an IOC feed. 182 00:15:04,510 --> 00:15:05,930 Great success. 183 00:15:07,650 --> 00:15:16,650 So we run it and we began to look into the IOCs and when we clicked on them, many, many, many, many of them were just dead. 184 00:15:17,570 --> 00:15:22,230 And that's a problem because an IOC feed is cool but if everything is dead, it's not useful. 185 00:15:23,510 --> 00:15:27,930 So that got us triggered because that's a lot of work to just end up with shitty results. 186 00:15:29,050 --> 00:15:34,850 So that was us realizing the work we put in was just yet unuseful. 187 00:15:35,030 --> 00:15:39,710 And that's why we had the IOC check-in coming into play. 188 00:15:40,250 --> 00:15:52,490 With the IOC check-in, we could discriminate between live IOCs, those just outputting the theme and those just outputting dead IOCs that we just didn't have any interest into. 189 00:15:54,250 --> 00:15:59,990 And so this is where the discriminating IOCs started to happen. 190 00:16:00,030 --> 00:16:07,450 And we, Estelle, realized there are three broad categories of IOCs in the form of URLs. 191 00:16:07,510 --> 00:16:10,650 One of them is file sharing platform. 192 00:16:10,730 --> 00:16:13,370 One of them is YouTube videos. 193 00:16:13,370 --> 00:16:15,630 And the rest, right? 194 00:16:15,630 --> 00:16:17,250 All of the others. 195 00:16:17,250 --> 00:16:20,870 So we need to assess them a little bit differently. 196 00:16:20,870 --> 00:16:24,150 And as an engineer, this is really hard to accept, right? 197 00:16:24,150 --> 00:16:27,310 You want everything to be perfect, everything to work automatically. 198 00:16:27,310 --> 00:16:31,770 But it made much more sense for us to look at it that way. 199 00:16:32,130 --> 00:16:38,970 So for the file sharing platform, they have helpful and meaningful error messages. 200 00:16:38,970 --> 00:16:42,630 They respect HTTP status codes. 201 00:16:42,630 --> 00:16:49,750 So we were able to quite easily label the dead links quickly. 202 00:16:50,070 --> 00:16:58,690 But then moving on to the good ones, the good links, then there are huddles, or there are hurdles, I meant to say. 203 00:16:58,690 --> 00:17:01,250 There are hurdles, we have trouble. 204 00:17:01,250 --> 00:17:06,550 There's always like password and all types of social engineering involved. 205 00:17:06,550 --> 00:17:16,550 And so we have to accept more than like when it's not working, it can be a valid IOC. 206 00:17:16,550 --> 00:17:23,670 Because the YouTube video will talk about a password or disabling AV and stuff like that. 207 00:17:23,670 --> 00:17:28,690 So we need to have a big drag net of accepting lots of those URLs. 208 00:17:28,690 --> 00:17:34,390 So these we consider valid even if it's asking for a key or even if there's a hurdle. 209 00:17:34,830 --> 00:17:38,950 And then there's the rest of them. 210 00:17:38,950 --> 00:17:54,570 This is scruffier, less reliable, but if there's a download button, if there's like anything that talks about cracked software or leads you to a download, we consider them live IOCs. 211 00:17:54,570 --> 00:18:01,190 For YouTube videos, again, YouTube is doing, it's clear. 212 00:18:01,190 --> 00:18:05,690 So when the video is no longer available, we consider this a dead IOC. 213 00:18:05,690 --> 00:18:09,450 Pretty easy to test that. 214 00:18:10,430 --> 00:18:19,230 Then if it's a working one, then usually there's a download link and we don't want the video, we want the download link. 215 00:18:19,230 --> 00:18:22,530 So we'll go straight after that. 216 00:18:22,530 --> 00:18:26,290 But these threat actors, they know they're being tracked. 217 00:18:26,290 --> 00:18:38,070 So they sometimes they remove the link or they add a password or the archive is not the same one and then eventually it becomes downloadable. 218 00:18:38,070 --> 00:18:40,910 So there is some kind of like heuristics to do. 219 00:18:40,910 --> 00:18:45,350 If there's no download link, then we'll consider this a theme. 220 00:18:45,350 --> 00:18:54,950 And themes are cool to track campaigns and explaining to people campaigns leads to better online behavior. 221 00:18:54,950 --> 00:19:11,190 So I know it's not as engineers, it's not cool to not have the download or the binary, but it's gonna save the world if we're changing people's behavior online, letting them know they must not download cracked software or anything, right? 222 00:19:11,190 --> 00:19:15,910 So it's kind of important, but I know we don't like stuff like that. 223 00:19:15,910 --> 00:19:21,650 So we're at the demo part of the thing and this is where I'm a bit stressful. 224 00:19:21,990 --> 00:19:24,010 You know, demo god and everything. 225 00:19:24,470 --> 00:19:30,810 But okay, I need to find a mouse and then drag this over there. 226 00:19:32,950 --> 00:19:34,510 Full screen it. 227 00:19:34,510 --> 00:19:38,650 Okay, so the demo is a bit rigged, alright? 228 00:19:39,170 --> 00:19:44,910 I added a delay and I made it pop up the screenshots. 229 00:19:44,910 --> 00:19:49,510 But you know, normally it's boring Python, the code is running in the background. 230 00:19:50,170 --> 00:19:54,370 So what happens is, so we're gonna see the screenshot. 231 00:19:54,930 --> 00:20:00,530 So a screenshot like this is investigated by our pipeline. 232 00:20:00,590 --> 00:20:11,330 So here you see the file system, office crack, the file is a gigabyte large, this is a AV evasion technique, traditional one. 233 00:20:12,110 --> 00:20:14,090 And so we're gonna see the demo . 234 00:20:14,090 --> 00:20:20,770 Then in the background, the LLM, it's thing, right? 235 00:20:20,770 --> 00:20:29,950 As Estelle showed you, the prompt, we have all of the different sections, the URL was found out, the theme is really clear here, right? 236 00:20:29,950 --> 00:20:45,530 And our second layer, so the first layer is what is in the middle of the screen, second layer is at the bottom and it's like the URL, this is a Microsoft Office crack and so it's pretty much dead on what happened. 237 00:20:45,650 --> 00:20:55,490 Now, another victim, Photoshop, talks about Photoshop and again, the LLM figured everything out. 238 00:20:55,490 --> 00:21:06,850 We have the URL, we have like all of the details of what is likely happened and so imagine, like this is not rocket science, right? 239 00:21:06,850 --> 00:21:11,790 I know, but imagine we do this on millions of them now. 240 00:21:11,790 --> 00:21:21,590 So this is the output of the tool, so JSON and like everything is useful for a pipeline of IOC. 241 00:21:23,210 --> 00:21:37,250 But so, the scale is what I think is important about what we're doing here but now we need to wait, let the LLM do the work. 242 00:21:37,470 --> 00:21:55,210 Again, the demo was slowed down but still, we're talking several seconds per screenshot so when we're talking millions, we're talking million seconds so it takes some time but eventually, we're tracking campaigns and bad guys. 243 00:21:55,510 --> 00:22:24,990 So we fed about multiple thousand or hundreds of thousands of screenshots of the pipeline and we began to see many campaigns but most importantly, common themes like what software is being used to infect most people, what were they using to distribute the software and so we began to sketch out an info-stealer playbook for you guys so you could understand what they're using and thus recognize the danger when it's happening inside your screen. 244 00:22:26,070 --> 00:22:33,210 The first chapter of the book is Rue theme and what we've seen as most common is cracked software. 245 00:22:33,750 --> 00:22:41,150 And I'm sure many of you guys in the public have already downloaded some cracked software so I'm sorry, you might be in a still log as of today. 246 00:22:42,170 --> 00:22:45,210 But legitimate software often have costly licenses. 247 00:22:46,290 --> 00:22:48,790 But the cracked version is often free. 248 00:22:49,470 --> 00:22:50,990 But there's a catch. 249 00:22:52,270 --> 00:22:55,730 So inside the user's mind, they just don't want to pay. 250 00:22:56,070 --> 00:23:06,530 And so they risk downloading a file which contains free and crack inside to just get a hope of having the software for free. 251 00:23:07,750 --> 00:23:21,250 And threat actors have understood that for a long time now because they prey on user's willingness to bypass those very legitimate licensing fees at the cost of their very own security. 252 00:23:23,130 --> 00:23:32,050 The software we've seen mostly used were creative ones or mainstream ones like my journey, Vegas pro and everything. 253 00:23:32,550 --> 00:23:35,670 And those softwares are mainstream ones. 254 00:23:35,990 --> 00:23:43,990 And it's a strategic choice because if everybody knows about it, then you have a bigger pool of victim to potentially infect. 255 00:23:44,990 --> 00:23:53,770 And so targeting mainstream products ensure a large pool of potential victims and it is a strategic choice made by the threat actor. 256 00:23:55,530 --> 00:24:00,110 The second Rue theme we had is the gaming cheats and modes. 257 00:24:02,570 --> 00:24:09,250 The games were mostly Fortnite, we had Roblox and Minecraft as well. 258 00:24:09,530 --> 00:24:11,110 And the same with the cracked software. 259 00:24:11,110 --> 00:24:13,330 Those are mainstream games. 260 00:24:13,330 --> 00:24:19,070 And more importantly, they're gateways into gaming for people of all ages. 261 00:24:19,130 --> 00:24:21,790 They're relatively simple and accessible. 262 00:24:21,950 --> 00:24:27,150 And most importantly, their graphics are suited for younger audiences. 263 00:24:28,690 --> 00:24:38,530 And those games often introduce and frequently introduce skins, weapons and modes to enhance gaming experience. 264 00:24:38,790 --> 00:24:41,850 However, they are paid for. 265 00:24:41,870 --> 00:24:46,830 And this younger audience doesn't have the mean nor the intent to pay for them. 266 00:24:46,830 --> 00:24:49,830 But they still want to get their hands on them. 267 00:24:50,590 --> 00:24:53,710 And this forms an ideal demographic for threat actors. 268 00:24:53,710 --> 00:24:59,890 Because these people are willing to sacrifice basically their security to get their hands on those. 269 00:25:00,790 --> 00:25:11,130 And the lesson in gaming is if it's free and shady, you're likely the victim and dare I say, you're likely even more the product in this story. 270 00:25:13,290 --> 00:25:19,230 Beside Rue themes, we had distribution strategies commonly used in many campaigns. 271 00:25:19,670 --> 00:25:24,830 The first one we saw was using YouTube to distribute the malware. 272 00:25:25,730 --> 00:25:37,330 In screenshots, we've seen titles of YouTube videos like this, where they emphasize that it's genuine, it's 100% free, and it's 100% safe. 273 00:25:39,050 --> 00:25:53,850 And if we look at the screenshots we've presented to you for quite a while now, they always include the download link, the archive password, and written instruction inside the description box. 274 00:25:54,890 --> 00:26:00,530 And those are three common denominators we've seen over and over again on those YouTube videos. 275 00:26:00,530 --> 00:26:02,290 They emphasize it's free. 276 00:26:02,570 --> 00:26:05,330 It still works, even if it's free. 277 00:26:05,710 --> 00:26:13,170 And the catch, you need to disable the AV, but don't worry, it's definitely safe. 278 00:26:16,320 --> 00:26:30,120 And so YouTube's reach and tutorial-driven content make it the perfect launch pad for infosterial malware, because step-by-step guide becomes then step-by-step infection for many of the users. 279 00:26:32,540 --> 00:26:37,320 The second distribution strategy we found interesting was leveraging Google Ads. 280 00:26:38,560 --> 00:26:44,480 As many of you may know, Google Ads allow you to put your website at the top of results. 281 00:26:44,940 --> 00:26:55,800 So if a threat actor builds a malicious website and leverages Google Ads, it's being placed at the very top where the user is the most likely to click on the malicious website. 282 00:26:56,920 --> 00:27:03,480 And interestingly, Google Ads allows you to time the ad and place it depending on country sometimes. 283 00:27:04,860 --> 00:27:14,100 So Google Ads give the threat actor a fast lane to users' trust, because they place the malicious content at the very top where the user expects the most trust and safety. 284 00:27:16,480 --> 00:27:23,740 Now that we've worked through the infosterial playbook, we might show you guys how it works in real-life campaigns. 285 00:27:24,440 --> 00:27:27,640 How we identify the campaigns, very simple. 286 00:27:27,680 --> 00:27:33,320 In the IOC feed, we just saw the same IOC and the same theme all over again. 287 00:27:33,540 --> 00:27:45,000 And when we looked at the corresponding screenshots, we began to piece together how the infection played, because the screenshot was being taken at different stats of the infection. 288 00:27:46,140 --> 00:27:50,320 So we had two of them, the Mid-Journey and the Bleach Java. 289 00:27:50,380 --> 00:27:57,840 And we chose those two amongst the tens of the ones we had, because they were omnipresent in the screenshot we analyzed. 290 00:27:57,840 --> 00:28:02,440 They represented more than 6 and 5% of the overall screenshot we analyzed. 291 00:28:03,860 --> 00:28:06,300 So let's start with the first one. 292 00:28:06,940 --> 00:28:12,020 I'm going to present to you a series of screenshots from a real infected device. 293 00:28:12,240 --> 00:28:15,340 So all the screenshots you see are basically a victim each. 294 00:28:15,860 --> 00:28:24,700 The infection path starts with a user searching for Mid-Journey, it's trending, you want to generate an AI image, it's understandable. 295 00:28:25,500 --> 00:28:35,020 Then the user gets hit with a sponsored malicious website, and if you look closely on the bottom of it, you have the official and legitimate sites. 296 00:28:35,600 --> 00:28:39,380 But the user still trusts the top results and it will click on it. 297 00:28:40,040 --> 00:28:45,260 So they're presented with a very well-done copy of the official Mid-Journey websites. 298 00:28:45,980 --> 00:28:51,820 But if you look closely, you have a little sentence that kind of itches you. 299 00:28:51,960 --> 00:28:59,900 It is possible that a computer security system may falsely trigger, again, seems legit. 300 00:28:59,900 --> 00:29:11,440 Might be funny to us, but what the threat actor is doing now is conditioning the user to understand that you might need to disable the antivirus to get to the software to actually work. 301 00:29:12,500 --> 00:29:20,940 So they click, they get an executable, they click it again, and when it executes, it doesn't work. 302 00:29:22,340 --> 00:29:23,460 Suspicious. 303 00:29:23,780 --> 00:29:27,380 But when you read the window, you remember. 304 00:29:27,500 --> 00:29:34,600 The user was warned and conditioned, you will need to disable the AV, it is normal and needed. 305 00:29:35,160 --> 00:29:37,500 However, some of them don't know how to do it. 306 00:29:37,500 --> 00:29:44,300 So they search on the internet and when they finally get how to do it, they do it. 307 00:29:45,360 --> 00:29:47,280 But it still doesn't work. 308 00:29:47,280 --> 00:29:54,460 And it won't work because you just allowed the malware to infect your computer because you disabled the defense the computer had. 309 00:29:56,580 --> 00:29:58,920 So you search because it still doesn't work . 310 00:29:59,840 --> 00:30:02,720 And yes, it was indeed a virus. 311 00:30:04,820 --> 00:30:23,020 The campaign exemplifies how they use a mainstream or trending software, build a copy of it, build a copy of the official websites, leverage Google app to place it at the top of the user search, so they infected the most people they could. 312 00:30:26,210 --> 00:30:28,850 The second campaign is the blitz Java one. 313 00:30:29,830 --> 00:30:37,030 When we looked at the screenshot, we saw many, many, many of them with a Java installer. 314 00:30:38,590 --> 00:30:43,450 Even more surprising, we saw some screenshots with the official Java websites. 315 00:30:44,310 --> 00:30:48,370 So at first we thought, was Java compromised? 316 00:30:48,430 --> 00:30:49,990 Because it would have been big news. 317 00:30:49,990 --> 00:30:51,590 The first time ever, right? 318 00:30:52,650 --> 00:30:53,610 No. 319 00:30:54,090 --> 00:30:56,130 It was the same old trick again. 320 00:30:56,130 --> 00:30:57,550 Sponsored ad. 321 00:30:57,610 --> 00:31:02,930 And here you can see two different languages, but we've had infections all over the world. 322 00:31:03,430 --> 00:31:05,350 It's the same domain. 323 00:31:06,390 --> 00:31:10,990 And again, if you look under, there is the official and legitimate websites. 324 00:31:12,850 --> 00:31:16,350 Here is the first of the screenshots we saw. 325 00:31:17,970 --> 00:31:19,850 And here is the second one. 326 00:31:20,710 --> 00:31:29,970 And if I asked any of you guys to point me out which one was the legitimate and which one was the malicious one, I'm pretty sure you wouldn't be able to, because me neither. 327 00:31:31,790 --> 00:31:37,710 But if you look closely and you can compare both websites, then you can see the differences. 328 00:31:38,370 --> 00:31:47,150 We're missing the developer's resource, some elements on the left, different spacing, the front end of the button is different. 329 00:31:47,710 --> 00:31:49,770 We're missing a hyperlink. 330 00:31:50,190 --> 00:31:53,550 And most importantly, the file size is different. 331 00:31:54,070 --> 00:31:59,730 But if you're a user and you click only on one of those links, you can't possibly know you're being played. 332 00:32:00,050 --> 00:32:02,470 Because the copy is so well done. 333 00:32:03,830 --> 00:32:05,590 So the user clicks. 334 00:32:05,630 --> 00:32:07,510 They get the false page. 335 00:32:08,130 --> 00:32:09,510 They download. 336 00:32:09,510 --> 00:32:11,930 And they're hit with an archive. 337 00:32:13,230 --> 00:32:16,110 Which in itself is quite suspicious, but you know what? 338 00:32:16,110 --> 00:32:17,770 There's the executable inside. 339 00:32:17,870 --> 00:32:19,090 So they click. 340 00:32:19,670 --> 00:32:21,570 The installer is launched. 341 00:32:21,570 --> 00:32:22,790 It looks legit. 342 00:32:22,790 --> 00:32:24,170 So they're happy. 343 00:32:25,270 --> 00:32:31,510 But if you look into the details, you can see the icon used for the executable is not the legit logo. 344 00:32:31,510 --> 00:32:32,790 It's a different one. 345 00:32:35,050 --> 00:32:36,050 But you know what? 346 00:32:36,050 --> 00:32:37,030 The installer is still here. 347 00:32:37,030 --> 00:32:38,150 Maybe it's an error. 348 00:32:38,570 --> 00:32:40,590 So you run it, and it doesn't work. 349 00:32:42,730 --> 00:32:44,010 So you search. 350 00:32:44,010 --> 00:32:47,030 I tried installing Java, but it doesn't work. 351 00:32:47,550 --> 00:32:52,070 And again, yes, it doesn't work, because it was a false one. 352 00:32:53,890 --> 00:33:02,630 The reason we named the campaign Blitz Java is because all infections happened so fast. 353 00:33:03,230 --> 00:33:06,610 We had a few hundred of them all around the world. 354 00:33:07,170 --> 00:33:11,290 But they all happened in a time frame of 19 hours. 355 00:33:12,570 --> 00:33:19,790 And we looked at the date of the 19 hours, and it spans between February 11th and the 12th. 356 00:33:19,810 --> 00:33:23,810 And if you look on the calendar, it spans on a weekend. 357 00:33:25,730 --> 00:33:38,130 And a weekend is a strategic choice, because weekend means off work, off school, meaning more leisure time to be on a computer, and more time for security teams to respond to any infection. 358 00:33:38,830 --> 00:33:42,330 So it was a really, really strategic choice. 359 00:33:44,370 --> 00:33:47,150 And that's how a successful campaign works. 360 00:33:47,810 --> 00:33:52,350 They use a mainstream software or training one, as well as their websites. 361 00:33:52,650 --> 00:33:55,290 They create a copy of both. 362 00:33:56,050 --> 00:34:07,550 Leverage distribution strategies of Google ads, or proxy it through YouTube video, and then they infect so many people because of those simple tricks. 363 00:34:09,250 --> 00:34:18,490 The key insight here is, threat actors rely on simple psychological tactics, simply because they still work so well. 364 00:34:18,850 --> 00:34:26,350 Why would you pain yourself with a technical exploit, when people are also so easily manipulated? 365 00:34:26,390 --> 00:34:29,450 It's a low effort and a rational choice. 366 00:34:32,600 --> 00:34:34,480 Oh, yeah, yeah, yeah. 367 00:34:34,480 --> 00:34:35,720 True, true, true. 368 00:34:35,720 --> 00:34:40,240 You know, so okay, you guys are all thinking like, yeah, yeah, Olivier, that's cool. 369 00:34:40,240 --> 00:34:42,720 But there are problems with what you're talking about. 370 00:34:42,720 --> 00:34:47,480 So I'm gonna do the good side, but then there's gonna be the bad side. 371 00:34:47,600 --> 00:34:51,140 So the screenshots is the greatest strength. 372 00:34:51,140 --> 00:34:57,460 And us talking about it here will definitely impact the food chain. 373 00:34:57,480 --> 00:34:59,900 And things might be different. 374 00:34:59,900 --> 00:35:01,900 They might mess with us. 375 00:35:02,580 --> 00:35:09,140 So what's good about them is, traditional malware analysis relies on code signatures. 376 00:35:09,140 --> 00:35:16,880 And with the packing, the packers, they're really good at like, messing with our signatures, our detection. 377 00:35:16,880 --> 00:35:19,080 It's a very, a constant struggle. 378 00:35:19,080 --> 00:35:20,760 It's an arms race. 379 00:35:20,760 --> 00:35:22,800 And they're smart. 380 00:35:22,800 --> 00:35:25,960 It's, it's humans attacking humans, right? 381 00:35:25,960 --> 00:35:30,300 But so the screenshot is not as brittle, right? 382 00:35:30,300 --> 00:35:32,520 A code change doesn't matter. 383 00:35:32,520 --> 00:35:37,800 As long as we have the screenshot, we will be able to do the analysis. 384 00:35:37,860 --> 00:35:42,740 So for us, that's one of the strengths of the approach. 385 00:35:43,580 --> 00:36:02,720 So additionally, like, no matter Luma, C2, Redline, or the other ones, we will be able to track them as long as they have a screenshot and we infiltrated their telegram forums, uh, channels. 386 00:36:02,820 --> 00:36:06,600 So as long as there's a screenshot, we can do something about it. 387 00:36:06,600 --> 00:36:07,900 We can track them. 388 00:36:07,900 --> 00:36:11,620 We can build, uh, generate the IOC about it. 389 00:36:11,920 --> 00:36:15,100 So that's another strength of our approach. 390 00:36:15,100 --> 00:36:20,420 However, the existence of the screenshot is important. 391 00:36:20,440 --> 00:36:24,080 If it's not there, we can't do anything, right? 392 00:36:24,080 --> 00:36:28,520 This whole approach, uh, uh, uh, uh, uh, falls down. 393 00:36:28,720 --> 00:36:33,820 But more so than just the existence, there's, there's the quality. 394 00:36:34,000 --> 00:36:38,680 So many of the screenshots are just boring. 395 00:36:38,760 --> 00:36:43,460 I mean, this one's not boring, but it's boring from an IOC perspective, right? 396 00:36:43,620 --> 00:36:49,300 The, the, I don't know, the pipette frog is kind of cool, but we can't extract anything about it. 397 00:36:49,300 --> 00:36:52,020 It's a desktop with icons. 398 00:36:52,020 --> 00:36:53,920 We don't know what happened. 399 00:36:54,140 --> 00:37:02,320 And the stealers, they're configured with delays in the screenshot taking, uh, aspect, right? 400 00:37:02,320 --> 00:37:04,500 This is where they're going to mess with us. 401 00:37:04,500 --> 00:37:14,400 They're going to put a big delay, five minute delay, and so we won't have necessarily the IOC, but there are other artifacts in the stealer that we can go after. 402 00:37:14,400 --> 00:37:20,440 This is a, this is another example of a boring desktop that we can't extract IOC from. 403 00:37:20,440 --> 00:37:24,700 So that's the, that's the limits. 404 00:37:25,340 --> 00:37:29,140 We are, we are incumbent on quality. 405 00:37:29,140 --> 00:37:30,980 So it doesn't work if there's no screenshot. 406 00:37:30,980 --> 00:37:35,880 Now you're thinking, but Olivier, this must be so expensive. 407 00:37:35,920 --> 00:37:45,480 So we're talking about 0.3 cents per stealer and five to ten seconds processing from the open AI back and forth. 408 00:37:46,100 --> 00:37:50,340 We're telling you all this so you build your own pipeline. 409 00:37:50,420 --> 00:37:52,840 You can, you know, you know what to expect, right? 410 00:37:52,840 --> 00:37:54,740 So it's not, it's not too much. 411 00:37:54,740 --> 00:37:56,120 It's not too expensive. 412 00:37:57,440 --> 00:38:00,160 So what is the challenge? 413 00:38:00,440 --> 00:38:07,200 The challenge is there's 120 plus million information stealer logs out there. 414 00:38:07,200 --> 00:38:10,800 This, these are making huge, uh, uh, victims. 415 00:38:10,800 --> 00:38:18,400 For me, as an old fart, this is the exploit kit problem from ten years ago. 416 00:38:18,400 --> 00:38:21,740 This is this, this and these problem. 417 00:38:21,740 --> 00:38:23,580 The stealer log ecosystem. 418 00:38:23,580 --> 00:38:28,840 It's infecting a lot of people and it's really something we need to work on and tackle. 419 00:38:28,880 --> 00:38:33,460 But, however, the threat actor, they're giving us the screenshots for free. 420 00:38:33,460 --> 00:38:36,720 So we can leverage it and we should look at it. 421 00:38:37,500 --> 00:38:40,820 And we built this thing and we gave you the prompts. 422 00:38:40,820 --> 00:38:43,820 The slides are already on the DEF CON media server. 423 00:38:43,820 --> 00:38:45,600 The prompts are all there. 424 00:38:45,660 --> 00:38:52,480 So you can leverage that and look and, and use this to identify IOCs at scale, track campaign. 425 00:38:52,580 --> 00:38:58,860 But more so, what I want to, I think, so here, let me break this down. 426 00:38:58,860 --> 00:39:04,140 So this is a, a black hat, you know, type stuff, but still this is important, right? 427 00:39:04,160 --> 00:39:18,000 Biggest thing is if users know that this is a damaging pattern, a damaging behavior that they can have, they will change their behavior and they will not infect themselves. 428 00:39:18,000 --> 00:39:19,980 So I think we should be more careful about that. 429 00:39:19,980 --> 00:39:22,060 We should communicate that more. 430 00:39:22,060 --> 00:39:25,480 Wash your hands, never disable AV. 431 00:39:26,060 --> 00:39:32,480 Then there's the, if there's the, this worked, right? 432 00:39:32,480 --> 00:39:35,460 LLMs are garbage and we all hate them. 433 00:39:35,460 --> 00:39:46,540 But like, if you break down your analyst intuition into very simple and precise instruction, this is how they're the best. 434 00:39:46,540 --> 00:39:51,420 And this is like, this, this is going to accelerate us. 435 00:39:51,420 --> 00:39:53,520 Don't feel threatened by it. 436 00:39:53,520 --> 00:39:55,540 Feel enhanced by it. 437 00:39:55,540 --> 00:39:59,340 And, and you are the smart person designing the prompt. 438 00:39:59,340 --> 00:40:02,460 It's not some company that should be doing it. 439 00:40:02,460 --> 00:40:13,460 It should be us designing the prompts and, and making our intuition into instructions and just getting faster at solving the problem. 440 00:40:14,140 --> 00:40:16,240 Now, we worked on screenshot. 441 00:40:16,240 --> 00:40:18,660 This, today's talk was about screenshot. 442 00:40:18,660 --> 00:40:23,160 What's next is we want to look at the other artifacts, right? 443 00:40:23,160 --> 00:40:27,220 We, we ran out of time, you know, life is hard. 444 00:40:27,220 --> 00:40:44,860 But so, we figured like, let's do an LLM, we figured, figured, we should do one LLM layer per each artifact, processes list, system information, history, the history is particularly interesting. 445 00:40:44,860 --> 00:40:55,220 And then, we are going to have the, the second layer, analyze the output, and this is going to be the StealerLUG incident response magician, right? 446 00:40:55,220 --> 00:40:59,980 It's going to tell us what happened exactly and be more reliable. 447 00:41:00,020 --> 00:41:03,240 So, our code name for this is Sherlock. 448 00:41:03,240 --> 00:41:07,640 But, there's another Sherlock in cyber so it might change. 449 00:41:07,640 --> 00:41:31,160 So, another big takeaway or uh, one more thing is, we uh, Estelle wrote a paper and she uh, it's already available online on archive and uh, uh, the, the, all of the details of the reliability of the system that she spoke about is all in the paper. 450 00:41:31,220 --> 00:41:41,460 So, it's, we're being very transparent here because we want to share this with the community and we think it's gonna, it might change the world, you know, in a little way. 451 00:41:41,840 --> 00:41:45,320 But so, this was our presentation. 452 00:41:45,820 --> 00:41:50,320 Uh, if we have questions, I have gifts for people with questions. 453 00:41:50,540 --> 00:41:54,280 So, and uh, thank you so much for being here. 454 00:41:54,600 --> 00:41:56,100 Love you guys. 455 00:42:04,750 --> 00:42:06,370 Do we have questions? 456 00:42:08,630 --> 00:42:11,970 Okay, so I had a question as I was looking through this. 457 00:42:11,990 --> 00:42:17,170 Um, this seems like something that would be fairly rudimentary for a browser to actually implement. 458 00:42:17,390 --> 00:42:22,110 Um, so that you could actually identify a page as you're viewing the page. 459 00:42:22,110 --> 00:42:25,250 Is that something you could think would be in the future? 460 00:42:25,250 --> 00:42:30,570 Is something like a, essentially a browser extension that says, yeah, this looks suspicious. 461 00:42:30,570 --> 00:42:34,390 Then just shut off the ability to click on things. 462 00:42:36,650 --> 00:42:39,050 I think it would, it could work. 463 00:42:39,050 --> 00:42:41,690 I'm not really specialized in browser extension. 464 00:42:41,690 --> 00:42:46,610 But that's definitely a good avenue of research and implementation of the project, yeah. 465 00:42:46,610 --> 00:42:47,250 Yeah, yeah, yeah. 466 00:42:47,470 --> 00:42:48,930 Thank you. 467 00:42:48,930 --> 00:42:51,230 I think the cost is the problem. 468 00:42:51,490 --> 00:42:55,250 The , the, like, when do you do the analysis? 469 00:42:55,250 --> 00:43:00,230 Because people browse all the time and it could be very, like, difficult and, and time consuming. 470 00:43:00,270 --> 00:43:03,810 Uh, uh, uh, come, uh, here I have a, I'll have a gift for you. 471 00:43:04,310 --> 00:43:09,650 It's a good question, but I, I think it's cost prohibitive right now, but it could happen . 472 00:43:10,430 --> 00:43:19,570 Hi, so, uh, I have a question because it seems like, uh, you mentioned that, uh, most of these , the way that it worked was that it, like, failed to work. 473 00:43:19,570 --> 00:43:25,530 They disabled the AV and then, you know, by the time they realized, uh, what happened, they already stole their info. 474 00:43:25,530 --> 00:43:36,470 Did you notice any examples where they packaged legit functionality with, like, so, like, you know, like, if you downloaded the fake Java, it actually included, like, real Java, so, like, it would take them longer to realize? 475 00:43:36,930 --> 00:43:42,070 A few screenshots, yeah, but they didn't use any mainstream things. 476 00:43:42,070 --> 00:43:49,810 So, we've seen on video editing softwares and music editing as well, like, music producing things. 477 00:43:50,310 --> 00:43:55,010 Um, we can't be sure it's the exact software that was being used to infect. 478 00:43:55,170 --> 00:43:57,650 It's an assumption from us, basically. 479 00:43:58,010 --> 00:43:59,210 Thank you. 480 00:44:01,860 --> 00:44:05,940 Um, I have something that's not really a question, but just maybe a suggestion. 481 00:44:05,940 --> 00:44:13,520 I think that you could probably use, uh, like, batch processing to do most of the, um, LLM inferencing. 482 00:44:13,520 --> 00:44:20,460 I think you'd do, like, 50,000 at a time, and then 20 submissions all at once, and I think that might speed things up. 483 00:44:20,460 --> 00:44:29,660 Sure, sure, like, open AI API limits are our only limit, and yeah, we can parallelize the whole thing, for sure, for sure. 484 00:44:29,660 --> 00:44:35,560 Yeah, like, using Bedrock, I think, so, I don't know if that's something that's interesting. 485 00:44:35,560 --> 00:44:36,820 I could talk to you later. 486 00:44:37,580 --> 00:44:39,040 Cool, yeah, sure. 487 00:44:41,810 --> 00:44:48,970 Hey, as far as the multi-prompting went, have you explored using LLMs to kind of create those prompts for you? 488 00:44:48,970 --> 00:44:51,270 Like, chain of thought with a reinforcement fine-tuning? 489 00:44:51,610 --> 00:44:53,470 Meta-LLMing. 490 00:44:55,450 --> 00:44:58,770 I've tried, but it wasn't really efficient at first. 491 00:44:59,310 --> 00:45:09,570 Um, I think it's really good to give you, like, a base to work with, if you're not really inspired to do so, but then you have to put your hands through it and test it to see what works. 492 00:45:09,570 --> 00:45:14,050 So far, the LLM was not able to give me a very efficient one. 493 00:45:14,210 --> 00:45:17,890 Gotcha, so it made more sense to have a professional analyst to then kind of do the analysis. 494 00:45:17,890 --> 00:45:23,170 Yes, especially to give the context to what is suspicious, what you should be looking for, yeah. 495 00:45:23,190 --> 00:45:24,150 Thanks. 496 00:45:26,590 --> 00:45:28,250 Hey, thanks for the talk. 497 00:45:28,430 --> 00:45:32,750 I'm curious, I know you all use the screenshots for a lot of the starting point of this. 498 00:45:32,750 --> 00:45:40,810 Have you all ever considered creating a scraper to grab these links from YouTube, Instagram comments, stuff like that, to add them to y'all's IOC list? 499 00:45:41,950 --> 00:45:44,530 That's basically what the IOC checking does. 500 00:45:44,530 --> 00:45:55,290 So, if we have a YouTube then the algorithm goes into the description, picks up the link, then goes through the link to see what's going on. 501 00:45:55,290 --> 00:45:59,590 And if it's, like, has a download button, then we see what's going through the download button. 502 00:45:59,590 --> 00:46:04,850 So, the three different steps of the IOC checking goes into one if it follows, basically. 503 00:46:04,850 --> 00:46:10,190 And then we add them to the last in the JSON, we have the path to the infection, basically. 504 00:46:10,270 --> 00:46:11,010 Got it. 505 00:46:11,010 --> 00:46:11,310 Cool. 506 00:46:11,310 --> 00:46:12,090 Thanks. 507 00:46:13,950 --> 00:46:30,530 Were there, like, any other potential, like, pieces of information, like, maybe file tree listings or something like that in the info stealer logs that could maybe point to what the victim was doing before they had the infection occur? 508 00:46:30,770 --> 00:46:33,010 That's basically what share log does. 509 00:46:33,010 --> 00:46:39,730 So, the screenshot is pretty limited because if the screenshot's quality is shit, then the output is shit, obviously. 510 00:46:39,790 --> 00:46:45,790 And we thought we have to make the project survive in case the screenshot does just disappear. 511 00:46:45,990 --> 00:46:59,770 And if you use all files from the log, you can cross-reference information and you can see, for example, in the processes in software, weirdly named processes, and then you can study malware behavior, where it was hosted and everything. 512 00:46:59,770 --> 00:47:02,970 So, it's a really powerful, I think, tool to come with. 513 00:47:03,110 --> 00:47:09,270 And what's tough about, like, looking at the process list, you have, like, 32 SVC hosts. 514 00:47:09,270 --> 00:47:13,390 And so, Estelle's instinct was, this is not going to work, Olivier. 515 00:47:13,390 --> 00:47:14,290 This is crap. 516 00:47:14,290 --> 00:47:15,930 I was like, no, no, no, no. 517 00:47:15,930 --> 00:47:22,730 There's so many people who uploaded their list of process and said, is that suspicious or not? 518 00:47:22,730 --> 00:47:25,170 The LLM, it learned it. 519 00:47:25,170 --> 00:47:28,450 Like, this was a key realization. 520 00:47:28,630 --> 00:47:33,010 And then, this is one cool thing, the process list and system information. 521 00:47:33,070 --> 00:47:36,590 But then, you can also pivot on the history. 522 00:47:36,590 --> 00:47:39,030 They steal the whole browser history. 523 00:47:39,030 --> 00:47:59,230 And so, what we're doing is, we're sorting them, minimizing them, so that it fits the token window of the AI, and then sending that based on, like, when it's sorted, and telling it, the AI, then, okay, what links happened? 524 00:47:59,230 --> 00:48:04,470 And when I was doing this manually before, but the last link is not the good one. 525 00:48:04,470 --> 00:48:06,450 It's always, like, in the 10 last. 526 00:48:06,450 --> 00:48:07,570 It's not the last. 527 00:48:07,570 --> 00:48:12,970 So, the LLM can filter through that stuff for you, which is where it's good. 528 00:48:12,970 --> 00:48:17,750 And so, if you combine all of this together, then it becomes really powerful. 529 00:48:17,810 --> 00:48:19,270 I have to jump in. 530 00:48:19,270 --> 00:48:20,650 The LLM doesn't learn. 531 00:48:20,650 --> 00:48:22,130 You have to explain it. 532 00:48:22,130 --> 00:48:23,070 Yes. 533 00:48:24,070 --> 00:48:25,030 Okay. 534 00:48:25,390 --> 00:48:26,890 It analyzes it. 535 00:48:26,890 --> 00:48:27,970 It's what I meant. 536 00:48:27,970 --> 00:48:28,670 Sorry. 537 00:48:29,070 --> 00:48:32,170 I don't want to be rude to the LLM, in case it's listening. 538 00:48:35,380 --> 00:48:38,700 So, I've got one, possibly two questions. 539 00:48:38,880 --> 00:48:55,660 Once you've identified live IOCs, or even dead IOCs, have you considered feeding that into, like, a tool like AMASS, so that you can pull out subdomains or other related infrastructure of the attackers, so that you could then feed that back into a search, 540 00:48:55,660 --> 00:49:09,860 which kind of goes in the second one, where you could use the themes that come out of your tool, feed that into an LLM to start searching and scraping for similar things on other YouTube pages or things like that? 541 00:49:09,980 --> 00:49:12,720 So, how do you write AMASS? 542 00:49:12,720 --> 00:49:14,840 A-M-A-S-S. 543 00:49:14,860 --> 00:49:16,840 It's... OWASP puts it out. 544 00:49:16,840 --> 00:49:17,520 It's free. 545 00:49:17,520 --> 00:49:18,720 And it's really good. 546 00:49:19,420 --> 00:49:21,140 So, no. 547 00:49:21,140 --> 00:49:24,160 But it's... I mean, this is why we're here, right? 548 00:49:24,160 --> 00:49:28,280 Sharing and learning from people that are contributing. 549 00:49:28,400 --> 00:49:31,220 But so, yeah, let's look into it, definitely. 550 00:49:31,320 --> 00:49:31,940 Thanks. 551 00:49:31,940 --> 00:49:32,860 Great talk. 552 00:49:33,000 --> 00:49:33,920 Thank you. 553 00:49:35,580 --> 00:49:37,360 Oh, attack surface. 554 00:49:37,560 --> 00:49:38,740 That's awesome. 555 00:49:38,740 --> 00:49:39,240 All right. 556 00:49:39,240 --> 00:49:42,700 So, I think we're good with questions. 557 00:49:42,720 --> 00:49:44,600 Thanks, everyone, for being here. 558 00:49:44,600 --> 00:49:46,200 Love you all. 559 00:49:46,820 --> 00:49:47,840 Cheers.