Create ssh-known-hosts.yaml

patch-1
Geeknik Labs 2021-04-16 15:20:45 +00:00 committed by GitHub
parent 101051cb21
commit 15c7ef6d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: ssh-known-hosts
info:
name: SSH Known Hosts
author: geeknik
reference: https://datacadamia.com/ssh/known_hosts
severity: low
tags: config,exposure,ssh
requests:
- method: GET
path:
- "{{BaseURL}}/.ssh/known_hosts"
- "{{BaseURL}}/.ssh/known_hosts.old"
matchers-condition: and
matchers:
- type: word
words:
- "ssh-dss"
- "ssh-ed25519"
- "ssh-rsa"
- "ecdsa-sha2-nistp256"
condition: or
- type: status
status:
- 200