Пропускане към основното съдържание

Is Linux Really as Secure as You Think It Is?

Security is an important topic on everyone’s minds in today’s highly-technological world. With all of the security news that pops up on almost a daily basis, trying to be aware of the choices you make can make a big difference. Linux is often touted as the most secure operating system you can get your hands onto, but is this reputation deserved?
Let’s take a look at different aspects of Linux security.

Security Practices of Distribution Maintainers

For a short period of time in February 2016, some links on Linux Mint’s download page redirected to an altered installation image that contained a backdoor. Since then, Linux Mint’s maintainers have gone under attack for bad security practices both on their own servers as well as in the Linux ecosystem (for example, not releasing their own security advisories). Not all distributions are the same, and that applies to security as well.
While this is an extremely rare occurrence, it does show that attackers are targeting Linux and that such exploits are possible. Keeping track of the latest security news is very important, whatever platform you’re using.

Malware

One of the biggest concerns on many people’s minds is malware. This includes things such as viruses, spyware, worms, and so on. All of this malware has one thing in common: it needs to run code in order to work. Thankfully, there is barely any malware in existence for Linux compared to Windows and even Mac OS X. On Wikipedia, a partial list of the most common malware for Linux is only about 54 items long.
However, the fact that the list is longer than zero items proves that Linux isn’t impenetrable. The fact that the list is relatively short is thanks to a few different factors, including:
  • There are relatively few Linux desktop users, and Linux server administrators usually know how to secure their server.
  • Windows viruses cannot run on Linux (unless they have the help of WINE).
  • There’s a fantastic permissions system in place to minimize damage done by malware.
clamtk_main
Now, although the risk of Linux viruses wreaking havoc is low, there are antivirus clients (such as Clam Antivirus) you can get for Linux. The twist is that these are mainly used to scan for Windows viruses. The idea is that as data passes through your Linux system, it can be scanned for viruses so that it does not infect other Windows users who might be receiving that data at some point. Consider it a public service.

Permissions Save the Day

Wait, what’s this permissions system mentioned earlier? Files are owned by users and groups, and there are three levels of permissions: permissions for the owner user, permissions for the owner group, and permissions for everyone else. The possible options for each level are read, write, and execute permissions or any combination thereof. So for example, the owner user could have full permissions, the group can have read permissions, and everyone else can have no permissions at all.
linux_file_permissions
If malware does ever run, it’ll most likely run with your user’s permissions, so the damage will be localized but it won’t take down your whole system. Why? The system-related files are owned by the “root” user. This is the reason why it’s recommended to use the root account (or sudo) as little as possible to avoid the risk of running malware as root. Because if that happens, it’ll definitely wipe out your whole system (if the malware was written to do so).

Firewall

gufw_preferences
Having a firewall is still extremely important, however. Linux is no different than the other operating systems when it comes to networking — without software to control the ports, anything from the outside world can connect to your computer and start causing mayhem. As a desktop user, the quickest and easiest tool to make sure that you have a firewall enabled is Gufw, a graphical tool for the UFW firewall. It’s a very simple thing you can do to protect yourself from attacks.

Phishing

Next, phishing. I’m of the opinion that this is actually a bigger threat than malware because it can happen to anyone and is much more difficult to prevent. And there’s still nothing that your choice of operating system can do to protect you from phishing attacks. The only way to truly protect yourself from phishing attacks (besides from being proactive in identifying them) is to disconnect from the Internet completely. But we know that the Internet is just too good for us to want to do that.

Installing Software

There’s also a related risk — being tricked into installing malware. If you’re new to Linux and look up how to install a certain program, you may be given links to download packages that end up containing modified or entirely different software than what you wanted. Once you install it, you’re pretty much screwed.
Remember to check what you’re looking up and always try to install software from the official repositories whenever possible. And if you’re installing software from a PPA, make sure that it’s officially from the developers and trusted.

Not A Magic Pill

So after all that, is Linux actually safer? Yes, and quite objectively so. However, it’s still not bulletproof and cannot protect you from everything. So if security is on the top of your mind, definitely give Linux a shot. Just remember to continue keeping an open mind about security threats as they do still exist.
What all do you do to secure your Linux system? Let us know in the comments!
Image Credits:penguin carrying a rifle by 3Dalia via Shutterstock
Explore more about: Computer Security, Malware, Online Security.





Коментари

Популярни публикации от този блог

13 Most Promising New Linux Distributions to Look Forward in 2019

There are distributions that will always make it to the top ten, whereas others may be in the list today and not at the end of next year. Another not so well-known feature of  Distrowatch  is a  waiting list  that consists of distributions: Not reviewed yet With missing or faulty components Without solid English documentation Projects that do not seem to be maintained anymore Some of the distributions that have not been reviewed yet may be worthy of consideration due to their great potential. Keep in mind that they may never make it to the front page ranking due to lack of time or  Distrowatch  resources to review them. For that reason, we will share a list of what we consider the  13  most promising new distros for  2019  and a brief review on each of them. Since the Linux ecosystem is a live being, you can expect this article to be updated from time to time, or perhaps be radically different next year. That said, let’s take a look! 1. Condres OS Condres OS  is

Ubuntu 19.04 Release Date & Planned Features

The Ubuntu 19.04 release date is scheduled for April 18, 2019. This date appears on the draft release schedule for Ubuntu 19.04 ( named the ‘Disco Dingo’ ), which was recently added to the official  Ubuntu Wiki . Dates for the other milestones that typically take place during an Ubuntu development cycle are also pencilled in, including the following freeze points: Feature freeze:  February 21, 2019 UI freeze:  March 14, 2019 Kernel freeze:  April 1, 2019 Once again  there will be no alpha release  during the “Disco Dingo” cycle but an official Ubuntu 19.04 beta release will be available to download and test in March: Ubuntu 19.04 beta release date:  March 28, 2019 All going to plan the final, stable release of Ubuntu 19.04 will strut on to the dance floor in mid-April: Ubuntu 19.04 release date:  April 18, 2019 At this early juncture it’s worth noting that all of these dates are subject to change. So, if you’re making a note of them, best jot them down in pencil r

Ubuntu MATE 18.04 LTS Final Release

Charles Babbage wasn’t lying when he said “The only thing that would make my Difference Engine any better would be a modern customisable desktop environment that didn’t deviate from traditional desktop paradigms (unless I wanted it to.)” In a long lost diary entry Ada Lovelace scribbled “If only my code could be matched to an OS that had a perfect blend of usability and style accompanied by a handpicked selection of quality software packages.” ENIAC , moments before being unplugged in 1956, spat out a final message: “Give us a reboot when Ubuntu MATE 18.04 LTS is out will ya?” Dust off 20,000 vacuum tubes and check those 5,000,000 hand soldered joints because Ubuntu MATE 18.04 LTS is here and it’s time to power it up. MATE Desktop 1.20.1 inclusion alone is enough to make Babbage weep with joy but there is still more. Caja is primed to encrypt your secrets with GnuPG, and with bulk renaming built right in to the file manager you can finally deal with those pesky family reunion ph