Skip to main content
A cutaway of a small shop: the newer extension already has smoke alarms in its ceiling, while in the older room the owner stands on a stepladder fitting one by hand. Safer defaults come with new accounts; an older account gets them only when someone goes back and turns them on.

Cloud23 min read

The Cloud Got Safer Defaults. Old Accounts Kept Theirs.

The most common cause of documented cloud breaches is a setting the customer controls, usually a credential that never expires. Providers keep shipping safer defaults, but those defaults reach new accounts first. How to bring an older account up to date, with or without a security team.

Cloud providers keep fixing their default settings, and the fixes usually land in new accounts first. The breaches on record most often start in settings the customer owns: old keys, roles with too much power, logs nobody switched on. How to find them in an older account and close them, whether you have a cloud team or not.

Fourteen percent.

That is the share of AWS servers built more than two years ago that enforce IMDSv2, a setting that closes off common tricks for stealing the temporary credentials attached to an AWS server. Datadog, which sells cloud monitoring and measured thousands of customer environments in September 2025, found that among servers built in the two weeks before it collected its data, more than half enforced it. Adoption has grown largely because AWS began switching the setting on by default for new servers.

The gap between those two numbers is the subject of this article. Over the last three years the big providers have changed default after default: new storage blocked from public access, safer server settings, a risky encryption option disabled. Many of those changes protect new accounts and resources first. The account a contractor set up in 2021 may still run on the choices made in 2021, unless someone goes back and changes them.

Two shelves of seven cabinets: on the upper shelf of servers more than two years old, one cabinet has a padlock, labeled 14%; on the lower shelf of new servers, four do, labeled over half. In Datadog's data, only 14% of AWS servers built more than two years ago enforce a safer setting that over half of newly built servers enforce.

Where breaches start is why this matters. The National Security Agency's 2024 summary of its top ten cloud mitigation strategies puts it in one line: "Many cloud breaches occur due to misconfigurations in cloud tenants." Datadog's earlier reports found that long-lived credentials, static keys that work until someone deletes them, are "the most common cause of publicly documented cloud security breaches." Korstiaan Stam, founder of the firm Invictus Incident Response, told Datadog that exposed keys belonging to individual AWS users "remain the primary initial access vector in AWS." And when the Cloud Security Alliance polled more than 500 industry experts for its 2026 Top Threats report, concerns about the providers' own infrastructure ranked too low to make the list.

The counterexample matters too. In May and June 2023, a group Microsoft calls Storm-0558, assessed to be tied to China, read the email of 22 organizations and more than 500 individuals using authentication tokens signed with a Microsoft key from 2016. The federal Cyber Safety Review Board concluded that the intrusion "was preventable and should never have occurred," and placed the failure on Microsoft, describing a cascade of security failures inside the company. The forged tokens came from Microsoft's own signing system, which no tenant setting reaches. Customer controls may have limited some consequences, but the board's findings and many of its recommendations were aimed at the provider. Cases like this are why the shared responsibility model has two halves; the rest of this article is about the half customers can change.

So the practical first question for any cloud account, as of October 2026, is this: which of your settings are older than the provider's current defaults? If you own the account but do not run it, start with the section "A Small Business with No Cloud Team" near the end; the technical sections before it explain what to ask the person who does.

Bring Old Accounts Up to Today's Defaults

When providers change a default, the problem it addresses can shrink, though not always quickly, and existing accounts often keep the old behavior.

Public storage shows the pattern. AWS began blocking public access on newly created S3 storage buckets in April 2023. In Datadog's data, the share of S3 buckets that were effectively public stayed at 1.5 percent in both 2023 and 2024, then fell to 1 percent by 2025. Datadog says the slow rise in protection is "likely caused by continuous wider awareness of the issue," together with the new default. Microsoft made a similar change for Azure storage accounts created after November 2023, and Datadog found public Azure containers falling from 5 percent in 2023 to 1.3 percent in 2025, which it calls "likely due to" the new default.

