Author Topic: Java Decompiler  (Read 13133 times)

0 Members and 1 Guest are viewing this topic.

Offline Axon

  • VIP
  • King
  • *
  • Posts: 2047
  • Cookies: 319
    • View Profile
Java Decompiler
« on: February 23, 2013, 12:46:57 am »
The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions.

Code: [Select]
http://java.decompiler.free.fr/
« Last Edit: November 01, 2013, 09:37:08 am by Kulverstukas »

Offline fonzi

  • /dev/null
  • *
  • Posts: 9
  • Cookies: -2
    • View Profile
Re: Java Decompiler
« Reply #1 on: March 15, 2013, 01:21:10 am »
Yes, I download this on every computer i own. I used it to check out the source code form minecraft :D
--I do not learn to hack, i hack to learn--

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: Java Decompiler
« Reply #2 on: March 15, 2013, 08:06:50 am »
Yes, I download this on every computer i own. I used it to check out the source code form minecraft :D

There is a better alternative for minecraft: http://www.minecraftwiki.net/wiki/Minecraft_Coder_Pack

Offline macdams

  • NULL
  • Posts: 1
  • Cookies: 1
  • Gotta leave you all behind and face the truth
    • View Profile
Re: Java Decompiler
« Reply #3 on: March 20, 2013, 11:32:33 pm »
For those who want to get involved in Android reverse engineering or malware analysis, this Java decompiler is great once you have the jar using dex2jar ( http://code.google.com/p/dex2jar/ )

Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Re: Java Decompiler
« Reply #4 on: March 21, 2013, 06:47:49 am »
Hak5.org has a cool item called the USB Rubber Ducky. It uses a small microcontroller to inject keystrokes while acting as a standard USB HID Device. This means a lot of different things are possible. It works just like a teensy(google for more info).

The interesting thing about this is that they created a scripting 'language'(if you can call it that) that is encoded(or interpreted) using a Java program to translate 'ducky script' into a runnable base16-representation of a binary for the 32-bit Atmel chip that's inside. I wanted to see what was going on in the encoder script so I downloaded jd-gui.exe.

I found out after a quick skim over the code that it was encoding the duck script into a very specific(yet somewhat predictable) format. This is when I looked into what this format is and what it's called: Intel HEX.

The encoder converts ducky 'syntax' into a pre-compiled 32-bit avr assembly program; this binary is referred to as a .HEX file. This is a text representation of the binary, much like opening up notepad.exe in a hex editor except that the format of this hex follows a specific format that correlates with the spec of the AT32UC3B1256 chip that is executing the code.

This binary code consists of functions for generating valid keyboard characters with arguments based on parameters provided by the user in the 'ducky script' and then pushing those values through a software-defined HID interface in affect to reach their destination at the driver/kernel level interface of the host operating system. This means you have to implement the USB-HID protocol from scratch and be sure that it works across all platforms.

Interesting stuff. I attached the duckencoder.jar in case anybody cares to take a look.
« Last Edit: March 21, 2013, 06:50:55 am by frog »

Offline ArkPhaze

  • Peasant
  • *
  • Posts: 136
  • Cookies: 20
  • null terminated
    • View Profile
Re: Java Decompiler
« Reply #5 on: November 01, 2013, 04:26:17 am »
I'm not a Java programmer, but I have used jd before: http://jd.benow.ca/  8)
sig=: ArkPhaze

[ J/ASM/.NET/C/C++ - Software Engineer ]