Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 6b6e1a2

Browse files
committed
#33 Ensure ports across Cascading Rules are open
1 parent 80bbb4e commit 6b6e1a2

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

scanners/nmap/cascading-rules/smb.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ spec:
1111
- category: "Open Port"
1212
attributes:
1313
port: 445
14+
state: open
1415
- category: "Open Port"
1516
attributes:
1617
service: "microsoft-ds"
18+
state: open
1719
- category: "Open Port"
1820
attributes:
1921
service: "netbios-ssn"
22+
state: open
2023
scanSpec:
2124
scanType: "nmap"
2225
parameters:

scanners/ssh_scan/cascading-rules/ssh.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ spec:
1111
- category: "Open Port"
1212
attributes:
1313
port: 22
14+
state: open
1415
- category: "Open Port"
1516
attributes:
1617
service: "ssh"
18+
state: open
1719
scanSpec:
1820
scanType: "ssh-scan"
1921
parameters:

scanners/sslyze/cascading-rules/https.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ spec:
1111
- category: "Open Port"
1212
attributes:
1313
port: 443
14+
state: open
1415
- category: "Open Port"
1516
attributes:
1617
service: "https"
18+
state: open
1719
scanSpec:
1820
scanType: "sslyze"
1921
parameters: ["--regular", "{{attributes.hostname}}:{{attributes.port}}"]

scanners/sslyze/cascading-rules/mail.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ spec:
1111
- category: "Open Port"
1212
attributes:
1313
port: 465
14+
state: open
1415
- category: "Open Port"
1516
attributes:
1617
service: "smtps"
18+
state: open
1719
scanSpec:
1820
scanType: "sslyze"
1921
parameters: ["--regular", "{{attributes.hostname}}:{{attributes.port}}"]
@@ -31,9 +33,11 @@ spec:
3133
- category: "Open Port"
3234
attributes:
3335
port: 995
36+
state: open
3437
- category: "Open Port"
3538
attributes:
3639
service: "pop3s"
40+
state: open
3741
scanSpec:
3842
scanType: "sslyze"
3943
parameters: ["--regular", "{{attributes.hostname}}:{{attributes.port}}"]
@@ -51,9 +55,11 @@ spec:
5155
- category: "Open Port"
5256
attributes:
5357
port: 993
58+
state: open
5459
- category: "Open Port"
5560
attributes:
5661
service: "imaps"
62+
state: open
5763
scanSpec:
5864
scanType: "sslyze"
5965
parameters: ["--regular", "{{attributes.hostname}}:{{attributes.port}}"]

scanners/zap/cascading-rules/http.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ spec:
1010
anyOf:
1111
- category: "Open Port"
1212
attributes:
13-
service: "http"
13+
service: http
14+
state: open
1415
- category: "Open Port"
1516
attributes:
16-
service: "https"
17+
service: https
18+
state: open
1719
scanSpec:
1820
scanType: "zap-baseline"
1921
parameters: ["-t", "{{attributes.service}}://{{attributes.hostname}}"]

0 commit comments

Comments
 (0)