How to Find Stale Third-Party Cloud Access Keys Before Attackers Do: Lessons from Barracuda's 44-Hour Intrusion

The most useful sentence in this month’s breach disclosures is not about AI. It is about a key. Barracuda says the intruder who spent roughly 44 hours inside parts of its cloud environment at the start of November got in with a cloud access key that had been issued to a third party, and that was still valid when that third party’s development environment was compromised. Every organisation that has ever given a vendor, contractor or proof-of-concept partner a static credential has the same exposure. This how-to shows how to find stale third-party cloud access keys in AWS, Azure and GCP, and how CloudShieldSecure turns that one-off hunt into a standing control.

What happened at Barracuda

Barracuda published a Trust Center advisory on 10 November (updated 13 November) and a detailed write-up, “Forty-four hours: Anatomy of a machine-speed intrusion”, on 11 November. The verified facts:

  • Initial access: a cloud access key that Barracuda had issued to a third party. Per the 13 November update, the key sat in a configuration file in the third party’s GitHub repository and was exposed when that party’s development environment was compromised. Other credentials in the same file had already expired or been revoked. This one had not.
  • Activity window: 1–2 November 2026. Barracuda’s write-up puts the intrusion at about 44 hours across roughly ten cloud accounts.
  • What the attacker went after: credentials. Barracuda says the attacker “sought credentials stored across portions of the environment and used those credentials to move laterally” across its cloud, data analytics and source-code environments, created cloud and Kubernetes resources, and hunted for cryptocurrency material (environment variables named WALLET, MNEMONIC, SEED and PRIV, keystore files, Kubernetes secrets with wallet-related names).
  • Customer impact: one system the attacker reached stores the credentials Barracuda XDR uses to collect data from customers’ connected systems. Barracuda says it has no direct evidence those integration credentials were viewed or accessed, but directly notified Managed XDR Cloud and Monitored Endpoint customers using an API integration to revoke and recreate them and to review activity in connected systems from 1 November.
  • Attribution: Barracuda says the tooling and naming patterns are “consistent with publicly reported characteristics of ARTEX”, an open-source AI-driven penetration-testing framework. That describes method, not a named actor.

Barracuda’s disclosure is fast and unusually specific, and it is what makes this case useful. The lesson is not “Barracuda got it wrong”. It is that a credential lifecycle gap nearly every cloud team carries was enough to start a multi-account intrusion.

Why third-party keys go stale

A key issued to an outside party has three properties that make it uniquely easy to forget:

  1. Nobody inside owns it. It is created for a project, a pilot or an integration, and the internal sponsor moves on.
  2. It does not show up in your offboarding process. HR offboarding removes people. Vendor offboarding, if it exists, removes contracts. Neither removes the IAM user or app secret the vendor was given.
  3. Its exposure lives in someone else’s environment. You can scan your own repositories for secrets. You cannot scan your vendor’s. When their environment is breached, your key is just one more line in a config file the attacker is reading.

This is the static-credential cousin of the problem we covered in how to audit AWS cross-account trust policies. Roles at least expire their sessions; a long-lived key works until somebody deletes it.

How to find stale third-party cloud access keys: a 30-minute check

AWS

Generate the IAM credential report and look at every active access key:

aws iam generate-credential-report
aws iam get-credential-report --query Content --output text | base64 -d > cred-report.csv

The report includes access_key_1_active, access_key_1_last_rotated and access_key_1_last_used_date (and the same for key 2). Flag any active key that is older than 90 days, has not been used in 90 days, or belongs to an IAM user whose name suggests a vendor, integration or project. For a single key, aws iam get-access-key-last-used --access-key-id <key-id> shows the last service and region it touched. If you use AWS Organizations, IAM Access Analyzer’s unused-access findings will surface unused keys across accounts.

Microsoft Azure / Entra ID

App registrations and service principals carry client secrets and certificates with an end date. List them per app:

az ad app credential list --id <appId>

Look for secrets with distant expiry dates on apps created for external parties, and cross-check the service principal sign-in logs in Entra ID: a secret that has not signed in for months, but still has years to run, is the Azure equivalent of Barracuda’s key. Entra app management policies can cap how long new secrets may live.

Google Cloud

gcloud iam service-accounts keys list --iam-account=<sa-email> --managed-by=user

User-managed service-account keys are the ones to chase. The organisation policy constraints iam.disableServiceAccountKeyCreation and iam.serviceAccountKeyExpiryHours stop new long-lived keys being created in the first place.

Then ask three questions of every key you find

  • Who outside the company holds it, and is that relationship still active?
  • What can it reach? A key scoped to one bucket is an incident; a key that can read secrets is a breach.
  • Does it need to be a static key at all? Most vendor integrations can use a cross-account role with an external ID, workload identity federation or OIDC instead.

Impact assessment

Risk rating: High for any organisation that has issued static cloud credentials to third parties and does not track them. The Barracuda case shows the path in compressed form: a vendor’s development environment is compromised, the attacker finds a valid key in a config file, and lateral movement follows by reading further credentials inside the victim’s environment. The blast radius is set less by the first key than by how many secrets that key can read once it is inside.

The CloudShieldSecure perspective

The question that would have mattered in this case is simple to ask and hard to answer by hand: which credentials in our cloud estate belong to someone who is not us, and which of them are still live?

CloudShieldSecure is built to keep that answer current. It inventories non-human identities across connected cloud accounts, including IAM users, access keys, app registrations and service-account keys, and flags the combinations that matter here: long-lived keys, keys with no recent use, credentials with no owner, and identities whose permissions let them read other secrets. It alerts when a dormant credential suddenly becomes active, which is often the first observable sign that someone else has found it.

That is the gap CloudKonsult sees most often in cloud reviews. Human offboarding is usually solid. Vendor and machine offboarding, the part that leaves a working key behind after a project ends, is where the risk sits.

  1. Run the inventory above this week in every cloud account and tenant, not just production.
  2. Tag every external credential with an owner, a vendor name and an end date. No tag, no key.
  3. Revoke anything unused for 90 days and anything tied to a finished project. Disable first if you are unsure, then delete.
  4. Replace static vendor keys with roles or federation wherever the vendor supports it.
  5. Cap credential lifetime by policy (Entra app management policies, GCP key-expiry constraints, AWS SCPs or automation for key age).
  6. Alert on dormant-key reuse. A key silent for months that starts calling ListSecrets or GetSecretValue deserves an immediate look.
  7. If you are a Barracuda Managed XDR Cloud or Monitored Endpoint customer and were notified, follow Barracuda’s advisory to revoke and recreate integration credentials and review connected-system activity from 1 November 2026.

Sources & references

Assess your security posture today

CloudShield Secure scans, validates, and prioritises threats across your entire attack surface.

Explore CloudShield Secure →
← N-central 4EverAble2Shell Zero-Day: Why Hotfix 2 … Java4Shell Exposure Check: How to Tell in 10 … →