this post was submitted on 26 Jul 2024
25 points (100.0% liked)

Linux Gaming

15473 readers
253 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

CrowdStrike’s Falcon software uses a special driver that allows it to run at a lower level than most apps so it can detect threats across a Windows system. Microsoft tried to restrict third parties from accessing the kernel in Windows Vista in 2006 but was met with pushback from cybersecurity vendors and EU regulators. However, Apple was able to lock down its macOS operating system in 2020 so that developers could no longer get access to the kernel.

Now, it looks like Microsoft wants to reopen the conversations around restricting kernel-level access inside Windows.

top 26 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 month ago (2 children)

Please, get this garbage out of the kernel. If it isn't there to talk to hardware, third party code has no place in the kernel. The same shit that Crowdstrike did could easily happen with any of these useless anticheats.

[–] [email protected] 2 points 1 month ago (3 children)

In b4 msft creates a level between kernel and user level for this stuff to sit at. It will have read-only access to all of kernel memory, and will otherwise function the same, but when it crashes it won't take the OS down, just certain programs that rely on it.

What will they call it? "Observer" level? "Big Brother" level? "Overseer" level? Probably just something to do with "Verifying Trust/Integrity". Google will also want to quietly stick something for "Web Integrity" there.

[–] [email protected] 2 points 1 month ago

WSS: Windows Subsystem for Stalkers.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (2 children)

Is it just me, or does this seem like a reasonable solution? Assuming it's technically feasible.

[–] [email protected] 1 points 1 month ago

This is exactly how ebpf was implemented for the Linux kernel. You can build watchdog processes that can see what’s happening in the kernel and build kernel interrupts but it’s actually all executed in user space and not rewriting the kernel itself. Since it’s a proper api, it also means it’s incredibly hard to fundamentally break the system, unlike when you’re just blowing away kernel code with your own shit like all these security products do.

[–] [email protected] 0 points 1 month ago

It's still giving third party software kernel level control over your device, so you're still giving up any possibility of privacy and probably leaving yourself wide open to a backdoor attack, but that has been normalized. So to the degree that what people accept as reasonable these days is unreasonable, yeah, that's why I think MSFT will try it.

[–] [email protected] 1 points 1 month ago

https://github.com/microsoft/ebpf-for-windows

Right now it's network level, but Linux's implementation has since moved out from just packet filtering to full syscall filter and interaction; it's generally accepted that Windows will be following suit with this implementation. Thought you'd like a name to the thing you described

[–] [email protected] 1 points 1 month ago (3 children)

As much as I despise MS and think they are equally incompetent, I don't think it's a good idea to lock down Windows. They will stop providing kernel access to 3rd parties at first, then a few months later you will only be able to download software from the Microsoft Store.

Yes, it's a security issue but them being allowed to close down their OS sets a dangerous precedent that will make Windows even more shittier and enshittified than it already is.

[–] [email protected] 1 points 1 month ago (1 children)

They'd be seriously shooting themselves in the foot if they did that. Most corporations have 3rd party software that they would not be able or willing to give up, software development for Windows would be unable to test and debug, and I know from personal experience that many consumers find the already existing S Mode to be frustrating and confusing.

[–] [email protected] 2 points 1 month ago

They kinda already do this. Any .exe you download outside the Microsoft Store requires double confirmation before you can execute it, unless it's from Microsoft.

[–] [email protected] 0 points 1 month ago

There is zero chance of that happening. This is exactly what people said when Apple created a Mac App Store. Surprise surprise you can still run any software you want on a Mac.

[–] [email protected] -1 points 1 month ago

Good. Let them. Fuck Microsoft and literally ALL the crap they've produced. After having to deal with their shit for over 30 years I can't wait for them to finally sink their own boat

[–] [email protected] 3 points 1 month ago

Funny how you can create a microkernel only to then fuck up privileges so bad that software (e.g. graphics drivers, anything running with real-time prio) can easily crash your system without recovery.

The architecture of Windows is both, remarkably good and weirdly underutilized.

[–] [email protected] 1 points 1 month ago (1 children)

They should. How much of a hit to GDP is it when entire continents can't work.

[–] [email protected] 1 points 1 month ago

In that case, the entire windows ecosystem collapses when Microsoft messes up windows defender.... at least if its spread out it hurts less people

[–] [email protected] 1 points 1 month ago

Probably a good move for them to make tbh. I like how CrowdStrike's name already sounds like it should be the name of a big malware/virus/zeroday. So we should have seen it coming.

[–] [email protected] 1 points 1 month ago (2 children)

My understanding is that EU regulators had an issue because Windows Defender rolled out kernel mode/kernel data protection, which gave Microsoft a de-facto monopoly in that market segment if no one else was allowed to use the same technology in their products.

Microsoft complaining that the Crowdstrike incident was the EU's fault is an argument in favor of a Microsoft monopoly, which the EU has been pretty consistently against, and EU opposition to this should not have been a surprise to Microsoft.

[–] [email protected] 1 points 1 month ago

I think that the way we're splitting up software monopolies is pretty damn ridiculous in this field. I'm Linux gang all the way, but let Microsoft own the OS how they see fit, and especially the kernel, and instead go after the third party hardware vendors being locked into MS contracts. Just make it not legal for third party hardware vendors to sell computers with pre-installed operating systems, and it solves a lot of the monopoly issues. So no more Dell, HP, etc, with forced windows, make the consumer buy the OS separately.

Could also go after bundling, like OS can't be sold with office suite software.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

microsoft could get away with this monopoly accusations by opening up official read-only APIs for that, so you can have antiviruses use it and have a proper procedure for user to give consent for the antivirus to have access to said API.

[–] [email protected] 1 points 1 month ago

I agree, all they need to make sure is for their own tool to have the same access as everyone else.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

yes please. NO third party should have ring 0 access to your computer.

bonus: no kernel level anticheat to fuck with linux users

[–] [email protected] 0 points 1 month ago* (last edited 1 month ago) (1 children)

Imo, third party companies just shouldn't have access to the kernel level. Someone is always getting hacked, and having this level of access to potentially hundreds of millions of computers is a huge risk. Especially if it's for something trivial, like anticheat in Helldivers 2.

[–] [email protected] 0 points 1 month ago (1 children)

They're going to implement something like eBPF for the Windows kernel. This will allow kernel-level modules to run with zero risk of crashing the kernel. If the module fails, it fails without taking down the kernel with it.

Linux already has this. It works great. If Windows gets this, all antivirus and anti-cheat software is going to have to transition.

Once that happens, it will be way easier to add anti-cheat software to Linux that operates the same as on Windows. It may be possible to load and unload it only when playing and actually having competition-grade gaming on Linux.

Of course, this is a security disaster that I wouldn't allow on any of my daily drivers, but I would enjoy playing Destiny on my Steamdeck if there's a legit way for me to do it.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

According to wikipedia, both Windows and linux have it, and both are open source.

Believe it or not, a lot of companies, no matter how cool and secure their marketing sounds, are just seriously incompetent.

[–] [email protected] -1 points 1 month ago