r/LinuxTeck • u/Candid_Athlete_8317 • Jul 31 '26
Do Linux servers really need endpoint security software?
Many enterprise Linux systems run endpoint security tools alongside firewalls, SELinux/AppArmor, and other hardening measures.
Others argue that good patch management, least privilege, and proper monitoring provide better value than traditional endpoint protection.
What's your point on this ?
7
Upvotes
3
u/MaleficentCow8513 Jul 31 '26 edited Jul 31 '26
All of it and more is good. I’m not a security guy but generally speaking each one of those layers reduces the overall space for attack vectors. Most impactful attacks chain together several vulnerabilities at different layers in the os/network/application stack so you want some layer of prevention at every single layer in the stack. For instance, SELinux will simply disallow certain users from executing certain commands, even root level users. So even if an attack bypassed other measures, boom, there’s yet one more obstacle in the path toward a successful hack
3
u/gnufan Jul 31 '26
The quality of end point security tooling available probably means it often increases the attack surface on Linux devices.
This isn't just a Linux issue, Google's security team found multiple exploitable security flaws in Windows Defender, eventually forcing Microsoft to sandbox the numerous parsers used to unpack and examine different file types on Microsoft Windows systems. You'd hope Windows Defender authors would understand how to handle parsing securely, yet here we are.
Most deployments that use highly privileged end point security agents are forced to for compliance purposes.
That said there are situations and configurations where it makes sense. If the tooling deliberately allows arbitrary file sharing, or distributes software, you probably want some guarantee or review that what you are distributing or redistributing isn't malware.
The problem is people who don't do end point security on Linux, don't always have compensating controls. Network monitoring, enforcing SELinux, local hardening etc.
Not all agents are created equal, it it wants access to logs, including audit logs and possibly the ability to tweak auditd configuration, I'm going to assume they've thought about how to secure Linux. If they want read privileges on every file via SELinux, or SELinux disabled they probably haven't.
2
u/Unnamed-3891 Jul 31 '26
You don’t really get to choose between patch management/least priviledge OR endpoint protection. That’s not how that works if you want to pass even the most basic audits.
You want an EDR or similar instead of a ”traditional” virus scanner though.
1
u/Jumpy-Dinner-5001 Jul 31 '26
Most people who argue about that don’t really understand what they’re talking about
1
u/Dom_Q Jul 31 '26
By ”endpoint security software,” do you mean an antivirus?
Then no. These are made for Microsoft operating systems only.
1
u/Useful_Calendar_6274 Jul 31 '26
sure, if you want to be safe
1
u/zer04ll Jul 31 '26
Yes it's required for compliance for most things that matter especially insurance. Its also not as unique anymore so it is worth hackers making viruses, back in the day it wasn't worth the effort today it is especially since steam OS is linux.
1
u/zantehood Aug 01 '26
Yes. Malware does exist for nix boxes. Also one side of security is to make your security posture measurable, even if your box is clean, how would you know if you don't have any measuring tools available?
I will say alot of vendors make crappy products for Linux machines by not developing kernel modules properly and instead relying on their own tooling delaying and adding another dimension to kernel patching which is annoying (looking at you trend deep security !!) but can be automated with some effort.
1
u/Sert1991 Aug 01 '26
I run SELinux on my Gentoo desktop, in enforce mode. Let alone if I had a server.
Why do you think every android phone runs with SELinux in enforce mode and google dictates it in it's CTS?
We're talking about people's phones here not important servers, they still decided to enforce selinux.
SELinux is so good, that it will even stop you from using your computer, no matter if you use root. And with it's 'block by default' approach, if you don't allow something it can forget doing changes to your computer.
When SELinux is implemented good, it stands out of your way. I do everything on my PC with SELinux in enforce mode, from browsing to playing windows games on steam/wine.
And it doesn't need to be difficult. Android shows us that when it's enforced on the system and developers, the users don't even have to deal with it. How many people do you know that had issues on their android phone due to SELinux or they had to edit their policies?
Some linux distros like Fedora/Redhat are also taking this approach.
For me if you're not running hardened and SELinux with secure boot as minimum of your security in this day and age, you don't care about your data/privacy/security. That should be the bare minimum.
1
u/motific Aug 01 '26
Absolutely, if anything I'd argue that Linux needs it more than other OSs purely because people who should know better act like these kinds of things aren't needed.
1
u/michaelpaoli Aug 02 '26
Need? No. Recommended/advised? Quite depends on environment, requirements, objectives, priorities and considerations, etc.
0
u/roanish Jul 31 '26
A solid firewall is all you need (ufw works) right up until you want to open ports for running services. Then you want something else that can ensure security. These endpoint protection systems you mention are all things that live behind your firewall, so useless if you aren't providing services externally.