mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
tweaking, bump elastic stack to 7.14.1, rebuild dashboards
This commit is contained in:
parent
00457b8b70
commit
9de1bdd0b5
7 changed files with 22 additions and 7 deletions
|
@ -16,7 +16,7 @@ services:
|
||||||
- "19:19/udp"
|
- "19:19/udp"
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
- "123:123/udp"
|
- "123:123/udp"
|
||||||
- "161:161/udp"
|
# - "161:161/udp"
|
||||||
- "1900:1900/udp"
|
- "1900:1900/udp"
|
||||||
image: "dtagdevsec/ddospot:2006"
|
image: "dtagdevsec/ddospot:2006"
|
||||||
read_only: true
|
read_only: true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM alpine:3.14
|
FROM alpine:3.14
|
||||||
#
|
#
|
||||||
# VARS
|
# VARS
|
||||||
ENV ES_VER=7.13.4 \
|
ENV ES_VER=7.14.1 \
|
||||||
ES_JAVA_HOME=/usr/lib/jvm/java-16-openjdk
|
ES_JAVA_HOME=/usr/lib/jvm/java-16-openjdk
|
||||||
|
|
||||||
# Include dist
|
# Include dist
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM node:14.17.2-alpine
|
FROM node:14.17.5-alpine3.14
|
||||||
#
|
#
|
||||||
# VARS
|
# VARS
|
||||||
ENV KB_VER=7.13.4
|
ENV KB_VER=7.14.1
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM alpine:3.14
|
FROM alpine:3.14
|
||||||
#
|
#
|
||||||
# VARS
|
# VARS
|
||||||
ENV LS_VER=7.13.4
|
ENV LS_VER=7.14.1
|
||||||
# Include dist
|
# Include dist
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
#
|
#
|
||||||
|
|
19
docker/elk/logstash/dist/logstash.conf
vendored
19
docker/elk/logstash/dist/logstash.conf
vendored
|
@ -314,6 +314,14 @@ filter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Ddospot
|
||||||
|
if [type] == "Ddospot" {
|
||||||
|
date {
|
||||||
|
match => [ "time", "yyyy-MM-dd HH:mm:ss.SSSSSS" ]
|
||||||
|
remove_field => ["time"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Dionaea
|
# Dionaea
|
||||||
if [type] == "Dionaea" {
|
if [type] == "Dionaea" {
|
||||||
date {
|
date {
|
||||||
|
@ -534,18 +542,20 @@ filter {
|
||||||
|
|
||||||
# Drop if parse fails
|
# Drop if parse fails
|
||||||
if "_grokparsefailure" in [tags] { drop {} }
|
if "_grokparsefailure" in [tags] { drop {} }
|
||||||
|
if "_jsonparsefailure" in [tags] { drop {} }
|
||||||
|
|
||||||
|
|
||||||
# Add geo coordinates / ASN info / IP rep.
|
# Add geo coordinates / ASN info / IP rep.
|
||||||
if [src_ip] {
|
if [src_ip] {
|
||||||
geoip {
|
geoip {
|
||||||
cache_size => 10000
|
cache_size => 10000
|
||||||
source => "src_ip"
|
source => "src_ip"
|
||||||
database => "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-geoip-7.1.3-java/vendor/GeoLite2-City.mmdb"
|
database => "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-geoip-7.2.2-java/vendor/GeoLite2-City.mmdb"
|
||||||
}
|
}
|
||||||
geoip {
|
geoip {
|
||||||
cache_size => 10000
|
cache_size => 10000
|
||||||
source => "src_ip"
|
source => "src_ip"
|
||||||
database => "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-geoip-7.1.3-java/vendor/GeoLite2-ASN.mmdb"
|
database => "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-geoip-7.2.2-java/vendor/GeoLite2-ASN.mmdb"
|
||||||
}
|
}
|
||||||
translate {
|
translate {
|
||||||
refresh_interval => 86400
|
refresh_interval => 86400
|
||||||
|
@ -576,6 +586,11 @@ if "_grokparsefailure" in [tags] { drop {} }
|
||||||
convert => { "id" => "string" }
|
convert => { "id" => "string" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if [request] {
|
||||||
|
mutate {
|
||||||
|
convert => { "request" => "string" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Add T-Pot hostname and external IP
|
# Add T-Pot hostname and external IP
|
||||||
# if [type] == "Adbhoney" or [type] == "Ciscoasa" or [type] == "CitrixHoneypot" or [type] == "ConPot" or [type] == "Cowrie" or [type] == "Dicompot" or [type] == "Dionaea" or [type] == "ElasticPot" or [type] == "Fatt" or [type] == "Glutton" or [type] == "Honeysap" or [type] == "Honeytrap" or [type] == "Heralding" or [type] == "Honeypy" or [type] == "Ipphoney" or [type] == "Mailoney" or [type] == "Medpot" or [type] == "P0f" or [type] == "Rdpy" or [type] == "Suricata" or [type] == "Tanner" {
|
# if [type] == "Adbhoney" or [type] == "Ciscoasa" or [type] == "CitrixHoneypot" or [type] == "ConPot" or [type] == "Cowrie" or [type] == "Dicompot" or [type] == "Dionaea" or [type] == "ElasticPot" or [type] == "Fatt" or [type] == "Glutton" or [type] == "Honeysap" or [type] == "Honeytrap" or [type] == "Heralding" or [type] == "Honeypy" or [type] == "Ipphoney" or [type] == "Mailoney" or [type] == "Medpot" or [type] == "P0f" or [type] == "Rdpy" or [type] == "Suricata" or [type] == "Tanner" {
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue