nemo detect
Scans a target, or a whole image, for hidden data and reports what it finds. detect is read-only. It never writes to the target.
nemo detect [target] [--technique <technique>] [--image <path>]
Arguments
[target]: a file or directory to check. A directory is scanned recursively.- Live mode: a path on the local filesystem. A target is required.
- Image mode: a path inside the image. If you omit it, nemo scans every file in the image.
Options
--technique, -t: scan for one technique only:named-stream,slack-space, ortimestomp. Default is all three.--image, -i: path to a raw disk image. With it,detectruns in image mode, and the image is opened read-only.
Output
One row per finding:
TECHNIQUE TARGET LOCATION SIZE
TECHNIQUE: the technique that matched.TARGET: the entry it was found in.LOCATION: the stream name or slack offset range.SIZE: bytes of hidden data recovered.
No findings means no output and exit code 0.
Edge cases
- If you pass
--techniqueand no entry in the scan supports it,detectexits with an error naming the technique. The default scan silently skips techniques a filesystem lacks. timestompnever yields findings. Nemo cannot read a timestamp back to judge whether it was altered. See Timestomping.detectnever touches the custody log.
Live mode
Live mode works on ext4 (Linux), NTFS (Windows, read-only), and APFS (macOS). Each platform only reaches its native filesystem. A target on any other volume is refused with an error that names the filesystem.
Live slack-space detection:
- A scan without
--techniquenever tries it, just like any technique a filesystem lacks. - On macOS,
--technique slack-spaceruns it. Nemo opens the volume’s raw device read-only. You need root only if the current user cannot already read that device node. - On Linux it is read-only and works only through a verified backing block device. Mounted slack writes are refused.
- On Windows NTFS it is read-only and needs administrator access.
See Modes and APFS live mode.