Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

[Tutorial][Source] Store an EXE as an image! [Free]

There have been a lot of tutorials on this, but this is a really good one, nice job!
Nice tutorial !
I should try this. =D
(Sep 16, 2010 06:05 PM)MrZander Wrote:  I searched for some, couldn't find any in Java however.
I don't think it's a repost. Anyway, good job !

PS:
That hjsplit image is such a beautiful rainbow, hha.
So what is this actaully?
is it like if I open the image file(.jpg,etc) will I open the hidden EXE?
Lucky [2012]! I'm stuck doing dreamweaver and learning how mice work in school. >>

on topic: Yeah, It looks pretty helpful. Although I'm fairly sure it saves it as a .png instead of a .jpg due to the type of compression.
So brainstorming. . .

Let's say we have an archive of two files. We could name the first file keygen.exe and the second logo.png,jpg w/e.

We bind an extractor.exe to ... a keygen, so that when the keygen runs it first reads the "logo" image file, and executes the examined bytes. Then after it has loaded the keylogger,rat etc etc. . . it could load the keygen so it doesn't look suspicious?

Because either way we need a .exe on the other computer that will decode the image, right?

----
So isn't this kind of pointless (as of right now), because we are going to need a .exe in the picture somewhere. And if someone had a FUD keylogger,server anyway then they could just bind THAT to the keygen instead of an extractor to read the secret code in the image?
Oh no its a great concept, I was just wondering if you had any specific ideas that would be more lethal than like what I listed.

Good job man.
lol at Integer.toString()
What's the point of this since when we executes the image it doesn't open the executable..
error in console when I run..?

Code
Exception in thread "main" java.lang.NoClassDefFoundError: base/class
Caused by: java.lang.ClassNotFoundException: base.class
  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: base.class.  Program will exit.
I did, I am not a noob. I compiled it and I runned base.class. I just downloaded the file all made. I don't know if and where I need to change it...
shit stenography is shit

try using the last bit (or two) of every byte to store data (two is best, not noticeable and 4 pic bytes = 1 data byte), that way it will actually keep a lot of the image intact and a message will be so much more obscure.

for even more points check for an empty alpha channel (png format) and stick it all in there.
(Dec 19, 2010 03:56 PM)MrZander Wrote:  If you are not a noob, then you should be able to solve this issue yourself.

I fixed it. Thanks.

Spoiler (Click to View)
Yea the Idea is nice, but there is a bug with the size. Trying on textfiles, I've noticed that it appends some empty bytes on EOF. The bigger the File, the more 0's.
Or we can put rar files in jpg's with exe's in them. ;)
Amezing Tut dude if i can i had reped u :-)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by C++Dec 29, 2019 06:16 PM 16 818 Dec 29, 2019 06:16 PM
Last Post: DNA
[Python] by DistrictApr 7, 2019 03:14 AM 4 222 Apr 7, 2019 03:14 AM
Last Post: lockhead
[.NET] by D3n1s1990Oct 18, 2017 10:26 PM 0 208 Oct 18, 2017 10:26 PM
Last Post: D3n1s1990