According to the link I clicked on to get here, this is supposed to be "linux differences".
I daily drive linux and recommend it to people who I think would do well with it, but I would never link them this website.
According to the link I clicked on to get here, this is supposed to be "linux differences".
I daily drive linux and recommend it to people who I think would do well with it, but I would never link them this website.
Well, I mean, um https://www.linuxexperten.com/library/e-resources/linux-malw...
Literal viruses on diverse unices were indeed fairly rare in the past (and are still not common).
Traditionally on most linuxes (and bsds) you obtain trusted executables from a known good source (your distribution ) , whilst files from other sources are never run at all.
This means that Linux viruses find it hard to actually spread in the wild.
This particular strength doesn't mean other kinds of malware can't still be successful, of course. (Though naturally people try to harden Linux against many threats.)
On the other hand, the vast majority of people installing applications by piping curl output to Bash are also on linuxes and bsds
If you do not already have a pubkey for which the code can be signed, then there is no chain of trust to verify in the first place. What signature would you check the code against in such a scenario? One you download from the vendor's same website?
Uh, yes? The naïve Windows user has Windows Defender scanning downloads to offer at least some token protection against known threats.
But I think the main point is that this debunks "whilst files from other sources are never run at all".
And yes: while traditionally people might install just from their distribution, times have changed a bit and people now do install from pip, cargo, npm, etc; but these are _somewhat_ trusted repositories still (rightly or wrongly).
Some people sometimes use curl as well. Due to the nature and low volume, this still doesn't give literal viruses much leeway. This is because it's not a target-rich environment (only a few executables), it's not guaranteed to happen on many computers, and most importantly, people tend to only curl in one direction. When you curl, you're mostly going to end up downloading executables from some central location. Typically these executables don't subsequently get copied to (m)any other computers or back to the server. So a literal virus doesn't get a lot of traction to replicate the way a virus wants to.
If you do manage to curl some malware, what you'd get is probably going to be something that's properly called a Trojan. Trojans are definitely a thing.
Just because you're on Linux doesn't mean you're magically completely invulnerable to all kinds of malware, you still need to act with care.
On the upside many distributions are more or less designed to keep you safe by default, and won't suddenly do something crazy to get you into trouble. On the downside the human operators are not always similarly inclined. ;-)
Well in my case, I screw around a lot on my computer. So I end up copying and pasting a few lines of bash code that download god-knows-what because I accidentally deleted the entire /etc/ directory and the howto guide that was the 3rd result on Google says "run this it will totally work".
So at least for me, yes, it's often worse than installing an .exe from a vendor's website.
But I didn't mean to say Linux installs don't tend to be safer than Windows, just that it's not as rosy as the original comment made it seem like.
Yes, there are Mac and Windows evangelist, but there's more and they are louder in the Linux community. You would think for a community that claims to support "freedom" and "opensource," they would live and let live what others use for operating systems.
I would also argue that the Mac community in particular is pretty vocal about trying to convert people to macs.
Glad they focus on the important stuff, at least.