<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikicyber.org/index.php?action=history&amp;feed=atom&amp;title=Draft%3ABasic_Router_and_Switch_security</id>
	<title>Draft:Basic Router and Switch security - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikicyber.org/index.php?action=history&amp;feed=atom&amp;title=Draft%3ABasic_Router_and_Switch_security"/>
	<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:Basic_Router_and_Switch_security&amp;action=history"/>
	<updated>2026-09-24T04:44:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wikicyber.org/index.php?title=Draft:Basic_Router_and_Switch_security&amp;diff=193&amp;oldid=prev</id>
		<title>MigrationBot: Backfill (v3.0 review queue): added to the review queue</title>
		<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:Basic_Router_and_Switch_security&amp;diff=193&amp;oldid=prev"/>
		<updated>2026-09-22T05:43:00Z</updated>

		<summary type="html">&lt;p&gt;Backfill (v3.0 review queue): added to the review queue&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:43, 22 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l123&quot;&gt;Line 123:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 123:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Cisco Packet Tracer|040]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Cisco Packet Tracer|040]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Migrated from cypat.guide]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Migrated from cypat.guide]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Pending review]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikicyber:diff:1.41:old-113:rev-193:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
	<entry>
		<id>https://wikicyber.org/index.php?title=Draft:Basic_Router_and_Switch_security&amp;diff=113&amp;oldid=prev</id>
		<title>MigrationBot: Import from cypat.guide: docs/cisco/Cisco Packet Tracer/basic_security.md</title>
		<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:Basic_Router_and_Switch_security&amp;diff=113&amp;oldid=prev"/>
		<updated>2026-09-18T18:18:45Z</updated>

		<summary type="html">&lt;p&gt;Import from cypat.guide: docs/cisco/Cisco Packet Tracer/basic_security.md&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Submit}}&lt;br /&gt;
