Is Linux Immune to Viruses?
The idea that Linux does not get viruses is a myth (http://scalibq.wordpress.com/2013/08/11/hand-of-thief-commercial-linux-malware-kit/).
Windows may have more viruses, but that does not mean that Windows is guaranteed to get a virus. If you open e-mail attachments from people you do not know, run programs without scanning them first, setting insecure root password on your computer, no amount of Windows or Linux can help you there! đ
Posted in Operating Systems
Is There Anything Wrong with Using Linux as a Server?
I have used both Windows and Linux on servers. They both are capable operating systems. What you need to ask yourself is “What do I need and/or want?”
I cannot (nor can anyone else) tell you “you need to use Windows…or…you need to use Linux”. If you know what your goals are, then it will make it easier for you to decide which OS to use as a server.
Here are some tips on which OS to use, based upon some possible reasons you have for choosing one OS over the other. Please note these are based upon my own opinions from using both for several years.
Supports the Most Popular Web Technologies | Windows/Linux (a tie)
(Windows does support ASP & ASP.Net, whereas Linux officially does not) |
---|---|
Makes Better Use of Your CPU | Windows |
Makes Better Use of Your Memory | Linux |
More Flexible (not counting file-system security permissions) | Linux |
Out-of-the-Box Security | Windows |
More Stable | Windows / Linux (a tie)* |
Availability of Free Server Software | Linux |
Available Online Support | Windows / Linux (a tie) |
Flexibility of File-system Security | Windows** |
More User-Friendly | Windows |
* In my opinion, 99% of crashes on Windows are due to faulty hardware and/or drivers. However, both Windows (NT family) and Linux are stable operating systems, when using good, stable hardware and good, stable drivers.
Posted in Internet and Servers, Operating Systems
Response to “5 Reasons Why Linux Is Better Than Windows”
This is a response to the authorâs post of â5 Reasons Why Linux Is Better Than Windowsâ (http://www.ittwist.com/2013/02/5-reasons-why-linux-is-better-than.html).
My responses are in purple and direct-quotes from the author are in red. Please note that no disrespect is intended with my replies.
Update 03-06-2021: The author of the blog post I responded to appears to have removed his post some time ago.
1. Highly Secure :
The main plus point of the linux is security . In windows , we have generally noticed it is very much prone to viruses , threats and malware which destroys computer performance by slowing it down. in Linux , there is main feature that it doesn’t supports viruses which doesn’t interfere with your computer speed.
Generally, viruses are made in .exe files ie., executable files , which windows uses as default for running applications but in linux there is no such restriction because it doesn’t supports exe files. So, it doesn’t supports viruses too.
Let’s take these two paragraphs a little bit at a time.
The main plus point of the linux is security .
That is something that Linux has been advertising for a long time. However, Linux may not be as secure as you may think.
Technically Linux is just the OS kernel, not a whole distribution. For the sake of argument, if Linux were 100% secure, it would not really matter since the software you would run on Linux would have security issues anyway.
In windows , we have generally noticed it is very much prone to viruses , threats and malware which destroys computer performance by slowing it down.
Granted there are more malware for Windows, but Linux has malware as well. Here is a good example.
https://blogs.rsa.com/thieves-reaching-for-linux-hand-of-thief-trojan-targets-linux-inth3wild/
A Trojan is being sold to infect Linux usersâ computers. As you can see, Windows is not the only OS with bad guy problems. Do not ever think that using Linux makes you immune to malware. It does not. Also, not all malware causes a noticeable slowdown to your computer.
in Linux , there is main feature that it doesn’t supports viruses which doesn’t interfere with your computer speed.
That does not make sense. How can an operating system “not support” viruses?
Generally, viruses are made in .exe files ie., executable files , which windows uses as default for running applications but in linux there is no such restriction because it doesn’t supports exe files. So, it doesn’t supports viruses too.
The author seems to think that viruses only come in exe files. Viruses come in all kinds of file extensions, not just exe files. Saying that Linux does not get viruses because it “doesn’t support exe files” is incorrect.
Linux can get viruses too, but without running a real-time anti-virus program on your Linux box, how can you have the potential to know that you do not have a virus on your Linux computer? People who say that âno virusesâ is a reason to switch to Linux do not know what they are talking about.
2.Fast Boot :
Now linux operating system boots faster as compare to windows operating system. The linux kernels are much improved which boots them up within few seconds .
Like Ubuntu , Linux Mint , Fedora etc. are linux operating system that boots within 15 seconds.
We are showing you a video depicted ubuntu , using linux kernel to boot at faster speed.
[The video can be seen on the blogâs website. The link to the blog post is at the top.]
Puppy Linux , a smallest linux distro that is about 150 MB boots within 5 s , that loads perfectly into RAM & consumes low hardware in your computer .
The video looks fake. Regardless, faster boot time is not a reason to say that Linux is better than Windows.
Also, you cannot compare Puppy Linux with Windows. They are not in the same league.
3. Built In Software Packages :
In windows we have to install extra , must have softwares for eg., MS Office. But linux have much smaller size (Less than 2 GB) as compare to windows ( More than 2GB ). It includes the packages like Libre office, Cloud storage , browsers as default which is there when you install it.
This point does not make any sense whatsoever.
Keep in mind, size is not nearly as important as usability. Linux is not user-friendly (despite what others may tell you) when compared to Windows.
4. No Cost !!:
Windows operating system is paid ,which offers the users to try it & activate their operating system at the reasonable prices. But Mostly users activate their windows operating system by unfair practices by using cracks or activators which contains viruses . To read what is difference between Original & Pirated Windows follow this link.
[The link can be seen on the blogâs website. The link to the blog post is at the top.]
 Linux is free of cost , you can easily download the distro on the manufacturer website & install it on your machine.
How does this count as Linux being better than Windows?
5.  Crashes rarely :
If you are using windows , you might experience a crashing problem means windows operating system generally involves blue screen of death ( Involves a blue screen after which your pc restarts ). But in linux , operating system crashes rarely . Sometimes the operating systems application programs freezes but do not lead to restart or unwanted crash.
Most of the time (I would say 99% of the time), crashes on Windows are due to faulty hardware or drivers. Linux is not crash proof. On Windows, you usually have several drivers installed from different sources. All of them having to work together with the OS.
On Linux, I believe many people use whatever drivers Linux has in its kernel for their hardware. This would technically make the computer more stable, since all the drivers they are using were put into the kernel by the same people who manage the kernel.
The disadvantage to using generic device drivers from the Linux kernel is that you may not get your hardwareâs full potential. It would be better, in my opinion, to use drivers from the manufacturer of your hardware (if possible). Remember, if you have bad memory, even Linux will not be able to really help you there 100%.
Also, Linux has its own version of blue-screening called Kernel Panic.
Conclusion: Windows and Linux are both good operating systems. You must decide which is best for your needs/wants. However, please do not accidentally mislead people into thinking that Linux is king of the operating systems. It is not, but Linux can and does work for millions of people around the world.
Posted in Operating Systems
Response to “6 Reasons Why Linux Servers are More Secure”
This is a response to the authorâs post of â6 Reasons Why Linux Servers are More Secureâ (http://smashingtips.com/6-reasons-why-linux-servers-are-more-secure).
My responses are in purple and direct-quotes from the author are in red. Please note that I mean no disrespect with my replies.
-SEVERAL LEVELS OF SECURITY WITH LINUX SERVERS-
Linux based servers are not much different in terms of capabilities with what the server can provide in terms of processing the websites and other information stored on the server. The big difference between Linux servers and other options is the fact that there are many more layers of security that are possible with Linux based server software. There are other security layers possible with third party software mechanisms available as well.
What does âmany more layers of securityâ mean? With all due respect, there is no information here that would convince me that Linux software is secure, much less really secured.
Bottom line: There is no real information in this section to make an argument for Linux software being secure.
-YOU CAN LIMIT ACCESS TO THE ROOT OF THE SERVER-
You can limit Root access as well as disable Root SSH Logins that make it possible for hackers to gain access to your valuable files and other resources on the server. You can even make it so only a few users have access to administrative tools by setting special user attributes while others are still restricted in the event that a hacker got a hold of another user account which could attempt to use the switch command to the Root of the server.
I am not sure how this qualifies as a point of Linux being more secure than other options that are out there. In Windows, you can limit access to the Administrator account (the Administrator account on Windows is like the root account on Linux).
Linux, Windows, Mac OS X (a UNIX, not Linux, OS), and FreeBSD (a UNIX, not Linux, OS) are all the same in this regard. Windows Administrators can limit their own access via ACLs (Access Control Lists) that are present in the NTFS file system. Linux has ACLs too, but I do not think they are widely used nor do I think many Linux programs are compatible with ACLs.
Bottom line: This is a weak argument for Linux being secure.
– SOFTWARE OPTIONS FOR LINUX SERVERS ARE LESS VULNERABLE-
Most of the software that is developed for Linux servers is designed to have the highest levels of security to prevent hackers and virus attacks. The vulnerability of the software is entirely up to how long a hacker is willing to attempt to hack each individual software component of the servers that you are using. This limits the access to the important sections of your Linux servers and provides even more security.
Where is the proof to back up the statement âMost of the software that is developed for Linux servers is designed to have the highest levels of security to prevent hackers and virus attacks.â? I highly doubt that most software for Linux is written with high security in mind. Sure, I can see some server software for Linux designed with heavy security in mind, but not most of the Linux software. You really cannot make statements like this without some proof (like a link to a reliable source on the Internet) to back it up.
Bottom line: Nothing here to really make a good argument for Linux security.
-UPDATES TO LINUX SERVER SOFTWARE ARE MORE FREQUENT-
The constant necessity of security with Linux servers prompts for more frequent software updates. These updates remove vulnerabilities as well as increases security all around. When used in conjunction on servers, the security of the server is increased exponentially. It simply becomes more secure every month providing that the owner of the server performs the updates to the software options when they become available for use.
Software updates are not always for fixing security problems. Even when updates fix security problems in both the OS and the software running on the OS, that does not mean that the update did not cause other security problems that have gone unnoticed. In addition, you could count many updates as not a good sign, since it might indicate a design flaw in the OS or the software you are updating.
Bottom line: Many OS/software updates DOES NOT equal better/more security.
-NO EXECUTABLE AND REGISTRY-
Like windows linux doesnât support .exe files. Most of the viruses in windows are being spread with .exe files what happens you just double click on .exe file and virus,trojan or malware easily integrate itself with windows. And similarly Registry is another place where viruses put their information. Even if you delete the file, It rewrites its information from registry and it is also too difficult to find where virus hides its information in registry.Linux uses configuration files rather than registry so another big hole for viruses is closed and as i mentioned in point 1 that linux doesnât allow any normal user to edit system files.
Viruses are made in different file extensions, not just exe files! Saying that Linux does not get viruses because it “doesn’t support exe files” is silly.
A virus is just a program that runs without the user knowing it is there (at least that is the idea ;-]Â ) and runs a pre-programmed set of tasks that the virus author(s) want it to do. Some viruses, I am sure, have some sort of A.I. in them to adapt to situations, but these are very rare to come across.
Also, it’s not really true that Linux does not support exe files, since if you install “wine” (a program that tries to run Windows programs on Linux) then Linux would then support exe files!
Linux can get viruses too, but without running a real-time anti-virus program on your Linux box, how can you have the potential to know that you do not have a virus on your Linux desktop/server? People who say that âno virusesâ is a reason to switch to Linux do not know what they are talking about.
Also, you cannot blame the Windows registry for the virus’ use of it. Using configuration files, instead of a registry, does not really make you any more secure. Who says that viruses could not make use of current OS config files, or even make their own config files on your computer.
Bottom line: You cannot take a file extension used in an OS (in this case, .EXE files in Windows) and make it sound like it is an evil file extension that causes the spread of viruses on that particular OS (Windows in this case). Someone could put a virus in a .SH file for Linux and you could be infected if you ran it, or any other file in Linux, since most if not all files in Linux can be used as an executable. However, the file would have to be chmodded to allow the file to be executed. Lastly, the Windows registry cannot be blamed for the viruses using it.
-FTP ACCESS IS RESTRICTED AND EASY BACKUPS ARE POSSIBLE-
You can restrict access to the FTP for the Linux server to allow for different levels of access to all of the allowed accounts. This access can also be limited to only viewing and downloading content from the server. You can also make quick backups of all important data with a Linux server which can be restored in the event that the server is changed during an attack. Backing up couldnât be easier on Linux, cron jobs make backups pretty painless and the options are really unlimited for choosing the best way to back up your server.
UmâŚFTP servers work on Windows and UNIX too (with user restrictions as well). I really do not understand what your point is about FTP.
âEasy backupsâ and âcron jobsâ have nothing to do with what your article is talking about. I really do not understand your point on this one either.
Bottom line: Nothing here to suggest that Linux is more secure choice than other OSes.
-CONCLUSION-
Being able to choose between different distros on Linux creates limitless possibilities. Debian, Ubuntu, Red Hat, and all of the others provide different features for server admins to choose from. The ability to run the distribution that best serves your application, company, or web site really allows Linux to be the best all around option for a server admin. Windows is limited to Windows Server, which provides great functionality, but the depth that Linux can provide cannot be easily matched. Let alone the performance.
Having these options available as a server admin may be confusing as a new comer, but as you start learning about the features and unique qualities of each distribution, you will be able to find a favorite that suites you and really get the most out of your server by utilizing every aspect of the hardware and software working efficiently together. The most fun part is sometimes just downloading 10-20 different .isoâs of the new linux distributions and installing them on different partitions or running them on LiveCD or USB stick and playing with the new features and environments each of them are working on.
Go out there and learn about the advantages and disadvantages of each Linux distro and find the one that best suites you and learn it inside and out. Doing so will give you the best experience and most secure server you could ask for.
âThe ability to run the distribution that best serves your application, company, or web site really allows Linux to be the best all around option for a server admin.â Many options can be a good thing or it can be a bad thing. If I were a web hosting company, and everyone on an online forum told me to use CentOS, no waitâŚUbuntuâŚno waitâŚGentooâŚno waitâŚFreeBSD (UNIX OS)âŚno waitâŚDebianâŚno waitâŚLinux MintâŚno waitâŚOpenSUSEâŚno waitâŚArchâŚno waitâŚFedoraâŚno waitâŚI would just have to try them out for myself.
With Windows, many programs will work fine from one version to another. The Windows OS itself, on the surface, will pretty much run the same from one version to another (I know there are changes under the hood though and Windows 8 and Windows Server 2012 had big interface changes).
âWindows is limited to Windows Server, which provides great functionality, but the depth that Linux can provide cannot be easily matched. Let alone the performance.â
Ok. Letâs talk about this sentence one part at a time.
âWindows is limited to Windows ServerâŚâ – What exactly are you meaning? Of course, Windows Server is Windows Server. Linux is Linux. UNIX is UNIX.
ââŚwhich provides great functionalityâŚâ â True!
ââŚbut the depth that Linux can provide cannot be easily matched. Let alone the performance. Let alone the performance.â â I agree that Linux is much more flexible than Windows, but performance wise it all depends on your hardware, software, Linux kernel (the Windows kernel you cannot change or modify, but it obviously works fine for many people the way it is).
âHaving these options available as a server admin may be confusing as a new comer, but as you start learning about the features and unique qualities of each distribution, you will be able to find a favorite that suites you and really get the most out of your server by utilizing every aspect of the hardware and software working efficiently together. â â Most people are not going to have time or even want to do this. The idea is to make things easier for people, not give them 10s or 100s of operating systems to go through.
âGo out there and learn about the advantages and disadvantages of each Linux distro and find the one that best suites you and learn it inside and out. Doing so will give you the best experience and most secure server you could ask for.â â I would agree that researching the right Linux distribution (at least during the time you have available to burn) would help you to choose a good distribution, but I disagree that research would give you the most secure server you ever could get. You can secure Linux, Windows, and UNIX, but nothing will be totally secure.
Posted in Internet and Servers, Operating Systems