1 00:00:00,000 --> 00:00:03,580 So now it is five o'clock, top of the hour. 2 00:00:03,580 --> 00:00:05,980 Good afternoon, everyone. 3 00:00:06,260 --> 00:00:07,960 Thank you so much for being here. 4 00:00:07,960 --> 00:00:18,680 Before I introduce to you Ed Cahoon, I want to give a shout out to our sponsors for the Packet Hacking Village sponsors this year. 5 00:00:18,680 --> 00:00:29,520 Platinum sponsors Aerie Security, Gold, Deloitte Canada, Vigilant, Braun, T-Mobile, Copper, BPM, 909 Cyber and Fortify42. 6 00:00:29,520 --> 00:00:36,540 Thank you so much for their support and helping us get our village up and running this year. 7 00:00:36,640 --> 00:00:44,440 It is now my honor to introduce to you our speaker for the Packet Hacking Village, Creator Stage Talks. 8 00:00:44,440 --> 00:00:48,520 And our final one is actually someone that we know, Ed Cahoon. 9 00:00:59,430 --> 00:01:01,530 Hello, hello, everybody. 10 00:01:01,550 --> 00:01:05,310 I hope you had a fantastic second day at DEF CON. 11 00:01:05,350 --> 00:01:07,570 How is everybody feeling so far? 12 00:01:08,130 --> 00:01:10,990 Yeah, we're all pumped. 13 00:01:11,250 --> 00:01:12,470 Are we all asleep? 14 00:01:12,470 --> 00:01:13,650 You're all tired? 15 00:01:14,250 --> 00:01:15,770 Any blue teamers here? 16 00:01:16,210 --> 00:01:17,490 Blue teamers? 17 00:01:17,490 --> 00:01:18,630 What's your name? 18 00:01:19,390 --> 00:01:20,370 Manolo. 19 00:01:20,370 --> 00:01:21,970 Any other blue teamers? 20 00:01:24,540 --> 00:01:25,860 Andre? 21 00:01:26,520 --> 00:01:27,840 Alan? 22 00:01:28,540 --> 00:01:30,400 Other blue teamers? 23 00:01:30,400 --> 00:01:31,460 Not much blue teaming? 24 00:01:31,460 --> 00:01:33,950 Of course, the one, the only Michael. 25 00:01:34,620 --> 00:01:42,720 Okay, so in blue team, what are some of the problems that we have? 26 00:01:44,420 --> 00:01:45,200 False positives. 27 00:01:45,200 --> 00:01:45,800 False positives. 28 00:01:46,180 --> 00:01:46,840 Okay. 29 00:01:47,140 --> 00:01:49,440 So what do we do about the false positives? 30 00:01:50,080 --> 00:01:51,840 How do we solve this problem? 31 00:01:53,740 --> 00:01:55,280 How could we solve it? 32 00:01:55,280 --> 00:01:56,780 We have all the experts. 33 00:01:57,860 --> 00:02:00,100 We solve the false positives with what? 34 00:02:00,540 --> 00:02:03,760 AI, machine learning, all the cool stuff. 35 00:02:03,760 --> 00:02:06,120 But what do you want them to do? 36 00:02:06,420 --> 00:02:08,460 You want them to do better detections? 37 00:02:08,700 --> 00:02:11,020 Or do you want them to do better correlation? 38 00:02:12,040 --> 00:02:17,660 What do we want to do to solve the problem of false positives? 39 00:02:21,880 --> 00:02:27,020 All I need is some job security and some good food. 40 00:02:27,240 --> 00:02:27,680 Yeah. 41 00:02:27,680 --> 00:02:29,100 And some good love. 42 00:02:29,100 --> 00:02:29,940 And that's it. 43 00:02:29,940 --> 00:02:31,100 It's a good party. 44 00:02:31,500 --> 00:02:35,820 But I wonder, what are some things that we can solve? 45 00:02:35,820 --> 00:02:37,520 Is it the correlation problem? 46 00:02:38,260 --> 00:02:39,780 Yeah. 47 00:02:39,880 --> 00:02:41,720 That's a big one. 48 00:02:41,760 --> 00:02:43,840 What's the problem with correlation? 49 00:02:44,800 --> 00:02:46,320 It's hard. 50 00:02:46,320 --> 00:02:48,280 What makes correlation hard? 51 00:02:57,010 --> 00:03:08,890 When two events are occurring in sequence, I would like to correlate them because that would be an indicator of a bad actor, or some sort of an actual attack. 52 00:03:08,890 --> 00:03:15,110 Versus when everything is siloed or isolated, I don't really know if it's a false positive or not. 53 00:03:15,110 --> 00:03:17,230 And it's a big problem with false positives, right? 54 00:03:17,230 --> 00:03:18,090 Okay. 55 00:03:18,110 --> 00:03:21,270 So what is so hard about putting two events together? 56 00:03:24,700 --> 00:03:27,500 Anybody here writes correlation rules? 57 00:03:27,500 --> 00:03:28,740 I know we use correlation rules. 58 00:03:28,740 --> 00:03:30,500 Anybody here writes them? 59 00:03:32,220 --> 00:03:34,100 You try to write correlation rules. 60 00:03:34,380 --> 00:03:37,120 What's the hardest part about writing correlation rules? 61 00:03:40,480 --> 00:03:41,320 Yeah. 62 00:03:41,320 --> 00:03:42,880 A lot of false positives. 63 00:03:43,040 --> 00:03:44,860 What's an example correlation rule? 64 00:03:44,860 --> 00:03:46,680 Put this event with this event. 65 00:03:46,680 --> 00:03:50,500 If they both happen within five minutes on the same machine? 66 00:04:06,490 --> 00:04:11,190 If you get ten outbound connections to an SQL port, why do I have ten? 67 00:04:11,190 --> 00:04:12,790 I want them to be correlated. 68 00:04:28,870 --> 00:04:38,170 They also generate a lot of connections, which ends up with a lot of detections, and a lot of net flows, a lot of firewall logs, all saying the same thing. 69 00:04:38,470 --> 00:04:41,710 So I just want to That's a fantastic point. 70 00:04:41,710 --> 00:04:51,530 So with that in mind, I can essentially try to correlate things that have come from the same session. 71 00:04:51,810 --> 00:05:02,290 For instance, if I go and I surf a website for a bit, I'm generating a bunch of the same essentially data points across multiple data types. 72 00:05:02,290 --> 00:05:10,050 So for instance, if I go to a website, and I go for this website for maybe two minutes, what am I generating? 73 00:05:10,050 --> 00:05:11,810 I'm generating a bunch of stuff. 74 00:05:12,090 --> 00:05:13,150 Like what? 75 00:05:13,150 --> 00:05:16,290 I can generate 50 net flows, right? 76 00:05:16,290 --> 00:05:20,550 Like the 10 SQL connections, I can generate 50 net flows all saying the same thing. 77 00:05:21,030 --> 00:05:26,830 I can generate 50 traffic logs from the firewall, all saying the same thing. 78 00:05:27,010 --> 00:05:35,410 I can generate 400 sysmons, 1000 ADR telemetry, another 1000 Windows event logs, all saying the same thing. 79 00:05:35,410 --> 00:05:39,230 And then ideally, in correlation, I put them together. 80 00:05:39,750 --> 00:05:40,270 Right? 81 00:05:40,270 --> 00:05:42,570 This might not mean it's an attack. 82 00:05:43,030 --> 00:05:46,610 Because what you were thinking about is put the attack story together. 83 00:05:47,030 --> 00:05:50,790 But what he was thinking about is put the relevant things together. 84 00:05:51,110 --> 00:05:53,130 So correlation means two different things. 85 00:05:53,450 --> 00:05:57,670 First, put relevant things together. 86 00:05:58,310 --> 00:06:03,010 And second, put the attack story together. 87 00:06:03,130 --> 00:06:09,210 So this is one session that generated so many traces that are all describing the same activity. 88 00:06:09,650 --> 00:06:23,810 So if I for instance, group the net flows and the 40 net and the sysmon and the Windows events that all came from me going to this website for two minutes, this is one level of correlation of grouping relevant things. 89 00:06:24,770 --> 00:06:25,270 Yeah. 90 00:06:25,370 --> 00:06:35,770 And then the second level of correlation is going to look something probably closer to I got the auth of my own network, so I got to turn on the hotspot. 91 00:06:37,270 --> 00:06:50,770 But essentially, if I go here, and I go maybe to something like this, like the Singapore health attack, what I'm seeing here is an attack storyboard, like the one you were talking about. 92 00:06:50,770 --> 00:06:52,830 So that is the kind of correlation that you were talking about. 93 00:06:52,830 --> 00:06:54,710 Put the attack story together. 94 00:06:54,970 --> 00:06:55,330 Right. 95 00:06:55,590 --> 00:06:58,790 So first, I got to put the relevant things together. 96 00:06:59,050 --> 00:07:03,030 And then after that, I keep on getting deauthed by the way. 97 00:07:05,530 --> 00:07:08,490 Probably someone is deauthing me from the other networks. 98 00:07:08,490 --> 00:07:09,690 I'm just deauthing everybody. 99 00:07:09,690 --> 00:07:11,670 So I'm gonna put another hotspot. 100 00:07:12,650 --> 00:07:13,870 But yeah, there we go. 101 00:07:13,870 --> 00:07:14,630 We're back again. 102 00:07:14,690 --> 00:07:18,970 But essentially, we have two levels of correlation. 103 00:07:18,970 --> 00:07:22,610 One level puts attack stories, and one level puts similar things. 104 00:07:22,610 --> 00:07:31,610 So an attack story would look something like this, where you have things from tactic one, through tactic 11, or 10, saying the attack story. 105 00:07:31,790 --> 00:07:33,310 What's the attack story? 106 00:07:33,310 --> 00:07:45,130 Machine zero, I had what on machine zero, I had initial access, I saw a trace that looked like initial access, like drive by technique, or some sort of a USB infection or something. 107 00:07:45,150 --> 00:07:47,030 And then I see something on execution. 108 00:07:47,030 --> 00:07:51,230 If I put this story together, that is the correlation that you're looking for, right? 109 00:07:51,690 --> 00:08:11,870 But if I do the initial part, which, if you remember, was first put the relevant things, all of the things that come from the same data source are a bunch of consolidated data source, like net flows, firewall logs, Windows events, I'm consolidating and correlating things that are similar. 110 00:08:12,270 --> 00:08:15,450 That allows me to be also doing a level one of correlations. 111 00:08:15,450 --> 00:08:16,850 Correlation means two things. 112 00:08:16,950 --> 00:08:22,990 So again, going back to correlation, why does nobody here write correlation rules per se? 113 00:08:24,110 --> 00:08:25,750 It's hard in what? 114 00:08:25,830 --> 00:08:28,130 Now that we know what is correlation, we know the objective. 115 00:08:28,130 --> 00:08:30,430 Objective is group similar things. 116 00:08:30,430 --> 00:08:34,250 After you're done with that, please group things that make causal stories. 117 00:08:34,650 --> 00:08:34,950 Right? 118 00:08:34,950 --> 00:08:38,050 Isn't this what we have just agreed on? 119 00:08:39,730 --> 00:08:41,250 Essentially this. 120 00:08:42,010 --> 00:08:44,390 We have just agreed that this is what we want. 121 00:08:44,830 --> 00:08:48,210 We agreed that first, group similar things. 122 00:08:48,850 --> 00:08:51,470 After you're done grouping similar things, what do we do? 123 00:08:52,110 --> 00:08:53,710 Make attack stories. 124 00:08:54,890 --> 00:08:55,470 Right? 125 00:08:55,470 --> 00:08:56,970 So this is the objective. 126 00:08:57,950 --> 00:08:59,450 How do we get there? 127 00:09:02,660 --> 00:09:04,200 We write rules. 128 00:09:04,200 --> 00:09:05,880 Okay, let's write rules. 129 00:09:06,520 --> 00:09:08,180 What's wrong with rules? 130 00:09:11,300 --> 00:09:13,420 Why don't we write more rules? 131 00:09:15,460 --> 00:09:22,000 Even added bonus is after you group things that are related, you will notice there are so many duplicates. 132 00:09:22,680 --> 00:09:24,600 The data is full of duplicates. 133 00:09:24,600 --> 00:09:27,660 And I can show you here my Notepad++. 134 00:09:27,660 --> 00:09:36,280 In this case, if I pull you these Fortinet, do you notice something in the Fortinet firewall logs? 135 00:09:36,980 --> 00:09:39,780 The same IP a million times. 136 00:09:40,800 --> 00:09:43,380 Do you notice something from the same session? 137 00:09:43,380 --> 00:09:51,020 Instead of firewall logs, let me take a look at NetFlow logs. 138 00:09:51,020 --> 00:09:53,920 So in NetFlow, do you notice something? 139 00:09:53,920 --> 00:09:55,140 Same IP. 140 00:09:55,600 --> 00:09:56,940 500 things. 141 00:09:56,940 --> 00:09:59,760 500 of these events describing the same IP. 142 00:09:59,760 --> 00:10:01,580 The same port, the same IP. 143 00:10:02,120 --> 00:10:03,980 How about Windows event logs? 144 00:10:05,200 --> 00:10:07,320 How about firewall traffic logs? 145 00:10:07,320 --> 00:10:09,100 How about any kind of logs? 146 00:10:09,100 --> 00:10:14,620 They're all sharing the exact same information in a very duplicated fashion. 147 00:10:14,620 --> 00:10:19,960 And you can even see that in... I'll give you a story. 148 00:10:20,060 --> 00:10:22,880 I wanted to reduce some data, speaking of the deduplication. 149 00:10:22,880 --> 00:10:26,800 I wanted to reduce some data for one of my people that I was helping. 150 00:10:27,320 --> 00:10:34,240 And in this kind of engagement, they were thinking, we want to reduce the amount of data that, for instance, goes into this SIM. 151 00:10:34,340 --> 00:10:36,660 And I was like, okay, how do we reduce this data? 152 00:10:36,660 --> 00:10:42,240 And they were like, the first thought is, let's remove the events that we don't use, that we don't correlate. 153 00:10:42,720 --> 00:10:45,240 And I was like, okay, let's reduce some events. 154 00:10:45,840 --> 00:11:06,720 But then when I was trying to reduce the events and filter the events I don't want in my SIM, and filter the fields, like, you know, the packets, the bytes, the number of bytes transferred in this NetFlow, yada yada yada, I was looking for fields that I can remove to remove amounts of data that we don't need to put in the SIM. 155 00:11:07,320 --> 00:11:11,420 I took a look at the filtering, but then I look at the other side, what do you guys see? 156 00:11:14,630 --> 00:11:16,270 Anything stands out in the data? 157 00:11:18,670 --> 00:11:19,890 It's all the same. 158 00:11:20,630 --> 00:11:29,430 So I can reduce some events, I can say, you know what, Windows event log event number three, I don't want that, nah nah, that's a very noisy event. 159 00:11:29,950 --> 00:11:32,310 Maybe I can reduce like 5% of my data. 160 00:11:33,270 --> 00:11:35,490 But what's the point if my data looks like this? 161 00:11:36,410 --> 00:11:42,690 You want to reduce 99% of your data, you don't remove events, what do you do? 162 00:11:42,890 --> 00:11:44,290 You deduplicate. 163 00:11:44,290 --> 00:11:49,790 So, going back to our plan, devised by, sorry, what was your name? 164 00:11:50,230 --> 00:11:54,430 Manolo, and Mel, Bill. 165 00:11:54,430 --> 00:12:08,930 Bill and Manolo devised our plan, we know exactly what we want, we want to group relevant things, and at that point I kind of suggest we also dedupe, if you group, you dedupe, and what are the groupings? 166 00:12:08,930 --> 00:12:20,350 The groupings are based on similarity, similar session, as Manolo said, and attack activity, or attack story, or attack chain, as Bill said. 167 00:12:20,870 --> 00:12:22,090 So we know what do we need. 168 00:12:22,090 --> 00:12:25,710 Again, we look back, what's the problem with correlation searches? 169 00:12:25,710 --> 00:12:41,970 Why don't I go, let's say me and you in this room, we sit down and we write a million correlation searches, especially if they're already enriched with techniques, and we already have tactics for everything, like this. 170 00:12:42,370 --> 00:12:57,990 If every single event has techniques, with some sort of enrichment, machine learning, or some sort of enrichment rules, or whatever, the moment we have techniques, and I can build stories from the tactics, I can also write some cool rules. 171 00:12:58,410 --> 00:13:00,410 So why don't I do this with rules? 172 00:13:04,300 --> 00:13:05,580 Any thoughts? 173 00:13:07,800 --> 00:13:16,220 So we know the data is full of duplicates, because you know, people get paid about log volume, they don't get paid about log value. 174 00:13:16,760 --> 00:13:19,300 So they want you to have a lot of log volume. 175 00:13:19,580 --> 00:13:23,640 So we end up with a lot of duplicates, a lot of redundant data. 176 00:13:24,140 --> 00:13:25,800 The data all looks the same. 177 00:13:26,280 --> 00:13:29,780 But it's terabytes and terabytes, right? 178 00:13:29,960 --> 00:13:42,600 Meaning that I can come to your organization and bankrupt your organization by coming to your guest network every day and watching some Netflix, I will generate you 500 extra terabytes by the end of the year. 179 00:13:43,120 --> 00:13:47,620 So that your SIM costs double what it costs today. 180 00:13:47,640 --> 00:13:51,660 And you have to let go of many people and you have to reorganize your sock. 181 00:13:51,920 --> 00:13:53,680 But I will not do that. 182 00:13:55,520 --> 00:14:03,320 But now that we understand that the data is very fragmented, very scattered, very isolated, and very duplicated and very redundant, we know the solution. 183 00:14:04,320 --> 00:14:04,580 Right? 184 00:14:04,580 --> 00:14:08,780 Now all of these groups are similar things, we dupe them, put stories. 185 00:14:08,900 --> 00:14:10,060 What's wrong with that? 186 00:14:11,960 --> 00:14:13,600 Why don't we do that with rules? 187 00:14:13,860 --> 00:14:18,680 I have a GitHub with machine learning stuff that will do that for you out of the box. 188 00:14:18,680 --> 00:14:21,460 But I just want to understand, what is the hard part? 189 00:14:21,480 --> 00:14:24,320 You think this technology is hard to do with correlation rules? 190 00:14:24,320 --> 00:14:26,180 You can group and dedupe. 191 00:14:26,300 --> 00:14:31,720 Matter of fact, you can do this with not very advanced machine learning, you can use it with basic machine learning. 192 00:14:31,720 --> 00:14:37,600 When I was a little kid, when I was seven years old, there was Myspace. 193 00:14:37,980 --> 00:14:43,740 And my Myspace account would tell me, this person is relevant to this person, you might have known them. 194 00:14:44,060 --> 00:14:45,680 These people, you know, you might know them. 195 00:14:45,680 --> 00:14:46,900 They're relevant to each other. 196 00:14:47,180 --> 00:14:48,100 They're similar to each other. 197 00:14:48,100 --> 00:14:49,120 It's a commander system. 198 00:14:49,300 --> 00:14:53,600 YouTube tells you this video is relevant to this video since 2010, I think, or something, right? 199 00:14:53,720 --> 00:15:02,580 So, the technology for finding relevant things and doing what Manolo wanted to do, find things that are relevant, has been there a very long time ago. 200 00:15:04,440 --> 00:15:05,480 Right? 201 00:15:05,920 --> 00:15:07,540 What is so hard? 202 00:15:09,800 --> 00:15:11,240 Where's the catch? 203 00:15:12,700 --> 00:15:14,080 Bill, any thoughts? 204 00:15:17,220 --> 00:15:18,540 Any thoughts? 205 00:15:18,540 --> 00:15:20,820 What would be so hard in the grouping? 206 00:15:20,820 --> 00:15:22,620 Why don't we have this grouping already? 207 00:15:22,620 --> 00:15:23,800 Manolo? 208 00:15:24,320 --> 00:15:26,240 You write correlation rules. 209 00:15:26,240 --> 00:15:28,280 Why didn't you already correlate all of the things? 210 00:15:30,200 --> 00:15:34,220 How many correlation rules do we need to put the things together? 211 00:15:35,700 --> 00:15:36,440 A lot? 212 00:15:36,440 --> 00:15:37,160 A thousand? 213 00:15:37,620 --> 00:15:39,680 How many correlation rules do you have today? 214 00:15:40,720 --> 00:15:43,380 Out of the box in whatever sim you use? 215 00:15:43,380 --> 00:15:44,980 A thousand. 216 00:15:45,040 --> 00:15:45,920 Huh? 217 00:15:46,480 --> 00:15:47,640 Less than a thousand? 218 00:15:48,060 --> 00:15:51,260 So, we need like a slightly more correlations? 219 00:15:51,800 --> 00:15:53,660 Is that the point? 220 00:15:53,660 --> 00:15:55,460 We just need more correlation rules? 221 00:16:01,820 --> 00:16:03,840 Let's say a PBX. 222 00:16:04,160 --> 00:16:10,210 So, hundreds of UDP sessions per week, but on different boards. 223 00:16:10,250 --> 00:16:11,650 Ah. 224 00:16:16,450 --> 00:16:17,850 Okay. 225 00:16:26,510 --> 00:16:34,030 I love it. 226 00:16:36,330 --> 00:16:40,190 So, Manolo says you can group things. 227 00:16:41,310 --> 00:16:44,210 But not with generic correlation rules. 228 00:16:44,670 --> 00:16:48,050 Because generic correlation rules do not understand the context. 229 00:16:48,810 --> 00:16:53,190 There are so many things that you need to consider when you're doing the groupings. 230 00:16:53,630 --> 00:16:57,150 They could, for instance, not have the same port, but have the same protocol. 231 00:16:57,350 --> 00:17:01,650 They could, for instance, not have the same IP, but the same user. 232 00:17:01,770 --> 00:17:05,950 They could, for instance, not have the temporal proximity of five minutes. 233 00:17:05,950 --> 00:17:07,350 They're not five minutes apart. 234 00:17:07,410 --> 00:17:09,850 They're five hours, five days apart. 235 00:17:09,850 --> 00:17:11,530 But they're still to be grouped together. 236 00:17:11,790 --> 00:17:17,210 So, groupings are not something that you can write some basic rules that look at certain fields and get. 237 00:17:17,430 --> 00:17:24,890 To do proper grouping, you need to look at everything and understand in these certain scenarios, how do we group them? 238 00:17:25,310 --> 00:17:25,870 Right? 239 00:17:26,310 --> 00:17:29,250 In that case, you really need to look at all of the fields. 240 00:17:29,250 --> 00:17:34,810 And if we're looking at all of the fields for correlation, we cannot do it with rules. 241 00:17:34,810 --> 00:17:37,110 Because rules are very, very narrow. 242 00:17:37,390 --> 00:17:42,930 Rules are when you're looking for something specific, for a pattern that's very, very, very specific. 243 00:17:43,050 --> 00:17:44,090 You write a rule. 244 00:17:44,350 --> 00:17:50,050 But if you want something generic that looks at everything, you get maybe some sort of a probabilistic model. 245 00:17:50,210 --> 00:17:54,910 And we go back to the same recommender system that we talked about, the YouTube videos, for instance. 246 00:17:54,910 --> 00:18:09,190 You think someone wrote a video, a suggestion logic that says, if this YouTube video and this YouTube video share the same channel and the same hashtag and the same number of comments, then you recommend them as relevant to each other? 247 00:18:09,490 --> 00:18:11,350 No way, right? 248 00:18:11,350 --> 00:18:12,790 They just looked at everything. 249 00:18:12,790 --> 00:18:15,710 They looked at the video duration, the video transcript, the video topics. 250 00:18:15,710 --> 00:18:16,550 They looked at everything. 251 00:18:16,550 --> 00:18:20,630 So you need to consider everything because context is key. 252 00:18:20,750 --> 00:18:21,770 Context is king. 253 00:18:22,890 --> 00:18:29,570 And if you do the right context engineering, you're looking at all of the fields to understand what is actually relevant to what. 254 00:18:30,750 --> 00:18:37,810 And in that case, you take your data and you essentially put it on something like this. 255 00:18:37,810 --> 00:18:44,970 You get every single field and you put all of the fields for consideration. 256 00:18:45,630 --> 00:18:47,350 How does machine learning do it? 257 00:18:47,350 --> 00:18:48,970 Any data scientists in the room? 258 00:18:49,710 --> 00:18:51,270 Not much data scientists. 259 00:18:51,350 --> 00:19:05,110 But very simply, once you have all of the data in data science, we have a very fancy way of saying this is close to this because they are closer to each other in the dimension space. 260 00:19:05,110 --> 00:19:06,310 Let's say it's 3D dimension. 261 00:19:06,310 --> 00:19:08,470 We give it X, Y, Z coordinates for all of them. 262 00:19:08,470 --> 00:19:11,610 So these two things are closer to each other than the mic. 263 00:19:13,050 --> 00:19:15,530 So these two are to be in a group. 264 00:19:15,930 --> 00:19:17,210 This one is not very close to them. 265 00:19:17,210 --> 00:19:18,310 So it's not going to be in a group. 266 00:19:18,510 --> 00:19:24,970 So it's a matter of just representing the data in a dimension space and then finding things that are similar to each other. 267 00:19:24,970 --> 00:19:31,830 But notice we have looked at all of the fields, not with rules where we have to select fields and write very, very specific patterns. 268 00:19:32,450 --> 00:19:35,550 We can't do that to solve the problem that Manalo is talking about. 269 00:19:35,550 --> 00:19:39,390 We need all of the fields to look at all of the context. 270 00:19:41,470 --> 00:19:52,030 And at that point, we find groupings that can be very different time span apart, can be very different IPs, can be very different whatever. 271 00:19:52,030 --> 00:19:55,490 None of the groupings will be exactly the same coming from the same rule set. 272 00:19:55,530 --> 00:20:00,930 They will be depending on the use case of what was closer at the time. 273 00:20:01,310 --> 00:20:16,950 So you would put all of the events that you have in something that looks like this, and you would look which of them happen to be closer to each other than to something else. 274 00:20:16,950 --> 00:20:27,690 Instead of writing a rule that says, if this has the same IP as this, and they both happened within five minutes, then we put them together as we started in this session, we were talking about these rules. 275 00:20:27,690 --> 00:20:31,830 But now we're thinking everything has to be grouped. 276 00:20:31,830 --> 00:20:33,990 Just figure out which is the closest. 277 00:20:34,030 --> 00:20:35,230 Closest on what? 278 00:20:35,230 --> 00:20:36,530 Closest on everything. 279 00:20:36,970 --> 00:20:38,370 Look at all of the fields. 280 00:20:38,510 --> 00:20:44,470 And that is how we do our grouping before we do the deduping and before we do the correlation. 281 00:20:44,470 --> 00:20:46,530 So now that we know how to do the grouping. 282 00:20:46,530 --> 00:20:47,410 Thank you Manalo. 283 00:20:47,410 --> 00:20:48,490 We know how to do the grouping. 284 00:20:48,490 --> 00:20:49,530 Thank you very much. 285 00:20:49,830 --> 00:20:52,490 You have instructed us on how to do our grouping. 286 00:20:52,650 --> 00:20:53,330 How? 287 00:20:54,270 --> 00:20:57,930 Again, the recap is, how do we do that? 288 00:20:58,150 --> 00:21:01,150 Very simply, we find things that are highly related to each other. 289 00:21:01,150 --> 00:21:02,430 How do we do that? 290 00:21:02,490 --> 00:21:07,290 Manalo says, find events that are related to each other across everything, across context. 291 00:21:07,290 --> 00:21:11,510 Do not really write rules for certain things, because context matters. 292 00:21:12,090 --> 00:21:13,050 Okie dokie. 293 00:21:13,050 --> 00:21:14,030 We'll do that. 294 00:21:14,030 --> 00:21:17,030 But then, we need to build the story. 295 00:21:17,330 --> 00:21:25,470 So Bill comes in, in this case, and tells us, how do we find things that are part of the same attack story? 296 00:21:26,090 --> 00:21:27,330 What do you think? 297 00:21:37,380 --> 00:21:40,120 So there is some sort of sequence. 298 00:21:40,940 --> 00:21:45,220 In this case, we're not looking at things that are close to each other. 299 00:21:46,020 --> 00:21:48,440 We're not looking at things that are related to each other. 300 00:21:48,440 --> 00:21:49,640 No, no, no, no. 301 00:21:49,760 --> 00:21:52,920 These things are sequential to each other. 302 00:21:52,980 --> 00:21:55,260 They're causal to each other. 303 00:21:55,280 --> 00:21:57,020 I need to form a story. 304 00:21:57,700 --> 00:22:01,960 Do I have any kind of framework for stories in cybersecurity? 305 00:22:01,960 --> 00:22:03,660 What is a framework for a story? 306 00:22:05,440 --> 00:22:06,680 A kill chain. 307 00:22:06,680 --> 00:22:12,760 So we need this idea of what forms a sequence that essentially looks something like a kill chain. 308 00:22:12,760 --> 00:22:13,960 What is a kill chain? 309 00:22:14,140 --> 00:22:17,420 Do you guys remember the attack we were looking at in the beginning? 310 00:22:18,180 --> 00:22:19,660 Something like this. 311 00:22:20,580 --> 00:22:21,960 An attack like this. 312 00:22:21,960 --> 00:22:23,560 This is Singapore Health, by the way. 313 00:22:25,540 --> 00:22:27,020 There is a story. 314 00:22:27,020 --> 00:22:28,280 There is a storyline. 315 00:22:28,280 --> 00:22:31,820 There is a storyboard going left to right. 316 00:22:31,880 --> 00:22:33,840 What is happening left to right? 317 00:22:34,280 --> 00:22:35,600 Any thoughts? 318 00:22:38,160 --> 00:22:39,760 Left to right. 319 00:22:39,760 --> 00:22:40,860 What is happening? 320 00:22:41,520 --> 00:22:43,480 Top to bottom, it's time. 321 00:22:43,480 --> 00:22:48,120 So August 2017, September 2017, October 2017. 322 00:22:48,120 --> 00:22:49,120 This is time. 323 00:22:49,340 --> 00:22:51,160 But what is happening left to right? 324 00:22:56,750 --> 00:22:58,770 It's the depth of the attack. 325 00:22:58,930 --> 00:23:01,190 It's the attack life cycle. 326 00:23:01,270 --> 00:23:03,010 It's the attack progression. 327 00:23:03,770 --> 00:23:05,450 It's the story. 328 00:23:05,930 --> 00:23:08,610 I'm seeing the story of the attack. 329 00:23:09,030 --> 00:23:13,230 The story started with, oh, I have an EDR alert here. 330 00:23:13,230 --> 00:23:16,770 And then I have an NDR, a network alert. 331 00:23:16,790 --> 00:23:18,550 I had some endpoint traces here. 332 00:23:18,550 --> 00:23:20,610 And then I had a network trace here. 333 00:23:20,610 --> 00:23:22,670 And then later on, I had some whatever. 334 00:23:22,670 --> 00:23:24,730 I had some threat intelligence in the beginning. 335 00:23:24,730 --> 00:23:26,330 I'm putting together the story. 336 00:23:27,750 --> 00:23:29,430 So I'm done with the grouping. 337 00:23:29,430 --> 00:23:30,530 And I go back to my notes. 338 00:23:30,530 --> 00:23:32,710 And I'm like, OK, I finished the grouping. 339 00:23:33,210 --> 00:23:35,370 I already have things that are relevant to each other. 340 00:23:35,830 --> 00:23:38,390 Not only that, I'm also deduping them. 341 00:23:38,810 --> 00:23:42,370 So the data is so much smaller because I removed all the duplicates. 342 00:23:42,370 --> 00:23:44,370 And I grouped all the relevant things thanks to Manello. 343 00:23:44,390 --> 00:23:47,110 But then I asked Bill, Bill, how do I put it together? 344 00:23:47,290 --> 00:23:49,190 And Bill tells me, you know what? 345 00:23:49,490 --> 00:23:50,870 Put together the story. 346 00:23:51,510 --> 00:23:58,790 The story you put together in a way that tells you the attack progression, the attack lifecycle. 347 00:23:59,470 --> 00:24:07,790 And in that case, when I look at the attack lifecycle, I know that the attack might be missing some detection gaps, right? 348 00:24:07,790 --> 00:24:10,410 I don't always see all of the tactics. 349 00:24:10,590 --> 00:24:14,370 I might not have a way to see privilege escalation. 350 00:24:14,370 --> 00:24:17,690 I might not have a way to see defense evasion traces. 351 00:24:18,250 --> 00:24:27,870 But I know that I can put together the story, if it looks something along the lines of a couple tactics that come in sequence. 352 00:24:28,330 --> 00:24:30,330 And the key word is sequence. 353 00:24:30,330 --> 00:24:33,970 They're sequential to each other, right? 354 00:24:34,330 --> 00:24:44,750 I have a session that I went to a website, and I have another session that tells me there is some weird execution happening on my machine that I went to the website off. 355 00:24:45,510 --> 00:24:52,170 And I have another session or group of similar things that tell me there is some sort of exfiltration. 356 00:24:52,450 --> 00:24:56,830 And then I'm like, aha, I went to a website. 357 00:24:57,330 --> 00:24:59,370 And then later there was execution. 358 00:25:00,310 --> 00:25:03,490 And then later there was exfiltration. 359 00:25:03,650 --> 00:25:05,010 That seems like a kill chain. 360 00:25:05,330 --> 00:25:06,730 Light bulb comes up. 361 00:25:06,730 --> 00:25:08,250 I'm like, okay, I see it. 362 00:25:08,250 --> 00:25:13,610 And in that case, I use a model, again, for putting things that are sequential to each other. 363 00:25:13,610 --> 00:25:18,510 If you see a bunch of things in the beginning, look for things that can complete their story. 364 00:25:19,610 --> 00:25:26,430 And ideally, they're kind of within some sort of temporal proximity within the same timeline, ideally. 365 00:25:26,430 --> 00:25:32,010 But again, similar to what we did in clustering, if you remember in the grouping, I cannot write rules. 366 00:25:32,230 --> 00:25:33,850 Why don't I write rules? 367 00:25:35,070 --> 00:25:37,970 Because I don't know always exactly what's going to happen. 368 00:25:37,970 --> 00:25:45,050 But I know that if I have my events, I'm not going to write exact rules of how the chain is going to happen. 369 00:25:45,050 --> 00:25:46,450 I don't know. 370 00:25:47,010 --> 00:25:50,330 Maybe it's tactic one and then tactic five, maybe tactic ten later on. 371 00:25:50,330 --> 00:25:52,790 Or maybe it's just tactic two and tactic four. 372 00:25:53,870 --> 00:25:55,710 I don't know how the story will look. 373 00:25:55,710 --> 00:25:57,030 I cannot write rules. 374 00:25:58,010 --> 00:26:02,770 What I'm going to do is I'm going to say if they're close, you group them. 375 00:26:02,770 --> 00:26:20,910 And if these groups are close to each other, now that I grouped them, if these groups are close to each other, and these groups have tactics that are sequential to each other, they're part of the same story. 376 00:26:21,570 --> 00:26:42,870 So if the green circle is tactic three, and the orange circle is tactic two, which is execution, I know that execution being close to privilege escalation, or persistence, for tactic three it's persistence, execution, and persistence are close to each other. 377 00:26:42,990 --> 00:26:44,350 They happen to be sequential. 378 00:26:44,550 --> 00:26:46,550 Then Bill comes in and he's like, you know what? 379 00:26:46,630 --> 00:26:47,690 That's a story. 380 00:26:48,110 --> 00:26:49,750 That's a story right there. 381 00:26:49,890 --> 00:26:52,570 These two, put them together right now. 382 00:26:52,570 --> 00:26:53,430 That's a story. 383 00:26:53,590 --> 00:26:55,110 And how does the story look like? 384 00:26:55,110 --> 00:26:58,930 Does it look like the PDF that we started with in the beginning from Singapore? 385 00:26:58,930 --> 00:26:59,990 Yes, of course. 386 00:27:00,570 --> 00:27:03,350 Why do I need to build stories after the breach? 387 00:27:03,450 --> 00:27:05,110 I built it before the breach. 388 00:27:05,150 --> 00:27:06,110 That's fine. 389 00:27:07,510 --> 00:27:09,930 So before anything, I'll build that story. 390 00:27:10,850 --> 00:27:13,690 And that story is going to be similar to the detections. 391 00:27:13,690 --> 00:27:16,530 You know, you have some false positives because the detections are not that good. 392 00:27:16,830 --> 00:27:23,530 But the stories will come together and form probabilistic things that you need to look at. 393 00:27:23,530 --> 00:27:25,090 And how does the story look like? 394 00:27:25,090 --> 00:27:27,250 Does it look like the first Singapore health? 395 00:27:27,250 --> 00:27:27,910 Exactly. 396 00:27:28,750 --> 00:27:31,170 I have entities with different colors. 397 00:27:32,250 --> 00:27:34,430 And I have, what do I have on this side? 398 00:27:34,990 --> 00:27:39,330 I have timeline, top to bottom, time goes through. 399 00:27:39,730 --> 00:27:41,330 And what do I have left to right? 400 00:27:42,290 --> 00:27:43,330 Anybody? 401 00:27:45,770 --> 00:27:47,150 Left to right. 402 00:27:47,150 --> 00:27:48,390 What do I see? 403 00:27:49,550 --> 00:27:51,030 The story. 404 00:27:51,090 --> 00:27:52,850 I see the kill chain progression. 405 00:27:53,170 --> 00:27:56,030 I see the life cycle progression, as you mentioned, right? 406 00:27:56,550 --> 00:28:03,350 So that means that I turn all of my logs from single, isolated, disparate... 407 00:28:04,510 --> 00:28:13,610 scattered and fragmented logs to groups, thanks to Monello, to stories, thanks to Bill, with very basic stuff. 408 00:28:13,930 --> 00:28:15,810 And why don't I have rules? 409 00:28:15,810 --> 00:28:22,130 Because rules, as mentioned by Monello and Bill, are very, very, very, very narrow. 410 00:28:22,630 --> 00:28:28,650 And the problem is, you can come up with so many possibilities where the rules don't apply. 411 00:28:29,370 --> 00:28:35,410 But if you look at everything, you find things that are closest to each other. 412 00:28:35,410 --> 00:28:40,230 You don't know exactly the relationship, but you know that they're closest. 413 00:28:40,530 --> 00:28:43,430 They're the closer ones than the other ones. 414 00:28:43,730 --> 00:28:46,590 They happen to be closer to each other. 415 00:28:46,590 --> 00:28:55,610 And hence, we group them, we chain them, we have stories from everything in our traces, because everything in our traces is not isolated. 416 00:28:56,030 --> 00:28:58,290 So everything must be grouped. 417 00:28:58,650 --> 00:29:03,150 Not everything will make attack stories, by the way, but everything will make groups. 418 00:29:03,390 --> 00:29:04,770 By definition. 419 00:29:05,110 --> 00:29:10,290 Because there is not a single human activity that generates one event. 420 00:29:10,910 --> 00:29:21,370 You go to a website, you generate a thousand events on the network, and a thousand events on the endpoint, and a thousand events on the web proxy, and a thousand events on whatever. 421 00:29:22,050 --> 00:29:24,910 You know for sure you have to group everything. 422 00:29:25,370 --> 00:29:27,170 And correlation rules, they never group everything. 423 00:29:27,170 --> 00:29:28,730 They group very specific patterns. 424 00:29:29,050 --> 00:29:31,130 So now we know what's broken with correlation. 425 00:29:31,290 --> 00:29:32,890 We know what we need. 426 00:29:32,890 --> 00:29:35,310 We need to split correlation into two different things. 427 00:29:35,350 --> 00:29:39,510 We consolidate and essentially we group similar ones. 428 00:29:40,130 --> 00:29:44,410 So we group, we call it grouping instead of correlation, because it's different. 429 00:29:44,750 --> 00:29:46,490 And we stop using the word correlation. 430 00:29:46,850 --> 00:29:47,330 We essentially... 431 00:29:49,810 --> 00:29:51,550 I should wake up now. 432 00:29:51,550 --> 00:29:54,870 But we group relevant things. 433 00:29:54,870 --> 00:29:55,810 Right? 434 00:29:55,810 --> 00:29:59,790 And then we put together stories from these relevant things. 435 00:29:59,790 --> 00:30:02,230 But everything should be grouped. 436 00:30:02,230 --> 00:30:03,370 For sure. 437 00:30:03,630 --> 00:30:06,310 What is the added benefit of grouping everything? 438 00:30:06,370 --> 00:30:17,030 Beyond seeing the entire behavior represented in one group right away, instead of hunting things through the network, and the web, and the event logs, and the telemetry. 439 00:30:17,030 --> 00:30:18,330 What's the added benefit? 440 00:30:18,330 --> 00:30:19,710 Anybody can think? 441 00:30:20,010 --> 00:30:21,030 Anybody remembers? 442 00:30:23,030 --> 00:30:24,950 What do I do when I group? 443 00:30:24,950 --> 00:30:26,470 It rhymes with group. 444 00:30:31,330 --> 00:30:32,370 Group and... 445 00:30:32,370 --> 00:30:33,850 I'll give you a hint. 446 00:30:34,290 --> 00:30:35,910 Group and de-dupe. 447 00:30:35,950 --> 00:30:36,790 There you go. 448 00:30:36,790 --> 00:30:37,730 What's your name? 449 00:30:38,290 --> 00:30:39,050 Zain. 450 00:30:39,050 --> 00:30:41,510 And Zain immediately comes to the rescue. 451 00:30:41,750 --> 00:30:42,670 De-dupe. 452 00:30:42,670 --> 00:30:43,710 Because you grouped. 453 00:30:44,070 --> 00:30:46,050 What's the benefit of the de-duping? 454 00:30:48,030 --> 00:30:49,950 Why do I de-dupe? 455 00:30:51,730 --> 00:30:52,310 Because... 456 00:30:53,950 --> 00:30:55,930 Because it's cost. 457 00:30:56,390 --> 00:30:59,470 Because money, money, money, money, money. 458 00:30:59,850 --> 00:31:07,990 This industry, people get paid for log volume, not log value. 459 00:31:08,810 --> 00:31:11,810 So they want you to have a lot more volume. 460 00:31:11,850 --> 00:31:13,850 You pay per terabyte, my friend. 461 00:31:13,910 --> 00:31:16,210 You pay per gigabyte. 462 00:31:16,210 --> 00:31:20,850 So your logs are doomed to look something like this. 463 00:31:22,570 --> 00:31:24,910 Unless you do something about it. 464 00:31:24,910 --> 00:31:32,070 But we have Monello Tower Rescue, which is essentially coming in with the logic of group everything. 465 00:31:32,870 --> 00:31:36,630 And then Zain comes in, he's like, de-dupe everything that we just grouped. 466 00:31:37,370 --> 00:31:43,270 And then the added benefit is, now that I have groupings, Bill wants to find actual attack chains. 467 00:31:43,270 --> 00:31:47,610 He doesn't want to be looking at, you know, isolated things that might be false positives. 468 00:31:47,610 --> 00:31:49,230 I want to see the attack chains. 469 00:31:49,230 --> 00:31:55,970 So I group, de-dupe, and my groupings can also show attack chains. 470 00:31:56,030 --> 00:31:59,590 And I end up with essentially where I started. 471 00:32:01,350 --> 00:32:05,790 Group, de-dupe, and make attack chains. 472 00:32:07,230 --> 00:32:09,150 Why not with rules? 473 00:32:09,230 --> 00:32:11,330 Because I need genetic things. 474 00:32:11,330 --> 00:32:13,590 Now the question is, how do we do it? 475 00:32:13,590 --> 00:32:15,630 We talked about the architecture. 476 00:32:15,730 --> 00:32:17,850 We talked about, in theory, how to do it. 477 00:32:17,850 --> 00:32:19,210 We have a perfect plan. 478 00:32:19,210 --> 00:32:21,570 I can plug it into ChatGPT and get the code. 479 00:32:21,950 --> 00:32:25,130 Or I can go ask my software engineers to go build it exactly. 480 00:32:25,890 --> 00:32:27,870 Even better, don't do that. 481 00:32:29,510 --> 00:32:31,890 Go to my GitHub and grab it from there. 482 00:32:35,330 --> 00:32:48,790 And with that, you will ask me, now that I have this code that groups and de-dupes, and makes attack stories, or attack flows, where do I put this? 483 00:32:50,450 --> 00:32:54,270 Do I put it before the sim, or do I do it after the sim? 484 00:32:54,850 --> 00:33:00,710 Well, the sim is kind of expensive, so if you're going to reduce the volume, do it before the sim. 485 00:33:03,330 --> 00:33:09,510 Anybody here uses Logstash, or Cribble, or Splunk Forwarder, or any of these? 486 00:33:10,670 --> 00:33:11,610 Not really. 487 00:33:11,610 --> 00:33:12,630 A little bit. 488 00:33:12,950 --> 00:33:14,010 A little bit. 489 00:33:14,390 --> 00:33:15,550 What do you use? 490 00:33:16,870 --> 00:33:17,970 You use Logstash? 491 00:33:17,990 --> 00:33:19,110 What's your name? 492 00:33:19,890 --> 00:33:20,510 Jason? 493 00:33:20,510 --> 00:33:22,310 Jason uses Logstash. 494 00:33:22,710 --> 00:33:26,950 And Jason is like, I don't know how to put it before the sim. 495 00:33:26,950 --> 00:33:29,830 Well, the easy part is, it's a very small algorithm. 496 00:33:30,310 --> 00:33:35,770 So your Logstash would call it within Logstash. 497 00:33:36,410 --> 00:33:55,870 So within Logstash, you will call this algorithm, and you will take tons and tons of siloed data within Logstash, and group it, and then de-dupe it, and then correlate it into attack chains that are probabilistic, and then after Logstash, send it to wherever you want to send it. 498 00:33:57,070 --> 00:34:00,490 But what does that leave the rules for, you might think? 499 00:34:00,490 --> 00:34:08,190 So if correlation is done without rules, and grouping is done without rules, what are rules good for? 500 00:34:12,060 --> 00:34:14,100 For very specific things. 501 00:34:14,460 --> 00:34:23,240 When you open your Instagram or your TikTok or whatever, there is a feed of things that you are likely going to look at. 502 00:34:23,240 --> 00:34:24,880 But you can always search. 503 00:34:25,320 --> 00:34:27,640 Search is when you know what you're looking for. 504 00:34:28,040 --> 00:34:30,660 So what do the rules do for me? 505 00:34:32,160 --> 00:34:37,380 And that's why, you can call them correlation rules, but these platforms, what do they call them? 506 00:34:41,740 --> 00:34:43,060 Correlation searches. 507 00:34:43,260 --> 00:34:46,580 They don't call them correlation rules, or correlation searches. 508 00:34:46,840 --> 00:34:47,640 Because these are searches. 509 00:34:47,640 --> 00:34:49,380 You're searching for something in particular. 510 00:34:50,380 --> 00:34:56,480 Anybody here uses searches to look for things after an APT report comes out? 511 00:34:56,660 --> 00:35:00,140 They tell you the IOCs, the IOAs, and you go and you search for them? 512 00:35:01,220 --> 00:35:02,040 Right? 513 00:35:02,040 --> 00:35:03,120 You're searching. 514 00:35:03,760 --> 00:35:06,420 But in real time, don't search. 515 00:35:06,420 --> 00:35:07,660 Don't search in real time. 516 00:35:07,660 --> 00:35:18,740 You just open your Instagram, your TikTok, whatever you use, and immediately it has a feed of things that we know are grouped closer to the things that you like. 517 00:35:19,200 --> 00:35:20,000 That's it. 518 00:35:20,220 --> 00:35:26,380 So your data, big data, you never interact with it without some sort of grouping already. 519 00:35:26,500 --> 00:35:29,380 You always go onto the internet, it groups things for you all the time. 520 00:35:31,040 --> 00:35:34,280 Like even your Gmail groups your emails for you all the time. 521 00:35:34,280 --> 00:35:36,040 Primary categories, whatever, whatever. 522 00:35:36,040 --> 00:35:38,380 Forums, promotions, spam. 523 00:35:38,620 --> 00:35:41,380 You never interact with big data without automatic grouping. 524 00:35:41,760 --> 00:35:44,180 Other than in cybersecurity, well not anymore. 525 00:35:44,180 --> 00:35:50,380 Now we go into cybersecurity, whatever thing you look at, whatever big data you collect, it's already grouped. 526 00:35:50,900 --> 00:36:03,840 And the added benefit is, instead of paying for 100 terabytes, because this industry is based on log volume, you're paying for one terabyte. 527 00:36:04,480 --> 00:36:10,520 So instead of letting go of half of your team next year because there is no budget, let's increase the budget. 528 00:36:11,260 --> 00:36:13,100 And let's lose no data. 529 00:36:13,440 --> 00:36:18,860 Next time you're in a SOC meeting and people are like, let's reduce the data by filtering out events and filtering out metadata. 530 00:36:18,860 --> 00:36:21,920 Be like, no, no, let's just de-dupe. 531 00:36:22,940 --> 00:36:24,620 And you would save a lot more. 532 00:36:25,280 --> 00:36:32,240 Because if you look at the promises of data filtration, they promise about 10%. 533 00:36:34,020 --> 00:36:40,080 From 100 terabytes, you might go to 90 terabytes if you lose half of your data, if you lose some of your events. 534 00:36:40,560 --> 00:36:43,320 But then compliance is going to be like, oh, no, no, no, no, no. 535 00:36:43,320 --> 00:36:44,120 We need those. 536 00:36:44,120 --> 00:36:48,680 So you put them in an S3 bucket and you put the rest in the same, and it's a whole complex architecture. 537 00:36:50,140 --> 00:36:50,940 Keep it simple. 538 00:36:50,940 --> 00:36:52,020 Keep it simple, stupid. 539 00:36:52,940 --> 00:36:53,520 Right? 540 00:36:54,360 --> 00:36:57,220 So keep everything in one place as much as you want. 541 00:36:57,260 --> 00:36:58,240 Just de-dupe it. 542 00:36:58,420 --> 00:36:59,160 That's it. 543 00:36:59,700 --> 00:37:08,120 Any questions about the amazing presentation put together by Bill, Monello, Zain, and Jason? 544 00:37:11,320 --> 00:37:13,240 You don't have any questions for them? 545 00:37:27,200 --> 00:37:28,500 Out of the box? 546 00:37:28,500 --> 00:37:30,020 Or is there a limitation? 547 00:37:30,020 --> 00:37:31,060 There is no limitation. 548 00:37:31,520 --> 00:37:36,880 But out of the box, I think it's like 10 minutes or five minutes or something. 549 00:37:37,780 --> 00:37:38,840 I mean, the more... 550 00:37:44,450 --> 00:37:46,190 Oh, you're asking about the use case. 551 00:37:46,190 --> 00:37:53,430 So most people, most of the logs, you don't care if they appear in your sim within even an hour. 552 00:37:53,770 --> 00:37:58,350 So most of the sims that are next generation in the cloud, they're actually very slow. 553 00:37:58,750 --> 00:38:02,030 By the time something happens, I come to your network and I watch Netflix. 554 00:38:02,210 --> 00:38:07,150 I generate a gigabyte worth of logs on NetFlows and firewall logs and all that good stuff. 555 00:38:07,310 --> 00:38:11,870 By the time you see it, there's a little bit of a delay about like maybe up to an hour is fine. 556 00:38:12,430 --> 00:38:14,430 However, there are some critical things. 557 00:38:14,430 --> 00:38:16,550 The NetFlow might not be very critical. 558 00:38:16,590 --> 00:38:18,410 The guest network might not be very critical. 559 00:38:18,470 --> 00:38:29,830 But this extremely important CEO laptop, the EDR or the endpoint detection and response or the antivirus essentially coming out of that endpoint because it's a CEO. 560 00:38:29,910 --> 00:38:33,810 I want that right away without more than maybe 10 minutes. 561 00:38:33,950 --> 00:38:35,790 10 minutes is my maximum because I got to respond to it. 562 00:38:35,790 --> 00:38:40,110 I have an SLA or maybe two minutes or maybe two seconds, whatever it is, depending on my industry. 563 00:38:40,110 --> 00:38:46,310 So these, you can put them on their separate data path that is so much faster. 564 00:38:47,390 --> 00:38:52,410 But then most of your data, you can put it in these group and dedupe. 565 00:38:53,490 --> 00:38:58,670 And Bill's question is, if I'm grouping, am I grouping on five seconds of data, five minutes of data? 566 00:38:58,670 --> 00:38:59,330 I don't know. 567 00:38:59,330 --> 00:39:00,850 How much data do you put in your SIM? 568 00:39:00,850 --> 00:39:02,270 How much data are we talking about? 569 00:39:02,270 --> 00:39:10,150 Because time only means how much data am I putting in a bucket? 570 00:39:10,150 --> 00:39:13,950 And then I'm looking at this bucket and I'm removing the duplicates in the bucket. 571 00:39:16,070 --> 00:39:18,910 So do you have 100 terabytes a day? 572 00:39:18,910 --> 00:39:20,990 In that case, it doesn't matter. 573 00:39:20,990 --> 00:39:22,370 Make it two seconds. 574 00:39:22,510 --> 00:39:24,070 You're going to dedupe the 99%. 575 00:39:24,630 --> 00:39:31,670 But if you have one terabyte a day, two seconds, you will dedupe about maybe 80% instead of 99%. 576 00:39:31,670 --> 00:39:32,410 Big deal. 577 00:39:32,410 --> 00:39:39,750 We're saving $40 million instead of saving $50 million to Splunk over the next so many years. 578 00:39:39,750 --> 00:39:45,430 But whatever, Elastic, Azure Sentinel, whatever it is, they all get paid based on log volume. 579 00:39:46,050 --> 00:39:50,070 Compute even, like your compute is a log volume. 580 00:39:50,070 --> 00:39:51,570 Everything is based on log volume. 581 00:39:51,910 --> 00:39:59,970 So how much do you like to win is a matter of essentially your configuration. 582 00:39:59,970 --> 00:40:03,290 But today, we're not doing anything. 583 00:40:03,570 --> 00:40:06,910 So anything is better than nothing. 584 00:40:07,330 --> 00:40:11,050 Let's save 40% rather than 99%. 585 00:40:11,050 --> 00:40:13,110 Let's have the worst configurations. 586 00:40:13,930 --> 00:40:14,990 We're still saving 40%. 587 00:40:14,990 --> 00:40:21,310 And to put this in dollar amounts, because Bill seems to think about the dollar amount aspect for this. 588 00:40:21,310 --> 00:40:22,770 Let's look at it. 589 00:40:23,110 --> 00:40:27,950 So in this case, we went from about 1,000 kilobytes or more than 1,000 kilobytes. 590 00:40:28,050 --> 00:40:29,770 We went to 75 kilobytes. 591 00:40:29,770 --> 00:40:32,410 That's 93% volume reduction. 592 00:40:32,570 --> 00:40:35,510 Let's put it in a dollar amount without 93%. 593 00:40:35,510 --> 00:40:38,090 Let's assume 70%. 594 00:40:38,990 --> 00:40:42,570 I think I have a table down there on 70%. 595 00:40:43,430 --> 00:40:47,010 And the table here shows you some pricing. 596 00:40:47,770 --> 00:40:49,550 Let's assume you have Splunk. 597 00:40:49,930 --> 00:40:57,450 If you have Splunk, and let's assume some people were saying like 50 terabytes or 10 terabytes or whatever, let's assume you only have 4 terabytes a day. 598 00:40:57,450 --> 00:40:58,910 You're a very small organization. 599 00:40:58,910 --> 00:41:00,870 4 terabytes a day. 600 00:41:01,170 --> 00:41:02,030 4 terabytes a day. 601 00:41:02,030 --> 00:41:03,350 How much are you paying today? 602 00:41:03,770 --> 00:41:05,730 The lowest is like 3.8. 603 00:41:05,730 --> 00:41:07,370 The highest is about 4.8. 604 00:41:07,370 --> 00:41:11,010 Something in these ranges for the license and the cost. 605 00:41:11,010 --> 00:41:11,690 OK. 606 00:41:12,310 --> 00:41:17,110 If I reduce it to 0.25, I'm not going to reduce it 99%. 607 00:41:17,110 --> 00:41:18,190 No, no, no. 608 00:41:18,190 --> 00:41:27,330 I just reduce it to 0.25, about 85% or 90%, not really 93% or 99%. 609 00:41:27,330 --> 00:41:27,610 No , no, no. 610 00:41:27,610 --> 00:41:29,330 Just moderately. 611 00:41:30,450 --> 00:41:32,570 And I put 0.25 instead of 4. 612 00:41:32,570 --> 00:41:38,190 The new price, instead of 4 million, I'm going to pay 0.3 million. 613 00:41:41,060 --> 00:41:43,500 And that's like because, oh, I didn't configure it very nicely. 614 00:41:43,500 --> 00:41:46,140 I only got, you know, 80% or 90%. 615 00:41:46,140 --> 00:41:50,020 I could have gotten 99%, like as said in DEF CON. 616 00:41:50,080 --> 00:41:52,600 But I didn't configure it very well because I didn't talk to Ez. 617 00:41:52,600 --> 00:41:55,580 I just used GitHub without talking to him. 618 00:41:55,580 --> 00:41:58,160 So I didn't get the best configurations for my environment. 619 00:41:58,160 --> 00:41:58,960 That's fine. 620 00:41:58,960 --> 00:42:06,560 You present your team with $2 million in savings, but your team doesn't care. 621 00:42:06,680 --> 00:42:09,640 Your team just, they don't want to get fired because the budget is low. 622 00:42:09,640 --> 00:42:12,280 So your boss would really care about getting the $2 million. 623 00:42:12,280 --> 00:42:14,000 But your team would care about what? 624 00:42:14,600 --> 00:42:17,800 Your team are essentially the people in this room. 625 00:42:17,980 --> 00:42:19,780 What did the people in this room care about? 626 00:42:20,100 --> 00:42:21,820 They cared about false positives. 627 00:42:21,880 --> 00:42:25,100 They said, we came here because security is broken. 628 00:42:25,100 --> 00:42:28,700 And I started and I said, people, why is security broken? 629 00:42:29,940 --> 00:42:33,400 And people are like, false positives. 630 00:42:33,860 --> 00:42:40,880 Well, if you have false positives and you have them grouped, you don't have a million false positives anymore. 631 00:42:40,880 --> 00:42:42,680 You have one group of false positives. 632 00:42:43,160 --> 00:42:45,320 You don't have a million spam emails. 633 00:42:45,320 --> 00:42:48,180 You have one group with a million spam emails. 634 00:42:48,560 --> 00:42:50,580 And hence, it's not noisy. 635 00:42:50,620 --> 00:42:52,120 It's not overwhelming. 636 00:42:52,120 --> 00:42:54,660 It's one group, right? 637 00:42:54,660 --> 00:42:57,320 Because you grouped everything that's relevant to each other. 638 00:42:57,320 --> 00:42:58,600 And you don't call them false positives. 639 00:42:58,600 --> 00:42:59,800 You just call them sessions. 640 00:42:59,800 --> 00:43:00,340 Why? 641 00:43:00,340 --> 00:43:11,000 Because you have differentiated between benign activity that is just grouped, because they are similar to each other, versus causal attack stories. 642 00:43:12,080 --> 00:43:13,760 This is the good stuff. 643 00:43:13,760 --> 00:43:29,980 A false positive would not somehow align with some other false positive, somehow on the same entities, somehow that just happens to be of sequential tactic around the same time. 644 00:43:29,980 --> 00:43:31,140 False positives don't do that. 645 00:43:31,140 --> 00:43:39,000 And if they do, your false positive rate goes from a staggering amount of false positives to essentially a minority of false positives. 646 00:43:39,380 --> 00:43:42,300 Because false positives don't stack together into a story. 647 00:43:42,360 --> 00:43:47,400 And if they do, it's like a negligible amount that people would not really complain about. 648 00:43:47,840 --> 00:43:51,580 So your team wouldn't be complaining about, oh my God, we hate false positives. 649 00:43:51,580 --> 00:43:52,940 And be like, oh, it was surprising. 650 00:43:52,940 --> 00:43:57,900 I saw a false positive the other day that aligned with another false positive that made a story. 651 00:43:57,900 --> 00:44:00,900 That was a rare moment of seeing false positives in attack stories. 652 00:44:01,200 --> 00:44:16,300 But in siloed logs, in siloed events, in events that look something like this, and events that look something like this, my friend, all of them are false positives. 653 00:44:17,000 --> 00:44:22,160 The moment they turn from a false positive into an investigation is because you've already spent the entire weekend on it. 654 00:44:23,200 --> 00:44:24,940 They're all false positives by default. 655 00:44:24,940 --> 00:44:28,620 That's why people come into these rooms and they're like, oh my God, I hate false positives. 656 00:44:29,060 --> 00:44:32,980 And we can all bond about hate to false positives because all of our data is false positives. 657 00:44:33,380 --> 00:44:34,940 All of our data is noisy. 658 00:44:35,120 --> 00:44:36,680 All of our data is garbage. 659 00:44:37,340 --> 00:44:40,260 And that's why we can all laugh about garbage in, garbage out. 660 00:44:41,120 --> 00:44:43,740 I do the same thing because my boss wants it. 661 00:44:44,140 --> 00:44:46,380 I do the AI thing because the boss wants it. 662 00:44:46,380 --> 00:44:47,720 But it's all garbage in, garbage out. 663 00:44:47,720 --> 00:44:55,420 And we can all have beer and laugh about it at the pool party and be like, yeah, security is broken, but I'm here just for job security. 664 00:44:55,420 --> 00:44:58,000 But all of this is a scam. 665 00:44:58,280 --> 00:45:08,480 We don't have to say that anymore because we don't really be overwhelmed with false positives and we have to sit down and some of us might write correlation rules. 666 00:45:08,800 --> 00:45:09,940 We don't need that. 667 00:45:10,700 --> 00:45:13,140 From now on, we look at these. 668 00:45:13,600 --> 00:45:19,780 From now on, we don't really have the problem of, oh my God, false positives. 669 00:45:20,300 --> 00:45:26,060 We have the problem of, interestingly, there was a story that was interesting. 670 00:45:26,200 --> 00:45:29,140 Let me contact the escalation team. 671 00:45:29,140 --> 00:45:30,860 Let me contact the IR team. 672 00:45:30,860 --> 00:45:35,900 Let me figure out how to feed this to an AI that can tell me this story is interesting. 673 00:45:36,620 --> 00:45:38,500 That can tell me what's up with this story. 674 00:45:39,720 --> 00:45:53,720 Maybe I can go and I can investigate this story and add more things to the story that the generic attack story building algorithm did not see, but I saw because I know my environment better than it does. 675 00:45:54,040 --> 00:45:57,180 I know my attacker better than it does because I'm a threat intelligence expert. 676 00:45:57,800 --> 00:46:01,100 You add to it instead of starting from zero. 677 00:46:03,640 --> 00:46:04,960 Any questions? 678 00:46:04,960 --> 00:46:16,600 I know it's the end of the day, so I really thank you for not sleeping on me, but I've had a lot of energy drinks, so that's why I'm not sleeping just yet. 679 00:46:16,900 --> 00:46:18,640 But any questions? 680 00:46:19,520 --> 00:46:20,520 Yes. 681 00:46:20,740 --> 00:46:26,310 What's your name? 682 00:46:26,590 --> 00:46:27,550 Andrei. 683 00:46:28,530 --> 00:46:34,430 Andrei, the actual algorithms, my friend, are I start with enrichment. 684 00:46:34,990 --> 00:46:38,290 This is a natural language processing classification problem. 685 00:46:38,690 --> 00:46:41,490 I use something called a language model. 686 00:46:41,690 --> 00:46:46,750 Language models are kind of a natural language processing similar to chatGPT, but much smaller. 687 00:46:46,750 --> 00:46:49,410 The smaller the model, you see it's missing an L. 688 00:46:49,410 --> 00:46:50,690 It's just LM. 689 00:46:51,670 --> 00:46:57,730 Usually big models, chatGPT, yada yada, they call them LLM, large language models. 690 00:46:57,730 --> 00:46:59,550 We use small language models. 691 00:46:59,550 --> 00:47:01,490 They don't speak English, they speak cybersecurity. 692 00:47:02,750 --> 00:47:05,410 So this is natural language processing for the enrichment. 693 00:47:05,410 --> 00:47:06,750 What does this do for me? 694 00:47:06,950 --> 00:47:08,430 Every log has techniques. 695 00:47:08,910 --> 00:47:13,090 Why do I need every log to have techniques, every event to have techniques, every alert to have techniques? 696 00:47:13,090 --> 00:47:13,690 Why? 697 00:47:13,870 --> 00:47:17,110 Because I want to group based on the similarity. 698 00:47:17,370 --> 00:47:19,770 So I'm enriching things before I group them. 699 00:47:20,450 --> 00:47:21,290 Right? 700 00:47:21,310 --> 00:47:23,850 And grouping is based on what algorithm? 701 00:47:24,650 --> 00:47:25,810 What do you think? 702 00:47:29,630 --> 00:47:31,230 Clustering models. 703 00:47:31,590 --> 00:47:35,550 K-means, DBSCAN, whatever you want. 704 00:47:35,550 --> 00:47:36,210 Clustering. 705 00:47:37,010 --> 00:47:40,110 The same technology used in the 80s. 706 00:47:40,330 --> 00:47:44,070 No need for large language models that are new and fancy. 707 00:47:44,550 --> 00:47:45,810 Very expensive. 708 00:47:46,030 --> 00:47:50,590 How would I get you all of these savings if I'm running a humongous GPU data center to do it? 709 00:47:51,490 --> 00:47:52,370 It's very expensive. 710 00:47:52,370 --> 00:47:53,610 And how would you like it? 711 00:47:53,610 --> 00:47:56,410 It's not going to be explainable or auditable or transparent. 712 00:47:56,410 --> 00:47:56,970 You wouldn't know. 713 00:47:56,970 --> 00:47:57,410 50-50. 714 00:47:57,410 --> 00:47:58,310 Sometimes it works. 715 00:47:58,810 --> 00:47:59,690 Sometimes it doesn't. 716 00:47:59,690 --> 00:48:00,950 It's a large language model. 717 00:48:00,950 --> 00:48:03,270 We don't know how to figure out what's going on. 718 00:48:03,310 --> 00:48:06,570 But small model, clustering model, it's explainable. 719 00:48:06,630 --> 00:48:07,630 It's interpretable. 720 00:48:07,730 --> 00:48:10,290 You can go and you can fix it and you can teach it. 721 00:48:10,770 --> 00:48:12,670 You can audit what's wrong with it. 722 00:48:12,730 --> 00:48:13,730 It's not black box. 723 00:48:13,730 --> 00:48:14,330 It's white box. 724 00:48:14,470 --> 00:48:15,110 Transparent. 725 00:48:15,250 --> 00:48:18,710 You go and you tell it, oh no, this story that you built, it's missing this piece. 726 00:48:18,710 --> 00:48:19,930 You need to learn how to add this piece. 727 00:48:19,930 --> 00:48:23,130 So the grouping is based on clustering. 728 00:48:23,130 --> 00:48:25,170 The grouping was presented to you by Monello. 729 00:48:25,450 --> 00:48:31,250 And then if you remember, Bill presented something else, which was, what do you think? 730 00:48:31,790 --> 00:48:33,090 The chaining. 731 00:48:33,410 --> 00:48:41,330 So grouping, clustering, enrichment, natural language processing, chaining, sequencing models. 732 00:48:42,510 --> 00:48:45,830 If you remember, Bill used the word sequence, sequencing models. 733 00:48:45,830 --> 00:48:47,410 What's an example sequence model? 734 00:48:47,930 --> 00:48:51,350 So an example language model is BERT. 735 00:48:51,350 --> 00:48:56,290 An example clustering model, K-means or DBSCAN. 736 00:48:56,290 --> 00:49:00,750 An example sequencing model, something called Markovian models, since the 70s. 737 00:49:00,910 --> 00:49:02,150 What do they do? 738 00:49:02,210 --> 00:49:03,610 They find sequences. 739 00:49:04,130 --> 00:49:06,870 For cybersecurity, for anti-money laundering, for whatever it is. 740 00:49:06,870 --> 00:49:08,670 They just find sequences that are interesting. 741 00:49:08,910 --> 00:49:10,190 You define what's the sequence. 742 00:49:10,190 --> 00:49:13,010 This case, we define the sequence as these tactics that come after each other. 743 00:49:13,010 --> 00:49:13,790 That's it. 744 00:49:15,630 --> 00:49:19,290 But all of the technology aside, we know what we want. 745 00:49:19,290 --> 00:49:23,350 And we can describe what we want, which is way more valuable than the technology. 746 00:49:23,690 --> 00:49:26,150 Because we all know people process technology. 747 00:49:26,150 --> 00:49:27,250 Technology is the last. 748 00:49:27,250 --> 00:49:28,570 Technology is the easiest. 749 00:49:29,690 --> 00:49:31,070 You don't send the process. 750 00:49:31,910 --> 00:49:32,890 You remember the process. 751 00:49:32,890 --> 00:49:33,810 You will not remember the technology. 752 00:49:33,810 --> 00:49:38,050 Technology, maybe you remember to add me on GitHub or LinkedIn or whatever. 753 00:49:38,050 --> 00:49:39,730 Maybe you will see it one day. 754 00:49:39,830 --> 00:49:42,730 But process is what you will walk away with. 755 00:49:42,730 --> 00:49:46,630 And you will implement technology one way or another. 756 00:49:46,650 --> 00:49:50,570 The worst implementation will still get you fantastic savings. 757 00:49:50,570 --> 00:49:53,610 Will still get you fantastic false positive reduction. 758 00:49:53,610 --> 00:49:55,410 You don't need to use my implementation. 759 00:49:55,510 --> 00:49:56,730 Use some other technology. 760 00:49:56,730 --> 00:49:57,710 Build your own. 761 00:49:58,710 --> 00:50:04,650 The process is what was presented by Bill, Monello, Zain, and Jason. 762 00:50:06,050 --> 00:50:07,630 I'm the guy that builds the technology. 763 00:50:07,630 --> 00:50:08,930 You will find a million of me. 764 00:50:09,590 --> 00:50:10,630 Technology is easy. 765 00:50:12,030 --> 00:50:13,750 Any other questions? 766 00:50:13,850 --> 00:50:15,310 Does that answer your question? 767 00:50:16,470 --> 00:50:18,210 Any other questions? 768 00:50:26,550 --> 00:50:32,050 Did I miss some other part that was important during correlation? 769 00:50:32,050 --> 00:50:33,850 Did I oversimplify it? 770 00:50:33,970 --> 00:50:35,610 Did I miss a nuance? 771 00:50:35,610 --> 00:50:37,010 Did I miss something that was important? 772 00:50:39,170 --> 00:50:41,810 Is there something else that we needed to add? 773 00:50:47,280 --> 00:50:48,740 I love it. 774 00:50:48,740 --> 00:50:51,700 How can I incorporate business context to it? 775 00:50:51,700 --> 00:50:57,280 How do I actually know what this entity means? 776 00:50:57,380 --> 00:51:09,260 How do I actually know that Monello has a laptop, an iPad, a phone, all that are used by him? 777 00:51:09,340 --> 00:51:10,580 How do I know? 778 00:51:11,160 --> 00:51:13,060 How do you know today in Splunk? 779 00:51:14,880 --> 00:51:17,260 You build lookup tables with enrichment. 780 00:51:18,740 --> 00:51:28,260 Monello just says, dude, you talked about enrichment, but I don't think you did very good enrichment. 781 00:51:28,260 --> 00:51:30,900 Your enrichment was pretty simple. 782 00:51:31,160 --> 00:51:35,500 Your enrichment was simply MITRE ATT&CK TTPs. 783 00:51:35,500 --> 00:51:37,980 You have enriched the event. 784 00:51:38,380 --> 00:51:40,420 I don't see you enriching the entities. 785 00:51:41,020 --> 00:51:45,200 The event is interesting, but entities, you forgot them. 786 00:51:45,200 --> 00:51:46,720 How do you enrich entities? 787 00:51:47,360 --> 00:51:54,420 The good thing is entities enrichment is not something that you need a classification model for. 788 00:51:54,420 --> 00:51:55,660 You just need a lookup table. 789 00:51:55,660 --> 00:52:00,700 A lookup table that says this machine is used by this user. 790 00:52:00,700 --> 00:52:02,260 This user is in this business unit. 791 00:52:02,260 --> 00:52:05,020 This business unit has this manager, yada, yada, yada. 792 00:52:05,080 --> 00:52:09,400 In Splunk, I think it's called asset and identity management lookup tables. 793 00:52:10,140 --> 00:52:11,460 So you build a lookup table. 794 00:52:12,320 --> 00:52:19,480 Can your AI project find a lookup table and use it? 795 00:52:19,480 --> 00:52:25,620 It can predict or infer a lookup table, but it needs the human to actually go and validate it. 796 00:52:25,800 --> 00:52:45,260 I wouldn't take you to the UI right now, not to bore you, but if you go here to app.sapienta.io and you log in, and you essentially get any of them, I don't know, I can get you some very quick like a product tour or something. 797 00:52:49,660 --> 00:52:52,360 But essentially you can get enrichment tables. 798 00:52:52,440 --> 00:53:13,720 So I gotta go through a few hoops, but long story short, when you download the software, the software has lookup tables and it will fill in the table for you to tell you what entity is relevant to what other entity based on entity predictions or inferences. 799 00:53:13,720 --> 00:53:23,400 You can infer that this MAC address and this IP are related to this user because we have seen them grouped together so many times. 800 00:53:23,900 --> 00:53:25,300 Remember our groupings? 801 00:53:27,940 --> 00:53:33,420 So in these groupings, these are events, but inside them there are entities. 802 00:53:34,000 --> 00:53:42,820 If the entity is grouped together so many times across your data and history, it will tell you, you know what, I think they are related to each other. 803 00:53:42,820 --> 00:53:50,440 These are related entities and then they will put them in the table and the table will tell you these entities always appear with each other. 804 00:53:50,440 --> 00:53:52,840 These entities must represent each other. 805 00:53:53,980 --> 00:53:59,120 And in this case, these entities, this one and this one will have similar color. 806 00:53:59,440 --> 00:54:01,560 So the color will be very similar. 807 00:54:02,640 --> 00:54:07,520 Because the model thinks because they have appeared together so many times that they are related. 808 00:54:07,820 --> 00:54:13,500 And then you will go to the table and you will see some inferred entries and you can enter your own entries. 809 00:54:13,840 --> 00:54:15,680 For instance, where do you get the entries? 810 00:54:15,680 --> 00:54:18,580 You go to, do you have the Active Directory? 811 00:54:19,700 --> 00:54:25,900 Active Directory tells you this user, this domain, this business unit, this whatever, you have a lot of information. 812 00:54:25,900 --> 00:54:29,260 You give it to the model and it knows the business context. 813 00:54:29,260 --> 00:54:35,360 It knows that me and you, we work in the technology department, but Bill works in the management department. 814 00:54:35,780 --> 00:54:40,580 And hence, events between me and you are kind of closer to each other. 815 00:54:40,580 --> 00:54:44,480 Our entities are closer to each other because we share a characteristic. 816 00:54:44,480 --> 00:54:46,180 We all are in the same office. 817 00:54:46,380 --> 00:54:49,940 Let's say in Las Vegas, we all are in the same department. 818 00:54:50,400 --> 00:54:56,120 While Bill is with us in Las Vegas, who is closer than Zain, who is not in Las Vegas, he's in LA. 819 00:54:56,620 --> 00:55:03,640 And hence, he's closer to our entities, but not as close as me and you because he's in a different department. 820 00:55:04,220 --> 00:55:17,240 So from the entity tables, the distances and clustering will essentially be impacted by the entities inside these events. 821 00:55:17,440 --> 00:55:20,740 Because every little dot here is not a dot. 822 00:55:21,400 --> 00:55:32,080 It's an entire graph of all of the fields enriched with techniques and all of the entities enriched with relevant entities and relevant entity information from Active Directory. 823 00:55:33,840 --> 00:55:35,960 Does that answer your question? 824 00:55:37,440 --> 00:55:39,060 Any other questions? 825 00:55:41,040 --> 00:55:48,320 I'm all yours, you can assume this is like private performance, private consulting, whatever you want to call it. 826 00:55:48,620 --> 00:55:50,180 Ask me all the questions. 827 00:56:01,970 --> 00:56:03,670 100%, we sell the license. 828 00:56:03,990 --> 00:56:09,390 So you can use the open source, like Red Hat business model. 829 00:56:09,390 --> 00:56:17,070 You use the product, but then when you want support, you want someone to call and be like, this is 24-7 call center. 830 00:56:17,550 --> 00:56:19,710 Hello, there's an issue here. 831 00:56:19,710 --> 00:56:23,790 Can you come and help us deploy it and come help us configure it? 832 00:56:23,950 --> 00:56:29,740 It's the license, all the features. 833 00:56:31,180 --> 00:56:38,140 It might be like some custom integrations or something, but integrations, for instance, good point about integrations. 834 00:56:38,140 --> 00:56:49,020 We have another GitHub that allows you to do all of your integrations data mapper model takes any data, normalizes it into any schema. 835 00:56:49,720 --> 00:56:57,420 So usually like you might have some like custom, you might have some custom integrations that are pushed here before here. 836 00:56:58,900 --> 00:57:06,260 But integrations are easy to get from this engine, which is open source anyways, Sapienta data mapper model. 837 00:57:09,880 --> 00:57:14,340 But essentially, this is where you would get all of the pushes on that type flow detector. 838 00:57:19,820 --> 00:57:21,080 Just in time. 839 00:57:21,860 --> 00:57:24,280 Any other questions? 840 00:57:25,640 --> 00:57:28,740 Laptop might die, I'm with you. 841 00:57:28,740 --> 00:57:31,040 The laptop might leave us, I'm still with you. 842 00:57:36,490 --> 00:57:39,470 You can delete them or you can keep them. 843 00:57:44,160 --> 00:57:46,060 Oh, this is completely on-prem. 844 00:57:46,820 --> 00:57:48,720 I never get your data. 845 00:57:49,020 --> 00:57:50,140 This is not SAS. 846 00:57:50,940 --> 00:57:52,660 You will never send me the data. 847 00:57:52,660 --> 00:57:57,960 It's crazy that you would send me the data in terabytes and terabytes. 848 00:57:58,020 --> 00:57:58,740 Why? 849 00:57:58,740 --> 00:57:59,860 Don't send it. 850 00:58:00,000 --> 00:58:02,760 The Telco company is going to make so much money if you do that. 851 00:58:03,380 --> 00:58:04,400 Don't send it. 852 00:58:04,400 --> 00:58:05,480 Here is my algorithm. 853 00:58:06,320 --> 00:58:07,580 Just deploy it locally. 854 00:58:12,520 --> 00:58:15,200 It would be crazy if I take your logs, there's a lot of PIIs. 855 00:58:15,200 --> 00:58:16,140 Don't do that. 856 00:58:16,540 --> 00:58:17,360 Don't send your data. 857 00:58:17,360 --> 00:58:18,060 Come on. 858 00:58:18,120 --> 00:58:22,100 I think AI is the biggest data transfer scam in the world. 859 00:58:22,100 --> 00:58:23,960 I think we are all sending our data. 860 00:58:24,460 --> 00:58:29,560 So that the Telco companies make a lot more money and energy companies make a lot more money. 861 00:58:31,100 --> 00:58:33,520 But don't send your data, especially big data. 862 00:58:33,520 --> 00:58:34,440 Don't send it. 863 00:58:34,560 --> 00:58:35,560 Keep it. 864 00:58:36,180 --> 00:58:37,900 There's a lot of secrets. 865 00:58:39,080 --> 00:58:41,740 You might figure it out later, but there's a lot of secrets. 866 00:58:43,040 --> 00:58:44,580 Any other questions? 867 00:58:54,720 --> 00:58:56,700 None of these are trained. 868 00:58:56,920 --> 00:58:59,480 These are all semi-supervised. 869 00:58:59,480 --> 00:59:03,380 Training means that it is training on your data. 870 00:59:04,340 --> 00:59:08,300 But do we know any model that trains on your data that is good? 871 00:59:08,300 --> 00:59:10,160 Anomaly detection has been around in cybersecurity. 872 00:59:10,160 --> 00:59:11,380 Do you guys like anomaly detection? 873 00:59:12,040 --> 00:59:14,100 Or do you think it makes a lot of false positives? 874 00:59:14,820 --> 00:59:16,240 It makes a lot of false positives. 875 00:59:16,440 --> 00:59:16,960 Why? 876 00:59:16,960 --> 00:59:21,980 Because if you train on my data, you're assuming that my data is going to be the same. 877 00:59:21,980 --> 00:59:25,540 You're assuming that the attack that I got yesterday is going to be the same attack I got tomorrow. 878 00:59:25,700 --> 00:59:28,920 You're assuming that the normal behavior of the user yesterday is the normal behavior tomorrow. 879 00:59:29,840 --> 00:59:31,500 Never train on my data. 880 00:59:31,640 --> 00:59:33,280 Never train on any data. 881 00:59:33,700 --> 00:59:35,400 You train on knowledge. 882 00:59:36,640 --> 00:59:39,260 You asked me about clustering. 883 00:59:39,820 --> 00:59:44,400 Clustering is completely unsupervised or supervised on data. 884 00:59:44,700 --> 00:59:46,400 You think I would train it on my data? 885 00:59:46,980 --> 00:59:52,160 It wouldn't work for anybody other than me on my data during that time. 886 00:59:52,160 --> 00:59:53,920 It wouldn't work for my data tomorrow. 887 00:59:54,180 --> 00:59:54,780 It would work for my data. 888 00:59:54,780 --> 00:59:55,660 I lost my screen. 889 00:59:55,680 --> 00:59:58,680 But essentially, it would work only during that. 890 00:59:58,680 --> 01:00:04,740 But if you use semi-supervised or knowledge-based, you're training, quote, quote, training. 891 01:00:04,900 --> 01:00:06,820 Data science people will not like this video. 892 01:00:06,820 --> 01:00:12,340 But you can call it training the model on knowledge, on concepts. 893 01:00:12,900 --> 01:00:15,140 You're not training the model on data. 894 01:00:15,180 --> 01:00:21,000 You're training the model on what it means for Bill when he said kill chain is sequence. 895 01:00:21,000 --> 01:00:24,480 You're training the model on what it means to have tactics that are sequence. 896 01:00:24,480 --> 01:00:29,520 You're training the model on what it means to put the data and look at all of the fields. 897 01:00:29,520 --> 01:00:31,180 And what's the meaning behind the fields? 898 01:00:31,180 --> 01:00:33,460 What is the meaning behind the field port? 899 01:00:33,800 --> 01:00:37,080 Is port 80 and 81 closer or 80 and 443? 900 01:00:37,840 --> 01:00:40,320 80 and 443, that's knowledge. 901 01:00:41,600 --> 01:00:47,020 But if the model doesn't have knowledge, it thinks, oh, 80 and 81 are closer than 75. 902 01:00:47,220 --> 01:00:49,840 No, 80 and 81 are not very close. 903 01:00:50,060 --> 01:00:51,020 This is HTTP. 904 01:00:51,200 --> 01:00:52,700 81 is a system port, never used. 905 01:00:52,700 --> 01:00:56,540 If it's used, don't group it with my HTTP traffic, please. 906 01:00:57,900 --> 01:01:00,920 You group this with something that's very, very critical. 907 01:01:01,020 --> 01:01:04,140 What the hell is using 81 or 79 or 78? 908 01:01:04,220 --> 01:01:06,100 I don't know anything that uses those. 909 01:01:07,260 --> 01:01:09,220 But 80 and 443, group them together. 910 01:01:09,220 --> 01:01:11,340 So that's the knowledge that you give to these models. 911 01:01:11,340 --> 01:01:15,160 These models, knowledge about the subject matter, expertise. 912 01:01:15,160 --> 01:01:19,980 That's why this field is called expert AI or expert machine learning. 913 01:01:19,980 --> 01:01:21,440 You're giving it expertise. 914 01:01:22,040 --> 01:01:23,160 Not like anomaly detection. 915 01:01:23,160 --> 01:01:25,780 You bring it and you're like, oh, train on this data, baseline it. 916 01:01:25,840 --> 01:01:27,700 We do a demo for the first six months. 917 01:01:27,700 --> 01:01:29,220 We baseline it on all of the normal activity. 918 01:01:29,220 --> 01:01:31,080 You think I have normal activity for six months? 919 01:01:32,600 --> 01:01:36,800 Normal activity is not something that I can even assume is going to be the same for tomorrow. 920 01:01:38,080 --> 01:01:41,500 So Clint asked the question, Zain, none of this is supervised. 921 01:01:41,900 --> 01:01:42,920 None of it is supervised. 922 01:01:43,840 --> 01:01:52,540 The only part that was semi-supervised particularly was the language model to know what string gives you what technique. 923 01:01:52,780 --> 01:02:04,480 And that was essentially a humongous project over three years that we had a human being sit and build a specific data set of consistent taggings from sentences or alerts to techniques. 924 01:02:04,560 --> 01:02:08,260 Because the techniques that you have today in rule sets, they're for marketing. 925 01:02:08,380 --> 01:02:13,740 They're not actually things that you can use for true tactic correlation or true grouping. 926 01:02:13,740 --> 01:02:15,380 So we had to make them completely from scratch. 927 01:02:15,380 --> 01:02:22,200 We downloaded all of the rule sets from all of the endpoint detection and network detection, all of the rule sets. 928 01:02:23,060 --> 01:02:32,500 We had someone that even watched the videos on YouTube come in, and they stayed in the company for three years, and they literally tagged things by hand. 929 01:02:32,760 --> 01:02:37,380 It took them three years, not because it's a lot of data, because they were not consistent. 930 01:02:37,920 --> 01:02:39,420 So they would delete their data. 931 01:02:39,420 --> 01:02:41,600 They would make regular expressions to keep themselves consistent. 932 01:02:41,600 --> 01:02:44,160 They would try again, and then they would not be consistent. 933 01:02:44,160 --> 01:02:46,260 Data is pretty big, and so on and so forth. 934 01:02:46,320 --> 01:02:54,340 So it was a real effort of getting some sort of a label data set to just ground the model a little bit in language models. 935 01:02:54,340 --> 01:02:56,260 And that's the problem with natural language processing. 936 01:02:56,300 --> 01:03:00,340 Unlike clustering or sequencing, they are prone to hallucination. 937 01:03:00,340 --> 01:03:06,420 They're prone to being essentially sounding confident, but not being right. 938 01:03:06,820 --> 01:03:10,740 So what we did was over three years, we make the data set to ground them. 939 01:03:10,740 --> 01:03:15,740 And the human that did that essentially had to make sure the data is consistent, yada yada yada. 940 01:03:15,740 --> 01:03:24,780 But long story short, none of this is actually fully trained in the supervised machine learning method that you would be used to in other machine learning projects. 941 01:03:24,780 --> 01:03:31,620 This is completely under the realm of semi-supervision or weak supervision, based on expertise rather than data. 942 01:03:33,240 --> 01:03:34,580 Thank you for the question. 943 01:03:35,300 --> 01:03:36,880 Any other questions? 944 01:03:39,170 --> 01:03:41,330 If not, I appreciate it very much. 945 01:03:41,330 --> 01:03:42,030 Absolute delight. 946 01:03:42,030 --> 01:03:42,530 Very grateful. 947 01:03:42,530 --> 01:03:43,030 Thank you.