Skip to content

Commit 560f448

Browse files
committed
Fix classification cast list to string
1 parent 40ec86a commit 560f448

5 files changed

Lines changed: 15 additions & 23 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ taxonomy/scenario_taxonomy_errors.md
2727

2828
workspace.code-workspace
2929
.cache
30+
runtime/
3031

3132
waf-check/dataset/*
3233
waf-check/output/*

parsers/s01-parse/crowdsecurity/synology-dsm-logs.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ grok:
1818
statics:
1919
- meta: log_type
2020
value: synology-dsm_failed_auth
21-
statics:
22-
- meta: log_type
23-
value: synology-dsm_failed_auth
24-
- meta: service
25-
value: synology-dsm
26-
- meta: source_ip
27-
expression: "evt.Parsed.src_ip"
21+
- meta: service
22+
value: synology-dsm
23+
- meta: source_ip
24+
expression: "evt.Parsed.src_ip"

scenarios/crowdsecurity/ssh-bf.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ name: crowdsecurity/ssh-bf
44
description: "Detect ssh bruteforce"
55
filter: "evt.Meta.log_type == 'ssh_failed-auth'"
66
leakspeed: "10s"
7-
references:
8-
- http://wikipedia.com/ssh-bf-is-bad
97
capacity: 5
108
groupby: evt.Meta.source_ip
119
blackhole: 1m
@@ -14,8 +12,7 @@ labels:
1412
service: ssh
1513
confidence: 3
1614
spoofable: 0
17-
classification:
18-
- attack.T1110
15+
classification: "attack.T1110"
1916
label: "SSH Bruteforce"
2017
behavior: "ssh:bruteforce"
2118
remediation: true
@@ -35,7 +32,6 @@ labels:
3532
remediation: true
3633
confidence: 3
3734
spoofable: 0
38-
classification:
39-
- attack.T1589
35+
classification: "attack.T1589"
4036
behavior: "ssh:bruteforce"
4137
label: "SSH User Enumeration"

scenarios/crowdsecurity/synology-dsm-bf-slow-1h.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ labels:
1313
remediation: true
1414
confidence: 3
1515
spoofable: 0
16-
classification:
17-
- attack.T1110
16+
classification: "attack.T1110"
1817
behavior: "http:bruteforce"
1918
label: "Synology DSM Bruteforce"

scenarios/crowdsecurity/synology-dsm-bf.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ groupby: evt.Meta.source_ip
99
blackhole: 1m
1010
reprocess: true
1111
labels:
12-
service: synology_dsm
13-
remediation: true
14-
confidence: 3
15-
spoofable: 0
16-
classification:
17-
- attack.T1110
18-
behavior: "http:bruteforce"
19-
label: "Synology DSM Bruteforce"
12+
service: synology_dsm
13+
remediation: true
14+
confidence: 3
15+
spoofable: 0
16+
classification: "attack.T1110"
17+
behavior: "http:bruteforce"
18+
label: "Synology DSM Bruteforce"

0 commit comments

Comments
 (0)