News for hackers. Stuff that matters.
Re:SSH client in Google Chrome by alxv on Thursday January 17, 2013 @08:09AM (#5072383)
Oh right... because putting your critical secret information into a huge, buggy, extensible, unaudited, complex, and constantly changing operating system is so much better!
Re:SSH client in Google Chrome by moe on Thursday January 17, 2013 @10:01AM (#5072945)
When running OpenSSH on top of Linux you will be affected by any security bug in Linux or OpenSSH.

When running OpenSSH inside Chrome on top of Linux you will be affected by any security bug in Linux, OpenSSH or Chrome.

It's not that hard to understand, really.

Re:SSH client in Google Chrome by BitMastro on Thursday January 17, 2013 @11:41AM (#5073528)
Or, from another point of view, an attacker has to bypass Linux and OpenSSH security in one case or bypass Linux, OpenSSH and Chrome security mechanisms in the other case..

It's an oversimplification

Re:SSH client in Google Chrome by moe on Thursday January 17, 2013 @02:01PM (#5074445)
No.

When you load your SSH-Keys into Chrome and the Chrome sandbox is compromised then there is no further layer between the attacker and your keys.

This is a new attack vector in addition to those that may exist in SSH itself and your operating system.

Re:SSH client in Google Chrome by BitMastro on Thursday January 17, 2013 @02:19PM (#5074577)
I understand what you mean, but I'm saying that compromising the sandbox can be looked as well as an additional step to achieve. And more so if, for example, address space randomization is offered by the OS. In this case the security model is reinforced, rather than weakened.
Re:SSH client in Google Chrome by moe on Thursday January 17, 2013 @04:04PM (#5075196)
but I'm saying that compromising the sandbox can be looked as well as an additional step to achieve

You're making no sense. The previous attack vectors don't go away when you put your keys into Chrome. Chrome becomes an additional option for the attacker, not an additional "step".

A house with two doors is less secure than the same house with one door.

Re:SSH client in Google Chrome by tmzt on Thursday January 17, 2013 @10:22PM (#5076893)
There is also no reason that private keys have to be loaded in the same process (or even the sandbox) when an ssh agent is used.
Re:SSH client in Google Chrome by moe on Thursday January 17, 2013 @10:43PM (#5076967)
I'm a bit baffled to what degree some people here try to deny the obvious.

Yes, you can use ssh-agent with chrome (if they have that implemented, I don't know). Yet you are still in trouble when the chrome sandbox gets compromised, because all your keystrokes are passing through it.

Re:SSH client in Google Chrome by BitMastro on Friday January 18, 2013 @06:55AM (#5078218)
From what I know they don't impement ssh-agent. Do you consider ssh-agent as another attack vector or additional security?

If the sandbox is compromised to have file system access, a process can read your keys from ~/.ssh as well as chrome storage files. Otherwise a webpage has to escape its own sandbox, bypass the native client's sandbox (in a different process) composed of the inner and outer sandbox and then access the native client.

I'm not saying that it's impossible, I'm saying that using a simple analogy as "a house with two doors" might not be the best.

Re:SSH client in Google Chrome by moe on Friday January 18, 2013 @08:48AM (#5078550)
Otherwise a webpage has to escape its own sandbox, bypass the native client's sandbox (in a different process) composed of the inner and outer sandbox and then access the native client.

Or there could be just some really dumb bug that somehow enables cross-process access. With javascript. You know, one of these silly brown-paper-bag bugs that are not supposed to happen.

Either way, this is the second door. It may be a shiny steel door, but it's an additional door.

Re:SSH client in Google Chrome by BitMastro on Friday January 18, 2013 @09:48AM (#5078820)
The other process might as well be ssh itself at this point. Anyway, we are just speculating, also the wall is another door if you smash through it. Just don't use it then.