Files
nuclei-templates/javascript/enumeration/ssh-diffie-hellman-logjam.yaml
2023-11-29 19:42:02 +00:00

36 lines
1.1 KiB
YAML

id: ssh-diffie-hellman-logjam
info:
name: SSH Diffie-Hellman Modulus <= 1024 Bits
author: pussycat0x
severity: low
description: |
SSH weak algorithms are outdated cryptographic methods that pose security risks. Identifying and disabling these vulnerable algorithms is crucial for enhancing the overall security of SSH connections.
reference:
- https://access.redhat.com/solutions/4278651
metadata:
verified: true
shodan-query: product:"OpenSSH"
tags: javascript,ssh,misconfig,network
javascript:
- code: |
let m = require("nuclei/ssh");
let c = m.SSHClient();
let response = c.ConnectSSHInfoMode(Host, Port);
to_json(response);
args:
Host: "{{Host}}"
Port: "22"
matchers-condition: and
matchers:
- type: word
words:
- "kex_algorithms"
- type: word
words:
- "diffie-hellman-group1-sha1"
# digest: 490a004630440220384a32fbd95b3542710087444718246de0f7e6226e5b4994998c4b3d17b2fc650220587a39c3817c1d3aa4a87d05efe2274312da1ee8598ee5053d2a6ae971813354:922c64590222798bb761d5b6d8e72950