Capital One had moved significant technology operations to the public cloud, a point the US regulator later made central to its penalty. That is what makes its 2019 breach instructive. The cloud provider was not hacked. The bank's data was reached through its own configuration. For Indian companies now moving core systems, customer data and AI workloads to AWS, Azure or Google Cloud, this is the most relevant kind of breach to study.
What happened in the Capital One data breach?
From Capital One's own incident page, the regulator's statement and reporting on the later criminal trial:
- When: Capital One says the unauthorised access occurred on 22 and 23 March 2019.
- How it was found: on 17 July 2019, an external security researcher reported a configuration vulnerability through Capital One's responsible disclosure programme. As reported at trial, Capital One was alerted to its S3 data being posted in a GitHub gist. On 19 July, the bank confirmed an outsider had gained access.
- How access was gained: the attacker, described by The Register as a former Seattle tech worker, reached Capital One's cloud storage through a misconfigured web application firewall (WAF). Reporting on the trial says she used a tool to scan cloud accounts for misconfigurations and targeted more than 30 organisations. She was convicted in June 2022 of wire fraud and computer fraud offences.
- What was taken: data on approximately 100 million individuals in the United States and approximately 6 million in Canada, mostly from credit card applications. Capital One says about 140,000 US Social Security numbers and about 80,000 linked bank account numbers were involved, plus about 1 million Canadian Social Insurance Numbers. It says no credit card account numbers or log-in credentials were compromised.
What did it cost?
In August 2020 the US Office of the Comptroller of the Currency (OCC) imposed an $80 million civil money penalty. Its reasons are worth reading closely: the bank failed to establish effective risk assessment processes before migrating significant technology operations to the public cloud, and did not correct the deficiencies in a timely way. Capital One also settled customer lawsuits for $190 million, as reported by The Register. The regulator's point is the important one for any board: the failure was in governance of the migration, not only in one setting.
How can a firewall become the way in?
A WAF sits in front of web applications and inspects requests. To do its job it usually runs on a cloud server, and that server has an identity in the cloud with some permissions. Two things then decide how bad a misconfiguration is:
- Can an outsider make the component do something it should not, such as forward a request to an internal address? A well-known class of bug, server-side request forgery (SSRF), lets an attacker make a server fetch URLs on their behalf, including internal cloud endpoints such as the instance metadata service, which can hand out temporary credentials.
- What can that component's credentials reach? If the firewall's role can list and read storage buckets that hold customer data, any foothold on the firewall becomes a path to that data.
The first is a bug or configuration mistake, and those will always happen. The second is a design decision, and it is where most organisations have room to improve. A WAF has no business reading a bucket of credit card applications.
The cloud controls that prevent this kind of breach
| Control | What to do | What it stops |
|---|---|---|
| Least-privilege roles | Give each workload a separate role with only the actions and resources it needs. Review roles that have wildcard actions or resources. | A foothold in one component reaching unrelated data |
| Metadata service protection | On AWS, require IMDSv2 (session tokens); block metadata access from containers that do not need it. | Simple SSRF requests stealing instance credentials |
| Outbound and SSRF filtering | Proxies and WAFs should not forward requests to internal or link-local addresses. | Your own security device being used as a proxy |
| Data-layer restrictions | Bucket policies that allow access only from specific roles and network endpoints; encryption with keys whose use is also restricted. | Stolen credentials working from anywhere |
| Detection on unusual access | Alert on bulk object listing or downloads, new source IPs for a role, and access via anonymising networks. | Large-scale copying going unnoticed |
| Configuration scanning | Continuous checks against a baseline (public buckets, open security groups, unused keys, over-broad roles). | Known misconfigurations staying open for months |
| Responsible disclosure | A published security contact and a process to act on reports. | Capital One learned of this from an outside tip; many companies have no channel for one |
The Indian angle: regulators expect the risk assessment
Indian regulated entities face the same expectation the OCC enforced. If you hold personal data, the Digital Personal Data Protection Act, 2023 sets the highest penalty, up to ₹250 crore, for a data fiduciary's failure to maintain reasonable security safeguards to prevent a personal data breach, and the DPDP Rules notified in November 2025 begin an eighteen-month phased compliance period. Under CERT-In's April 2022 directions, specified cyber incidents must be reported within 6 hours of being noticed. A cloud migration with no documented risk assessment would be difficult to defend under either.
In practice, Indian teams moving to the cloud often make predictable choices under deadline pressure: one administrator role reused by every service, access keys for a developer pasted into an application, a staging bucket copied from production and left public, and security groups opened to 0.0.0.0/0 "temporarily". None of these is exotic. All of them are visible to an attacker who scans.
A pre-migration and quarterly cloud review checklist
- Inventory: every account, region, bucket, database and public endpoint. Unknown resources are the first finding.
- Identity: list roles and users with admin or wildcard permissions. Remove long-lived access keys where roles can be used. Enforce MFA for console users.
- Data: classify buckets and databases holding personal or financial data. Check that only named roles can reach them, that encryption is on, and that public access is blocked at the account level.
- Edge components: WAFs, reverse proxies, API gateways and image fetchers get special attention for SSRF and for the permissions their servers hold.
- Logging: audit logs for API calls and data access are on in every region, stored in a separate account, and kept long enough to investigate (and, under CERT-In directions, ICT system logs for a rolling 180 days within India).
- Testing: an external cloud-focused penetration test before go-live and after major changes, plus continuous configuration scanning.
- Ownership: one named person accountable for cloud security, with a budget and a reporting line to leadership.
For a broader list of common mistakes, see the patterns that also cause runaway cloud bills: idle resources, leaked keys and missing alerts usually show up in both the security review and the invoice.
How Cehpoint can help
Cehpoint's VAPT service includes cloud configuration review and penetration testing of web applications, APIs and edge components such as WAFs and proxies, with retesting after fixes. For migrations, our cloud and DevOps engineers set up least-privilege roles, logging and guardrails from the start, and a virtual CISO can own the risk assessment and evidence a regulator or enterprise client will ask for.