Forensics
Steghide is a steganography tool designed to hide confidential data inside various types of image and audio files without altering their outward appearance.
sudo apt install steghide
steghide <embed|extract> -sf <file>
Steghide is a steganography tool that embeds confidential data within image and audio files without visibly altering them. It uses a graph-theory-based embedding algorithm to distribute hidden data across the cover file's structure.
Created by Stefan Hetzl, Steghide is widely used in CTF competitions, security education, and privacy applications. It provides password-based encryption for hidden content, ensuring that only users with the correct passphrase can extract the embedded data.
While Steghide offers simplicity and reliability, it is limited to specific file formats (JPEG, BMP, WAV, AU) and does not support newer formats like PNG. Modern steganalysis tools can detect Steghide's presence through statistical analysis.
steghide --versionPrint the installed steghide version.steghide --helpShow the full usage summary with every command and option.steghide encinfoList all supported encryption algorithms and cipher modes.steghide licenseDisplay the software license text.steghide info picture.jpgShow format details of a file and whether it can hold embedded data.steghide info stego.jpg -p '<PASS>'Reveal metadata about data hidden inside a stego file using the passphrase.steghide embed -cf picture.jpg -ef secret.txtEmbed secret.txt into picture.jpg, prompting interactively for a passphrase.steghide embed -cf picture.jpg -ef secret.txt -p '<PASS>'Embed a file supplying the passphrase directly on the command line.steghide embed -cf picture.jpg -ef secret.txt -p ''Embed a file with an empty passphrase (no encryption key derived from input).steghide embed -cf cover.wav -ef secret.zip -sf stego.wavEmbed into a WAV cover and write the result to a separate stego file, leaving the original intact.steghide extract -sf stego.jpgExtract the hidden data from a stego file, prompting for the passphrase.steghide extract -sf stego.jpg -p '<PASS>'Extract hidden data using a passphrase given on the command line.steghide extract -sf stego.jpg -xf output.txtExtract hidden data and write it to a chosen filename instead of the embedded name.steghide extract -sf stego.jpg -xf - -p '<PASS>'Extract hidden data straight to standard output for piping.steghide embed -cf picture.jpg -ef secret.txt -e rijndael-128 cbcEmbed while explicitly choosing the AES/Rijndael-128 algorithm in CBC mode.Hide sensitive messages within innocuous-looking image or audio files for covert data transfer.
Embed confidential documents or keys within cover files to avoid detection during transit.
Solve Capture The Flag steganography challenges that use Steghide for hidden flag storage.
Embed invisible ownership information within media files for copyright protection.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.