Join our Newsletter — 33% off our NHI Course
Home› Guides› Breach Data Mining and Document Review: Finding Who…
Guide Incident Response & Forensics

Breach Data Mining and Document Review: Finding Who Must Be Notified in Stolen Files

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 14 min read
On this page

After a data theft, the attacker often knows more about what was taken than the victim organisation does, and every notification decision waits on finding out which people and which data elements sit inside the stolen files. Breach data mining, sometimes called data mining and document review, is the process of searching exposed or exfiltrated data to identify affected individuals, the data elements tied to each of them, and their jurisdictions, so that notification obligations can be worked out and met. This guide covers scoping the dataset, choosing between automated, AI-assisted and manual review, building a defensible notification list, quality control and securing the review itself. It is written for incident responders, privacy teams and in-house or external counsel, and it does not cover the mailing and call centre side, which is in the Breach Notification Logistics guide.

Key takeaways

  • The notification list is built per person, not per file. The output you need is one row per individual with their data elements and residence, because legal triggers depend on combinations such as name plus account number.
  • Scope first, review second. Confirming exactly what left the environment, and removing duplicates and system files, usually shrinks the review more than any tool choice.
  • Deadlines run in parallel with the review. GDPR's 72-hour authority notification and HIPAA's 60-day limits do not wait for review to finish, so plan phased reporting from day one.
  • Defensibility comes from documented sampling and decisions. Record the method, the coding rules, the QC samples and every judgement call, so a regulator or court can see how the list was produced.
  • The review environment holds the most sensitive copy of the breach. Treat it as a high-value system with strict access, logging, no internet egress and a defined destruction date.

Why data mining is needed after a breach

Breach notification laws ask questions that log analysis alone cannot answer: who was affected, how many, what categories of data, and where they live. GDPR Article 33(3) expects the notification to the supervisory authority to describe the categories and approximate number of data subjects and records. HIPAA notices must describe the types of information involved, and business associates must identify each affected individual to the covered entity where possible. US state laws, which exist in all 50 states, the District of Columbia, Guam, Puerto Rico and the US Virgin Islands according to the National Conference of State Legislatures, typically trigger on a name combined with specific elements such as a Social Security number, driver's licence or state ID number, or financial account number, with exemptions such as encryption.

When the stolen data is a structured database, answering those questions can be a query. When it is a file share, a mailbox export or a SharePoint site with years of scanned forms, spreadsheets and email attachments, someone has to open the documents and extract the people and data elements inside. That is the review this guide describes. It sits inside the analysis and notification activities of NIST SP 800-61 Rev. 3; see the NIST SP 800-61 Incident Response Guide and the Incident Response Guide.

Workflow from intake to notification list

StagePurposeKey outputsTypical owner
1. Intake and preservationSecure a verified copy of the affected data set under chain of custodyHash-verified copy, custody record, source inventoryForensics
2. ScopingEstablish what was accessed or exfiltrated and narrow the data set to itScope memo linking forensic evidence to data locationsForensics with counsel
3. ProcessingExtract text, expand archives, OCR images, de-duplicate, remove system filesProcessed, searchable corpus with exception reportReview technology team
4. Search and classificationFind documents containing personal data and the elements in themResponsive document set with element tagsReview team, automated tools
5. ExtractionCapture each individual and their elements from each responsive documentRaw entity table (person, element, source document)Reviewers
6. ConsolidationMerge duplicate people across documentsOne row per unique individual with all elementsData analysts
7. EnrichmentAdd residence and contact details from authoritative internal recordsJurisdiction and address per personData analysts, business data owners
8. Legal analysisApply notification triggers per jurisdiction and data elementNotification decision per person, regulator countsCounsel, privacy office
9. QC and sign-offSample and verify each stage; document methodQC log, method statement, signed listQC lead, counsel

Scoping the dataset

Review cost and time scale with volume, so scoping is the most valuable work in the whole exercise. The goal is to review what the evidence shows was taken or accessed, not everything that could have been.

  • Use the forensic evidence: exfiltration logs, staging archives found on hosts, cloud storage access logs and the attacker's own leak-site file listings can pin down which folders, mailboxes or tables were involved. Where the evidence cannot exclude a location, counsel usually has to treat it as in scope.
  • Compare against the leak: if the attacker published data, obtaining and comparing it is a legal and safety decision for counsel; where approved, use it only to confirm scope, inside the secured review environment.
  • De-duplicate and filter: remove exact duplicates by hash, near duplicates by text similarity, and file types that cannot hold personal data (executables, system libraries). Record every filter applied.
  • Handle the hard formats: scanned PDFs and images need OCR; spreadsheets and databases may be faster to parse as structured data than to review as documents; password-protected files and corrupt files go to an exception queue.

Scoping decisions are often made under privilege. See the Legal Privilege in Incident Response Guide and, for collection mechanics, the eDiscovery and Legal Hold Guide.

