mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-04 14:02:13 +00:00
tweak logstash.conf for citrixhoneypot
This commit is contained in:
parent
a6ed6613a5
commit
1d0aad3b34
1 changed files with 8 additions and 6 deletions
14
docker/elk/logstash/dist/logstash.conf
vendored
14
docker/elk/logstash/dist/logstash.conf
vendored
|
@ -217,10 +217,10 @@ filter {
|
||||||
if [type] == "CitrixHoneypot" {
|
if [type] == "CitrixHoneypot" {
|
||||||
grok {
|
grok {
|
||||||
match => {
|
match => {
|
||||||
"message" => [ "\A\(%{IPV4:src_ip}:%{INT:src_port:integer}\): %{JAVAMETHOD:method}%{SPACE}%{CISCO_REASON:fileinfo.state}: %{UNIXPATH:filename}",
|
"message" => [ "\A\(%{IPV4:src_ip:string}:%{INT:src_port:integer}\): %{JAVAMETHOD:http.http_method:string}%{SPACE}%{CISCO_REASON:fileinfo.state:string}: %{UNIXPATH:fileinfo.filename:string}",
|
||||||
"\A\(%{IPV4:src_ip}:%{INT:src_port:integer}\): %{JAVAMETHOD:method}%{SPACE}%{CISCO_REASON:fileinfo.state}: %{GREEDYDATA:payload}",
|
"\A\(%{IPV4:src_ip:string}:%{INT:src_port:integer}\): %{JAVAMETHOD:http.http_method:string}%{SPACE}%{CISCO_REASON:fileinfo.state:string}: %{GREEDYDATA:payload:string}",
|
||||||
"\A\(%{IPV4:src_ip}:%{INT:src_port:integer}\): %{S3_REQUEST_LINE:msg} %{CISCO_REASON:filename.state}: %{GREEDYDATA:payload}",
|
"\A\(%{IPV4:src_ip:string}:%{INT:src_port:integer}\): %{S3_REQUEST_LINE:msg:string} %{CISCO_REASON:fileinfo.state:string}: %{GREEDYDATA:payload:string:string}",
|
||||||
"\A\(%{IPV4:src_ip}:%{INT:src_port:integer}\): %{GREEDYDATA:msg}" ]
|
"\A\(%{IPV4:src_ip:string}:%{INT:src_port:integer}\): %{GREEDYDATA:msg:string}" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
date {
|
date {
|
||||||
|
@ -231,11 +231,13 @@ filter {
|
||||||
mutate {
|
mutate {
|
||||||
add_field => {
|
add_field => {
|
||||||
"dest_port" => "443"
|
"dest_port" => "443"
|
||||||
|
}
|
||||||
|
rename => {
|
||||||
|
"levelname" => "level"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Conpot
|
# Conpot
|
||||||
if [type] == "ConPot" {
|
if [type] == "ConPot" {
|
||||||
date {
|
date {
|
||||||
|
|
Loading…
Reference in a new issue