Click here to Skip to main content
13,000,127 members (49,560 online)
Click here to Skip to main content
Add your own
alternative version


27 bookmarked
Posted 8 Mar 2005

Hiding EXE Data Within GIF Data

, 21 Feb 2006
Rate this:
Please Sign up or sign in to vote.
This script merges "your.gif" and "your.exe" to create "your.gif.hta.gif"

Homer.gif + Calc.exe


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


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!


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

United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralDoes not work! Pin
Singh Vaibhav29-Jul-14 19:14
memberSingh Vaibhav29-Jul-14 19:14 
GeneralIDIOT Pin
zuhdizuhdi26-Jan-10 15:55
memberzuhdizuhdi26-Jan-10 15:55 
Generali'm confused Pin
Gian Isulat30-Aug-08 1:36
memberGian Isulat30-Aug-08 1:36 
GeneralRe: i'm confused Pin
shivsmonkey0720-Nov-08 14:22
membershivsmonkey0720-Nov-08 14:22 
GeneralRe: i'm confused Pin
hoclovetram20-Jun-11 0:29
memberhoclovetram20-Jun-11 0:29 
GeneralNot working Pin
badboy10025-Apr-07 16:33
memberbadboy10025-Apr-07 16:33 
GeneralRe: Not working Pin
elixa20-Jul-07 13:46
memberelixa20-Jul-07 13:46 
NewsI have done my sniper.gif.hta file Pin
sniper_cro2-Feb-07 22:14
membersniper_cro2-Feb-07 22:14 
GeneralI made it into a program Pin
vitaloverdose3-Aug-06 14:41
membervitaloverdose3-Aug-06 14:41 
QuestionHow execute calc.exe [modified] Pin
Triple1232-Jul-06 5:19
memberTriple1232-Jul-06 5:19 
AnswerRe: How execute calc.exe Pin
Yogesh Bhat19-Jan-07 18:24
memberYogesh Bhat19-Jan-07 18:24 
JokeNice But... Pin
Invisible-boy23-May-06 2:47
memberInvisible-boy23-May-06 2:47 
Questioni can't use it to merg my exe and run it Pin
hamid_m6-Apr-06 23:05
memberhamid_m6-Apr-06 23:05 
GeneralRe: This has nothing to do with Steganography - and details Pin
cyber_flash22-Feb-06 5:22
membercyber_flash22-Feb-06 5:22 
QuestionWierd Pin
N1NJ4z26-Jan-06 10:07
memberN1NJ4z26-Jan-06 10:07 
QuestionHow to execute it with arguments Pin
bjfile17-Jan-06 21:19
memberbjfile17-Jan-06 21:19 
AnswerRe: How to execute it with arguments Pin
cyber_flash9-Jan-06 11:42
membercyber_flash9-Jan-06 11:42 
GeneralBut there is problem to implement that into your hide.vbs Pin
bjfile110-Jan-06 10:30
memberbjfile110-Jan-06 10:30 
Generalnotable to execute the hta file Pin
harish_chk12-Dec-05 23:47
memberharish_chk12-Dec-05 23:47 
GeneralRe: notable to execute the hta file Pin
cyber_flash13-Dec-05 1:14
membercyber_flash13-Dec-05 1:14 
GeneralHave to change the extension to get it to run the exe Pin
rawiggum13-Oct-05 9:40
memberrawiggum13-Oct-05 9:40 
GeneralRe: Have to change the extension to get it to run the exe Pin
harish_chk12-Dec-05 23:01
memberharish_chk12-Dec-05 23:01 
QuestionHow to hide app in task manager(NT) Using VB 6 Pin
satheesh.sankranthi29-Aug-05 0:14
membersatheesh.sankranthi29-Aug-05 0:14 
QuestionQ to cyber_flash ? Pin
loser113-Mar-05 13:11
memberloser113-Mar-05 13:11 
AnswerRe: Q to cyber_flash ? Pin
cyber_flash14-Mar-05 1:39
membercyber_flash14-Mar-05 1:39 
GeneralImage not viewable in all apps. Pin
Disrupted9-Mar-05 10:14
memberDisrupted9-Mar-05 10:14 
GeneralRe: Image not viewable in all apps. Pin
cyber_flash9-Mar-05 10:39
membercyber_flash9-Mar-05 10:39 
GeneralBrilliant!!! Pin
toticow9-Mar-05 3:26
membertoticow9-Mar-05 3:26 
GeneralRe: Brilliant!!! Pin
mwilliamson9-Mar-05 5:47
membermwilliamson9-Mar-05 5:47 
GeneralRe: Brilliant!!! Pin
cyber_flash9-Mar-05 10:40
membercyber_flash9-Mar-05 10:40 
GeneralRe: Brilliant!!! Pin
toticow9-Mar-05 20:05
membertoticow9-Mar-05 20:05 
GeneralGood Article Pin
Phil Harding9-Mar-05 1:45
memberPhil Harding9-Mar-05 1:45 
GeneralRe: Good Article Pin
cyber_flash9-Mar-05 10:41
membercyber_flash9-Mar-05 10:41 
GeneralRe: Good Article Pin
ZachJ1-Apr-05 18:44
memberZachJ1-Apr-05 18:44 
GeneralNever run an executable from the internet Pin
Mark Focas8-Mar-05 11:50
memberMark Focas8-Mar-05 11:50 
GeneralRe: Never run an executable from the internet Pin
cyber_flash8-Mar-05 12:30
membercyber_flash8-Mar-05 12:30 
GeneralRe: Never run an executable from the internet Pin
ZachJ1-Apr-05 18:38
memberZachJ1-Apr-05 18:38 
GeneralRe: Never run an executable from the internet Pin
Anonymous3-Apr-05 16:54
sussAnonymous3-Apr-05 16:54 
GeneralVirus... Pin
Al Einstien8-Mar-05 9:04
memberAl Einstien8-Mar-05 9:04 
GeneralRe: Virus... Pin
cyber_flash8-Mar-05 10:10
membercyber_flash8-Mar-05 10:10 
GeneralRe: Virus... Pin
Al Einstien8-Mar-05 15:04
memberAl Einstien8-Mar-05 15:04 
QuestionSecurity? Pin
Paul Selormey8-Mar-05 8:04
memberPaul Selormey8-Mar-05 8:04 
AnswerRe: Security? Pin
cyber_flash8-Mar-05 8:11
membercyber_flash8-Mar-05 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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 | Terms of Use | Mobile
Web01 | 2.8.170624.1 | Last Updated 21 Feb 2006
Article Copyright 2005 by cyber_flash
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid