How to hide a .rar in a jpeg file
Tags:code hidden jpeg secret winrar
107,979 views
Print This Post
107,979 views
Here’s some good old instructions that I found to hide a .rar file in a jpeg so that you can open it as either…
- Get your .rar file and put it in the same directory as a jpeg picture (c:\hidden is a good place to put it)
- Open up a command prompt by clicking Start/Run and typing “cmd” and click ok.
- In the DOS window, type “cd c:\hidden” to navigate to the folder
- Type “copy /b input.jpg + input.rar ouput.jpg
(where input jpeg is the picture you want to show, input.rar is the file you want to hide and output.jpg will be the name of the new combined file)
That’s it! You can double click the new file and it will show it as a picture, BUT… if you open it with winrar, you will see the files contained. The picture above has a secret file in it, right click and save picture to your computer and then open it with Winrar to see what I put in there!
Popularity: 100% [?]
Tags: code, hidden, jpeg, secret, winrar
Print This Post


September 11th, 2007 at 5:00 pm
Very clever!
September 11th, 2007 at 5:45 pm
I thought so too!
I was going to put up a similar post a while ago but it involved manually editing a hex code with hexedit but I found this way instead!
thanks for visiting
September 16th, 2007 at 1:17 pm
Yup its really quite cool. Because I’m chinese I’ll tell you that it is really similar to what they did in the past.
They hid messages in mooncakes (its a kind of pastry) during the war in the past.
The two methods basically have the same principle. With the jpg files, you wouldn’t do anything more but view them if the file was not intended for you. With mooncakes, you definitely wouldn’t be opening them up if you were not the intended recipient of it so only the recipient would eat it and find the message.
Jonathan’s last blog post..Anti-Social Media
September 16th, 2007 at 1:26 pm
Isn’t it amazing how technology doesn’t introduce new things, it just changes the way we do them?
thanks for visiting!
Andy Bailey’s last blog post..
September 28th, 2007 at 10:05 am
A great observation. It never occured to me that WinRAR checks for archive header anywhere within the file instead of usual beginning of file
Jalajj’s last blog post..Drive Slowly : Google Ahead
September 28th, 2007 at 10:14 am
yes, it’s pretty good. there is another way of hiding a zip file within another file but I can’t seem to find where I saw it anywhere! I’ll keep searching and put up the details here if I find it seeing as how many people have come here for this one.
thanks for visiting!
September 28th, 2007 at 10:25 am
I just happened to see your wp plugin post. I have added your RSS feed so would be reading you regularly.
Have you ever worked on RPC for posting to wordpress… I need a simple page that takes title, post content and Categories and posts it to a wordpress blog using RPC… checked the RPC standards pages but could not get any meaningful out of it.
Jalaj’s last blog post..Drive Slowly : Google Ahead
September 28th, 2007 at 10:35 am
I’ve never heard of RPC but i’ll have a search around and see what it is.
thanks for subscribing to my feed, I did the same with yours! although, I had to search around a bit for a link, in the end I just added /feed/ to your site name and got it that way
good ashwin bashing at your blog!
November 9th, 2007 at 5:41 am
wow that is one nice trick, i could very well use that with my other site http://ebooks-tutorials-magz.blogspot.com where i am sharing ebooks free and can be downloaded at free file hosting sites, this could save me from having a deleted links and reuploading again
thanks man!
@}– ruby –{@’s last blog post..Happy Birthday Nelda!!!
November 9th, 2007 at 8:50 am
Ooh, that was freaking awesome, thanks for posting it! I love little tricks like that.
Faith’s last blog post..Happy Birthday To Me!
November 11th, 2007 at 1:31 pm
December 17th, 2007 at 4:09 pm
Very cool - I never knew you could do this.
December 27th, 2007 at 11:09 pm
How to hide a .rar in a jpeg file > FiddyP…
Here’s a great way of hiding files within files without the need of any special software. just open a cmd window and you’re ready to go!
this will show you how to put files in a .rar archive and disguise it as a jpeg image.
perfect for hiding thos…
January 15th, 2008 at 10:07 am
Stop publicizing Winrar. It’s proprietary software.
You can do the same with 7zip files, and 7zip is open source and there’s a portable version of it for Windows, so you can do it (pretty much) anywhere - I know I do.
Also, another tip for you.
Go in the command prompt and type [code] ATTRIB +S +H name_of_a_folder [/code]. The folder will DISAPPEAR, and you won’t be able to find it even if you change the settings to “show hidden files and folders”. There is an option that enables you to see them, but nobody uses it (show protected system files).
To enter the hidden folder, just type its name on the address bar. To undo this, type [code] ATTRIB -S -H name_of_a_folder [/code].
This won’t have any relevant effect outside Windows (dunno about Macs, but it’s useless on Linux).
Have a good time hiding your Pr0n and your Captain Planets.
Anon -out-
January 15th, 2008 at 1:49 pm
normally anonymous commenters get deleted straight away but your message has at least something useful in it.
don’t know about pr0n though, I’m pretty sure there’s none here and no mention of it anywhere in my posts.
January 15th, 2008 at 8:52 pm
“thanks for your comments but why should I stop publicizing winrar? this post is only a tip for putting files in a jpeg. no big deal.”
As said before, it is also possible with other apps, not just WinRAR. that’s why.
January 15th, 2008 at 8:58 pm
“give winzip a chance!” ra ra ra!
January 16th, 2008 at 12:36 am
[...] 1 - » How to hide a .rar in a jpeg file > FiddyP [...]
January 16th, 2008 at 2:36 am
Have you gotten this to work on vista? Doesn’t seem to work for me - the two copy together just fine, and the image is still viewable, but winrar thinks the archive is broken. Tried it about four times with different files to no avail.
January 16th, 2008 at 5:17 am
Sir why would one need to hide the .rar? Sir, would it be possible: .jpeg has a hidden .rar that has a trojan?
January 16th, 2008 at 5:20 am
Can I use the .jpeg to hide a .rar that contains a trojan….
January 16th, 2008 at 9:32 am
Dr. Evil: it is possible to put a trojan in the rar, it’s possible to put anything but the person opening it would still have to rename the file with .rar and then open it and finally open the trojan inside so not really a useful way to distribute trojans (unless it’s a picture of one! lol )
January 16th, 2008 at 2:23 pm
“ok, so it’s not an anti-winrar mission you’re on then.. just a pro ‘other’ compressional programs one?”
- More like, pro-open-source.
” “give winzip a chance!” ra ra ra! ”
- lol Doesn’t seem to work with .zip files, but it does with 7z.
“this post is only a tip for putting files in a jpeg.”
- Nothing wrong there ~but it also works with other file types (.png .gif, etc…).
“Have you gotten this to work on vista?”
Haven’t tried either, but I’d most likely recommend you to upgrade to Windows Xp ~if you won’t make the switch for Ubuntu, that is.
“don’t know about pr0n though, I’m pretty sure there’s none here and no mention of it anywhere in my posts.”
Inserted for comedic purposes (aka lulz), no harm intended.
I’m perfectly aware there’s more usefulness for the System+Hidden attributes than that. i.e. I have a USB flash pen drive loaded with portable apps, a custom autorun.inf file and .ico logo. I made a hidden /System folder with everything and I use another application to quickly launch stuff: Pstart http://pegtop.net/start/ (still looking for a good non-proprietary alternative). No, I don’t like PortableApps.com Suite, even tough it’s Open Source.
again @ marcus: btw, do you know that new ‘cool’ feature of Vista, where you can search the Start menu just by clicking the Windows key? Pretty useful, hum? ~I’ve been doing it for ages on Xp ;P http://www.launchy.net (open source).
cheers
Anon -out-
January 16th, 2008 at 2:48 pm
Nice tip - I have Vista and it works fine..
One note that might be helpful to some - Windows provides greater flexibility when naming a file i.e., 2008 Disneyland.jpg (no space between 2008 and Disneyland)- but I believe DOS uses the old naming convention where spaces are not allowed - thus will return a Syntax error if the files you wish to combine/hide/rename have spaces in them.
So - prior to using your great tip - merely rename them in Windows if they have spaces - and all is well.
Thanks again..
Nightcheck
January 16th, 2008 at 3:12 pm
@Nightcheck
PROTIP: instead of
: copy 2008 Disneyland.jpg randomfoldername:
try
: copy “2008 Disneylang.jpg” randomfoldername :
slam! problem solved.
About Vista - I’ll never accept intrusive system-wide forced DRM. I won’t get it until there’s a properly hacked version out there (no DRM, no ‘Security’ popups everywhere, etc…).
Don’t get me wrong, tough - it’s not about IRL monies. The college I go to has a protocol with Microsoft that sums up to free Micro$oft Software for evry1. (Free Windows 2000-to-Vista and MS Office licenses, SDKs, MS database servers, you name it…)
January 16th, 2008 at 3:28 pm
By mentioning Vista, I definitely wasn’t intending to advocate it. If Linux ever catches up to the big two in application support and otherwise (read, I’m a computer geek, but between school and work I don’t have enough time to be THAT much of a computer geek) I’d love to keep it around, but until then, I have a macbook for work, and just bought a little desktop system with vista so that I don’t offend and incur the wrath of the great lord Bill of Microsoftia.
Upgrading to XP would require doing things… things I said I would never do again…
January 16th, 2008 at 4:29 pm
Great Tip!
Edner’s last blog post..A Cachorro Grande não é Rock Gaúcho!
January 16th, 2008 at 4:37 pm
[...] Gibson (s’accorde toute seule) Profitez de la paresse de vos confrères/consoeurs de travail Comment cacher un .rar dans un jpeg (pour geek seulement) Les espèces animales les plus [...]
January 16th, 2008 at 5:20 pm
C’est quoi ton problème de spammer partout des liens vers le barchezmo ?
Grandsinge’s last blog post..Motivation!
January 16th, 2008 at 6:28 pm
This old trick we use at my office to hide MP3 and AVIs from security scans on my company network (My company considers mp3 a security threat… no comments). Since the scan robots only check for the first file header they found the trick is to merge them in the correct order, JPG first and then the MP3 or AVI. If you do it backwards it doesn’t work.
January 17th, 2008 at 4:31 pm
nightcheck: thanks for the vista tip!
Marcus: I know what you mean, those dirty little xp maneuvers!
Grandsinge: S’il vous plaît dites-moi ce que spammeur liens vous parlez?
Chepech: how clever!
January 22nd, 2008 at 7:08 pm
Wow, that could do some unwanted damage… Nice find though.
Bull3t’s last blog post..Merry Christmas and a happy new year!
January 22nd, 2008 at 8:36 pm
January 29th, 2008 at 3:46 pm
Good informations.. Thanks.
Estetik’s last blog post..Bebek Emzirmek ve Göğüsleriniz
February 6th, 2008 at 4:41 am
this is definitely very useful information! thanks!!
Narayanan Hariharan’s last blog post..We Remove Vista We Install XP
February 6th, 2008 at 11:33 am
February 9th, 2008 at 4:43 am
Hey Andy - I believe that’s the case. A lot many people are against Vista but I think that’s more cos ppl are content with XP!
Narayanan Hariharan’s last blog post..We Remove Vista We Install XP
February 9th, 2008 at 5:33 pm
[...] clipped from http://www.fiddyp.co.uk [...]
February 13th, 2008 at 12:35 am
Tried this out using 7zip, worked fine. Do you know if there is a way to search for images that have these hidden archives?
February 13th, 2008 at 4:08 pm
Nice tip!!!
February 13th, 2008 at 7:26 pm
[...] » How to hide a .rar in a jpeg file > FiddyP - Would be interesting to see if there is a way to search for pictures that had stuff hidden in them [...]
February 14th, 2008 at 2:09 pm
nice tip!
shawn sum’s last blog post..Love Quotes Part 8
March 1st, 2008 at 1:05 pm
Great job, it’s works for me.
March 1st, 2008 at 4:10 pm
[...] VIA 随机文章:应该看的一些片子离合器2006-Ubuntu年免费的Flash钟表网站播放器测试 [...]
March 1st, 2008 at 4:12 pm
[...] VIA 随机文章:倒影图片安装酷酷的mac tiger风格的主题及时倒掉你身边的烟灰缸感动中国十大动物啰唆 [...]
March 1st, 2008 at 5:05 pm
This is one of the web’s most interesting stories on Sat 1st Mar 2008…
These are the web’s most talked about URLs on Sat 1st Mar 2008. The current winner is …..
March 1st, 2008 at 5:13 pm
» How to hide a .rar in a jpeg file > FiddyP…
[...][...]…
March 1st, 2008 at 5:26 pm
Video tutorial on how to do it here posted may 8 2007
http://youtube.com/watch?v=q6AQL55zMR4
March 1st, 2008 at 5:40 pm
[...] [view original post] [source: Delicious] March 1, 2008 | In links [...]
March 1st, 2008 at 11:05 pm
Matt @ 41 -
MP3check is a cross-platform command line utility which lets you check arbitrary files for MP3 content, including concatenated files using these command prompt options:
mp3check -c -N –no-summary –reject=mp3 *.*
(Start Accessories Command Prompt)
In notepad, you can create a batch file (mpchk.bat) on the desktop, and drop suspect file(s) on it:
mp3check -c -N –no-summary –reject=mp3 %1
pause
To install mp3check, just unzip MP3CHECK.EXE(and CYGWIN1.DLL if you don’t have Cygwin installed) into your c:\windows\system32 directory (or wherever you put %SystemRoot%\system32). Get it here: jo.ath.cx/soft/mp3check/
March 1st, 2008 at 11:18 pm
March 2nd, 2008 at 3:19 pm
Very useful information for me. Thanks.
March 6th, 2008 at 7:54 pm
This is a pretty neat way to send a hidden message. If you find the Zip IN a Zip deal thet would be even better. I’ll check back. Fred
March 6th, 2008 at 11:55 pm
[...] « How to hide a .rar in a jpeg file Are you artistic or logic - Maybe both…stumbled this.. [...]
March 7th, 2008 at 12:05 am
[...] start a trickle of Stumbleupon traffic to an article I have written or seen elsewhere such as the Hide a rar file in a jpeg. I saw it on a blog completely obliterated with adsense blocks so I decided to reprint it here in a [...]
March 7th, 2008 at 5:54 am
Hello There,
Just thought I’d say that was very cool thanks for the tip.
March 7th, 2008 at 8:00 pm
This is just brilliant!
I don’t have a real need for it, but it is one of those cool nerdy tips that are just fun to know!
Tee’s last blog post..Breakthrough in Treating Crohn’s Disease
March 7th, 2008 at 11:21 pm
March 16th, 2008 at 3:19 pm
[...] Link: http://www.fiddyp.co.uk/how-to-hide-a-rar-in-a-jpeg-file/ [...]
March 30th, 2008 at 5:44 pm
This is just brilliant!
I don’t have a real need for it, but it is one of those cool nerdy tips that are just fun to know!
April 2nd, 2008 at 7:47 am
@Andy Bailey
Andy I created such an embedded jpeg using RAR, then analysed that file using Forensic Tool Kit(FTK) analyzer. But I couldnt find any change in the header of original jpeg and jpeg created after.
Do u have any idea about how this trick really works, i mean behind the scenes
April 2nd, 2008 at 11:42 am
otogaz: that’s exactly what I thought when I saw it first!
April 2nd, 2008 at 6:44 pm
@ Andy Bialey:
THnx for ur reply. but jus in case u happen to find something more on how this works dont forget to post it [:)], n i’ll do the same.
April 24th, 2008 at 9:06 am
very interesting..

