Hide (Zip or Rar) in Picture

TheBossMan

Expert Member
Joined
Jan 30, 2007
Messages
1,737
Reaction score
0
Location
Somewhere far far away.
Merge and Hide a Compressed File (Zip or Rar) into a Picture

http://komku.blogspot.com/2008/08/merged-and-hide-compressed-file-zip-or.html

or

http://labnol.blogspot.com/2006/10/how-to-hide-secret-documents-or.html

Here's the full trick:

Step 1: You will need two files - the file you want to hide and one jpg image - it can be of any size or dimensions. [If you want to hide multiple files in one jpeg image, just zip them into one file]

Step 2: Copy the above two files to the C: folder and open the command prompt window.

Step 3: Move to the c: root by typing cd \ [if the files are in another folder, you'll have to change the prompt to that folder]

Step 4: The most important step - type the following command:

copy /b myimage.jpg + filetohide.pdf my_new_image.jpg

To recover the original PDF file, just rename my_new_image.jpg to filename.pdf.

Here we illustrated with an pdf file as that works with simple renaming. If you want to apply this technique to other file formats like XLS, DOC, PPT, AVI, WMV, WAV, SWF, etc, you may have to first compress them in RAR format before executing the copy /b DOS command.

To restore the original file, rename the .jpg file to .rar and extract it using 7-zip or Winrar.
 
Sorry I'm a little.... eeeeeeeeeeeehhhhhhhhhhhhhhhhh

What the hell is this for? O.O
 
Sorry I'm a little.... eeeeeeeeeeeehhhhhhhhhhhhhhhhh

What the hell is this for? O.O

Dude, stop posting crap around the forum and goto bed. Delete your stupid response from my thread while your at it.
 
This is for when you got some files that you wanna hide from people.. Stuff that needs to stay private..
Zip or Rar the files.
Then copy that zip or rar into a picture file.. (jpg; gif; png; bmp << have tried with all these types so far and working) picture file.

So when someone double clicks on the picture it opens the picture and not the hidden zip or rar file.
Only by renaming file to the zip or rar exstension will the be able to see the hidden contents. (or by right click and open with then selecting Winrar or Winzip from the list)
 
Using that DOS command is not steganography, all "copy /b" does is joining the two files into a new one. Essentially both files exist in their original form, but joined together, someone examining the file would be able to pick up that it's two files by identifying the headers of the original files.

True steganography embeds a file into the picture by altering the binary information in a certain way, e.g. change a 1 here into a 0, change a 0 there into a 1. If the number of changes are kept low, the change to the picture is almost unnoticeable to the human eye. The aim of steganography is to hide information inside something else.
 
Doesn't work for me, output files are corrupted.
 
Top
Sign up to the MyBroadband newsletter
X