Review approaches: automated, AI-assisted and manual

Most reviews combine all three.

ApproachHow it worksStrengthsLimitsBest for
Pattern and rule matchingRegular expressions, checksums (for example Luhn for card numbers), dictionaries and proximity rulesFast, repeatable, explainableMisses unusual formats; false positives on number-like strings; weak on namesFirst-pass identification of numeric identifiers
Structured data parsingLoad spreadsheets, CSV and database extracts and map columns to elementsAccurate at scale for tabular dataNeeds column mapping and data owner inputHR exports, customer tables, claims files
AI-assisted entity extractionMachine learning or language models identify people and elements and propose links between themHandles free text, letters, forms and varied layoutsErrors are less predictable; needs validation and careful data handlingLarge unstructured sets such as mailboxes and scanned correspondence
Manual reviewTrained reviewers open documents and code people and elements against a protocolJudgement, context, handles edge casesSlow, costly, fatigue errorsLow volumes, high-sensitivity documents, QC and exceptions
  • Choosing the mix: small data sets with a few thousand documents can be reviewed manually with rule-based highlighting. Large sets need automation to prioritise, with humans reviewing everything flagged as containing high-risk elements.
  • AI-assisted tools and data protection: processing breach data through an AI service is itself processing of personal data. Confirm where the model runs, that inputs are not retained or used for training, and that the contract covers it. See the Data Minimisation guide.
  • Review protocol: write a coding manual before review starts, listing each data element, examples of what counts and what does not (for example a partial account number, an expired card), and how to handle family members, deceased individuals and minors.

Building the notification list

The legal analysis depends on which elements are present for each person, so classify elements into groups that line up with notification triggers. The exact triggers differ by law and by state, so this table is a starting framework for counsel, not a rule set.

Element groupExamplesWhy it matters
Direct identifiersFull name, first initial and surname, postal address, email addressNeeded to identify and contact; most US state triggers require a name in combination with another element
Government identifiersSocial Security number, driver's licence or state ID, passport, national insurance number, tax IDCommonly listed trigger elements in US state laws (per NCSL); high identity theft risk
FinancialBank account number, payment card number, with or without access code or PINCommon state trigger; card data also brings card scheme obligations
Online credentialsUsername or email with password or security answerTrigger element in a number of US states; requires password reset actions
Health and insuranceDiagnosis, treatment, medical record number, health plan beneficiary numberProtected health information under HIPAA for covered entities and business associates; special category data under GDPR Article 9
Biometric and sensitive dataFingerprint templates, face images, data on ethnicity, religion, sexuality, criminal recordsSpecial category or criminal offence data under GDPR; trigger element in some US states
Protected or encryptedData encrypted where the key was not also compromisedEncryption exemptions apply in many laws; HIPAA treats properly encrypted PHI as secured

For health data, the 18 HIPAA Safe Harbor identifiers in 45 CFR 164.514(b)(2) are a useful checklist of what links health information to a person, even though they are a de-identification standard rather than a breach test.

  1. Consolidate identities: the same person appears many times with spelling variants, maiden names and old addresses. Use deterministic keys first (employee ID, customer number), then documented fuzzy matching, and log merges so they can be reversed.
  2. Determine residence: state and country of residence decide which laws apply. Prefer current addresses from authoritative internal systems over addresses found in old documents, and record the source used.
  3. Apply the triggers: counsel applies each jurisdiction's definition to each person's element combination and records the decision and its basis. See the Data Breach Notification Checklist and the Breach Notification Laws by Country Guide.
  4. Produce counts: regulators ask for totals by jurisdiction. California, for example, requires a sample notice to the Attorney General when more than 500 California residents are notified for a single breach (Civil Code 1798.82(f)), and HIPAA media notice applies when a breach affects more than 500 residents of a state or jurisdiction.
  5. Hand over: deliver the list to the notification team in a controlled format with only the fields needed to send notices and tailor letter variants.

Regulatory timelines and the review

RegimeClockWhat it means for the review
GDPR Article 33Notify the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware; information may be provided in phasesSend an initial notice with approximate categories and numbers from early scoping; update as the review produces counts. See the GDPR Articles 33 and 34 Breach Notification Guide
GDPR Article 34Communicate to individuals without undue delay where the breach is likely to result in a high riskPrioritise review of special category and financial data, which drive the high-risk assessment
HIPAA Breach Notification RuleIndividuals without unreasonable delay and no later than 60 days after discovery; HHS and media within the same limit for 500 or more; smaller breaches reported to HHS annuallyThe 60 days is an outer limit, not a target; plan review capacity to finish well inside it. See the HIPAA Breach Notification Rule Guide
US state lawsVary: many use "without unreasonable delay" language, some set a fixed number of daysTrack the shortest applicable deadline across all states represented in the data

