Preventing Cloud Data Breaches: Data Classification, DLP and AI

Most cloud data breaches come from preventable causes: storage left publicly accessible, stolen credentials used on accounts without MFA, and over-broad access. The 2024 Snowflake customer incidents, investigated by Mandiant, are a clear example of the second. Preventing breaches starts with knowing where sensitive data lives.

Feb 27, 2025 - 11:31
Updated: 
101.8k

Cloud & Container Security in Cybersecurity & Ethical Hacking · Explainer

AI in Cybersecurity

Preventing Cloud Data Breaches: Data Classification, DLP and AI

Quick answer: Most cloud data breaches come from preventable causes: storage left publicly accessible, stolen credentials used on accounts without MFA, and over-broad access. The 2024 Snowflake customer incidents, investigated by Mandiant, are a clear example of the second. Preventing breaches starts with knowing where sensitive data lives. Data discovery tools use pattern matching and machine learning classifiers to find personal and financial data in storage, then data loss prevention (DLP) policies control how that data is shared or moved. AI speeds up discovery and labelling, but classifiers mislabel data, so access controls, MFA and encryption remain the base.

Key takeaways

  • You cannot protect data you have not found and classified.
  • Public storage and credentials without MFA are recurring breach causes.
  • ML classifiers find sensitive data at scale but need human review of samples.
  • DLP enforces rules on sharing, upload and download.
  • The DPDP Act 2023 raises the stakes for personal data in India.

Table of Contents

What Usually Causes Cloud Data Breaches?

CauseHow it happensPrimary control
Public storageBucket or blob container readable by anyoneBlock public access at account level
Stolen credentialsInfostealer or phishing, no MFAPhishing-resistant MFA, rotation
Over-broad permissionsRoles that can read every bucketLeast privilege reviews
Exposed keysAccess keys in code repositoriesSecret scanning, short-lived credentials
Third-party accessVendor accounts with standing accessTime-bound access, monitoring

MITRE tracks collection from storage as T1530, Data from Cloud Storage. On AWS, S3 Block Public Access can be enforced for the whole account.

What Happened in the Snowflake Customer Incidents?

In June 2024, Mandiant reported that a financially motivated group it tracks as UNC5537 used credentials stolen by infostealer malware to access Snowflake customer accounts, then stole data for extortion. Mandiant identified three enabling factors: no MFA, credentials not rotated, and no network allow lists. It found no evidence that Snowflake's own enterprise environment was breached. The lesson is that data platforms are only as safe as the account settings around them.

How Does AI Help Classify Cloud Data?

Discovery services scan storage and label what they find. Amazon Macie uses machine learning and pattern matching to find sensitive data in S3. Microsoft Purview offers sensitive information types and trainable classifiers. Google Cloud Sensitive Data Protection inspects and de-identifies data. Pattern rules catch structured data such as card numbers; ML classifiers help with documents such as contracts or medical notes, where no simple pattern exists.

What Does Cloud DLP Control?

  • Sharing labelled files with external users or public links.
  • Uploading sensitive data to unapproved cloud services.
  • Copying data to USB or personal storage from managed devices.
  • Pasting sensitive text into generative AI tools, where supported.

Where Do Classifiers and DLP Go Wrong?

ProblemExampleFix
False positivesTest numbers flagged as Aadhaar or card dataValidation checks, sample review
False negativesScanned images or unusual formats missedEnable OCR where available
Partial coverageDatabases and backups never scannedInventory every data store
Block fatigueUsers bypass strict policiesStart with warnings and justification

What Does the DPDP Act Mean for Cloud Data?

India's Digital Personal Data Protection Act 2023 requires data fiduciaries to take reasonable security safeguards to prevent personal data breaches and to report breaches. Classification helps you show which systems hold personal data. Incidents must also be reported to CERT-In within 6 hours under its directions.

What Is a Practical Prevention Checklist?

  1. Enforce MFA on every cloud and data platform account, including service users where possible.
  2. Block public storage access at the organisation level.
  3. Run data discovery on all storage and review a sample of labels.
  4. Apply DLP in audit mode first, then enforce for high-risk data.
  5. Map controls to NIST CSF 2.0 Protect functions.

See also cloud security problems AI cannot fix and cloud security basics. Ask about cloud security training.

References

Frequently Asked Questions

Documented incidents repeatedly involve misconfigured public storage, stolen credentials on accounts without MFA, and over-broad access permissions.

Finding and labelling data by sensitivity, such as public, internal or confidential, so the right protection and sharing rules can be applied.

Data loss prevention is a set of policies and tools that detect and control sensitive data being shared, uploaded or copied outside approved paths.

Macie discovers sensitive data such as personal information in Amazon S3 using machine learning and pattern matching, and reports findings.

Mandiant found no evidence of a breach of Snowflake’s enterprise environment; attackers used stolen customer credentials on accounts without MFA.

No. They produce false positives and negatives, so teams should review samples and tune policies before enforcing blocks.

Yes. The Act requires data fiduciaries to notify the Data Protection Board and affected individuals of personal data breaches.

Enforce MFA everywhere, block public storage at account level, and run a data discovery scan to find where personal data actually sits.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.