Skip to content

ssh_banners: match OpenSSH on Debian with +debNuM package suffix - #673

Open
ruashots wants to merge 1 commit into
rapid7:mainfrom
ruashots:ssh-openssh-debian-deb-suffix
Open

ssh_banners: match OpenSSH on Debian with +debNuM package suffix#673
ruashots wants to merge 1 commit into
rapid7:mainfrom
ruashots:ssh-openssh-debian-deb-suffix

Conversation

@ruashots

Copy link
Copy Markdown

The generic "OpenSSH running on Debian (unknown release)" fingerprint matches bare Debian-N and Debian-N~bpoX package comments, but not the +debNuM revision suffix that current Debian (12/13) uses for security updates — e.g. OpenSSH_10.0p2 Debian-7+deb13u4.

Such banners are common on any patched Debian host, and today they fail to fingerprint at all — losing both the OpenSSH service identification and the Debian OS attribution.

This extends the openssh.comment capture group with an optional (?:\+deb\d+u\d+)? and adds a matching example. The three existing examples (Debian-5~bpo.1, Debian-4bpo1, Debian-10) still match unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant