start	end	text
0	10000	Hi, I'm Chef. Good morning. I'm the guest MC for this one, because your next speaker, Matt Nash, is a friend and colleague of mine.
10000	17080	He and I worked together for NCC Group in Texas. So I've worked with Matt for the last four years,
17080	21860	and when I heard about this research he was working on, I encouraged him to submit,
21860	26140	because I think this is a wonderful topic for the Packet Acting Village.
26140	32520	And so, Matt, I'll let you talk about yourself a little bit more, but welcome to the wall of sheep and break a leg.
32620	44200	Thanks, Chef. So, as Chef said, I am Matt Nash. I am a security consultant with NCC Group,
44200	49480	and this is my talk, Head in the Clouds. So what are we going to be doing today?
49480	58840	We're going to be looking at the configuration of accounts within Amazon's AWS and then also Microsoft's Azure.
58840	68700	Some of the resources that were put into this talk were native tooling developed by Amazon and Microsoft,
68700	75120	security purpose tooling that was developed by NCC Group, and a third-party best practice reference.
76660	82080	So, configuration reviews typically fall into two different categories.
82080	86280	We're looking at services or the hosts or VMs themselves.
86280	90920	Today, we're not going to be looking at the hosts. We're going to be focusing specifically on the services.
91780	99420	So the first thing we're going to look at is Amazon's AWS. AWS is Amazon's web services.
99500	107440	It is on-demand infrastructure, computing resources, storage resources, analytics, application services.
107440	116400	They are available and scalable. And most people think of Amazon's AWS as infrastructure as a service,
116400	121860	which contrasts with Microsoft's Azure, which we'll talk about a little bit later.
122400	136460	So the tooling that we're going to use here is AWS CLI. It's developed by Amazon for querying AWS and interacting with the API.
136460	147820	Another thing we're going to look at is Scout Suite, which is a tool that we developed for doing automated collection of data on AWS.
148020	153380	And then CIS Benchmarks, which is a third-party best practice reference.
154220	162800	So the first thing that we want to do when we're going to assess an AWS environment is we want to set up our auditing account.
162800	170800	We want to apply a couple managed policies to it. The first one is read-only access, and the second one is security audit.
171140	178820	We also want to establish programmatic access for the API, which is an access key and secret key pair.
179260	191340	And then, not absolutely necessary, but it's nice to have access to the web console so that you can actually go through and click in the UI and look at that representation of the configuration.
192600	201540	So with the access and secret key, we need to put those into something that we can feed into AWS CLI.
202260	208640	There are a few other methods here that we're not going to cover today. The one that we're going to look at is the credentials file.
208640	222440	And that credentials file looks something like this. If you run the AWS configure without a profile argument, you will get a default entry, which is the top one you see there.
222480	229480	And if you run it with a profile name, in this case I used profile one, you'll get that second entry there.
230840	240060	So the first thing that we want to do when assessing an AWS account is we'll dump out the account number so we know which one we're looking at.
240120	247940	And we can also apply this to any findings that we come up with. So we'll run this command and we get the account number.
248020	252760	We'll use that for our reporting so that we can identify what account the findings go to.
253540	261840	And so the first service we're going to look at is IAM. IAM is the Identity and Access Management Service.
261880	271560	This deals with authentication, or how your users sign in, authorization, which is permissions against resources or anything else in the account.
273640	279080	So in IAM, the first thing we want to look at is the list of users on the account.
279080	289100	So we'll run this command. We get some output. You can see here I've truncated it. You'll see an ellipsis on several slides just because we're dealing with a lot of data.
289620	294880	So we see a user here, AWalters. We'll go ahead and take a look at that account.
295640	303920	It was created on May 16th of 2015, so it's probably an older account. Probably good to look at.
303920	314380	So first thing we want to do on a user is get a list of the access keys. So this is what gives them programmatic access to the API.
314940	323820	So we'll run this command, specifying the username. We get some output here. We've got the access key ID for that user.
324160	333320	And we see that that access key was created May 27th of 2015, so not long after the account was created. Probably an old key.
334500	340420	And so we'll grab this access key ID and we'll use it in some future queries here.
341900	347220	So the last time that this access key was used, when did the user actually use the API?
348040	353840	So we'll take that access key from before, plug it into this command, get some output.
354300	362140	We see the last time that they used it was June 16th of 2015, so this account hasn't been used in over four years.
362140	364400	Probably a good thing to audit.
366080	373320	So in the previous command, we looked at some user data on their access key specifically.
373580	380440	Another thing you can do is you can generate a credential report, which gives you multiple access keys associated with the account
380440	386420	and anything else associated with that user, like the last time they logged in, things like that.
386420	394180	And you can generate these every four hours. Amazon doesn't want you just hammering with requests, so they put a time limit on there.
394180	403520	So we'll run this command, we get the output of started, because we haven't actually run the generate credential report on this account before.
404840	409200	And next thing you want to do is actually collect the report.
409200	419240	So we'll run this next command here, and you'll get a very large Base64 encoded string. I've truncated it here.
420180	427760	What we need to do to be able to read this credential report is decode it.
427760	438280	So I've got a little cut command that I'm piping this into that's looking for the columns associated with the rotation dates of the keys.
438280	448140	So we'll run this command, get some output. We see that Awalter's key was last rotated May 27th.
448140	458860	So this is definitely an old access key. We need to go and audit and see if maybe that user still works with the company and maybe revoke their access.
460320	468440	Next thing that we want to look at is root account usage. So root account in AWS is all-powerful.
468440	474420	We don't like to see that account used habitually for administrative functions.
474420	482120	We like to see an IAM role created for any of the permissions that you want an admin user to perform.
482120	489340	So this is a very similar command. It's looking for the last login date of the root account.
489620	496480	So we run this command. We can see the last time that this root account was used was July 2nd of this year.
496480	506820	So probably habitual. The recommendation would be to lock away that root account, change any of their access keys, and just not use it if at all possible.
508160	515880	Next thing that we want to look at is the account password policy. So this affects all users on the account.
516100	526160	So we'll run this command. We get the password policy here. You can see that the minimum password length is 8 characters. It's pretty short.
526300	535280	But what is also problematic is a user can use a password as long as it's not one of the last three used.
535280	542980	So if a user figures out, hey, I changed my password three times, I can reuse my old password, you can see how that might be a problem.
544080	553500	And what could be problematic with this configuration, depending on how they have the environment set up, passwords are set to not expire.
553720	562100	That may be intentional. It may not be. You would want to go back to whoever runs this account and make sure that that's what they want.
562100	569040	And also users are not able to change their password. That may also be a design decision. So we want to verify that.
570260	580000	So some other common issues that we see with IAM. Policies that allow IAM pass role and STS assume role with a wildcard.
580000	589040	So this could be for wildcard resources. This could be for wildcard principles or users.
589040	595120	If you had wildcard for principles, that means anybody can do whatever this specific action is.
595180	599780	And if you had resources, they could perform it against any resources.
600080	606140	Another thing that we see is users without multi-factor authentication. That's a second factor.
606140	619300	So if their access key and private or secret key were compromised or if their password were compromised, you would have a second factor there preventing an attacker from compromising the account further.
619700	631240	Policies that allow not actions. So these are effectively blacklists. We like to see actions that are specified because that follows the principle of least privilege.
631240	635840	So not actions essentially say you can perform everything except this action.
636200	643460	And also cross-account assume role policies that lack an external ID or MFA.
643460	650920	So the external ID can either be an account number for the account that you want to access your account's resources.
650920	657040	Or it can just be a random string that you come up with that's unique to that third-party account.
657040	661520	And then MFA, we've already discussed why that's a good thing.
661520	670380	If the third-party account is compromised, this adds an additional step to keep an attacker from compromising your account's resources.
670700	673900	So next service we want to look at is EC2.
674020	677100	This is the Elastic Compute Cloud.
677100	689900	It deals with scalable computing resources, which includes instances or VMs, network interfaces on the account, network access control, security groups, and any load balancing that's in place.
690820	697200	So the first thing we want to do in EC2 is get a list of the VPCs, or Virtual Private Clouds.
697200	699140	So we'll run this command.
699160	703800	We get a list of VPCs, again truncated output.
703800	709240	We see VPC IDs, we've got CIDR blocks that are associated with the VPCs.
709240	713760	So we'll take this VPC ID and we'll use it in some next queries.
714840	719020	Do the VPCs that we've found have flow logs enabled?
719440	726660	So flow logs allow you to gain insight into the network actions that are going on relative to the VPCs.
726660	734620	So we'll take that VPC ID from before, plug it into this command, and we get some output here on the flow logs.
734700	739860	And you can see that flow log status active shows up in this output.
740020	747320	If the flow logs were not enabled on the VPC that you're querying against, you would just get an empty set like here.
748520	751880	So the next thing we want to do is get a list of network interfaces.
751880	756540	So we'll run this command, which is the describe network interfaces command.
756800	761340	We get some output. This is actually going to be one of those queries that generates a lot.
761340	765520	So you'll probably have to scroll through to find the information that you want or grep it.
766300	769160	So we see a network interface ID here.
769560	777500	If we scroll down through the output, we can look for interfaces that are exposed to the internet.
777500	784320	And in this case, we do see a public IP, and we also see public DNS.
784320	786940	So this interface is exposed to the internet.
788260	792540	Another thing we want to do is get a list of subnets on the account.
793560	798540	So we run this command. We get CIDR blocks that are associated with that subnet,
798540	803660	and also subnet ID and the VPC that it is associated with.
803660	809700	We also get the availability zone and the ID of that zone.
810380	816420	So we'll take this subnet ID and we'll use this in some future queries.
817180	823020	So what NACLs are associated with this subnet?
823260	827100	We'll run this command. We'll get a list of NACLs.
827100	837560	And we can see this subnet ID has a rule action of allow for egress false.
837560	840400	And in this case, egress false means ingress.
840400	846520	So inbound connections for the CIDR block 0000 slash 0, or everyone.
847900	851320	So the next thing we want to do is get a list of security groups.
851320	855920	So NACLs and security groups are similar, but they are different.
855920	862800	Security groups are in front of instances, whereas NACLs are in front of subnets.
863620	868360	So we'll run this command. We get a list of security groups on the account.
870060	876260	And so something we look for is default and Launch Wizard 1 security groups.
876700	881580	And in this case, we see that both of those are in this listing of security groups.
882620	887960	We'll probably focus a lot on this Launch Wizard 1 for the next queries.
889360	893680	We'll grab the SG ID for that security group.
894460	896840	And we'll use it in our next query.
896840	903140	So something we want to look at is, is SSH exposed to the internet?
903140	910360	So this is kind of a lengthy query, but essentially what it does is it looks for a port range from port 22 to port 22
911220	916680	for the CIDR block 0000 slash 0, or everyone.
916980	923240	And it will output the name and ID of the groups that it finds.
923900	927600	So we do see this Launch Wizard 1 again.
927600	930640	We also see an OpenSSH group.
931160	935720	OpenSSH, that's probably okay, but we definitely want to go back and verify,
935720	943160	make sure it's not going to be a group that should be for only developers or a specific group.
943720	950040	Since it is open to the internet, they probably want to lock that down if it's supposed to be for a smaller group.
950600	953500	So let's focus on this Launch Wizard 1.
955880	959980	What instances are associated with that security group?
959980	962680	What instances or VMs are behind it?
962680	967920	So we'll run this command, plugging in the SG value that we grabbed,
967920	971940	and we'll get a list of instances that are associated with it.
971940	974780	So we see here there are actually two instances.
974800	983320	If you remember from the NACLs, the NACL that we saw before opened up SSH to the world,
983320	987760	which is associated with this security group.
987760	993440	So if there's any SSH services or services running on port 22 on these instances,
993440	995100	that's going to be exposed to the internet.
995100	998180	So that's our external attack surface.
998800	1005460	Some other common issues that we see with EC2 are security groups that whitelist AWS CIDRs.
1005460	1009520	So these are network blocks within AWS.
1009520	1018840	We like to see specific IPs for any instances that you want to be able to access resources
1019520	1022440	rather than an entire net block.
1023280	1026340	If somebody else gets an instance within that block,
1026340	1030180	then that would allow them access to whatever these resources are.
1030680	1034740	Another thing we see is EBS volumes that don't have encryption enabled.
1034740	1040620	So if the storage mechanism for the EBS volume becomes compromised,
1040620	1043620	if it's not encrypted, the data is also compromised.
1043880	1047120	If it's encrypted, it should be safe.
1047700	1051460	So another thing we see is all ports that are open to all.
1051740	1054240	This does not follow the principle of least privilege.
1054240	1060180	We want to see specific ports open for services that you intend to have exposed.
1060180	1067020	And then also we see secrets in the instance metadata user data.
1067020	1074240	So if an instance is set up using a script, it essentially gets recorded like bash history.
1074240	1081180	So if there are hard-coded passwords in that script or anything that points to sensitive data,
1081180	1087600	that would be exposed if somebody goes to the user metadata on the instance.
1088600	1092320	So the next service we want to look at is the S3 service.
1092900	1097780	That is simple storage service, and it deals with object storage.
1097780	1100520	You may be familiar with the term buckets.
1102280	1106760	So the first thing we want to do is get a listing of the buckets on the account.
1106760	1111460	So we'll run this query, which will dump out a listing of the bucket names.
1112440	1116500	So we see here we've got a bucket named devraven.
1117340	1120160	Let's go ahead and take that for our next queries.
1122360	1128620	So we want to look and see if the bucket is world-listable or world-writable.
1128640	1135860	So can people browse and see that bucket, or can they write data to the bucket?
1136020	1140740	So we'll take the devraven bucket name, throw it into this command.
1140740	1142950	Get some output here.
1143340	1148030	We scroll through and we see that the group global all users.
1148400	1154140	If you're looking in the web UI of AWS, you'll see this listed as everybody.
1154540	1159900	We can see that that has read and write permissions on this bucket.
1160080	1163680	So it is world-listable and it is world-writable.
1164500	1168440	So next thing we want to look at is objects within that bucket.
1168440	1171660	Are they world-readable and world-writable?
1172020	1176900	So from the output before, we've got a bucket named test.
1176900	1179840	So we'll query that with this command.
1179860	1186600	And we can see that this bucket policy for test allows wildcard for principles,
1186600	1192820	so all principles, any users, to do S3 get object and S3 put object.
1192820	1200100	So it is world-readable and world-writable for any bucket objects or objects within this bucket.
1201300	1205500	Next thing we want to look at is versioning for the buckets.
1206660	1211240	Versioning allows you to keep a record of changes that occur on a bucket.
1211240	1216120	So if somebody deletes data, you should be able to recover it if you have versioning enabled.
1216520	1221720	So we'll run this command against devraven and we see a status of enabled.
1221720	1224960	So versioning is enabled for this bucket.
1225120	1230020	If you did not have versioning enabled, you would just get no data back from the query.
1231040	1234620	So next thing we want to look at is access logging for the buckets.
1234620	1241440	So seeing what type of access requests are coming in for the buckets and for the data.
1241540	1245080	So we'll again query devraven using this command.
1245080	1251740	And we can see here that not only is a logging enabled in the output,
1251740	1257140	but we also get the bucket that the logs are going to and a directory in that bucket.
1257140	1259060	So logging is enabled.
1259360	1264380	If you did not have logging enabled, you would just get no data back from the query.
1265280	1271940	So some other common issues that we see with S3 version buckets that don't have MFA delete.
1271940	1277960	So this is a second step before buckets or data can be deleted.
1279480	1284280	Another thing we see is buckets that don't have the default encryption enabled.
1284280	1289300	This is very similar to the EBS that we spoke about before.
1290180	1295640	Data at rest, if it's encrypted, should be safe if the storage mechanism is compromised.
1296060	1300860	Another thing we see is buckets that allow clear text or HTTP communication.
1300860	1307500	So one of the issues that you could see here is if this bucket is serving software updates to clients,
1307500	1315640	anybody with a suitable position between that user and the bucket could intercept the communication.
1315640	1318160	They could modify the packages as they're coming through.
1318160	1320980	And then your user may actually be infected with malware.
1320980	1325100	So we like to see secure communication enabled for buckets.
1326200	1329320	All right, so now we're going to look at Microsoft Azure.
1330460	1336060	Azure is software-as-a-service, platform-as-a-service, infrastructure-as-a-service.
1336060	1337820	It's also available and scalable.
1337820	1339560	Very similar to AWS.
1339640	1343040	However, people see it more as a platform-as-a-service.
1343040	1351420	So they kind of handle the OS updates and other things that you would be responsible for within AWS.
1351420	1354300	They kind of manage the behind-the-scenes stuff.
1356060	1361620	So some of the tools that we're going to use for querying Azure is Azure CLI,
1361620	1368500	which is developed by Microsoft for doing very similar functions as we saw in AWS.
1368820	1374560	Scout Suite, which is developed by NCC Group, and also the CIS Benchmarks.
1375480	1379160	So account setup within Azure is a little bit different from AWS.
1379160	1381380	They use role-based access control.
1381380	1387660	We like to see at least read access on any of the resources that you intend on auditing.
1387940	1390640	And Security Reader is a good role to use.
1393140	1398580	So credentials, they handle it quite different from AWS.
1399740	1404080	The login flow, you use the az login command.
1404080	1408060	It will then throw up a prompt in your browser, your default browser.
1408060	1411160	You will log in using your Microsoft ID.
1411200	1418260	And then a token will get passed to the Azure CLI client that will then get used for any of your queries.
1418860	1422340	So we'll log in using that az login command.
1423620	1431300	And there's also a legacy option to use a device code rather than logging in through the web UI.
1431660	1433720	You'll get a bunch of output here.
1433720	1436100	Azure is very noisy with its output.
1436100	1443440	You'll get the cloud name that you've just logged into as well as the Microsoft ID that you've used.
1444160	1448700	And the user type that you have.
1448700	1456280	And we can see here our audit account, pentester, at sharklasercorp3742.onmicrosoft.com.
1457120	1463320	So similar to AWS, first thing we want to do is grab the account ID, make sure that we're hitting the right account,
1463320	1466040	and then we can use that for any of our reporting.
1466100	1470220	So we'll run this command and we get the account ID.
1471780	1474640	So we'll use that for any of our findings.
1475240	1479880	The first service that we're going to look at is Azure AD or Active Directory.
1480040	1483700	Azure AD is quite a bit different from on-prem AD.
1483700	1487020	They handle a lot of things very different from it.
1487020	1491620	So if you're familiar with on-prem AD, this is a different beast.
1492480	1497540	The first thing we want to do is get a list of the users in Active Directory.
1497760	1502940	So we'll run this command, which will get the user name and then their job titles.
1504000	1508440	So we see here we've got a System Administrator 3, probably a good account to audit.
1509420	1513040	And their ID is A. Adams at the same company.
1515220	1520620	So first thing we want to do once we've got a username that we want to audit, we want to get some additional information about the user.
1520620	1524240	So we'll run this command, specifying the user ID.
1524500	1526960	And we get a bunch more output.
1527380	1531340	And we can see that the user's name is Arthur Adams.
1531340	1534740	Arthur works in the Information Technology Department.
1534820	1539660	And Arthur's account was created in March of this year.
1539660	1541340	So, pretty new user.
1543220	1547660	Next thing we want to do is see what groups this user is associated with.
1547660	1551320	So we'll run this command, again specifying the user ID.
1551640	1555500	And we can see that Arthur is part of InfoTech and SysAdmins.
1555500	1558600	Not surprising, Arthur is a technology worker.
1559380	1563860	And we've got the object IDs also for those groups.
1565140	1568340	Another thing we want to look for is guest users in the account.
1568340	1572400	So these are not managed by your organization.
1573460	1577640	They have been added with permissions to be able to do things on your account.
1578220	1579600	So we run this command.
1579600	1586080	We see that TammyRogers256bq8 with a tag of ext.
1586140	1588940	So it shows you that it's an external user.
1589180	1591020	Has been added to the account.
1593140	1597560	Like I kind of alluded to before, these are users that you don't manage.
1598100	1601480	So any problems with their account, if they have a weak password,
1601480	1607040	it makes it much harder for you to make sure that they are secure.
1607040	1613700	So we like to see specific AD accounts created for anybody who needs access to your environment.
1614660	1617780	And if you didn't have any guest users, you would get an empty set.
1619000	1622620	So the next service we want to look at in Azure is the Key Vault.
1623960	1628640	So we will run this command. We'll get a list of the Key Vaults that are on the account.
1629440	1634520	So we scroll through. We see we've got this vault name.
1634520	1640660	You also get the location of it and the ID within Azure.
1641800	1648600	So we'll take that ID and we'll look and see if this vault is recoverable.
1648600	1652840	So if the vault is deleted, can we revert that?
1653460	1661240	And we're going to look for the Enable Purge Protection or the Enable Soft Delete in the output.
1661740	1664660	And so we'll specify that ID from before.
1665780	1671840	And we see we don't actually get data back. So this vault is not recoverable. If it's deleted, it's gone.
1673240	1677460	So the next thing we want to look at is the keys within the Key Vault.
1677480	1680020	Do they have an expiration date set?
1680020	1686230	So we'll run this command. It's looking for the Attributes Enabled and Attributes Expired.
1687140	1698380	So we see a key here. We notice that it expires January 1st of 2020. So that's good. It does have an expiration date.
1699160	1704260	Next thing we want to look at is the secrets in the vault. Do those also have an expiration date?
1704260	1712400	So we get similar output here. We see that this secret also expires January 1st, 2020.
1713620	1717200	So next service that we're going to look at is Logging and Monitoring.
1718400	1730360	These commands are going to be much longer. You'll see a slide with just the command on it, and then the next slide will actually have the output just due to how we have to query this service.
1731120	1738740	So the first thing we're going to look at is Activity Logging Alerts for creating or updating Network Security Groups.
1738820	1746820	And we are going to look for the operation name of Microsoft Network, Network Security Groups, right action.
1747260	1754180	And we get some output here. We see that it's set to global. The scope is properly set for the subscription.
1754180	1763080	And enabled is true. So Activity Logging Alerts is enabled for creating and updating Network Security Groups.
1764000	1771220	So let's look and see if Logging Alerts are also enabled for Delete Network Security Group.
1771220	1777520	Very similar command, but the action is going to be Microsoft Network, Network Security Groups, Delete.
1777520	1785780	So we get some output here. We see this is also set to global. The subscription is properly set, and enabled is true.
1785980	1790640	So Logging Alerts are enabled for deleting Network Security Groups.
1791540	1799680	Next thing we want to look at is creating and updating Network Security Rules. So these are the rules associated with those groups.
1800100	1804140	Very similar command, but we're looking at the Security Rules, right action.
1804620	1812120	We get some output here. We see that it's set to global. The subscription is properly set on the account, and enabled is true.
1813240	1821100	Same thing for Delete. Run a very similar command, but with the Security Rules, Delete action.
1821500	1830020	We get some output here. We see that the location is also set to global. Subscription is properly set on the account, and enabled is true.
1830760	1836980	So this next query is going to look for any actions for SQL Server Firewall Rules.
1837200	1842640	Similar command, but we're looking at Microsoft SQL Server's Firewall Rules, right.
1843100	1850500	So we get more output here. The location is set to global. Subscription is properly set, and enabled is true.
1850600	1854420	So Alert Logs are also set on this action.
1855380	1863720	So for updating a security policy, very similar command, but we're looking at the Microsoft Security Policies, right action.
1864400	1874820	We get some output here. We see global. Subscription is also set properly on the account, and enabled is true. So we have logs there as well.
1875380	1878280	Next service we want to look at is networking.
1879900	1883940	First thing we want to look for is RDP. Is that exposed to the internet?
1884420	1893500	So we'll run this command that will get a list of network security groups, and then it will print out the name as well as the rules associated.
1894020	1903560	So we get a bunch of output here. We look through and we see that there is an allow rule for inbound connections to port 3389.
1904040	1911040	And the source address is wildcard. So any source address can connect to the service.
1911540	1913580	So it is open to the internet.
1914420	1918760	Next thing we want to look at is SSH. Is SSH also open to the internet?
1919900	1932020	Same command, same output. We're going to scroll through. We see that access is allowed for inbound connections on port 22 for any source address again.
1932020	1934520	So SSH is also open to the internet.
1936860	1949200	So the next thing we want to look at is network watchers. These enable flow logging or insight into network actions that are occurring.
1949200	1955360	So this command will output a list of the network watchers on the account.
1955740	1959300	We're looking for the provisioning state succeeded.
1959340	1964480	And if you didn't have any network watchers enabled, you would have an empty set like this.
1965860	1972480	So flow log retention period, is this sufficient for any of the flow logs?
1972640	1978340	So we'll run this command specifying a resource group and a network security group.
1978340	1981760	And we're going to look for the retention policy attribute.
1982140	1988260	In this case, we've got one that has days set to 30. We like to see this at at least 90 days.
1990320	1996180	So NCC Group Scout Suite. This is a tool we spoke about in the beginning of the presentation.
1997600	2003160	Scout Suite is an automated tool that does a lot of this stuff in mere minutes.
2003460	2011220	So a lot of those commands were pretty long. And I hope they didn't make your eyes bleed. This should be a lot better.
2011220	2018680	Multicloud. So right now it supports Amazon's AWS, Microsoft Azure, Google Cloud Platform.
2018780	2026340	And we recently released updates that include Alibaba Cloud and Oracle Cloud Infrastructure.
2027000	2030500	So using Scout Suite against AWS.
2030780	2036940	When you run Scout Suite against an AWS account, you will get a very similar interface to this.
2036940	2043460	You'll get the account number. You'll see the services that Scout Suite looked at.
2043460	2049400	And we've got some drop down menus up top that allow you to get to different dashboards.
2049740	2056720	Here we're looking at the IAM dashboard. So you see all of the findings that were associated with IAM.
2057580	2062520	And here we've got a finding for password expiration disabled.
2062520	2067800	So we'll click on this. We get a nice output of that password policy.
2067800	2073800	And we can see that Scout Suite has identified that password expiration is false. And it's highlighted that.
2073800	2079960	So you can very quickly go through and see what things are enabled or not enabled on your account.
2080640	2086980	We can go to the S3 dashboard. And we see some more findings here for S3.
2087420	2091780	And we see a finding for get actions authorized to all principles.
2092520	2102440	So this is the readable to everyone. So we click on that. We actually get the listing of the bucket.
2102560	2109500	And then the configuration data. And you can actually see down in the bottom right corner, there's a little details button.
2109500	2113940	So you can get the details of the policy itself for that bucket.
2114940	2117660	Alright, running Scout Suite against Azure.
2117660	2131940	Very familiar web page. Here we have fewer services because Azure's API is not as mature as AWS, but they are adding features.
2132260	2140780	So here we've got five different services. Key Vault, Network, Security Center, SQL Database, and Storage Accounts.
2140780	2148580	So we'll go up here to the Storage Accounts dashboard. And we see a finding for access keys not rotated.
2148580	2158540	So if we click the little plus sign over there, it drops down and you get some details on why Scout Suite identified that.
2158740	2168460	So the keys were rotated greater than 90 days from today. And there's also a reference to the CIS benchmarks.
2168460	2175880	So CIS benchmarks, what are these? They are developed by the Center for Internet Security.
2175880	2182040	They are best practice guides that provide step-by-step audit queries.
2182100	2187900	And they also provide step-by-step fixes once you've identified some issues.
2187900	2199260	And they're available for almost any technology you can think of. Red Hat, Server 2016, any kind of technology, they probably have a benchmark for it.
2199320	2207500	And the ones that we used for this presentation were the Amazon Web Services Foundations and the Microsoft Azure Foundations.
2207500	2210260	These are the cover pages for the PDFs.
2210260	2219960	And they provide a table of contents that is... you can navigate through it. You can click on whatever findings you're wanting to look at.
2220880	2230240	And they provide a step-by-step... on the left here you see the audit for using the AWS CLI.
2230340	2235520	But they also provide steps if you're going through the UI or the API.
2235520	2242880	And then they also provide some references as to why those findings were identified.
2243160	2249140	And on the right here you see a remediation for going through the Azure web console.
2249140	2251460	And also some references.
2251940	2253400	And that's it.
