DIGIT-ARC read-only archive · snapshot: July 23, 2026

Hide files inside JPG!!

36 posts · originally from https://geek.digit.in/community/threads/hide-files-inside-jpg.38824/

blackpearl
blackpearl Original post #1
Oct 16, 2006 at 7:53 PM
I found an interesting tutorial. You can hide files inside an innocent looking JPG image. The secretly created image file will open in any image viewer just like a normal file but if you open it with winrar you will find the hidden files. Pretty neat trick.

*www.thetechtray.net/videos/rar/
tuxfan
tuxfan #2
Oct 17, 2006 at 11:50 AM
This is called STEGANOGRAPHY. :) Have a look at *en.wikipedia.org/wiki/Steganography for more information.

I have some software for this on a CD ;) Its pretty cool for sensitive information. But even terrorists are using this for their activities :(
jz2linkinpark
Oct 17, 2006 at 12:13 PM
cool...people could actually be sending secret messages when you get porno in your mailbox...:D
koolbluez
Oct 17, 2006 at 12:33 PM
ya... steganography became famous (or rather infamous) sometime back with terrorist activities... osama-type message passing methods.


But there are 2 catches..
1. It'll need u to install the steganophing software everytime u need to pack/unpack the file. Nothing like an auto.. or exe file.
2. The file size changed to sum of both the files. So supposing u r putting a 1mb word file in a 50kb jpg file, the new jpg'll be greater than 1mb in size. Those with sharp eyes (or attention to detail) 'll definitely catch the difference as a 50kb jpg'll be small in viewing size and low in quality, but a real 1mb jpg'll be huge and of extremely good quality.

Also to be noted, Steganography is not done only on jpgs, u can put any file format in another file format using it. So an "innocent-looking" cartoon clip can have "bigger-rating" material!!!
Technology changes the face of civilization... a baby can be a babe!!!:lol:
niks999
niks999 #5
Oct 17, 2006 at 2:02 PM
Its good man!!
I liked it!
tuxfan
tuxfan #6
Oct 17, 2006 at 6:35 PM
koolbluez said:
But there are 2 catches..
1. It'll need u to install the steganophing software everytime u need to pack/unpack the file. Nothing like an auto.. or exe file.
Keeping an auto or exe kind of file will simply kill its purpose!! Anyone will execute it and know something is hidden there. Of course, he may not be able to see what without a password

koolbluez said:
2. The file size changed to sum of both the files. So supposing u r putting a 1mb word file in a 50kb jpg file, the new jpg'll be greater than 1mb in size. Those with sharp eyes (or attention to detail) 'll definitely catch the difference as a 50kb jpg'll be small in viewing size and low in quality, but a real 1mb jpg'll be huge and of extremely good quality.
Quite true. But a person will have to have a real eye for the details and be at least a little tech-savvy to think about this. So if we are hiding things from government ;) things are pretty safe even if 1 GB file is hidden in 1 MB file :lol:
Abhishek Dwivedi
Oct 17, 2006 at 7:16 PM
u can also use video or a audio file ...it give u more space..let me explain.....

hey do say wow....:)

well in this trick we use a JPEG file....lets take the reo. be 1024X768....that means it has 1024X768 pixels in it...now 1 pixel has 3 colour....red,green&blue.....that means 1 pixel is equal to 3 bits....now if we remove one colour from few of the pixels....randon colours....we get some space...and this space is used for hidding text....now a days new techniques r been used but the one i told was the first and the most strongest....he he he he...u can even hide pic in them.....:))......i read it in a book in my schools lib........
tarey_g
tarey_g #8
Oct 17, 2006 at 9:18 PM
was on Digg
Tech Geek
Oct 17, 2006 at 9:24 PM
A good tutorial dude .
Third Eye
Third Eye #10
Oct 17, 2006 at 10:28 PM
Amazing man !
Thanks !
Anindya
Anindya #11
Oct 17, 2006 at 10:38 PM
What a surprising thing to learn. It is really great! Thanks.:))
~Phenom~
~Phenom~ #12
Oct 17, 2006 at 10:44 PM
whoa , real cool info.
n2casey
n2casey #13
Oct 17, 2006 at 10:45 PM
Nice info but this info has been shared, so never try to hide something using it. :D
R
rup #14
Oct 17, 2006 at 11:52 PM
guys... u can simply hide ur secret document sp any dat or mpeg file by changing the extension... then the icon wd b changed for example: u want to change a dat file into doc.. it will seem as word file or notepad file.. if any1 try to open this then the dat will open in doc format that is the raw from ....for this u just hv to go the folder option>view> then uncheck the hide file extensions for known file type...then just apply n ok... then just change the extension like> movie.dat into> movie.doc....after that in the same way u hv to tick mark the "hide file extensions... isn't it simple....................................................
n2casey
n2casey #15
Oct 18, 2006 at 12:02 AM
@ rup

