Simple tool for .wav LSB steganography.
-
--write,--read- Operation type. One, and only one, of those flags bust be used, either to write a steganographic object or to read from one.
-
--host=<filepath>- The path to the
.wavfile used as a host, i.e., the file containing the hidden data. Must be used for reading from a file or writing to one.
- The path to the
-
--result=<filepath>- The path to the file containing the result of the operation. For write operations, the stego object and, for read operations, the hidden message.
-
message=<filepath>- Used only for write operations. The path to the file containing the message you want to hide.
Writing the contents of hello.txt to stego.wav over music.wav:
stego-wave --write --host=music.wav --message=hello.txt --resut=stego.wav
And to read the message form the result:
stego-wave --read --host=stego.wav --result=hello.txt
If you don't have common-lisp installed and is using linux, follow these steps for a quick setup:
- install
sbcl - install quicklisp
- clone this repository at
~/.quicklisp/local-projects
In theory, you should be ready to go. For additional ease of use, install maid and use the maidfile.md to run development tasks.
- Detect and handle RIFX files. Currently only working with RIFF
- Detect bits per sample, so that files with lower bits per sample get more capacity. Currently assuming all files have 16 bits per sample.
- Detect the exact size of header, so that we can start writing the message exactly after the header is read. Currently assumig headers of 64 bytes.
- Generalize to work with any RIFF file. Currently assumes only .WAV files.
- Add more steganographic methods, such as frequency spread,
- SBCL will fail for large message sizes (error:
Heap exhausted, game over.). The program should be refactored to write the message as it reads it from the file, which would be the proper Lisp way of doing this.
-
WAVE Audio File Format, Library of Congress
-
WAVE PCM soundfile format, soundfile++: A Soundfile Reading/Writing Library in C++
-
Hiding Data in Wave Files. International Conference in Recent Trends in Information Technology and Computer Science (ICRTITCS - 2012). By Pushpa Aigal, Pramod Vasambekar.