Case study · Cloud security and third-party risk

Every door has a lock and an owner: governing third-party access for a Japanese online securities firm

A Japanese online securities firm ran on AWS and relied on a long list of suppliers: a data platform, an observability vendor, a managed service provider for office devices, SaaS tools connected to its email and files. Each had been given access when it was onboarded, and nobody had a single view of who could reach what. When attackers used one data platform's trusted access to raid its customers' AWS accounts, the firm set out to know, narrow, watch and be able to cut every supplier's access.

Case studyFinancial services · JapanSumanta Mukhopadhyay9 min read
#security#governance#platform
CASE STUDY · CASE STUDY · CLOUD SECURITY AND THIRD-PARTY RISK10 Nov 2026 · 15:50 GST
At a glance
SectorFinancial services · Japan
My roleFractional CTO and security architect
EngagementAssessment, architecture and delivery leadership
ScopeThird-party access inventory, cross-account role design, data perimeter, behaviour monitoring, per-vendor revocation, contracts and regulatory evidence
What changed
  • One ledger of every third party's access, with an internal owner and a business reason
  • Vendor roles narrowed to the actions and resources each service needs
  • Alerts on vendor access from unexpected places or at unexpected times
  • Any vendor's access can be cut quickly with a rehearsed runbook
  • Evidence for third-party risk management ready for supervisors and auditors
Cross-account roles, external IDsService control policiesAWS CloudTrail and alertingSecrets managerIdentity provider for SaaS and OAuth grantsJust-in-time MSP accessVendor access ledgerPer-vendor revocation runbooks

Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.

The situation

A Japanese online securities firm ran its trading and account platforms on AWS. Over the years it had connected a long list of suppliers: a data platform that read market and customer data through a cross-account role, an observability vendor with read access to logs and metrics, a managed service provider that ran remote management agents on office devices, and SaaS tools connected to the firm's email and file storage through OAuth grants. Each connection had been approved by the team that needed it, at the time it was needed. Nobody had a complete list.

The FSA's cybersecurity guidelines for the financial sector, in effect since October 2024, treat third-party risk management as a core area, including outsourcing and cloud services5. The firm's supplier assessments were thorough on paper: questionnaires, certifications and contract clauses. What they did not show was what each supplier could technically do inside the firm's systems today.

Why now. In early November 2026, Wiz reported that an attacker had used credentials tied to Qubole's AWS account to assume integration roles that customers had created to trust Qubole, then collected secrets and data from those customers' accounts1. Days later, N-able took its hosted N-central remote management platform offline after a researcher published alleged zero-days2. Both showed the same thing: a supplier's access is only as safe as the supplier.

What had to be true

  • Known: every supplier's technical access in one ledger.
  • Owned: an internal owner and a business reason for each.
  • Narrow: each supplier can do only what its service needs.
  • Watched: unusual supplier activity raises an alert.
  • Revocable: any supplier's access can be cut quickly, without guesswork.
  • Evidenced: supervisors and auditors can see all of the above.

Architecture

Suppliers
Data platformcross-account roleObservabilityread-only roleManaged service providerdevice agentsSaaS toolsOAuth grants
Access
Narrow rolesspecific actions and resourcesUnique external IDsper relationshipJust-in-time accessfor remote management
Guardrails
Service control policieswhat no vendor may ever doData perimeterexpected networks onlySecrets out of reachnot in vendor-readable places
Detection
CloudTrailevery vendor actionBehaviour alertsnew source, time or action
Governance
Vendor access ledgerRevocation runbooksContract terms
Each layer assumes the one above it might fail: narrow roles, then guardrails, then detection, then a way to cut access.

Every cross-account role was rebuilt following AWS's guidance for third-party access: a trust policy naming the vendor's account, a unique external ID for the relationship and permissions limited to the specific actions and resources the service needed34. Service control policies set limits no supplier role could exceed, such as never reading the secrets manager or changing identity settings. Where a vendor could commit to fixed source networks, resource policies only accepted vendor access from those networks. The model is the one Kubernetes teaches for role-based access: a narrowly defined role, bound explicitly to named identities6.

Diagram of a pod-reader role allowing only get and list on pods, bound through a role binding to a user, a group and a service account
A narrow role bound to named identities: the same shape the firm used for every supplier's access, whatever the platform. Source: Kubernetes blog, Andrew Martin · CC BY 4.0

The data flow, end to end

  1. RequestA supplier's system asks to assume its role in the firm's account
  2. Check trustThe trust policy checks the vendor account and external ID
  3. LimitThe role, guardrails and data perimeter decide what is allowed
  4. ActThe supplier performs only the actions its service needs
  5. WatchCloudTrail records each action; unusual patterns raise an alert
  6. CutIf needed, the runbook disables the trust and revokes sessions
