Skip to content
Back to all categories

Digital forensics

What phones and computers record about you, how forensic tools recover it, and how to leave fewer traces: encryption, lock states, cleanup and safe erasure.

Last reviewed 路 14 entries

Digital forensics is the recovery and analysis of data from devices and online accounts. Police, border agents, employers and whoever ends up with your old laptop all have tools for it, many of them point-and-click. They rarely need to break encryption. They look for a phone that is already unlocked, copies sitting in cloud backups, and the many records that operating systems and apps keep without asking, often long after you deleted the original.

This guide explains where those traces come from and how to reduce them. The defences that work are mostly unglamorous: full-disk encryption with a strong passphrase, devices that are switched off when they might be taken, and not creating copies in the first place. Cleanup tools help at the margins, and wiping a drive only works if the method fits the hardware. Laws on unlocking devices and on destroying evidence differ by country; read Compelled unlocking and destroying evidence before you act.

ToolVerdictPlatforms
mat2Recommended
Metadata CleanerRecommended
ExifToolRecommended
Scrambled ExifRecommended
BleachBitRecommended
CCleanerNot recommended
nwipe and ShredOSRecommended
GNU shredUse with caution
EraserUse with caution
DBANNot recommended
TailsHighly recommended
GrapheneOSHighly recommended
VeraCryptRecommended
Mobile Verification Toolkit (MVT)Recommended

What forensic examiners can recover

An examination usually starts with an extraction, a copy of a device's data. A logical extraction gets roughly what a backup would contain. A full file system extraction adds app databases, caches and system logs, and normally needs the device to be unlocked or exploited. Commercial kits automate most of this; the best known are Cellebrite and GrayKey, made by Grayshift, which is now part of Magnet Forensics. Examiners then merge timestamps from many sources into a timeline of what happened when.

SourceTypical evidenceMain defence
The phone or computerMessages, photos, app databases, notification history, location recordsEncryption, a strong passcode, a device that is off or freshly restarted
Operating system recordsRecently opened files, programs run, USB devices plugged in, thumbnails, logsFull-disk encryption; amnesic systems such as Tails
Deleted dataFiles whose space has not been reused, old versions in snapshots and backupsEncrypt from the start; sanitize whole drives before disposal
MemoryEncryption keys and open documents in RAM, swap and hibernation filesShut down instead of sleeping; keep swap on an encrypted drive
Cloud accountsDevice backups, synced photos, browser sync, chat backupsEnd-to-end encrypted backups, or none
Other peopleThe recipient's phone, a shared folder, an email serverDisappearing messages and sharing less
Where traces come from, and what protects them

Phones: extraction tools and lock states

Phones encrypt their storage, so the state the phone is in matters a great deal. After a restart, most data stays encrypted until the passcode is entered for the first time: BFU (before first unlock). After that first unlock, many keys stay in memory even when the screen locks again: AFU (after first unlock). On iPhone, data from third-party apps is protected only until first unlock by default (Apple). Forensic tools therefore aim for phones in AFU state, or try to guess the passcode. The disk encryption guide explains the encryption side in more detail.

Passcode guessing is slowed by a security chip. Android's documentation sets a stronger default from Android 16 QPR2: at most 20 wrong guesses, with delays rising to 41 days after the 15th (Android documentation). How well a given phone enforces this depends on its hardware. A random six-digit PIN is safe only while that limit holds. A long alphanumeric passphrase does not depend on it.

What leaked support documents show

  • July 2024: Cellebrite documents dated April 2024 showed the company could not unlock a sizable share of modern iPhones (404 Media).
  • November 2024: leaked GrayKey documents said it could get only "partial" data from iPhones running iOS 18 and 18.0.1 (404 Media).
  • October 2025: someone joined a Cellebrite Microsoft Teams call and leaked a slide of its capabilities against Google Pixel phones, which also mentioned Pixels running GrapheneOS (404 Media).
  • July 2026: GrapheneOS said recent Cellebrite Premium documentation shows no exploit for locked GrapheneOS phones updated past a 2022 patch level, and no way around the Pixel's security chip rate limiting (GrapheneOS forum).

The pattern is consistent. Success depends on the model, the security patch level and whether the phone is in BFU or AFU state, and up-to-date phones that have been restarted are the hardest targets. Both sides change with every release, so any single support list is a snapshot.

Automatic restarts and USB protection

