r/AWSCertifications • • 5d ago

Security on AWS SAA-C03

I having hard time with IAM part there so much locked down and I cant understand why they still can get Hacked with all these policy lockedowns?..

0 Upvotes

4 comments sorted by

4

u/Many-Ad-1189 5d ago

Iam mismanagement lol imagine keys get leaked

1

u/Many-Ad-1189 5d ago

Iam is just one part of IT management - server misconfigurations , patch management , data management , IPsec , app misconfiguration , aws infrastructure misconfiguration lol I could go on forever about how easy it is to get breached or have data leak

1

u/cgreciano AIP, SAA, DVA, MLS 4d ago

You need to watch some spy movies. Some facilities have keys, ID cards, guards, cameras, fingerprint and eye detection doors, vaults... and the "hero" still manages to steal the holy grail.

1

u/BerthHosting 4d ago

The policies only protect you if they are the ones actually in use, and many real breaches go around the policy logic instead of through it. The usual patterns:

  1. Leaked long-lived access keys. An IAM user key pushed to a public repo or left in a config file works from anywhere until someone deactivates or rotates it. That is why the exam keeps steering you toward roles and temporary credentials instead of user keys.
  2. Over-broad permissions. Policies with Action "*" or Resource "*" get added to make something work and never get trimmed, so a small foothold turns into access to the whole account.
  3. Resource policies. A bucket policy with Principal "*" can make the data public no matter how locked down your users are. S3 Block Public Access exists to stop exactly this.
  4. Stolen instance credentials. An app with an SSRF bug can be tricked into reading the instance metadata endpoint and handing out the role's temporary credentials. Requiring IMDSv2 is the mitigation to know.

For SAA-C03, if you remember least privilege, roles over access keys, MFA on the root user, and that an explicit deny always wins, you will handle most of the IAM questions.