hassh-go

module
v0.0.0-...-0b7c27b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: BSD-3-Clause

README

hassh-go: SSH server fingerprinting tool

hassh-go is a Golang implementation of the hassh fingerprinting mechanism developed by Ben Reardon at Salesforce: https://github.com/salesforce/hassh

Unlike the original implementation, hassh-go:

  • Does not require a packet capture (uses its own SSH client)
  • Has minimal external dependencies (no python, Docker, etc.)
  • Compiles to a standalone binary for easy distribution
  • Only supports "hasshServer" functionality, i.e. fingerprinting servers (for now)

Building

To compile hassh for the platform you're using, clone this repo and run make:

git clone https://github.com/edutko/hassh-go.git
cd hassh-go
make

This will produce a binary in out/hassh.

Usage

Usage: ./hassh [<options>] <host>[:<port>]
  -v    print kex/cipher/mac details

Directories

Path Synopsis
cmd
internal
x
crypto/ssh
Package ssh implements an SSH client and server.
Package ssh implements an SSH client and server.
crypto/ssh/internal/bcrypt_pbkdf
Package bcrypt_pbkdf implements bcrypt_pbkdf(3) from OpenBSD.
Package bcrypt_pbkdf implements bcrypt_pbkdf(3) from OpenBSD.
crypto/ssh/test
Package test contains integration tests for the golang.org/x/crypto/ssh package.
Package test contains integration tests for the golang.org/x/crypto/ssh package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL