News for hackers. Stuff that matters.
Re:“Curl Bash piping” wall of shame by inimino on Saturday October 22, 2016 @05:05AM (#12767932)
People paranoid enough to download it and read it are more likely to run what they just read. Why would you download it again?

curl >x cat x . x

However, the point is that if you can't trust the publisher it doesn't make any difference what the installation procedure is.

Re:“Curl Bash piping” wall of shame by alphapapa on Monday October 24, 2016 @10:50PM (#12784894)
What? I feel like you're not thinking about this very carefully. Someone might look at the downloaded script and verify that it is harmless. Then they might run it. Then later they might go to another system they want to install it on, and they might think, "Well, I looked at it a few minutes ago, and it was fine, so now I'll just pipe it to the shell like the web site says to do." Or they might recommend the software to someone else, and they might say, "Hey by the way, I verified that the install script is safe, so you can pipe it straight to a shell like the site says."

> However, the point is that if you can't trust the publisher it doesn't make any difference what the installation procedure is.

That's not correct. A MitM attack is a risk even if the publisher is trustworthy.

This is not complicated--in theory, at least: only distribute cryptographically signed software. Anything else leaves you vulnerable to many attack vectors. And anyone who instructs users to pipe to a shell is irresponsible and encouraging Worst Practices.

Re:“Curl Bash piping” wall of shame by inimino on Friday November 04, 2016 @07:01AM (#12871633)
I feel like you missed the point of what I wrote. Yes, there are things people could do where if the site owner is malicious they could get screwed. That is generally what happens when you install software from untrustworthy sources.

> > However, the point is that if you can't trust the publisher it doesn't make any difference what the installation procedure is.

> That's not correct. A MitM attack is a risk even if the publisher is trustworthy.

You're contradicting something that I didn't write.

Re:“Curl Bash piping” wall of shame by inimino on Saturday October 22, 2016 @10:40AM (#12768847)
Sorry for the formatting:

  curl >x
  less x
  . x