How to hide .rar files within picture files

by Ross McKillop on December 4, 2008

Security Windows

This is a guest post by Devicepedia – if you like this article consider subscribing to the Devicepedia RSS feed.

This tutorial will show you how to hide .rar files within .jpg files – so that anyone who opens the picture would never know there was another file hidden within it.

  1. Select the RAR file that you want to hide. For this example the file I want to hide is called files.rar and the picture I’m going to hide it in is called warren.jpg. Copy both the files into the same folder.
  2. Then open the command prompt by selecting Start -> Run -> in the space provided enter cmd and click OK.
  3. Navigate to the the folder that you stored the files in. I kept them in the Downloads folder found within my My Documents folder, so I issued the commands cd “My Documents” and then cd Downloads. Now type the following command: copy /b warren.jpg + files.rar warren2.jpg Remember – replace warren.jpg, files.rar and warren2.jpg with the names of your files.

  4. click to enlarge

  5. This will embed the archive thus hiding it. You can open warren2.jpg with a picture viewer and there will be no indication that there’s a .rar file hidden within it.
  6. To open the hidden archive (.rar file), simply open warren2.jpg (your picture) with WinRAR, or the RAR decompression utility of your choice.
  7. NOTE: you may need to select All Files when opening your picture file with WinRAR, otherwise it won’t be listed in the directory view.
  8. Now you can extract the “hidden” files from your “hidden” RAR file.

  9. click to enlarge

  • weebeast

    Cool tricks, cool tricks!
    Why, exactly would you *want* to do that?
    Just askin’…

  • Gino

    Sorry… It doesn’t work for me. I obtain an error message says: “The archive is either in unknown format or damaged”. The same results with other rar application. Can you help me?

  • Pingback: Les Giraultises blogguent » Blog Archive » links for 2009-01-06

  • Fugazy

    error like Gino for me…
    win rar 3.80 evaluation copy

  • anonymous

    The *NIX (e.g. Ubuntu) way of doing this would be:

    cat warren.jpg files.rar warren2.jpg

    You should then be able to extract warren2.jpg with unrar (or a graphical frontend).

  • Ren

    Wer nicht weiss was man mit dem Befehl machen kann, der hat die grosse Erleuchtung noch nicht gehabt.
    Denk mal an Mail, Up- und Downloads via Contenfilter, usw. usw. :-)

    OT: Solche maschinenübersetzte Müllseiten wie diese hier sollten für immer aus dem Internet gelöscht werden. Der Betreiber gleich dazu…

  • Ice

    It does say “The archive is either in unknown format or damaged” but i think that is because of the image. It works for me if you try another image.

  • Pingback: Comment cacher une archive dans une image – by Simple Help : Les blog des professionnels du web

  • Dan-Z

    @anon close but no cigar.
    Ubuntu is
    cat warren.jpg files.rar > warren2.jpg