PlatformWhat it doesDefault
iPhone, iOS 18 and laterRestarts after 72 hours without an unlock, returning to BFU. Lockdown Mode also blocks wired connections while lockedRestart on; Lockdown Mode off
Android 16 and laterRestarts after 72 hours locked and blocks USB access while locked, as part of Advanced ProtectionOff until you turn on Advanced Protection
GrapheneOSRestarts after a timer you set from 10 minutes to 72 hours; blocks new USB connections while locked18 hours; USB blocked when locked

The iPhone timer runs inside the Secure Enclave and does not depend on the network, according to Jiska Classen's analysis. Police in the US noticed it in November 2024, when seized iPhones started restarting in storage (404 Media). Sources: Google Advanced Protection, Apple Lockdown Mode, GrapheneOS features.

When forensic tools are misused

In December 2024, Amnesty International reported that Serbian police and intelligence used Cellebrite tools to unlock the phones of journalists and activists during detentions and interviews, and then installed spyware it named NoviSpy (Amnesty). In February 2025 it documented a Cellebrite exploit chain that attacked Linux USB drivers to unlock a student activist's Samsung phone; Google fixed one of the flaws in its February 2025 security update, and Cellebrite said it had stopped "relevant customers" in Serbia from using its products (Amnesty Security Lab). A phone that was taken from you and handed back may have been tampered with; see If you suspect tampering.

What phones keep that you might not expect

  • Notification history. In April 2026, 404 Media reported that the FBI recovered copies of incoming Signal messages from an iPhone's notification database, even though Signal had been deleted from the phone (404 Media). Set messengers to put no name or message text in notifications. Hiding previews on the lock screen is not the same thing.
  • Photo metadata and albums. Photos record when and often where they were taken (see Metadata inside files), and deleted photos usually sit in a "recently deleted" album for weeks.
  • Usage and location records. Both iOS and Android log which apps you use and, depending on settings, places you visit. Location history is covered in the metadata guide.
  • Keyboards and caches. Predictive keyboards learn words you type, and apps cache images and previews outside their main database.

Computers: what the operating system remembers

Desktop systems keep detailed records so that search, "recent files" lists and troubleshooting work. Forensic tools read them automatically, and most survive deleting the file they point to. Almost all of them live on the system drive, so full-disk encryption protects them while the computer is off. They are fully readable while it is on and unlocked.

Windows

  • Prefetch files record which programs ran, how often and when.
  • Jump lists and shortcut (LNK) files record recently opened files for each app, including files on USB sticks and network shares.
  • ShellBags remember folders you opened in File Explorer, including folders on drives that are no longer connected.
  • Thumbnail cache keeps small previews of pictures and videos after the originals are deleted.
  • Registry and event logs record USB devices plugged in (maker, model and often serial number), sign-ins, and when the computer started and shut down.
  • Shadow copies (System Restore points) can hold older versions of files you have since deleted.
  • Recall on Copilot+ PCs saves a screenshot every few seconds if you opt in. Snapshots are encrypted and opened with Windows Hello, and by default they are kept until the space set aside for them fills up (25 GB on a 256 GB drive). Anyone who gets past Windows Hello as you, for example by forcing your face or fingerprint, can search everything you have looked at (Microsoft). Since May 2025, Signal Desktop on Windows 11 hides its window from Recall by default (Signal).

macOS

  • The unified log records system events, including devices connected and apps started.
  • A quarantine database lists files downloaded from the internet together with the address they came from.
  • Screen Time and usage databases record which apps you used and when.
  • FSEvents logs record files that were created, renamed or deleted, and the Spotlight search index holds the names and text of indexed files.
  • Time Machine keeps local snapshots of older file versions.

Linux

  • Shell history files such as ~/.bash_history record commands you typed.
  • GTK desktops such as GNOME keep a recent files list in ~/.local/share/recently-used.xbel and previews in ~/.cache/thumbnails.
  • The systemd journal and other logs record logins, sudo use and USB devices.
  • Snapshots made by Btrfs, ZFS or Timeshift keep older versions of files.

The SANS Windows Forensic Analysis poster maps these artifacts to the questions investigators ask, such as which files were opened and which devices were connected. It is written for examiners, but it is a useful checklist of what your own computer records.

Browsers, messengers and cloud accounts

Browsers

