8000 Added the tunnel variable from the nmap results to be used in CascadingRules. by luckolen · Pull Request #369 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scanners/nmap/parser/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function transformToFindings(hosts) {
serviceProduct: openPort.serviceProduct || null,
serviceVersion: openPort.serviceVersion || null,
scripts: openPort.scriptOutputs || null,
tunnel: openPort.tunnel || null,
},
};
});
Expand Down
9 changes: 9 additions & 0 deletions scanners/sslyze/cascading-rules/ftps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ spec:
attributes:
port: 990
state: open
- category: "Open Port"
attributes:
service: "ftps"
state: open
- category: "Open Port"
attributes:
service: "ftp"
tunnel: "ssl"
state: open
scanSpec:
scanType: "sslyze"
parameters: ["--regular", "{{$.hostOrIP}}:{{attributes.port}}"]
Expand Down
5 changes: 3 additions & 2 deletions scanners/sslyze/cascading-rules/https.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ spec:
state: open
- category: "Open Port"
attributes:
service: "ssl/http"
state: open
service: "http"
tunnel: "ssl"
state: "open"
scanSpec:
scanType: "sslyze"
parameters: ["--regular", "{{$.hostOrIP}}:{{attributes.port}}"]
4 changes: 4 additions & 0 deletions scanners/sslyze/cascading-rules/ldaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ spec:
attributes:
port: 636
state: open
- category: "Open Port"
attributes:
service: "ldapssl"
state: open
scanSpec:
scanType: "sslyze"
parameters: ["--regular", "{{$.hostOrIP}}:{{attributes.port}}"]
Expand Down
15 changes: 15 additions & 0 deletions scanners/sslyze/cascading-rules/mail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ spec:
attributes:
service: "smtps"
state: open
- category: "Open Port"
attributes:
service: "smtp"
tunnel: "ssl"
state: open
scanSpec:
scanType: "sslyze"
parameters: ["--regular", "{{$.hostOrIP}}:{{attributes.port}}"]
Expand All @@ -38,6 +43,11 @@ spec:
attributes:
service: "pop3s"
state: open
- category: "Open Port"
attributes:
service: "pop3"
tunnel: "ssl"
state: open
scanSpec:
scanType: "sslyze"
parameters: ["--regular", "{{$.hostOrIP}}:{{attributes.port}}"]
Expand All @@ -60,6 +70,11 @@ spec:
attributes:
service: "imaps"
state: open
- category: "Open Port"
attributes:
service: "imap"
tunnel: "ssl"
state: open
scanSpec:
scanType: "sslyze"
parameters: ["--regular", "{{$.hostOrIP}}:{{attributes.port}}"]
0