Click here to Skip to main content
Licence 
First Posted 8 Mar 2005
Views 135,592
Downloads 775
Bookmarked 26 times

Hiding EXE Data Within GIF Data

By | 21 Feb 2006 | Article
This script merges "your.gif" and "your.exe" to create "your.gif.hta.gif"

Homer.gif + Calc.exe

Introduction

The goal of this vbscript is to hide EXE data within a GIF image.
The above Homer picture actually contains the Windows calculator. (calc.exe)

The EXE data is stored within a newly generated GIF comment block.

GIF Comment Block

Example

If you'd like to create your own examples, simply goto a run prompt and type:

cscript.exe hide.vbs your.gif your.exe

The script merges "your.gif" and "your.exe" to create "your.gif.hta.gif", which correctly displays using the IE browser. If the 'Hide extension for known file types' option is enabled, which is the default setting, the "Save Picture As..." will download "your.gif", it's really "your.gif.hta". (Example: Right-click and Save Homer)

Microsoft described an HTA as running much like an EXE file.

Good Luck!

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

cyber_flash



United States United States

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralIDIOT Pinmemberzuhdizuhdi15:55 26 Jan '10  
Generali'm confused PinmemberGian Isulat1:36 30 Aug '08  
GeneralRe: i'm confused Pinmembershivsmonkey0714:22 20 Nov '08  
GeneralRe: i'm confused Pinmemberhoclovetram0:29 20 Jun '11  
GeneralNot working Pinmemberbadboy10016:33 25 Apr '07  
GeneralRe: Not working Pinmemberelixa13:46 20 Jul '07  
NewsI have done my sniper.gif.hta file Pinmembersniper_cro22:14 2 Feb '07  
GeneralI made it into a program Pinmembervitaloverdose14:41 3 Aug '06  
QuestionHow execute calc.exe [modified] PinmemberTriple1235:19 2 Jul '06  
AnswerRe: How execute calc.exe PinmemberYogesh Bhat18:24 19 Jan '07  
JokeNice But... PinmemberInvisible-boy2:47 23 May '06  
Questioni can't use it to merg my exe and run it Pinmemberhamid_m23:05 6 Apr '06  
GeneralMessage Removed PinmemberVasian Cepa0:13 22 Feb '06  
GeneralRe: This has nothing to do with Steganography - and details Pinmembercyber_flash5:22 22 Feb '06  
QuestionWierd PinmemberN1NJ4z10:07 26 Jan '06  
QuestionHow to execute it with arguments Pinmemberbjfile121:19 7 Jan '06  
AnswerRe: How to execute it with arguments Pinmembercyber_flash11:42 9 Jan '06  
GeneralBut there is problem to implement that into your hide.vbs Pinmemberbjfile110:30 10 Jan '06  
Generalnotable to execute the hta file Pinmemberharish_chk23:47 12 Dec '05  
GeneralRe: notable to execute the hta file Pinmembercyber_flash1:14 13 Dec '05  
GeneralHave to change the extension to get it to run the exe Pinmemberrawiggum9:40 13 Oct '05  
GeneralRe: Have to change the extension to get it to run the exe Pinmemberharish_chk23:01 12 Dec '05  
QuestionHow to hide app in task manager(NT) Using VB 6 Pinmembersatheesh.sankranthi0:14 29 Aug '05  
QuestionQ to cyber_flash ? Pinmemberloser113:11 13 Mar '05  
AnswerRe: Q to cyber_flash ? Pinmembercyber_flash1:39 14 Mar '05  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 21 Feb 2006
Article Copyright 2005 by cyber_flash
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid