Follow Me on Twitter!

This trick is simple but it is really geeky. Did you know that you can hiding your files in JPG image? Here I will show you how. But before we can proceed, prepare our tools first.

Tools

  • WinRAR
  • Command Prompt
  • Hidden files (Eg: password.txt)
  • A JPG image file (Eg: nerd.jpg)

Ok, now we move on how to do this trick. Btw here is my nerd.jpg.

nerdy

1. Put your hidden file and your image file in the same folder. Here I have password.txt and nerd.jpg. Both I put in a folder I named it Secret in drive D.

step1

2. Put all these files into a RAR archive. I named this archive as Hidden.rar

step2

3. Open Command Prompt and go to the folder where you place the files. Type the following command,

copy /b nerd.jpg + hidden.rar cool.jpg

where nerd.jpg is our original image file, hidden.rar is our RAR archive and cool.jpg is the JPG image file that we want to create.

step3

4. Now you will have 4 files in the folder. nerd.jpg, password.txt, hidden.rar and cool.jpg

step4

5. If you open cool.jpg file, you will see the same image like nerd.jpg.

step5

6. If you open cool.jpg file with WinRAR, here is what you will get.

step6
Secret files in JPG image file.

7. Below is my cool.jpg image file. Try open the file with WinRAR and read what I wrote in the password.txt file. :p

cool

Btw if you want to make it more secure, use encryption when you create the archive file. [tags]winrar, encryption, hidden file[/tags]

Edit: You also can use WinZip to do this trick. Thanks to iCalvyn.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Subscribe me feed! If you enjoyed this article, get latest updates via RSS feed or by email.

34 Responses to “Trick to hide files in JPG image”

  1. shah
    May 16th, 2007 | 2:37 am | Reply

    im the first one to comment? Nice tips and article. thanks

  2. Akuma
    May 16th, 2007 | 8:50 am | Reply

    Damn man, This is going to be so handy! Thanks man.
    Wait but when you “Open In Winrar” How do you do that?? “Open With”? Cause Its default as open with w/e Image Viewer Program right?

  3. CypherHackz
    May 16th, 2007 | 10:39 am | Reply

    [Comment ID #45794 Will Be Quoted Here]

    thank you. :)

    [Comment ID #45818 Will Be Quoted Here]

    yea. use the “open with…” option.

  4. Bent
    May 16th, 2007 | 11:12 am | Reply

    Very cool man..i will try this..thanks

  5. danny
    May 16th, 2007 | 11:25 am | Reply

    It’s also known as Steganography.

    Good Howto.

  6. Wahlau.NET
    May 16th, 2007 | 3:29 pm | Reply

    nice…will come in handy in time

  7. hongkiat
    May 16th, 2007 | 4:12 pm | Reply

    That’s pretty impressive! I wonder will this image display properly on web too?

  8. CypherHackz
    May 16th, 2007 | 4:20 pm | Reply

    [Comment ID #45851 Will Be Quoted Here]

    that image works perfectly in web. see the last image in my post.

  9. Techie Buzz
    May 17th, 2007 | 1:45 am | Reply

    Awesome trick, I will definitely use it.

    Guess many people use this to send trojans to users.

  10. shah
    May 17th, 2007 | 1:57 am | Reply

    [Comment ID #45895 Will Be Quoted Here]

    i think AV can detect it.

  11. Akuma
    May 17th, 2007 | 3:02 am | Reply

    Experimenting time?

  12. Madhur Kapoor
    May 20th, 2007 | 8:05 pm | Reply

    Nice tutorial man . Is there any limit on the file size which we can hide .

  13. CypherHackz
    May 20th, 2007 | 8:18 pm | Reply

    [Comment ID #45902 Will Be Quoted Here]

    huh? :p

    [Comment ID #46316 Will Be Quoted Here]

    i think there is no limit on the file size but you will notice that the image file size is big up to 25Mb or maybe more. depends on the file size you want to hide.

  14. Tommy
    May 22nd, 2007 | 10:37 am | Reply

    Great tips. I shall test it out now. Cheers.:d

  15. Best Airmiles Deals
    May 22nd, 2007 | 10:18 pm | Reply

    [Comment ID #45818 Will Be Quoted Here]

    Just curious how this is going to be so useful? Maybe i’m missing something.

    I think it’s super cool but not super useful really.

    Maybe someone can shed some light!

  16. CypherHackz
    May 23rd, 2007 | 3:37 pm | Reply

    maybe you can use to send executable files in gmail. as you may already knew, gmail won’t allow us to send exe files.

  17. iCalvyn
    May 27th, 2007 | 10:57 am | Reply

    i just wonder will winzip work? i should have a try 1st

  18. iCalvyn
    May 27th, 2007 | 11:06 am | Reply

    i have tested with winzip, it run the same too

  19. CypherHackz
    May 27th, 2007 | 8:05 pm | Reply

    cool… i will update this post. thanks. :d

  20. bill
    May 29th, 2007 | 1:12 am | Reply

    dude this is cool
    but I can’t get it to work when I open with winrar I get the following error:

    archive is either unknown format or is damaged.

  21. CypherHackz
    May 29th, 2007 | 10:14 am | Reply

    can you open the above image file? try open cool.jpg file with winrar.

  22. bill
    May 29th, 2007 | 12:21 pm | Reply

    yeah yours works just fine and I can add all the files I want to it. when I make one myself all I get is a larger jpg

  23. bill
    May 29th, 2007 | 12:31 pm | Reply

    hey I just tried again on a different computer and it worked maybe this one just likes to ride the short bus.

    this is cool

    thanks dude

  24. CypherHackz
    May 29th, 2007 | 1:09 pm | Reply

    lol… maybe you need to reinstall the winrar. :-? he3. anyway, glad to see that it works! :d

  25. Izwan
    June 1st, 2007 | 1:50 am | Reply

    Good tips! :x

  26. Shankar Ganesh
    June 5th, 2007 | 6:34 pm | Reply

    Hidden files inside JPGs! Sweet. :d

  27. Aph
    June 29th, 2007 | 8:18 pm | Reply

    What about other types of files? for example .mp3?
    Is it only for .txt file?

  28. CypherHackz
    July 2nd, 2007 | 11:59 am | Reply

    i never try hiding big file size in the image yet. but technically, you can. :)

  29. Knoxwille
    July 25th, 2007 | 9:33 pm | Reply

    old but cool trick!

    There are many tools for binding files but this simple and worx!

  30. HaXeR
    December 7th, 2008 | 12:58 am | Reply

    so u wana say dat u can kinda hide a trojan there and when user opens it trojan runs as well ?? ?? >>

Leave a Reply