mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Add go-pot honeypot
This commit is contained in:
17
docker/elk/logstash/dist/http_output.conf
vendored
17
docker/elk/logstash/dist/http_output.conf
vendored
@ -113,6 +113,13 @@ input {
|
||||
type => "Glutton"
|
||||
}
|
||||
|
||||
# Go-pot
|
||||
file {
|
||||
path => ["/data/go-pot/log/go-pot.json"]
|
||||
codec => json
|
||||
type => "Go-pot"
|
||||
}
|
||||
|
||||
# Hellpot
|
||||
file {
|
||||
path => ["/data/hellpot/log/hellpot.log"]
|
||||
@ -482,6 +489,16 @@ filter {
|
||||
}
|
||||
}
|
||||
|
||||
# Go-pot
|
||||
if [type] == "Go-pot" {
|
||||
if ! [dest_port] {
|
||||
drop {}
|
||||
}
|
||||
date {
|
||||
match => [ "timestamp", "ISO8601" ]
|
||||
}
|
||||
}
|
||||
|
||||
# Hellpot
|
||||
if [type] == "Hellpot" {
|
||||
date {
|
||||
|
17
docker/elk/logstash/dist/logstash.conf
vendored
17
docker/elk/logstash/dist/logstash.conf
vendored
@ -113,6 +113,13 @@ input {
|
||||
type => "Glutton"
|
||||
}
|
||||
|
||||
# Go-pot
|
||||
file {
|
||||
path => ["/data/go-pot/log/go-pot.json"]
|
||||
codec => json
|
||||
type => "Go-pot"
|
||||
}
|
||||
|
||||
# Hellpot
|
||||
file {
|
||||
path => ["/data/hellpot/log/hellpot.log"]
|
||||
@ -474,6 +481,16 @@ filter {
|
||||
}
|
||||
}
|
||||
|
||||
# Go-pot
|
||||
if [type] == "Go-pot" {
|
||||
if ! [dest_port] {
|
||||
drop {}
|
||||
}
|
||||
date {
|
||||
match => [ "timestamp", "ISO8601" ]
|
||||
}
|
||||
}
|
||||
|
||||
# Glutton
|
||||
if [type] == "Glutton" {
|
||||
date {
|
||||
|
@ -13,7 +13,7 @@ RUN apk --no-cache -U add \
|
||||
# Install from GitHub and setup
|
||||
mkdir -p /opt && \
|
||||
cd /opt/ && \
|
||||
git clone https://github.com/t3chn0m4g3/t-pot-attack-map -b 2.2.2 && \
|
||||
git clone https://github.com/t3chn0m4g3/t-pot-attack-map -b 2.2.3 && \
|
||||
cd t-pot-attack-map && \
|
||||
pip3 install --break-system-packages --upgrade pip && \
|
||||
pip3 install --break-system-packages -r requirements.txt && \
|
||||
|
Reference in New Issue
Block a user