News for hackers. Stuff that matters.
Re:I Am Not a Supplier by gizmo686 on Saturday December 31, 2022 @06:37PM (#34201884)
Its not intractable. You just need to take the concept of a software supply chain seriously.

E.G, every version of every dependency you use (either directly or transitivly) needs to be audited and approved by a trusted supplier. This isn't nearly as bad as it sounds. You only need 1 trusted organization across the entire industry to certify a baseline of trusted software. Maybe a second organization to cover people who don't trust the first.

The NSA, some other part of US cyber command, or a comparable agency from a different government are all natural choices; as they have a vested interest in protecting critical domestic infrastructure but no commercial interest in keeping their work proprietary. Since that infrastructure all runs the same software as the rest of industry, we all benefit.

Re:I Am Not a Supplier by Hizonner on Saturday December 31, 2022 @06:40PM (#34201917)
> You only need 1 trusted organization across the entire industry to certify a baseline of trusted software.

So it's not just bad, but impossible. Got it.

More to the point, software "auditing" does not work reliably against deliberately malicious code written by competent actors, never has, and never will. It's too easy to slip in subtle back doors that reviewers won't notice, and at the same time too hard to keep up with the review workload.

Re:I Am Not a Supplier by dragonwriter on Saturday December 31, 2022 @06:39PM (#34201904)
> The NSA, some other part of US cyber command, or a comparable agency from a different government are all natural choices; as they have a vested interest in protecting critical domestic infrastructure

NSA is not a natural choice, since they are an active threat that has a history of abusing trust in their defensive mandate to insert vulnerabilities into systems in pursuit of their offensive mission.

Re:I Am Not a Supplier by lrhegeba on Sunday January 01, 2023 @01:01AM (#34204033)
Then you can decide for your org to not trust them and perhaps use a different certifier. i would welcome them offering such a service instead of having none.
Re:I Am Not a Supplier by voakbasda on Monday January 02, 2023 @09:12AM (#34217998)
Trust like this is transitive, so I would not trust any organization that placed such blind faith in the NSA.

I hope your brave new world includes a requirement for orgs to disclose their software auditor, so my org can avoid trusting orgs like yours.

Re:I Am Not a Supplier by mnw21cam on Saturday December 31, 2022 @06:43PM (#34201945)
I would suggest the Debian Project and similar distributions as a fairly good scaffold on which to build such a system. All it needs is a notarisation mechanism, so certify that a person has had eyes on the code and says that it is ok. Plus, I'd trust them more than the US government. Though there's no harm in having multiple bodies all certify a code-base.
Re:I Am Not a Supplier by bombolo on Saturday December 31, 2022 @07:24PM (#34202218)
But Linus has said distributions are bad because they don't let him fork libraries as he pleases!
Re:I Am Not a Supplier by bombolo on Sunday January 01, 2023 @08:02AM (#34205972)
I guess the downvotes stem from not knowing what specific episode I'm talking about
Re:I Am Not a Supplier by klabb3 on Saturday December 31, 2022 @07:39PM (#34202317)
> The NSA, […has] a vested interest in protecting critical domestic infrastructure

One of the biggest cluster of cyber attacks ever, WannaCry, is attributed to NSA directly. They developed and sat on the exploit for 5 years, until it leaked, because even the NSA can be compromised. Government lives in a “we need good guys to have the biggest guns” Cold War-like mindset and are terrible role models for championing cyber security.

Auditing in general is primarily used as a tool to shift liability, or “ass-covering”, and sell a false sense of security by abusing information asymmetry. That said, there’s nothing wrong with auditing when deployed within a more informed and aligned incentive structure.

Re:I Am Not a Supplier by esperent on Saturday December 31, 2022 @08:52PM (#34202779)
> The NSA

Seriously? As soon as the NSA certifies a piece of code it'll be dropped like a hot potato by everyone outside of the US, and probably by a large percentage of the people inside it.

If such a body exists, which seems like a reasonable idea, it has to be nongovernmental and not controlled by large corporations either.

Re:I Am Not a Supplier by kortilla on Sunday January 01, 2023 @01:26AM (#34204144)
This doesn’t make sense. The NSA has certified lots of crypto protocols that we use.
Re:I Am Not a Supplier by esperent on Sunday January 01, 2023 @04:38AM (#34204990)
* * *
Re:I Am Not a Supplier by mkj on Sunday January 01, 2023 @07:50AM (#34205905)
These days it seems those protocols are used in spite of NSA involvement. See what happened with Speck in the Linux kernel. https://lwn.net/Articles/761992/
Re:I Am Not a Supplier by leosarev on Sunday January 01, 2023 @07:53AM (#34205921)
And if you has to be Russian or China government certified, all this protocols are out of question.
Re:I Am Not a Supplier by cortesoft on Saturday December 31, 2022 @09:58PM (#34203132)
Ok, even if we could all agree on a single trusted auditor, that would still put us in a very bad position. You would be limited to only use that baseline trusted set of software, which I guarantee won’t be sufficient for all the things you need as software grows and develops.
Re:I Am Not a Supplier by numpad0 on Saturday December 31, 2022 @11:37PM (#34203660)
You would be right if we were all running properly engineered hardware and software, but software engineering stopped being a subcategory of engineering 30+ years ago.

Software engineers are all blacksmiths, and software products equates to artisan made weapons. A food poisoning traced to a chef's knife from a workshop affects all users of the knife, but the impact is often localized to the shop and lessons learned are shared less as a scientific theory but more or less as an epic(see how "postmortems" are requested or written).

I predict that software supply chain concept will start working when software become a field of engineering, as in a single bit of error stops being the direct cause of a catastrophic failure(e.g. a web server bootloop), parts become replaceable(e.g. universal SATA host driver compiled against musl libc running just fine with glibc or proprietary Unix libc), so on and forth, maybe once anyone will be able to code or AI would start taking over us, or something - but at this moment where everyone touching software must be all manager-architect-manufacturer-user that knows where to put a chalk mark, even the idea of software "components" only barely work.

Re:I Am Not a Supplier by NikolaNovak on Saturday December 31, 2022 @11:50PM (#34203702)
Software exists outside of USA.

I mean, I'm in Canada, friendly as it gets, and still - is NSA certifying a piece of software a good thing, from my perspective? From my company's perspective? From my Canadian sovereign government's perspective? There may be second order effects at play here.

Re:I Am Not a Supplier by abdullahkhalids on Sunday January 01, 2023 @12:35AM (#34203919)
NIST in consultations with various US public and private actors (including NSA) already determine the cryptographic algorithms that are used to run the internet. Canada is still very friendly with the US - the countries that have literally been bombed by the US - continue to use these algorithms.

Governments across the world have large gaps in their understanding of software and its relation to the world.

Re:I Am Not a Supplier by bombolo on Sunday January 01, 2023 @02:17AM (#34204339)
> to certify a baseline of trusted software.

check how it works with FIPS for USA government. Out of date and you can't use a regular distribution because it doesn't use it, because it's expensive to get certified.