IMDSv2 shows the cost of waiting. Across all EC2 servers, only 49 percent enforced it, yet 82 percent had used nothing else in the previous two weeks, "meaning they could have enforced it with no functional impact." Datadog says the gap between enforcement and use is widest on older servers. AWS has offered a per-Region setting since March 2024 that makes IMDSv2 the default for every new server. Fewer than 3 percent of organizations use it, and where they do, enforcement reaches 95 percent or more.

Some defaults change for reasons that have nothing to do with a specific attack, and some reach existing accounts. In April 2026, AWS disabled SSE-C by default, an encryption option in which the customer supplies the key on every request. The change covered all new S3 buckets and existing buckets in accounts that held no data encrypted that way, and applications that need the option can still turn it back on. AWS's notice says that once its key management service launched in 2014, "there was no longer a practical security benefit to use SSE-C." The change came fifteen months after a ransomware group used exactly that option against at least two organizations, a case covered below, though AWS's notice does not mention the attacks. Two Middle East Regions were excluded.

Snowflake, the data warehouse company, offers the clearest case of a default arriving after the damage. In 2024, Mandiant traced a wave of data theft from Snowflake customers to stolen customer credentials and notified roughly 165 potentially exposed organizations. It found no evidence of a breach of Snowflake's own environment. Its description of the affected accounts reads like a configuration audit:

"The affected customer instances did not require multi-factor authentication and in many cases, the credentials had not been rotated for as long as four years. Network allow lists were also not used to limit access to trusted locations."

The provider held part of that story. Individual users could enroll in multifactor authentication, but it was July 9, 2024, after the breaches, when Snowflake announced a new option "that requires MFA for all users in an account." Until then, an administrator had no single switch to require it. Snowflake has since been phasing out password-only sign-ins; its last phase was scheduled to reach accounts between August and October 2026, dates Snowflake calls estimates that are subject to change. Customers could have enrolled their users in MFA and set network allow lists in 2024; the account-wide control came later, and the default later still.

