CTF Arsenal
DFIR / Command Mistakes & Recovery

fls/icat: 'Invalid magic value' or no output on a disk image

1. Error or symptom

The Sleuth Kit tools fail to parse the filesystem or return nothing.

2. Likely cause

Wrong partition offset passed with -o, often from assuming a 512-byte sector size that doesn't match this image.

3. How to verify

mmls FILE_PATH and read the 'Units' line for the actual sector size used.

4. Correct command

mmls FILE_PATH   # re-derive the correct starting sector/offset

5. Recovery procedure

Re-run fls/icat with the corrected offset.

6. How to avoid repeating it

Always re-derive the offset from mmls's own output rather than assuming a fixed sector size.