&amp;lt;!-- Migrated from https://cypat.guide/docs/cisco/Cisco Packet Tracer/basic_security (source: docs/cisco/Cisco Packet Tracer/basic_security.md) --&amp;gt;&lt;br /&gt;
&amp;lt;!-- REVIEW: source used JSX (className attribute (JSX), JSX style object, iframe embed); the interactive iframe widget was replaced by an external link; layout-only divs were dropped. Compare with the original. --&amp;gt;&lt;br /&gt;
Author(s): a_person&lt;br /&gt;
&lt;br /&gt;
Last Updated: 08-09-2025&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
! Recommended Prerequisites (click to expand)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Introduction to Cisco IOS&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Enable Password ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;enable password&amp;lt;/code&amp;gt; command sets a password required to enter privileged EXEC mode on Cisco devices.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;Router(config)# enable password your_password&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Important notes ===&lt;br /&gt;
&lt;br /&gt;
* Stored in plain text in the configuration file&lt;br /&gt;
* Visible when viewing the running configuration&lt;br /&gt;
* Provides basic protection but not recommended for production environments&lt;br /&gt;
* Can be seen by anyone with access to the configuration&lt;br /&gt;
&lt;br /&gt;
== Enable secret ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;enable secret&amp;lt;/code&amp;gt; command provides a more secure alternative to the &amp;lt;code&amp;gt;enable password&amp;lt;/code&amp;gt; command as it uses a hashing algorithm. When there are both &amp;lt;code&amp;gt;enable password&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;enable secret&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;enable secret&amp;lt;/code&amp;gt; takes precedence because Cisco IOS always prefers the more secure option.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;Router(config)# enable secret your_password&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Protecting Console ==&lt;br /&gt;
&lt;br /&gt;
This configuration secures console access to the device by applying a password requirement. It specifies the console line (&amp;lt;code&amp;gt;line console 0&amp;lt;/code&amp;gt;), sets a password (&amp;lt;code&amp;gt;password your_console_password&amp;lt;/code&amp;gt;), and enables password checking on login (&amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;Router(config)# line console 0&lt;br /&gt;
Router(config-line)# password your_console_password&lt;br /&gt;
Router(config-line)# login&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Password Encryption Service ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;service password-encryption&amp;lt;/code&amp;gt; command enables automatic encryption of passwords in the configuration file using Type 7 encryption. Later in the article, we will be talking about the differences between the various encryption types. &amp;lt;code&amp;gt;service password-encryption&amp;lt;/code&amp;gt; is not strong security and is mainly for obscuring passwords from casual viewing.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;What it affects:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* Line passwords (console, vty, aux)&lt;br /&gt;
* Enable password (but not enable secret)&lt;br /&gt;
* Username passwords (but not username secrets)&lt;br /&gt;
* SNMP community strings&lt;br /&gt;
* Other plaintext passwords in configuration&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;Router(config)# service password-encryption&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Cisco Password Encryption Levels ==&lt;br /&gt;
&lt;br /&gt;
Cisco devices use different encryption levels to secure passwords stored in configuration files:&lt;br /&gt;
&lt;br /&gt;
=== Type 0 - Plain Text ===&lt;br /&gt;
&lt;br /&gt;
* No encryption applied&lt;br /&gt;
* Password visible in clear text&lt;br /&gt;
* Default behavior without encryption services&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;password 0 MyPassword123&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Type 7 - Cisco Proprietary Encryption ===&lt;br /&gt;
&lt;br /&gt;
* Basic obfuscation using Vigenère cipher&lt;br /&gt;
* Reversible encryption (easily decoded)&lt;br /&gt;
* Enabled with &amp;lt;code&amp;gt;service password-encryption&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;password 7 094F471A1A0A464058&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Type 5 - MD5 Hash ===&lt;br /&gt;
&lt;br /&gt;
* Uses MD5 hashing algorithm&lt;br /&gt;
* One-way encryption&lt;br /&gt;
* As you may or may not already know, MD5 is vulnerable to collision attacks, making it not as secure as other hashing algorithms.&lt;br /&gt;
* Used by &amp;lt;code&amp;gt;enable secret&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;username secret&amp;lt;/code&amp;gt; commands&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Type 8 - PBKDF2 with SHA-256 ===&lt;br /&gt;
&lt;br /&gt;
* Password-Based Key Derivation Function 2&lt;br /&gt;
* Uses SHA-256 hashing with salt&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;username admin secret 8 $8$mERr$hx5rVt7rPNoS4wqbXKX7m0$&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Type 9 - Scrypt ===&lt;br /&gt;
&lt;br /&gt;
* Latest and most secure encryption type&lt;br /&gt;
* Uses scrypt key derivation function&lt;br /&gt;
* Resistant to hardware attacks&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;username admin secret 9 $9$mERr$hx5rVt7rPNoS4wqbXKX7m0$&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Practice ==&lt;br /&gt;
&lt;br /&gt;
Do the following steps in order:&lt;br /&gt;
&lt;br /&gt;
# Enable password encryption&lt;br /&gt;
# Set the secret to &amp;lt;code&amp;gt;C1sc0R0cks&amp;lt;/code&amp;gt;&lt;br /&gt;
# Set the console password to &amp;lt;code&amp;gt;Cypat123!&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You must enter the FULL commands.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Interactive practice:&amp;#039;&amp;#039;&amp;#039; [https://orionband.github.io/windowstst/cisco.html?i=config&amp;amp;q=service%20password-encryption:enable%20secret%20C1sc0R0cks:line%20console%200:password%20Cypat123!:login Open the practice widget (external site)]&lt;br /&gt;
&lt;br /&gt;
== Labs ==&lt;br /&gt;
&lt;br /&gt;
* [https://drive.google.com/file/d/132NG6fJ03XcguOsChH-JXqafaOxTZMXd/view?usp=sharing CCNA Lab 003 PKT download (JIT)]&lt;br /&gt;
* [https://www.youtube.com/watch?v=Gj-8agyq4yQ&amp;amp;list=PLxbwE86jKRgMQ4HTuaJ7yQgA2BoNwY9ct&amp;amp;index=4 CCNA Lab 003 walkthrough (JIT)]&lt;br /&gt;
* [https://drive.google.com/file/d/1SukSVB9OKMG49aiqwfOdqc1lU6jVigrW/view?usp=sharing Day 4 Basic Security Lab PKT download(JIT)]&lt;br /&gt;
* [https://drive.google.com/file/d/1SukSVB9OKMG49aiqwfOdqc1lU6jVigrW/view?usp=sharing Day 4 Basic Security Lab PKT walkthrough(JIT)]&lt;br /&gt;
&lt;br /&gt;
== Supplementary Resources and Further Reading ==&lt;br /&gt;
&lt;br /&gt;
* https://www.youtube.com/watch?v=IYbtai7Nu2g&amp;amp;list=PLxbwE86jKRgMpuZuLBivzlM8s2Dk5lXBQ&amp;amp;index=8&amp;amp;pp=iAQB&lt;br /&gt;
* https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960cx_3650cx/software/release/15-2_7_e/configuration_guide/b_1527e_consolidated_3560cx_2960cx_cg/m_sec_passpr_cg.pdf&lt;br /&gt;
&lt;br /&gt;
[[Category:Cisco Packet Tracer|040]]&lt;br /&gt;
[[Category:Migrated from cypat.guide]]&lt;/div&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
</feed>