Case study

Healthtech

Sample case study: Cloud security ahead of a SOC 2 audit

A fast-growing healthtech company needed to close its cloud security gaps before its first SOC 2 Type II audit, without slowing down releases.

The engagement

At a glance

Client

Healthtech SaaS provider

Healthcare software, United States (sample client)

Service

Cloud and infrastructure security

Duration

4 weeks

Including a retest

Scope

AWS, Kubernetes and CI/CD

Three AWS accounts, an EKS cluster, the CI/CD pipeline and identity setup

The challenge

Rapid growth had outpaced cloud security

The platform had grown from one AWS account to three, with engineers deploying several times a day. Access had been granted quickly and rarely reviewed.

With the first SOC 2 Type II audit ten weeks away, leadership needed an independent view of the real risks and a fix plan the team could deliver in time.

What the client needed

Approach

How we tested

We reviewed the cloud configuration and tested it by hand the way an attacker would, starting from a leaked developer credential and a compromised pipeline. Critical issues went to the platform lead the day they were confirmed.

Week 1

Map and plan

Read-only access to every account, a review of identity, network and data flows, and a threat model of the pipeline.

Week 2

Test by hand

Privilege escalation paths, cluster breakout attempts and data exposure checks, tested from an attacker’s point of view.

Week 3

Report and fix

A prioritised report, a walkthrough with the platform team and Terraform-level fixes for each finding.

Week 4

Retest and map

Retest of every fix and a control map to SOC 2 Common Criteria for the auditor.

Findings

What we found

The most serious issue was a CI/CD deployment role that could assume an administrator role in production, so a single malicious pipeline change could have taken over the environment. Old access keys and unencrypted report exports added further risk.

1

Critical findings

4

High findings

7

Medium findings

5

Low findings

The full story

How the engagement ran

Sample case study for the template. The client is fictitious and the figures are representative. Review before publishing.

Starting point

The company had grown from one AWS account to three in eighteen months. Engineers deployed several times a day through a CI/CD pipeline, and most infrastructure was defined in Terraform. Security reviews had been informal, and the first SOC 2 Type II audit window was ten weeks away.

What we looked at

  • Identity and access: IAM roles, SSO, break-glass accounts and access keys
  • The EKS cluster: workload identity, network policies and admin access
  • The CI/CD pipeline: secrets handling, runner permissions and deployment roles
  • Data stores: S3, RDS and backups, including encryption and public exposure
  • Logging and detection: CloudTrail, GuardDuty and alert routing

Key findings

The critical finding was a deployment role used by the CI pipeline that could assume an administrator role in the production account. Anyone able to change a pipeline file could have taken over production. Other high-risk issues included long-lived access keys for a former contractor, an S3 bucket of exported reports without encryption, and Kubernetes pods that could reach the instance metadata service.

Fix, retest and audit readiness

We walked the platform team through each finding, agreed fixes in priority order and retested in week four. Every critical and high issue was closed before the audit window opened. We also mapped the cloud controls to the SOC 2 Common Criteria, so the auditor could trace each control to evidence.

What the team kept

Beyond the report, the team kept policy checks in the pipeline that block risky Terraform changes before they reach production, and a short runbook for reviewing IAM roles every quarter.

Outcome

The result

Every critical and high finding was fixed and verified before the audit window opened. The team went into the SOC 2 audit with clear evidence for its cloud controls and kept shipping on schedule.

What changed

Facing a similar challenge?

Tell us about your environment and we will recommend the right scope.

More case studies

Keep exploring

More case studies are on the way. Ask us for a reference.

Scroll to Top