<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux User &#187; Security</title>
	<atom:link href="http://www.linuxuser.co.uk/category/tutorials/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxuser.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 30 Jul 2010 09:50:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Secure your Linux box with MoBlock</title>
		<link>http://www.linuxuser.co.uk/tutorials/secure-with-moblock/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/secure-with-moblock/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 07:00:39 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Moblock]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=977</guid>
		<description><![CDATA[MoBlock is a cutting-edge open source security tool for the Linux platform designed help fine-tune the network security of your Linux desktop or server. Sukrit Dhandhania expMoblock02lains how to use it to secure your Linux box…]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/Sukrit-Dhandhania.jpg" rel="lightbox[977]"><img class="alignright size-medium wp-image-421" title="Sukrit Dhandhania" src="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/Sukrit-Dhandhania-300x286.jpg" alt="Sukrit Dhandhania" width="138" height="133" /></a>Advisor:</strong><br />
Sukrit has spent over seven years working with several organisations and helped them adopt GNU/Linux and other free and open source tools.</p>
<p><strong>Resources:</strong><br />
<a title="moblock" href="http://moblock.berlios.de/" target="_blank">moblock</a> (or <a title="moblock Deb" href="http://moblock-deb.sourceforge.net/" target="_blank">here</a> for Debian/Ubuntu users)<br />
<a title="blockcontrol" href="http://moblock-deb.sourceforge.net/" target="_blank">blockcontrol</a><br />
<a title="mobloquer" href="http://mobloquer.foutrelis.com/" target="_blank">mobloquer</a></p>
<p>MoBlock is an open source application for the Linux platform that allows you to manage connections to and from your computer. If you have used or heard of the program PeerGuardian, MoBlock has a pretty similar function. The project caters to advanced Linux users and allows them fine-grain control over which hosts are allowed to connect to your computer and which hosts can be connected from the machine. We’ll look at how to install, configure and monitor MoBlock on your Linux machine.</p>
<p><strong>Installation</strong><br />
<strong>01 </strong>The installation of MoBlock is pretty straightforward for users of Ubuntu Linux. Ubuntu has had MoBlock available in its package management systems for some time now. You will need to add a new set of repositories to download and install MoBlock and the other supporting tools with ‘<em>apt-get</em>’. As a first step, you need to add GPG keys.</p>
<p>For Hardy and Intrepid, type the following lines in a terminal window:</p>
<blockquote><p><strong>gpg &#8211;keyserver wwwkeys.eu.pgp.net &#8211;recv 58712F29<br />
gpg &#8211;export &#8211;armor 58712F29 | sudo apt-key add -</strong></p></blockquote>
<p>For Jaunty and later versions, type the following lines in the terminal window:</p>
<blockquote><p><strong>gpg &#8211;keyserver keyserver.ubuntu.com &#8211;recv 9C0042C8<br />
gpg &#8211;export &#8211;armor 9C0042C8 | sudo apt-key add -</strong></p></blockquote>
<p><strong>02</strong> Now edit the ‘<em>apt-get</em>’ source file and add the following repository entries. Run the command ‘<em># sudo vim /etc/apt/sources.list</em>’ to edit the file.</p>
<p>If you are running Ubuntu 9.10 (Karmic Koala), add the following lines:</p>
<blockquote><p><strong>deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu karmic main<br />
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu karmic main</strong></p></blockquote>
<p>For Ubuntu 9.04 (Jaunty Jackalope), instead add this:</p>
<blockquote><p><strong>deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu jaunty main<br />
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu jaunty main</strong></p></blockquote>
<p>For other versions, please read the instructions in the Ubuntu documentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/secure-with-moblock/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Network security &#8211; how to prevent attacks &amp; secure your server</title>
		<link>http://www.linuxuser.co.uk/tutorials/network-security/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/network-security/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 07:00:02 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Swayam Prakasha]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=579</guid>
		<description><![CDATA[Swayam Prakasha explains the types of attacks that could happen over a network and their preventive measures. He also takes a look at various means of securing a web server...]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/558018.jpg" rel="lightbox[579]"><img class="alignright size-medium wp-image-595" title="558018" src="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/558018-300x214.jpg" alt="558018" width="300" height="214" /></a>Swayam Prakasha explains the types of attacks that could happen over a network and their preventive measures. He also takes a look at various means of securing a web server</strong></p>
<p><strong>Advisor:<br />
</strong>Swayam Prakasha has been working in information technology for several years, concentrating on areas such as operating systems, networking, network security, electronic commerce, internet services, LDAP and web servers. Swayam has authored a number of articles for trade publications, and he presents his own papers at industry conferences.</p>
<p>Network and information security refers to the confidence that unauthorised users cannot access the information and services available on a network. Security implies safety. It assumes data integrity, freedom from unauthorised access of resources and freedom from disruption of services. As far as security is concerned, we need to protect both physical and abstract resources, such as information. Protecting the latter is more difficult.<br />
Information security is concerned with three main areas: confidentiality (information should be available only to those who rightfully have access to it), integrity (information should be modified only by those who are authorised to do so) and availability (information should be accessible to those who need it when they need it).</p>
<p><strong>Authentication attack</strong><br />
On the internet, where data passes across intermediate routers and networks, source authentication can be easily attacked at one of the intermediate routers. For example, an impostor can gain control of a router, ‘R’, that lies between a valid client and a server. He can then alter the routes in R to direct return traffic to him and generate a request using the authorised client’s address as a source address. The server will, in this case, accept the request and send the reply to the authorized client. When it reaches R, the reply will be forwarded along the incorrect route to the impostor.</p>
<p>The above example illustrates the need for the server and client to not communicate with impostors. One way of ensuring this is to use the authentication mechanism (also known as IP address authentication). This is a simple security mechanism to verify identification. Here, a server is configured with a list of valid IP source addresses. And when a request arrives, the server makes sure that it’s from a valid client by matching the client’s IP address with the ones in the configured list. Only if the client is authorised does the server grant it the service requested for.</p>
<p>Another method is the public-key encryption mechanism. In this case, we will be using a pair of keys: a public key and a private key. The sender using the public key of the receiver will encrypt the message and when the receiver receives it, he decrypts it using his private key (which only he knows). Thus the sender can make sure that only the intended receiver will receive the message. The public key encryption can be used for authentication, confidentiality and integrity of the messages.</p>
<blockquote><p><strong>Top Vulnerabilities<br />
1. Default installations of operating system and applications<br />
2. Accounts with no password or weak password<br />
3. Non-existent or incomplete backup<br />
4. A large number of open ports<br />
5. Not filtering packets for correct incoming and outgoing addresses<br />
6. Non-existent or incomplete logging<br />
7. Vulnerable CGI programs<br />
8. Sendmail vulnerabilities<br />
9. BIND weaknesses</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/network-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Security in Linux</title>
		<link>http://www.linuxuser.co.uk/features/security-in-linux/</link>
		<comments>http://www.linuxuser.co.uk/features/security-in-linux/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 07:00:33 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=274</guid>
		<description><![CDATA[Over the last few years, system security has gained a lot of momentum and software professionals are focusing heavily on this aspect. Linux is often treated as a highly secure operating system. However, the reality is that Linux too has its own share of security flaws…]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.linuxuser.co.uk/wp-content/uploads/2009/11/Security-image.jpg" rel="lightbox[274]"><img class="alignright size-medium wp-image-275" title="Security image" src="http://www.linuxuser.co.uk/wp-content/uploads/2009/11/Security-image-300x299.jpg" alt="Security image" width="300" height="299" /></a>Over the last few years, system security has gained a lot of momentum and software professionals are focusing heavily on this aspect. Linux is often treated as a highly secure operating system. However, the reality is that Linux too has its own share of security flaws. And these security flaws allow external hackers to get into your system and modify or even destroy your important data. But there’s no need to panic, since there are various mechanisms by which these flaws can be removed.<br />
The security system is in two parts: authentication and access control. Authentication is responsible for ensuring that a user requesting access to the system is really the user with the account, while access control is responsible for controlling which resources each account has access to and what kind of access is permitted. Let’s take a look at the major causes for security problems in Linux…</p>
<p><strong>Local security </strong><br />
Local users can create a lot of problems for your system. It is bad policy to provide accounts to people you don’t know or for whom you have no contact information. It is better to follow some rules of thumb when offering access to your Linux machine: give users minimum privileges, monitor when and where they log in, remove inactive accounts and prohibit the creation of group user IDs.</p>
<p><strong>Root security </strong><br />
Since the root account has authority over the entire machine, you should use it only for specific tasks. Even a small mistake made while logging in as a root user can lead to significant problems. Follow the simple rules below and they will help you.<br />
• When running complex commands, first run them in a non-destructive manner. A simple example is to do an ‘ls’ before doing an ‘rm’ so that you are sure about the files you are going to delete.<br />
• Give users an interactive rm for deleting the files.<br />
• Become ‘root only’ to do specific tasks. If you want to experiment with something, go back to a normal user shell.<br />
• The command path, which specifies the directories in which the shell searches for the programs, is very important. Limit the command path and never include ‘.’ (signifying the current directory) in your command path.<br />
• The /etc/securetty file contains a list of terminals that root can log in from. Be careful while adding an entry to<br />
this file.</p>
<p><strong>File system security </strong><br />
Keep in mind the following points to help protect your systems and data stored on them.<br />
If you are exporting file systems using NFS, configure /etc/exports with the most restrictive access possible. Do not use any wild cards.<br />
<strong>/var/log/wtmp and /var/run/utmp</strong> contain the log-in attempts for all users. Their integrity needs to be maintained, as they help in determining when and from where a user has entered your system.<br />
World-writable files can serve as a security hole. Also, world-writable directories are dangerous as they allow an intruder to add/delete files. You must locate the world-writable files on your system and make sure that you know why they are writable.<br />
It is also important to locate the unowned files. The presence of unowned files might also be an indication that an intruder has accessed your system. You can locate such files by using the following command:<br />
<strong>$ find / \( -nouser -o -nogroup \) -print </strong><br />
You should be able to find the .rhosts file. Use this command to locate that file :<br />
<strong>$ find /home -name .rhosts -print. </strong><br />
Before you change the permission on any system files, make sure you know what you are doing. NEVER make changes to the permission on a file just because it is the easy way to get things working.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/features/security-in-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
