News for hackers. Stuff that matters.
Re:Notepad++ drops code signing for its releases by kazinator on Thursday March 07, 2019 @01:52PM (#19330920)
Yes, simple hashes that are widely disseminated solve the problem from a practical point of view. Someone tampering with a binary executable or installer cannot alter all of the copies of the hash.

A blockchain could be used for that. When you publish something, take its hash, and the add it to a public ledger.

Re:Notepad++ drops code signing for its releases by close04 on Thursday March 07, 2019 @02:17PM (#19331196)
The advantage of a certificate is that it's 0 effort for the regular user. Every additional layer of "work" someone has to do to check that integrity just lowers the efficiency.

I suggested the disseminated hash method because it would work but most users won't bother checking it. Add blockchain in that and you've lost them completely. Unless you have a 1-click way of checking, something built into the OS ideally, it will only be used by the more tech savvy users.

Re:Notepad++ drops code signing for its releases by kazinator on Thursday March 07, 2019 @02:33PM (#19331363)
> most users won't bother checking it

That's also zero effort, though.

I don't care if users aren't checking; I published the hash, so I'm covered. I am not liable for the behavior of random materials, even if they happen to be tampered versions of something I produced.

Even if you make a signed and certified installer, someone can turn it into a malicious unsigned one and people will install anyway. They will click through the UAC and that's that.

There is no benefit in the signing when the genuine program is being installed; there is no attack going on that the signing is protecting against. It's supposed to stop a counterfeit program.

If the goal is zero effort on the part of the user, then the scheme is doomed. The zero-effort user takes no interest in signing; he or she doesn't wonder "how come this dialog is coming up", they just click through it.

Someone who counterfeits programs and adds malware can evne do one better: they can wrap the program in their own installer which has a valid certificate of their own.

The whole thing is a racket. You can't trust an artifact just because it was signed by someone whose only virtue was that they forked out $$$ for a certificate. Everyone has money, from heinous scoundrel to sparkling saint.

Re:Notepad++ drops code signing for its releases by close04 on Thursday March 07, 2019 @06:02PM (#19333516)
Here's an example of how the signature can help a user [0]. If fewer people fall for it that's still a win.

Your argument is that if a mechanism isn't perfect we shouldn't be using it at all. Well seatbelts and airbags also don't guarantee anything but still save people. Security is additive, no layer is perfect but put enough of them together and you can be relatively safe.

[0] https://arstechnica.com/information-technology/2015/05/sourc...

Re:Notepad++ drops code signing for its releases by kazinator on Thursday March 07, 2019 @08:39PM (#19334420)
Seatbelts and airbags aren't defenses against a clever adversary that is trying to kill you, and who has the means to replace your real seatbelts and airbags with phony ones.
Re:Notepad++ drops code signing for its releases by close04 on Friday March 08, 2019 @05:04AM (#19336367)
No but they will protect you from an andversary that doesn’t have those capabilities and will go the more low tech way of ramming you.

No IT system is perfectly secure. None. They can and will be hacked. The point is to raise the bar for that hack. You lock your house, your phone, put passwords on account, etc. even if they can all be broken into. Why do you do that?

You still haven’t mentioned the method you find acceptable. Even what I suggested originally (distributed hashes) can be bypassed. A determined attacker will impersonate the author, will take over the blockchain, will replace enough instances of the hash in the wild to make it look legit, etc. so you complicated everything without guaranteeing anything.

If you indeed support the idea that the cert/signature system is not perfect so it’s useless I’m sure you can mention one that offers guarantees. You’re arguing for the sake of arguing but brought no argument you can support. Have at it.