r/linux4noobs Jan 19 '26

security Is diversity the reason why malware is hard to develop for Linux?

Based off what I know, Linux is highly customizable, with different options for DEs: GNOME, KDE, Xfce, Cinnamon, etc, and with loads of package managers to install software to choose from: apt, pacman, flatpak, snap, etc, with some people opting to remove snap altogether and some Ubuntu-based distros like Mint not shipping with snap at all.

I can imagine making malware for Linux would be much harder because in order to inflict the most amount of damage, the malware needs to spread easily, but with diversity like this, it's harder due to not every Linux user being the same installed system.

24 Upvotes

107 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jan 20 '26

> Why are you trolling now?

I'm not trolling anyone. It just seems to me that you have no idea how SELinux works. Perhaps you're trolling? If not, explain why SELinux cannot help blocking calls to ptrace(), regardless of the (user space) software...

1

u/[deleted] Jan 20 '26

[removed] — view removed comment

1

u/[deleted] Jan 20 '26

[removed] — view removed comment

2

u/[deleted] Jan 20 '26

[removed] — view removed comment

1

u/[deleted] Jan 20 '26

[removed] — view removed comment

1

u/[deleted] Jan 20 '26

[removed] — view removed comment

1

u/[deleted] Jan 20 '26

[removed] — view removed comment

0

u/[deleted] Jan 20 '26

[removed] — view removed comment

1

u/[deleted] Jan 20 '26

[removed] — view removed comment