In cloud environments, exploiting unpatched applications has overtaken weak passwords as the main way in. Once inside, attackers often run crypto miners or steal data through over-permissive keys and connected apps. These habits use AWS as the example, but the same principles apply to Azure, Google Cloud and hosting providers.
0 of 6 habits in place
Your progress is saved only in this browser. Nothing is sent to us.
Essential
Do this first. It stops the most common attacks.
Recommended
Worth doing once the essentials are in place.
Advanced
Extra protection for people facing higher risk.
Protect the root or owner account with several MFA devices
Essential
Register more than one MFA device, ideally FIDO security keys, and keep the root email address and phone number current.
Why it matters
AWS now requires MFA on root accounts. If you lose every MFA device, recovery depends on access to both the account's email and its phone number.
How to do it
Register at least two MFA devices for the root or owner account.
Prefer FIDO security keys or passkeys.
Check that the root email address and phone number are current and protected.
Store the backup key somewhere safe and separate.
Never use the root account for daily work
Essential
Do not create access keys for the root user; use a separate admin user or single sign-on for everyday tasks.
Why it matters
The root user has unrestricted access to everything, including billing. Root access keys are a disaster if they leak.
How to do it
Delete any access keys that exist for the root user.
Create an administrator user or use single sign-on for daily work.
Use root only for the few tasks that require it.
Set up an alert for root account sign-ins.
Prefer short-lived credentials to long-lived keys
Recommended
Use single sign-on, roles and OIDC from your CI instead of permanent access keys, and remove unused users and permissions.
Why it matters
Leaked long-lived keys can stay valid for years. Short-lived credentials expire on their own, so a leak has a much smaller window.
How to do it
Use single sign-on or roles for people.
Use OIDC federation for CI/CD pipelines instead of stored keys.
Rotate any keys you cannot remove yet.
Remove unused users, roles and permissions regularly.
Set a low budget alert
Essential
Create a monthly budget alert with a low threshold based on actual spending.
Why it matters
Abuse such as crypto mining usually shows up first as a sudden jump in the bill. Alerts based on forecasts need weeks of data, so new accounts should use actual spending.
How to do it
Create a monthly budget in your cloud billing console.
Set an alert at a low amount above your normal spending.
Base the alert on actual spending if the account is new.
Send alerts to more than one person.
Review connected third-party apps
Recommended
Audit the OAuth apps and integrations connected to your accounts, and narrow their permissions.
Why it matters
Tokens stolen from trusted integrations have been used to steal data from cloud services at scale. Old or over-permissive integrations are a quiet risk.
How to do it
List the third-party apps connected to your cloud and online service accounts.
Remove apps you no longer use.
Reduce each app's permissions to what it needs.
Review the list every quarter.
Patch public apps fast and grant least privilege
Recommended
Update internet-facing applications quickly, and give each user and service only the permissions it needs.
Why it matters
Unpatched software was the most common way into cloud environments in late 2025. Least privilege limits what an attacker can do once inside.
How to do it
Keep a list of your internet-facing applications and their versions.
Apply security updates to them first.
Use tools such as IAM Access Analyzer to find unused or excessive permissions.