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

Do I Need a Web Hosting Control Panel?

If you are looking into running your own web server, you probably have heard about web hosting control panels before.

Web hosting control panels are software that runs on a web server that allow you and others to manage web domains, e-mail accounts, FTP accounts, MySQL databases, etc.


Here are four questions to ask yourself, if you are wondering if you need a web-based control panel:

1) Are you experienced using the Linux command line? If you plan to use Windows, have you ever administrated a Windows server before?

2) Do you have intermediate knowledge of how to setup and run a web-server?

3) Are you good at problem-solving?

4) Do you have many websites to manage?

If you answered “no” to questions #1, #2, or #3  and/or  you answered “yes” to question #4, then you will be more comfortable using a web hosting control panel. Also, if you are planning to sell web-hosting or have a lot of websites to host, then using a web-hosting panel may be easier than doing everything manually. Otherwise just forgo a web hosting control panel and do it yourself.


Please keep in mind, using a web hosting control panel, you are potentially making it easier for a targeted attack, since one little web panel script with a vulnerability in it can potentially compromise your server (not joking).

If someone does hack the web-based control panel and gets into your accounts, they can do some serious damage and you better hope you have a current backup that restores successfully.

Here is an example of a web hosting control panel giving you a security problem (I know the linked article is old, but it still proves my point): https://krebsonsecurity.com/2012/07/plesk-0day-for-sale-as-thousands-of-sites-hacked/


Web-hosing panels are there to make your job easier, usually at the expense of being flexible with your server. When using a web-hosting control panel, you are “locked-in” with whatever the web hosing panel allows you to do. It’s basically convenience or flexibility with your server.

It is not advised to “do your own thing” (doing something that the web-hosting panel does not support; going around the control panel to do something), since this can cause problems down the road. It’s best to just stick with whatever the web hosing control panel provides you, so you better pick the right one the first time.


Posted in Computers, Internet and Servers, Software

Similarities of Windows and Linux

Windows and Linux both have the potential to accomplish the same things (like web hosting). There are differences, but in the long run, it is really a matter of what you need and if possible, want to use. Note: This list does not contain every single similarity between Windows and Linux. Somethings in this list have to do with the operating systems them-self. Other things in this list have to do with the way people make use of them.

Last Updated: 12-04-2015

1) Windows and Linux both can have limited “non-root” (Linux) and “non-administrator” (Windows) system users.

2) Both Windows and Linux can host PHP websites via FastCGI.

3) Both Windows and Linux have anti-virus software (many more anti-virus programs
for Windows, almost nothing for Linux).

Note: 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?

4) Both Windows and Linux can run several different types of web services (e.g., web server, e-mail, DNS, MySQL, etc.)

5) Both Windows and Linux can run several pieces of hardware out of the
box.

6) Both Windows and Linux can blue-screen (in UNIX and Linux it’s called:  Kernel Panic)

7) Both Windows and Linux make good use of your system resources.

8) Both Windows and Linux can run many days without a reboot.

9) Both Windows and Linux have file-systems that can become corrupted.

10) Both Windows and Linux are used in Professional companies for doing work.

11) Both Windows and Linux have open-source software that runs on them
(e.g., Apache Webserver,  BIND DNS,  SpamAssassin,  Mozilla Firefox,  Mozilla Thunderbird,  Blender,  etc.)

12) Both Windows and Linux can take a while to setup correctly.

For example, downloading and installing updates, making sure that SSH (or if you are using Windows, Remote Desktop) is setup correctly, drivers are installed and working properly, host-name for the computer is set, (if you are running a web-server) making sure that you have a separate user account for each web service you host (for increased security), etc.

(in my opinion, Windows takes less time setting up than Linux, but that may not apply in your situation).

13) Both Windows and Linux have support (Red Hat and SUSE are two for
Linux, and of course Microsoft supports Windows).  Both also have free online support via web forums.

14) Both Windows and Linux can boot quickly.

15) Both Windows and Linux have pretty good security. Windows has Access Control Lists on its NTFS file-system, but Linux uses Read/Write/Execute bits by default instead.

Linux does have the ability to use ACLs, but I have never heard of Linux using ACLs by default.

Access Control Lists basically allow you to fine-grain your file-system security. The Read/Write/Execute bits are very limiting compared to ACLs.

16) Both Windows and Linux can get viruses (Windows is the larger target for malware, but this does not mean that Windows is easier to infect, nor does it mean that you are guaranteed to get malware when using Windows).

17) Both Windows and Linux are stable operating systems.

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.

18) Both Windows and Linux can be secure, if you know what you are doing.

19) Both Windows file-systems and Linux file-systems suffer from hard drive fragmentation.

When you delete files (on any file-system, NTFS, ext4, ext3, etc.), you leave gaps in the file-system. These gaps will be filled with other files, but you will also have files before and after the new file. So when the computer goes to access the data, it has to sift though all of the data to find the bits and pieces it needs to complete the task.

20) Both Windows and Linux can read several file-systems (For Example: there are drivers for Windows that allow you to read EXT3/EXT4 Linux file-systems).

21) Both Windows and Linux run mission-critical applications.

22) Both Windows and Linux can be hacked by malicious Internet users.

23) Both Windows and Linux can be used to host online game matches on the Internet.

24) Both Windows and Linux have plenty of development tools to write software.

25) Both Windows and Linux work on embedded devices. (Windows CE is Microsoft’s OS for embedded devices)

26) Both Windows and Linux can run as a server on low-memory systems. (On Windows, you can use “Server Core” to not only save RAM, but to lower the attack surface of your server)

27) Both Windows and Linux can be used to program micro-chips.

28) Both Windows and Linux are used in industrial manufacturing of products.

29) Both Windows and Linux are used by governments to run and manage utilities.

30) Both Windows and Linux have 32 and 64 bit editions.

31) Both Windows and Linux have the ability to use virtual memory (SWAP).

32) Both Windows and Linux have the ability to run automated tasks set by the user. In Linux, this is called “Cron”.  In Windows, this is called “Task Scheduler”.

33) Both Windows and Linux support Type-1 and Type-2 hypervisors for running virtual machines.  A couple of examples of Type-1 hypervisors would be Hyper-V for Windows and KVM for Linux.

34) Both Windows and Linux have the ability to quickly communicate information between running programs on the computer.  In Linux there is something called “Unix Domain Socket”.  In Windows there is something similar (not exactly 1:1 though) called a “Named Pipe”.

35) Linux has integrated firewalls in its kernel (e.g., ipchains, Netfilter, nftables).  Windows’ own integrated firewall is simply called Windows Firewall.

36) Both Windows and Linux support symmetric multiprocessing.

37) Both Windows and Linux are multitasking operating systems.

38) Both Windows and Linux have Disable Memory Execution support.

39) Windows and Linux both support Address Space Layout Randomization.

40) Linux has Mandatory Access Control kernel security modules such as SELinux, SMACKTOMOYO Linux, and AppArmor.  Windows supports Mandatory Access Control and already has it built into its kernel.


Posted in Computers, Internet and Servers, Operating Systems

Faster Internet Speed!

 

On Friday, Cox Communications put me on a new IP and a new Internet gateway. I don’t know if it is just me, but the Internet speeds seem to have been improved since the change.

Here is a picture of the results from an Internet speed test I took:

Internet Speed Test Results

Before the change, the Download speed was an average of about 20 Mb/s and the Upload speed was around 6.7 Mb/s.

I thought that was cool!


Posted in Internet and Servers