contador web Saltar al contenido

The Truths About Linux: Why doesn't the system catch viruses?

Linux does not catch viruses, is that true? Understand how things work

linux-dont-get-virus-en

Today we will address one of the greatest legends of informatics, "Linux does not catch viruses"It's the only problem with legends that sometimes they are real. (muahahaha!)

Before explaining the details I did a search on the internet to gain a bit more ground beyond my knowledge to give you true and correct information on the subject, interestingly that I found several comments at least distorted about the subject and before we start let's laugh a little ok?

When the question: Linux does not catch viruses?

Of course, that's the only reason …
HUAHSUAHSUHSUASH
"In more parts and other MENAS"
True, whenever I download a program I have to decrypt, and that's the first argument
I wonder how hard it must be to make programs for Linux, a system that doesn't give you the code to study even complicated = /
System deployed for light viruses? Still trying to understand this …
Makes sense n? or no?

Amid so many people with little information passing through known and known I decided to try to clarify as best as possible this issue of viruses in Linux.

Windows, a vulnerable system

The biggest cases of computer infections come from computers running Windows as the operating system, but have you ever wondered why this happens and why it never changed?

Firstly is the system's user structure, secondly the many vulnerable points it presents, thirdly the large range of inexperienced users who use the system (though not a good reason) and lastly the total lack of interest in correcting some security holes.

I explain…

The first reason that Windows has an easy infection is that Windows usually leaves the Administrator user, also known as Root, as the primary computer user, that user is capable of making system changes and the maximum Windows will put in the path of a computer. A program will be installed to ask if you want to continue with two options "Yes" or "No".

Windows Run Confirmation Screen

This screen does not ask for any type of authentication to authorize software to be installed on the system, it does not ask for any click on Continue and the program will be executed.

Because of this not only viruses are more easily installed but also other software that does not have very good intentions, such as Hao123 and Baidu, which by the way are the same developers.

In addition, critical points in Windows, such as its famous registry, the System32 folder (where the system kernel is located and the main libraries, DLLs) are easily accessed by any users using the system in administrator mode; It is possible to use the system with a restricted user but from personal experience, in many years teaching computer classes, most people do not use this resources, lack of knowledge? Perhaps, Microsoft could enforce the use of a user more safely but does not.

We can not deny that the existence or not of viruses is linked to the user who uses the system, there are many more lay users of Windows than Linux, since Linux just kind of incites learning, but we can not dismiss this thesis.

Following the example of Linux that leaves "open doors" for anyone to see how the system works Microsoft could adapt the good security features of Linux to their system, but of course there is something very commercial behind that, Microsoft. a partner to many antivirus software companies, since the servers are dominated by Linux, what remains for these companies is home users and companies as the biggest customers, if Windows were less vulnerable, revenue would decrease slightly, and that doesn't matter much. for them actually? Business my friend!

I have always wondered why Windows Firewall and Windows Defender exist if when you install the system it recommends installing antivirus software.

In the case of Linux, as it is not a for-profit corporation, there is not the slightest interest in creating a dedicated environment for virus proliferation.

You may have been a little surprised that the article talks about viruses on Linux and so far we have been talking about Windows but what I wanted to show is what are the flaws of Windows to make it easier to understand how and why Linux doesn't catch viruses through. simple safety measures

Virus on Linux, have or have not?

Once and for all, yes it has! But … (and always has a "but") there are several features that make it unlikely that a Linux system will catch any of these pests.

Viruses for Linux exist and even have a good number but for some reasons I intend to elucidate they are mostly harmless.

A non-invulnerable computing system, Linux is not invulnerable, but compared to Microsoft's system Linux is a "wall" while Windows is a "white wall."

Intelligence in user management

Let's take Ubuntu as an example because it is the most users-based Linux-based system, I haven't forgotten Android, but Android doesn't have a wide range of desktop users and it has been deeply modified, I'll talk about it later; I will use Ubuntu as an example because it is the distribution I use.

Root Password

In the case of Ubuntu as soon as you install the system you are using a standard type user, ie it does not have root permissions to make changes to the system folders, the only place the user has "jurisdiction" your own / home / user / folder, to install any program you need to go through a confirmation screen, but unlike Windows just click "Yes" or "Continue" on Ubuntu you will need your Root password, It is created in the installation of the system, that is, if you are not really the "owner of the berry" you can not make deep changes in the system, however as if that were not enough there is "sudo"

If you already use tutorials to install certain programs on Ubuntu, especially those that come via PPA, you should already have using the "sudo" command, "sudo" is a way to give temporary permissions to a given program until it meets the soon after that the normal user will be used again.

This way there is also the possibility of being root in specific programs, for example, not because you are as root in the terminal you can copy files as root with the file manager for example, this ensures more security.

In practical terms, in addition to having to find a virus capable of doing some damage you have to give it execute permissions and still run it as Root so that it can perhaps infect system files, ie you have to say, "Virus infect me!"

Program Installation

