Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
waderwu committed Sep 5, 2020
1 parent e91dce4 commit 98df9d3
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,63 @@
# attackRmi

This project uses the socket to send packets directly to attack rmi. The following jdk version refers to the version of openjdk

The following methods attack rmi by deserialization, so the following 6 attack methods require the local classpath to contain gadgets

## AttackRegistryByBindAndAnnotationInvocationHandler

This is actually the RMIRegistryExploit of ysoserial.

condition:

- <jdk8u121

https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/75f31e0bd829/

## AttackRegistryByDGC

condition:

- <jdk8u121

https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/75f31e0bd829/

## AttackRegistryByLookup

condition:

- <jdk8u121

https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/75f31e0bd829/

## AttackRegistryByLookupAndUnicastRef

condition:

- <jdk8u232

https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/523d48606333/

## AttackRegistryByLookupAndUnicastRefRemoteObject

condition:

- <jdk8u242

https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/033462472c28

## AttackServerByNonPrimitiveParameter

condition:

- <jdk8u242
-Types other than primitive tyep can be used
- \>= jdk8u242
-Types other than primitive type and String can be used

https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/033462472c28
https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/033462472c28

## TODO

- [ ] attackRMI.jar
- [ ] brute force gadget

0 comments on commit 98df9d3

Please sign in to comment.