Security for Ubuntu

Dormyr

New Member
After some recommendations from user S.T.A.R.S I decided to give Ubuntu a go to help recover some data. I have since decided to give it a go as an OS because I'm curious now.

I've figured out codec issues I was having and having gone online I'm wondering about security. I've found a few articles on the subject but I was wondering if anyone had anything to weigh in on the subject. I just want to know about Firewalls. Virus scanners etc.

Cheers, D
 
Security is best done in layers, there is no end all be all single security solution. You should secure it first at the router level of your home network. Enable things like NAT and SPI firewall. Then on the client side you should just use best practices. ClamAV is a free open source virus scanner that works on most distros of Unix and Linux.

However, by design, Linux uses what is known as POSIX standards for permissions. Which allows r-w-x to owner-group-everyone. This is the basis for how permissions work in Linux. It has the concept of GUI > shell > kernel, meaning the kernel is only accessible through the shell which would require admin access and authentication to make any changes.

This basic design means there are pretty much zero in the wild self replicating viruses for Linux, Unix, or even OS X. As long as you use best practices you can probably get away with out using anti-virus software. Don't install weird unsupported packages. Make sure you use a strong password for your account (to avoid brute force attacks), and make sure you have services like ssh turned off if you aren't going to use them.

So, secure your router first, then your client machine next. You can also employ methods like openDNS and such to help maintain a black list of malicious botnet servers out there. You can also monitor your own network traffic through one of the many Linux networking tools out there. The router will not monitor what you do.

Learn how to read the system.log file as Linux will output everything you do to the logs, and it is great for troubleshooting and auditing.
 
Thank you for this tlarkin! I've just properly read through it and it makes sense to me...second time round.
 
It is very useful information and a great simple way of improving the security of your system. Ubuntu users simply have to install several free programs that protect the kernel from exploits, prevent the execution of malicious code and keep programs and users from accessing areas of the computer outside of their designated access level.
 
Back
Top