Skip to content

Instantly share code, notes, and snippets.

@bdmorin
Last active April 23, 2024 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdmorin/c85a4b3d2255069359f227c1af34956a to your computer and use it in GitHub Desktop.
Save bdmorin/c85a4b3d2255069359f227c1af34956a to your computer and use it in GitHub Desktop.
vizio fuckery
> ssh-audit 10.0.0.74
# general
(gen) banner: SSH-2.0-dropbear_2016.74
(gen) software: Dropbear SSH 2016.74
(gen) compatibility: OpenSSH 7.3+ (some functionality from 6.6), Dropbear SSH 2016.73+ (some functionality from 2014.66)
(gen) compression: disabled

# security
(cve) CVE-2018-15599                 -- (CVSSv2: 5.0) remote users may enumerate users on the system
(cve) CVE-2017-9079                  -- (CVSSv2: 4.7) local users can read certain files as root
(cve) CVE-2017-9078                  -- (CVSSv2: 9.3) local users may elevate privileges to root under certain conditions

# key exchange algorithms
(kex) curve25519-sha256@libssh.org   -- [info] available since OpenSSH 6.5, Dropbear SSH 2013.62
(kex) ecdh-sha2-nistp521             -- [fail] using weak elliptic curves
                                     `- [info] available since OpenSSH 5.7, Dropbear SSH 2013.62
(kex) ecdh-sha2-nistp384             -- [fail] using weak elliptic curves
                                     `- [info] available since OpenSSH 5.7, Dropbear SSH 2013.62
(kex) ecdh-sha2-nistp256             -- [fail] using weak elliptic curves
                                     `- [info] available since OpenSSH 5.7, Dropbear SSH 2013.62
(kex) diffie-hellman-group14-sha1    -- [warn] using weak hashing algorithm
                                     `- [info] available since OpenSSH 3.9, Dropbear SSH 0.53
(kex) diffie-hellman-group14-sha256  -- [info] available since OpenSSH 7.3, Dropbear SSH 2016.73
(kex) diffie-hellman-group1-sha1     -- [fail] using small 1024-bit modulus
                                     `- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
                                     `- [fail] disabled (in client) since OpenSSH 7.0, logjam attack
                                     `- [warn] using weak hashing algorithm
                                     `- [info] available since OpenSSH 2.3.0, Dropbear SSH 0.28
(kex) kexguess2@matt.ucc.asn.au      -- [info] available since Dropbear SSH 2013.57

# host-key algorithms
(key) ssh-rsa (1040-bit)             -- [fail] using weak hashing algorithm
                                     `- [fail] using small 1040-bit modulus
                                     `- [info] available since OpenSSH 2.5.0, Dropbear SSH 0.28
                                     `- [info] a future deprecation notice has been issued in OpenSSH 8.2: https://www.openssh.com/txt/release-8.2

# encryption algorithms (ciphers)
(enc) aes128-ctr                     -- [info] available since OpenSSH 3.7, Dropbear SSH 0.52
(enc) aes256-ctr                     -- [info] available since OpenSSH 3.7, Dropbear SSH 0.52
(enc) aes128-cbc                     -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
                                     `- [warn] using weak cipher mode
                                     `- [info] available since OpenSSH 2.3.0, Dropbear SSH 0.28
(enc) aes256-cbc                     -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
                                     `- [warn] using weak cipher mode
                                     `- [info] available since OpenSSH 2.3.0, Dropbear SSH 0.47
(enc) twofish256-cbc                 -- [fail] disabled since Dropbear SSH 2015.67
                                     `- [warn] using weak cipher mode
                                     `- [info] available since Dropbear SSH 0.47
(enc) twofish-cbc                    -- [fail] disabled since Dropbear SSH 2015.67
                                     `- [warn] using weak cipher mode
                                     `- [info] available since Dropbear SSH 0.28
(enc) twofish128-cbc                 -- [fail] disabled since Dropbear SSH 2015.67
                                     `- [warn] using weak cipher mode
                                     `- [info] available since Dropbear SSH 0.47
(enc) 3des-ctr                       -- [fail] using weak cipher
                                     `- [info] available since Dropbear SSH 0.52
