Home | Blog | Shadow Data Is Not a Storage Problem. It Is a Classification Problem You Have Not Solved Yet.

Shadow Data Is Not a Storage Problem. It Is a Classification Problem You Have Not Solved Yet.

Unclassified data is not neutral. Every file sitting in an unreviewed SharePoint folder, every database column without a sensitivity label, every exported CSV in someone’s Downloads folder is a risk you cannot quantify because you do not know what is in it. Classification is how you turn that unknown into something you can act on.

This article explains how data discovery and classification actually work at a technical level, where the common failure points are, and what a working implementation looks like.

What Discovery Actually Does

Discovery is a scan process. A crawler connects to a data store, reads content, and passes it through one or more detection engines. The data stores can be cloud storage (S3 buckets, SharePoint, OneDrive, Google Drive), databases (SQL Server, PostgreSQL, Oracle), file shares, email archives, or endpoints.

The crawler does not move data. It reads, evaluates, and writes metadata back to a central inventory. What it reads includes file content, file metadata (owner, path, last modified), and in some configurations, embedded document properties.

Detection happens in a few ways:

  • Pattern matching against regular expressions (credit card numbers, Social Security Numbers, national ID formats, IBAN codes)
  • Keyword and dictionary matching for terms that signal sensitivity without following a strict format ("diagnosis", "patient ID", "salary band")
  • Context scoring that weights adjacent terms to reduce false positives (a string that looks like a credit card number next to "example" in a code comment scores lower than the same string in a CSV with cardholder names)
  • Machine learning classifiers trained on labeled document samples for less structured content types like legal contracts or HR correspondence

Pattern matching is fast and deterministic. ML classifiers are more flexible but require training data and periodic revalidation. Most production implementations use both.

What Classification Produces

A classification result is a label attached to a piece of content. Common frameworks use a sensitivity tier (public, internal, confidential, restricted) plus a data type tag (PII, PHI, PCI, financial). These two dimensions together drive enforcement decisions downstream.

The label lives somewhere. That somewhere matters more than most teams expect. Labels stored only in a third-party classification tool are useful for reporting. Labels written back to the file system, the document metadata, or a DLP policy engine are useful for enforcement. If the label cannot be read by your DLP, your CASB, or your access control system, it is not controlling anything.

A worked example: a crawler scans a SharePoint document library. It finds a Word document containing 47 instances of a Social Security Number pattern plus terms from a medical dictionary. The document scores as PHI with high confidence. The classification engine writes a sensitivity label directly to the file metadata. Microsoft Purview reads that label and applies a DLP policy that blocks external sharing for any file with that label. No analyst had to manually review the file for the control to take effect.

That chain, from scan to label to enforcement, is what a working implementation looks like. Any gap in that chain means classification exists on paper but not in practice.

Where Implementations Break Down

The most common failure is coverage gaps. A scan that covers SharePoint but not OneDrive personal drives, or that covers production databases but not development copies, produces a classification picture that is incomplete. Incomplete coverage creates a false confidence problem: you think you know where your sensitive data lives, but the breach happens in the system you did not scan.

The second failure is stale classification. Data is not static. A file classified as internal last year may now contain sensitive customer records because someone updated it. Discovery should run on a schedule, and high-risk data stores should be scanned more frequently than low-risk ones. Many organizations run an initial scan, declare victory, and never schedule a follow-up.

The third failure is orphaned labels. When an employee leaves and their account is deprovisioned, files they owned may lose their label context or fall outside active DLP scope. Access control reviews should include classification status, not just permission assignments.

What to Check in Your Current Setup

Before adding new tooling, audit what you already have:

  • List every data store that holds or could hold sensitive data. Include shadow IT and personal drives if your policy covers them.
  • Confirm your discovery tool has credentials and network access to each one.
  • Pull a sample of classified files and verify the label is readable by your DLP or access control system, not just the classification console.
  • Check the scan schedule. If the last full scan ran more than 90 days ago on a high-volume store, your inventory is stale.
  • Review false positive rates. If analysts are routinely overriding classification results, the detection logic needs tuning, not more manpower.

Data443’s data security platform includes discovery and classification capabilities that write labels into enforcement-ready metadata and connect to downstream DLP and access control workflows. If you are evaluating tools, the question to ask any vendor is not "what can you detect" but "where does the label go and what can read it."

The practical next step is a coverage audit. Map your data stores, confirm which ones are actively scanned, and find the gaps. That gap list is your actual risk posture, not the report from your last scan.