Correct SSH version in cowrie.cfg #1661
Merged
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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