LSB — Stéganographie par bits de poids faible
★★★★★
Principe
La technique LSB (Least Significant Bit) cache des données dans le bit de poids faible de chaque octet (composantes R/G/B d'un pixel). Modifier ce bit altère imperceptiblement la couleur, permettant d'encoder un message invisible à l'œil.
Extraction manuelle
# Python : extraire le LSB du canal rouge
from PIL import Image
img = Image.open('img.png'); px = img.load()
bits = ''
for y in range(img.height):
for x in range(img.width):
bits += str(px[x,y][0] & 1) # LSB du rouge
# regrouper par 8 bits -> caractères ASCII Outils
zsteg img.png # PNG/BMP
stegolsb steglsb -r -i img.png -o out.txt
# Cibler canal/ordre : -E 'b1,r,lsb,xy' (zsteg)