Skip to content

farrokhi/SSHScan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 

Repository files navigation

SSHScan

SSHScan is an remote auditing tool that enumerates SSH Ciphers. It can also helps identify if any weak ciphers are enabled.

Usage

Note: SSHScan requires Python 3 and has no dependency on third-party packages.

Installation:

git clone https://github.com/farrokhi/SSHScan

Usage:

./sshscan.py host.example.com:22

Sample output:

% ./sshscan.py  sdf.org

[*] Initiating scan for sdf.org on port 22
[*] Connected to sdf.org on port 22...
    [+] Target SSH version is: SSH-2.0-OpenSSH_8.0
    [+] Retrieving ciphers...
    [+] Detected ciphers:
          aes128-ctr                           aes256-ctr
          [email protected]               [email protected]
          aes192-ctr                           [email protected]
    [+] Detected KEX algorithms:
          curve25519-sha256                    diffie-hellman-group16-sha512
          [email protected]         diffie-hellman-group18-sha512
          diffie-hellman-group-exchange-sha256 ecdh-sha2-nistp256
          diffie-hellman-group14-sha1          ecdh-sha2-nistp384
          diffie-hellman-group14-sha256        ecdh-sha2-nistp521
    [+] Detected MACs:
          hmac-sha1                            [email protected]
          [email protected]            [email protected]
          hmac-sha2-256                        [email protected]
          [email protected]        [email protected]
          hmac-sha2-512                        [email protected]
    [+] Detected HostKey algorithms:
          rsa-sha2-256                         ssh-ed25519
          rsa-sha2-512                         ssh-rsa
    [-] No weak ciphers detected!
    [+] Detected weak KEX algorithms:
          diffie-hellman-group14-sha1          ecdh-sha2-nistp384
          ecdh-sha2-nistp256                   ecdh-sha2-nistp521
    [+] Detected weak MACs:
          hmac-sha1                            [email protected]
          [email protected]            [email protected]
    [-] No weak HostKey algorithms detected!
    [-] Compression is *not* enabled

This is originally based on https://github.com/evict/SSHScan

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%