Steganography - The Art Of Hiding [Conceptual Overview]
Steganography
Steganography the Art
of hiding a message such the only the sender and the receiver has the idea of
it or can crack it. this is not a defination but a simple word explaition to
the wage definations which end up nowhere.
Now guys as we know we are talking about Message so the
First thing to do is write a message or thing of it. now if you want to encrypt
that message such that only the particular decrypter can decrypt it do it. now
in order to hide the massage in any form there are many techniques and tools to
do that
not going into too lengthy list the main thing used is image
steganography.
Steganography can be used to cloak hidden messages in image,
audio, and even text files. In a computer, images are represented as arrays of
values. These values represent the intensities of the three colors R(ed)
G(reen) and B(lue), where a value for each of the three colors describes a
pixel. Large images are most desirable for steganography because they have the
most space to hide data in. The best quality hidden image is normally produced
using a 24-bit bitmap as a cover image. Each byte corresponding to one of the
three colors and each three-byte value fully describes the color and luminance
values of one pixel. The cons to large images are that they are cumbersome to
both transfer and upload, while running a larger chance of drawing an
“attacker’s” attention due to their uncommon size. As a result, compression is
often used.
The two compressions are:-
GIF
The first is the GIF (Graphics Interchange Format) format,
which will decrease the number of bits used to represent each pixel from 24 to
8. This is a lossless compression technique and the data hidden in the message
can be recovered without a problem.
JPEG
The JPEG (Joint Photographic Experts Group) is a form of
lossy compression. It does a very nice job of decreasing the file size of the
image and retaining a great deal of its quality. The JPEG transformation takes
eight pixel by eight pixel blocks and performs a 64 bit DCT (Discrete Cosine
Transformation) does not compute to exact values. With continuing transforms, the
precision of the calculation is decreased and the amount of error increases.
Two methods used to perform a DCT are the Fast Fourier and wavelet transforms.
The downside to JPEG compression is that it may corrupt hidden data.
Steganography is sometimes confused with cryptography.
Although the two can co-exist as discussed later in this document, they are not
the same. Both are used to protect information but steganography is concerned
with concealing information thereby making it unseen while cryptography is
concerned with encrypting information thereby making it unreadable.One major factor in steganography is that it relies on the fact that a
person does not know that a picture or a sound file or a block of text actually
contains hidden information
How does it
work?
Modern day steganography mainly deals with hiding
information within other files such as music or picture files. These files can
“contain perceptually irrelevant or redundant information that can be
substituted for hidden messages”2. The following diagram has been sourced from
a paper presented at the 2nd workshop on Information Hiding in April 1998. It
shows the basic method of how digital steganography works:
• Substitution
• Injection
• Generation
of new files
Technique 1:
Substitution
Every file that is created will contain unused or
insignificant areas of data. These areas can be replaced without any
discernible changes to the visual or aural clarity of the file. This enables
one to conceal sensitive information within the file and still have the file
appear as though it is the same as the original unmodified version. The Least
Significant Bit (LSB) method replaces the last bit in an 8 bit byte. The theory
is that simply replacing this bit in each byte will not be noticeable to the human
eye or ear depending on the type of file.
In the following discussion, we will use the example of a
picture file. If a group of bytes representing a colour in a picture was to
look like:
10010110 01101010 11100101
This represents a 24 bit image (3 bytes x 8 bits). Let’s
suppose we changed the first bit (1) in the first byte. This being the most
significant bit would mean that it changing would likely have a significant
effect on the picture and be easily seen by the naked eye. However, if we
change the last bit (1) in the last byte then chances are that this change
would not be noticeable. This last bit is the Least Significant Bit (LSB).
Therefore to conceal a message, we can use the LSB’s in the picture file to
structure a message to conceal within the file.
LSB works best in files that have a lot of ‘noise’Key
fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46i.e. Pictures
that have many
colours and shapes or audio files that have a lot of
different sounds and effects such as echoes. This is because LSB changes the
value of a byte and in turn that changes the colour or sound. Therefore, the
more noise in a file, the harder it will be for a human to notice any minor
changes.
Substitution method generally does not increase the size of
the file but depending on the size of the hidden message, it can eventually
cause a noticeable change from the unmodified version. The LSB technique is
commonly used in steganography applications because it is quick and easy to
use. One drawback to LSB is that the technique does not take well to the file
changing eg. The picture being cropped or rotated as this can destroy the
hidden message.
Technique 2:
Injection
Injection involves embedding the secret message directly
into the carrier object. The problem with this approach is that it generally
makes the file larger than the original unmodified file. While this is not an
issue if an eavesdropper does not have a copy of the original file, it is one
drawback of the technique. “Almost all programs today like web browsers or
Microsoft Office programs have methods of placing data in a file that will be
ignored or not displayed when the program displays the file to a user”.
Allegedly, during the 1980’s, British Prime Minister Margaret Thatcher became
so irritated at the press leaks of cabinet documents that she ordered the
office word processors be re-programmed to inject each user’s identity in the
word spacing so the press leak culprit could be identified.
Technique 3:
Generation of New Files
This technique involves taking your message and using this
to generate a new file from scratch. One advantage of this is that there is
never an ‘original’ file to compare it to which improves the chances of not
detecting any hidden data within the carrier.
Coming Back to Image
Image
1 Least Significant Bit
“To a computer, an image is an array of numbers that
represent light intensities at various points, or pixels” . An image size of
640 by 480 pixels, utilising 256 colours (8 bits per pixel) is fairly common
and would contain around 300 kilobits of data. Digital images are usually in
either 24-bit or 8-bit per pixel formats. 24-bit images are sometimes known as
true colour images.
A 24-bit image is easier to hide messages in due to the
extra bytes of information. However, because of these extra bytes, it would
also be larger than an 8-bit image and the transferral of large images across
the Internet can raise suspicion in certain circumstances. Therefore sometimes
8-bit images are chosen as the carrier object with a preference for grey-scale
images because the colour transitions from one to another are barely
noticeable i.e. changing the LSB is barely noticeable.Key
fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46
2 Masking
Image compression can often have an effect on the integrity
of the hidden message. There are two types of image compression:
• Lossy –
JPEG (Joint Photographic Experts Group) uses this format and offers the highest
compression ratio.
• Lossless
– BMP (Microsoft Bitmap) and GIF (Graphics Interchange Format) are two formats
that provide a higher quality but less compression and therefore are easier
carriers to hide messages within.
A simple conversion from a GIF or BMP format to a lossy
compression format such as JPEG can destroy the hidden information in the
image. Masking or filtering techniques are more effective than LSB when using
JPEG images. “By covering, or masking a faint but perceptible signal with
another to make the first non-perceptible, we exploit the fact that the human
visual system cannot detect slight changes in certain temporal domains of the
image” . This quote comes back to the fact that human perception does not
notice minute changes in colour. However, this form of message hiding is more
closely related to watermarking than steganography although the concept is the
same. Watermarking is discussed in more detailed in section 8.3.
Discrete Cosine Transform is a method that suits well to
concealing messages in compressed JPEG images. This method will be discussed in
section 6.3.
Audio
The human ear is extremely sensitive to changes in audio
patterns but is not so sensitive to differential sounds i.e. loud sounds tend
to mask quiet sounds especially those of the same frequency. When concealing a
secret message in an audio file, one must consider the transmission medium that
the file will
travel. Will it be strictly digital? i.e. computer to
computer or will it pass over an analogue medium such as a home stereo or even
over the air to a microphone? Some methods are more robust to manipulation and
noise than others and the transmission medium must be taken into account when
choosing a steganographic method. Audio steganography is a classic example of
“finding and making use of “natural uncertainty” (e.g. noise)”
1 Low-Bit Encoding
Data can be stored in audio files in a similar manner to LSB
in image files. This is called low bit encoding but is not very immune to
manipulation and produces audible noise.
Key fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4
A169 4E46
2 Spread Spectrum
“Spread-spectrum encoding is the method of hiding a small or
narrow-band signal, a message, in a larger cover signal” . This method essentially
adds seemingly random noise to the signal using a noise generator. The message
is hidden within the noise of the carrier and spread across as much of the
frequency spectrum as possible.
3 Echo Data Hiding
This method uses echoes in the audio stream to conceal
hidden messages. Echoes when done well can often improve the aural quality of
the sound rather than distort it. It works by adding an echo to the signal that
varies by initial amplitude, decay rate and offset. When the time delay between
the original sound and the echo decreases, it becomes less perceptible to the
human ear. The timing of the delay actually signifies whether the bit of
digital information is a ‘1’ or a ‘0’ and these delays throughout the audio
file will combine together to form the secret message when decoded. ”Echo
hiding was found to work exceptionally well on sound files where there is no
additional degradation, such as from line noise or lossy encoding, and where
there is no gaps of silence” .
4 Perceptual Masking
I mentioned earlier that the human ear is not so sensitive
to differential sounds. Perceptual masking is the concept of hiding a sound
behind another louder sound of the same frequency. We have seen this technique
used many times in history, for example when someone is concerned that they
will be overheard they turn up auxiliary sounds such as the stereo or
television to mask their conversation. Well, this technique can be used in the
same manner in steganography and is effective because of the weaknesses in the
human auditory systems.
Support Author:
Ankur Mehta
Follow Me
— Ankur Mehta, Hackup's

This comment has been removed by a blog administrator.
ReplyDelete