This is a pretty hot take. A single bad file can topple pretty much any operating system depending on what the file is. That’s part of why it’s important to be able to detect file corruption in a mission critical system.
Comment on CrowdStrike downtime apparently caused by update that replaced a file with 42kb of zeroes
Socsa@sh.itjust.works 3 months ago
The fact that a single bad file can cause a kernel panic like this tells you everything you need to know about using this kind of integrated security product. Crowdstrike is apparently a rootkit, and windows apparently has zero execution integrity.
Dark_Arc@social.packetloss.gg 3 months ago
dgriffith@aussie.zone 3 months ago
This was a binary configuration file of some sort though?
Something along the lines of:
IF (config.parameter.read == garbage) { Dont_panic; }
Would have helped greatly here.
phx@lemmy.ca 3 months ago
Security products of this nature need to be tight with the kernel in order to actually be effective (and prevent actual rootkits).
That said, the old mantra of “with great power” comes to mind…
arin@lemmy.world 3 months ago
with great power, don’t lay off the testing team
tzrlk@lemmy.world 3 months ago
It’s fine, they’ve just switched to a crowd-sourced testing strategy.
areyouevenreal@lemm.ee 3 months ago
Yeah pretty much all security products need kernel level access unfortunately. The Linux ones including crowdstrike and also the Open Source tools SELinux and AppArmor all need some kind of kernel module in order to work.
reddithalation@sopuli.xyz 3 months ago
crowdstrike has caused issues like this with linux systems in the past, but sounds like they have now moved to eBPF user mode by default (I don’t know enough about low level linux to understand that though haha), and it now can’t crash the whole computer. source
areyouevenreal@lemm.ee 3 months ago
As explained in that source eBPF code is still running in kernel space. The difference is it’s not turing complete and has protections in place to make sure it can’t do anything too nasty. That being said I am sure you could still break something like networking or critical services on the system by applying the wrong eBPF code. It’s on the authors of the software to make sure they thoroughly test and review their software prior to release if it’s designed to work with the kernel especially in enterprise environments. I am glad this is something they are doing though.
uis@lemm.ee 3 months ago
At least SELinux doesn’t crash on bad config file
areyouevenreal@lemm.ee 3 months ago
Yeah I am not praising crowdstrike here. They fucked up big time. I am saying that the concept of security software needing kernel access isn’t that unheard of, and is unfortunately necessary for a reason. There is only so much a security thing can do without that kernel level access.
hglman@lemmy.ml 3 months ago
Tell me you don’t understand what it is by telling me you don’t understand what Crowdstrike does.
BeardedGingerWonder@feddit.uk 3 months ago
Does anything running on an x86 processor from the last decade?
GroundedGator@lemmy.world 3 months ago
I don’t remember much about my OS courses from 20 years back, but I do recall something about walls between user space and kernel space. The fact that an update from the Internet could enter kernel space is insane to me.
whoisearth@lemmy.ca 3 months ago
I mean are we surprised by any of this?
OutsizedWalrus@lemmy.world 3 months ago
I’m not sure why you think this statement is so profound.
CrowdStrike is expected to have kernel level access to operate correctly. Kernel level exceptions cause these types of errors.
Windows handles exceptions just fine when code is run in user space.
This is how nearly all computers operate.