<?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>Learn-Networking.com &#187; router security</title>
	<atom:link href="http://learn-networking.com/tag/router-security/feed" rel="self" type="application/rss+xml" />
	<link>http://learn-networking.com</link>
	<description>Where 127.0.0.1 is Home.</description>
	<lastBuildDate>Sat, 27 Nov 2010 22:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Enable Passwords On Cisco Routers Via Enable Password And Enable Secret</title>
		<link>http://learn-networking.com/network-security/enable-passwords-on-cisco-routers-via-enable-password-and-enable-secret</link>
		<comments>http://learn-networking.com/network-security/enable-passwords-on-cisco-routers-via-enable-password-and-enable-secret#comments</comments>
		<pubDate>Thu, 29 May 2008 17:27:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Router Configuration]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[computer networking]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[router security]]></category>

		<guid isPermaLink="false">http://learn-networking.com/?p=155</guid>
		<description><![CDATA[Security is a part of every good technical administrator’s game plan. Luckily the good folks at Cisco have made the task of securitizing a Cisco router fairly straightforward in design- with support given for up to five types of passwords. Taking advantage of these passwords is vital to a network’s internal security, and should be [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Security is a part of every good technical administrator’s game plan. Luckily the good folks at Cisco have made the task of securitizing a Cisco router fairly straightforward in design- with support given for up to five types of passwords. Taking advantage of these passwords is vital to a network’s internal security, and should be implemented where permitted.<span id="more-155"></span></p>
<h3>Enable Password – The Most Basic Of Security Features</h3>
<p class="MsoNormal">The two most basic of passwords a Cisco router can provide support for is the <strong>enable password</strong> and <strong>enable secret</strong> commands. Depending on the IOS version, administrators will likely only need to setup the <strong>enable secret</strong> command.</p>
<p class="MsoNormal">For Cisco routers running IOS versions before version 10.3, enable password is going to be used. It is the outdated version of the two, and we’ll see why it isn’t used in average applications after we enable it. You can enable this basic password following the commands seen below.</p>
<blockquote>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router&gt;</strong> enable</span></p>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router#</strong> config terminal</span></p>
<p class="MsoNormal"><em><span style="color: #000000;">Enter configuration commands, one per line.<span> </span>End with CNTL/Z.</span></em></p>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router(config)#</strong> enable password mypassword</span></p>
</blockquote>
<p class="MsoNormal">In this example, mypassword is the new password that is going to be set on the router. Try typing <strong>exit</strong> and navigate to the privileged mode, as seen below.</p>
<blockquote>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router&gt; </strong>enable</span></p>
<p class="MsoNormal"><strong><span style="color: #000000;">Password:</span></strong></p>
</blockquote>
<p class="MsoNormal">You’ll notice that before we can get into privileged mode, we have to enter the password we set earlier. If you followed the above example, you should be able to input mypassword and press Enter. You are now authenticated for privileged mode!</p>
<p class="MsoNormal">So why don’t we use the <strong>enable password</strong> command in most cases? The answer is simple: it’s an outdated format that anyone can have ample opportunity to take advantage of. Try following the below steps and note what you see.</p>
<blockquote>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router#</strong> show running-config</span></p>
<p class="MsoNormal"><em><span style="color: #000000;">Building configuration&#8230;</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;"> </span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">Current configuration : 162 bytes</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">version 12.2</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">no service password-encryption</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">hostname Router</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><strong><span style="color: #000000;">enable password mypassword</span></strong></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
</blockquote>
<p class="MsoNormal">As you can see, anyone can see the password in plain view. This is because it is stored as plain text- no encryption is being used! To help cover this vast security hole, Cisco created the enable secret command. As you can probably guess, it makes use of encryption this time around.</p>
<h3>Enable Secret – An Evolved Form Of The Previous Example</h3>
<p class="MsoNormal">Encryption can be a tough subject to tackle. But Cisco has made the process of enabling an encrypted password just as easy as the previous example. In fact, we are only changing one word in the process!</p>
<blockquote>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router#</strong>configure terminal</span></p>
<p class="MsoNormal"><span style="color: #000000;">Enter configuration commands, one per line.<span> </span>End with CNTL/Z.</span></p>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router(config)#</strong>enable secret mypassword</span></p>
</blockquote>
<p class="MsoNormal">Note that many routers will alert the user at this point if they have made the enable secret and the enable password values the same in terms of the password. Although the message that results is just a warning, and administrators can indeed set both to the same thing (although this is not recommended as it will almost defeat the purpose of the enable secret command).</p>
<p class="MsoNormal">Now let’s go back to the very beginning, and try logging back into privileged mode once more. We’ll take a look at the running configuration in the below example.</p>
<blockquote>
<p class="MsoNormal"><span style="color: #000000;"><strong>Router# </strong>show running-config</span></p>
<p class="MsoNormal"><em><span style="color: #000000;">Building configuration&#8230;</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;"> </span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">Current configuration : 209 bytes</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">version 12.2</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">no service password-encryption</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">hostname Router</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
<p class="MsoNormal"><strong><span style="color: #000000;">enable secret 5 $1$mERr$7sOd0mgRuXYhHwfWsV4QZ/</span></strong></p>
<p class="MsoNormal"><strong><span style="color: #000000;">enable password mypassword</span></strong></p>
<p class="MsoNormal"><em><span style="color: #000000;">!</span></em></p>
</blockquote>
<p class="MsoNormal">Notice how the enable secret password is unreadable, while the outdated command enable password is being displayed in plain view! Obviously, it comes as to no surprise that Cisco decided to do away with the command in order to improve network security.</p>
<h3>Closing Comments</h3>
<p class="MsoNormal">We’ve discussed only two of the five different passwords that Cisco allows network administrators to take advantage of. If you’d like to take security a step further, be sure to check out the next section that discusses subjects such as Telnet passwords, console passwords, and even auxiliary passwords!</p>
<img src="http://learn-networking.com/learn-networking.com/?ak_action=api_record_view&id=155&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://learn-networking.com/network-security/enable-passwords-on-cisco-routers-via-enable-password-and-enable-secret/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Securing Cisco Routers with No IP Directed-Broadcast</title>
		<link>http://learn-networking.com/network-security/securing-cisco-routers-with-no-ip-directed-broadcast</link>
		<comments>http://learn-networking.com/network-security/securing-cisco-routers-with-no-ip-directed-broadcast#comments</comments>
		<pubDate>Sun, 03 Feb 2008 03:41:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Router Configuration]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[router security]]></category>

		<guid isPermaLink="false">http://learn-networking.com/network-security/securing-cisco-routers-with-ip-directed-broadcast</guid>
		<description><![CDATA[One of several overlooked commands that can produce a world of hurt for networks is the IP Directed-broadcast command. This command was introduced in Cisco’s routers at IOS version 10. Cisco soon realized that this command was being maliciously exploited in denial of service attacks, and action had to be taken- particularly against smurf attacks. [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">One of several overlooked commands that can produce a world of hurt for networks is the IP Directed-broadcast command. This command was introduced in Cisco’s routers at IOS version 10. Cisco soon realized that this command was being maliciously exploited in denial of service attacks, and action had to be taken- particularly against smurf attacks.</p>
<h3><strong><span style="font-size: 12pt; line-height: 115%">How a Smurf Attack Works<o:p></o:p></span></strong></h3>
<p class="MsoNormal">Smurf attacks are a type of denial of service attack, in which the Internet Control Message Protocol (ICMP) and broadcasts are being exploited. Normal ICMP requests (commonly referred to as pings) are used to verify network connectivity. But since they require a response from the target machine, they can maliciously be used to consume network resources if many are sent at once.</p>
<p class="MsoNormal">Broadcasts come into the equation, however, since they give capability to send requests to every computer on a network. Obviously if a broadcast were to be sent multiple times, the traffic would slow down the network. Imagine 100 computers sending back an ICMP request at the same time- network performance would take a huge dip.</p>
<p class="MsoNormal">It should be noted that smurf attacks work via an attacker spoofing the IP address of the broadcast. The IP address is actually the IP address of the victim the attacker chooses. When every computer on the network responds to the ICMP request, all of these requests go to the computer the attacker borrowed the IP address from. In this instance, the network only acts as an amplifier to the attack, not necessarily the victim.</p>
<p align="center">  <img src="http://learn-networking.com/wp-content/uploads/2008/02/smurf-attack.jpg" alt="smurf attack" /></p>
<p class="MsoNormal">Unfortunately, smurf attacks leave little room for victims to recover from an attack. Instead, the attack must be staved off at the network level via filtering. We can do this specifically through the no ip directed-broadcast command in Cisco routers.</p>
<h3><strong><span style="font-size: 12pt; line-height: 115%">No IP Directed-Broadcast<o:p></o:p></span></strong></h3>
<p class="MsoNormal">An IP Directed-Broadcast is simply an IP packet, of which has a destination address of a particular IP subnet. The broadcast in this instance is sent from a different network, as one could probably guess from the command name. (The broadcast is being directed via IP, not a unicast address.)</p>
<p class="MsoNormal">Keep in mind that if you are running a Cisco IOS version 12.0 or above, you do not need to follow these steps. No IP Directed-Broadcast was enabled by default after IOS 12.0. It is strongly recommended that No IP Directed-Broadcast be enabled if your IOS version is below 12.0. If you aren’t sure which version you have, simply type in the following commands from user exec mode:</p>
<p style="text-align: center" align="left"><img src="http://learn-networking.com/wp-content/uploads/2008/02/show-version.jpg" alt="show version" /></p>
<p class="MsoNormal">As you can tell in the above example, the version number is higher than 12.0. In this instance, we would not need to take further action. If the number happens to be below 12.0, then you will need to apply the No IP Directed-Broadcast command. First, you should find out the naming convention for your router’s interfaces, as show below.</p>
<p style="text-align: center"><img src="http://learn-networking.com/wp-content/uploads/2008/02/show-ip-interface.jpg" alt="show ip interface" /></p>
<p class="MsoNormal" align="left">Now that we know our interface naming convention, FastEthernet 0/0, we can modify it. You may wish to write this down, since this will be what you will always refer to your interfaces to from now on. You may now proceed to apply the command to the interface, as seen below.</p>
<p><img src="http://learn-networking.com/wp-content/uploads/2008/02/no-ip-directed-broadcast.jpg" alt="no ip directed broadcast" /></p>
<p class="MsoNormal">Note that we only applied this to a single interface (FastEthernet 0/0).It should be applied to all interfaces for maximum protection.</p>
<h3>Closing Comments</h3>
<p class="MsoNormal">Very few IP applications will make use of the IP directed broadcast, so it is almost always perfectly fine to leave it off. You can, however, configure access lists to permit or deny IP Directed-Broadcasts. This is usually only feasible with smaller networks, since access lists can be quite tedious to maintain on all but the smallest networks.</p>
<img src="http://learn-networking.com/learn-networking.com/?ak_action=api_record_view&id=127&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://learn-networking.com/network-security/securing-cisco-routers-with-no-ip-directed-broadcast/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

