mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
include tanner patterns, tweaking
This commit is contained in:
21
docker/elk/logstash/dist/logstash.conf
vendored
21
docker/elk/logstash/dist/logstash.conf
vendored
@ -395,6 +395,15 @@ filter {
|
||||
date {
|
||||
match => [ "timestamp", "ISO8601" ]
|
||||
}
|
||||
mutate {
|
||||
rename => {
|
||||
"[peer][ip]" => "src_ip"
|
||||
"[peer][port]" => "src_port"
|
||||
}
|
||||
add_field => {
|
||||
"dest_port" => "80"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Vnclowpot
|
||||
@ -449,7 +458,7 @@ if "_grokparsefailure" in [tags] { drop {} }
|
||||
}
|
||||
|
||||
# Add T-Pot hostname and external IP
|
||||
if [type] == "Ciscoasa" or [type] == "ConPot" or [type] == "Cowrie" or [type] == "Dionaea" or [type] == "ElasticPot" or [type] == "eMobility" or [type] == "Glastopf" or [type] == "Honeytrap" or [type] == "Heralding" or [type] == "Mailoney" or [type] == "Rdpy" or [type] == "Suricata" or [type] == "Vnclowpot" {
|
||||
if [type] == "Ciscoasa" or [type] == "ConPot" or [type] == "Cowrie" or [type] == "Dionaea" or [type] == "ElasticPot" or [type] == "eMobility" or [type] == "Glastopf" or [type] == "Honeytrap" or [type] == "Heralding" or [type] == "Mailoney" or [type] == "Rdpy" or [type] == "Suricata" or [type] == "Tanner" or [type] == "Vnclowpot" {
|
||||
mutate {
|
||||
add_field => {
|
||||
"t-pot_ip_ext" => "${MY_EXTIP}"
|
||||
@ -475,11 +484,11 @@ output {
|
||||
}
|
||||
}
|
||||
# Debug output
|
||||
#if [type] == "XYZ" {
|
||||
# stdout {
|
||||
# codec => rubydebug
|
||||
# }
|
||||
#}
|
||||
if [type] == "Tanner" {
|
||||
stdout {
|
||||
codec => rubydebug
|
||||
}
|
||||
}
|
||||
# Debug output
|
||||
#stdout {
|
||||
# codec => rubydebug
|
||||
|
Binary file not shown.
8
etc/objects/index_patterns.json
Normal file
8
etc/objects/index_patterns.json
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user