Sensitive Data Discovery Tools

Shadow data: where it comes from and how to find it

Shadow data is data in a store missing from the owner register, so no retention rule or scan reaches it. It comes from seven sources: backups, retired hardware, test copies, orphaned storage, exports to vendors, analytics or AI copies, and systems inherited through acquisition. To find it, list every bucket, database, disk and snapshot across all cloud accounts with the inventory commands below, compare the list with the owner register, and scan what is unowned.

Last reviewed · Markdown version

Key facts

  • In the twelve dated records (January 2014 to December 2025), exposure ran from nearly 2,400 health reports and at least 227 consumers' genetic data (1Health.io, 2023) to readable passwords of hundreds of millions of Facebook Lite users (Facebook, 2019). The largest exact count is more than 46 million Deezer users, whose data a former subcontractor kept (MOBIUS, CNIL, 2025). Sources are in the table below.
  • Inventory queries are capped in two clouds: Azure Resource Graph returns at most 1,000 records per query, paged with --skip, and AWS Resource Explorer returns at most 1,000 resources per query (Microsoft, AWS).
  • Of the twelve cases, three left the owner's estate: Morgan Stanley's drives were resold by its moving company, GMR's transcripts sat on a vendor's FTP server, and MOBIUS kept a copy after its subcontract ended; no scanner the owner runs reaches any of them (SEC, FTC, CNIL).

Documented cases by source

None of the twelve records is an analytics or AI copy; the method for that source is in the table further down.

Dated public records of forgotten or unregistered stores and accounts, read December 4, 2026
Source Organization and date What the store was How it surfaced Records
Backups DealerBuilt, Jun 12, 2019 A storage device attached to the backup network A dealer customer asked why its data was public About 12.5 million consumers' unencrypted personal information, accessed by a hacker
Retired hardware Morgan Stanley Smith Barney, Sep 20, 2022 Decommissioned servers and hard drives, resold at auction by a moving company Not stated for the auctioned devices; a later records reconciliation during a branch server decommissioning found 42 more servers missing About 15 million customers' personal information at risk across the failures
Test copies Global Tel*Link, Nov 16, 2023 Personal information of real users copied to the cloud to test new search software A security researcher alerted the company Nearly 650,000 users copied
Orphaned accounts and storage 1Health.io, Jun 16, 2023 Publicly accessible AWS storage buckets Warned at least three times over two years; a security researcher contacted the company in June 2019 Nearly 2,400 health reports and raw genetic data of at least 227 consumers
Orphaned accounts and storage Wegmans Food Markets, Jun 30, 2022 Two misconfigured Microsoft Azure storage containers open to public access, one holding a database backup file and one a customer database; the first was misconfigured from its creation in January 2018 until April 2021 A security researcher told Wegmans in April 2021; its review found the second container in May 2021 More than three million consumers nationwide, including more than 830,000 New Yorkers
Orphaned accounts and storage Equifax Inc. and Equifax Canada, Apr 9, 2019 GCS databases at Equifax Inc. holding Canadian personal information past its retention periods; nothing had been deleted since at least 2010, and the employee responsible for GCS regulatory compliance was not sure who at Equifax Inc. was responsible for the retention policy's compliance functions Not stated for the stale data; the Commissioner's office learned of it by interviewing an Equifax Inc. IT architect during its investigation of the 2017 breach About 19,000 Canadians affected, almost all with social insurance numbers compromised
Orphaned accounts and storage CafePress, Mar 15, 2022 Customer data kept longer than necessary A hacker exploited its security failures in February 2019; a foreign government warned the company of the breach in April 2019 More than 180,000 unencrypted Social Security numbers; millions of emails and passwords
Orphaned accounts and storage Blackbaud, Feb 1, 2024 Data no longer needed that Blackbaud kept; the order requires its deletion Not stated on the page Millions of consumers (no exact count)
Orphaned accounts and storage Facebook, Mar 21, 2019 Internal data storage systems holding user passwords in a readable format A routine security review in January 2019 Hundreds of millions of Facebook Lite users and tens of millions of other users, as first stated
Exports to vendors GMR Transcription Services, Jan 31, 2014 An FTP application at a vendor (Fedtrans) that held medical audio and transcript files in clear text, open without authentication and indexed by a search engine; GMR was unaware of it The complaint says the respondents were told the files were available online; it does not name who found them Thousands of medical transcript files prepared March to October 2011
Exports to vendors MOBIUS SOLUTIONS, Dec 19, 2025 A copy of Deezer user data kept in a non-production environment by a former subcontractor after the contract ended, copied by three employees without the company being told Not stated for the retained copy; Deezer notified the CNIL in November 2022 after the data appeared on the darknet Data of more than 46 million Deezer users
Inherited systems TalkTalk, Oct 5, 2016 Legacy Tiscali web pages and the customer database behind them, inherited with Tiscali's UK operations in 2009; the ICO says TalkTalk should have known they existed Not stated for the forgotten pages; TalkTalk became aware of the attack on October 21, 2015 after internal reports of its network running slower than normal 156,959 customers' personal details accessed, including bank account number and sort code of 15,656 customers

How each source is found

Enumerate the account, then scan

  • AWS Resource Explorer searches resources across Regions and, set up through Organizations, across accounts (Resource Explorer). AWS Config, Google Cloud Asset Inventory and Azure Resource Graph are in the command table below. For how a scanner reads a store once it is found, see sensitive data discovery.
  • Amazon Macie builds an inventory of all general purpose S3 buckets in the account on enablement, and reports how many objects it cannot classify per bucket (inventory, unclassifiable objects). Run from the AWS Organizations administrator account, Macie manages member accounts centrally, up to 10,000 of them (quotas). It does not analyze objects in S3 Glacier Deep Archive or S3 Express One Zone (storage classes), so Macie does not read backups archived in those classes. Past 10,000 buckets per account, Macie keeps full monitoring only for the most recently created or changed buckets (quotas). See Amazon Macie.
  • Google Sensitive Data Protection profiles all supported resources in an organization, folder or project scope and picks up new tables (data profiles). For S3 and Azure it needs Security Command Center Enterprise and a connector to the other cloud account (S3 documentation, Azure Blob Storage documentation). See Google Sensitive Data Protection.
  • Microsoft Purview lists resources under a registered Azure subscription or resource group (documentation). See Microsoft Purview.
  • Netskope says that after onboarding its DSPM discovers the inventory of data stores, including unknown (shadow) ones (overview). See Netskope DSPM. Cyera says it scans for unmanaged stores, snapshots and exports and recognizes non-production stores holding production data (data sprawl). See Cyera.
Documented inventory commands, assembled for storage and snapshots
Cloud Command Unowned filter (owner is a placeholder for your tag or label key) Source notes
AWS Config, across accounts through an aggregator aws configservice select-aggregate-resource-config --expression "SELECT resourceId, resourceType, accountId, awsRegion WHERE resourceType IN ('AWS::S3::Bucket','AWS::RDS::DBSnapshot','AWS::RDS::DBClusterSnapshot','AWS::EC2::Volume','AWS::Backup::RecoveryPoint')" --configuration-aggregator-name my-aggregator Advanced query cannot unpack nested structures such as tags in SQL (AWS Config limits). Use Resource Explorer with a view that includes the tags property: aws resource-explorer-2 search --query-string "resourcetype:s3:bucket -tag.key:owner" keeps resources with no owner key, tagged or not (tag.key: and the - NOT operator, query syntax). A query returns at most 1,000 resources, so run it per resource type and Region (query syntax) The command form is from the AWS Config CLI page. The advanced query page names S3 buckets as queryable (AWS Config) and the supported resource types page lists the four others (types). The page lists no EBS snapshot type; list them per Region with aws ec2 describe-snapshots --owner-ids self --region REGION (AWS CLI reference). Only resource types the configuration recorder records are returned.
Google Cloud Asset Inventory gcloud asset search-all-resources --scope=organizations/ORG_ID --asset-types=storage.googleapis.com/Bucket,bigquery.googleapis.com/Dataset,sqladmin.googleapis.com/Instance,compute.googleapis.com/Disk,compute.googleapis.com/Snapshot,file.googleapis.com/Snapshot Add --query='NOT labels.owner:*'; labels.KEY:* is the documented existence check and NOT negates a resource search (query syntax, searching resources) The command form is from the search documentation; --scope also takes a folder or project path. The asset types are from the supported asset types page; compute.googleapis.com/Snapshot is Compute Engine disk snapshots and file.googleapis.com/Snapshot is Filestore snapshots.
Azure Resource Graph az graph query -q "Resources | where type in~ ('microsoft.storage/storageaccounts','microsoft.compute/snapshots','microsoft.compute/disks','microsoft.sql/servers/databases') | project name, type, subscriptionId, resourceGroup" --first 1000 Add | where isnull(tags['owner']), built from the documented tag filter tags['name']=='value' and isnull() (starter queries) The command form is from the starter queries; the four types are listed on the supported tables page. Larger results are paged with --skip (Microsoft).

Limits of connected-source scanning

Immuta's schema monitoring registers new tables and columns inside known schemas but not new schemas (documentation). Ground Labs' Enterprise Recon lists the buckets of the account whose credentials it is given, and its documentation shows no cloud account auto-discovery (documentation).

Method by source

Documented discovery step for each source of shadow data
Source First step
Backups and snapshots Run the snapshot query in the table above, compare each snapshot's source with the owner register, export unowned RDS and Aurora snapshots to S3 and run a Macie job on the export (AWS). To list snapshots started on or before December 4, 2025, one year before this read, add the following query to aws ec2 describe-snapshots (AWS CLI reference):
--query "Snapshots[?StartTime<='2025-12-04']"
Retired hardware Reconcile the decommissioning list against the asset inventory, the check that found 42 missing servers at Morgan Stanley (SEC). A device that has left the estate appears in no cloud inventory; only the decommissioning list records it
Test and dev copies Scope a Google discovery scan configuration to non-production projects (Google); on AWS, list RDS instances and snapshots in non-production accounts with the AWS Config query above, export them to S3 as Parquet and run a Macie job on the export (AWS); on Azure, register the non-production subscription in Purview (Microsoft)
Orphaned accounts and storage List every bucket and storage account from the cloud asset inventory, apply the unowned filter from the command table, and compare what remains with your owner register (Cloud Asset Inventory, AWS Config)
Exports to vendors Extracts that land in your own buckets, datasets or storage accounts appear in the inventory queries above (Cloud Asset Inventory, AWS Config). List the stores each vendor receives from the data processing agreements. A store at the vendor, as in the GMR case, is outside any scanner you run.
Analytics and AI copies Profile BigQuery datasets and Vertex AI training data with Google discovery, which picks up new tables (Google); on AWS, list S3 buckets in the analytics and ML accounts with the AWS Config query and run a Macie job on them. On Azure, a SAS token can open a storage account to anyone who holds it: list storage accounts that allow Shared Key access with az graph query -q "Resources | where type =~ 'microsoft.storage/storageaccounts' | where isnull(properties.allowSharedKeyAccess) or properties.allowSharedKeyAccess == true | project name, subscriptionId, resourceGroup" (Resource Graph starter queries). Account and service SAS tokens are signed with Shared Key; user delegation SAS tokens use Microsoft Entra credentials. A null allowSharedKeyAccess means Shared Key is allowed (Microsoft)
Inherited systems Invite the acquired accounts to the AWS Organization (AWS Organizations) and enable Macie for them from the administrator account (Macie quotas); on Google Cloud, scope a discovery scan configuration to the acquired organization or folder (Google); on Azure, associate the acquired subscriptions with your Microsoft Entra tenant (Microsoft) or register them in Purview (Microsoft), and run the Resource Graph query above across them

SaaS applications and on-premises file shares do not appear in cloud asset inventories. For SaaS, list the applications registered in the identity provider, for example az ad sp list --all for Microsoft Entra service principals (Microsoft). For file shares, run Get-SmbShare -IncludeHidden on each Windows file server (Microsoft). Scan what is found with a tool whose register entry marks SaaS or file shares (tools).

In their words: what people found

All 25 voices

Sources

  1. Azure Resource Graph: work with large data sets
  2. AWS CLI: ec2 describe-snapshots
  3. Azure Storage: prevent Shared Key authorization
  4. SEC release 2022-168, Morgan Stanley Smith Barney
  5. FTC, 1Health.io
  6. FTC, Global Tel*Link
  7. FTC, DealerBuilt
  8. FTC, Blackbaud
  9. FTC, CafePress
  10. Facebook, Keeping passwords secure
  11. FTC complaint, GMR Transcription Services
  12. UK ICO, TalkTalk cyber attack investigation
  13. Privacy Commissioner of Canada, PIPEDA findings 2019-001, Equifax
  14. CNIL, sanction of MOBIUS SOLUTIONS LTD
  15. New York Attorney General, Wegmans
  16. Amazon Macie documentation, what is Macie
  17. Google Sensitive Data Protection, discovery for Amazon S3
  18. Google Sensitive Data Protection, profile Azure Blob Storage
  19. Microsoft Purview, register and scan multiple Azure sources
  20. Netskope DSPM overview
  21. Cyera, data sprawl
  22. Immuta, schema monitoring
  23. Amazon Macie documentation, supported storage classes and formats
  24. Amazon Macie documentation, quotas
  25. Google Sensitive Data Protection, data profiles
  26. AWS Resource Explorer, what is Resource Explorer
  27. AWS Config, what is AWS Config
  28. Google Cloud Asset Inventory overview
  29. Azure Resource Graph overview
  30. AWS Config, supported resource types
  31. Azure Resource Graph, supported tables and resource types
  32. Cloud Asset Inventory, search query syntax
  33. Azure Resource Graph, starter queries
  34. AWS Organizations, invitations to join
  35. Ground Labs Enterprise Recon, Amazon targets
  36. Microsoft Entra, associate or add an Azure subscription to your tenant
  37. Azure CLI: az ad sp
  38. PowerShell: Get-SmbShare
  39. AWS Config, query using the SQL query editor (CLI)
  40. AWS Config, querying the current configuration state
  41. Cloud Asset Inventory, searching resources
  42. Cloud Asset Inventory, supported asset types
  43. AWS Resource Explorer, search query syntax