Minecraft Honeypot for Log4j exploit. CVE-2021-44228 Log4Shell LogJam# Minecraft Log4j Honeypot
This honeypots runs fake Minecraft server (1.7.2 - 1.16.5 without snapshots) waiting to be exploited. Payload classes are saved to `payloads/` directory.
## Requirements
- Golang 1.16+
## Running
### Natively
```
git clone https://github.com/Adikso/minecraft-log4j-honeypot.git
cd minecraft-log4j-honeypot
go build .
./minecraft-log4j-honeypot
```
### Using docker
```
mkdir payloads
docker run --rm -it --mount type=bind,source="${PWD}/payloads",target=/payloads --user=`id -u` -p 25565:25565 adikso/minecraft-log4j-honeypot:latest
```
[4.0K] /data/pocs/d61c0f9aa82234c1bf05493aa0152e17f5bd690e
├── [ 454] Dockerfile
├── [4.0K] extractor
│ ├── [2.7K] fetcher.go
│ └── [ 477] finder.go
├── [ 273] go.mod
├── [1.4K] go.sum
├── [1.0K] LICENSE
├── [ 975] main.go
├── [4.0K] minecraft
│ ├── [ 634] DimensionCodec2.snbt
│ ├── [ 73K] DimensionCodec.snbt
│ ├── [ 320] Dimension.snbt
│ ├── [ 11K] server.go
│ └── [2.3K] status.go
└── [ 569] README.md
2 directories, 13 files