Success Story: Closing a Cloud Account-Takeover Path Across Three Environments
Success Story: Closing a Cloud Account-Takeover Path Across Three Environments
This anonymised composite case study reflects recurring patterns from authorised cloud-security work. Client identity, systems and measurements have been changed, and no named customer is implied.
A software company operating separate development, staging and production environments wanted assurance that the separation worked in practice. Its cloud dashboards showed no critical misconfigurations. Leadership asked a more meaningful question: could a determined attacker still cross the boundaries?
The authorised objective
The engagement began with access equivalent to a compromised developer account. Testing was designed to avoid production changes and customer-data access. The team examined identity relationships, automation, secrets, build workflows and monitoring.
The attack path
The developer account could modify a low-risk build definition. That pipeline used an older service identity shared with staging. The identity could read a deployment artifact containing configuration metadata. No password was stored there, but the metadata revealed a trust relationship that allowed a staging workload to request a token in a production-adjacent account.
A final policy prevented direct database access. However, the token could invoke an internal maintenance function whose logging was incomplete. The team demonstrated controlled invocation with a harmless test payload and stopped. The combination created a credible account-takeover and persistence route that individual configuration checks had not ranked as critical.
Fixing the system, not one symptom
- Shared service identities were replaced with workload-specific identities.
- Pipeline modification required reviewed, protected changes.
- Cross-environment trust conditions were narrowed.
- Maintenance functions received strong authorisation and complete audit logging.
- Detection rules were added for abnormal token exchange and build changes.
Measured improvement
During retesting, the original path failed at multiple independent controls. The company also adopted an identity-relationship review for every new cloud environment and integration. More importantly, engineering and security began modelling permissions as connected paths instead of isolated policies.
The engagement succeeded because it tested how the platform behaved as a whole. Cloud security is rarely defeated by one dramatic setting. It is more often weakened by inherited trust, shared automation and assumptions that no longer match reality.
