News for hackers. Stuff that matters.
Re:Microsoft is a national security threat: ex-White House c... by cranberryturkey on Sunday April 21, 2024 @11:47AM (#40106657)
all tax payer funded software should be open source
Re:Microsoft is a national security threat: ex-White House c... by dlachausse on Sunday April 21, 2024 @12:00PM (#40106765)
I see this sentiment all the time, but it could never apply to the defense sector. Do you really want our nations enemies to have access to the source code of fighter jets, cruise missiles, the nuclear weapons program, or missile defense systems?
Re:Microsoft is a national security threat: ex-White House c... by bschmidt1 on Sunday April 21, 2024 @12:35PM (#40107064)
Open-source doesn't mean "not secure" - the nuclear codes would be in the .env obv >.>

Seriously though - the software itself would be separated from secrets architecturally. And because it's open and anyone in the world can contribute it could be superior code than what some private government tech contractor could come up with.

For the equipment use case like jets and missiles, a separate directive component (driver) would likely be necessary anyway, not just for security/privacy but because different nations have different equipment. We use F-16s, M-16s, Autel drones, etc.

This driver/directive component would be the manufacturer's IP - like an nvidia GPU driver. Think of it like we'd all be running/contributing the same OS but because we have different hardware and security needs there are still some private components.

The idea/goal here is that our defense companies would overall benefit from it. Not just because the software is improved, but you can justify funding, build curricula around it - might benefit the defense industry to modernize their tech practices.

Re:Microsoft is a national security threat: ex-White House c... by abstractbeliefs on Sunday April 21, 2024 @12:52PM (#40107220)
The problem is that not all the secrets are so easily extracted - sometimes the design/software is the secret.

If you put all the design up for nuclear weapons but just kept the nuclear codes secret it's great that no one can fire ours, but people could implement the design on their own with different codes.

To use a more realistic example, consider air defence missile systems use to shoot down incoming missiles and drones. The secrets here aren't keys, it's software-driven behaviours including the approach to identify radar tracks as hostile or noise, identify when to commit a missile and how to target it, the code implicitly contains the vulnerabilities where the radar tracking is less effective and more evadable and how the system tries to mitigate this, etc.

When you take away all the secret behaviours, you quickly end up with not much more than just the drivers connecting the hardware to the logic, which isn't a lot of code that's driving the funding. How you set a missile tubes tilt and direction is trivial stuff and is mostly reused from old platforms that were funded decades ago.

Additionally, there is some talk about how this is kind of like security through obscurity. When it comes to things like weapons and other high-tech capabilities, security isn't only security against being owned, it's security against your opponent closing the technological gap. Unfair wars, where you have a significant tech lead on your opponent, means your population bleeds less.

Re:Microsoft is a national security threat: ex-White House c... by bschmidt1 on Sunday April 21, 2024 @01:58PM (#40107753)
> sometimes the design/software is the secret

Decreasingly the case, and we might be at the point I can say "poorly architected" if that's the case. A random 19 year old developer in the military with access to the secrets would be a big security hole too.

That's what we should be comparing with regards to open-source vs not open-source - in either case access to weaponry would of course be heavily gated.

Some of the other arguments you make here are no different than conventional arguments against open-source:

> the real code would still be private

Precisely the point, get the crowd to optimize the low-risk parts, build communities around those libraries and frameworks and recruit from it

> opponents might catch up

To remain an industry leader it's actually better to get everyone playing your game rather than trying to compete and stay ahead in a wild west scenario. You want to capture it really, so you can control it and be the leader in it. Open-source is one great way to do that (browser vendors come to mind).

Re:Microsoft is a national security threat: ex-White House c... by abstractbeliefs on Sunday April 21, 2024 @02:17PM (#40107911)
You can say "poorly architected" all you want, but it's true. Military capability is frequently determined by software-implemented behaviours, not data you can plug into a generic public framework.

>19 year old developer with access would be a big security hole

It's true, they are. That's why militaries and defence companies go to great lengths to vet their staff and why even within vetted staff, sensitive material is compartmentalised to minimise the risk from any given individual. Even despite that, military secrets are still leaked on an all too regular basis.

Re:Microsoft is a national security threat: ex-White House c... by bschmidt1 on Sunday April 21, 2024 @02:22PM (#40107951)
> That's why militaries and defence companies go to great lengths to vet their staff

What a joke, no they don't. They establish security internally by gating access, not trusting everyone because they've been "pre-vetted".

Re:Microsoft is a national security threat: ex-White House c... by abstractbeliefs on Sunday April 21, 2024 @02:31PM (#40108024)
Gating access is compartmentalisation. If you're being brought onto, say, missile development, you absolutely will have to submit to both vetting (knowing who you are prior to access) and compartmentalisation (permitting access only to your relevant secrets throughout).

I'm not saying that just because you have some kind of clearance you will get access to everything, but it's part of the preconditions to your own relevant access.

Re:Microsoft is a national security threat: ex-White House c... by bschmidt1 on Sunday April 21, 2024 @03:09PM (#40108297)
Yes, those security clearances are the real gates, not anything in your JavaScript codebase, and that's the point - there's already clearance in place within the military, there should be nothing in a codebase that can bypass a security clearance requirement anyway.

A very secure codebase is designed in a way that all the sensitive parts are separated from the parts general users (and developers) have access to - it shouldn't be all imbued together such that sensitive parts about missiles are exposed to login APIs etc. as it seems like you were saying.

It may even be lower risk than not to open-source as the public is more likely to find and fix actual security quirks that a private contractor might miss (or could even be paid as a spy to purposely leave vulnerable).

There's also the community/recruitment aspect. AI/LLM companies are cleverly open-sourcing major parts of their work while keeping the only important part that makes them valuable private - it's a win:win as they keep their secrets yet provide for and stimulate a developer community.

Re:Microsoft is a national security threat: ex-White House c... by nurple on Sunday April 21, 2024 @12:27PM (#40106992)
This is actually not a bad idea for an international peace treaty. If you make weapons, they must be open source. If the real power in these tools is the secrecy behind their design and implementation, seems like a great way to suck the power out of them.
Re:Microsoft is a national security threat: ex-White House c... by dh2022 on Sunday April 21, 2024 @12:34PM (#40107053)
This strategy would fall apart when you encounter an adversary willing to sacrifice its own people. Nations that care about their own people need to keep a technological advantage on the battlefield.
Re:Microsoft is a national security threat: ex-White House c... by nurple on Sunday April 21, 2024 @01:00PM (#40107280)
I mean, all treaties are at risk of failure from bad actors, even implicit ones like mutually-assured-destruction, and in the later case it has been shown to be incredibly effective. But I don't feel like grinding the threat of powerful weapons against each other to be a particularly wise long term solution to security.

I think it's a pretty obvious ipso facto that the more, and more advanced weapons, that are placed into the global battlefield, the less actual security (in life and liberty) we can expect.

The problem isn't that there are adversaries that are willing to sacrifice their people, almost every war is one of attrition after all, it's that leaders that would be adversaries like this are inevitable in a governmental structure that is delegated a monopoly on violence.

Re:Microsoft is a national security threat: ex-White House c... by dh2022 on Sunday April 21, 2024 @01:45PM (#40107616)
Adversaries willing to sacrifice their own people are absolutely a problem for societies that care about their own people.
Re:Microsoft is a national security threat: ex-White House c... by cess11 on Sunday April 21, 2024 @12:41PM (#40107119)
States don't care.
Re:Microsoft is a national security threat: ex-White House c... by dh2022 on Sunday April 21, 2024 @12:53PM (#40107227)
Believe it or not, USA government cares at least a little. USA did not institute the draft even when fighting on two fronts (Afghanistan and Iraq). USA made up for the lack in manpower with technology: Reaper drones, cluster munitions, night vision, precise artillery, overwhelming air power.
Re:Microsoft is a national security threat: ex-White House c... by nurple on Sunday April 21, 2024 @01:17PM (#40107402)
Don't you find it a bit frightening that this tech is daily giving a smaller and smaller subset of people in the world the unilateral ability to project their will onto the world? At least if they tried to draft in an unjust war, the people could withhold their physical support. This was pretty effective during the Vietnam area, but it's a bargaining chip we've lost.

As we saw with 702, we really have very little leverage left in what our gov does anymore, the threat of being voted out even carries little power, exactly because they're systematically removing humans from every loop they can for the purpose of working unilaterally even when--perhaps especially when--it's against the will of the people. The spooks themselves have literally said exactly as much in their fight against privacy.

To me, the latest 702 is more terrifying than any adversary. When we, who the government should be beholden to, cannot even know the text of the laws which apply to us, it really puts a fine point on how the those who run our government view themselves in relation to its citizenry.

"The liberties of people never were, nor ever will be, secure, when the transactions of their rulers may be concealed from them." -Patrick Henry

Re:Microsoft is a national security threat: ex-White House c... by dh2022 on Sunday April 21, 2024 @01:34PM (#40107525)
Well if the history in the past 3 years is relevant I would say that the power of elites to project their will onto the rest of the world is small. In both sides: Russia is still grinding through a war that may be their second Afghanistan; and on the western side it took US Congress half a year to approve some funds so someone else (Ukraine) would to fight China’s gas station.
Re:Microsoft is a national security threat: ex-White House c... by nurple on Sunday April 21, 2024 @04:26PM (#40108913)
From my PoV, much of the Ukraine war was the result of the powers in the US exercising their control over the world, and it sure didn't take long to dispatch two carrier battlegroups to the aid of Israel.
Re:Microsoft is a national security threat: ex-White House c... by cess11 on Sunday April 21, 2024 @02:55PM (#40108210)
I find the threat of policing and misery used for recruitment a tad bit worse than drafting.

Not that it matters, the state still doesn't care. It can't, it's not that kind of being.

Re:Microsoft is a national security threat: ex-White House c... by mrwyz on Sunday April 21, 2024 @12:22PM (#40106946)
Re:Microsoft is a national security threat: ex-White House c... by dlachausse on Sunday April 21, 2024 @12:25PM (#40106974)
“All”
Re:Microsoft is a national security threat: ex-White House c... by bbarnett on Sunday April 21, 2024 @12:24PM (#40106971)
Open Source != GPL. Nor on Github. I don't know what the parent fully meant, but I do know that some agencies have full access to some Microsoft source code.

From where I sit, I find it absurd that everything we use isn't open source. Again, not free, but the code given to purchasers.

You don't need closed source to protect IP, and the proof is in all of these API lawsuits, and copyright law.

I don't want my missiles to not have code I cannot edit, and stepping back from the top secret sphere, tangential I am appalled at how crappy car firmwares are closed source.

In the old days, a country's national transport agencies could look at evey linkage, every rod, every part of a car design.

Now 90% of the design is hidden. And with electric cars, it's even more firmware.

And the idea that OTA updates are a thing for cars. The madness. The absolute madness.

How much do you want to bet that charging firmwares are remotely updatable?

Now imagine that 9am on Monday, every electric car explodes?

Even today, that would mean an immense number of houses on fire. How could the fire department handle it?

And how could it be handled as the fires spread? And what if lots of other infra goes up?

And that's today. What about when 90% of transportationn is electric? Even if not a single house or building burned, or person was hurt, how would you replace all those buses, trucks, delivery vehicles, and cars? As COVID showed us, you cannot ramp up and down overnight.

And what if it happened to all our allies? Would they still sell part to us?

What of all the tractors are electric, and we miss corn and wheat planting season?

My point in this tangent is... no one is even looking at the important bits. And to reiterate, how much do you want to bet charging firmwares are remotely updated? Really, they should be air gapped from the entire rest of the car.

Letting potential hackers have access in this way, is just plain lazy and reckless.

Re:Microsoft is a national security threat: ex-White House c... by prepend on Sunday April 21, 2024 @12:44PM (#40107151)
> I do know that some agencies have full access to some Microsoft source code.

Access does not mean open source. Open source = OSI and what I think GP meant. And I hold the sentiment that government funded development should be open source.

Re:Microsoft is a national security threat: ex-White House c... by bbarnett on Sunday April 21, 2024 @12:59PM (#40107276)
Open source goes back almost a century, and does mean access to the source code. GPL was created, and other licenses, to allow more than personal use.
Re:Microsoft is a national security threat: ex-White House c... by prepend on Sunday April 21, 2024 @01:54PM (#40107709)
GPL is one kind of open source, not all. That’s why I specified OSI.

For government work, I care about OSI, not if people can just see and not legally change, contribute, and redistribute.

I think government should fund global goods and want to be precise in my language. So when I say “open source” I specifically mean OSI-licensed stuff.

Re:Microsoft is a national security threat: ex-White House c... by bbarnett on Sunday April 21, 2024 @02:33PM (#40108044)
I specifically said "and other licenses", so why would you respond, as if I acted as if GPL was the only license?

No matter. One entity doesn't get to unilaterally redefine a century old term. You claim you want precision, well then specify OSI, a subset of open source.

(And yes, the licenses it approves are indeed a subset.)

Re:Microsoft is a national security threat: ex-White House c... by prepend on Monday April 22, 2024 @07:42AM (#40113359)
One entity is the de facto organization that I, and many others trust to shepard this important definition for society.

Using precise language is useful for building software (and in general life).

I like that OSI exists and helps people understand a specific and desired definition for open source.

There’s a lot of thought on this topic by really smart and skilled people. The aspects of open source that I think are most important are captured in OSI.

For me, I don’t care if I can see the source, if it’s not free and usable. I can decompile code and patch for myself without a license. And I can pay for code in escrow.

But what’s important is that I can modify and redistribute. And that I can be part of a virtuous community creating things together.

Re:Microsoft is a national security threat: ex-White House c... by bongodongobob on Sunday April 21, 2024 @12:29PM (#40107020)
That's all fine and good but I don't want missiles with code you can edit. I didn't vote for you, nor do I trust you.
Re:Microsoft is a national security threat: ex-White House c... by yjftsjthsd-h on Sunday April 21, 2024 @12:40PM (#40107108)
Nobody said random users should be able to edit. FOSS means the code is available, not that they're going to take patches. (See sqlite for an extreme case - code is public domain, but they more or less don't take contributions)
Re:Microsoft is a national security threat: ex-White House c... by giantrobot on Sunday April 21, 2024 @01:55PM (#40107727)
Code available means everyone else has a leg up developing their own weapon system or finding flaws in yours. You don't really want adversaries looking through the source code of your targeting and guidance systems.
Re:Microsoft is a national security threat: ex-White House c... by bongodongobob on Sunday April 21, 2024 @01:34PM (#40107530)
Parent literally said "I don't want my missiles to not have code I cannot edit"
Re:Microsoft is a national security threat: ex-White House c... by yjftsjthsd-h on Sunday April 21, 2024 @02:43PM (#40108115)
Since the line was

> I don't want my missiles to not have code I cannot edit, and stepping back from the top secret sphere, tangential I am appalled at how crappy car firmwares are closed source.

I read that as that whoever's missiles they are should have full visibility and control of their code; I am assuming that "my missiles" means the government, not that the poster personally owns missiles.

Re:Microsoft is a national security threat: ex-White House c... by convolvatron on Sunday April 21, 2024 @12:02PM (#40106787)
ok. most.

and an aside note do you really want the national defense to be one thumb drive away from total collapse?

Re:Microsoft is a national security threat: ex-White House c... by a_simple_man on Sunday April 21, 2024 @12:07PM (#40106832)
how are those systems going to be secure without being audited by the market?

the reality is that this military industrial complex is just a way to print money and funnel it into the hands of a few criminals. all of the major news publications openly told you that the USA has been attacked over 100 times in the middle east AND WE LEFT. The public is going to find out very soon that this massive, expensive military can't actually defend against or defeat other militaries. That when you spend $1000 on a hammer everything looks really flashy and impressive AT FIRST with your fancy jets and missile systems, but after enough time, and after enough of the money has been funneled out, you realize it's a paper army. the USA is so weak that Iran is pushing them out of the middle east and there's nothing the theives that run the military can do about it. but don't worry. they already manufactured a Palestine sympathy story ahead of time to explain why they have to pull out and run away like the cowards they are. and your son's and neighbors sons will pay the price with their lives

Re:Microsoft is a national security threat: ex-White House c... by SteveNuts on Sunday April 21, 2024 @12:12PM (#40106877)
Every time I’ve been involved with selling software in any way adjacent to national security they’ve required source code review.
Re:Microsoft is a national security threat: ex-White House c... by a_simple_man on Sunday April 21, 2024 @12:16PM (#40106905)
How are you equating a "code review" to open source, the difference is the difference between asking a couple dudes for advice and asking the entire world for advice. I'm sure the argument sounded really good in your head, but let's be adults here when it comes to the United States military
Re:Microsoft is a national security threat: ex-White House c... by Veserv on Sunday April 21, 2024 @12:43PM (#40107139)
Because auditable does not mean the same thing as audited. It is silly that people keep pushing that dead argument after Heartbleed pounded a stake through its heart. Audits are time consuming, challenging, and boring. Experience shows even critical, high profile projects hardly get any review at all by the "world", let alone actual audits by competent domain experts.

Quality verification depends on auditing and auditing depends on competent, trusted review and testing. Global transparency is not a substitute for auditing except when discussing absolute rock-bottom standards. Reviewable is significantly better than unreviewed and unreviewable, but that is the lowest possible bar. Unfortunately, software does, as a general rule, have rock-bottom auditing standards, so FOSS does provide meaningful assurance increases in many use cases. But, that is a artifact of the abysmal quality standards rather than any sort of inherent auditing advantage that FOSS provides. That is not to say that global transparency is not valuable for other reasons, but it provides no meaningful quality verification or auditing advantage in serious applications versus local transparency (to the trusted reviewer).

If you want to see how this works in practice, look at literally every other industry.

Re:Microsoft is a national security threat: ex-White House c... by a_simple_man on Sunday April 21, 2024 @12:51PM (#40107217)
the market will determine what should and should not be audited, according to supply and demand. thinking that a couple employees that were not paid for with profit but with printed and taxed government dollars is not and never will be a substitute for the free market, which is a synonym for humanity. not respecting that fact will always result in loss and inefficiency. and no amount of paragraphs can undo that.
Re:Microsoft is a national security threat: ex-White House c... by Avamander on Sunday April 21, 2024 @01:04PM (#40107309)
The market has been horrid in determining that. There are a few dozen massive companies funding a significant amount of the menial and boring work done on FOSS. Possibly because they have more to lose from their competitors building moats and wide-scale incidents.

Thankfully governments are now also funding FOSS work but this really doesn't align with what you're envisioning, I think.

Re:Microsoft is a national security threat: ex-White House c... by prepend on Sunday April 21, 2024 @12:42PM (#40107129)
Certainly. It’s not like giving them the source code would increase risk significantly, if the software is designed well. I think it would actually strengthen as more researchers would study and submit contribs.

I think Linux is as or more secure than windows and it’s open source. There’s tons of sensitive systems that are open source.

It’s a design fallacy that security through obscurity is good.

Re:Microsoft is a national security threat: ex-White House c... by gray_-_wolf on Sunday April 21, 2024 @12:53PM (#40107225)
> It’s not like giving them the source code would increase risk significantly

I like free software a lot, and do not know much about weapon development, but would not the software reveal a lot about capabilities of the weapon platform? The argument to keep the software private might not be motivated just by attempt to hide security holes, but also by desire to hide what the weapon can do, what are the operational limits, etc.

Re:Microsoft is a national security threat: ex-White House c... by tester756 on Sunday April 21, 2024 @01:02PM (#40107293)
>It’s a design fallacy that security through obscurity is good.

Yet, still obscurity increases security.

Reverse engineering is not trivial and raises the bar.

Re:Microsoft is a national security threat: ex-White House c... by prepend on Sunday April 21, 2024 @01:55PM (#40107719)
> Yet, still obscurity increases security.

I disagree and think obscurity decreases security. It just gives the false belief of security.

Re:Microsoft is a national security threat: ex-White House c... by tester756 on Wednesday April 24, 2024 @05:26PM (#40149898)
Reverse engineering is not trivial and raises the bar.
Re:Microsoft is a national security threat: ex-White House c... by fsflover on Sunday April 21, 2024 @05:59PM (#40109601)
Re:Microsoft is a national security threat: ex-White House c... by tester756 on Wednesday April 24, 2024 @05:26PM (#40149895)
What would I need link for?

The point is simple - obscurity as an addition increases security.

Reverse engineering is not trivial and raises the bar.

Edit. Oh, your link supports that

>The obvious disadvantage of this approach is that it doesn't prevent the bugs from being exploited - it only make the meaningful exploitation very hard or even impossible. But if one is concerned also about e.g. DoS attacks, then Security by Obscurity will not prevent them in most cases. The other problem with obfuscating the code is the performance (compiler cannot optimize the code for speed) and maintenance (if we got a crash dump on an "obfuscated" Windows box, we couldn't count on help from the technical support). Finally there is a problem of proving that the whole scheme is correct and that our obfuscator (or e.g. ASLR engine) doesn't introduce bugs to the generated code and that we will not get random crashes later (that we would be most likely unable to debug, as the code will be obfuscated).

Re:Microsoft is a national security threat: ex-White House c... by cess11 on Sunday April 21, 2024 @12:43PM (#40107141)
Why not?
Re:Microsoft is a national security threat: ex-White House c... by xyst on Sunday April 21, 2024 @12:45PM (#40107157)
Closed source is a recipe for disaster. Many attacks on important infrastructure have been because of closed source/proprietary software.

- Stuxnet (developed to attack PLCs which control nuclear centrifuges)

- Petya (targeted Microsoft developed systems and software and brought governments and states to their knees. Notably Ukraine)

Re:Microsoft is a national security threat: ex-White House c... by SoftTalker on Sunday April 21, 2024 @12:58PM (#40107271)
> Do you really want our nations enemies to have access to the source code of fighter jets, cruise missiles, the nuclear weapons program, or missile defense systems

They likely already do. Between exploiting remote vulnerabilites (a nation-state intrusion will never even be noticed -- they aren't going to encrypt all the files and ask for ransom) and old-fashioned spycraft, it would be really amazing if all the contractors involved on those projects had perfect security.

Re:Microsoft is a national security threat: ex-White House c... by derf_ on Sunday April 21, 2024 @01:20PM (#40107422)
From my time working in defense contracting, quite a lot of the software was open source, built on open source components (just like everything else) or even hosted on official military GitHub repos. Code written by the (federal) government itself cannot even be copyrighted (in the US). Obviously you are not going to find the classified stuff on GitHub, but even there it was very common for the government to take all of the source code from one contractor and hand it to another one to work on. You also design your systems so that as much as possible can be unclassified, because unclassified development is much, much easier.
Re:Microsoft is a national security threat: ex-White House c... by advael on Sunday April 21, 2024 @01:42PM (#40107593)
Unironically yes. Auditable software is inherently more secure, especially over the kind of timescale relevant to governments
Re:Microsoft is a national security threat: ex-White House c... by newsclues on Sunday April 21, 2024 @03:18PM (#40108385)
Open source doesn’t mean freely available online for everyone
Re:Microsoft is a national security threat: ex-White House c... by drooopy on Sunday April 21, 2024 @12:06PM (#40106824)
Dunno if all government software should be open source but government should definitely avoid vendor lock ins.
Re:Microsoft is a national security threat: ex-White House c... by morkalork on Sunday April 21, 2024 @12:26PM (#40106982)
There's a couple places in the book Skunk Works where the author laments the government's procurement strategy for planes that always ensured different manufacturers got at least some contracts so they wouldn't go out of business and leave the government reliant on just one supplier. He derided it as a form of socialism! Alas, it was a reasonable approach.
Re:Microsoft is a national security threat: ex-White House c... by fsflover on Sunday April 21, 2024 @12:05PM (#40106812)
Re:Microsoft is a national security threat: ex-White House c... by kypro on Sunday April 21, 2024 @12:48PM (#40107195)
I don't know how it works in the US, but this is very much the default when building public software in the UK, https://www.gov.uk/service-manual/service-standard/point-12-...

> Public services are built with public money. So unless there’s a good reason not to do so, the code they’re based should be made available for people to reuse and build on.

> Open source code can be reused by developers working in government, avoiding duplication of work and reducing costs for government as a whole. And publishing source code under an open licence means that you’re less likely to get locked in to working with a single supplier.

Obviously there are exceptions made, but you have to explain why the exception is necessary. An auth library would be an example of where you might not want the code pubic.