Challenges
LSB message inside WAV audio
Steganography
Medium
Audio LSB
Solves: 6
LSB message inside WAV audio
Author: CyberSamSU
Points
40
Like in an image, every sample in an audio file is also an ordinary number. In 16-bit WAV, this number is in the range -32768..32767. Changing its least significant bit hardly changes the sound (noise at a level imperceptible to the human ear), but it is enough to hide a bit stream.
In the attached audio.wav file, the least significant bit of each sample is used sequentially: the first 32 bits are the message length (in bytes), then the message itself.
Python: read the samples with the wave module, convert them to a number using struct.unpack.
Attached files
audio.wav
Log in to download
SHA-256 checksums
audio.wav: 96cd8afa83fa8ec1213767fc5fa7268a2ab992f7b68d332a15b133af0b15ff35
To submit a flag, log in.