The ICO says organisations do not need complete figures to report and can provide information in phases, but expects the investigation to be prioritised and expedited.

Quality control and defensibility

Regulators and litigants may later ask how the organisation knows the list is complete. HIPAA puts the burden of proof on covered entities and business associates to show that notices were made or were not required, and GDPR Article 33(5) requires every breach to be documented with its facts, effects and remedial action. A defensible review can show its method, not just its result.

  • Method statement: a short document describing scope decisions, filters, tools, coding manual version, consolidation rules and QC design, kept with the incident record.
  • Stage-by-stage sampling: draw random samples from each stage and check them: documents marked "no personal data" (to estimate what was missed), coded documents (to check element accuracy) and consolidated records (to check merges). Size samples with a statistician or an established statistical method, record the calculation, and report observed error findings with sample sizes rather than vendor accuracy claims.
  • Second-level review: a senior reviewer checks all documents with high-risk elements, all exceptions and a sample of each first-level reviewer's work; error patterns go back into reviewer guidance.
  • Decision log: record each judgement call (for example how a partial identifier was treated) and who made it, and apply it consistently across the set.

Metrics to track

  • Documents processed, in exception and resolved, by source.
  • Observed miss rate in the "no personal data" sample, with sample size.
  • Element coding error rate in second-level review, per reviewer and per tool.
  • Unique individuals after consolidation versus raw entity count.
  • Days from scope confirmation to signed notification list, against the shortest legal deadline.

Securing the review environment

The review platform ends up holding a cleaned, indexed and searchable copy of the stolen data, linked to people. Protect it at least as well as the original source.

  • Isolation: host the review in a dedicated environment with no internet egress except to approved services, separate from the compromised estate, and treat attacker-published files as potentially malicious content.
  • Access: named accounts only, phishing-resistant MFA, least privilege by role (reviewer, QC, admin), time-limited access for contract reviewers, and no shared logins. Service accounts and API keys used by processing tools should be scoped to the project and revoked at close.
  • Logging: record searches, views, exports and permission changes; review export logs weekly and protect the logs from alteration.
  • Data handling: encrypt at rest and in transit, disable downloads and printing for reviewers, watermark views, and mask high-risk elements in reviewer screens where full values are not needed.
  • Third parties: if an external review provider is used, put a data processing agreement in place, confirm location of processing and staff vetting, and require deletion certificates.
  • Retention and destruction: set the retention period with counsel (litigation holds may extend it), then destroy review copies and derived lists securely and record it. See the Evidence Handling and Chain of Custody Guide.

Framework mapping

ActivityNIST CSF 2.0NIST SP 800-53 Rev. 5ISO/IEC 27001:2022 Annex A
Establish what data was affected and how many peopleRS.AN-03, RS.AN-08IR-45.26 Response to information security incidents
Preserve data and record review actionsRS.AN-06, RS.AN-07AU-95.28 Collection of evidence
Notify authorities and individualsRS.CO-02IR-65.34 Privacy and protection of PII
Secure and dispose of review dataPR.AA-01AC-6, SC-28, MP-65.34; 8.10 Information deletion

Common failure patterns

  • Reviewing everything that was reachable: skipping evidence-based scoping multiplies cost and delays notices, when logs could have narrowed the set.
  • Counting documents instead of people: reporting "40,000 files" to an authority without consolidation, then revising numbers repeatedly and publicly.
  • Ignoring residence: using addresses from old documents, so individuals receive the wrong state-specific notice or none.
  • Trusting the tool: accepting automated or AI-assisted extraction without sampling, so systematic misses (for example on scanned handwritten forms) go unnoticed.
  • A second breach in the review platform: broad reviewer access, downloads enabled and no export logging around a copy of the most sensitive data the organisation holds.
  • Waiting for the final number: missing the GDPR 72-hour window because the team believed it needed complete counts before reporting.

Practitioner checklist

  • Preserve a hash-verified copy of affected data under chain of custody before any review.
  • Write a scope memo tying each in-scope location to forensic evidence, approved by counsel.
  • Agree the coding manual and element groups with counsel before review starts.
  • Choose the mix of rule-based, AI-assisted and manual review and record why.
  • Stand up an isolated review environment with MFA, role-based access, export logging and downloads disabled.
  • Consolidate individuals with documented matching rules and authoritative residence data.
  • Run stage-by-stage random sampling and second-level review, and log every judgement call.
  • Send phased authority notices on time; do not wait for the final count.
  • Destroy review copies and lists at the agreed date and keep the destruction record.

Standards and references

Related NHI Mgmt Group resources: Breach Notification Logistics · Data Breach Notification Checklist · eDiscovery and Legal Hold Guide · Legal Privilege in Incident Response Guide. This guide summarises breach notification requirements and review practice and is not legal advice.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.