Skip to content

Correct SSH version in cowrie.cfg#1661

Merged
t3chn0m4g3 merged 1 commit into
telekom-security:masterfrom
neon-ninja:patch-1
Sep 28, 2024
Merged

Correct SSH version in cowrie.cfg#1661
t3chn0m4g3 merged 1 commit into
telekom-security:masterfrom
neon-ninja:patch-1

Conversation

@neon-ninja
Copy link
Copy Markdown
Contributor

Hi,

Thanks for making this open source. This PR adjusts the reported Cowrie SSH version to match what is sent by a real Ubuntu 22.04LTS system. This reduces the ease of fingerprinting this as a honeypot. Currently, this string is unique to tpot, so it's easy to see all running honeypots worldwide (that have updated since 025ab2d) on https://www.shodan.io/search?query=product%3A%22OpenSSH%22+version%3A%228.9p1+Ubuntu+2ubuntu0.10%22 (840). Compare this against https://www.shodan.io/search?query=product%3A%22OpenSSH%22+version%3A%228.9p1+Ubuntu+3ubuntu0.10%22 (2,841,601).

Additionally, this makes the honeypot not read as vulnerable to CVE-2024-6387 (regreSSHion) by scanners such as https://github.com/xaitax/CVE-2024-6387_Check/tree/main

Cheers,
Nick

@t3chn0m4g3 t3chn0m4g3 self-assigned this Sep 28, 2024
@t3chn0m4g3 t3chn0m4g3 added this to the 24.04.1 milestone Sep 28, 2024
@t3chn0m4g3
Copy link
Copy Markdown
Member

@neon-ninja Thank you!

@t3chn0m4g3 t3chn0m4g3 merged commit 34eb7d6 into telekom-security:master Sep 28, 2024
@t3chn0m4g3
Copy link
Copy Markdown
Member

@neon-ninja Images haven been built and pushed.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants