Hide Files in Pictures with a Simple Command
Have you ever needed to transfer a file, but you e-mail at work will not allow you to send it because it is a .ZIP or .RAR or .EXE? Well this tutorial will show you how to take WinRAR to create a .RAR archive (.ZIP will work as well), and “hide” it into a .JPG (Picture) file. The picture will still be able to be opened, but if you do Open With…. And select WinRAR it will open the contents of the archive that was embedded. To start with, we need to download WinRAR. Click here http://rarlabs.com/download.htm, and it will bring up the download page, and at the top of the download page, you will see the following options:


Double click on this to start the installation of WinRAR. The first window of the installation looks like this:

Click on install (once you have selected where you want to install the files). It will go through the installation. Once the installation has completed, it will give you this:

This screen allows you to select which file extensions will default to being used in WinRAR and which ones will keep their current default applications. If you don’t use any other application for archiving, the default option will be fine. If you click on Context Menu items…, it will bring up this screen:

The options listed here allow you to select what options are available when you Right-Click on a file. The extracting ones will only appear on files that can be extracted by WinRAR. Once you are finished, click on ok on both screens. This will then give you the last screen of setup:

Click done to close this window and complete the install. Once you hit done, it will open the folder that you chose to install the application. Close this when it opens.
Now that we have WinRAR installed, we are ready to begin hiding files. To start, get a .JPG, that you would like to work with. If you do not have one readily available, you can use on of the pictures on this site by right-clicking and doing Save Image As, or Save As. This will allow you to save the image to you desktop, or anywhere else on your PC. For this tutorial I have selected this image:

And named it test.jpg. I have this .EXE that I want to send to a firend, but my e-mail server will not allow transmitting of EXE’s or Archives.

To start, we want to right-click on our files that we want to hide into the JPG. This will bring up our context-menu, including the options that we set in WinRAR, as shown below:

Click on Add to “XXXXXXXX.rar” where XXXXXXXX is the name of your file. This will create the archive and place it on the desktop, or where ever your file is that you are using. We now have a KeyGen.rar and a test.jpg. Now we will put these two files together. To do this, we need to bring up a command window. Goto Start->Run and type “cmd” (without the quotes). Now, we will need to go to our directory, that our files are in. If they are on your desktop you will need to go to “C:\Users\*UserName*\Desktop” in
(
Or
(XP)
Now that we are in the proper directory, we need to type our command to copy the files, and make them one. To do this we type “copy /B (JPG FILE) + (RAR File) (OutputFile). Example:

A couple of notes to consider:
—-The JPG file HAS to go first. You CAN NOT reverse the command or the JPG will not be able to be opened. The Archive will still work but the JPG will be useless
—-The output file has to be named with the file-extension of JPG.
You should now be able to click on hidden.jpg, and it will open the picture in your default picture viewing application and if you right-click and go to Open With…. and select WinRAR, it will open the archive and you will see the file that we hid. Hope you were able to follow this tutorial, and thanks for viewing.
Popularity: 7% [?]










on May 9th, 2007 at 10:41 am
That is a pretty neat trick. Thanks.
on May 9th, 2007 at 10:20 pm
Great trick!! Personally, i don’t have a use for it but it is a very neat trick. Another way to send an executable/archive is to change the extension then tell the person to change it back… but still… Good Work
on May 18th, 2007 at 11:26 am
True you could rename it, but that is lame. This is totally h@x0® like.
on May 31st, 2007 at 4:28 pm
vkbf egfciswkz itjaepru iahd kcynv wduxnb zcvswpmi
on June 26th, 2007 at 1:13 pm
excellent tute…i just wanna know if the exe file is binded with trojans and if we view the final image will the exe file be executed also?? just for knoelwdge
on July 25th, 2007 at 9:29 am
thank you for this learning very good!
on September 29th, 2007 at 12:31 am
If you combine a jpeg and an exe how would you run the exe?
on September 30th, 2007 at 2:33 am
“You should now be able to click on hidden.jpg, and it will open the picture in your default picture viewing application and if you right-click and go to Open With…. and select WinRAR, it will open the archive and you will see the file that we hid.”
You have to extract the exe from the picture.
on May 6th, 2008 at 2:42 am
My doubt is when we open the image file, whether the .exe file gets installed automatically
on June 9th, 2008 at 2:41 am
this works for rar and zip files, but i cant make it work for exe.
on October 23rd, 2008 at 1:45 pm
Nice stuff dude. This is a nice little trick to hide legal or important files inside an image.