Deleted Files Aren't Gone: 3 Assumptions That Get Companies Sued
By Jonathan D. Steele | August 10, 2025
What should you know about deleted files aren't gone: 3 assumptions that get companies sued?
Quick Answer: Before, teams treated deletion, blanket retention, and outsourced destruction as simple checkboxes—pressing Delete or keeping everything forever created the illusion of safety while backups, snapshots, slack space, SSD firmware quirks, and failed vendor wipes left sensitive data recoverable and multiplied legal and investigative exposure. After implementing forensic‑grade controls—bit‑for‑bit imaging and memory capture, mapped retention matrices with automated lifecycle enforcement, cryptographic erasure tied to KMS key destruction, and audited vendor chain‑of‑custody and verification—organizations shrink their breach surface, speed defensible incident response, and make destruction an auditable, testable outcome rather than a risky promise.
— Jonathan D. Steele, Esq. (Security+, ISC2 CC, CEH)
Stop Pretending Deletion Is Protection — An Incident Shattered Three Dangerous Assumptions
I've pulled raw forensic images, rebuilt timelines from slack-space remnants, and watched executives’ lives unspool because someone trusted a checkbox. One real-world incident exposed three dangerous assumptions about retention and destruction — assumptions that turn routine housekeeping into catastrophic exposure. Below I dismantle those false comforts, show exactly how attackers and investigators exploit them, and give concrete, forensic-grade controls you can apply immediately.
Myth #1: "If we delete a file, it's gone."
Reality: Deletion is a promise you can't keep — unless you design for it.
The simple UX of pressing Delete belies the complex storage and backup ecosystem beneath it. Files persist in backups, snapshots, unallocated space, file system journal/slack, swap/pagefile, memory, device firmware, and in cloud object stores that support versioning. SSDs and mobile devices add wear‑leveling, overprovisioning, and vendor firmware behavior that defeat naive wipes. In short: deletion is a logical state change, not guaranteed physical eradication.
- Forensic evidence collection techniques (concrete):
- Create bit-for-bit images with a hardware write-blocker when imaging attached block devices; example command: dd if=/dev/sda of=/evidence/sda.img bs=4M conv=sync,noerror && sha256sum /evidence/sda.img.
- Capture volatile memory using WinPMEM (Windows) or LiME/avml (Linux) and verify hashes.
- Export application logs and cloud metadata via provider APIs (e.g., aws cloudtrail lookup-events, gcloud logging read) and pull object versions (aws s3api list-object-versions --bucket BUCKET).
- Time-sync all evidence collection with an NTP-validated clock and record SHA-256 hashes and chain-of-custody in a tamper-evident log.
- Investigation methods to reveal "deleted" data: File carving (scalpel, photorec), slack-space and unallocated cluster analysis, timeline reconstruction with plaso/Timesketch, and memory analysis with Volatility/Volatility3. Network pcaps (tcpdump/pcap) can reveal exfil traces. For cloud: scan snapshots and AMIs for embedded credentials or exported datasets.
- Prevention / remediation steps (actionable):
- Implement data classification and automated retention tags so deletion is deliberate and auditable. Example: tag S3 objects with retention=90d / classification=PII; enforce via bucket policy and lifecycle rules.
- Align backups and snapshot lifecycles to your retention policy. Configure snapshot lifecycles (AWS Data Lifecycle Manager, Azure Backup) so tombstones and deletions propagate to archival copies; test by deleting a file and tracing its lifecycle through backups and snapshots.
- Use cryptographic erasure for cloud objects by encrypting with a customer-managed key (CMK) and destroying the key to render data irrecoverable — document key IDs, destruction timestamps, and KMS audit entries. For on-premise: use vendor‑validated secure erase (ATA security-erase or NVMe Secure Erase) or physical destruction for media that cannot be reliably purged.
- Operationalize verification: after an erase, attempt to mount or carve the device image and document the absence of recoverable artifacts; retain the verification output and hashes as evidence.
Legal Protection Matters: Cybersecurity incidents often have significant legal implications. Our sister firm Steele Family Law helps Illinois families navigate complex legal situations with the same commitment to protection and discretion we bring to cybersecurity.
Myth #2: "Keep everything forever — it’s the safest legal posture."
Reality: Indiscriminate retention multiplies breach surface and legal exposure.
“Just keep it” increases your attack surface, multiplies data copies, makes eDiscovery costly, and enlarges regulatory penalties. In incidents I've investigated, blanket retention gave attackers months or years of historical data and wound up creating tens of thousands of discoverable artifacts. A defensible, mapped retention policy reduces risk and speeds incident response.
- Forensic evidence collection techniques (practical approach): When retention is broad, prioritize scoped collections: issue legal holds to preserve only custodians and data types needed, then use EDR pivots (CrowdStrike, SentinelOne) from IOC hits to identify impacted endpoints. Export limited time-window SIEM queries and collect targeted forensic images with validated hashes.
- Investigation methods: Use a data map to reduce scope (data stores, owners, flow). Query archive systems by tags/date ranges (search by retention tag or custodian ID). Use automated eDiscovery platforms (Relativity, Exterro) configured with audit logs so extracted sets are defensible and reproducible.
- Prevention / remediation steps (specific and testable):
- Create a retention matrix mapping data type → business need → legal/regulatory requirement → retention period. Example entry: Employee HR records → HR operations → GDPR Article 5/UK employment law → retain 7 years after termination. Remove any “forever” entries or require C-suite exception with documented justification and expiry.
- Apply data minimization: pseudonymize (tokenization or hashing) or aggregate historical records where raw detail isn't needed. For logs, adopt structured logging with log rotation and redaction rules to avoid storing full PII in logs.
- Automate enforcement and attestations: implement lifecycle rules (S3 object lock & retention, Azure immutable blobs), scheduled deletion jobs, and an attestation workflow where data owners confirm retained exceptions quarterly. Maintain a deletion audit trail and safe-deletion playbook — and test restores periodically to ensure backups are recoverable but scoped.
- Run tabletop eDiscovery drills: simulate a litigation request, produce a minimal, auditable dataset, and measure time-to-produce and false positives. Tune retention and indexing based on results.
Myth #3: "Destruction is a checkbox — outsource it and move on."
Reality: Unverified destruction and broken vendor processes leave retrievable evidence — and your company liable.
Vendors make operational mistakes: failed wipes, incorrect certificates, misplaced backup copies, or chain-of-custody lapses. I’ve seen “destroyed” drives return full files because a vendor used magnetic-wipe procedures on SSDs, or never imaged devices before destruction. Destruction must be a controlled, auditable, verifiable process — not a signed form and a truck roll.
- Forensic evidence collection techniques (when destruction is planned): Image devices prior to destruction and record SHA-256 hashes; preserve audit logs and signed certificates-of-destruction that reference serial numbers and pre-destruction hashes. If litigation is plausible, place items on legal hold and retain forensic images offsite before any vendor handoff.
- Technical validation methods (NIST-aligned and vendor-specific): Follow NIST SP 800-88 Rev. 1: Clear, Purge, Destroy. Examples:
- Magnetic HDDs: degaussing (where approved) followed by physical shredding; validate by attempting to read partition tables and file headers after degauss.
- SSDs: use manufacturer secure-erase tools (ATA Secure Erase via hdparm, NVMe Format NVM command, or vendor-supplied utilities) or cryptographic erasure by destroying CMKs; do not rely on degaussing for NAND. Verify by imaging a sample post-erase and confirming no mountable file systems and no recoverable file signatures.
- Cloud storage: delete object versions AND destroy associated encryption keys (for CMK-based crypto-erase), then capture provider audit logs (AWS CloudTrail, GCP Cloud Audit Logs) showing DeleteObjectVersion and KMS ScheduleKeyDeletion events.
- Record the exact tool, version, parameters, and the operator identity used for each erasure.
- Prevention / remediation steps (operational control list):
- Require pre-destruction imaging: vendors must image assets and provide pre-destruction hash and image snapshot before any wipe. If vendor refuses, image in-house or with a vetted third party.
- Establish chain-of-custody: tag assets with asset IDs, record handoffs (signed and timestamped), and require dual-attestation (two authorized personnel sign off) for destruction actions.
- Audit vendors annually: proof-of-erasure reports, sample forensic verification (periodically select items and validate that no readable data remains), adherence to NIST/ISO standards, and inspect destruction facilities (video/time-stamped evidence). Maintain contract clauses for incident support and indemnity for failed destruction.
- Control crypto key lifecycle: log key creation, usage, rotation, and deletion. For crypto-erase, capture KMS audit evidence of key deletion and tie it to destroyed object IDs; retain the deletion events as part of destruction attestations.
What you must do in the next 30 days — forensic-grade triage
- Run a focused data inventory and classification sweep. Deliverable: a spreadsheet or CMDB export listing high-risk custodians, repositories (S3 buckets, shares, backup systems), data types (PII, IP, PHI), and assigned retention tags.
- For critical systems, take forensic snapshots and store them in an immutable, access-controlled evidence vault (WORM storage or object lock). Deliverables: disk images with SHA-256 hashes, memory captures, and documented chain-of-custody entries.
- Deploy automated enforcement for high-risk data: implement lifecycle policies for object stores (example: S3 Lifecycle + Object Lock for regulatory data), configure backup retention to expire according to your matrix, and ensure snapshot deletion cascades (validate with test deletions).
- Institute vendor validation now: require certificates of destruction to include serial numbers and pre-destruction hashes, mandate sample forensic verification (quarterly), and insist on chain-of-custody records for all assets destined for destruction.
- Train incident responders in live response and evidence preservation. Minimum curriculum: memory capture (winpmem/avml), EDR artifact export, network pcap collection (tcpdump -i any -w capture.pcap), and evidence hashing. Produce playbooks with exact commands, tool versions, and expected outputs.
The hard truth: sloppy retention and destruction policies don't just cost money — they damage reputations, weaken legal positions, and can endanger people. I've seen a single retention misconfiguration convert a contained breach into a months-long public calamity. The controls you implement today materially reduce that risk.
Implement measurable controls, demand forensic validation, and treat destruction like an investigable event. If you want, I can map a step-by-step retention and destruction playbook tailored to your stack — including exact commands, configuration examples (S3 lifecycle rules, KMS key deletion workflows, ATA/NVMe secure-erase steps), and audit templates for forensic verification.
---
Related Articles
- Think cross-border data transfer rules are a checkbox? The Alien: incident proves you're catastrophically wrong
- Boardroom Lockdown vs. DevOps Speed: Which Strategy Stops a Fortune 500 Supply-Chain Hack Before It Goes Nuclear?
- Cybersecurity Analysis: Creating effective data retention and destruction policies
Stop hoping you won't get breached.
Get the 15-point Security Audit Checklist that attackers don't want you to have. Plus weekly intel briefs - no fluff, no vendor pitches.
No spam. Unsubscribe anytime. We don't sell your data - we protect it.