Tech ARP Forums

Go Back   Tech ARP Forums > Software Discussion > General Software
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

General Software This is the forum for general discussions about software.

Reply
 
LinkBack Thread Tools
Old 3rd Oct 2006, 02:41 AM   #1 (permalink)
h@x!
 
Max_87's Avatar
 
Join Date: 11 Aug 2003
Location: Sarawak, Malaysia.
Posts: 11,261
Reputation: 2024
Max_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond repute
Rep Power: 37
Default Hiding files inside jpg images

Quote:
A USA Today story claimed that al-Qaeda operatives were sending out encrypted messages by hiding them inside digital photographs [jpg files] on eBay.

While the claim was never proved, it is very easy to hide [or embed] any other file[s] inside a JPEG image. You can place video clips, pdf, mp3, Office documents, zipped files, webpage or any other file format inside a JPEG image.

And when a suspecting user [read CIA, FBI] tries to open that jpeg file [with concealed information] in either a photo editing software or as a thumbnail inside Windows Explorer, it would be tough to make out if this camouflaged jpg file is different from any standard jpg image.

Let's say you want to hide a confidential PDF document from the tax investigation officers. What you can do is convert that file into a regular jpg image so even if anyone double-clicks this file, all he will see is a preview of the image and nothing else. And when you want to work on the actual PDF, just rename the extension from jpg to pdf.

Here's the full trick:

Step 1: You will need two files - the file you want to hide and one jpg image - it can be of any size or dimensions. [If you want to hide multiple files in one jpeg image, just zip them into one file]

Step 2: Copy the above two files to the C: folder and open the command prompt window.

