USB drives and SD cards: how portable memory is acquired and how to reconstruct where it was used
How USB flash drives, SD and microSD cards are acquired and analysed: flash memory and controllers, FAT32, exFAT and NTFS file systems, deleted files and TRIM, the write-protect switch, counterfeit and encrypted drives, connection traces on computers, cards from cameras, dashcams and drones, procedure, tools, mistakes, value in court, a case, checklist and frequently asked questions.
USB flash drives and memory cards are small, cheap and everywhere: in drawers, cameras, dashboard cameras, drones, surveillance recorders. For an examiner they are two things at once: an exhibit to acquire, which may contain documents, photos and videos, and a trace left on the computers they were plugged into, which keep make, model, serial number and dates of use.
Compared with SSDs they have a valuable feature: many drives and cards connected over USB do not receive the TRIM command, and deleted files often remain recoverable until overwritten. But they also have pitfalls of their own: write-protect switches that protect nothing, faked capacities, hardware encryption that wipes everything after a few wrong attempts.
What can be found
- Files and folders
- Documents, photos, videos, archives copied or moved.
- Deleted files
- Often recoverable, because many USB memories do not receive TRIM.
- Folder structure
- Folders created by cameras, drones and dashcams point to the source device.
- Metadata
- File system dates and, in photos and videos, EXIF and device data.
- Volume serial number
- Links the memory to files opened on computers.
- Traces on computers
- The Windows registry and system logs record make, model, serial number and connection dates.
The basic technique is in forensic copying and hard drives and SSDs; for connection traces see the Windows registry, for deleted files deleted file recovery. The basic entries are write blocker, carving and file system.
The pages of this topic
USB drives and SD cards: how they work
How portable memory works from a forensic point of view: flash drives, SD and microSD cards, monolithic memories, keypad-encrypted drives, counterfeit memories, FAT32, exFAT and NTFS file systems, the volume serial number, traces left on computers.
USB drives and SD cards: the procedure
The procedure for acquiring drives and cards: document, do not open them on any computer, block writes, identify the memory, physical copy, verification, encrypted and damaged memories, searching for traces on computers.
USB drives and SD cards: tools
The tools for portable memory: USB write blockers, forensic card readers, copying programs, recovery and carving, checking real capacity, reconstructing connections on computers, analysis programs, direct chip reading in the laboratory.
USB drives and SD cards: mistakes to avoid
The most common mistakes with drives and cards: trusting the switch, opening them in File Explorer, copying only visible files, formatting them, trying random codes, leaving the card in the dashcam, ignoring fake capacity, not linking computer traces.
USB drives and SD cards: value in court
The rules on portable memory as evidence: compliant and unmodifiable copies, repeatable and non-repeatable examinations, documents in criminal proceedings, digital reproductions and disputes in civil proceedings, dashcam footage and privacy, proportionality.
USB drives and SD cards: a case
A guided case: a dashcam’s microSD card is removed and copied right after an accident; the videos, the clock corrected with GPS and the frames showing the traffic light reconstruct the last seconds before the crash.
USB drives and SD cards: checklist
The checklist for acquiring drives and cards: before, during and after the copy.
USB drives and SD cards: frequently asked questions
Short answers to the most common questions about the forensic examination of USB drives and memory cards.