Steghide

Steghide is a steganography program that is able to hide data in various kinds of image- and audio-files. The color- respectivly sample-frequencies are not changed thus making the embedding resistant against first-order statistical tests.

Usage

Usage: steghide <command> [options]

The first argument must be one of the following:

  • embed, --embed: embed data
  • extract, --extract: extract data
  • info, --info: display information about a cover- or stego-file
  • info <filename>: display information about <filename>
  • encinfo, --encinfo: display a list of supported encryption algorithms
  • version, --version: display version information

Embedding options

OptionDescription
-ef, --embedfileselect file to be embedded
-ef <filename>embed the file <filename>
-cf, --coverfileselect cover-file
-cf <filename>embed into the file <filename>
-p, --passphrasespecify passphrase
-p <passphrase>use <passphrase> to embed data
-sf, --stegofileselect stego file
-sf <filename>write result to <filename> instead of cover-file
-e, --encryptionselect encryption parameters
-e <a>[<m>]/<m>[<a>]specify an encryption algorithm and/or mode
-e nonedo not encrypt data before embedding
-z, --compresscompress data before embedding (default)
-z <l>using level <l> (1 best speed…9 best compression)
-Z, --dontcompressdo not compress data before embedding
-K, --nochecksumdo not embed crc32 checksum of embedded data
-N, --dontembednamedo not embed the name of the original file
-f, --forceoverwrite existing files
-q, --quietsuppress information messages
-v, --verbosedisplay detailed information

Extracting options

OptionDescription
-sf, --stegofileselect stego file
-sf <filename>extract data from <filename>
-p, --passphrasespecify passphrase
-p <passphrase>use <passphrase> to extract data
-xf, --extractfileselect file name for extracted data
-xf <filename>write the extracted data to <filename>
-f, --forceoverwrite existing files
-q, --quietsuppress information messages
-v, --verbosedisplay detailed information

options for the info command:

OptionDescription
-p, --passphrasespecify passphrase
-p <passphrase>use <passphrase> to get info about embedded data

Examples

To embed emb.txt in cvr.jpg: steghide embed -cf cvr.jpg -ef emb.txt

To extract embedded data from stg.jpg: steghide extract -sf stg.jpg