All right, thank you very much for coming to, taking your time to come and see us. Like he said, my name is Rod Soto and he's Jose Hernandez. And we're gonna talk about today, about some of the research that we've been doing about trying to achieve a unified cloud security posture. So let's get started. Who am I? I am a Principal Research Engineer at Splunk. I worked with this gentleman at Perlexic Technologies, which is now Akamai. I also worked at Caspita at one point. I co-founded Hack Miami and the Pacific Hackers Meetups and Conferences. You can find it at meetup.com. And I created a command and control and a quarter CDFs. I like to do a lot of CDFs. He is Jose Hernandez. He's my peer at the Splunk Research Team. Worked at Perlexic as well. And we do have a quite a bit of experience fighting DDoS. And one of the, I guess the adversaries we had to fight was Anonymous and LulzSec. So let's get started pretty quick. So one of the things that we try to address with this presentation is we obviously, in the industry, we can understand and we perceive that many enterprises, many corporations are basically struggling with achieving a unified cloud security posture. There's sort of a mix and a tense to sort of... There's a difference between perimeter security and the way we're gonna expose this. There's perimeter security, there's cloud security. So you just can, even though you can try, for example, Active Directory logs with maybe Stackdriver, that may not make a lot of sense. But we're gonna give you the tools that we actually use. The tool that we actually, that you're gonna see today is the Cloud Security Suite. We did some modifications to make it SIEM-friendly. And you're gonna see basically some examples of EOK and Splunk, of course. So the reason why we're looking at this is because the cloud has become prevalent. At times, there's a blurry line. The blurry line when it comes to liability, right? Because at the end of the day, the cloud provider has his limits and many times we're not aware of it. And I will touch on it. The cloud adoption is expanding. Cloud security is not an exact translation on inside the perimeter. You're gonna see that in a minute. Every provider has a set of technologies, features, security items. And even though there are several cloud security initiatives it's still an ongoing effort. So what you're gonna see today is an ongoing effort. Some of these categories that you're gonna see today may change in the future or may include another, but it's definitely what we agreed that was the most comprehensive one as of now. And of course we chose the CS security suite because basically helps you assess the three major vendors. Of course there's OpenStack and we're not gonna show anything about OpenStack but definitely we believe you could probably fit it in the categories that you're gonna see today. So this is just an example how prevalent the cloud is becoming. Like I said, the managing area, which is not really that imaginary when it comes for you and your responsibilities. Obviously the responsibilities change depending on the cloud service provider module. If it's a infrastructure as a service or it's a platform as a service or it's a software as a service. So as you can see, basically you go up to physical security and then once you get on application security and most, for example, of the type of services you are responsible for it, right? The imaginary line is not that imaginary. What you have, what you see here is basically AWS. They do actually come up front and tells you this is what you are responsible for. Sometimes what we, the challenge that we face here is that when you are presented with this number of services, challenges, putting together all these locks, I'll give you an example, GCP has over 200 or more that are counted roles for security. So when you're dealing with stuff that basically is incredibly challenging for a single operator to put together, what we had to use either a criteria that groups many of this single items and some sort of automation that will provide us a view when we're trying to assess security. And that's what we're gonna, that's what you're gonna see today. So here's the Azure, for example. So I try to show all the three providers. This is something that you, if you are using any of this providers, I suggest you that you really review and sort of establish an inventory and identification of what your line is, right? What is their responsibility? What's your responsibility? So obviously this is a part of reinforcing our point of view. We have this major cloud attacks from the Sony, the Fapanin, the CloudHopper, the Ashley Madison, just being said that there were suicides about it, Equifax, HBO, IB largely stolen, Marriott, Kubernetes. And of course we just had the recent one, which is Capital One, which was an inside, I wrote there, I wrote inside. So here's an example of what can happen. Then here's an example of some of the challenges that we are facing when we deal with cloud providers. At times, even though they, for example, certain vendors seem to be very secure, then we have a case like that rogue insider comes in and exposes all this information or steals this information. It's not known yet what, if that data was shared either in the dark web or if it was so. I use, when I started researching this, I look at the Cloud Security Alliance, where it's called the Three Shares 12, which is basically includes data breaches, insufficient identity, insecure interfaces, system vulnerabilities, account hijacking, malicious insiders, which is the sample we were just talking about, advanced persistence threat, which is nation state or highly organized crime, data loss, lack of due diligence, abuse of nefarious or use of cloud services, denial of service and shared technology vulnerabilities. This has to do usually with multi-tenancy. We actually saw that when we were working at the company that basically seized 30% of the internet, a very famous airline, they lost an airplane. Don Lemon said there was a black hole that took that airplane. Well, that brought a lot of resentment. So guess what? Somebody went and hacked that airline and the administrator had the same passwords and many other panels. So we were affected at that point. That's one attack vector of many people you don't realize that multi-tenancy and third party will affect you for sure. So here's some of the main targets of the cloud attacks. ATO, which is account takeover, key exfiltration, phishing. You can attack obviously a provider, AC, AWS, UCP. You can attack the admins because once you get admin access in any of these consoles it's pretty much you have a domain admin. You can use the cloud resources for things like crypto mining or DDoS for rent. Data, everybody's life, private work information is in the cloud. I mean, it's getting there pretty much. And we're still not counting what I will call the AI leaks which I'm sure that will come soon. We're already getting little drips of it. We have operators listening to Siri, Alexa. So we don't know yet. We don't know how this is stored. We know it's in the cloud, but I would caution that we need to be prepared for those type of leaks and they will probably be devastating. So be careful what you said at home if you have one of these devices. Third parties, like I said before, co-tenants, multi-tenancy, and attacks that affect the identity provider. So here's also a expansion of the attack surface, what I call the DevOps attack surface, the CI-CD pipeline, source code repository, Bitbucket, GitHub, SVN, S3 bucket, CI-CD platform. We know about Jenkins vulnerabilities, for example, CircleCI, TravisCI, container repositories. We've seen some of those recently, Docker, Vagrant, the provider, depending what the Kubernetes flavor, or OpenStack, and infrastructure as code. So basically vulnerabilities of abuse of exploitation or things such as Terraform, Ansible, Chef, or CloudFormation. So if we were to reduce this, right, in general view, this is pretty much how you will look at the attack surface segments. You have the internet, right, or the internet. You have some sort of a web service, API, HTTP service. Behind that, there's a compute backend that's usually distributed. Behind that, there's usually what I call a cloud LAN or a cloud WAN. And then it's usually in that backend, you're gonna have the big database engines. So you have SQL, NoSQL storage, blog, object, or file type of storage. So can we create a common criteria for cloud security? The answer is yes, and we're about to show that. These are the categories that we decided to settle for at this point. So basically there are six categories. Network, which is a standard access, VLAN, V1, VPN, and routing. Security, which obviously includes the CIA, confidentiality, integrity, availability. Although in the cloud, there's heavy emphasis in the AIM portion, encryption, and firewalls. Then you have compute. In compute, we had artifacts, such as virtual machines, containers, apps, microservices. Then we have databases, which can be SQL or NoSQL. The storage, which basically buckets and file type of storage, as I just commented. And then management. So it could be a Kubernetes flavor, logging setup, and management access. So here's some of the examples of things that we put together. For AWS, for example, in compute, you can see that we included EC2, Lambda, Elastic Beanstalk, ECS. In Azure, we put virtual machines, load balancers, app services, disks, Kubernetes. In GCP, we included instances, disks, snapshots, images, zones, Kubernetes. The reason why we put this is because we're about to show you the example, how it looks together with the checks, and then you can get very granular. So it will make sense in just a few seconds. So here's another example of management. The things that we were able to encompass, the three vendors, the storage, security. And again, this is an ongoing effort. Many of these vendors, they are adding stuff or they're changing it or they're eliminating it. So it's hard in the sense of, we can't say that this is written in stone. This is variable, this is ongoing. But as of now, it gives us that unified posture when we're looking at the three major vendors. Then we have the network part. I'm not sure if you want to take a picture of it. And then the databases. And then finally, we found a open source tool called Cloud Security Suite, which is a one-stop tool for auditing the security posture of these three vendors. The vendor checks are different. Different because of the service or difference, the infrastructure, the name of the services. Jose is gonna talk a little bit about how difficult it can be to normalize this data. Because basically, I'll give you an example. For example, GCP, yeah, the output is JSON, but the way they output the JSON, the AIM is not nearly equal to the nomenclature that Azure or AWS may have. So that presents a challenge for a security operator. That presents a challenge when we're trying to normalize the data. We were able to do that, and we're gonna show an example. We actually modify the code. We modify the code to make it SIEM-friendly, right? Well, with this, you are gonna be able to output and then pipe it to either an EOK or Splunk, right? You're about to see the examples how the categories look together and how you can deeply research and look at it from the operator's perspective. And then obviously, if you wanna go and dig deeper into this, obviously you had to do that in your analytics of preference, right? Obviously, we work for Splunk, so we did quite a bit of work in Splunk, but we also show you, actually show you even the configuration file on ELK, so you can do it too. So some of the things that I wanted to share about this, the original project was modified. Are you ready to jump? Okay, let me get you, Jose, now. Yeah. Yeah, Rod, thank you. Thank you for giving us that basis of why this is important for us. And again, just a quick re-summary cap here. We're trying to distill down all these checks that CsSuite, the tool, is doing into common categories and with the end goal of being able to audit in one common language all these cloud providers, right? And to dig deeper, a bit deeper, and I'm just gonna go back one slide if you don't mind, CsSuite today uses under the hood a set of tools that are actually cloud auditing tools. And each of them are kind of, for lack of a better, specific for what the audit that they're trying to do. For example, gScout, it's only a tool that audits GCP. Meanwhile, Scout2 is an AWS tool, Prowler only audits AWS, and so on and so forth. But what we really liked about CsSuite as a project was it brought all these tools together and generated one common report. The thing with CsSuite for us, and again, I'm just recanting this for a second, was CsSuite is built to generate a report, not necessarily a audit log for a SIEM or something similar like that. And so, again, going back to Rod's point, there's some modification that was made in order to support that function. But for the most part, CsSuite is really straightforward to get started with. You just need really read privileges or an API, a service API token in something like GCP or Azure in order to scan, for lack of a better word, your cloud provider. And again, the one thing to watch out for is your visibility into the scans may vary based on the rights you have on those keys, especially if your cloud deployment is segmented. You gotta account for that, right, when you're setting up your keys. So this is what CsSuite looks like when you run it, with a report, basically generates like a shaper report of like, and this is, I believe this one is for Azure. So it's giving you like the result sets for like security center, what things failed for like the storage accounts, logins, so on and so forth. And you get this, you also get this for things like Azure, right? So this is, for example, sorry, for GCP, this is the GCP benchmarks, right? So like, did you leave a network open mistakenly or maybe it wasn't mistaken, but it'll still report, you know, hey, you have like all traffic coming into this specific instance. Do you really want this publicly open or not, right? There's another example for AWS, right? Again, they're all individually different reports, but they're looking at all the checks for that specific cloud provider. Now, before I jump into what the data looks like, I really wanna walk everyone through some of the challenges into getting this set up on your own. And again, just to highlight potential like gotchas and hopefully you can get through them really fast and especially after this talk. So like one thing to watch out for is logging in any cloud provider costs money. Watch out for that. Like just make sure you get a budget calculator before you start turning everything on because your bill's gonna rank up really fast. And it requires time for setup. And what I mean by time for setup, for example, in GCP, it's not just a matter of like, you know, I click a button and I'm logging everything. But, you know, you need to walk through configuration and there, you know, you need to have a platform that can, in that cloud provider, you need to have the inner workings to index and stream the data into some sort of SIM, right? So something to account for that's not native in cloud providers. So you need an architecture for streaming and storage and some analysis framework, right? In this case, we're using Splunk and Elk as examples, but you're also gonna need some sort of analysis framework to analyze the logs coming out of those cloud providers. Good saving grace here is most providers are using JSON as output. The bad thing about that is to Rod's point earlier, they're not normalized. So we had to normalize a lot of that coming in. If you were tomorrow training on logging for a cloud provider, this is roughly what the architecture would look like. You have your service, you have your individual cloud providers, you have the services inside that provider, and most likely you're gonna use a message bus. And this is best practice, right? What I mean by message bus is in AWS world is SQS and GCP world is PubSub. In Azure, they have this whole own logging thing called Azure log integration. And optionally you may or may not want to... So each of the services are generating their own logs into a message bus, and then you may or may not store that into a storage bucket for retention. And again, may or may not, it depends on a lot of things like costs or whether you need it to store it or not. And then you're gonna have some sort of agent pick that up from either the storage bucket or the actual message bus itself and send it to your actual like indexing system, like your analysis engine. And CSV sits somewhere in the same place where like the agent was set to pull stuff off. But instead of pulling data out, it's scanning for like what's incorrect in that cloud provider, what's not really up to par security wise. Again, big values of like integrating popular sense is, you know, you get knowledge objects out of it, right? So you get like fields extracted out of it. You can do a proactive alerting when a check fails or a bunch of checks fails. You can do automation around, like, for example, if something is failing, you can quarantine it immediately with some, they're like a phantom, for example, in the Spunk world, SOAR-based applications. Let's dig now into the reports. Elk. Elk is really, to get the events to work with, to bring CSV events into Elk, it's pretty straightforward. You just file, beat, config, and there's nothing real unique here in this file, beat, config, besides the fact that I'm telling you there's JSON, right? So JSON keys on the root. And here's what the data looks like. Again, pretty much you get a, you get different things like category fields that natively, for example, CSV doesn't give you, and the categories are broken down. Again, what Rod just explained, which is management, service, compute, storage, et cetera, et cetera. The name of the check. So in this case, in the picture, we're saying sure, log, metric, filter, and alarm exists for management console. Sign in, right? So like, are you logging? Do you have a filter for logging management logins? Oh, that's a tongue twister. And just an example. And clearly, because again, this is already all logged in. Right here, I'm showing you just a quick, really dirty graph of like all the checks that failed, or in this case, they set as warning for all the cloud providers for us, and then they broke in. It looks like most of it was management, and some of it was the security, on the security category. I wanna show you what Splunk looks like really quickly now. And again, it's the same data set. It's all JSON, or CSV outputs JSON, and we're just bringing it into one provider and the next, right? Again, you'll see here in the Splunk side of the house, the bit of more, I guess, knows of more complex searches, because I added things like, you know, you have like a service field, like who the service provider was, if you wanna break it down. Here's a good, like a view of like, what the different checks for Azure would look like, like that you'll get back, right? So like, like manual extensions, like a VM does not have, you know, the data disk encrypted, the retention policy is not set, so on and so forth. Here's a quick dashboard we threw together for Splunk, of like all the checks we were running across. We set up three different dev clouds made and purposely vulnerable, right? And then, so we've set a cron job to run CSV, put the logs and then index that to us. And then we built this dashboard with that. And again, just trying to give you a flair of what data you can get out of it, but things like, you know, roughly there's about a hundred and something individual checks for each cloud provider. And so you get to look at what checks are passing, which ones are failing. Clearly you want the red to be zero. At some point, if you had like a sock and you're working on a sock and you're working this down, each of these are essentially should be a ticket to either make a change or to remediate, right? You know, I'm breaking down my category, which provider is failing the most. In this case, Azure is, I think, our worst perpetrator in this case. And under this, you get a very, very good detailed table of like, you know, which category, what provider, what the specific check was. And basically the value in this case was what's actually failing. Like in this case, for example, the EC2 audit failed. List of service, which are not associated with IAM instance profile, blah, blah, blah, blah, blah. Right, and it's giving you all the instances that for us were not associated with the standard profile that we spun up, right? I'm gonna be completely transparent with you guys. The first time we ran this against our own development clouds, we found stuff that we didn't know we had left open. That was almost like a stamp of validation, like, yeah, this stuff kind of works. The beauty, and again, I think I couldn't speak highly enough, the beauty of CSC is the fact that it encompasses so many checks that... I'll give you another, again, another story. Like recently I spun up CloudSploit. If you never use it, it does something very similar to this. And I ran it against all of these same dev clouds and I got the exact same result checks that CloudSploit gives me almost by the name, right? It's very thorough. It's where I'm getting it, and it's free. And you can run it operationally 24 seven. Like I mentioned earlier, very like in Splunk or Elk, right? Elk, you can use Watcher. You can use just a save as an alert to invoke some sort of automation to either remediate that immediately or send an alert or create a ticket. So again, it's easy to take this and then put it into your SOC and operationalize it ideally. So that's all. Thank you. Thank you. Thank you. Thank you.