1 00:00:00,080 --> 00:00:03,399 our next speaker is Rodrigo mono Rodrigo 2 00:00:03,399 --> 00:00:05,120 is head of threat and detection research 3 00:00:05,120 --> 00:00:07,680 at clavis security and has over 23 years 4 00:00:07,680 --> 00:00:09,960 of experience in information technology 5 00:00:09,960 --> 00:00:11,320 and computer 6 00:00:11,320 --> 00:00:13,839 security by the end of the talk Rodrigo 7 00:00:13,839 --> 00:00:15,799 promises everyone that you'll have new 8 00:00:15,799 --> 00:00:17,600 detection ideas you'll be able to 9 00:00:17,600 --> 00:00:19,600 improve your Cloud security posture and 10 00:00:19,600 --> 00:00:21,480 mitigate attack Services the title of 11 00:00:21,480 --> 00:00:23,560 this talk is Tales From detection 12 00:00:23,560 --> 00:00:27,610 Engineering in AWS land please welcome 13 00:00:27,610 --> 00:00:28,960 [Applause] 14 00:00:28,960 --> 00:00:31,080 r 15 00:00:31,080 --> 00:00:32,719 all right all right good morning 16 00:00:32,719 --> 00:00:35,000 everybody uh everybody survived until 17 00:00:35,000 --> 00:00:36,719 Sunday so that's pretty awesome 18 00:00:36,719 --> 00:00:39,879 everybody's here and my name is Rodrigo 19 00:00:39,879 --> 00:00:42,600 uh I'm from Brazil I live in 20 00:00:42,600 --> 00:00:44,719 Florianopolis Florianopolis the south of 21 00:00:44,719 --> 00:00:47,199 Brazil it's a pretty nice place to visit 22 00:00:47,199 --> 00:00:49,600 on the summertime and especially if you 23 00:00:49,600 --> 00:00:52,239 live here in us like you're making five 24 00:00:52,239 --> 00:00:54,760 times our money valy so that's really 25 00:00:54,760 --> 00:00:57,719 good for you guys and I I have two 26 00:00:57,719 --> 00:01:00,079 patents I used to speak in different con 27 00:01:00,079 --> 00:01:02,519 conference uh when I'm not on the 28 00:01:02,519 --> 00:01:06,119 computer I'm with my my wife my son 29 00:01:06,119 --> 00:01:08,280 today's Father's Day in Brazil is the 30 00:01:08,280 --> 00:01:13,159 same here no okay good and I used to do 31 00:01:13,159 --> 00:01:15,720 Triathlon the Iran stuff when I was half 32 00:01:15,720 --> 00:01:19,400 of this size So currently I'm just doing 33 00:01:19,400 --> 00:01:22,400 CrossFit and parli stuff that's easier 34 00:01:22,400 --> 00:01:25,159 much easier and the motivation behind 35 00:01:25,159 --> 00:01:27,759 the St I think it's it's a pain for most 36 00:01:27,759 --> 00:01:30,720 of people that try to create detections 37 00:01:30,720 --> 00:01:35,000 at AWS or as or gcp I just know AWS so 38 00:01:35,000 --> 00:01:37,680 that's why I'm talking about AWS it's 39 00:01:37,680 --> 00:01:40,159 the number of service right uh we are 40 00:01:40,159 --> 00:01:42,840 talk for around 41 00:01:42,840 --> 00:01:48,280 382 service and this is outdated already 42 00:01:48,280 --> 00:01:50,479 because if you go to 43 00:01:50,479 --> 00:01:54,439 IM data actions.com is there is two more 44 00:01:54,439 --> 00:01:56,840 service there and and so there is a 45 00:01:56,840 --> 00:01:58,640 bunch of opportunities for the attackers 46 00:01:58,640 --> 00:02:00,520 a bunch of things going on a bunch of 47 00:02:00,520 --> 00:02:02,520 actions that you need to to 48 00:02:02,520 --> 00:02:06,479 detect and talking with Ashish at Cloud 49 00:02:06,479 --> 00:02:08,560 security podcast last year or a year 50 00:02:08,560 --> 00:02:10,318 before I don't know exactly but I think 51 00:02:10,318 --> 00:02:12,840 it was last year uh I I was doing a 52 00:02:12,840 --> 00:02:15,160 research related with a service that was 53 00:02:15,160 --> 00:02:18,000 not that common and talk to him he was 54 00:02:18,000 --> 00:02:19,400 talking like okay you're talking about 55 00:02:19,400 --> 00:02:21,560 some uncomon service and that opened my 56 00:02:21,560 --> 00:02:24,200 mind and I start I used to be more 57 00:02:24,200 --> 00:02:26,680 optimist about the detections what's 58 00:02:26,680 --> 00:02:30,680 going on and after that that talk I 59 00:02:30,680 --> 00:02:34,840 start to be more pessimist and I start 60 00:02:34,840 --> 00:02:36,560 to look like okay we have those 61 00:02:36,560 --> 00:02:38,599 detection but what we don't we don't 62 00:02:38,599 --> 00:02:41,680 have and we start I grabbed some 63 00:02:41,680 --> 00:02:45,200 detection for from elastic rules right 64 00:02:45,200 --> 00:02:48,840 and they have like the open repository 65 00:02:48,840 --> 00:02:50,159 uh 59 66 00:02:50,159 --> 00:02:53,560 detections and they just cover around 6% 67 00:02:53,560 --> 00:02:55,840 of the service and so we have a bunch of 68 00:02:55,840 --> 00:02:57,840 opportunities to create detections and 69 00:02:57,840 --> 00:02:59,800 the same for Sigma Sigma we have like 70 00:02:59,800 --> 00:03:01,560 like the last time I saw maybe it's a 71 00:03:01,560 --> 00:03:04,760 bit better or not and we have like 72 00:03:04,760 --> 00:03:07,720 around the same amount like 5 to 6% of 73 00:03:07,720 --> 00:03:10,360 the detections and and I figure out like 74 00:03:10,360 --> 00:03:13,040 I work in a security Operation Center my 75 00:03:13,040 --> 00:03:15,159 company has a security Operation Center 76 00:03:15,159 --> 00:03:17,080 and we start figure out okay how could 77 00:03:17,080 --> 00:03:20,040 improve detections and so the main idea 78 00:03:20,040 --> 00:03:23,200 here here is to talk about some ideas 79 00:03:23,200 --> 00:03:26,200 some stuff we are doing and because 80 00:03:26,200 --> 00:03:28,799 there is no Silver Bullet for AWS 81 00:03:28,799 --> 00:03:31,439 detection 82 00:03:31,439 --> 00:03:34,120 uh and our agenda here the detection 83 00:03:34,120 --> 00:03:36,799 challenge uh The Uncommon paths and 84 00:03:36,799 --> 00:03:39,120 behaviors and we're talking about the 85 00:03:39,120 --> 00:03:41,799 attack tools path the attack paths 86 00:03:41,799 --> 00:03:45,480 something more specific like when you 87 00:03:45,480 --> 00:03:47,760 you're using a tool or user web console 88 00:03:47,760 --> 00:03:50,920 or using uh ACI the behavior is 89 00:03:50,920 --> 00:03:52,799 completely different some 90 00:03:52,799 --> 00:03:54,799 misconfiguration that you could detect 91 00:03:54,799 --> 00:03:58,040 on the Fly and some 92 00:03:58,239 --> 00:04:00,920 conclusions a detection chall the 93 00:04:00,920 --> 00:04:02,840 detection challenge is is huge for 94 00:04:02,840 --> 00:04:07,200 everybody even for AWS uh the AWS itself 95 00:04:07,200 --> 00:04:09,720 they releases a new blog post I don't 96 00:04:09,720 --> 00:04:12,000 know who read that how to receive alerts 97 00:04:12,000 --> 00:04:14,799 when I am configuration chance like you 98 00:04:14,799 --> 00:04:18,199 receive a major updates as some days ago 99 00:04:18,199 --> 00:04:19,839 and if you look 100 00:04:19,839 --> 00:04:22,600 there um they they they they have the 101 00:04:22,600 --> 00:04:23,759 process like to create some 102 00:04:23,759 --> 00:04:26,199 notifications right and you're looking 103 00:04:26,199 --> 00:04:27,880 for IM 104 00:04:27,880 --> 00:04:31,080 events and when the event name start 105 00:04:31,080 --> 00:04:33,880 with ADD attach change creation all 106 00:04:33,880 --> 00:04:37,160 those things I so okay uh let me see in 107 00:04:37,160 --> 00:04:40,720 some customers that I have how good this 108 00:04:40,720 --> 00:04:43,520 will be and I just picked three 109 00:04:43,520 --> 00:04:46,800 customers and that's what the result One 110 00:04:46,800 --> 00:04:50,360 customer will will generate like 200 F 111 00:04:50,360 --> 00:04:53,160 per month it's not bad eight per day 112 00:04:53,160 --> 00:04:55,800 something like that and so tried the 113 00:04:55,800 --> 00:04:59,039 second one it was 200 per week the so 114 00:04:59,039 --> 00:05:02,080 analista will not be happy with me and 115 00:05:02,080 --> 00:05:03,919 so you have the third one he is more 116 00:05:03,919 --> 00:05:07,680 Cloud native and it was like 15K in a 117 00:05:07,680 --> 00:05:11,360 day so I say 118 00:05:11,360 --> 00:05:14,720 okay and with with that in mind like 119 00:05:14,720 --> 00:05:16,960 okay this could not be detections this 120 00:05:16,960 --> 00:05:19,120 could not be notifications this just 121 00:05:19,120 --> 00:05:22,199 could be like triggers right I could not 122 00:05:22,199 --> 00:05:24,600 I could trigger this and after that I 123 00:05:24,600 --> 00:05:27,319 need to see what's going on with 124 00:05:27,319 --> 00:05:28,919 different fields and so what I'm going 125 00:05:28,919 --> 00:05:31,080 to try to to explain here is this kind 126 00:05:31,080 --> 00:05:33,960 of things and another another blog post 127 00:05:33,960 --> 00:05:37,720 in Victor's Z they did a a blog post I 128 00:05:37,720 --> 00:05:39,639 forgot to put the blog post here it's on 129 00:05:39,639 --> 00:05:42,840 the comment on and he used a strats 130 00:05:42,840 --> 00:05:45,840 reding from data dog that's a tool that 131 00:05:45,840 --> 00:05:50,479 emulate uh some attacks in the cloud and 132 00:05:50,479 --> 00:05:53,240 the total of attempt the simulation was 133 00:05:53,240 --> 00:05:55,240 32 134 00:05:55,240 --> 00:05:58,639 attempts and G dirty detect three of 135 00:05:58,639 --> 00:06:02,680 them so using gr is good it depends 136 00:06:02,680 --> 00:06:06,479 because it's it's a kind of trick right 137 00:06:06,479 --> 00:06:09,720 oh he just uh something like he just 138 00:06:09,720 --> 00:06:11,639 modify instance attribute he create 139 00:06:11,639 --> 00:06:15,160 access key if a starts to alert about 140 00:06:15,160 --> 00:06:17,639 that it's not a good sign right he 141 00:06:17,639 --> 00:06:19,720 trigger for a lot of things and so it's 142 00:06:19,720 --> 00:06:22,560 very it's very tricky to detect things 143 00:06:22,560 --> 00:06:24,520 and the sigma rules they use the sigma 144 00:06:24,520 --> 00:06:26,560 rules it has like 11 145 00:06:26,560 --> 00:06:29,240 detections right but the problem with 146 00:06:29,240 --> 00:06:32,120 the detection because if you pick itself 147 00:06:32,120 --> 00:06:35,639 the number seems like good 11 of 32 good 148 00:06:35,639 --> 00:06:38,840 not good better than where there right 149 00:06:38,840 --> 00:06:42,560 but uh they are looking specifically for 150 00:06:42,560 --> 00:06:44,039 event names and when you're trying to 151 00:06:44,039 --> 00:06:45,840 look for event name that that are the 152 00:06:45,840 --> 00:06:50,840 actions itself uh it's not that good as 153 00:06:50,840 --> 00:06:52,680 I showed before like if you look for 154 00:06:52,680 --> 00:06:57,280 those white cards and the result will be 155 00:06:57,280 --> 00:06:59,919 oops helloo 156 00:06:59,919 --> 00:07:02,720 that's okay okay let's 157 00:07:02,720 --> 00:07:05,400 go step away from from the speaker from 158 00:07:05,400 --> 00:07:08,440 the speaker right behind you here yeah 159 00:07:08,440 --> 00:07:12,080 that's okay okay I'm not right stage 160 00:07:12,080 --> 00:07:14,560 guy okay 161 00:07:14,560 --> 00:07:17,199 uh I know that I need to stay here 162 00:07:17,199 --> 00:07:19,120 because they're recording so if I left 163 00:07:19,120 --> 00:07:21,840 here I will not be recordered and so I 164 00:07:21,840 --> 00:07:25,199 used to walk around when I speaking and 165 00:07:25,199 --> 00:07:28,000 and so and so here the the problem like 166 00:07:28,000 --> 00:07:31,240 looking for a specific and another Point 167 00:07:31,240 --> 00:07:35,400 here we're talk like we have like 384 168 00:07:35,400 --> 00:07:37,360 service and we're just talking about 169 00:07:37,360 --> 00:07:41,599 some Cloud tra stuff ec2 IM security 170 00:07:41,599 --> 00:07:43,879 groups Ami so they're very basic we're 171 00:07:43,879 --> 00:07:46,440 always looking the 172 00:07:46,440 --> 00:07:49,479 same and how about other service like 173 00:07:49,479 --> 00:07:52,039 appstream 2.0 like last year I did a 174 00:07:52,039 --> 00:07:55,680 talk here but wasn't recorded and about 175 00:07:55,680 --> 00:07:58,400 abre 2.0 some someone watch it here last 176 00:07:58,400 --> 00:08:03,039 year nobody us here yes okay and ab 177 00:08:03,039 --> 00:08:04,879 stream has a lot of opportunities for 178 00:08:04,879 --> 00:08:06,840 privilege Cal lateral movement 179 00:08:06,840 --> 00:08:09,720 exfiltration prance and who are looking 180 00:08:09,720 --> 00:08:13,639 for that uh AWS ented Center Cloud Cary 181 00:08:13,639 --> 00:08:16,479 uh Jon did a very nice blog post about 182 00:08:16,479 --> 00:08:18,560 actions from identied Center that you 183 00:08:18,560 --> 00:08:22,080 could privilege escalation another thing 184 00:08:22,080 --> 00:08:25,240 AWS organizations AWS cleaning rooms 185 00:08:25,240 --> 00:08:27,039 when I saw that okay you could share 186 00:08:27,039 --> 00:08:29,000 data with another account like my mind 187 00:08:29,000 --> 00:08:31,759 just like oh it's filtration and so who 188 00:08:31,759 --> 00:08:34,159 is looking for that because the problem 189 00:08:34,159 --> 00:08:36,240 the the biggest problem 190 00:08:36,240 --> 00:08:39,200 is if you have an account and you are 191 00:08:39,200 --> 00:08:42,200 not disabled those service it's there 192 00:08:42,200 --> 00:08:44,480 it's attx yourface it's a it's attack 193 00:08:44,480 --> 00:08:46,000 Vector doesn't matter if you're using or 194 00:08:46,000 --> 00:08:49,080 not if I have a user with uh with 195 00:08:49,080 --> 00:08:51,200 privilege to that service I could try to 196 00:08:51,200 --> 00:08:52,680 do 197 00:08:52,680 --> 00:08:55,720 something and service with pass R passr 198 00:08:55,720 --> 00:08:59,640 actions Noah has a nice post Noah for is 199 00:08:59,640 --> 00:09:01,760 going to speak here after me about 200 00:09:01,760 --> 00:09:03,680 another project they are releasing he 201 00:09:03,680 --> 00:09:06,839 has a very nice Guist with the p r 202 00:09:06,839 --> 00:09:09,120 actions and those actions has the 203 00:09:09,120 --> 00:09:13,440 service and so p r like summarize like 204 00:09:13,440 --> 00:09:15,800 you could pass some permissions to some 205 00:09:15,800 --> 00:09:17,800 to some service and so that's very 206 00:09:17,800 --> 00:09:21,560 dangerous and I P rule is not logged 207 00:09:21,560 --> 00:09:23,959 it's part of some actions that has some 208 00:09:23,959 --> 00:09:25,920 some some request parameters that you 209 00:09:25,920 --> 00:09:29,279 say okay it's it's using the pass 210 00:09:29,279 --> 00:09:31,320 feature and so there is a bunch of 211 00:09:31,320 --> 00:09:34,200 challenges here and just to remember 212 00:09:34,200 --> 00:09:36,920 it's not only about the control plane we 213 00:09:36,920 --> 00:09:38,839 have the data plane like we're talking 214 00:09:38,839 --> 00:09:41,560 about incidental response like the S3 215 00:09:41,560 --> 00:09:43,800 bucket dat event like someone accent in 216 00:09:43,800 --> 00:09:46,640 your bucket is not being log at the RDS 217 00:09:46,640 --> 00:09:49,200 did log somebody trying to do some scal 218 00:09:49,200 --> 00:09:53,079 injection is not enable AKs 219 00:09:53,079 --> 00:09:56,240 VPC so Matt Fuller did this like two 220 00:09:56,240 --> 00:10:00,079 years ago it's pretty interesting but 221 00:10:00,079 --> 00:10:01,880 it's not about the service that that 222 00:10:01,880 --> 00:10:03,560 that are listed there it's about like to 223 00:10:03,560 --> 00:10:05,399 pick the idea look your service if you 224 00:10:05,399 --> 00:10:07,440 have something important and something 225 00:10:07,440 --> 00:10:08,720 happen you need to do an incidental 226 00:10:08,720 --> 00:10:11,560 response you need to enable most of the 227 00:10:11,560 --> 00:10:13,320 control pain logs are not enabled 228 00:10:13,320 --> 00:10:15,440 because it will generate cost because 229 00:10:15,440 --> 00:10:17,600 you need to save 230 00:10:17,600 --> 00:10:21,200 somewhere and so let's try to talk about 231 00:10:21,200 --> 00:10:22,920 the detection 232 00:10:22,920 --> 00:10:26,320 stuff uncommon paths and 233 00:10:26,320 --> 00:10:29,720 behaviors so first what you watch so 234 00:10:29,720 --> 00:10:32,519 this is a cloud for event and so we have 235 00:10:32,519 --> 00:10:35,519 like who did like the user ented the 236 00:10:35,519 --> 00:10:37,240 type we have different types we have 237 00:10:37,240 --> 00:10:39,720 like some account name access ID 238 00:10:39,720 --> 00:10:42,279 username you have the when right the 239 00:10:42,279 --> 00:10:46,680 event time you have the search IP front 240 00:10:46,680 --> 00:10:50,040 and for talking about the detection part 241 00:10:50,040 --> 00:10:52,519 you have the what and so we have this 242 00:10:52,519 --> 00:10:54,920 part here event seice and event name and 243 00:10:54,920 --> 00:10:56,399 you have the request 244 00:10:56,399 --> 00:11:02,079 parameter that could bring us to good 245 00:11:02,200 --> 00:11:04,959 detections and how to en reach and and 246 00:11:04,959 --> 00:11:06,880 here I start some ideas I have some 247 00:11:06,880 --> 00:11:10,000 ideas in mind we did some uh me prots we 248 00:11:10,000 --> 00:11:13,639 talk about uh some enrichments using log 249 00:11:13,639 --> 00:11:18,360 stash in the past uh sector in Canada 250 00:11:18,360 --> 00:11:20,519 and we call it the trails CL trailing 251 00:11:20,519 --> 00:11:22,800 the trails and you pick like a bunch not 252 00:11:22,800 --> 00:11:27,440 all here but a bunch of of products or 253 00:11:27,440 --> 00:11:31,000 information that could enrich that cloud 254 00:11:31,000 --> 00:11:32,880 for event that could give more 255 00:11:32,880 --> 00:11:34,959 opportunities to detach and could make 256 00:11:34,959 --> 00:11:36,760 the sock analyst life easier because you 257 00:11:36,760 --> 00:11:38,800 have more metadata 258 00:11:38,800 --> 00:11:42,680 there and here is a drill down about 259 00:11:42,680 --> 00:11:45,519 that and what I have here easier the 260 00:11:45,519 --> 00:11:47,639 risk level and the risk level is based 261 00:11:47,639 --> 00:11:49,959 on clouds planning and so with Cloud 262 00:11:49,959 --> 00:11:51,680 planning know this action I could do 263 00:11:51,680 --> 00:11:54,160 some privilege cation with this action I 264 00:11:54,160 --> 00:11:56,440 could do some that's filtration with 265 00:11:56,440 --> 00:11:59,600 this action I could expose uh research 266 00:11:59,600 --> 00:12:01,680 and en reaching that and so I came back 267 00:12:01,680 --> 00:12:03,639 with that log event name and I add this 268 00:12:03,639 --> 00:12:06,120 oh this event name 269 00:12:06,120 --> 00:12:09,120 will will allow me to do this kind of 270 00:12:09,120 --> 00:12:12,240 things the access level part uh I like 271 00:12:12,240 --> 00:12:13,959 the access level because the access 272 00:12:13,959 --> 00:12:18,279 level is it's for AWS and so you have WR 273 00:12:18,279 --> 00:12:20,760 list read permissions men and tagging 274 00:12:20,760 --> 00:12:22,720 what is more critical permissions menu 275 00:12:22,720 --> 00:12:25,560 and right but it's all about context 276 00:12:25,560 --> 00:12:27,480 right uh if you have something that 277 00:12:27,480 --> 00:12:29,440 could not be read read is something 278 00:12:29,440 --> 00:12:31,360 critical for your business so it's not a 279 00:12:31,360 --> 00:12:33,519 silver bullet never a silver 280 00:12:33,519 --> 00:12:37,639 bullet we have the the cloud Spain stuff 281 00:12:37,639 --> 00:12:40,399 I did uh a talk I don't know where I did 282 00:12:40,399 --> 00:12:43,920 that talk oh Sun Sun Cloud s Nets like 283 00:12:43,920 --> 00:12:48,120 next year and when I I I try to to run 284 00:12:48,120 --> 00:12:50,720 the clouds planning at scale and clouds 285 00:12:50,720 --> 00:12:54,440 planning is a tool that try to find uh 286 00:12:54,440 --> 00:12:57,839 polace with high permissions and I could 287 00:12:57,839 --> 00:12:59,279 create a database because they put 288 00:12:59,279 --> 00:13:01,680 everything at elas search and so when 289 00:13:01,680 --> 00:13:04,519 something happen you could ask to the to 290 00:13:04,519 --> 00:13:08,800 the cloudplay stuff and drinking here 291 00:13:08,800 --> 00:13:11,519 right most of us probably drink a bit or 292 00:13:11,519 --> 00:13:14,120 too much I'm getting old so I just drink 293 00:13:14,120 --> 00:13:18,320 a bit and I have I got an idea using the 294 00:13:18,320 --> 00:13:20,680 some feature from AWS to to create some 295 00:13:20,680 --> 00:13:23,399 the some some database to use to 296 00:13:23,399 --> 00:13:26,000 correlate the behavior and I think it 297 00:13:26,000 --> 00:13:27,279 should work it's not perfect but it 298 00:13:27,279 --> 00:13:29,639 should work I need to test for sure I I 299 00:13:29,639 --> 00:13:31,839 just got the idea and I add the slid 300 00:13:31,839 --> 00:13:33,399 this morning 301 00:13:33,399 --> 00:13:35,440 so and so the 302 00:13:35,440 --> 00:13:38,920 detections uh a very for sample here 303 00:13:38,920 --> 00:13:40,959 over permissive 304 00:13:40,959 --> 00:13:45,199 Po and name it Bas and anal based and 305 00:13:45,199 --> 00:13:48,040 some access level or risk level rtio and 306 00:13:48,040 --> 00:13:51,320 so coming back to to to the to to those 307 00:13:51,320 --> 00:13:54,680 enrichment like if you have like a lot 308 00:13:54,680 --> 00:13:57,519 of a lot of read read read read read and 309 00:13:57,519 --> 00:14:00,759 so suly uh uh a permission M that's 310 00:14:00,759 --> 00:14:03,320 could it could have some exess rtio oh 311 00:14:03,320 --> 00:14:06,440 if 10% is permission and rights and the 312 00:14:06,440 --> 00:14:09,199 other 90% is read and list this is a 313 00:14:09,199 --> 00:14:12,839 common Behavior but if you have like 40% 314 00:14:12,839 --> 00:14:15,000 that's right in permission Amendment and 315 00:14:15,000 --> 00:14:18,160 6% that's not it's a kind of and so I 316 00:14:18,160 --> 00:14:20,920 have some some stuff I show here Spike 317 00:14:20,920 --> 00:14:23,800 of eventsource and so the a events are 318 00:14:23,800 --> 00:14:26,320 PR dented and so that could trigger 319 00:14:26,320 --> 00:14:28,079 especially like if the attacker are 320 00:14:28,079 --> 00:14:31,120 using some service you don't know that 321 00:14:31,120 --> 00:14:32,639 uh that has something because it's 322 00:14:32,639 --> 00:14:34,560 impossible to create detections for 323 00:14:34,560 --> 00:14:37,480 almost 400 service and probably by the 324 00:14:37,480 --> 00:14:40,560 end of the the year we have rent and 325 00:14:40,560 --> 00:14:44,759 with rent we we have like probably have 326 00:14:44,759 --> 00:14:47,040 more than 100 service and first time SC 327 00:14:47,040 --> 00:14:49,519 I like this first time scene that will 328 00:14:49,519 --> 00:14:51,959 trigger when something different appears 329 00:14:51,959 --> 00:14:55,800 in in your in your cloud trail and could 330 00:14:55,800 --> 00:14:57,399 be the event service right so some 331 00:14:57,399 --> 00:14:59,519 service up here could be attacker could 332 00:14:59,519 --> 00:15:02,680 be a a developer but at least you know 333 00:15:02,680 --> 00:15:04,279 the service is there and so you could 334 00:15:04,279 --> 00:15:06,240 start to figure out like okay I need to 335 00:15:06,240 --> 00:15:07,959 create the action I need to see how to 336 00:15:07,959 --> 00:15:11,600 harden that event SE plus event name and 337 00:15:11,600 --> 00:15:14,440 so it's common to use that event seice 338 00:15:14,440 --> 00:15:17,720 that analyst but suddenly that principal 339 00:15:17,720 --> 00:15:20,440 use something different oh these actions 340 00:15:20,440 --> 00:15:22,839 they they never use it before and so we 341 00:15:22,839 --> 00:15:25,320 have the vent SE and access level and 342 00:15:25,320 --> 00:15:27,839 assume RO with permissive po policy 343 00:15:27,839 --> 00:15:30,480 attached and so sly oh this user as some 344 00:15:30,480 --> 00:15:33,040 polic that's over permissive and so 345 00:15:33,040 --> 00:15:34,360 that's good trigger and so I have some 346 00:15:34,360 --> 00:15:36,560 samples 347 00:15:36,560 --> 00:15:40,399 here and over Prive polic using p 348 00:15:40,399 --> 00:15:42,480 pattern matching that's pretty easy to 349 00:15:42,480 --> 00:15:45,639 do right you have an event sorry about 350 00:15:45,639 --> 00:15:47,759 this graphic is not good there is a 351 00:15:47,759 --> 00:15:50,920 project from T secur it's called it Camp 352 00:15:50,920 --> 00:15:55,040 it's Cloud Cloud's planning on AWS manag 353 00:15:55,040 --> 00:15:57,880 policy and the AWS the the cloud 354 00:15:57,880 --> 00:16:00,040 planning usually you you tell like this 355 00:16:00,040 --> 00:16:02,079 PO has privileged escalation the number 356 00:16:02,079 --> 00:16:03,959 of privilege escalation opportunities 357 00:16:03,959 --> 00:16:06,040 the number of resource exposure the 358 00:16:06,040 --> 00:16:08,880 number of filtration credential exposure 359 00:16:08,880 --> 00:16:10,199 infrastructure 360 00:16:10,199 --> 00:16:12,639 modification and what I want I want to 361 00:16:12,639 --> 00:16:16,759 see like if somebody is attaching a 362 00:16:16,759 --> 00:16:19,880 polace that has privilege Cal I want to 363 00:16:19,880 --> 00:16:21,160 be 364 00:16:21,160 --> 00:16:25,079 triggered and so I just select the poish 365 00:16:25,079 --> 00:16:29,040 right that has the Polish name and and 366 00:16:29,040 --> 00:16:32,040 here when I have the attach user polace 367 00:16:32,040 --> 00:16:34,399 you have the request parameters you have 368 00:16:34,399 --> 00:16:36,519 the username uh that did that and the 369 00:16:36,519 --> 00:16:39,800 Poli AR and so I could correlate with 370 00:16:39,800 --> 00:16:41,240 the names here and figure out oh 371 00:16:41,240 --> 00:16:44,000 somebody attach it and attach user polic 372 00:16:44,000 --> 00:16:46,279 attach grou polish attach R polish and 373 00:16:46,279 --> 00:16:48,480 it could be the attach stuff and much 374 00:16:48,480 --> 00:16:51,199 more and using that that could be a 375 00:16:51,199 --> 00:16:53,800 detection and okay somebody's creating 376 00:16:53,800 --> 00:16:55,800 something that will be administrator 377 00:16:55,800 --> 00:16:57,480 because if there is privilege colation 378 00:16:57,480 --> 00:16:58,880 by the end of the day you're giving 379 00:16:58,880 --> 00:17:02,040 administrator access right and and if 380 00:17:02,040 --> 00:17:05,439 you want like this work for manage Poli 381 00:17:05,439 --> 00:17:07,319 but it will not work for customer manage 382 00:17:07,319 --> 00:17:09,000 policy because customer manage policy 383 00:17:09,000 --> 00:17:11,720 you need to know you don't know the 384 00:17:11,720 --> 00:17:14,000 names right I could create a policy with 385 00:17:14,000 --> 00:17:17,559 any name and you could use that database 386 00:17:17,559 --> 00:17:20,240 uh the that the cing the K database 387 00:17:20,240 --> 00:17:23,119 Cloud plan that that I talk about my my 388 00:17:23,119 --> 00:17:25,199 previous research and you could okay if 389 00:17:25,199 --> 00:17:27,400 I have this policy let's look here and 390 00:17:27,400 --> 00:17:28,919 see what kind of permission so I could 391 00:17:28,919 --> 00:17:30,240 trigger oh if there is privilege 392 00:17:30,240 --> 00:17:32,520 escalation maybe critical if there is 393 00:17:32,520 --> 00:17:35,120 just resarch exposure maybe high this 394 00:17:35,120 --> 00:17:37,480 kind of thing and and it's about contxt 395 00:17:37,480 --> 00:17:40,840 right there is no no no magic uh no 396 00:17:40,840 --> 00:17:43,679 magic key word here and there is the 397 00:17:43,679 --> 00:17:46,080 over Prive based on analys and so you 398 00:17:46,080 --> 00:17:47,919 create you detect the policy when the 399 00:17:47,919 --> 00:17:50,480 polic is being created and that's not 400 00:17:50,480 --> 00:17:53,720 that easy but you have the I am create 401 00:17:53,720 --> 00:17:57,440 Poli here right and that when you use 402 00:17:57,440 --> 00:18:00,039 create polic and couple of other event 403 00:18:00,039 --> 00:18:02,280 names that I don't remember if I had now 404 00:18:02,280 --> 00:18:05,760 uh you have the Poli document here and 405 00:18:05,760 --> 00:18:08,559 so if you normalize the PO document here 406 00:18:08,559 --> 00:18:11,400 and so this will trigger for something 407 00:18:11,400 --> 00:18:15,320 and when trigger uh the this create 408 00:18:15,320 --> 00:18:18,440 polace I will extract this information 409 00:18:18,440 --> 00:18:21,000 and send to someone somewhere else let's 410 00:18:21,000 --> 00:18:25,200 call a s or as you want to to to call 411 00:18:25,200 --> 00:18:27,840 and this this polace document is this 412 00:18:27,840 --> 00:18:31,280 polace and so I am P Ro with2 has 413 00:18:31,280 --> 00:18:33,640 privilege escalation and what I'm going 414 00:18:33,640 --> 00:18:35,760 to do is I'm going to run the cloud 415 00:18:35,760 --> 00:18:37,919 planing and when I run the cloud 416 00:18:37,919 --> 00:18:40,600 planning I it will show me all the 417 00:18:40,600 --> 00:18:44,200 permissions that's related with this PO 418 00:18:44,200 --> 00:18:47,400 and so I could create something more 419 00:18:47,400 --> 00:18:49,919 pattern matching and with this 420 00:18:49,919 --> 00:18:53,480 information I still could uh how can I 421 00:18:53,480 --> 00:18:55,720 say in English uh in just on 422 00:18:55,720 --> 00:19:00,640 my database of polus and and and use the 423 00:19:00,640 --> 00:19:02,320 the same with the the 424 00:19:02,320 --> 00:19:05,280 name so like for here I have the create 425 00:19:05,280 --> 00:19:09,520 C2 with XP yeah so so I have a 426 00:19:09,520 --> 00:19:12,679 capability of privilege 427 00:19:12,760 --> 00:19:15,480 cation the the first time seeing assume 428 00:19:15,480 --> 00:19:16,840 a permissive 429 00:19:16,840 --> 00:19:20,280 role and so we have here we have I am 430 00:19:20,280 --> 00:19:23,760 user that's assuming a role and when you 431 00:19:23,760 --> 00:19:25,080 assume a 432 00:19:25,080 --> 00:19:28,760 role you have a a response element 433 00:19:28,760 --> 00:19:30,919 that will give you your new principal ID 434 00:19:30,919 --> 00:19:33,440 and so after that you start to be this 435 00:19:33,440 --> 00:19:36,559 new principle there and you have the ARA 436 00:19:36,559 --> 00:19:38,799 running around the type of user will be 437 00:19:38,799 --> 00:19:39,840 assumed 438 00:19:39,840 --> 00:19:43,559 role but besides that you have this new 439 00:19:43,559 --> 00:19:45,360 permission that's on the request 440 00:19:45,360 --> 00:19:47,559 parameters and so the new permissions 441 00:19:47,559 --> 00:19:50,120 validate associate polic I want to see 442 00:19:50,120 --> 00:19:54,280 like based on that oh this user is the 443 00:19:54,280 --> 00:19:56,799 first time assuming this that has too 444 00:19:56,799 --> 00:19:59,360 much privilege and so I will sent to my 445 00:19:59,360 --> 00:20:01,799 can database or patter pattern matching 446 00:20:01,799 --> 00:20:04,799 knowing the name because by here I don't 447 00:20:04,799 --> 00:20:06,480 know the information but with the whole 448 00:20:06,480 --> 00:20:08,760 name I could discover the polet that are 449 00:20:08,760 --> 00:20:10,280 attached to to 450 00:20:10,280 --> 00:20:13,440 it and this could be a nice trigger like 451 00:20:13,440 --> 00:20:15,280 the user BEC something with privilege 452 00:20:15,280 --> 00:20:18,399 cleation with that 453 00:20:18,559 --> 00:20:21,280 filtration and the idea here about the 454 00:20:21,280 --> 00:20:24,440 Vegas drink the B idea or something like 455 00:20:24,440 --> 00:20:30,440 that uh was there is a feature at AWS 456 00:20:30,440 --> 00:20:33,799 called the uh ACC analy Poli suggestion 457 00:20:33,799 --> 00:20:36,039 anybody uses that knows this this 458 00:20:36,039 --> 00:20:39,840 feature and what this features 459 00:20:39,840 --> 00:20:43,360 does is generate Poli that's based on 460 00:20:43,360 --> 00:20:45,679 accessi for an entity and so and so you 461 00:20:45,679 --> 00:20:48,720 could pick a role a user uh some 462 00:20:48,720 --> 00:20:51,480 principle and it you look at cloud trail 463 00:20:51,480 --> 00:20:55,320 up to 3 months 9 days like what does 464 00:20:55,320 --> 00:20:58,840 user use for you and so this a good way 465 00:20:58,840 --> 00:21:01,280 to create a database uh Behavior 466 00:21:01,280 --> 00:21:03,919 database and with this Behavior database 467 00:21:03,919 --> 00:21:05,840 you could like come back there okay oh 468 00:21:05,840 --> 00:21:08,559 this event happen and this command that 469 00:21:08,559 --> 00:21:10,559 the user oh it's a event search that's 470 00:21:10,559 --> 00:21:14,640 not supposed is not here but right the 471 00:21:14,640 --> 00:21:16,679 the the Polish generator is not perfect 472 00:21:16,679 --> 00:21:18,880 there is some like I am pass R is not 473 00:21:18,880 --> 00:21:21,000 long and there is a couple of stuff that 474 00:21:21,000 --> 00:21:23,200 that you need to figure out but it's a 475 00:21:23,200 --> 00:21:25,240 good start and it's for free that's the 476 00:21:25,240 --> 00:21:27,320 most important part AWS giving you 477 00:21:27,320 --> 00:21:29,600 something for free you should 478 00:21:29,600 --> 00:21:33,320 use and the second part is here like it 479 00:21:33,320 --> 00:21:35,320 will generate a PA like this for you 480 00:21:35,320 --> 00:21:37,400 like based on the principle you choose 481 00:21:37,400 --> 00:21:39,559 and so you could start to create okay oh 482 00:21:39,559 --> 00:21:42,279 they have I am oh they use I am and so I 483 00:21:42,279 --> 00:21:44,840 could en reach that and became the 484 00:21:44,840 --> 00:21:46,279 principal information contest the 485 00:21:46,279 --> 00:21:48,279 service the action the access level and 486 00:21:48,279 --> 00:21:50,400 other thing and so if something trigger 487 00:21:50,400 --> 00:21:52,720 different based on that ratios you you 488 00:21:52,720 --> 00:21:55,440 could it could trigger detection because 489 00:21:55,440 --> 00:21:57,760 most of things that I'm trying to to do 490 00:21:57,760 --> 00:22:00,960 here is is not to create detection for a 491 00:22:00,960 --> 00:22:02,760 specific service I'm trying to do 492 00:22:02,760 --> 00:22:05,480 something more Behavior because we're 493 00:22:05,480 --> 00:22:07,960 talking about as I mentioned 3008 for 494 00:22:07,960 --> 00:22:12,080 service and Counting and probably 400 by 495 00:22:12,080 --> 00:22:14,720 the end of the year and and this will 496 00:22:14,720 --> 00:22:17,799 never stop and so if you try to create 497 00:22:17,799 --> 00:22:20,720 detections by service it works but you 498 00:22:20,720 --> 00:22:23,880 need to to have the other 499 00:22:23,880 --> 00:22:26,960 part so the second part the 500 00:22:26,960 --> 00:22:28,640 misconfiguration configuration 501 00:22:28,640 --> 00:22:30,919 everywhere right you create an account 502 00:22:30,919 --> 00:22:33,120 and misconfigurations are there already 503 00:22:33,120 --> 00:22:35,080 before you 504 00:22:35,080 --> 00:22:37,960 so what is a cloud misconfiguration 505 00:22:37,960 --> 00:22:39,400 cloud misconfiguration refer to any 506 00:22:39,400 --> 00:22:41,600 glitch gaps or errors that could expose 507 00:22:41,600 --> 00:22:44,799 your environment to risk during Cloud 508 00:22:44,799 --> 00:22:48,760 adoption and this issue cause 880,000 509 00:22:48,760 --> 00:22:52,640 per of all thata security brids and what 510 00:22:52,640 --> 00:22:54,640 what is the problem the problem is that 511 00:22:54,640 --> 00:22:58,360 we have like the AWS defa I have a full 512 00:22:58,360 --> 00:23:01,320 talk about this but I start but to 513 00:23:01,320 --> 00:23:03,880 summarize I create an account and create 514 00:23:03,880 --> 00:23:06,159 an administrator user and I start say 515 00:23:06,159 --> 00:23:08,640 okay what kind of problem I have now 516 00:23:08,640 --> 00:23:11,520 with just an account with admin user and 517 00:23:11,520 --> 00:23:15,159 so I add a ec2 instance and so now what 518 00:23:15,159 --> 00:23:17,480 kind of problem that I I have the 519 00:23:17,480 --> 00:23:20,039 misconfiguration and so what I have for 520 00:23:20,039 --> 00:23:23,480 S3 and so like misconfigurations will be 521 00:23:23,480 --> 00:23:24,880 in your account doesn't matter if you 522 00:23:24,880 --> 00:23:27,600 want or not and but you need to you 523 00:23:27,600 --> 00:23:31,279 could fix and what I think here was why 524 00:23:31,279 --> 00:23:34,400 not detect on the Fly instead of waiting 525 00:23:34,400 --> 00:23:37,080 to run a two or something like 526 00:23:37,080 --> 00:23:41,360 that and so looking on cloud plits we 527 00:23:41,360 --> 00:23:42,799 have a bunch of opportunities for 528 00:23:42,799 --> 00:23:45,240 detection not out checks for cloud plit 529 00:23:45,240 --> 00:23:47,039 you could create a a detection but we 530 00:23:47,039 --> 00:23:50,000 have a lot of room like have almost 531 00:23:50,000 --> 00:23:55,039 18,800 or 18 no 1300 opportuni and for a 532 00:23:55,039 --> 00:23:56,880 itself we have a bunch of 533 00:23:56,880 --> 00:24:00,400 it and if you look on the the clouds 534 00:24:00,400 --> 00:24:02,960 play detection sample they have a lot of 535 00:24:02,960 --> 00:24:06,760 metadata R for you so it's pretty great 536 00:24:06,760 --> 00:24:08,400 to create some detection here because 537 00:24:08,400 --> 00:24:10,640 you have some titles already you have 538 00:24:10,640 --> 00:24:13,640 the service you have the description we 539 00:24:13,640 --> 00:24:15,240 have more information we have 540 00:24:15,240 --> 00:24:16,799 documentation you have the 541 00:24:16,799 --> 00:24:19,919 recommendation right and so with that 542 00:24:19,919 --> 00:24:21,640 you could create an based on the cloud 543 00:24:21,640 --> 00:24:24,760 trail and so what what is the action 544 00:24:24,760 --> 00:24:27,159 relate with this action so why I'm going 545 00:24:27,159 --> 00:24:31,039 to wait my cspm run if I could detection 546 00:24:31,039 --> 00:24:33,720 on almost near Real Time with cloud 547 00:24:33,720 --> 00:24:35,919 trail 548 00:24:35,919 --> 00:24:40,360 and and so for example the for the 549 00:24:40,360 --> 00:24:42,279 security group 550 00:24:42,279 --> 00:24:45,000 stuff we have the event name called 551 00:24:45,000 --> 00:24:47,880 aoide security groups Ingress the 552 00:24:47,880 --> 00:24:50,360 request parameters you come here with IP 553 00:24:50,360 --> 00:24:53,559 protocol minus one that's all and with 554 00:24:53,559 --> 00:24:58,480 the CDR IP 00 and so so this giv me an 555 00:24:58,480 --> 00:25:00,720 opportunity like okay somebody's 556 00:25:00,720 --> 00:25:03,159 creating a security 557 00:25:03,159 --> 00:25:06,799 group that's allowing for 558 00:25:06,799 --> 00:25:09,080 anyway and and it could be like some 559 00:25:09,080 --> 00:25:12,120 specific part doesn't need to be out 560 00:25:12,120 --> 00:25:14,320 right and so if when you have the 561 00:25:14,320 --> 00:25:16,679 response you have is agress false 562 00:25:16,679 --> 00:25:18,679 because is a Ingress right the be 563 00:25:18,679 --> 00:25:20,880 protocol from part to part CDR so you 564 00:25:20,880 --> 00:25:22,320 have the response element that as 565 00:25:22,320 --> 00:25:24,559 success is was created and so you could 566 00:25:24,559 --> 00:25:26,720 say okay who created that and so could 567 00:25:26,720 --> 00:25:29,960 try to fix on real 568 00:25:29,960 --> 00:25:33,279 time and some good cats like cross cross 569 00:25:33,279 --> 00:25:36,000 account creation right cross cross 570 00:25:36,000 --> 00:25:38,880 account creation could be a way 571 00:25:38,880 --> 00:25:41,960 to how can I say to infiltrate 572 00:25:41,960 --> 00:25:46,320 data uh public snapshot public S3 573 00:25:46,320 --> 00:25:49,720 buckets public Ami public EBS and all 574 00:25:49,720 --> 00:25:51,399 those service that could be public I 575 00:25:51,399 --> 00:25:53,840 could create a detection at cloud trail 576 00:25:53,840 --> 00:25:56,679 using the event name plus the request 577 00:25:56,679 --> 00:26:00,080 parameters oh ec2 with metadata V2 578 00:26:00,080 --> 00:26:02,840 disable and this is a a very nice 579 00:26:02,840 --> 00:26:05,960 protection and I think like the I think 580 00:26:05,960 --> 00:26:08,919 it's data dog report like if I'm not 581 00:26:08,919 --> 00:26:13,480 wrong like 93 or 97% of the the instance 582 00:26:13,480 --> 00:26:17,360 start they check was with the metadata 583 00:26:17,360 --> 00:26:20,320 V1 and so that's there's a bunch of fix 584 00:26:20,320 --> 00:26:22,279 already that you could but you need to 585 00:26:22,279 --> 00:26:24,440 change the infrastructure as a code you 586 00:26:24,440 --> 00:26:27,200 like so it's to born with the correct 587 00:26:27,200 --> 00:26:28,880 parameter 588 00:26:28,880 --> 00:26:32,360 and VPC Point VP Point like why do you 589 00:26:32,360 --> 00:26:35,720 use VPC Point okay my data this service 590 00:26:35,720 --> 00:26:38,039 could not go to the Internet so I use 591 00:26:38,039 --> 00:26:40,240 VPC endpoint so everything will be 592 00:26:40,240 --> 00:26:42,880 inside and but by default VPC endpoint 593 00:26:42,880 --> 00:26:45,840 po allows you to send data to any 594 00:26:45,840 --> 00:26:48,320 research at AWS any research means if I 595 00:26:48,320 --> 00:26:50,679 create an account I'm internal and so 596 00:26:50,679 --> 00:26:52,440 this is really really interesting there 597 00:26:52,440 --> 00:26:56,600 is a some talks at YouTube talking about 598 00:26:56,600 --> 00:26:58,120 that 599 00:26:58,120 --> 00:27:00,520 and attack tool paths and action here 600 00:27:00,520 --> 00:27:02,880 I'm just trying to show like some some 601 00:27:02,880 --> 00:27:05,360 some Basics if you're using the attach 602 00:27:05,360 --> 00:27:09,640 user poish uh to privilege Cal using the 603 00:27:09,640 --> 00:27:13,120 aw CLI how many actions are going to be 604 00:27:13,120 --> 00:27:18,960 logged one just one that's pretty 605 00:27:18,960 --> 00:27:21,600 straight if you're using the web console 606 00:27:21,600 --> 00:27:23,720 you you just need to log right and so 607 00:27:23,720 --> 00:27:26,960 after log you go to IM I go straight to 608 00:27:26,960 --> 00:27:30,559 the IM and so attach the Poli to user 609 00:27:30,559 --> 00:27:34,080 and so we have like a bunch of actions 610 00:27:34,080 --> 00:27:37,640 going on until arrive on the attach user 611 00:27:37,640 --> 00:27:40,760 Poli and if you're using 612 00:27:40,760 --> 00:27:46,760 paku I run the I am prevas uh model and 613 00:27:46,760 --> 00:27:49,880 so it's confirmed as tou user 614 00:27:49,880 --> 00:27:54,200 polace and so just to confirm I became 615 00:27:54,200 --> 00:27:56,519 like administrator access 616 00:27:56,519 --> 00:27:58,840 here 617 00:27:58,840 --> 00:28:00,720 and those are the actions that were 618 00:28:00,720 --> 00:28:02,760 generated by the user so you got a color 619 00:28:02,760 --> 00:28:05,640 DED and so you got the Leist group for 620 00:28:05,640 --> 00:28:07,799 uses get polish blah blah blah until 621 00:28:07,799 --> 00:28:11,519 here so it's not directed 622 00:28:11,519 --> 00:28:15,279 as CL as the CLI but it's not to noise 623 00:28:15,279 --> 00:28:16,360 as 624 00:28:16,360 --> 00:28:20,120 the so what do mean if you're using a 625 00:28:20,120 --> 00:28:22,360 CLI you just have the right permission 626 00:28:22,360 --> 00:28:24,760 amendments in one service total of one 627 00:28:24,760 --> 00:28:28,120 if you use the paku you have seven with 628 00:28:28,120 --> 00:28:31,360 one and so the idea here is to start to 629 00:28:31,360 --> 00:28:34,440 look on Ros and so just one service and 630 00:28:34,440 --> 00:28:37,360 total of eight actions and so we have 631 00:28:37,360 --> 00:28:40,840 the web console that have like 85 AC R 632 00:28:40,840 --> 00:28:42,720 actions and just one permission 633 00:28:42,720 --> 00:28:44,919 managment and it's like trigger like 634 00:28:44,919 --> 00:28:46,840 nine servers the event 635 00:28:46,840 --> 00:28:51,559 service and this is not a detection by 636 00:28:51,559 --> 00:28:54,279 itself but if you look like okay the 637 00:28:54,279 --> 00:28:55,919 user attach a policy and so you come 638 00:28:55,919 --> 00:28:58,039 back to that that that attach to their 639 00:28:58,039 --> 00:29:00,440 po I showed before that you could create 640 00:29:00,440 --> 00:29:02,679 some based on naming or you could try to 641 00:29:02,679 --> 00:29:05,559 create something that that you check the 642 00:29:05,559 --> 00:29:07,240 the the K 643 00:29:07,240 --> 00:29:10,320 database and that and prev key user 644 00:29:10,320 --> 00:29:13,000 contest and besides that you could pick 645 00:29:13,000 --> 00:29:16,519 the key and see the this key based on 646 00:29:16,519 --> 00:29:20,279 the Vegas database drinking idea uh this 647 00:29:20,279 --> 00:29:23,240 key this this key uses to use these 648 00:29:23,240 --> 00:29:25,360 action or those servers and so this this 649 00:29:25,360 --> 00:29:28,480 could be really interesting 650 00:29:28,480 --> 00:29:31,760 part and just to finish the tools like 651 00:29:31,760 --> 00:29:34,240 you have end game tool end game is a 652 00:29:34,240 --> 00:29:38,159 tool for creating back doors in AWS when 653 00:29:38,159 --> 00:29:41,720 they released they got insane at Reddit 654 00:29:41,720 --> 00:29:45,840 so like a lot of things happens that day 655 00:29:45,840 --> 00:29:50,080 and it share like it share like your 656 00:29:50,080 --> 00:29:53,840 service with uh make it public or share 657 00:29:53,840 --> 00:29:56,440 with another account and so the back 658 00:29:56,440 --> 00:29:58,120 door resarch start that's the kind of 659 00:29:58,120 --> 00:30:00,840 back door you could trigger and if you 660 00:30:00,840 --> 00:30:03,519 look on those actions you have this so 661 00:30:03,519 --> 00:30:06,279 for this service we have this Cloud for 662 00:30:06,279 --> 00:30:10,039 event with this with this uh request 663 00:30:10,039 --> 00:30:13,720 parameters and so again I it's not a 664 00:30:13,720 --> 00:30:17,399 silver bullet I could not add this to my 665 00:30:17,399 --> 00:30:20,799 to my c k cing and and have everything 666 00:30:20,799 --> 00:30:23,039 being alert I need to have context and 667 00:30:23,039 --> 00:30:25,200 so everything by the end like this is 668 00:30:25,200 --> 00:30:28,440 just triggers and triggers will ask like 669 00:30:28,440 --> 00:30:33,360 on my on my AWS look up the 670 00:30:33,760 --> 00:30:37,880 Beast some conclusions cuz I think 671 00:30:37,880 --> 00:30:42,000 I'm less minutes uh no what you have 672 00:30:42,000 --> 00:30:46,519 running uh Ry Remy did some blog post 673 00:30:46,519 --> 00:30:48,559 that's really interesting like he 674 00:30:48,559 --> 00:30:50,840 started to remove service that they they 675 00:30:50,840 --> 00:30:53,399 they they his company was not using and 676 00:30:53,399 --> 00:30:57,000 so after that they decreased like in 80% 677 00:30:57,000 --> 00:30:58,799 d amount of service that he need to take 678 00:30:58,799 --> 00:31:01,760 care of because he just deny at the SCP 679 00:31:01,760 --> 00:31:04,279 level so that's that's sounds like a 680 00:31:04,279 --> 00:31:06,559 plan understand the uncommon service 681 00:31:06,559 --> 00:31:08,039 make sure like if you're using something 682 00:31:08,039 --> 00:31:09,600 that's not common make sure you have 683 00:31:09,600 --> 00:31:11,880 detections you you you know what could 684 00:31:11,880 --> 00:31:15,039 happen from there make sure you're alert 685 00:31:15,039 --> 00:31:16,919 for everything that have sensitive data 686 00:31:16,919 --> 00:31:20,039 know your company context like uh a 687 00:31:20,039 --> 00:31:23,559 detection it's not all the times serves 688 00:31:23,559 --> 00:31:26,399 to everybody you need like to to have 689 00:31:26,399 --> 00:31:28,559 the context about your business as I I 690 00:31:28,559 --> 00:31:31,639 showed that the AWS stuff like for One 691 00:31:31,639 --> 00:31:34,360 customer 200 in a month and for other 692 00:31:34,360 --> 00:31:38,279 like 5K in a day 15K in a day research 693 00:31:38,279 --> 00:31:40,639 and share because like if you share as 694 00:31:40,639 --> 00:31:42,399 more you share like what do you do like 695 00:31:42,399 --> 00:31:44,120 more people could 696 00:31:44,120 --> 00:31:46,760 could improve their 697 00:31:46,760 --> 00:31:49,000 detections and that's it that's my 698 00:31:49,000 --> 00:31:52,080 context thank you very 699 00:31:56,159 --> 00:31:58,360 much 700 00:31:58,360 --> 00:32:00,159 thanks Rodrigo 701 00:32:00,159 --> 00:32:03,519 so uh any questions outside all right no 702 00:32:03,519 --> 00:32:06,080 do matter if anyone has questions um R 703 00:32:06,080 --> 00:32:10,199 will be available in the hallway upsite