News for hackers. Stuff that matters.
Re:Sigstore – A new standard for signing, verifying and prot... by simonw on Monday August 09, 2021 @04:30PM (#28121979)
Fifteen years ago the principle security worry in running a web application was that some "script kiddy" would break in and deface your homepage.

Today the threats are much more real. Ransomware, cryptocurrency miners, even state actors.

An enormous point of weakness in modern software is the supply chain - many projects now have thousands of nested dependencies.

Most of those dependencies represents at least one human being who can be threatened with a crowbar and forced to ship an exploit, which can then infect vast numbers of production applications.

So yes, for me this is a very real concern!

Re:Sigstore – A new standard for signing, verifying and prot... by BenTheElder on Monday August 09, 2021 @04:41PM (#28122097)
Why can't they be "threatened with a crowbar" to sign the exploit?
Re:Sigstore – A new standard for signing, verifying and prot... by dane-pgp on Monday August 09, 2021 @05:01PM (#28122290)
Ultimately the system will need to support signatures which represent not just "I made this" but "I reviewed this", and people will need to set policies for whose reviews they trust, and how many reviews they require for each component.

If reviewers can build up a reputation anonymously, that will make it harder to find the human who needs to be crowbarred, but I'm not sure how you prove you are a good reviewer in a way which isn't gameable.

Alternatively, the reviewers could be well known teams in multiple jurisdictions, such that an attacker would need to buy multiple crowbars and multiple plane tickets.

Re:Sigstore – A new standard for signing, verifying and prot... by BenTheElder on Monday August 09, 2021 @05:22PM (#28122465)
Those are interesting points / possible approaches, however is there any indication that this particular project enables any of that?

This seems focused on signing binaries / build artifacts.

IMHO it seems like if you have the threat model of "crowbared maintainer forced to insert backdoor" you probably don't trust sources let alone binaries and need to vet your dependency sources and then compile your own binaries from them.

Many open source dependencies will not have a jurisdictionally diverse review team, or any review team at all (single maintainer).

Re:Sigstore – A new standard for signing, verifying and prot... by dane-pgp on Monday August 09, 2021 @05:45PM (#28122702)
With reproducible builds, the difference between signing a binary and signing the source code from which it is built should be meaningless.

I agree that the threat model should include the threat of untrustworthy source code, because we want the countermeasures to work equally well against backdoors, "bugdoors", and genuine bugs.

Re:Sigstore – A new standard for signing, verifying and prot... by BenTheElder on Monday August 09, 2021 @05:59PM (#28122848)
Good points.

I suspect for a lot of projects reproducible builds are themselves a bit of a hurdle and not being verified in the rarer case that they already exist, but the point of reproducible + signed builds as indirect source-signing stands.

Re:Sigstore – A new standard for signing, verifying and prot... by the_duke on Monday August 09, 2021 @05:25PM (#28122500)
The reviewing aspect sounds a lot like cargo-crev. [1]

[1] https://github.com/crev-dev/cargo-crev

Re:Sigstore – A new standard for signing, verifying and prot... by allset_ on Monday August 09, 2021 @09:34PM (#28124323)
You have to be in person for that attack, which is a much higher cost than taking over someone's account remotely from a different country. It's also a much higher risk of getting caught and going to jail.
Re:Sigstore – A new standard for signing, verifying and prot... by BenTheElder on Monday August 09, 2021 @09:59PM (#28124454)
Ok but the premise of physical harm in person comes from the parent comment, not mine:

"Most of those dependencies represents at least one human being who can be threatened with a crowbar and forced to ship an exploit, which can then infect vast numbers of production applications."

Re:Sigstore – A new standard for signing, verifying and prot... by simonw on Monday August 09, 2021 @07:14PM (#28123487)
Great point.
Re:Sigstore – A new standard for signing, verifying and prot... by jeofken on Monday August 09, 2021 @06:51PM (#28123286)
Harder to manage scaling that
Re:Sigstore – A new standard for signing, verifying and prot... by hulitu on Monday August 09, 2021 @04:42PM (#28122102)
And when the certificate is compromised ? Crxpto AG ? There are a lot of companies/states which supply certificates which are then used for MITM.
Re:Sigstore – A new standard for signing, verifying and prot... by decodebytes on Monday August 09, 2021 @05:05PM (#28122322)
This is where the transparency log comes in, certificate signing is openly auditable. It's the same as certificate transparency, malicious or mistakenly administered certificates are openly auditable (instead of being a transaction that occurs behind the doors of a commercial CA).
Re:Sigstore – A new standard for signing, verifying and prot... by allset_ on Monday August 09, 2021 @09:37PM (#28124336)
Also, in future implementations it would be possible for security conscious publishers to attach cryptographic attestations produced by trusted third party hardware manufacturers to their signature demonstrating the private key was generated on the hardware device and therefore could not be under the control of the service operators. Security conscious clients could start to require this for dependencies they pull in.