A browser profile holds history, cookies, cached pages and images, saved form data, the downloads list and session files used to restore tabs. Private windows avoid writing history and cookies, but files you download stay, and so do traces outside the browser such as the operating system's DNS cache, swap space and Recall. Browser sync copies your profile to the provider. Google says that with a sync passphrase it cannot read your synced Chrome data; without one, it makes no such promise. See the browser guide.

Messengers

  • Turn on disappearing messages for sensitive chats. They also limit what is on the other person's phone, which you do not control.
  • Set notifications to show no message content (see Phones).
  • Check whether chat backups are end-to-end encrypted, or turn them off. See the messaging guide.

Cloud backups: often the easiest route

Many investigations never need the phone. Apple's US legal process guidelines (October 2025) say iCloud content, including device backups with photos, app data and messages, can be handed over in response to a search warrant. With Advanced Data Protection turned on, Apple says it cannot decrypt Photos, iCloud Drive, Backup, Notes and Safari Bookmarks; Mail, Contacts and Calendars stay readable to Apple (guidelines, Apple). It is off by default, and Apple no longer offers it to new users in the UK (Apple).

Google says Android backups are partly end-to-end encrypted with your screen lock PIN, pattern or password, but photos and videos in Google Photos are not (Google). Turn on end-to-end encryption wherever it is offered, or keep encrypted backups on a drive you hold. See Cloud storage.

Metadata inside files

Files carry hidden information about how and where they were made. Phone photos record the time, the camera model and often GPS coordinates. Office documents store author and company names, edit times, comments and tracked changes. PDFs can keep earlier versions inside the file. In 2012, a photo of John McAfee published by Vice still carried location metadata that revealed where he was (Wikipedia). The metadata guide covers this in depth, and printed pages have their own problems (printer tracking).

Command-line tool and library that removes metadata from images, audio, video, PDFs, office documents and archives. It writes a cleaned copy and leaves the original untouched.

Platform Support

macOSLinuxCommand lineOpen sourceNo account

Advantages

  • Open source (LGPL-3.0), actively maintained; version 0.15.0 in August 2026
  • Supports many formats, from JPEG and PDF to .docx, .odt and archives
  • Thorough default mode; a lightweight mode leaves file content untouched
  • Powers Metadata Cleaner, which ships with Tails

Drawbacks

  • Command line only; Metadata Cleaner adds a graphical interface
  • Its documentation warns it cannot detect every kind of metadata
  • Default mode can make PDF text unselectable
  • Does not remove anything visible in the content

Metadata Cleaner

Recommended
Metadata Cleaner website (opens in a new tab)

Graphical app for Linux that shows the metadata in your files and removes it, using mat2 underneath. It is included in Tails.

Platform Support

LinuxOpen sourceNo account

Advantages

  • Drag-and-drop interface; no command line needed
  • Same format support as mat2
  • Preinstalled in Tails
  • Maintained; version 4.0 released March 2026

Drawbacks

  • Linux only, mainly distributed through Flathub
  • Shares mat2's limits with complex formats

Phil Harvey's long-running tool for reading and editing metadata in a very wide range of file formats. Best for checking what a file reveals before you share it, and for stripping photos.

Platform Support

WindowsmacOSLinuxCommand lineOpen sourceNo account

Advantages

  • Reads metadata from a very wide range of formats
  • Frequent releases; Windows and macOS packages
  • Free software under the same terms as Perl

Drawbacks

  • Command line; format-specific caveats are easy to miss
  • In PDFs, "removed" metadata stays in the file and can be restored
  • Its documentation says removal is not guaranteed to be complete

Small Android app that removes Exif metadata, including location, from pictures before you share them.

Platform Support

AndroidOpen sourceNo account

Advantages

  • Removes location and camera details from photos
  • Also renames files; this can be turned off
  • Open source (GPL-3.0), on F-Droid with no anti-features listed
  • Updated in October 2026

Drawbacks

  • Pictures only
  • Cannot remove anything visible in the image

Why deleting a file does not erase it

Deleting a file normally removes its entry from the file system and marks its space as free. The data stays where it was until something else is written over it, and recovery tools can often rebuild whole files from the leftovers. Copies may also exist in journals, snapshots, backups, the cloud provider's "recently deleted" folder and the thumbnail and preview caches described above.

Hard drives versus SSDs and flash

