LSB steganography

term

securitycryptography

Kept in this browser · My desk

Stands for: least significant bit steganography

Hiding a message in the least significant bit of pixel or sample values, the bit whose change alters an 8-bit value by only one level in 256.

Proposed independently by many writers in the early 1990s, with Kurak and McHugh's 1992 note on image downgrading as an early warning, it was the method of most early tools (EzStego, S-Tools, Steganos, Hide In Picture). In 1999 Westfeld and Pfitzmann showed that least significant bits are not uncorrelated noise and broke those tools with a visual filter and a chi-square test; RS analysis (2001) and sample pair analysis (2003) later estimated the length of scattered LSB messages, and in 2001 Fridrich, Goljan and Du put the experimentally safe payload at 0.005 bits per pixel.

How it works. Each message bit overwrites the last bit of a pixel, in sequence or at positions chosen by a keyed pseudo-random generator; since a random message bit already matches half the time, about half the pixels used are changed, by plus or minus one. Replacement versus matching. Replacement moves values only within fixed pairs (2k, 2k + 1), equalizing each pair's counts while keeping their sum, which is the trace the chi-square attack and the structural detectors exploit. LSB matching, or ±1 embedding, adds or subtracts one at random when a change is needed, which removes the pair trace; Westfeld and Pfitzmann suggested it in 1999 and Crandall noted it in 1998. It is harder to detect, not undetectable: with rich models and an ensemble classifier, ±1 embedding at 0.4 bits per pixel was detected with a median error of 7.85% on the BOSSbase images in 2012. Formats. In palette images the index's last bit can mean an unrelated colour, so tools sorted the palette (EzStego) or used parity; in JPEG files the method moves to the quantized coefficients (JSteg). Lossy recompression destroys pixel-domain LSB payloads.

Also known as: least significant bit steganography, lsb embedding, lsb replacement, lsb matching, ±1 embedding, esteganografia lsb, bit menos significativo

← Back to L Back to the glossary