0Pricing
Cryptology Academy · Lesson

Audio and Document Steganography

Explore techniques for hiding data inside WAV files, PDFs, and other common file formats.

Audio and Document Steganography is a free Cryptology Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cryptology Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

WAV File LSB Steganography

WAV audio files store uncompressed 16-bit or 24-bit PCM audio samples. Like image LSB steganography, we can replace the least significant bit of each audio sample with a hidden bit. The modification changes each sample by at most 1 amplitude unit out of 32768, which is 0.003 percent of the full scale and completely inaudible to human listeners under normal conditions.

Phase Coding Technique

Phase coding divides an audio signal into short segments and encodes hidden bits by shifting the phase of each segment. Phase differences between adjacent segments are preserved to avoid audible artefacts. Because the human ear is relatively insensitive to absolute phase values, small phase modifications carry hidden data without detectably changing the sound. Phase coding achieves better imperceptibility than LSB at the same payload rate.

Echo Hiding Steganography

Echo hiding embeds data by adding faint echoes to the original audio signal. A binary 1 is represented by an echo at a delay of d1 milliseconds; a binary 0 is represented by an echo at delay d0. The delays are chosen to be below the threshold of echo perception for human hearing (typically under 1 millisecond). The receiver extracts bits by detecting which echo delay is present in each segment.

Spread Spectrum Audio Steganography

Spread spectrum techniques spread the hidden signal energy across a wide frequency range, similar to how spread spectrum radio works. Each hidden bit modulates a pseudorandom sequence that is added to the audio at very low amplitude across all frequencies. The result resembles background noise and is difficult to separate from the audio without knowing the pseudorandom key, providing both imperceptibility and resistance to detection.

PDF Steganography

PDF documents have multiple locations where data can be hidden without affecting the visible content. Whitespace between words can be encoded using different Unicode space characters. PDF object streams can contain arbitrary data in comment fields. Metadata fields like Author, Keywords, and Creator are rarely checked by readers. The PDF structure allows null objects and unused cross-reference table entries that can carry hidden bytes.

Hiding Data in Word Documents

Microsoft Word documents in DOCX format are ZIP archives containing XML files. Hidden data can be embedded in the document properties XML, in custom XML parts, or as invisible text formatted in white font on white background. Track changes and revision history can be exploited to hide data in the revision metadata. These techniques are often used in malware that exfiltrates data disguised as office documents.

Network Steganography and Covert Channels

Network steganography hides data within normal network traffic. TCP sequence number fields can encode hidden bits without affecting connectivity. IP header fields like identification numbers and time-to-live values carry hidden data. Inter-packet timing can encode information through deliberate delays. These covert channels bypass firewalls and content filters that inspect only payload content, not protocol field values.

Twitter and Zero-Width Character Steganography

Zero-width characters are Unicode code points that have no visible glyph but occupy positions in text strings. By inserting zero-width space (U+200B), zero-width non-joiner (U+200C), and zero-width joiner (U+200D) between visible characters, binary data can be encoded in text that looks completely normal when displayed. A tweet or email with hidden zero-width characters can carry hundreds of bytes of covert data invisibly.

Font Substitution Steganography

Font substitution steganography encodes data by slightly varying the shapes of characters using two nearly identical font variants. Characters in font A represent binary 0; characters in font B represent binary 1. To a reader the document looks entirely normal. Recovering the hidden message requires knowing which characters to compare and which font variants represent which bit value.

Printer Yellow Dot Tracking

Many colour laser printers embed tiny yellow dots invisible to the naked eye that encode the printer serial number, date, and time of printing. These machine identification codes were developed by government request to trace the origin of printed documents. The EFF reverse-engineered these patterns in 2005. This is a form of steganographic watermarking imposed by manufacturers on all printed output.

Steganography in Malware and Exfiltration

Malware authors use steganography to hide command-and-control instructions inside innocuous-looking images posted on social media platforms. The infected device downloads what appears to be a normal picture, extracts embedded instructions from the LSBs, and executes them. This technique bypasses security tools that only inspect URLs and payload types, not the content of image files.

Audio Steganography Methods

Which audio steganography technique encodes hidden bits by representing 0 and 1 with echoes at different time delays?

Audio and Document Steganography: Key Takeaways

WAV files support LSB audio steganography. Phase coding, echo hiding, and spread spectrum provide better imperceptibility. PDF and Word documents have many locations for hidden data including metadata, whitespace, and revision history. Network steganography uses protocol header fields and timing. Zero-width characters hide data in plain text. Printer yellow dots are mandatory steganographic watermarks imposed by manufacturers.

Frequently asked questions

Is the “Audio and Document Steganography” lesson free?

Yes — the full text of “Audio and Document Steganography” is free to read here on the web, and the Cryptology Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cryptology Academy course, upgrade to CoddyKit PRO.

What will I learn in “Audio and Document Steganography”?

Explore techniques for hiding data inside WAV files, PDFs, and other common file formats. You practise Cryptology Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Cryptology Academy?

No prior experience is required. Cryptology Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Audio and Document Steganography” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Cryptology Academy lesson?

Yes. Every Cryptology Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Steganography vs Cryptography
  2. Image Steganography: LSB Technique
  3. Audio and Document Steganography
  4. Steganalysis: Detecting Hidden Messages
← Back to Cryptology Academy