Can send hidden stuff to friends without other people suspecting anything..
April 28th, 2008 at 11:04 pm
Thanks
May 3rd, 2008 at 3:49 pm
nice article nice site.
football team picturess last blog post..1
May 14th, 2008 at 4:16 am
[...] good old instructions that I found to hide a .rar file in a jpeg so that you can open it as either??http://www.fiddyp.co.uk/how-to-hide-a-rar-in-a-jpeg-file/How do I open a RAR file?Step by step guide teaching you how to open a rar [...]
May 19th, 2008 at 8:33 am
is there a way to split the two files back apart again?
May 19th, 2008 at 9:24 am
May 26th, 2008 at 11:29 pm
I think I have read this post somewhere, but I don’t recall where.
Doras last blog post..Joke of the day - Sex and bridge
May 30th, 2008 at 10:06 am
Very informative and easy to follow post. Rar and JPG working together.
Marias last blog post..Grilled shrimps
June 12th, 2008 at 3:06 pm
Entresan Thanks…
June 13th, 2008 at 12:11 am
[...] good old instructions that I found to hide a .rar file in a jpeg so that you can open it as either??http://www.fiddyp.co.uk/how-to-hide-a-rar-in-a-jpeg-file/WikiAnswers - How do you open rar file in operating system windowsConsumer Electronics question: how [...]
June 20th, 2008 at 7:42 pm
Thanks Andy for this little beauty, and also thanks to Mr. Anon.
June 28th, 2008 at 5:05 pm
quite cool way to hide the win rar inside the picture
simons last blog post..Carbonate Hardness in your Saltwater Aquarium
June 28th, 2008 at 5:07 pm
interesting tip and i like find a way to add this to my site
normans last blog post..Paramobile Power Wheelchair
June 29th, 2008 at 4:30 pm
This might get handy, nice find buddy. I have tried but something turned upside down. I will try again.
Tomass last blog post..Natural Cure for Anxiety and Depression
July 6th, 2008 at 5:34 pm
It might get handy when I retire from blogging and become hacker …. Ha ha ha . Seriously great post.
Piersss last blog post..Banana
July 6th, 2008 at 11:30 pm
Thanks for the useful information. Best regards.
dantels last blog post..Spor ve Kadın
July 8th, 2008 at 6:39 pm
Nice! With this method you can hide every file you want.
I hided an mp3