Trust is checked at the door, limited inside and watched throughout.

The hard part: when the supplier itself is compromised

External IDs are not enough. An external ID protects against the confused deputy problem, where one customer tricks a vendor into acting on someone else's account3. It does not help when the vendor's own systems are compromised; in the Qubole case, the attacker's requests were accepted by customers' roles1. So the firm assumed every supplier could one day be the attacker, and designed so that a compromised supplier could reach only a narrow slice of data, could not read secrets and would trigger alerts by behaving differently.

Detecting "normal but wrong". A compromised supplier uses valid credentials, so authentication alerts stay quiet. The firm built a simple baseline per supplier: usual source networks, usual hours, usual API actions and usual data volumes. Departures from that baseline, such as a new network, listing every bucket or reading parameters it had never read, raised alerts to the security team and the supplier's internal owner.

Remote management tools. The managed service provider's agents could run commands on every office device, so they received the strictest treatment: access only to office devices, never to trading systems; just-in-time sessions approved per task; and a tested way to stop the agents across the fleet if the provider was compromised. See the MSP cyber resilience case study.

Assume every supplier will one day be breached. Design so that day costs you a narrow slice of data and an alert, not your whole estate.

How it ran

Security
  1. Access inventory
  2. Guardrails and alerts
  3. Revocation drills
Platform
  1. Rebuild vendor roles
  2. Data perimeter
  3. Move secrets out of reach
Vendor owners
  1. Confirm business need
  2. Define normal behaviour
  3. Review quarterly
Risk, legal and procurement
  1. Map to FSA guidelines
  2. Notification clauses
  3. Evidence for supervisors
Security and platform built the controls; the people who own each supplier relationship kept them accurate.
Phase 1Find
  • Roles trusting outside accounts
  • OAuth grants and agents
  • Owners and reasons
Phase 2Narrow
  • Rebuild roles
  • Remove unused access
  • Guardrails
Phase 3Watch
  • Behaviour baselines
  • Alerts to owners
  • Data perimeter
Phase 4Rehearse
  • Revoke-a-vendor drills
  • Contract updates
  • Quarterly reviews
The first phase alone removed access nobody could justify.

Key decisions and trade-offs

DecisionAlternativeWhy
Technical ledger of access, not only questionnairesRely on supplier assessmentsShows what suppliers can actually do today
Assume supplier compromiseTrust certified suppliersValid credentials are exactly what attackers use
Guardrails no vendor role can exceedCareful role design onlyOne mistake in a role does not expose everything
Behaviour alerts per supplierGeneric anomaly detectionSmall baselines are cheap and catch "normal but wrong"
Just-in-time remote managementAlways-on agent accessLimits what a compromised provider can do at any moment
Rehearsed per-vendor revocationRevoke when neededCutting access in a crisis needs a known, safe procedure

What I'd do again, and differently

Again: start with the inventory of roles trusting outside accounts. It found integrations for services the firm had stopped using years earlier, still active. Differently: involve procurement from the start, so new suppliers are onboarded into the ledger rather than discovered later. Related: the 10 November tech news, the machine and agent identity case study, securing MCP servers and where I work.

If you cannot list every supplier that can reach your cloud, or cut one off quickly, see my fractional CTO work, or analyse your challenge and bring the result to a call.

References
  1. 1
  2. 2
  3. 3
  4. 4
    SEC03-BP09 Share resources securely with a third partyAWS Well-Architected Framework · 2026
  5. 5
  6. 6
    11 Ways (Not) to Get HackedKubernetes blog · 18 Jul 2018
FAQ

Common questions

Does an AWS external ID stop a compromised vendor?

No. An external ID protects against the confused deputy problem, where one customer tricks a vendor into acting on another customer's account. If the vendor's own credentials are stolen, the attacker can present the right external ID. Narrow permissions, data perimeters and behaviour monitoring are still needed.

What should a vendor access ledger contain?

For each supplier: what it can reach, how (role, OAuth grant, agent, VPN account), the permissions, an internal owner, the business reason, when it was last reviewed and how to revoke it.

How do Japanese financial regulators view third-party cyber risk?

The FSA's cybersecurity guidelines for the financial sector, in effect since October 2024, include third-party risk management as a core area, including outsourcing and cloud services.

Keep reading

Related

Open to advisory, fractional CTO & select builds

Let's talk about what you're building.

The fastest route is a free 30-minute call. Prefer to write? Send a message and I'll reply personally within two business days.

Start a conversation

How would you like to reach me?

Book a 30-min callFastest. Pick any open slot on my calendar.→ Write in GmailOpens a pre-filled draft in your browser.→ Use my email appOutlook, Apple Mail or your default client.→

I reply personally within two business days. Time zones from the Americas and Europe to the Middle East and Asia-Pacific.