Sunday, December 4, 2011

WORKING WITH STEGANOGRAPHY

What is Steganography?

            It is the art of writing messages in such a way that no one, apart from the sender and the receiver, can extract the hidden message.

Techniques in Steganography:

            In common the techniques of Steganography are categorized into five types they are as follows:

            1. Physical Steganography
            2. Digital Steganography
            3. Network Steganography
            4. Printed Steganography
            5. Audio/Video/Text Steganography

         Now I deal with 5th technique of Steganography with a real time demo.

AUDIO/VIDEO/TEXT STEGANOGRAPHY


What is AUDIO/VIDEO/TEXT STEGANOGRAPHY?

            An art of sending the data (can be of .doc or .txt or .pdf) to the destination place as a jpeg image format.

If the third party person views the image means he can able to view only the jpeg image not the data what you have hidden inside the image. Only sender and receiver can able to see the data inside the image.

To perform this AUDIO/VIDEO/TEXT STEGANOGRAPHY make sure that Win RAR Software has be installed in your system.

Follow the below Steps to hide the document file inside the image file:

STEP 1: Open a WordPad file and type your secrete message that have to be passed to the destination place.

DEMO:



STEP 2: Save the document is a desired disk location.

DEMO:
I stored this file in Local Disk (D)















STEP 3: Close the word document.

STEP 4: Go to the location in which you have saved the word file. Right Click on the word file and select ADD TO “YOUR FILE NAME.rar” option.

DEMO:
Here my file name is “file.doc”


STEP 5: After completing the step 4 you will get a rar file of your word document.

DEMO:















STEP 6: Select any one image in which you want to hide the document inside the image. The image should be either (.jpg or .gif ) and make sure that the image also should be in the same location were you saved the document file and its rar file.

DEMO:

STEP 7: Now open the command prompt and type the below command.

C:\Users\WELCOME>d:  (Select the drive in which you have stored your rar and jpg files)
D:\>copy /b dog.jpg+file.rar newdog.jpg

Here /b helps to convert the document file into binary file and embeds the binary file inside the image.

Syntax: copy /b image name.extension+filename.rar newfilename.jpg
Eg: copy /b dog.jpg+file.rar newdog.jpg

After executing the command you will find a newimage in your specified location.

DEMO:

STEP 8: Now close the command prompt, and delete the respected file except the newfile which you have created via command prompt.

DEMO:



STEP 9: Now right click the newimage file that you have created via command prompt and open it with WinRAR archiver to extract the document file.

DEMO:
























As soon as you click the WinRAR archiver, a WinRAR Window opens with the document which contains your seceret messge. You can extract the file from WinRAR application and view the file.

DEMO:








If a third person double clicks on the below image means they can able to see only the dog face. But only the sender and the receiver knows that the image is stegnograped.
Try this and be ahead of your friends. You can use this technique for secret message passing between your friends. Feedback about this article is most welcomed. Feel free to comment if any doubts occurs while performing this concept. Your doubts will be solved.

KNOWLEDGE HAS TO BE SHARED NOT TO BE STORED

1 comment:

Things to be taken care while attaching an attachment in Infopath form

While working in Infopath form (2010 and above) version. There are lot of things that to be taken care. I like to share one major problem wh...