Live data from Hacker News

Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

transmissionbt.com

131–140 of 146 posts

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#131
post #27

Earlier quoted context omitted.

Homebrew packages verify checksums, so very unlikely to be affected.

And where do the checksums come from?

Changes made by GitHub pull requests. I'm sure an anonymous contributor who submits only a checksum change, without version bump, would most certainly fail review.

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#133
post #71

Are there any good alternatives to Transmission on OS X?

RTorrent https://pmukhanov.wordpress.com/2014/01/19/installing-rtorre... Text console based, so it can run headless and/or in the background in a screen/tmux session.

Note that rtorrent is no longer supported by homebrew[1]. You'll have to build it yourself with gcc since it can't be compiled with clang.

[1]: https://github.com/Homebrew/homebrew-core/pull/369

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#134
post #128

Earlier quoted context omitted.

C&P is not really more secure than curl as with some javascript you can easily mislead users as to what they're copying. Check https://thejh.net/misc/website-terminal-copy-paste and similar PoCs.

Yeah, I keep stuff like that disabled for this reason, and because random sites like to add urls when you copy text. Just set dom.event.clipboardevents.enabled = false. Some shells also handle the paste and try to detect anything funny going on or at least let you review before you execute.

> Just set dom.event.clipboardevents.enabled = false.

Your parent's link's trickery is to do not with JavaScript (it just uses raw HTML), so this would not mitigate that attack:

    
      
      git clone
      /dev/null; clear; echo -n "Hello ";whoami|tr -d '\n';echo -e '!\nThat was a bad idea. Don'"'"'t copy code from websites you don'"'"'t trust!
Here'"'"'s the first line of your /etc/passwd: ';head -n1 /etc/passwd
git clone git://git.kernel.org/pub/scm/utils/kup/kup.git

> Some shells also handle the paste and try to detect anything funny going on or at least let you review before you execute.

The link also mentions that bracketed paste mode does not prevent this attack:

> Please note that _Bracketed Paste Mode DOES NOT always fix this_ because the end sequence can be inside the text you paste unless your terminal emulator filters out the bracketed paste characters when pasting!

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#135
post #45
post #41

Earlier quoted context omitted.

And to run it from the clipboard: pbpaste | sh -

Why not this? curl https://gist.githubusercontent.com/kaizensoze/ca96d039b295db220951d42ca7c83d89/raw/ | bash

Let us execute random things from the internet directly on our machines without first checking their sanity.

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#136
post #120

Earlier quoted context omitted.

Seemed pretty likely though don't you think?

I guess any security tools and scripts are bound to be used for naughty stuff at some point, but I thought "real" malware writers would put more effort (at least obfuscation) into their products. Keychaindump is a crude hacky PoC, and I honestly didn't expect it to get directly copy-pasted into "serious" malware.

Evolution doesn't work hard for no reason.

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#137
post #83

Earlier quoted context omitted.

qbittorrent? http://www.qbittorrent.org/download.php

No HTTPS? (Given that the original post was about compromised downloads this is a bit ironic)

> ... a bit ironic

Not really, since HTTPS wasn't even a factor in this case.

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#139
post #50
post #29

Earlier quoted context omitted.

FYI: Transmission binaries are now hosted on GitHub, so it is very unlikely that anything like this can happen in the future without compromising developer machines.

Question is, how implausible do we think it is that a developer's computer gets compromised?

Well, a developer's local machine will typically be much less likely to be compromised than a always-on, publicly-broadcasted machine.

Re: Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A

#140
post #71

Are there any good alternatives to Transmission on OS X?

RTorrent https://pmukhanov.wordpress.com/2014/01/19/installing-rtorre... Text console based, so it can run headless and/or in the background in a screen/tmux session.

Transmisson can also run headless.
Post reply on HN