Java Remote Management Interface (RMI) Penetration Testing
Tools installation
1) Clone the rmg project and download ysoserial
git clone https://github.com/qtc-de/remote-method-guesser
wget https://github.com/frohoff/ysoserial/releases/download/v0.0.6/ysoserial-all.jar2) Before building the tool, set your downloaded ysoserial-all.jar file path in the configuration file of the rmg tool as shown below
nano remote-method-guesser/src/config.propertiesYSO = /home/kaiser/Desktop/NetworkProtocols/ysoserial-all.jar3) Build solution
cd remote-method-guesser
mvn packageUsage
1) Enumerate potential low-hanging fruit vulnerabilities
2) Brute force remote methods
3) Upon identifying remote methods, you can perform attacks to compromise the target.
Last updated