A new book shows that practically all Java programs are vulnerable to being
decompiled back into the original source code. Author Godfrey Nolan says: "I
know I could recover the source code from almost any Java application... and
I'm pretty sure there are other people out there who could do the same."
There are several risks here. The programmer's work and intellectual
property is vulnerable if the source code can be accessed relatively
easily. There is also the danger that a cracker could decompile a popular
piece of Java code, insert malicious functionality, and the recompile the
Java. This new version would be an exact copy of the original program, but
with a malicious payload.
An experienced programmer himself, Godfrey Nolan says he wrote this book
(Decompiling Java, Apress, August 2004) to explain exactly what
decompilation means and what options programmers have to protect their
work. The book includes building an obfuscator (to attempt to protect source
code) and a decompiler (to expose source code).
There is also detailed description of the options open to programmers to
protect their code.
Kniha na Amazonu