What to do: once a year, and whenever a provider announces a security default, compare your oldest accounts with what a new account would get today, and ask of every announcement, does this reach my account, or only new ones? On AWS, start with three settings:

  • IMDSv2. Make it the Region default for new servers. For existing ones, find the remaining IMDSv1 callers first (AWS's CloudWatch metric MetadataNoToken counts them), change servers in stages, and keep a way to roll back. As of October 2026, AWS's documentation also lists an ImdsV1Enabled metric, published from each server's configuration, that shows which servers still allow the old version even when nothing is calling it. Datadog's two-week window suggests most instances are already compatible; a monthly or quarterly job may not show up in two weeks.
  • Encryption options you do not use. Disable them, as AWS has now done for SSE-C on new buckets.
  • S3 Block Public Access for the whole account. The security company Intruder, analyzing misconfiguration data from 3,000 organizations in the year to July 2026, found it missing at the account level in 81 percent of the AWS accounts it covered. Check first whether any bucket is meant to be public, such as a website served straight from S3: the switch will take it offline. AWS's guidance is to "verify that your applications will work correctly without public access," and one standard fix is to serve the site through CloudFront with origin access control, so the bucket itself stays private.

Treat the Shared Responsibility Model as a List of Settings

Every major provider publishes a shared responsibility model, and most people meet it as a diagram: the provider's half on the bottom, the customer's half on top. The diagram is accurate, but it hides the part that matters. The customer's half is a list of settings, and the list changes with every service you turn on.

AWS calls its half "Security of the Cloud" and the customer's half "Security in the Cloud," and then adds the sentence most readers skip: what the customer is responsible for depends on which services the customer picks, and that choice sets how much configuration work falls on the customer.

A virtual server leaves the operating system, the firewall rules, and the software to you. A managed database leaves less. Even the most managed service leaves the question of who can reach it and with what permissions.

A flat-pack box labeled virtual server, an assembled bookcase labeled managed database, and a built-in glass cabinet each carry a checklist tag, and the tags get shorter from left to right. The more a service does for you, the less you configure, but the last line on every tag, who can get in, stays yours.

Microsoft's version is shorter and, for a small organization, more useful, because it lists the duties that never move. Whatever the type of deployment, its documentation says, the customer always keeps four:

  • Data: classification, protection, encryption decisions, and governance.
  • Endpoints: the laptops, phones, and desktops that reach your cloud services.
  • Accounts: creating, managing, and removing user access.
  • Access management: who can do what, multifactor authentication, and the conditions for signing in.

Google argues that the model itself falls short. Its architecture guidance concedes that "it can be difficult to determine the best security configuration," and states that "Google believes that the shared responsibility model stops short of helping cloud customers achieve better security outcomes." Google's alternative, which it calls shared fate, has the provider ship secure blueprints, safer defaults, and guidance. Intruder's index found lower misconfiguration rates on Google Cloud and suggests shared fate is part of the reason. That is the vendor's reading of its own data, and it is untested: Intruder does not say how many organizations it scanned on each cloud, or whether it runs the same number of checks on each, and its own prose and table disagree on one of Google's figures.

The NSA describes cloud platforms as systems that "do what they’re told" by customers, "without any human oversight on the CSP side," and names the habit behind the trouble: customers assuming the provider handles protections that are in fact theirs.

A useful first pass takes an afternoon. Use Microsoft's four retained duties as the minimum list for any cloud account on any provider: data, endpoints, accounts, and access. Then, for each service you actually use, write one line on what that service leaves to you. The diagram becomes a checklist someone can own.

Treat an Account's Age as a Clue

An account built in 2021 can be well run, and an account built yesterday can hold a public bucket, an administrator role attached to ordinary code, or a key pasted into the wrong file. Age tells you where to look first. It does not tell you what you will find.

The detailed examples in this article come from AWS because that is where the documented cases and the published measurements are richest. The audit itself carries to any provider. Four questions cover most of it:

  1. Who can recover the owner account? The email address and second factor behind the account's original login.
  2. Which credentials never expire? Static keys, long-lived tokens, and service account keys.
  3. What can the public internet reach? Storage, servers, and management interfaces.
  4. Which logs and recovery copies would survive a compromised administrator? Anything an ordinary admin can delete does not count.

The third question reached well beyond the cloud in October 2026. On the night of October 11, attackers took over the remote controllers of refrigeration systems at hundreds of French supermarkets, Reuters reported, and the Paris prosecutor's office said the attack led to food losses and fires. France's government emergency response team, CERT-FR, named four controller families, Danfoss's AK-SM and AK-SC series among them, and noted that putting a management interface on the internet runs against good practice. Danfoss said many of the affected units had "reached end of life and no longer receive software or security updates" or were "running outdated firmware." On October 21, the head of France's national cyber agency, ANSSI, told the Senate that the attackers had exploited basic security failures, starting with refrigeration equipment exposed directly on the internet, administered with no particular protection, and weak passwords. CERT-FR's advice reads like an old-account audit: take every unit off its public address, check the insurance contract before cutting the data feed to the refrigeration contractor, and do not treat a factory reset as a fix on equipment that can no longer be patched: left on the internet, it will almost certainly be compromised again.

Look before you change anything. Give every exception a named owner, check whether an old setting still has a real dependency, roll changes out in stages while watching the logs, and keep a tested way back. Where a control cannot change yet, write down why and set a date for the next look. What you are after is the handful of choices that time has made riskier, decided again on purpose.

Replace Keys That Never Expire with Credentials That Do

By Datadog's count, the long-lived access key sits behind more publicly documented cloud breaches than anything else. It is a pair of strings that works from anywhere on the internet until somebody deletes it.

They are still common. In Datadog's 2025 data, 59 percent of IAM users in AWS had an active access key older than a year, and over half of those users had credentials unused for more than ninety days. An IAM user is an individual identity inside an AWS account, the kind that can hold a permanent key. The share of keys older than three years rose over the year, from 21 to 25 percent on AWS and from 22 to 25 percent on Google Cloud. Where do they leak? Stam's answer has shifted. Earlier, he said, keys turned up mostly in scripts accidentally exposed on code sharing platforms. Now: "In more recent incidents, the keys were exposed through improperly protected CI/CD pipelines and shared developer workstations."

A clear example at scale came from Palo Alto Networks' Unit 42 in August 2024. Attackers scanned for .env files, the plain-text files many web applications use to hold their secrets, left where a web server would hand them to anyone who asked. The campaign targeted 110,000 domains, and 7,000 of the variables it collected belonged to organizations' cloud services; Unit 42 did not test how many of those credentials worked. With the keys that did, the attackers built scanning tools inside victims' own AWS accounts, emptied storage buckets, and left ransom notes. Unit 42 was careful about where the fault lay:

"Note that the attackers’ success relied on misconfigurations in victim organizations that inadvertently exposed their .env files. It did not result from vulnerabilities or misconfigurations in cloud providers’ services."

AWS's security team, writing in January 2025 about the Codefinger ransomware described below, put the cure in one line: "Credentials that do not exist cannot be exposed or stolen." The same post named the compromise of long-term access keys as the root cause of that attack and of a large portion of security events.

A metal key on a ring, labeled "works until deleted", sits apart from a clip-on visitor pass and a running hourglass, labeled "expires by itself". A permanent access key keeps working for whoever finds it; a temporary credential stops on its own.

So stop issuing keys that live forever. On AWS, software should run under IAM roles, which hand out temporary credentials automatically, and people should sign in through a central identity service such as IAM Identity Center. Azure's managed identities and Google Cloud's attached service accounts do the same job. Where a static key cannot be avoided, give it the narrowest permissions possible and a rotation date someone owns.

A key idle for ninety days is a strong candidate for removal, and a review item before anything else: a quarterly job, a backup script, or an emergency process can still depend on it. Find its owner and the workload that last used it, then follow AWS's own order. Deactivate first, in a change window someone is watching, with a way to switch it back on; AWS recommends against deleting even a key that looks unused right away, because anything still relying on it "will stop working at this point." Delete it after the agreed waiting period. A key that has been exposed, or might have been, is a different case: revoke it at once and treat it as an incident. IAM Access Analyzer can flag unused keys continuously for a monthly charge; the free IAM credential report shows the same last-used dates.

Give Every Role Only the Power Its Job Needs

A stolen key with little power is a nuisance. A stolen key that can reach something powerful is a breach, and the distance between them can be minutes.

On November 28, 2025, the Sysdig Threat Research Team watched an intruder go "from initial access to administrative privileges in less than 10 minutes" inside a victim's AWS account. Its write-up, published in February 2026, turns on configuration at every step.

It started with storage. "The threat actor infiltrated the victim’s environments using valid test credentials stolen from public S3 buckets," Sysdig wrote. The buckets held reference data for the victim's AI applications. The test user's keys sat in a public place.

The test user could read across the account and had several read and write permissions on AWS Lambda, the service that runs small pieces of code on demand. That was enough. Each Lambda function runs under an execution role, a set of permissions the code borrows while it runs, and one existing function had an administrator's. The intruder replaced that function's code, and the rewritten function created administrator keys and returned them. From there the intruder spread across more than a dozen users and roles, created a user named backdoor-admin with full administrator rights, ran AI models through Amazon Bedrock, and launched a GPU server that was shut down five minutes later.

A test key lies in a bucket on a public bench; a person uses it to feed a new punched card into a machine that has a ring of master keys hanging on its side, and the machine pushes out a large master key. A bracket marked under 10 minutes spans from the bucket to the master key: in the Sysdig case, a weak test key reached administrator access because it could replace code that ran with administrator rights.

Sysdig also reported "multiple indicators that suggest the threat actor leveraged large language models," among them code comments and made-up account IDs. That is Sysdig's inference, and it may be right. Whether or not a model helped, the route existed because the configuration had already laid it out: a public bucket, a test user allowed to change running code, and a function holding administrator rights.

The same permissions are widespread. Intruder found IAM policies that allow privilege escalation in 83 percent of the AWS accounts it scanned, and Datadog found almost one in five EC2 servers, 19.4 percent, overprivileged. In the Cloud Security Alliance's 2026 survey, inadequate identity and access management moved to first place, and misconfiguration, the previous leader, fell to fifth.

Treat every role that runs code as if an attacker will one day control the code. Sysdig's recommendation for this exact path is to "Limit UpdateFunctionCode permissions to specific functions and assign them only to principals that genuinely need code deployment capabilities." It also warns about the neighboring route, changing which role a function runs under, which needs two permissions, UpdateFunctionConfiguration and PassRole, that deserve the same care. Keep test users out of production accounts, and check who can change code that runs with administrator rights.

Turn On the Logs Before You Need Them

A breach you cannot reconstruct is a breach you cannot bound. You cannot tell customers what was taken or say with confidence that the intruder is gone.

Some of the most useful logs are off by default and cost money. Unit 42 said so plainly: organizations "should enable S3 access logging or CloudTrail data events logging prior to an incident occurring," and neither source is on by default. The two are billed differently: AWS charges for CloudTrail data events, while S3 server access logs delivered to a bucket carry no delivery charge beyond the storage they use. Without object-level logging, CloudTrail's default event history can still show bucket-level management calls, but it cannot tell you which objects were read, copied, or deleted. Unit 42's fallback is billing data, which shows spikes in downloads and deletions by the hour at best.

Attackers know which logs matter. Before using the victim's AI models, the Sysdig intruder "checked whether the account had model invocation logging enabled."

Logging also sits partly on the provider's side of the line, as the Storm-0558 case showed. The State Department caught that intrusion with alerts built on a mailbox access log it could see only because it paid for a higher license tier; the board wrote that "The MailItemsAccessed log was not accessible without that “premium” service." Its recommendation was that providers offer baseline audit logging "as a baseline and routine service offering without additional charge."

What to do: start by knowing what you already have. CloudTrail's event history is on by default and keeps "the past 90 days of management events," the record of who changed what, in each Region, and AWS charges nothing to view it. Create a trail to keep that record longer, and send it to a tightly restricted logging account that the people who run your workloads cannot administer. If you use S3 Object Lock on that bucket, set and test a retention period, and keep the permissions to bypass or delete it away from ordinary administrators; in governance mode, anyone granted those special permissions can still remove protected logs. Add data events for the few buckets that hold your most sensitive data, and accept the cost for those rather than for everything. If you run AI models in the cloud, turn on invocation logging; as Sysdig puts it, "Invoking Bedrock models that no one in the account uses is a red flag." Then make sure at least one alert pages a person.

A person writes in a large logbook labeled 90 days of changes while loose pages fall from the desk, and copies of each page travel along a dotted line through the mail slot of a separate brick hut labeled copy kept elsewhere. The default record of who changed what covers only the last 90 days; a copy kept where an intruder cannot erase it is what survives an incident.

Plan for the Day a Key Leaks Anyway

In January 2025, the security firm Halcyon described a ransomware group it calls Codefinger that used stolen AWS keys to re-encrypt victims' S3 data with SSE-C, the customer-supplied-key option. AWS never stores that key, so the data cannot be recovered without the attacker's copy, and CloudTrail records only a code derived from the key, not enough to rebuild it. The attackers then set the files to delete themselves within seven days. An AWS spokesperson told SecurityWeek that Halcyon's report was based on two organizations. Halcyon was explicit that "this attack does not require the exploitation of any AWS vulnerability but instead relies on the threat actor first obtaining an AWS customer’s account credentials."

The fixes come from AWS's own post on the attack: block SSE-C where you do not need it, which AWS has since made the default for new buckets; turn on S3 Versioning so earlier versions of an object survive an overwrite; and copy critical data "to a different bucket and perhaps to a different AWS account or AWS Region."

A replica alone is not a backup. It can share credentials, policies, and lifecycle mistakes with the source, and whether deletions travel with it depends on how replication is set up; by default S3 does not copy delete markers. For every bucket the business could not survive losing, keep versioned recovery copies in an account the production credentials cannot administer, decide on purpose whether deletes should replicate, add retention where the risk warrants it, and test a restore. Those steps turn permanent loss into a recoverable incident.

Three Readers, Three Different First Steps

The sections above apply to everyone. What comes first depends on who is reading.

A Small Business with No Cloud Team

If a contractor, a web developer, or a former employee created the account, begin with ownership.

Find out who really controls the root user. The root user, the account's original login, has "complete access to all AWS resources in your account." AWS began requiring MFA on root sign-in for management and standalone accounts in 2024 and, in June 2025, extended the requirement to all account types. With MFA required, the question that matters is whose phone or security key holds that second factor, and whose inbox receives the root user's email. If either belongs to the contractor, the contractor still effectively controls your account. While you are there, check the root row of the credential report: AWS's guidance is "Don't create access keys for the root user," and MFA does not protect a key.

A shop owner holding a key ring waves goodbye as a contractor leaves with a toolbox, holding up a phone and an envelope labeled root MFA device and root email. If the root user's second factor and email are still the contractor's, the contractor still controls the account.

Remove access for anyone who no longer works on the account. That includes the contractor's own users and keys, and any role that lets an outside company's AWS account in. The NSA's ninth strategy tells organizations to "audit MSP accounts and operations in the environment, prioritizing privileged accounts and activities." Datadog found that 12.2 percent of third-party integration roles are "dangerously overprivileged, allowing the vendor to access all data in the account or to take over the whole AWS account."

Ask how your contractors protect their own laptops. In several of the Snowflake cases, Mandiant traced the infostealer infections behind the stolen passwords to contractor machines also used for gaming and pirated software, and warned that "a single contractor's laptop can facilitate threat actor access across multiple organizations."

Set a budget alert. AWS Budgets lets you track and act on your costs and usage. An unexpected cost spike can expose misuse that a small account would otherwise miss, though an intruder who runs up no bill will never trip it.

A Team with at Least One Engineer

  1. Take root out of member accounts. Intruder found root access not centrally managed in 72 percent of the AWS accounts it scanned. Since November 2024, AWS Organizations can manage root access centrally, and AWS recommends "removing root user credentials from member accounts."
  2. Enforce guardrails from the organization, and keep workloads out of the management account. Service control policies set limits that apply to the users and roles in a member account, whatever their own permissions say (service-linked roles aside). But AWS's documentation is blunt that "SCPs don't affect users or roles in the management account," and Datadog found 9 percent of organizations running servers there anyway. Among organizations whose management account Datadog could see, 40 percent used service control policies.
  3. Define infrastructure in code and check it before it ships. The NSA lists secure automated deployment through infrastructure as code among its ten strategies. A policy check in the deployment pipeline catches a public bucket before it exists.
  4. Protect the pipeline itself. The NSA's sixth strategy is defending CI/CD environments, and Stam names badly protected pipelines as a recent source of leaked keys. The pipeline often holds the most powerful credentials in the company.

Someone Building Alone

Solo builders often run model access, storage, and code in one account, which is the shape of the account in the Sysdig case. Three habits cover most of the risk. Keep experiments in a separate account from anything real, so a careless test cannot reach production unless you have built a bridge between them; the Sysdig intruder tried to assume a standard cross-account administrator role in every account it could name. Keep the buckets that feed your AI applications private; Sysdig's list ends with making sure "S3 buckets containing sensitive data, including RAG data and AI model artifacts, are not publicly accessible." And remember that the AWS credential report does not list every kind of key: its documentation names "Amazon Bedrock long-term API keys" among the credentials it leaves out, so audit those separately, and log model use as well: in the Sysdig case, the intruder invoked models thirteen times within two hours of getting in.

Start Monday with the Credential Report

The sources in this article are vendors measuring their own customers, government agencies writing guidance, and investigators reconstructing breaches. They agree that providers do sometimes fail, and that the breaches documented most often begin with something the customer could have changed.

So start there. On Monday, sign in to the AWS console, open IAM, and download the credential report. Check the root row first: whose email is it, and does root have an access key? Then sort the access keys by last-used date. Treat every key idle for ninety days as a review candidate: find its owner and the job that last used it, deactivate it in a watched change window with a way to switch it back, and delete it only after the agreed waiting period. If a key has been exposed or might have been stolen, revoke it now and handle it as an incident. Give each remaining key an owner and an end date. On Azure or Google Cloud, the equivalent is the list of app credentials and service account keys.

It is a short job for a small account, and it answers, for your account, the question this whole subject comes down to: what have you told the cloud to do?

First published on steelmotionllc.com.