Re:Capital One Says Breach Hit 100M Individuals in U.S
by elliekelly on Monday July 29, 2019 @10:07PM
(#20561494)
Are there AWS experts who can do some sort of quick audit or "sanity check" of an environment's configurations? AWS almost makes it too easy for someone who only sort of knows what they're doing (like me) to get things up and running.
[ Parent
| on HN ]
Re:Capital One Says Breach Hit 100M Individuals in U.S
by dopylitty on Monday July 29, 2019 @11:34PM
(#20561933)
There are many different automated systems for checking for misconfigurations in your AWS organization. Capital One even developed a very popular one (Cloud Custodian). Like most automated configuration checkers or monitoring systems they rely on being configured by experts because at their default settings they are mainly a source of annoying alerts that end up auto-filed to email folders you never look in because this is agile and we can rationalize the alert rules in the next iteration (we won't). They can also auto apply actions. Have fun debugging your Cloud Formation stack that failed because the automated checker system terminated the instance without notifying anyone because it was missing a required tag.
As useless as these checkers are, the main problem is that there are so many different ways to gain access to resources that it's almost impossible to have a system that's useful to the business while also provably secure either manually or automatically.
Don't forget even AWS themselves created a "managed" policy for some minor service which accidentally gave users root access in the account: https://medium.com/ymedialabs-innovation/an-aws-managed-poli...
Re:Capital One Says Breach Hit 100M Individuals in U.S
by ec109685 on Monday July 29, 2019 @11:00PM
(#20561772)
Ironically Capital One built Cloud Custodian, which does just this. But as you can see by the number of pull requests, it is an immense problem space:
https://github.com/cloud-custodian/cloud-custodian/pulls?q=i...
Re:Capital One Says Breach Hit 100M Individuals in U.S
by scarface74 on Monday July 29, 2019 @10:58PM
(#20561757)
AWS locks everything down by default. As far as I know, there is no direct way through the GUI to make a bucket public, you have to know how to add the JSON policy and even then you get a very noticeable warning.
Re:Capital One Says Breach Hit 100M Individuals in U.S
by gnerix on Monday July 29, 2019 @11:13PM
(#20561835)
Check out the Trusted Advisor dashboard, GuardDuty is also a good thing to have running in your account
Re:Capital One Says Breach Hit 100M Individuals in U.S
by nullify88 on Tuesday July 30, 2019 @03:46AM
(#20562863)
We run this tool every now and again which has helped me in the past. Not sure how it compares to Cloud Custodian though.
Re:Capital One Says Breach Hit 100M Individuals in U.S
by peterwwillis on Tuesday July 30, 2019 @02:40AM
(#20562578)
Basically, no. AWS is flexible enough to let you set it up in any complicated way you want, meaning it gives you plenty of rope to hang yourself with. It's arguably much easier to audit a random Linux box for security than an AWS account.
Re:Capital One Says Breach Hit 100M Individuals in U.S
by alpha_squared on Monday July 29, 2019 @10:49PM
(#20561713)
I don't know that there's a "quick audit", there are too by vectors for any single professional to check. You'd be best served by using an auditing or monitoring solution. Even then, you're really just auditing _known_ vectors as it's likely impossible to cover all possible ones.
I used to work on an auditing and monitoring platform, there really are too many vectors.