[00:00.000 --> 00:05.060] Alright guys, if I can get your attention, please. Eyes up front, please. Eyes up front. Come on, come on, come on. [00:05.060 --> 00:07.500] I know it's coming close to lunch, and Eric, my guy, you're all hungry. [00:07.580 --> 00:09.960] Setu here has some very important things to say to you. [00:09.980 --> 00:13.980] I want you to listen clearly, and I want you to be ready, potentially, at the end, [00:13.980 --> 00:15.800] for some questions and answers and everything like that. [00:15.800 --> 00:20.020] I know you're going to be a good audience. If you guys choose to get up during the thing, [00:20.020 --> 00:23.560] or take off and leave, be quiet, please, be considerate of everyone else. [00:23.560 --> 00:25.700] These doors make a lot of noise. Okay? [00:25.840 --> 00:28.740] So I'm going to sign off from all that right there. I'm going to leave it up to you, Setu. [00:28.740 --> 00:30.480] And thank you, and a round of applause, guys. [00:34.700 --> 00:37.220] Thanks. Hello, everyone. [00:37.240 --> 00:37.940] Hello. [00:38.820 --> 00:44.620] So, welcome to Las Vegas. Welcome to DEF CON, and welcome to Cloud Village. [00:45.060 --> 00:51.040] So, myself, I'm Setu, and I'm a cloud security architect, working at TechSoup Ops, [00:51.040 --> 00:55.000] and at the same time, I work for a couple of financial organizations as well, [00:55.000 --> 00:57.800] taking care of cloud-native infrastructure security aspects. [00:58.260 --> 01:01.960] So, before going to the talk, this is my first presentation at DEF CON, [01:01.960 --> 01:06.140] and if I'm not clear, and if you're not able to follow my talk, [01:06.140 --> 01:09.320] you're always welcome to reach out back to me, and then I can help, [01:09.320 --> 01:12.400] because I'll be standing at the end, and I can help you with your questions. [01:14.920 --> 01:21.080] So, in my organization, the most important tough thing that I felt, [01:21.080 --> 01:24.460] and our organization felt, is we have too many accounts, [01:24.460 --> 01:29.320] and achieving compliance across all these accounts is a huge complication for us, [01:29.320 --> 01:34.080] until or unless we have a $300,000 cloud security product, [01:34.080 --> 01:38.300] or a huge security engineering team who does all the automation and other things for us. [01:38.460 --> 01:46.280] So, we wanted to make sure all the security policies across all the accounts are standardized, [01:46.280 --> 01:49.960] and there should be a single central source of truth, [01:49.960 --> 01:53.560] and we wanted to automate it as much as possible, [01:53.560 --> 01:56.180] and provide all those reports to the compliance team, [01:56.180 --> 01:58.960] and at the same time, we wanted to be secure. [01:59.260 --> 02:03.300] So, at the same time, the number of accounts are too many, right? [02:03.300 --> 02:09.200] So, auditing each and every individual account at scale is a huge manual audit process for us, [02:09.200 --> 02:15.680] and we were doing it on an ad hoc basis, but we were not able to automate it. [02:16.800 --> 02:23.400] This tool from T-Mobile is a pretty open-source and enterprise-ready tool, [02:23.400 --> 02:25.900] and we were using this for the past three years, [02:25.900 --> 02:28.880] and I was contributing for the open-source project as well, [02:28.880 --> 02:33.120] and thought like giving a presentation on this open-source product. [02:34.160 --> 02:37.520] So, the solution is pretty much we wanted to automate as much as possible, [02:37.520 --> 02:42.700] so we write all those policies and rules and controls as a code, [02:42.700 --> 02:47.760] and give it to PackBot, and PackBot can go ahead and run all these rules [02:47.760 --> 02:51.440] across all the assets in your fleet of accounts. [02:51.980 --> 02:54.280] So, we have automated the compliance rules, [02:54.280 --> 02:57.360] and we have automated reporting on a periodic basis. [02:57.360 --> 03:02.420] We send out the reports back to our compliance team for our regulations requirements. [03:02.500 --> 03:05.480] At the same time, the best part is we don't just report it, [03:05.480 --> 03:08.860] we take actionable insights on top of our reports. [03:08.860 --> 03:14.440] So, if there is any public history bucket, PackBot will be able to automatically close that [03:14.440 --> 03:18.580] and make it private using automated patches. [03:19.760 --> 03:22.080] And a quick introduction about PackBot. [03:22.080 --> 03:26.740] So, it's a platform for continuous compliance monitoring and compliance automation [03:26.740 --> 03:32.180] where we do auto-fixes for the vulnerabilities and compliance violations at scale, [03:32.180 --> 03:36.700] and you can always write new rules, and it's pretty flexible. [03:36.700 --> 03:38.780] The REST API is open source. [03:38.780 --> 03:44.280] You can write your auto-fixes as well, and you can customize it to your enterprise requirements. [03:46.180 --> 03:49.000] Coming to the architecture of PackBot. [03:49.000 --> 03:52.700] So, we pretty much have a data collector and a rule engine. [03:52.720 --> 03:56.380] What we do is we use AWS Lambda function and cross-account rules [03:56.380 --> 04:00.260] to go ahead and log into each and every account, [04:00.260 --> 04:03.040] and then grab all the assets from every account, [04:03.040 --> 04:07.760] and store it in a history bucket, and then ship it to Redshift. [04:07.760 --> 04:11.960] And then what we do is we run compliance rules against all these assets. [04:12.200 --> 04:18.300] So, each and every asset will be having 10 or 15 rules run against it. [04:18.340 --> 04:22.020] So, we'll be going ahead and monitoring the compliance at scale, [04:22.020 --> 04:26.080] and we won't be missing any resources that are non-compliant. [04:26.080 --> 04:28.520] So, initially, we were using AWS config. [04:28.520 --> 04:32.880] We have 40 rules per account, and each rule is $2. [04:32.880 --> 04:35.000] And just for the compliance of one account, [04:35.000 --> 04:39.460] it costed us $200 to $400 for just one account. [04:39.460 --> 04:45.520] And we use DevTestProd and UAT for each application. [04:45.520 --> 04:47.840] We wanted to make sure, in case of a breach, [04:47.840 --> 04:51.700] we wanted to reduce our blast radius, [04:51.700 --> 04:55.670] and we segregated it on this production workload, [04:55.670 --> 04:58.630] performance-based and application-based. [04:58.790 --> 05:01.510] And then all these results will be sent to Elasticsearch, [05:01.510 --> 05:04.370] and on top of Elasticsearch, we have the UI, [05:04.370 --> 05:06.530] which will be running using Angular and Node, [05:06.530 --> 05:08.890] and it will be a very powerful UI, [05:08.890 --> 05:13.930] and it's one of the best open-source UIs that I have seen till now. [05:14.030 --> 05:16.170] And there's an application load balancer, [05:16.170 --> 05:19.670] so that 80% of the application is completely serverless. [05:19.670 --> 05:22.450] The cost for running this is also very less. [05:22.450 --> 05:25.670] We use ECS, EKS, AWS Fargate, [05:25.670 --> 05:29.330] and all this container and serverless services. [05:29.890 --> 05:37.630] And at the end, we will be able to see a lot of cost savings, [05:37.630 --> 05:40.790] because once I onboarded this tool at a couple of organizations [05:40.790 --> 05:42.590] that I was working, [05:42.590 --> 05:47.410] they were able to get rid of their enterprise cloud security rule tools, [05:47.410 --> 05:50.170] which are costing like $300,000 per year for them, [05:50.170 --> 05:52.630] and it's a huge cost savings for them. [06:11.810 --> 06:14.450] So you log into the dashboard of PackBot, [06:14.450 --> 06:19.850] and here you'll be seeing a single view of your entire cloud environment. [06:20.050 --> 06:24.130] So here you'll be able to see the overview of how many policies are available [06:24.130 --> 06:27.770] and how many policies were failed, how many audits were failed, [06:27.770 --> 06:29.490] how many audits passed. [06:29.570 --> 06:32.390] At the same time, you'll be able to see the total number of violations, [06:32.390 --> 06:34.790] and these all violations have been categorized [06:34.790 --> 06:37.550] in terms of high, medium, low, and critical. [06:37.550 --> 06:39.770] So you'll be able to see the number of critical vulnerabilities [06:39.770 --> 06:44.370] and take immediate actions on top of these policy violations. [06:44.790 --> 06:50.250] And all these policies have been categorized across four categories. [06:50.250 --> 06:53.910] So we use compliance, tagging, cost optimization, and security. [06:54.070 --> 06:57.890] So an example for security is if there is a public read-write bucket, [06:57.890 --> 07:00.090] it will be mentioned here, and the cost optimization is [07:00.090 --> 07:03.890] if there are any EBS volumes that are not used [07:03.890 --> 07:06.410] or any underutilized instances, [07:06.410 --> 07:08.410] you'll be getting on under those things. [07:08.950 --> 07:15.450] And then moving forward, you'll be able to view the overall compliance portion of it. [07:17.030 --> 07:18.910] And we use tagging. [07:18.910 --> 07:21.050] We wanted to make sure all of our resources are tagged [07:21.770 --> 07:24.610] across all of our accounts just for compliance [07:24.610 --> 07:27.450] because we have a few applications under PCS scope [07:27.450 --> 07:29.690] and a few applications under non-PCS scope. [07:29.690 --> 07:34.250] So we wanted to treat those applications with extra compliance requirements. [07:34.250 --> 07:38.670] So we add tags and then you will be able to see [07:38.670 --> 07:43.370] the number of vulnerabilities and how many assets were untagged in it. [07:45.210 --> 07:50.210] It will be a graph of number of compliance violations over the period of time. [07:50.430 --> 07:52.850] So you'll be able to see some pretty good visualizations [07:52.850 --> 07:57.470] and you'll be able to sort the policies based on the categories [07:57.470 --> 08:00.750] that I mentioned earlier, cost optimization, security, and all the other things. [08:00.750 --> 08:03.650] So when you click on one individual policy, [08:03.650 --> 08:08.750] you will be able to see how many resources and how many issues are under that policy. [08:09.310 --> 08:11.550] And also the compliance trend of it. [08:11.670 --> 08:16.790] So there are like 564 assets that are being scanned for S3 buckets, [08:16.790 --> 08:18.190] whether they are public or not. [08:18.190 --> 08:22.150] So we wanted to make sure we won't be another capital war [08:22.150 --> 08:26.670] on any other organization breach due to S3 misconfigurations. [08:26.670 --> 08:30.810] So we will be able to sort them out based on the application tag as well. [08:30.810 --> 08:34.590] So we have internal tags based on every application. [08:35.910 --> 08:42.490] And then you should be able to view all the admin panel and all the statistics. [08:42.690 --> 08:44.510] And it's a complete open source product. [08:44.510 --> 08:49.130] So pretty much I like it in terms of enterprise use. [08:49.350 --> 08:53.730] And if you go to assets, you will be able to see all your configuration management [08:53.730 --> 08:59.610] and number of assets that we are monitoring using PackBot across our 200 plus accounts. [08:59.610 --> 09:01.610] So this is a pretty... [09:02.270 --> 09:06.810] So based on this, we will be able to say that PackBot is not just for one account. [09:06.810 --> 09:09.790] It's not scalable or something because we use serverless and containers [09:09.790 --> 09:13.310] and it's all in the ALB as well, so auto scaling is being used. [09:13.310 --> 09:14.670] So it's completely scalable. [09:15.450 --> 09:20.210] So we were able to monitor as many accounts as we can. [09:21.630 --> 09:25.830] And there is an omni-search bar here, like you can search for assets [09:25.830 --> 09:27.270] using a single pane. [09:27.270 --> 09:32.470] So the issue that we were facing is initially we used to use Cloud Custodian [09:32.470 --> 09:35.070] and it doesn't have a UI, right? [09:35.070 --> 09:40.890] It just shows us the resources that got failed as per the compliance audits. [09:40.890 --> 09:44.850] So we were having a tough time in searching for all these resources. [09:44.850 --> 09:46.730] Which account does this resource belong to? [09:46.730 --> 09:48.170] We were having a tough time. [09:48.290 --> 09:53.570] So using this, we were able to filter down based on the resource [09:53.570 --> 09:54.870] and then based on the regions. [09:54.870 --> 09:58.090] And then we were able to isolate and get the right assets. [09:58.090 --> 10:00.370] And we were able to search, like for example, [10:00.370 --> 10:03.990] we will be scanning all our EIP addresses externally [10:03.990 --> 10:09.050] just to make sure no ports are being probed or being exposed [10:09.050 --> 10:10.210] sensitive ports. [10:10.210 --> 10:12.710] We use Shoredan Monitor and then we scan them continuously, [10:12.710 --> 10:14.790] the entire external IP range. [10:14.790 --> 10:18.550] So we find an external IP on Shoredan Monitor [10:18.550 --> 10:22.030] and we wanted to know to which account that IP belongs to. [10:22.030 --> 10:24.490] So we were having a very tough time in doing that [10:24.490 --> 10:27.130] and using this OmniSearch place, [10:27.130 --> 10:29.570] we were able to just put that IP and then hit enter. [10:29.570 --> 10:32.730] We'll be getting all the information about that public IP [10:32.730 --> 10:35.470] and which account it is and which server is using that [10:35.470 --> 10:38.570] and we'll be able to take immediate actions on top of it. [10:40.510 --> 10:43.790] So this is a place where we are able to see, like, [10:43.790 --> 10:46.050] if there is a resource, we were able to see, like, [10:46.050 --> 10:50.530] how many compliance rules were being audited against that resource [10:50.530 --> 10:53.090] and we'll be able to see a security poster, [10:53.090 --> 10:55.310] like, overall it is 98% compliant. [10:55.370 --> 10:58.910] So we understand that there are a few rules that are failing. [10:59.030 --> 11:01.310] So we'll see what are the rules and then we'll take, [11:01.310 --> 11:03.110] we'll ask those developer teams or the DevOps team [11:03.110 --> 11:07.170] to take necessary actions to make it compliant. [11:11.720 --> 11:14.700] So that's about the compliance pane. [11:14.800 --> 11:18.100] And we tag it based on our internal requirements. [11:18.280 --> 11:21.520] So we have, tagging is something very tough, even for developers. [11:21.520 --> 11:24.280] They just run a CloudFormation tag and a Formation script [11:24.280 --> 11:27.640] and then they wanted to make sure they have to tag each and every resources. [11:27.780 --> 11:30.540] So initially we had a tough time in making those developers to tag [11:30.540 --> 11:34.380] all their resources based on application and stacks, [11:34.380 --> 11:35.500] but we were able to achieve it. [11:35.500 --> 11:38.720] And then we were monitoring the systems manager patch compliance. [11:38.720 --> 11:40.460] We have so many servers and we wanted to make sure [11:40.460 --> 11:43.240] all the servers are patched at scale. [11:43.240 --> 11:44.900] So we even have a trend. [11:44.900 --> 11:47.520] Initially, when we deployed PackBot, [11:47.520 --> 11:50.160] there are so many unpatched servers online. [11:50.160 --> 11:52.960] And then later we went ahead and we patched all the servers [11:52.960 --> 11:55.460] and you can able to see the graph trend increasing, [11:55.460 --> 11:59.200] number of unpatched servers or the servers that failed the audit [11:59.200 --> 12:01.060] reduced drastically. [12:02.320 --> 12:07.000] All these reports we will be exporting to the Cloud Console team internally [12:07.000 --> 12:10.360] so that the developers will take immediate actions [12:10.360 --> 12:12.040] instead of giving excuses. [12:12.320 --> 12:14.100] So the other thing is like, [12:14.100 --> 12:17.800] if you want to export all these resource policy violations, [12:17.800 --> 12:19.820] you can just click on the download button [12:19.820 --> 12:23.260] and then all those results will be exported in an Excel sheet, [12:23.260 --> 12:26.240] which you can later share it with the developer team [12:26.240 --> 12:27.800] and other teams respectively. [12:27.800 --> 12:31.120] So this is a statistics page, [12:31.120 --> 12:35.240] which always my compliance team goes ahead and watches all the time. [12:35.240 --> 12:38.420] So here we'll be able to see how many assets we are monitoring, [12:38.420 --> 12:39.820] how many accounts we are monitoring, [12:39.820 --> 12:43.500] and how many policy violations are there and everything. [12:46.860 --> 12:49.140] So that's a quick demo. [12:51.580 --> 12:54.380] And when I mentioned about the policies and rules, [12:54.380 --> 12:55.600] they are highly customizable. [12:55.880 --> 12:58.940] It's written in Java, so you can always write more rules [12:58.940 --> 13:00.860] as per your organization requirements. [13:01.040 --> 13:05.300] And as of now, we have 100 plus rules out of the box. [13:05.300 --> 13:07.220] You don't have to write anything new. [13:07.460 --> 13:10.560] All these things will be installed by default. [13:10.680 --> 13:13.400] And the deployment is also very smooth. [13:13.400 --> 13:15.440] So we have a Terraform script. [13:15.440 --> 13:16.680] If you run the Terraform script, [13:16.680 --> 13:19.380] the entire PackBot setup will be up and running for you [13:19.380 --> 13:21.200] in less than 15 minutes. [13:22.280 --> 13:25.100] And we have the overview dashboard, [13:25.100 --> 13:26.840] which is shown in the demo. [13:27.020 --> 13:29.620] And the other thing which we noticed is we wanted to make sure [13:29.620 --> 13:31.420] there are some accounts. [13:31.420 --> 13:33.340] For example, there is an application which is being shared [13:33.340 --> 13:35.040] by two business units. [13:35.180 --> 13:38.340] So we wanted to group those assets based on those business units. [13:38.340 --> 13:42.480] And then we found the PackBot assets group being very helpful for us. [13:42.480 --> 13:48.060] And we run targeted rules as per that resource group or asset group. [13:48.840 --> 13:52.740] If you see here, we have resource groups and asset groups [13:52.740 --> 13:55.600] based on the application here. [13:56.420 --> 13:58.820] And the configuration management is as simple as that. [13:58.820 --> 14:00.660] You have a single pane of UI. [14:00.660 --> 14:02.960] You don't have to go ahead, log into the RDS server [14:02.960 --> 14:05.320] or log into the ES Shipper, [14:05.320 --> 14:07.300] and then make all the configuration changes. [14:07.320 --> 14:10.040] You can do everything from the UI itself. [14:10.040 --> 14:13.640] There are three main configurations here. [14:13.660 --> 14:16.160] One is the batch, and the second one is the rules, [14:16.160 --> 14:17.560] and the third one is the API. [14:18.420 --> 14:21.980] I highly work on the rules because I keep writing more and more rules [14:21.980 --> 14:23.180] for my organization. [14:24.480 --> 14:27.680] This feature is very helpful for me as an engineer. [14:28.540 --> 14:32.620] And then you will be able to see and you will be able to also send [14:32.620 --> 14:35.940] an email to the respective business unit or a distribution list [14:35.940 --> 14:38.500] saying that this is a policy violation, [14:38.500 --> 14:39.980] and you can send an email. [14:40.260 --> 14:43.600] You can just export it as an image, [14:43.600 --> 14:46.000] and then you can share it with your business units [14:46.880 --> 14:49.860] if there are very immediate actions that are required. [14:50.720 --> 14:53.600] And other things are, like, I always get back from the developer [14:53.600 --> 14:59.120] saying, like, they wanted to have an exception for the next 10 or 15 days [14:59.120 --> 15:00.160] to patch it. [15:00.200 --> 15:03.500] So as a security engineer, I have to make sure, like, [15:03.500 --> 15:05.740] after 15 days, I have to do a follow-up with them, [15:05.740 --> 15:09.200] and then I have to make sure they remediate those security findings. [15:09.200 --> 15:13.820] And it was a huge manual process, and I wanted to automate it. [15:14.180 --> 15:17.220] I added a feature, and T-Mobile team is, like, damn awesome. [15:17.220 --> 15:20.220] They released it as a feature, like, you can add exceptions [15:20.720 --> 15:22.740] to each and every policy violation. [15:22.840 --> 15:26.120] And when you click on Add Exception, you'll be able to set a date, [15:26.120 --> 15:28.360] till what date that exception is valid. [15:28.420 --> 15:31.940] And if it passes beyond that date, again, it will be coming back [15:31.940 --> 15:34.840] to our policy violation queue, and we will be doing a follow-up [15:34.840 --> 15:36.400] with the security analysts. [15:36.400 --> 15:38.480] We'll do a follow-up with the business units. [15:40.820 --> 15:44.160] Other scenario is, like, we have a security group, [15:44.160 --> 15:48.740] or we have a DMZ network, and we wanted to make sure [15:49.720 --> 15:54.200] the servers inside the DMZ network doesn't get policy violations [15:54.200 --> 15:57.980] just because they have a security group with 0.0.0.0. [15:57.980 --> 16:01.680] So the purpose is, if it is a DMZ, it should be open to the internet, right? [16:01.680 --> 16:05.140] And we don't want the pack board to keep on hitting it [16:05.140 --> 16:08.200] as a policy violation, so we can write sticky exceptions. [16:08.280 --> 16:11.820] Like, you can configure it, and you can create, [16:11.820 --> 16:15.420] you can select the asset group, and then what is the exception name, [16:15.420 --> 16:18.740] and then just write the expiry date, [16:18.740 --> 16:21.240] what time this sticky exception should be valid. [16:21.240 --> 16:23.240] You can set the date, and then you can go ahead [16:23.240 --> 16:25.000] and choose your target types. [16:25.320 --> 16:28.800] Like, for example, in our scenario, they are the EC2 servers [16:28.800 --> 16:32.040] and other container clusters. [16:32.720 --> 16:35.300] So we added the exceptions as well. [16:35.980 --> 16:42.760] And this is something, among these five jobs, [16:42.760 --> 16:45.060] the last two are available open source, [16:45.060 --> 16:47.800] and the first three are my company, [16:48.400 --> 16:50.680] the organization where I work, we wrote customization. [16:50.680 --> 16:54.980] So it's like we have used a couple of container security products, [16:54.980 --> 16:57.420] and we wanted to import all those findings into pack board [16:57.420 --> 16:58.940] for monitoring purposes. [16:59.240 --> 17:01.600] And we have a static code analysis tool, [17:01.600 --> 17:04.460] and we want to make sure all those issues are imported as well. [17:04.500 --> 17:06.940] And we have a container vulnerability scanning [17:06.940 --> 17:08.640] and host vulnerability scanning tool. [17:08.640 --> 17:09.540] We import all those things. [17:09.540 --> 17:12.520] So these are like some custom in-house built plugins [17:12.520 --> 17:14.440] that I have worked on and built at my organization [17:15.120 --> 17:16.400] based on the organization requirements. [17:16.400 --> 17:19.740] But you can always build these kind of plugins [17:19.740 --> 17:20.960] for your organization as well, [17:20.960 --> 17:25.780] and then use them as jobs in your pack board. [17:25.780 --> 17:28.160] So you have already seen this. [17:28.160 --> 17:32.060] It's like we monitor the patch compliance [17:32.060 --> 17:34.800] across all our server fleet and container fleet. [17:35.440 --> 17:38.100] This is an asset dashboard where we have all our assets, [17:38.100 --> 17:39.260] number of assets, [17:39.260 --> 17:43.780] and we'll be able to get our single pane of view here. [17:44.280 --> 17:46.940] And the most important thing that the latest release is like [17:46.940 --> 17:49.420] we are creating auto fixes. [17:49.420 --> 17:52.000] So we don't have to just listen to those, [17:52.660 --> 17:54.140] see those policy violations, [17:54.140 --> 17:56.260] but also we wanted to make sure we take automatic remediations [17:56.260 --> 17:57.680] on top of those violations. [17:57.800 --> 17:59.620] We send out the pack board. [17:59.940 --> 18:03.140] Out of the box, we have like eight or 10 rules right now. [18:03.140 --> 18:06.340] If there is a public bucket exposed to the internet [18:06.340 --> 18:09.500] and it's not as an exception in pack board, [18:09.500 --> 18:12.360] what will happen is pack board will see the violation [18:12.360 --> 18:15.420] and send out an email to the business unit saying that, [18:15.420 --> 18:17.760] hey, this bucket is public and open to the internet. [18:17.760 --> 18:19.020] If you don't close it, [18:19.020 --> 18:22.300] or if you don't request a cybersecurity team to add an exception, [18:22.300 --> 18:25.680] this bucket will be private in the next four or five hours. [18:25.880 --> 18:28.780] So we will be avoiding huge data breaches [18:28.780 --> 18:32.600] using these kinds of auto remediations across the organization. [18:33.320 --> 18:36.900] And as of today, we have like EC2 instances, SSH ports, [18:36.900 --> 18:39.200] or automatically the security group will be closed [18:39.200 --> 18:42.400] and the bucket will be made private. [18:42.400 --> 18:46.220] The Redshift or RDS databases, they'll be private. [18:46.220 --> 18:50.540] So we have a few and there are more coming in future [18:50.540 --> 18:55.800] and you are always welcome to collaborate and write some custom fixes [18:56.360 --> 18:58.900] and contribute to the open source project as well. [19:00.060 --> 19:02.640] And at the end, I would like to just give a huge shout out [19:02.640 --> 19:08.300] to the T-Mobile OSS team who open sourced this fantastic cloud security product [19:08.300 --> 19:11.380] for the entire world for free, literally. [19:11.380 --> 19:14.040] So a shout out to them. [19:14.440 --> 19:15.180] Thank you, everyone. [19:15.180 --> 19:18.160] If you have any questions, you can always reach out to me. [19:18.940 --> 19:24.400] So have you guys built an approval workflow around separation of duties [19:24.400 --> 19:28.180] for the exception changes or is that like an administrative task right now? [19:28.180 --> 19:31.980] So internally, we are using ServiceNow. [19:31.980 --> 19:35.020] And then once that email is sent to an Outlook, [19:35.020 --> 19:38.120] that email will be triggered, triggering a ServiceNow ticket. [19:38.120 --> 19:42.480] And inside ServiceNow, we do the workflow inside ServiceNow. [19:42.480 --> 19:43.160] Thank you. [19:44.040 --> 19:46.800] Managing IAM roles is always a headache. [19:46.800 --> 19:49.700] Yes, they are. [19:49.700 --> 19:52.180] So for example, if there is a role which is saying like [19:52.920 --> 19:55.260] easy to run instances privileges, [19:55.880 --> 20:00.600] there is a policy saying like unapproved IAM role has easy to run [20:00.600 --> 20:04.600] or unapproved IAM role has network permissions. [20:04.640 --> 20:06.720] So all those IAM roles, I love that one, actually. [20:06.720 --> 20:08.040] It was very helpful for me. [20:08.040 --> 20:10.120] All those IAM roles will be listed under one policy [20:10.120 --> 20:13.060] and then you can export it and ask those guys to fix it. [20:22.640 --> 20:23.720] Yeah. [20:25.360 --> 20:26.160] Yes. [20:27.140 --> 20:27.700] So... [20:29.100 --> 20:29.880] Yes. [20:29.880 --> 20:32.500] So, yes and no. [20:32.500 --> 20:35.880] Yes, in the sense we use Azure AD authentication and then... [20:36.780 --> 20:38.100] Oh, yeah, I can repeat the question. [20:38.100 --> 20:42.940] So he was saying like even the developer teams wants access to PackBot. [20:43.020 --> 20:46.520] The DevOps folks already always want to monitor it as well, right? [20:46.520 --> 20:49.520] So the developers of DevOps, they will request access to PackBot [20:49.520 --> 20:53.820] and provide this kind of open source tool providing access to every... [20:53.820 --> 20:56.680] There is no... there are some tweaks that needs to be done. [20:56.760 --> 21:00.200] So in my organization, how I figured it out is like we use Azure AD [21:00.200 --> 21:04.240] and then we are using role-based access controls using Azure AD [21:04.240 --> 21:07.440] and then I created asset groups and based on those asset groups, [21:07.440 --> 21:12.060] I have literally isolated the business units and then I gave permissions to them. [21:12.060 --> 21:16.080] So we have to write as per our organization requirements internally. [21:16.080 --> 21:16.580] Yeah. [21:16.600 --> 21:17.520] I have a question. [21:17.520 --> 21:18.320] Yes, sir. [21:18.320 --> 21:22.040] Have you tried with PackBot with any enterprises actually integrating with the same... [21:22.040 --> 21:23.300] Yeah. [21:25.860 --> 21:29.860] So actually we are not integrating with SIEM, [21:29.860 --> 21:34.080] but instead we are getting the alerts from the SIEM and we are putting into PackBot. [21:34.420 --> 21:36.020] So in the other way. [21:36.140 --> 21:36.300] Yeah. [21:36.700 --> 21:37.740] Yeah. [21:38.060 --> 21:41.860] So when you email these business organizations, [21:41.860 --> 21:45.460] can you set like, I guess, rules on like when to email them [21:45.460 --> 21:49.760] and like add templates while you're emailing them? [21:49.760 --> 21:52.220] So we have a template and the template will be in S3 bucket [21:52.220 --> 21:55.800] and you can customize the template and you can put your organization logo [21:55.800 --> 22:01.740] and then say this S3 bucket is violating your organization cloud security policies. [22:01.740 --> 22:03.400] You can completely customize it. [22:03.400 --> 22:04.060] Yes. [22:04.160 --> 22:05.280] Yes, sir. [22:09.080 --> 22:13.060] The limitation in the policies is like the number of policies actually. [22:13.060 --> 22:15.520] So if you want more policies, we have to customize them [22:15.520 --> 22:18.220] and then we have to write it as per our requirements. [22:18.220 --> 22:20.740] Apart from that, I don't see any limitations in the policies. [22:22.020 --> 22:22.660] Java. [22:23.140 --> 22:23.620] Yes. [22:25.020 --> 22:29.440] The data that you guys are acting on for enforcement, [22:29.440 --> 22:32.020] when you find compliance issues, it sounds like you're actively scanning [22:32.020 --> 22:34.300] all the resources and you find a compliance issue. [22:34.380 --> 22:35.500] It's enforcing. [22:35.500 --> 22:38.340] Do you guys expose those issues also so if I have another system [22:38.340 --> 22:41.120] that is querying you and then I can enforce on my own, [22:41.120 --> 22:42.380] is that possible as well? [22:42.640 --> 22:45.780] That capability is not there right now. [22:46.180 --> 22:49.000] You mentioned you are using Lambda to collect the data from office. [22:49.000 --> 22:49.560] Yes. [22:52.680 --> 22:54.440] Yeah, I can explain that real quick. [22:54.440 --> 22:57.060] In a high level, yes, I can tell it in a high level. [22:57.060 --> 22:59.420] So what happens is when a policy is kicked off, [22:59.560 --> 23:00.800] a Lambda function will be triggered [23:00.800 --> 23:04.960] and that Lambda function will go ahead and initiate AWS batch job. [23:05.020 --> 23:08.420] The batch job will spin up EC2 container. [23:08.420 --> 23:09.660] It will spin up a compute instance [23:10.080 --> 23:12.900] and it will use this compute instance to run the batch job [23:12.900 --> 23:14.880] and the batch job will have a Docker image [23:14.880 --> 23:17.200] which will be pulled from the Docker Hub [23:17.200 --> 23:19.080] and there will be two images pretty much. [23:19.080 --> 23:21.880] One is the rules and the second is asset collection. [23:21.880 --> 23:26.020] First, it collects all the assets for using the cross account IAM role. [23:26.080 --> 23:27.440] It collects all the assets from all the roles [23:27.440 --> 23:30.100] and put it in the S3 bucket [23:30.100 --> 23:32.340] and then the second batch job will be kicked off [23:32.340 --> 23:34.300] and the second batch job will go ahead [23:34.300 --> 23:36.400] and run all these policies and rules [23:36.400 --> 23:38.860] against those assets that it got collected. [23:39.020 --> 23:40.980] And then send it to the Elasticsearch [23:40.980 --> 23:43.000] and then we are able to visualize it in Backbot. [23:43.440 --> 23:45.720] How many AWS accounts do you have? [23:45.720 --> 23:47.160] We have 280. [23:47.540 --> 23:50.600] And T-Mobile said they have 1000 plus. [23:51.020 --> 23:53.180] And how much time does it take to run? [23:59.520 --> 24:01.780] Lambda is like an event based function. [24:01.780 --> 24:06.080] Whenever you write a policy, any changes after that happens, it will run that. [24:06.080 --> 24:08.980] What about the systems that are already existing? [24:08.980 --> 24:14.240] How do you ensure compliance with the new rule on the existing systems? [24:15.720 --> 24:17.980] Asset collection, you collect all the... [24:17.980 --> 24:22.060] you pretty much do describe instances, describe EIPs and everything, right? [24:22.060 --> 24:24.420] It will be collecting all those resources. [24:24.680 --> 24:25.880] And then you will be able to... [24:27.120 --> 24:29.540] you can set up the cron job kind of thing. [24:29.540 --> 24:34.040] So every two hours, we run the public S3 buckets, public SSH ports. [24:34.040 --> 24:36.340] So based on those time, we keep running. [24:36.340 --> 24:37.620] It's an automatic thing. [24:38.320 --> 24:39.800] No, we don't have to trigger it out. [24:39.800 --> 24:41.600] It's completely automated. [24:41.600 --> 24:42.940] I can show that. [24:45.750 --> 24:48.750] So you have to go to your admin panel and then... [24:48.750 --> 24:53.270] you have to go ahead and pretty much use rules and policies. [24:53.510 --> 24:55.630] And you can edit these policies. [25:11.980 --> 25:16.520] So you just have to go to the rules and then edit those rules. [25:16.520 --> 25:17.800] So just click on rules. [25:17.800 --> 25:19.760] And you have the rule frequency here. [25:20.180 --> 25:27.400] And once you click on the edit, you should be able to set the frequency. [25:28.320 --> 25:30.080] How frequent you want to run it. [25:30.500 --> 25:31.980] And then enter the value here. [25:46.270 --> 25:50.590] Okay, so there is a roadmap currently in progress. [25:50.590 --> 25:52.530] And they are going to support the next Azure. [25:52.530 --> 25:53.850] And then they go to Google Cloud. [25:53.850 --> 25:55.430] And I'm not sure about the VMware. [25:55.430 --> 25:58.710] But there is always a chat available. [25:58.710 --> 26:00.390] And you can always suggest ideas. [26:00.390 --> 26:02.410] And then you can contribute to them. [26:06.610 --> 26:07.410] Yes. [26:08.090 --> 26:11.950] So it's pretty much... it uses AWS SNS, Simple Notification Service. [26:12.090 --> 26:16.630] And there if you configure the subscription to use an email, it will send an email. [26:16.630 --> 26:20.430] Or else if you use mobile, it will send push notifications to the mobile. [26:26.030 --> 26:28.910] So I'm not exactly sure about that. [26:28.910 --> 26:32.570] But there should be some ways to customize the application. [26:32.930 --> 26:33.530] Yeah. [26:35.010 --> 26:36.370] Thank you everyone.