Monday, May 19, 2014

Steganography in Images


Steganography is the technique of hiding the fact that communication is taking place, by hiding data in other data. Many different carrier file formats can be used, but digital images are the most popular because of their frequency on the Internet. For hiding secret information in images, there exist a large variety of steganographic techniques some are more complex than others and all of them have respective strong and weak points.
 An Image Steganographic scheme is one kind of steganographic systems, where the secret message is hidden in a digital image with some hiding method. Someone can then use a proper embedding procedure to recover the hidden message from the image. The original image is called a cover image in steganography, and the message-embedded image is called a stego image.
There are currently three effective methods in applying Image Steganography: 
  • LSB Subtitution
  • Blocking
  • Palette Modification
In LSB Substitution technique, the DATA is hidden in the LSB (Least Significant Bit) of the Image Pixels. 
In Blocking, Image is broken in Blocks & using DCT (Discrete Cosine Transformation) the values are modified for hidden messages.
In Palette Modification, the Original Image Color Pallete is replaced with one having hidden message.

LSB Substitution is the most frequently used technique. Here we have to read the Image Pixels & then replace every Least Significant Bit of every pixel with our Message. It is practically proofed that altering Least Significant Bit of a pixel have minute changes in an Image. These minute changes cannot be noticed through naked eyes.
Eg.
Sample Image File: Message will be hidden in this Image.

Text File:  This is the sample Text File which is to be hidden.


O/P Image File:  Image after message is Hidden in the Image. The white spots denotes that the data is hidden in the image.
  

Here, a 1 Bit  Image is used to clearly show the working of Steganography, but by using higher BIT Depth Images (2/4/8/16/24/32) it becomes harder to visually recognize the changes in an Image.