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.
| Memory | Features | Forensic interest |
|---|---|---|
| USB flash drive | Flash memory with a controller and a USB connector | Often without TRIM: deleted files recoverable |
| SD card | Format of cameras and recorders, with a side write-protect switch | The switch is only a signal to the reader |
| microSD | Miniaturised version, in phones, drones, dashcams and cameras | Often monolithic: controller and memory in a single component |
| Keypad-encrypted drive | Hardware encryption and a code entered on the device | After a number of errors it wipes the keys |
| Counterfeit memory | Claims more capacity than it really has | Data beyond the true capacity are lost or overwritten |
File systems
- FAT32
- Widespread and compatible, but with files of at most 4 GB.
- exFAT
- Standard for SDXC cards and larger flash drives.
- NTFS
- Used on flash drives and external disks for Windows, with more metadata.
- Volume serial number
- Assigned at formatting: it changes if the memory is reformatted.
Traces on computers
Every time a USB memory is connected, Windows records in the registry the manufacturer, model and, if present, the device serial number, and in the event logs the connection times. Shortcuts to opened files and recent document lists record the serial number of the volume the files were opened from. macOS and Linux keep similar information in their logs.
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.
The pages of this topic
Back to the overviewUSB 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.