(enc) 3des-cbc                       -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
                                     `- [warn] disabled (in client) since OpenSSH 7.4, unsafe algorithm
                                     `- [warn] using weak cipher
                                     `- [warn] using weak cipher mode
                                     `- [warn] using small 64-bit block size
                                     `- [info] available since OpenSSH 1.2.2, Dropbear SSH 0.28

# message authentication code algorithms
(mac) hmac-sha1-96                   -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
                                     `- [warn] disabled (in client) since OpenSSH 7.2, legacy algorithm
                                     `- [warn] using encrypt-and-MAC mode
                                     `- [warn] using weak hashing algorithm
                                     `- [info] available since OpenSSH 2.5.0, Dropbear SSH 0.47
(mac) hmac-sha1                      -- [warn] using encrypt-and-MAC mode
                                     `- [warn] using weak hashing algorithm
                                     `- [info] available since OpenSSH 2.1.0, Dropbear SSH 0.28
(mac) hmac-sha2-256                  -- [warn] using encrypt-and-MAC mode
                                     `- [info] available since OpenSSH 5.9, Dropbear SSH 2013.56
(mac) hmac-sha2-512                  -- [warn] using encrypt-and-MAC mode
                                     `- [info] available since OpenSSH 5.9, Dropbear SSH 2013.56

# fingerprints
(fin) ssh-rsa: SHA256:3NbBNOKhVgC4qY8r6x5aNpaoK04V8uKVd59Hzrhd0Os

# algorithm recommendations (for Dropbear SSH 2016.74)
(rec) -3des-cbc                      -- enc algorithm to remove 
(rec) -3des-ctr                      -- enc algorithm to remove 
(rec) -aes128-cbc                    -- enc algorithm to remove 
(rec) -aes256-cbc                    -- enc algorithm to remove 
(rec) -diffie-hellman-group1-sha1    -- kex algorithm to remove 
(rec) -ecdh-sha2-nistp256            -- kex algorithm to remove 
(rec) -ecdh-sha2-nistp384            -- kex algorithm to remove 
(rec) -ecdh-sha2-nistp521            -- kex algorithm to remove 
(rec) -hmac-sha1-96                  -- mac algorithm to remove 
(rec) -ssh-rsa                       -- key algorithm to remove 
(rec) -twofish-cbc                   -- enc algorithm to remove 
(rec) -twofish128-cbc                -- enc algorithm to remove 
(rec) -twofish256-cbc                -- enc algorithm to remove 
(rec) +diffie-hellman-group16-sha512 -- kex algorithm to append 
(rec) +twofish128-ctr                -- enc algorithm to append 
(rec) +twofish256-ctr                -- enc algorithm to append 
(rec) -diffie-hellman-group14-sha1   -- kex algorithm to remove 
(rec) -hmac-sha1                     -- mac algorithm to remove 
(rec) -hmac-sha2-256                 -- mac algorithm to remove 
(rec) -hmac-sha2-512                 -- mac algorithm to remove 

# additional info
(nfo) For hardening guides on common OSes, please see: <https://www.ssh-audit.com/hardening_guides.html>
]> ssh-audit 10.0.0.74 | rg -i fail
(kex) ecdh-sha2-nistp521             -- [fail] using weak elliptic curves
(kex) ecdh-sha2-nistp384             -- [fail] using weak elliptic curves
(kex) ecdh-sha2-nistp256             -- [fail] using weak elliptic curves
(kex) diffie-hellman-group1-sha1     -- [fail] using small 1024-bit modulus
                                     `- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
                                     `- [fail] disabled (in client) since OpenSSH 7.0, logjam attack
(key) ssh-rsa (1040-bit)             -- [fail] using weak hashing algorithm
                                     `- [fail] using small 1040-bit modulus
(enc) aes128-cbc                     -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
(enc) aes256-cbc                     -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
(enc) twofish256-cbc                 -- [fail] disabled since Dropbear SSH 2015.67
(enc) twofish-cbc                    -- [fail] disabled since Dropbear SSH 2015.67
(enc) twofish128-cbc                 -- [fail] disabled since Dropbear SSH 2015.67
(enc) 3des-ctr                       -- [fail] using weak cipher
(enc) 3des-cbc                       -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
(mac) hmac-sha1-96                   -- [fail] removed (in server) since OpenSSH 6.7, unsafe algorithm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment