Hack Forums
[Java] [Tutorial][Source] Store an EXE as an image! [Free] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] [Tutorial][Source] Store an EXE as an image! [Free] (/showthread.php?tid=682439)

Pages: Pages 1 2 3 4


* - Ablaze - Sep 30, 2010

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.


* - soul_ninja - Oct 29, 2010

lol at Integer.toString()


* - Arnow - Oct 29, 2010

What's the point of this since when we executes the image it doesn't open the executable..


* - DarkShadowz - Oct 30, 2010

Whats the point of this? Making a crypter of course xD.

It is a great exe data storage method to bypass AV's.


* - MrZander - Oct 30, 2010

(Oct 29, 2010 02:19 PM)soul_ninja Wrote:  lol at Integer.toString()

I learned VB.NET first lol, it's a habbit.


* - MirrorDude - Nov 1, 2010

So.. when i open it, it install the EXE (my server) into my computer...?


* - MrZander - Nov 1, 2010

(Nov 1, 2010 04:48 PM)MirrorDude Wrote:  So.. when i open it, it install the EXE (my server) into my computer...?

It's not a complete program, just a POC.

You will have to modify it to your needs, which in your case would mean making it retrieve the exe from the image and then executing it.


* - SuburbanInsanity - Dec 18, 2010

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.



* - Ben121 - Dec 19, 2010

(Dec 18, 2010 11:14 PM)demoniax Wrote:  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.

Try compiling it before you run it.


* - SuburbanInsanity - Dec 19, 2010

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...


* - MrZander - Dec 19, 2010

(Dec 19, 2010 11:43 AM)demoniax Wrote:  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...

If you are not a noob, then you should be able to solve this issue yourself.


* - _s1gma - Dec 19, 2010

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.


* - SuburbanInsanity - Dec 19, 2010

(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)


* - Nmanpure Pkr - Dec 22, 2010

Nice tut and thanks for the image, cant wait to see what it is decompiled. Lol and this is actully a great way to compress files.


* - dipidolor - Feb 15, 2011

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.