Live data from Hacker News

Matrix.org hacked

web.archive.org

171–180 of 277 posts

Re: Matrix.org hacked

#171

Earlier quoted context omitted.

Are you disagreeing with the "secure alternative" or the "same outcome"? I thought the difference between ProxyJump and agent forwarding is the following: Agent forwarding forwards the agent socket to the proxy server. Thus any ssh connection originating from the proxy server can reuse the agent, and with that has the same access to the agent as the originating host. ProxyJump routes the ssh connection through the pr…

I know exactly how agent forwarding and ProxyJump work, but I'm having a hard time understanding what you mean. ProxyJump proxies your ssh connection, so connecting from A to B via proxy X the connections go A->X and X->B. You can use AgentForwarding with ProxyJump, in which case agent connections go B->X->A. I cannot see how ProxyJump would somehow be an alternative to AgentForwarding. You can use both independently…

> ProxyJump proxies your ssh connection, so connecting from A to B via proxy X the connections go A->X and X->B.

No, it rather works like this:

A -> B via X establishes A->X and then, through that connection tunnels a new ssh-connection from A->B.

A->X, then X->B would require forwarding the Agent from A to X, so that the connection from X->B can authenticate using that agent. Proxying the connection does not require X to ever authenticate to B, the authentication happens straight from A->B (1). Thus, no agent (forwarding) needed. You can also chain ProxyJumps: A->X->Y->B tunnels A->B in A->Y which is then tunneled through A->X. In that regard, ProxyJump and ProxyCommand can replace AgentForwarding in most use cases. There are some uses where AgentForwarding is the only solution, though.

(1) Added benefit: X never sees the actual traffic in unencrypted form and all port forwards AB work

Re: Matrix.org hacked

#173

The hacker seems nice: “Anyways, that's all for now. I hope this series of issues has given you some good ideas for how to prevent this level of compromise in the future. Security doesn't work retroactively, but I believe in you and I think you'll come back from this even stronger than before. Or at least, I hope so -- My own information is in this user table.” https://github.com/matrix-org/matrix.org/issues/365

I wonder if he searched for his own credentials on the production server, and if so, is there a log of it?

Just grabbing it to elsewhere and searching there would be trivial, so I'd expect not.

Re: Matrix.org hacked

#174

The interesting thing for me here is that none of the other homeservers were affected. Despite the weak security on the largest servers, the ecosystem stays alive. Antifragility at its finest.

... or is it? https://github.com/matrix-org/matrix-doc/issues/1194 and https://github.com/matrix-org/matrix-doc/pull/1915 and https://github.com/matrix-org/synapse/issues/4540 would tell a different story: Potentially deleting data on remote server just because being matrix.org (or anyone with an access)

I might be misreading it, but it seems that the issues you are pointing out related to 3PID, which is still somewhat centralized. Sure, work on this needs to be done yet the system is evolving to be more independent.

Re: Matrix.org hacked

#175
post #81

Earlier quoted context omitted.

> The matrix.org homeserver has been rebuilt and is running securely; We should have more bounties. Let users donate and put wallets on servers. Attacker will be able to take these funds. It's a reasonable measure of an infrastructure security.

To avoid perverse incentives, you should also build in some reward for the developers/operators. As in: If the server gets hacked, the money goes to the whitehat. If the server does not get hacked for $TIMEFRAME, the money goes to the people responsible for its security.

Also, there is a requirement for the hacker to actually publish the results of how they did it. Otherwise, you run the risk of the hacker just walking away with the funds or giving a bogus reason (after they've already spent the wallet).

Therefore, the wallets should be stored GPG encrypted in some published location. After the hacker has successfully penetrated and retrieved the file, they need to publish a "how I did it" document along with the hash of the GPG encrypted wallet.

Once devs have confirmed the vulnerabilities exist, they respond with the passphrase to decrypt the wallet.

Re: Matrix.org hacked

#176
post #43

Earlier quoted context omitted.

Matrix is what happened when somebody looked at XMPP and yelled "NIH".

Matrix is what happened when somebody looked at XMPP and yelled "wow, this aged poorly and has some major usability issues".

And instead of fixing the issues they just went to do a completely new and incompatible thing. That's the very definition of NIH

Re: Matrix.org hacked

#177
post #156

I think it boils down to the fact that infrastructure for projects (no matter the size) is usually a second class citizen at best. Either no one is eager to care for it, or the people who are actually focused on developing the software run it because they need to, or worst case - no contributor is trusted enough to handle infrastructure work, with access being given even more sparsely than commit rights to the whole…

It's just a problem with the industry that's like "let's just get something out there and achieve product market first..will worry about infra and security later" that later is just pushed into a backlog and forgotten.

Re: Matrix.org hacked

#178
post #176

Earlier quoted context omitted.

Matrix is what happened when somebody looked at XMPP and yelled "wow, this aged poorly and has some major usability issues".

And instead of fixing the issues they just went to do a completely new and incompatible thing. That's the very definition of NIH

Especially that, after some period of stagnation, XMPP is doing pretty fine these days with stepping into the modern world.

Re: Matrix.org hacked

#180
post #78

Earlier quoted context omitted.

> Grammar and spelling blind spots don't compromise the security of thousands of people Neither does useless use of cat. Or am I missing something that I couldn't read because of a deleted comment?

No you're not, my mistake. Due to the parent comment being flagged, I incorrectly the response as a reply to different comment.

Haha, that escalated quickly ;)
Post reply on HN