Re: what does BUG_SSH2_HMAC do?



yawnmoth <terra1024@xxxxxxxxx> wrote:
I'm trying to figure out what BUG_SSH2_HMAC does in PuTTy's SSH.c
and... well, I can't.
[...]
const static struct ssh_mac *macs[] = {
&ssh_sha1, &ssh_md5, &ssh_mac_none
};
const static struct ssh_mac *buggymacs[] = {
&ssh_sha1_buggy, &ssh_md5, &ssh_mac_none
};

`macs' is the usual list of MAC algorithms supported by PuTTY, and
offered to the server in the KEXINIT list.

`buggymacs' is a replacement for it, used on particular servers
which mis-implement hmac-sha1 and hmac-sha1-96. If you look in
sshsha.c, you'll find that the buggy versions are exactly the same
as the normal hmac-sha1 algorithms, but call sha1_key_buggy instead
of sha1_key, which uses only 16 bytes of key material.
--
Simon Tatham "The voices in my head are trying to ignore me.
<anakin@xxxxxxxxx> But if I keep talking, I can drive them insane."
.



Relevant Pages

  • Re: CORE-2004-0705: Vulnerabilities in PuTTY and PSCP
    ... difficult to exploit w/o modifying source for an ssl server. ... packets, got hexdumps of the packets, wrote a prog to pretend to be an ssl ... or build packets with the ssl functions used in putty.. ... Vulnerabilities in PuTTY and PSCP ...
    (Vuln-Dev)
  • PuTTY suddenly stopped working (WinXPsp2 to FreeBSD5.4)
    ... assumption is that the problem is on the Client machine. ... On the Server ... ... Open a PuTTY session and I am prompted for a username. ... Event Log: Writing new session log to file: ...
    (comp.security.ssh)
  • Help please: how to enable SSH password authentication under FreeBSD 6.2?
    ... I'm installing my fall-back server, ... PuTTY, PuTTY keeps failing mentioning something like 'host key check ... # Kerberos options ... # Set this to 'no' to disable PAM authentication ...
    (freebsd-questions)
  • Help please: how to enable SSH password authentication under FreeBSD 6.2?
    ... I'm installing my fall-back server, ... PuTTY, PuTTY keeps failing mentioning something like 'host key check ... # Kerberos options ... # Set this to 'no' to disable PAM authentication ...
    (freebsd-questions)
  • Help please: how to enable SSH password authentication under FreeBSD 6.2?
    ... Now, I want to be able to access it using SSH (PuTTY, most often) from anywhere in the world, and hence would like to enable password authentication in SSH again. ... Therefore, I used the same /etc/ssh/sshd_config as on my live server, where this works fine. ... I recall having had this issue before, and I *think* the resolution was to enable PAM authentication or so outside of /etc/ssh/sshd_config. ... # Kerberos options ...
    (freebsd-questions)