Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
/ jre-side-channel Public archive

Various JRE patches to aid side-channel analysis in Java

Notifications You must be signed in to change notification settings

ViRb3/jre-side-channel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Java Side-channel Patches

Various patches to aid side-channel analysis in Java.

Introduction

When analyzing Java programs, you will occasionally encounter very highly obfuscated or otherwise protected JARs. Removing those protections can be very time-consuming, and may not even be a requirement for the purpose of your analysis. Using Java's open nature, we can re-write its runtime - the JRE, to intercept and/or modify APIs of interest.

This project includes some of the most common changes you will want to do to a JRE to extract useful information.

Notes

  • If the JARs you edit are signed, the JVM will refuse to start
  • These changes are made for Amazon Corretto 8. They may not work on another JRE version or distribution.

Features

  • Crypto dumper (%USERNAME%/Desktop/hey/dump/)
  • RuntimeMXBean.getInputArguments bypass for Java agents

Usage

Use Recaf to compile the classes and replace the originals in jre8/lib/jce.jar and rt.jar.

About

Various JRE patches to aid side-channel analysis in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages