SSH Weak Algorithms Supported

patch-1
pussycat0x 2023-11-14 01:22:02 +05:30 committed by GitHub
parent e7cff3faae
commit ac8bf9da3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: ssh-weak-algo-supported
info:
name: SSH Weak Algorithms Supported
author: pussycat0x
severity: medium
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://www.tenable.com/plugins/nessus/90317
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:
- "client_to_server_ciphers"
- "server_to_client_ciphers"
condition: and
- type: word
words:
- "arcfour"
- "arcfour128"
- "arcfour256"
condition: or