-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable sha1-based key exchanges #64
Comments
@bkw will study this in-depth |
Having a strong hash there is what prevents downgrade attacks. The KDF at the end of the key exchange doesn't only take s as input, but also the supported list of algorithms and the basically arbitrary banners. That overview I included is... let's call it simplified. If you try to downgrade, Alice will end up calculating Unless we are using a sufficiently broken hash. In that case, banner_nsa can be used to synchronize k again. |
yes, this is a good point, but it should be configurable. 2015-01-07 18:48 GMT+01:00 Bernhard Weisshuhn (a.k.a. bernhorst) <
|
References: * https://stribika.github.io/2015/01/04/secure-secure-shell.html * dev-sec/chef-ssh-hardening#64 Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Move diffie-hellman-group14-sha1 and diffie-hellman-group-exchange-sha1 to 'weak' KEX mechanisms. References: * https://stribika.github.io/2015/01/04/secure-secure-shell.html * #64 Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Move diffie-hellman-group14-sha1 and diffie-hellman-group-exchange-sha1 to 'weak' KEX mechanisms. References: * https://stribika.github.io/2015/01/04/secure-secure-shell.html * dev-sec/chef-ssh-hardening#64 Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
inclued in chef-ssh-hardening v1.0.3 |
References: * https://stribika.github.io/2015/01/04/secure-secure-shell.html * dev-sec/chef-ssh-hardening#64 Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Following the very interesting post https://stribika.github.io/2015/01/04/secure-secure-shell.html by @stribika I think it would make sense to at least offer an option to disable sha1-based key exchanges on systems that support better ones.
What do you think?
The text was updated successfully, but these errors were encountered: