Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
ViRb3 committed Jul 1, 2020
1 parent 898e338 commit a6f4bbb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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](https://github.com/corretto/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](https://github.com/Col-E/Recaf) to compile the classes and replace the originals in `jre8/lib/jce.jar` and `rt.jar`.

0 comments on commit a6f4bbb

Please sign in to comment.