There are several websites on the Internet that make programs available for Windows, many of them are pirated files that because of this may already contain security holes, when not really viruses, and there are still other sites like Baixaki (yes I do! ) providing software with an installer that is the last concern downloading the software the user wanted, it is not uncommon to install a program downloaded by Baixaki and it gives you eye-popping options to influence the user to install third party programs, often without While knowing what is happening, advocates (if any) will say that at the time of installation there is the option to disable the installation, as well as view and read the licenses of the programs that will be installed.

That's true, but it would be much more typical to leave the installation of such software as Baidu (man, I have a rage at this pest!) Disabled as standard and not enabled, if users really wanted to install it would mark, but like most Windows users adpto Good old "Next, Next, Finish" many would not end up installing, and that would not be very good for business, right? Double Business my Friend! *

J on Ubuntu …

Major programs are available from official repositories that are maintained by the distribution itself, they are tested before joining the Ubuntu Program Center to make sure it is quality software and that you don't try to push things to the user without wanting them.

Program Center, the safest way to install software

There are still programs that are installed via PPA, these are developed for third parties but you can still see every package that is available inside the repository through its Launchpad page, there are still .deb files and scripts, both can have their own. Checked content before installing and still you need to enter your root password to run them, ie if the user has a minimum of care, even if there is no possibility of infection, use only the official repository is a good way to do it.

That is, to "shit" on Linux needs to be more experienced and try harder things, a lay user who only uses the PC to chat with friends and raise chickens on Facebook will be protected, unlike Windows users who can not. Even Facebook catches the famous "Face Color Changing Virus".

The executables

Another detail is the common virus file types on the internet, they are usually developed for Windows, exploiting the security holes we have already commented on, they have the format EXE, or BAT or MSI, or any other Windows executable does not run on Windows. Linux

The only way to run them using WINE is to actually get a Windows virus from WINE, but just delete the hidden directory " .wine "in your Home to finish them all.

Linux has no users so there is not so much virus

I think this is the biggest bankruptcy of all, Linux may not even have as many desktop users as Windows but virtually all Internet servers run Linux, even Microsoft. ends up using Linux on some of them like Bing outsourced to Akamai, that is, most major computers in the world use Linux, who intends to create viruses to do major damage would not have to do, especially with the code facilitator open to exploit all vulnerabilities.

Linux has constant updates

Because the code is opened the bug fix speed is also higher, so many people debug the Ubuntu code at each release, not only Ubuntu but Kernel Linux too, so bugs are quickly identified and fixed through system updates, At the same speed that a cracker could identify a system crash and create a virus to attack it a hacker can do the same and indicate the fix, and as I said before, for the system not to have a clear profitable purpose there is no interest for anyone. that the system has viruses.

Java, the possible Achilles heel

Every once in a while (when the rainbow comes out) a Linux virus comes up that says it can do more damage, such as stealing bank passwords, and it's usually just Java programs, so the problem goes a little beyond Linux, It exploits browser crashes and Java itself and Linux itself.

Luckily there are few lay users who really need Java, maybe only if you have the practice of using your bank's internet banking, otherwise OpenJDK that gets updates more often than Oracle's Java should handle, including to play Minecraft: 3

Android, the Linux that has viruses

Vrus on Android

"It says Linux has no viruses but my Android is biting the screen of so many viruses"

It's certainly worth talking about, you may have wondered, "u, but if Android Linux why does it have so many viruses for it?" And the simple answer, Android has a huge mass of users.

The amount of users is directly related to the amount of virus produced for the system, that is logical, but it does not mean that the system is more vulnerable because of it.

If you already got viruses on Android tell me how it went, was downloading an APK was not it? Ahh, did you root the device too? So sorry, but it's your fault!

I use Android for 3 years, I have root, when using antivirus, I changed Rom about 20 times and never caught viruses, miracle? No, heed my noble friend.

Android gives you the ability to change and tweak the system profoundly, just like any other Linux, unlike Android as a distribution has been modified by Google profoundly and does not resemble any other Linux distro, perhaps the biggest problem is doing Root on Android is in many cases within the reach of just curious people who don't seek to gain prior knowledge before they root the Smartphone and end up doing things they shouldn't.

As a rule if you only use Google Play to download the programs you will have no problems.

The user makes all the difference

It may seem clichy but the true truth, the best antivirus is still you using the computer, I believe that if you take care even on Windows you will have few problems with it, it happens that on Linux if your child unintentionally clicks on a link within A gaming site will not earn you a toolbar or trojan as a gift.

And to answer the question …

Linux catches viruses? Yes it does, not a completely immune system but honestly, I find it very unlikely you will get one, and if you still hit a paranoia just turn on the Firewall, yes here it works.

Now that you know better how things work and you just have more time to say that "Linux does not get viruses" and can better explain to your colleague who only knows how to install Baixaki, spread this article, comment, disagree and agree, let's talk!

See you next time!

Want to stay on top of everything that happens here?