Re:Sshmuxd: SSH proxy to replace jump hosts
by lunixbochs on Monday September 07, 2015 @01:09PM
(#10182158)
I wouldn't attack this with memory. I'd probably just replace the sshmux binary.
[ Parent
| on HN ]
Re:Sshmuxd: SSH proxy to replace jump hosts
by joushou on Tuesday September 08, 2015 @12:44AM
(#10184155)
Statically linked, but you can replace the entire application. You'd get one or two private key signa before the user disconnects and starts wondering what happened (remember that you need to have something to sign).
Of course, without askpass, a properly patched evil sshmuxd could sign a separate session while still signing ths original.
As I have said many times, ssh -W ProxyCommand makes you immune to evil jump hosts, but if root on a machine in your network got compromised, as would be required, then you're going to have a bad day regardless.