Skip to content

Commit

Permalink
Added filebeat configuration for Havoc C2 logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dazzyddos committed Jul 27, 2024
1 parent 05bc692 commit f9e93f2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions c2servers/filebeat/inputs.d/filebeat_havoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
max_lines: 500
fields:
infra:
attack_scenario: @@ATTACKSCENARIO@@
attack_scenario: shorthaul
log:
type: rtops
c2:
Expand All @@ -31,17 +31,17 @@
fields_under_root: true
fields:
infra:
attack_scenario: @@ATTACKSCENARIO@@
log:
type: rtops
attack_scenario: shorthaul
log:
type: rtops
c2:
program: havoc
log:
type: teamserver
multiline:
pattern: '^\[\d{2}:\d{2}:\d{2}\]'
negate: false
match: pattern
negate: true
match: after
processors:
- dissect:
tokenizer: '[%{timestamp}] [%{log_level}] %{message}'
Expand All @@ -52,7 +52,7 @@
not:
or:
- regexp:
teamserver.message: "User .*"
teamserver.message: "User *"
- regexp:
teamserver.message: "Started .* listener.*"
teamserver.message: "Started .* listener*"

0 comments on commit f9e93f2

Please sign in to comment.