On a spinning hard drive, overwriting a file's location generally destroys it, and one pass over the whole drive is generally considered enough; NIST describes multi-pass schemes as past practice (NIST SP 800-88 Rev. 2). SSDs, USB sticks, memory cards and phones work differently. Their controller writes new data to fresh cells to spread wear (wear levelling) and keeps spare capacity you cannot address, so the old copy can survive an overwrite.

A 2011 study that read SSD flash chips directly found that none of the tested single-file erasure techniques worked, that overwriting the entire drive twice was usually but not always enough, and that built-in sanitize commands worked but were sometimes implemented incorrectly (Wei et al., USENIX FAST 2011). TRIM, which tells an SSD which blocks are no longer in use, often makes deleted files unreadable through normal means, but BleachBit's documentation notes it is not guaranteed to be immediate or complete (BleachBit docs).

Memory, sleep and hibernation

While a computer is on, its memory (RAM) holds the disk encryption key, open documents and passwords. Memory does not clear instantly when power is cut: researchers led by Princeton showed in 2008 that it keeps its contents for seconds at room temperature and much longer when chilled, enough to recover disk encryption keys (Halderman et al.). An examiner who seizes a running computer may try to capture its memory before switching it off.

  • Sleep keeps the disk unlocked. Microsoft notes that resuming from sleep does not ask for the BitLocker PIN, and advises hibernating or shutting down before a device leaves your control (Microsoft).
  • Swap, page and hibernation files are copies of memory on disk. They are protected only if they sit on an encrypted drive. With BitLocker on the system drive, Windows keeps them there by default.
  • Use a pre-boot PIN or passphrase. Unlocking automatically with the TPM chip alone means the key is loaded into memory without you.
  • Tails overwrites memory at shutdown, including when you shut it down in an emergency by pulling out the USB stick (Tails).

Cleaning up traces on a computer

System cleaners delete browser data, caches, temporary files and some of the operating system records listed above. That is useful hygiene, for example to stop old history piling up or before lending a computer to someone. They cannot reach cloud copies, backups or other devices, they cannot reliably erase anything on an SSD, and the fact that a cleaner ran can itself be recorded.

Open-source cleaner that removes caches, history, cookies, logs and other traces left by browsers and many other programs. It can also shred files and wipe free disk space.

July 2026: version 6.0.2 fixed a Windows flaw (CVE-2026-55567) that could let an attacker delete arbitrary files when cleaning with administrator rights. Update to the latest release.

Platform Support

WindowsmacOSLinuxCommand lineOpen sourceNo account

Advantages

  • Open source (GPLv3); no account needed
  • Shows a preview of what it will delete
  • Very active: version 6.0.6 released October 2026
  • Command-line mode and custom cleaning rules
  • Documentation is frank about shredding limits on SSDs

Drawbacks

  • Shredding and free-space wiping are unreliable on SSDs and flash
  • Cannot reach cloud copies, backups or other devices
  • Running it can leave its own traces
  • macOS support is still early

CCleaner

Not recommended
CCleaner website (opens in a new tab)

Widely used closed-source cleaner from Piriform, part of Gen Digital, the group that also owns Avast. Listed here because it is often recommended, not because it fits this guide.

Platform Support

WindowsmacOSAndroidiOS

Advantages

  • Easy to use
  • Available for Windows, macOS, Android and iOS

Drawbacks

  • Closed source
  • Official CCleaner 5.33 installer carried malware in 2017
  • Collects some usage data by default
  • History of bundling other software; flagged by Microsoft Defender in 2020
  • Sister brand Avast settled FTC charges in 2024 over selling browsing data

Erasing drives and devices

Before selling, recycling or returning a device, erase the whole thing rather than individual files. The US government's guideline, NIST SP 800-88, was revised in September 2025. It distinguishes clear (overwriting through normal commands), purge (methods that defeat laboratory recovery, such as the drive's own sanitize commands and cryptographic erase) and destroy. It warns that multi-pass overwrites give very little protection on SSDs, that degaussing does not work on flash, and that sanitize commands require trusting the manufacturer's firmware (NIST SP 800-88 Rev. 2).

Cryptographic erase destroys the key that encrypts a drive instead of overwriting the data, which takes seconds. Modern phones and Macs rely on it: Apple says erasing the key "renders all files cryptographically inaccessible" (Apple). It is only as good as the encryption underneath, and a 2018 study found serious flaws in the built-in encryption of many SSDs (Meijer and van Gastel). If you encrypted the drive yourself from the start, destroying your own key is a crypto-erase you control.

