I found an old post of mine where I claimed that I can hide a program in an image.
Quote from: Blizzard on September 03, 2008, 04:39:06 pm
Have you ever hidden a program in an image? :naughty:
And as a matter of fact I can. A few posts later I have posted a convo between me and NAMK. This is almost 2 and a half years old.
Quote[20:58] SchoonerMcPersonman: blizzard
[20:58] SchoonerMcPersonman: I just read on CP
[20:58] SchoonerMcPersonman: and now you must tell me
[20:58] SchoonerMcPersonman: how you hid a program in an image
[21:02] f[o_o]: ^_^
[21:02] f[o_o]: it's easy
[21:02] f[o_o]: you just need an advanced image editing program like photoshop
[21:02] f[o_o]: now
[21:02] f[o_o]: take a small program
[21:03] f[o_o]: let's say 65536 bytes
[21:03] f[o_o]: now
[21:03] SchoonerMcPersonman: I has GIMP
[21:03] f[o_o]: should work
[21:03] f[o_o]: change the extension to .raw
[21:03] f[o_o]: open it up in the prog
[21:04] SchoonerMcPersonman: change the extension with Notepad right?
[21:04] f[o_o]: and best to use a resolution of 256x256 for that image
[21:04] f[o_o]: no, rename the file
[21:04] SchoonerMcPersonman: oh ok
[21:04] f[o_o]: except if you have extensions disabled
[21:04] f[o_o]: do you see the .exe part in the file names?
[21:04] f[o_o]: or .jpg
[21:04] f[o_o]: if not
[21:04] SchoonerMcPersonman: noes
[21:04] f[o_o]: you can enable it
[21:04] f[o_o]: just open up windows explorer
[21:05] f[o_o]: click on "Tools" in the menu
[21:05] f[o_o]: and then options
[21:05] f[o_o]: "folder options" that is
[21:05] SchoonerMcPersonman: foudn
[21:05] f[o_o]: and disable that option saying "hide extensions for known file types"
[21:05] f[o_o]: anyway
[21:05] f[o_o]: after you open the image
[21:06] f[o_o]: you should get some junk
[21:06] f[o_o]: BTW, I forgot to say
[21:06] f[o_o]: set the image as 1 byte per pixel
[21:06] f[o_o]: you should get an image that looks like noise
[21:06] f[o_o]: now open any png image
[21:06] SchoonerMcPersonman: GIMP won't open .raw files :<
[21:07] f[o_o]: then just don't use any extension
[21:07] f[o_o]: or any that is signed as pure pixel data bitmap
[21:07] SchoonerMcPersonman: "unknown file type"
[21:07] f[o_o]: that's a file without header
[21:07] f[o_o]: ah, damn <_<;
[21:07] SchoonerMcPersonman: rename to...
[21:07] f[o_o]: anyway
[21:08] SchoonerMcPersonman: will .bmp work?
[21:08] f[o_o]: if you use gif, you need to adjust the rest of the image in that way so it won't mess up the image
[21:08] f[o_o]: yeah, it will
[21:08] f[o_o]: just like png you won't have to worry about color loss then
[21:08] f[o_o]: now
[21:08] f[o_o]: I like using a TV
[21:09] f[o_o]: and putting my "program image" instead of an image
[21:09] f[o_o]: so the TV looks like there's noise at it
[21:09] f[o_o]: usually it's a good idea to add some noise under it
[21:09] f[o_o]: and add somewhere the starting pixels of the real program image
[21:09] f[o_o]: and the width and height
[21:09] f[o_o]: makes great riddles
[21:09] f[o_o]: now save it
[21:10] f[o_o]: and you have a program hidden in an image 
[21:10] SchoonerMcPersonman: can you run the program by making it a .exe?
[21:10] f[o_o]: you have to extract the noise part of the image first
[21:10] f[o_o]: then save it as headerless file
[21:10] f[o_o]: and rename it back
[21:10] f[o_o]: because
[21:10] SchoonerMcPersonman: hehe haxx
[21:11] f[o_o]: when you use the program data for the image
[21:11] f[o_o]: it adds the image format's header
[21:11] f[o_o]: so simple rename won't work
[21:11] f[o_o]: you have to extract it first
[21:11] f[o_o]: save as headerless image
[21:11] SchoonerMcPersonman: right
[21:11] f[o_o]: then rename
[21:11] f[o_o]: usually .raw is headerless
[21:11] SchoonerMcPersonman: yeah
[21:11] * SchoonerMcPersonman jumps up and down
[21:11] f[o_o]: IDK which extension is used in GIMP
I remember reading this a few months ago, but didn't want to necropost. Then I just completely forgot to ask you.
I learned it from MaLa's site (http://www.3564020356.org/). Remember this topic (http://forum.chaos-project.com/index.php/topic,8135.0.0)? xD
Quote from: Blizzard on February 25, 2011, 06:49:16 pm
I learned it from MaLa's site (http://www.3564020356.org/). Remember this topic (http://forum.chaos-project.com/index.php/topic,8135.0.0)? xD
Yes. I haven't gotten around trying out MaLa's site in-depth (though I agree it is the most difficult :???:).
I was aware it was possible - at another forum someone used that very thing to stop hackers who'd taken the place over.
how dose hiding programs in images stop hackers?
You can for example add the extra data to the end of a .png file.
I remember seeing a script where save data was added to the end of a picture.
Just put in the program instead.
Of course you would need to extract it gain to be able to use it.