Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-23-2020, 22:46
byte23 byte23 is offline
Friend
 
Join Date: Jul 2020
Posts: 22
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 22
Thanks Rcvd at 11 Times in 8 Posts
byte23 Reputation: 0
How to go about RE Java Plugins for Intellij?

Hello fellow Enthusiasts,

I want to ask a very straightforward question. All my RE has been limited to x86/x64 windows applications using the usual tools IDA and/or X64Dbg.

Now my question is, what is the best way to go about reverse-engineering Plugins for Intellij?

There are several Plugins I would like to modify, many have 30 Day-Trials for example and I can imagine there are possibilities there.

Im really not sure how to go about doing this. Do I need some sort of decompiler? Since the plugins run through Intellij this could be an additional barrier.

I will say sorry in advance if this is a beginners question

Many thanks
Reply With Quote
  #2  
Old 11-25-2020, 20:09
byte23 byte23 is offline
Friend
 
Join Date: Jul 2020
Posts: 22
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 22
Thanks Rcvd at 11 Times in 8 Posts
byte23 Reputation: 0
No one? Really not looking for a complete step by step but rather general overview of which tools are needed for java programs (even more so plugins of one)
Reply With Quote
  #3  
Old 11-26-2020, 00:04
chessgod101's Avatar
chessgod101 chessgod101 is offline
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 535
Rept. Given: 2,218
Rept. Rcvd 691 Times in 219 Posts
Thanks Given: 700
Thanks Rcvd at 939 Times in 186 Posts
chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699
If these plugins are coded in java, tools such as ByteCode Viewer, jd-gui, and DJ Java Decompiler are great for decompiling the code. If you need to modify it, tools such as Java Bytecode Editor(JBE or CJBE), DirtyJoe, or ReCaf can help you change byte code instructions.
It is fair to note that I have never used Intellij or any of its plugins, as I generally use Netbeans and Eclipse for the rare instance that I need to code in java, so I am commenting somewhat generically/hypothetically.
__________________
"As the island of our knowledge grows, so does the shore of our ignorance." John Wheeler
Reply With Quote
The Following 2 Users Say Thank You to chessgod101 For This Useful Post:
byte23 (11-26-2020), tonyweb (12-04-2020)
  #4  
Old 12-04-2020, 06:03
virus virus is offline
Friend
 
Join Date: Apr 2002
Posts: 55
Rept. Given: 3
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 17
Thanks Rcvd at 17 Times in 11 Posts
virus Reputation: 2
I would add "CFR - another java decompiler" to chessgod101's list. You'll probably need some deobfuscator (like hxxps://github.com/java-deobfuscator/deobfuscator) too.
Reply With Quote
The Following 2 Users Say Thank You to virus For This Useful Post:
byte23 (12-07-2020), tonyweb (12-04-2020)
  #5  
Old 12-07-2020, 17:56
CryptXor CryptXor is offline
Friend
 
Join Date: Oct 2015
Posts: 68
Rept. Given: 0
Rept. Rcvd 24 Times in 12 Posts
Thanks Given: 34
Thanks Rcvd at 131 Times in 39 Posts
CryptXor Reputation: 24
Quote:
Originally Posted by chessgod101 View Post
If these plugins are coded in java, tools such as ByteCode Viewer, jd-gui, and DJ Java Decompiler are great for decompiling the code. If you need to modify it, tools such as Java Bytecode Editor(JBE or CJBE), DirtyJoe, or ReCaf can help you change byte code instructions.
It is fair to note that I have never used Intellij or any of its plugins, as I generally use Netbeans and Eclipse for the rare instance that I need to code in java, so I am commenting somewhat generically/hypothetically.
ByteCode Viewer is sort of an AIO Java RE tool in that regard, and it infact includes the JD-GUI core as one of its decompilers. Its my go-to for anything Java related.

Something chessgod101 missed is a decent deobfuscator, since a lot of java is obfuscated: https://github.com/java-deobfuscator/deobfuscator

As far as reversing intellij plugins go, there are a few ways you can go about it, but generally just trace from the entry point (Main()) and you will very quickly find the licensing code you are wanting to modify.
Reply With Quote
The Following User Says Thank You to CryptXor For This Useful Post:
byte23 (12-07-2020)
  #6  
Old 12-15-2020, 08:21
alexei alexei is offline
Friend
 
Join Date: Jan 2017
Posts: 13
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 12
Thanks Rcvd at 3 Times in 3 Posts
alexei Reputation: 0
Quote:
Originally Posted by byte23 View Post
Hello fellow Enthusiasts,

I want to ask a very straightforward question. All my RE has been limited to x86/x64 windows applications using the usual tools IDA and/or X64Dbg.

Now my question is, what is the best way to go about reverse-engineering Plugins for Intellij?

There are several Plugins I would like to modify, many have 30 Day-Trials for example and I can imagine there are possibilities there.

Im really not sure how to go about doing this. Do I need some sort of decompiler? Since the plugins run through Intellij this could be an additional barrier.

I will say sorry in advance if this is a beginners question

Many thanks
These are the repos I commonly use:
https://github.com/TerriblePanda/JByteMod-Reborn
https://github.com/GraxCode/threadtear
https://github.com/java-deobfuscator/deobfuscator

they have their various strengths. DM if you need further resource(s).
Reply With Quote
The Following User Says Thank You to alexei For This Useful Post:
byte23 (12-17-2020)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 07:31.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )