Steganography
Steganography is what I would call the less powerful and less well known brother of cryptography. Whereas cryptography is encoding something so it can’t be read without a key, steganography is hiding something so it can’t be found without directions. Since cryptography offers a greater level of security for less effort it has often been used as opposed to steganography.
Think of cryptography as the lock to a safe. You need a key to open the safe. Steganography is hiding the safe somewhere where it can’t be found easily such as behind the painting on the wall. To find the safe you need directions. So how is steganography useful in the modern world. It can actually be used in several ways. A secret file can be hidden on your computer so it looks like an ordinary file. I’m going to show you today how to hide an MP3 file inside a JPEG or GIF image.
Firstly, we need two files to work with. Create a recording which you wish to hide and save it as an MP3 file then find an innocent GIF or JPEG. Size doesn’t matter but putting a 10MB MP3 file inside a 10×10 GIF image may look slightly wrong. Place your two images in the same directory.

Bring up the command prompt and navigate to the directory in which your files are saved using the cd command. Write the following command
copy /b wood.jpeg + rain.mp3 test.jpeg

Obviously change the file names in the example above. The /b stands for binary so the command prompt will make a binary copy of wood.jpeg and rain.mp3 and combine them in the file test.jpeg.

The file created will operate like a normal JPEG image until you change the extension to mp3 or run the file with a program which only supports MP3 files. This has many uses, you can email inconspicuous images to your friends for them to extract the file hidden within. This technique is not exclusive to MP3 files. You can hide whole zip files inside an image meaning one image can hide an unlimited number of files.

For additional security you could encrypt your files before hiding them inside an image. Steganography and cryptography combined is a powerful weapon against eavesdroppers and code breakers. If they don’t know where the encrypted message is they can’t tamper with it or decrypt it.
You can leave a comment, or trackback from your own site.
On September 6th, 2008 Milburn - Blog Archive - Remembering Passwords said…
[...] solution is steganography and encryption. There are loads of programs out there which will encrypt your files. These are [...]
Leave a Comment
Search
Archives
Categories
Blogroll
About Me
I’m Thomas Milburn the owner and designer of this blog. I really enjoy designing and developing websites. Although I only made my first proper website three years ago, I’m now fluent in standards compliant HTML and CSS and I know a good deal of PHP and SQL. I enjoy coding in PHP especially designing stuff for WordPress. At the moment I’m improving my JavaScript skills, getting to grips with JQuery and learning Python.
I’m in the upper sixth at Kennet school in Thatcham and am doing my A levels. I’m studying maths, chemistry, physics and french. Hopefully next year I’m going to study engineering at university.
In my free time I enjoy going out cycling or running. I also swim for Newbury Swimming Club and compete in cross country and 1500m for Team Kennet. I’m in the Berkshire Team for cross country and have ran in the nationals for the last few years.
Photos
Proudly powered by WordPress with plane theme by me! | © 2007 Thomas Milburn | Valid CSS and HTML