ITWELEC6 - Lab Exercise No 2 - Steganography
ITWELEC6 - Lab Exercise No 2 - Steganography
ITWELEC6 - Lab Exercise No 2 - Steganography
ITWELEC6
(Basic Network Security)
LAB EXERCISE
2
Steganography
(Hide in Picture)
__________________
Student Name
__________________
Date Performed
__________________
Date Submitted
Objective
At the end of this lab students will be able to hide and retrieve data in a bitmap image
file using a Steganography.
Steganography
Steganography is the Art of Hidden Writing. The word steganography literally means
covered writing as derived from Greek. It includes a vast array of methods of secret
communications that conceal the very existence of the message. Throughout history, a
multitude of methods and variations have been used to hide information.
Steganography has been used since ancient Greece, extensively during World War 2,
and still exists today
Today, with computers everywhere, and access to a global network like the Internet,
these methods have gone digital. There are several different programs (both
commercial and shareware/freeware) that incorporate the many different
Steganography techniques on the market today.
On Feb. 5, 2001, USA Today reported that the United States FBI had proof the Osama
bin Laden and his associates were hiding maps, photographs of terrorist targets, and
instructions for terrorist activities in web pages on the Internet using Steganography
techniques.
An example of Steganography
Taking the second letter in each word the following message emerges:
A bitmap picture is simply a series of numbers representing color intensities, one color
for each pixel (point) of the picture. Hide in picture hides a file inside a picture by placing
its bits in the least-significant (lowest binary value) bits of each color in the picture.
These least significant bits, or LSB, are the rightmost bits of the byte.
To hide the character 109 (in binary 01101101), the least-significant bit of each byte
would be replaced by a bit of the character. The result would be:
The difference between the new values and the old ones is very small, so it is difficult, if
not impossible, for the human eye to identify any difference from the original picture. If
the hidden file is large, it may be necessary to modify more than a single bit from each
byte of the picture, which can make this difference more visible.
Hide in picture v2.1, is a freeware windows based program that is simple to use, works
well, and easily shows how steganography can be used. Hide in picture v2.1 is capable
is hiding plain text files, or even executable files inside images.
hikingjeff: flowers:
3. Type your name in the first line of test.txt. Save your changes.
2. Load the bitmap file: click FileOpen picture, then select flowers.bmp.
3. Click ImageHide file, then select test.txt to hide this file within the
bitmap file.
4. You will be prompted for a password and an encryption algorithm. Enter and confirm
your password, select Blowfish encryption, and then click OK.
7. Open both the graphic files and arrange the windows so the images are side-by-
side. Do you see any difference in image quality?
4. You will be prompted for a file name to save your data file. Name the file test-
retrieved.txt and click save.
2. Load the bitmap file: click FileOpen picture, then select hikingjeff.bmp.
4. Click ImageHide file, then select getacct.exe to hide this file within the
bitmap file.
5. You will be prompted for a password and an encryption algorithm. Enter and confirm
your password, select Rijndael encryption, and then click OK.Is the picture quality
affected?
7. Open both the graphic files and arrange the windows so the images are side-by-
side. Do you see any difference in image quality?
4. You will be prompted for a file name to save your data file. Name the file getacct-
retrieved.exe and click save.
1. What is steganography?