DeviceWhat to do
Hard drive (HDD)One full overwrite of the whole drive, for example with nwipe or ShredOS
SATA SSDATA Sanitize or Secure Erase (hdparm, nwipe 0.43 or the maker's tool), then one overwrite pass, as nwipe's documentation suggests
NVMe SSDNVMe sanitize with block erase or crypto erase (nvme sanitize, nwipe 0.43 or the maker's tool), then one overwrite pass
USB sticks and memory cardsNo dependable erase command. Encrypt from the start; physically destroy if they ever held sensitive data unencrypted
iPhone, iPad, Mac with Apple silicon or T2Erase All Content and Settings, which destroys the keys
Android phoneFactory reset after signing out of accounts. User data is encrypted with keys built to be securely deleted
Drive encrypted with LUKScryptsetup erase removes all key slots; also delete any header backups you kept
Which method fits which device

nwipe and ShredOS

Recommended
nwipe and ShredOS website (opens in a new tab)

nwipe erases whole drives and began as a fork of the wiping engine from DBAN. ShredOS is a small bootable USB image that starts straight into nwipe, so you can wipe a computer's internal drives without installing anything.

Platform Support

LinuxCommand lineOpen sourceNo account

Advantages

  • Open source (GPL-2.0), actively developed; version 0.43 in October 2026
  • Since 0.43, runs ATA and NVMe sanitize commands as well as overwrites
  • Wipes several drives at once
  • ShredOS boots on BIOS and UEFI PCs and Intel Macs

Drawbacks

  • Overwriting alone does not reach an SSD's spare capacity
  • Sanitize may fail through USB adapters or RAID controllers
  • Whole drives only, not single files
  • No undo if you pick the wrong drive

GNU shred

Use with caution
GNU shred website (opens in a new tab)

Command that overwrites a file or a whole device, by default three times. It is part of GNU coreutils, so most Linux systems already have it.

Platform Support

LinuxCommand lineOpen sourceNo account

Advantages

  • Preinstalled on most Linux distributions
  • Fine for overwriting a whole hard drive
  • Open source (GPLv3 or later)

Drawbacks

  • Its manual warns it assumes data is overwritten in place, which is often false
  • Unreliable for single files on modern file systems, snapshots and backups
  • Does not reach SSD spare capacity or use sanitize commands

Eraser

Use with caution
Eraser website (opens in a new tab)

Long-standing Windows tool that overwrites files, folders and unused disk space on a schedule or on demand.

Platform Support

WindowsOpen sourceNo account

Advantages

  • Open source (GPLv3)
  • Free and simple for hard drives

Drawbacks

  • Overwriting is unreliable on SSDs, which most PCs now use
  • Windows only
  • Infrequent releases

DBAN

Not recommended
DBAN website (opens in a new tab)

Darik's Boot and Nuke, once the standard bootable disk wiper. Development has ended; the site now promotes Blancco's commercial eraser.

Advantages

  • Simple bootable wiper for old hard drives

Drawbacks

  • No release since version 2.3.0 in June 2015
  • Made for hard drives; does not use SSD sanitize commands
  • nwipe and ShredOS carry its engine forward with current hardware support

Systems that leave fewer traces

The anti-forensic measures that hold up are preventive: encrypt everything, keep sensitive work on systems that do not write it to disk, and make phones fall back to their locked state quickly. These three tools are covered in more depth in the disk encryption and operating systems guides.

Tails

Highly recommended
Tails website (opens in a new tab)

Live system that runs from a USB stick, sends traffic through Tor and forgets the session at shutdown, unless you save files to its encrypted Persistent Storage.

Platform Support

LinuxOpen sourceNo account

Advantages

  • Leaves no trace on the computer's own drive
  • Overwrites memory at shutdown, including emergency shutdown
  • Includes Metadata Cleaner
  • Optional encrypted Persistent Storage on the same stick

Drawbacks

  • Someone with access while it runs can still read its memory
  • Does not hide that you use Tor, and probably Tails
  • Needs a 64-bit x86 PC; does not run on Apple silicon Macs
  • Cannot protect against tampered hardware or firmware

GrapheneOS

Highly recommended
GrapheneOS website (opens in a new tab)

Hardened Android for Google Pixel phones with several features aimed squarely at forensic extraction: automatic restarts, USB blocking while locked and a duress PIN.

Platform Support

AndroidOpen source

Advantages

  • Restarts locked phones after 18 hours by default (10 minutes to 72 hours)
  • Blocks new USB connections while locked by default
  • Duress PIN or password wipes the phone from any unlock prompt
  • Passphrases up to 128 characters, plus fingerprint with a second PIN
  • GrapheneOS says recent Cellebrite documentation shows no exploit for updated phones

Drawbacks

  • Supports Google Pixel phones only for now
  • Using the duress wipe can have legal consequences; GrapheneOS warns of this
  • Apps that require Google certification may not run

Open-source disk encryption for Windows system drives, partitions, USB drives and container files, with hidden volumes for plausible deniability.

June 2026: version 1.26.29 fixed a bug that could reveal hidden volumes created inside file containers with versions 1.26.6 to 1.26.28. Recreate such containers if you rely on deniability.

Platform Support

WindowsmacOSLinuxOpen sourceNo account

Advantages

  • Encrypted volumes look like random data
  • Hidden volumes and a hidden operating system
  • Memory-hard Argon2id key derivation since 1.26.29 (June 2026)
  • No account or online service

Drawbacks

  • Hidden volumes are easy to give away by mistake
  • System drive encryption is Windows-only
  • Several security fixes in 1.26.30 (October 2026); keep it updated

If you suspect tampering

Forensic methods also work for you. If a phone was taken at a border, a police station or by someone close to you and later returned, it may have been copied or had software installed, as in the Serbian cases above. Do not try to analyse it on your own if you are at real risk. Civil society groups can get free help: Access Now's Digital Security Helpline answers around the clock in several languages, and Amnesty's Security Lab runs forensic checks for journalists and activists. Apple sends threat notifications to users it believes were targeted by mercenary spyware, and Android's Advanced Protection can keep tamper-resistant intrusion logs for later analysis.

Mobile Verification Toolkit (MVT)

Recommended
Mobile Verification Toolkit (MVT) website (opens in a new tab)

Amnesty International's tool for consensual forensic analysis of iPhone and Android data, looking for known traces of spyware. It is meant for technologists and helplines, not as a one-click scanner.

Platform Support

macOSLinuxCommand lineNo account

Advantages

  • Built by Amnesty's Security Lab for the 2021 Pegasus Project
  • Checks device data against public indicators of compromise
  • Free and actively maintained

Drawbacks

  • Needs command-line and forensic skills
  • A clean result does not prove a device is clean
  • Released under its own MVT License, not a standard open-source licence

Practical tips

  • Encrypt every device before you put sensitive data on it, with a long passphrase and a pre-boot PIN on computers. See Disk & file encryption.
  • Power off phones and computers when they may be taken, for example before a border crossing, a protest or leaving a hotel room. A phone that was switched off or restarted stays in its most protected state until you unlock it.
  • Use a long alphanumeric passcode and turn off fingerprint and face unlock in risky situations.
  • Turn on the automatic restart and USB protections your phone offers: Advanced Protection on Android 16 and later, Lockdown Mode on iPhone if you face targeted attacks, or GrapheneOS.
  • Keep notification content out of the system. In Signal and other messengers, choose to show no name or message text.
  • Decide where your backups go. Turn on end-to-end encrypted cloud backups or keep encrypted local ones, and know what each app uploads.
  • Clean files before you share them with mat2, Metadata Cleaner or Scrambled Exif, then check the result with ExifTool.
  • Use Tails for work that should leave no trace on a computer, and restart it between unrelated tasks.
  • Leave Recall off on Copilot+ PCs, or remove it in "Turn Windows features on or off".
  • Erase whole devices, not files, before disposal, using the method that matches the hardware.

Common mistakes

  • Trusting the Recycle Bin or Trash. Emptying it marks space as free; it does not overwrite the data.
  • Shredding files on an SSD and assuming they are gone. Wear levelling can keep old copies out of reach of any shredder.
  • Leaving a laptop asleep instead of off. The disk is unlocked and the key is in memory.
  • Forgetting the cloud. Deleting a photo from the phone does not delete it from a synced library or last night's backup.
  • Forgetting the other end. Messages you deleted still exist on the recipient's phone and in their backups.
  • Relying on hidden lock-screen previews. The message may still be stored in the phone's notification database.
  • Running cleaners just before a search. The cleanup is visible, and in many countries it can be treated as destroying evidence.
  • Selling a phone without signing out and resetting it, or a PC whose drive was only reformatted, not sanitized.

Further reading