<?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>The Network Technician &#187; Security</title>
	<atom:link href="http://www.thenetworktechnician.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thenetworktechnician.com</link>
	<description>IT Management, Technology, Microsoft, Cisco &#38; All Else that Runs Through the Interwebz</description>
	<lastBuildDate>Fri, 27 Aug 2010 03:14:00 +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>5 Easy Steps to Securing Your Cisco Switch or Router</title>
		<link>http://www.thenetworktechnician.com/2009/10/5-easy-steps-to-securing-your-cisco-switch-or-router/</link>
		<comments>http://www.thenetworktechnician.com/2009/10/5-easy-steps-to-securing-your-cisco-switch-or-router/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 14:07:57 +0000</pubDate>
		<dc:creator>The Network Technician</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[routers]]></category>
		<category><![CDATA[switches]]></category>

		<guid isPermaLink="false">http://www.thenetworktechnician.com/?p=384</guid>
		<description><![CDATA[Every network administrator should know how to secure their network so that they lessen the encounter of malicious activity. Sometimes it really just comes down to following some best practices in securing a Cisco switch or router. Here are 5 easy steps to secure your Cisco switch or router. enable secret When you use the [...]


Related posts:<ol><li><a href='http://www.thenetworktechnician.com/2009/09/how-to-configure-a-router-on-a-stick/' rel='bookmark' title='Permanent Link: How To Configure a Router-on-a-Stick'>How To Configure a Router-on-a-Stick</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/12/user-vlan-do-not-acquire-dhcp-address/' rel='bookmark' title='Permanent Link: User VLAN Do Not Acquire DHCP Address'>User VLAN Do Not Acquire DHCP Address</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/10/virtual-lans-notes/' rel='bookmark' title='Permanent Link: Virtual LANs Notes'>Virtual LANs Notes</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.thenetworktechnician.com/2009/10/5-easy-steps-to-securing-your-cisco-switch-or-router/" title="Permanent link to 5 Easy Steps to Securing Your Cisco Switch or Router"><img class="post_image aligncenter" src="http://www.thenetworktechnician.com/wp-content/uploads/lock.jpg" width="620" height="411" alt="5 Easy Steps to Securing Your Cisco Switch or Router" /></a>
</p><p>Every network administrator should know how to secure their network so that they lessen the encounter of malicious activity. Sometimes it really just comes down to following some best practices in securing a Cisco switch or router. Here are 5 easy steps to secure your Cisco switch or router.</p>
<h1>enable secret</h1>
<p>When you use the command,</p>
<pre>show run</pre>
<p>do you see your passwords in plain text? That&#8217;s a no-no. Use</p>
<pre>enable secret <em>your-password</em></pre>
<p>to encrypt it to keep nosy people from seeing your password and entering your switch or router. Enable secret will encrypt your password &#8211; AWAY WITH PLAIN TEXT.</p>
<h1>encrypt plain text passwords</h1>
<p>If you&#8217;ve moved over to encrypted passwords and noticed that your existing passwords are still in plain text then run the global configuration command:</p>
<pre>service password-encryption</pre>
<p>to encrypt all your passwords.</p>
<h1>secure console access</h1>
<p>Physical security should be your first line of defense. But what if you have shotty physical security? Then use console security to stop curious users from connecting to your console port:</p>
<pre>conf t
  line con 0
  login
  password <em>your-password</em></pre>
<p>Be aware that this does not protect your Cisco device from the password recovery procedure. This is why physical security is important!</p>
<h1>secure remote access</h1>
<p>What protocol are you using to remote into your Cisco switches and routers for management? If you said Telnet, shame on you! Telnet does not encrypt any traffic between you and your Cisco devices. Everything you type is in cleartext. The best alternative is to use SSH. All traffic between you and your Cisco switch or router will be encrypted.</p>
<pre>conf t
 line vty 0 4
 login local
 transport input ssh
username <em>user </em>password <em>user-password
</em>ip domain-name <em>domain</em>
crypto key generate rsa</pre>
<p>The above commands will allow only SSH traffic to your Cisco switch or router and will prompt for a username and password, in which the user account should be on the switch.</p>
<h1>parking lot or shutdown the interface</h1>
<p>Organize your network with the use of virtual local area networks (vlans). Put accounting on their own vlan, HR on their own vlan, IT on their own vlan. Not only is it good to segment these departments, you can also create a parking lot vlan. A parking lot vlan is where you can put all unused interfaces. So if a malicious user wanted to connect to your network via an open port from the wall, they wouldn&#8217;t be able to connect to anything because that unused port would be put on a vlan that is not being used.</p>
<pre>conf t
 vlan 3
 name parking-lot
int fa0/15
 switchport mode access
 switchport access vlan 3</pre>
<p>A better solution would be to shutdown an unused interface. When an interface is shut down that means it cannot be used until you use the no shutdown command to bring the interface back up.</p>
<pre>conf t
 int fa0/15
 shutdown</pre>
<p>To bring it back to a working interface:</p>
<pre>conf t
 int fa0/15
 no shut</pre>
<p>And those are my 5 easy steps to securing your Cisco switch or router. There are other advanced ways but if you&#8217;re new to Cisco then the above steps will be better than having a non-secured network. If you have any questions or feedback please comment below!</p>


<p>Related posts:<ol><li><a href='http://www.thenetworktechnician.com/2009/09/how-to-configure-a-router-on-a-stick/' rel='bookmark' title='Permanent Link: How To Configure a Router-on-a-Stick'>How To Configure a Router-on-a-Stick</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/12/user-vlan-do-not-acquire-dhcp-address/' rel='bookmark' title='Permanent Link: User VLAN Do Not Acquire DHCP Address'>User VLAN Do Not Acquire DHCP Address</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/10/virtual-lans-notes/' rel='bookmark' title='Permanent Link: Virtual LANs Notes'>Virtual LANs Notes</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thenetworktechnician.com/2009/10/5-easy-steps-to-securing-your-cisco-switch-or-router/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fix Nmap Script Engine Runtime Error in Ubuntu</title>
		<link>http://www.thenetworktechnician.com/2009/08/fix-nmap-script-engine-runtime-error-in-ubuntu/</link>
		<comments>http://www.thenetworktechnician.com/2009/08/fix-nmap-script-engine-runtime-error-in-ubuntu/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 07:00:06 +0000</pubDate>
		<dc:creator>The Network Technician</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.thenetworktechnician.com/?p=188</guid>
		<description><![CDATA[I&#8217;m sure many of us have installed nmap straight from the Ubuntu repositories. After running a couple of network scans you noticed it spitting out ugly Script Engine runtime errors. You can temporarily get rid of these errors by disabling the script scan but it requires more work to fix this bug. I&#8217;ve searched online [...]


Related posts:<ol><li><a href='http://www.thenetworktechnician.com/2009/06/how-to-install-adobe-air-in-ubuntu/' rel='bookmark' title='Permanent Link: How To Install Adobe Air in Ubuntu'>How To Install Adobe Air in Ubuntu</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/08/how-to-install-gns3-in-ubuntu-9-04/' rel='bookmark' title='Permanent Link: How To Install GNS3 in Ubuntu 9.04'>How To Install GNS3 in Ubuntu 9.04</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/05/ubuntu-notification-system-tray-gone/' rel='bookmark' title='Permanent Link: Ubuntu Notification System Tray Gone'>Ubuntu Notification System Tray Gone</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;m sure many of us have installed nmap straight from the Ubuntu repositories.</p>
<p>After running a couple of network scans you noticed it spitting out ugly Script Engine runtime errors. You can temporarily get rid of these errors by disabling the script scan but it requires more work to fix this bug.</p>
<p>I&#8217;ve searched online and found that I wasn&#8217;t the only person annoyed with this problem. Nmap in the Ubuntu repository is messed up right now. You can view the <a title="Nmap Script Engine Runtime Error" href="https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/319656" target="_blank">launchpad thread here</a>. There is a minor revision fix that a user has supplied in a debdiff. What I&#8217;m going to show you here is a combination of two things, resolving the nmap script engine runtime error in Ubuntu and also install a debdiff file in Ubuntu. Most of these instructions are derived from <a title="Ubuntu Wiki" href="https://wiki.ubuntu.com/UbuntuPackagingGuide/BuildFromDebdiff?highlight=(debdiff)" target="_blank">Ubuntu wiki</a>.</p>
<p>First step is to install the necessary tools for building packages. Use this command in Ubuntu if you&#8217;ve never built a package before:</p>
<pre class="brush: plain;">sudo apt-get install build-essential fakeroot devscripts</pre>
<p>From your /tmp directory I would create a temporary staging directory for nmap:</p>
<pre class="brush: plain;"> mkdir nmap</pre>
<p>and enter that directory,</p>
<pre class="brush: plain;">cd nmap</pre>
<p>then you download the debdiff file from launchpad into the nmap directory we just created:</p>
<pre class="brush: plain;">wget http://launchpadlibrarian.net/21515655/nmap_4.76-0ubuntu2.dsc.debdiff</pre>
<p>From here we will download the source code for nmap from the Ubuntu repository,</p>
<pre class="brush: plain;">sudo apt-get source nmap</pre>
<p>Then type in this command after you&#8217;ve downloaded the source code for nmap:</p>
<pre class="brush: plain;">sudo apt-get build-dep nmap</pre>
<p>Now this is where we start adding the changes in the debdiff file.</p>
<p>Enter this command:</p>
<pre class="brush: plain;">cd nmap-*</pre>
<p>The asterisk will be dependent on the version of nmap you are working with in Ubuntu. In my case the folder I was changing directories was nmap-4.76</p>
<p>This command will patch the debdiff to the source,</p>
<pre class="brush: plain;">patch p1 &lt; ../nmap_*.debdiff</pre>
<p>Now read carefully. After the <strong>&lt; ../ </strong>You will have to type in the debdiff file here. In my case I am using <strong>&lt; ../nmap_4.76-0ubuntu5.debdiff</strong></p>
<p>After that step we will build the the new source package,</p>
<pre class="brush: plain;">sudo debuild -uc -us</pre>
<p>Finally, we install the package:</p>
<pre class="brush: plain;">sudo dkpg -i ../nmap_4.76-0ubuntu5_i386.deb</pre>
<p>Note that the deb package will be dependent on your version number so please change accordingly.</p>
<p>Here&#8217;s an example for my nmap_4.76 installation:</p>
<pre class="brush: plain;">

sudo apt-get install fakeroot devscripts
mkdir nmap
cd nmap
wget http://launchpadlibrarian.net/21515655/nmap_4.76-0ubuntu2.dsc.debdiff
sudo apt-get source nmap
sudo apt-get build-dep nmap
cd nmap-4.76
patch p1 &lt; ../nmap_4.76-0ubuntu5.debdiff
sudo debuild -uc -us
sudo dkpg -i ../nmap_4.76-0ubuntu5_i386.deb
</pre>


<p>Related posts:<ol><li><a href='http://www.thenetworktechnician.com/2009/06/how-to-install-adobe-air-in-ubuntu/' rel='bookmark' title='Permanent Link: How To Install Adobe Air in Ubuntu'>How To Install Adobe Air in Ubuntu</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/08/how-to-install-gns3-in-ubuntu-9-04/' rel='bookmark' title='Permanent Link: How To Install GNS3 in Ubuntu 9.04'>How To Install GNS3 in Ubuntu 9.04</a></li>
<li><a href='http://www.thenetworktechnician.com/2009/05/ubuntu-notification-system-tray-gone/' rel='bookmark' title='Permanent Link: Ubuntu Notification System Tray Gone'>Ubuntu Notification System Tray Gone</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thenetworktechnician.com/2009/08/fix-nmap-script-engine-runtime-error-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
