java exe wrapping... does it protect the code from decompilation?

T

tiewknvc9

Hi!

Im trying to figure out if using a program that generates an exe while
wrapping my jar file inside it, would actually protect my code (without
obfuscation) from potential hackers with decompilers.

While I am aware that exe's can be decompiled, although very difficult
to read, I dont know if wrapping my jar in an exe would actually add
enough security...

Im referring to something like jsmooth...

Thanks for your feedback
 
O

Oliver Wong

tiewknvc9 said:
Hi!

Im trying to figure out if using a program that generates an exe while
wrapping my jar file inside it, would actually protect my code (without
obfuscation) from potential hackers with decompilers.

While I am aware that exe's can be decompiled, although very difficult
to read, I dont know if wrapping my jar in an exe would actually add
enough security...

Im referring to something like jsmooth...

Thanks for your feedback

Depends on the implementation. It's possible all the EXE does is
extracts the JAR and executes it, and deletes the JAR once the program
finishes. If so, it's possible for the hacker to just stop the program
before the delete occurs, and thus gain access to the JAR.

- Oliver
 
V

victor at sevencoins dot com

I use NativeJ (http://www.dobysoft.com/products/nativej/) and asked the author
this question quite a while back. His reply might be helpful to you:
>
> The embedded JAR feature is _not_ a security feature! You should look
> into byte-code obfuscators (eg. ProGuard - proguard.sourceforge.net) if
> you want to prevent third parties from decompiling your JAR files.

Cheers.
 
Joined
Aug 30, 2016
Messages
1
Reaction score
0
Hi
I have developed small application then extract to runnable jar then wrapped that to .exe.
wrapped jar (.exe) can be extracted easily using 7zip app. so, it not giving enough security.

Do we have any other way to protect (wrapped jar) .exe files from extracters like 7zip?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,057
Messages
2,570,443
Members
47,115
Latest member
DorothyLus

Latest Threads

Top