Cloud security · 29 July 2026
Common cloud misconfigurations in AWS and Azure, and how to find them
By SKIDZ research team · 7 min read ·
Most cloud incidents are not caused by a clever attack on AWS or Azure. They come from settings that were left open, too broad or switched off. The cloud provider secures the platform. You secure how you configure it.
This post lists the misconfigurations we see most often: public storage, broad permissions, exposed management ports, missing logging, unencrypted snapshots and secrets in code. For each one we explain why it matters and how to find it with tools you already have. Service names change, so check the current provider documentation.
Ask SKIDZ for a cloud posture review or call +966 59 809 0894
Why is public cloud storage such a common problem?
Storage such as Amazon S3 buckets and Azure Blob containers is easy to share and easy to share too widely. One wrong access setting or public link can expose customer files, backups or logs to anyone on the internet. Turn on account level public access blocks and review every bucket and container that is open.
Teams often open storage for a quick test or a website asset and forget it. Later the same bucket holds exports or backups. Search engines and scanners find open storage quickly, so assume it is found.
In AWS, use S3 Block Public Access at the account level and review bucket policies and access lists. In Azure, disable public blob access on storage accounts and check shared access signatures and their expiry. Both clouds have tools that list public resources, such as IAM Access Analyzer and Microsoft Defender for Cloud.
- Block public access at account or subscription level
- Review bucket and container policies
- Check shared links and signed URLs for expiry
- Encrypt stored data
- Log access to sensitive storage
What does overly broad IAM look like, and why is it risky?
Overly broad IAM means users, roles or apps hold far more permission than they need, such as full admin or wildcard actions on all resources. If one of them is stolen, the attacker inherits all of it. Apply least privilege, remove unused identities, and require MFA for people.
Broad access usually starts as a shortcut to make something work. It stays because nobody wants to break it. Over time, test accounts, old contractors and forgotten service accounts pile up with permissions nobody reviews.
AWS IAM Access Analyzer and credential reports show unused access and old keys. In Azure, review role assignments in Microsoft Entra ID and Azure RBAC, and use access reviews. Watch for owner or contributor roles at the subscription level, wildcard permissions and long lived access keys.
- Remove unused users, roles and keys
- Replace wildcard permissions with scoped ones
- Require MFA, with stronger methods for admins
- Prefer short lived credentials and managed identities
- Review role assignments on a schedule
Which management ports should never be open to the internet?
Remote administration ports, mainly SSH on port 22 and RDP on port 3389, should not be open to the whole internet. Scanners find them within minutes and try common passwords. Close them in security groups and network security groups, and reach servers through a VPN, a bastion service or the provider's managed session tools.
The same applies to database ports and admin consoles such as management dashboards. A rule that says allow from anywhere is the usual cause, often added during a rushed setup. Check for it in every region, not only your main one.
AWS Security Groups and Azure Network Security Groups both list inbound rules. Review them for any source of 0.0.0.0/0 on administration or database ports. Azure Bastion and AWS Systems Manager Session Manager are two managed ways to reach servers without opening those ports.
- No SSH or RDP open to the whole internet
- Databases are not publicly reachable
- Admin consoles behind a VPN or access proxy
- Inbound rules reviewed in every region
- Use managed session or bastion services
Why does missing logging hurt so much?
Without logs you cannot tell what happened, who did it or how far it went. Turn on AWS CloudTrail in every region and the Azure Activity Log, add resource level logs for key services, send them to a protected central place, and keep them long enough to investigate. Then add alerts for risky changes.
Logging is often switched on in one region or one account, while an attacker uses another. Logs stored in the same account they describe can be deleted by whoever compromises it, so copy them to a separate, restricted account or workspace.
Check also that someone reads them. Define a few alerts, such as new admin roles, changes to security groups and logging being turned off. Both providers offer services that group findings, for example AWS Security Hub and Microsoft Defender for Cloud.
- CloudTrail and the Azure Activity Log enabled everywhere
- Logs sent to a separate, protected account or workspace
- Retention long enough for an investigation
- Alerts for risky changes and logging being disabled
- A named person who reviews alerts
Why do unencrypted snapshots and disks matter?
Snapshots and disk copies hold full copies of your data. If they are unencrypted or shared too widely, anyone who gets access to them can read everything on the disk. Enable encryption by default for volumes, snapshots and databases, and check that no snapshot or image is shared publicly or with unknown accounts.
Snapshots are often created for backups or migrations and then forgotten. They can sit for years, still holding real data, long after the original server is gone. Include them in your inventory and clean up the old ones.
AWS lets you enable encryption by default for new volumes and shows shared snapshots in the console. Azure encrypts managed disks at rest by default and also offers customer managed keys when you need more control. Decide who owns the keys and restrict who can use them.
- Encryption by default for volumes, snapshots and databases
- No public or unknown account sharing of snapshots
- Old snapshots and images cleaned up
- Key ownership and access defined
- Backups protected against deletion
How do secrets in code get exposed, and how do you find all these problems?
Developers sometimes commit keys, passwords or tokens into code or config files, and repositories get shared, copied or made public. Move secrets to a secrets manager, rotate any that were exposed, and scan repositories and history. Then use posture tools and a review by a security team to find the rest.
A key in a repository is not safe just because the repository is private. Staff leave, laptops get lost and access changes. Once a secret has been committed, treat it as exposed, rotate it, and remove it from history where you can.
To find misconfigurations, combine tools and people. Use native services such as AWS Config, Security Hub, IAM Access Analyzer and Trusted Advisor, and Microsoft Defender for Cloud and Azure Policy. Add secret scanning in your code platform. Then have a person review the results, because tools show settings but not intent.
- Use a secrets manager, not code or config files
- Scan repositories and commit history for secrets
- Rotate any secret that was ever exposed
- Run posture tools in every account and subscription
- Add a periodic independent cloud review
Frequently asked questions
Are AWS and Azure insecure by default?
No. Both are built with strong security. The usual problems come from how customers configure them. Under the shared responsibility model the provider secures the platform and you secure your settings, data and access.
What is the single most common cloud misconfiguration?
Overly broad access is among the most common, either permissions that are too wide or storage that is too open. Public storage and broad IAM show up in many incidents.
Can free tools find these problems?
Yes, many of them. AWS and Azure both include tools that flag public storage, open ports and risky permissions. They are a good start, but they need someone to read and act on the results.
How often should we review cloud settings?
Run posture checks continuously where you can, review permissions and exposed ports every quarter, and review again after big changes or new projects.
What does a cloud security posture analysis from SKIDZ cover?
It reviews identity, storage, network exposure, logging, encryption and secrets handling across your AWS and Azure environments and gives you a prioritised list of fixes. Contact us to discuss scope.
اقرأ هذه الصفحة بالعربية