CTF Arsenal
DFIR / Command Mistakes & Recovery

steghide: 'could not extract any data' (wrong passphrase or wrong tool)

1. Error or symptom

steghide fails to extract from a file you believe contains hidden data.

2. Likely cause

Wrong passphrase, or the file format is PNG (steghide doesn't support PNG — zsteg is needed instead).

3. How to verify

file FILE_PATH to confirm the exact format; confirm it's JPEG/BMP/WAV/AU, not PNG.

4. Correct command

stegseek FILE_PATH /usr/share/wordlists/rockyou.txt   # for JPEG/BMP/WAV/AU
zsteg FILE_PATH                                      # for PNG/BMP instead

5. Recovery procedure

Switch tools to match the actual format, or brute-force the passphrase with stegseek before concluding there's nothing hidden.

6. How to avoid repeating it

Match the stego tool to the file format before spending time on passphrase guessing.