ur method is simple but most of the members know it. Anyways, keep posting coz u know something which others don't.
satyamy
satyamy #16
Oct 18, 2006 at 12:14 AM
ok lets see it
F
Oct 18, 2006 at 2:01 PM
see this post *labnol.blogspot.com/2006/10/how-to-hide-secret-documents-or.html
nitish_mythology
Oct 18, 2006 at 2:35 PM
Nice tutorial.................thanxs!
sysfilez
sysfilez #19
Oct 18, 2006 at 3:38 PM
i just learnt this new trick, tnx for sharing.
EagerBeaver
Oct 18, 2006 at 8:23 PM
Dis is Good. Thankyou.
anantkhaitan
Oct 21, 2006 at 10:39 AM
Good thread man.........
techtronic
Oct 21, 2006 at 10:57 PM
The movie Along Came A Spider starring Morgan Freeman shows this technology
sabret00the
Oct 22, 2006 at 2:03 AM
ha ha ha good one dude
vikas_patil60
Oct 31, 2006 at 3:07 PM
Good tutorial :)
I try for .mp3 file with .jpg it not work :eek: :eek: :eek:
vikas_patil60
Nov 1, 2006 at 3:28 PM
koolbluez said:
ya... steganography became famous (or rather infamous) sometime back with terrorist activities... osama-type message passing methods.


But there are 2 catches..
1. It'll need u to install the steganophing software everytime u need to pack/unpack the file. Nothing like an auto.. or exe file.
2. The file size changed to sum of both the files. So supposing u r putting a 1mb word file in a 50kb jpg file, the new jpg'll be greater than 1mb in size. Those with sharp eyes (or attention to detail) 'll definitely catch the difference as a 50kb jpg'll be small in viewing size and low in quality, but a real 1mb jpg'll be huge and of extremely good quality.

Also to be noted, Steganography is not done only on jpgs, u can put any file format in another file format using it. So an "innocent-looking" cartoon clip can have "bigger-rating" material!!!
Technology changes the face of civilization... a baby can be a babe!!!:lol:
Please tell Some "steganophing software":rolleyes::rolleyes::rolleyes:
R
rup #26
Nov 7, 2006 at 11:14 PM
@ vikas........
buddy it works....mp3>jpg...
try methodically....
vikas_patil60
Nov 10, 2006 at 2:14 PM
@rup........
Afterall
Yas,it work
Ron
Ron #28
Dec 22, 2006 at 12:41 PM
A good tutorial dude.....
kaustav_geek
Apr 21, 2007 at 8:23 AM
.zip files can be easily hidden inside .jpeg and .gif images without using any external software. The trick is to append the .zip file to .jpeg or .gif file. The trick works because .gif files keep all of their information in the headers, while .zip files keep them in the footer. Since that's the case, .gif viewers read from the front of the file, while .zip readers read from the end.
So for windows users, type this in command prompt:
Code:
 copy /B source.gif+source.zip target.gif

For Linux/Mac users:
Code:
cat somefile.zip >> somefile.gif

Simple redirection of file contents. :D

Source

Cheers.
go4saket
go4saket #31
Apr 22, 2007 at 11:56 AM
This has been posted b4 also. Thanks anyways for the refresher...

This has been posted b4. Thanks for the refresher anyways...
faraaz
faraaz #32
Apr 22, 2007 at 12:30 PM
Dude...this is how you spread viruses...
shyamno
shyamno #33
Apr 22, 2007 at 1:27 PM
excellent tutorial..Keep it up..

Can this be used to hide video format files..using the same technique and command...
koolbluez
koolbluez #34
Apr 22, 2007 at 2:30 PM
anything to anything... shyamno... lots of sw too... just search maan.. new ones come up regularly.. but i suppose all r paidware...
anantkhaitan
Apr 22, 2007 at 4:07 PM
@shyamno
As Kaustav said earlier.. u can do it for any combination of filetypes in which the first one is read from its header and other one from its footer..

In case of GIF and Zip
Gif is header and Zip is footer
M
mneo #36
May 2, 2007 at 8:00 PM
Cooool & yeah i read smwhere thats how u spreasd viruses & hack passwds for email ids