Skip to main content
QUICK REVIEW

[Paper Review] An Approach for Text Steganography Based on Markov Chains

H. Hernan Moraldo|arXiv (Cornell University)|Sep 2, 2014
Advanced Steganography and Watermarking TechniquesComputer Science23 citations
TL;DR

This paper presents a text steganography method based on Markov chains that preserves the statistical properties of the original language model more accurately than prior approaches, which often simplify transition probabilities. By using a refined encoding process that maintains probabilistic fidelity and supports variable-length data embedding via header-based length signaling, the method generates natural-looking texts with higher steganographic capacity and lower detectability.

ABSTRACT

A text steganography method based on Markov chains is introduced, together with a reference implementation. This method allows for information hiding in texts that are automatically generated following a given Markov model. Other Markov - based systems of this kind rely on big simplifications of the language model to work, which produces less natural looking and more easily detectable texts. The method described here is designed to generate texts within a good approximation of the original language model provided.

Motivation & Objective

  • To address the limitation of existing Markov-based steganography methods that simplify transition probabilities, leading to unnatural or detectable texts.
  • To develop a steganographic system that maintains a high-fidelity approximation of the original Markov language model during text generation.
  • To enable variable-length data embedding by introducing a header-based length signaling mechanism that ensures correct decoding without prior knowledge of data size.
  • To provide a reference implementation in the open-source MarkovTextStego tool for reproducibility and practical evaluation.

Proposed method

  • The method uses a full Markov chain model with non-uniform transition probabilities, avoiding the simplification of equalizing outbound probabilities common in prior systems.
  • Text generation follows the Markov chain's transition probabilities, ensuring that word sequences reflect the statistical structure of the original language model.
  • A fixed-size header encoding step embeds the length of the secret data using a predefined size parameter m, enabling variable-length data handling.
  • The actual data is encoded starting from the last word of the header text to maintain continuity and avoid sentence breaks in the stegotext.
  • A decoding function extracts the header length first, then decodes the data from the remainder of the text using the last word of the header as the starting state.
  • Optional post-processing adds a random, grammatically complete sentence to the end of the encoded text, preserving decoding integrity without affecting the payload.

Experimental results

Research questions

  • RQ1Can a Markov chain-based steganography system preserve the statistical properties of the original language model more accurately than existing methods that simplify transition probabilities?
  • RQ2How can variable-length data be embedded in stegotexts without requiring prior knowledge of the data size at decoding time?
  • RQ3What is the achievable steganographic capacity of such a system when using a realistic Markov model derived from literary text?
  • RQ4How does the method perform in terms of stego-text naturalness and resistance to steganalysis compared to existing approaches?

Key findings

  • The method achieves a steganographic payload size of approximately 6–7 times the original data size when using a large Markov chain derived from real literary text.
  • When compressed, the stegotexts achieve a size of about twice the original data size, indicating high compression efficiency.
  • For small data sizes (a few bytes), the payload-to-stegotext size ratio can be as high as 9:1, but this ratio improves with larger payloads.
  • The system successfully supports variable-length data embedding through a header-based length signaling mechanism that enables correct decoding without prior size knowledge.
  • The reference implementation, MarkovTextStego, is publicly available and demonstrates the feasibility of the approach in practice.
  • Empirical results suggest that the method produces more natural-looking texts than prior approaches due to preserved probabilistic structure, potentially reducing detectability in steganalysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.