Step 3: Move to the c: root by typing cd \ [if the files are in another folder, you'll have to change the prompt to that folder]

Step 4: The most important step - type the following command:

copy /b myimage.jpg + filetohide.pdf my_new_image.jpg

To recover the original PDF file, just rename my_new_image.jpg to filename.pdf.

Here we illustrated with an pdf file as that works with simple renaming. If you want to apply this technique to other file formats like XLS, DOC, PPT, AVI, WMV, WAV, SWF, etc, you may have to first compress them in RAR format before executing the copy /b DOS command.

To restore the original file, rename the .jpg file to .rar and extract it using 7-zip or Winrar.

That's it - No advanced Steganography tricks involved here. Just remember to write the correct syntax of the copy command:

copy /b sourceimage.jpg + filetohide.ext targetimage.jpg
http://labnol.blogspot.com/2006/10/h...uments-or.html

Interesting I never know we could hide files this way
__________________
Max_87
Tech ARP
http://www.techarp.com

P4 630 / Abit IP35 Pro / G.Skill F2-8000CL5-4GBPQ / Radeon X1800 / Barracuda 7200.9 120GB / 7200.10 320GB x2 / Caviar SE16 WD5000AAKS / WD6400AAKS x2 / Dell 2007FP x2 / Silverstone ST56F
Max_87 is offline   Reply With Quote
SPONSOR

Old 3rd Oct 2006, 08:22 AM   #2 (permalink)
Administrator
 
Chai's Avatar
 
Join Date: 6 Oct 2002
Location: Maranello
Posts: 26,668
Reputation: 3984
Chai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond reputeChai has a reputation beyond repute
Rep Power: 72
Default

So al-Qaeda hide their secret documents, while you guys will be hiding pr0n at home?
__________________
Chai (Contributor & Forum Admin)
http://www.techarp.com/
Chai is online now   Reply With Quote
Old 3rd Oct 2006, 08:27 AM   #3 (permalink)
h@x!
 
Max_87's Avatar
 
Join Date: 11 Aug 2003
Location: Sarawak, Malaysia.
Posts: 11,261
Reputation: 2024
Max_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond reputeMax_87 has a reputation beyond repute
Rep Power: 37
Default

pr0n? no need hide lah, ask Dashken
__________________
Max_87
Tech ARP
http://www.techarp.com

P4 630 / Abit IP35 Pro / G.Skill F2-8000CL5-4GBPQ / Radeon X1800 / Barracuda 7200.9 120GB / 7200.10 320GB x2 / Caviar SE16 WD5000AAKS / WD6400AAKS x2 / Dell 2007FP x2 / Silverstone ST56F
Max_87 is offline   Reply With Quote
Old 3rd Oct 2006, 11:51 AM   #4 (permalink)
Administrator!
 
Dashken's Avatar
 
Join Date: 21 Apr 2003
Location: Penang
Posts: 29,725
Reputation: 2162
Dashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond repute
Rep Power: 56
Default

Yalor... just send your HDD over...
__________________
| Intel Core 2 Duo E6850 @ 3.2Ghz | ASUS P5B-E Plus | G.SKILL 2x1GB DDR2 800 | 6 HDDs (2TB+ only ) | NVIDIA GeForce 7600GT | Dell E248WFP 24" Widescreen |


Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings
Dashken is offline   Reply With Quote
Old 3rd Oct 2006, 03:40 PM   #5 (permalink)
Warming up
 
Join Date: 6 Sep 2004
Posts: 103
Reputation: 48
khelben is on a distinguished road
Rep Power: 5
Default

Hehe i learned how to do this a few years back at 4chan, but i was never bothered to use it
__________________
He who asks is a fool for 5 minutes...
He who does not ask is a fool forever...


Barton 2600+ @ 4100+ (11x230)
Asus A7N8X-E Deluxe
PQI Turbo 2 x 512 DDR400 @ 460 2-3-2-5
Inno3D 6800GT
khelben is offline   Reply With Quote
Old 3rd Oct 2006, 08:53 PM   #6 (permalink)
Active
 
Join Date: 12 Jan 2005
Location: Sweden
Posts: 815
Reputation: 315
Olle P is a jewel in the roughOlle P is a jewel in the roughOlle P is a jewel in the roughOlle P is a jewel in the rough
Rep Power: 7
Default

Well, there is at least one telltale sign of these modified images: File size. You can't add data without adding to the file size.
It becomes less suspicious if the added file is substantially smaller than the original image file.

Now I tried it. Merging two files (jpg + pdf) into a working image is no sweat, but I can't re-open it as a pdf!

Cheers
Olle
__________________
If you're not living on the edge you take up too much space...

Asus A8E-N, Athlon64 X2 4600+, 1024MB Kingston value, XFX GF7800GT, Seagate 160GB/8MB

Last edited by Olle P : 3rd Oct 2006 at 09:01 PM.
Olle P is offline   Reply With Quote
Old 6th Oct 2006, 12:21 PM   #7 (permalink)
zy
Dead
 
zy's Avatar
 
Join Date: 16 Dec 2002
Location: Penang,Malaysia - Buffalo,New York
Posts: 12,835
Reputation: 1998
zy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant futurezy has a brilliant future
Rep Power: 37
Default

i dunno how possible is this trick
but i will always think you will curropt the file .. hmm

anyone up for the ultimate test ?
__________________
current:
P4-3.2|P4P800-Deluxe|512x4-DDR|NV6600
WD2500KS|WD5000AAKS|AD-7191A|1860NX|Z2300|MP470

home (malaysia):
P4C-2.6@3.1-StockHSF|AI7|256x2-BT-D43|512x2-DT-D43|A9600XT-VIVO
WD1200JB|2xWD2500KS|DRU-800A|DVD-E616P|LTR-52327S|152x|V.S.4121|iP1500

laptop:
M1210|T7200|2GBDDR667|160GB5K160|GO7400
zy is offline   Reply With Quote
Old 6th Oct 2006, 02:10 PM   #8 (permalink)
News Writer
 
Join Date: 23 Apr 2006
Posts: 1,152
Reputation: 716
ChampionLLY is a splendid one to beholdChampionLLY is a splendid one to beholdChampionLLY is a splendid one to beholdChampionLLY is a splendid one to beholdChampionLLY is a splendid one to beholdChampionLLY is a splendid one to beholdChampionLLY is a splendid one to behold
Rep Power: 11
Default

didnt know there's such a trick...
if got private stuff, i'll juz rename it to sth like system32.dll or 0001bd.tmp & hide it among all the system files

lol...
ChampionLLY is offline   Reply With Quote
Old 12th Oct 2006, 02:56 PM   #9 (permalink)
Da Boss
 
Join Date: 10 Oct 2002
Location: In front of my BenQ Joybook 7000 notebook!
Posts: 29,939
Reputation: 2958
Adrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond repute
Rep Power: 65
Default

Hehe.. This is a pretty old technique.

If they want, they can actually embed the data within the picture itself. Or combine two pictures together, like what people used to do to hide porn pictures.

You know, when you open it, it's an ordinary picture of your and your family (for example). But when you select it in IE, another picture appears.
__________________
Dr. Adrian Wong
Tech ARP | Blog @ Tech ARP | The Free Trade Zone


DYKT : The only offshore account I have is at the sand bank?

Keep Tech ARP free! Visit our sponsors!

We need PROGRAMMERS and TECHNICAL WRITERS! Contact us if you are a hot shot programmer or technical writer!

My items for sale : 50x SD Card | Memory Stick PRO | Cyclone Energy Saver | Seiko SS watch | Tiger/Carlsberg beer jugs | Travel Speakers | Motorola V600 | Nokia N90 SOLD! | New Lowepro Mini Trekker AW

Other items for sale @ the FTZ : Zalman CNPS9500 LED @ $20 | Zalman CNPS7700 Cu @ $20 | Zalman CNPS7000 Cu @ $20 | Swarovski bracelet watches | Dell 17" LCD | Hi-Fi speakers | English DIVX movies | HP LaserJet toners! | Office chairs
Adrian Wong is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Video files appear that download malicious application when they are run SAMSAMHA General Software 2 26th Apr 2006 05:51 PM
ati fire gl v3100 mohaa problems matty50 Graphics Cards & Displays 5 2nd Jul 2005 12:18 AM


All times are GMT +8. The time now is 06:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2007 Tech ARP. All rights reserved.