Skip to content
Class Presentation

Week 4 Security Concepts CCNA

Covers basic IOS commands, configuration levels (enable, conf t, interface), and essential security concepts including backups to ensure router and switch protection.

Preview 26 of 84 pages

See the first 26 pages exactly as they appear in the document.

  1. Page 1
    Read page 1 as text

    i WHAT YOU DO HERE. CONESTOGA COUNTS OUT THERE. Week 4: Week 4: Security Concepts (Basic Security and Backups) NTWKS8031 - Configuring Routers and Switches

  2. Page 2
    Read page 2 as text

    CONESTOGA COUNTS OUT THERE. Welcome to Week 4! You should be familiar with a number of basics now, but we'll go over a few more this week. * You should understand basic 10S commands * The various levels (enable, conf't, interface) of configuration * The importance of security

  3. Page 3
    Read page 3 as text

    WHAT YOU DO HERE... CONESTOGA 1S OUT THERE. Discussion! What do you believe to be important security items in Cisco Networking Hardware? A HERR a2 Lig EB pL je— | : f f LirswEr- 11 ve ’ oF >» 7s Es ) |. iY 4 ¢ i SEAN Y \ J i ao KR (beh ™ gl C8 2 ri \? Mier og J ), TY ss = as a < Gl § FD) ~ \ a GE ml FE 7 A]

  4. Page 4
    Read page 4 as text

    i \WHAT YOU DO HERE... CONESTOGA COUN IS out THERE. Part 0 HOUSEKEEPING

  5. Page 5
    Read page 5 as text

    CONESTOGA COUNTS OUT THERE. Any questions from our first Graded Lab? The first graded lab was how our practical assignments will run in this class. While worth 5%, it important to understand that this course requires you to practice - hence why sufficient time is given to you after each lecture. ~~ You can also practice by using Cisco PacketTracer.

  6. Page 6
    Read page 6 as text

    CONESTOGA COUNTS OUT THERE. Required Reading * You were required to read Chapter 12/Appendix C in our textbook (at least to comprehend the principles - more to be discussed in Week 5) * Any questions that you have pertaining to the content can be addressed at the end of this lecture

  7. Page 7
    Read page 7 as text

    i \WHAT YOU DO HERE... CONESTOGA COUNTS out THERE. Part 1 SECURITY BASICS - MOTD

  8. Page 8
    Read page 8 as text

    & WHAT YOU DO HERE.. Let's start with the basics * One of the first things you can do to combat unwanted access to your equipment is to ensure proper notices and policies * MOTDs (Message-of-the-day) is an effective mechanism that allows you to warn users that the equipment they are accessing is restricted, and to "turn back’ * MOTDs are applicable on routers and switches

  9. Page 9
    Read page 9 as text

    c WHAT YOU DO HERE... CONESTOGA COUNTS out THERE. How to configure an MOTD In the Configure Terminal mode, simply enter the following: banner motd # This is private equipment If you don't belong here, you must leave Be warned! #

  10. Page 10
    Read page 10 as text

    . WHAT YOU DO HERE... CONESTOGA COUNTS OUT THERE. MOTD - configuration explained banner motd is the command, we enter a hashtag (#) after the 'motd' part to specify the termination character. It can be any character (letter, number, or most ASCII symbols) banner motd # ‘We begin our message, it can be one or many lines. As you can see below, the message is 3 lines here This is private equipment If you don't belong here, you must leave Be warned! When finished, simply enter the termination character and hit enter, this will finish the banner configuration mode

  11. Page 11
    Read page 11 as text

    WHAT YOU DO HERE.. CONESTOGA CUUNTDS out THERE. MOTD - Example Switch (config) #¢banner motd & Enter TEXT message. End with the character 'g$'. Please do not access this without proper permission you have been warned!

  12. Page 12
    Read page 12 as text

    i \WHAT YOU DO HERE... CONESTOGA COUNTS out THERE. Part 2 SECURITY BASICS - PASSWORDS

  13. Page 13
    Read page 13 as text

    CONESTOGA COUNTS OUT THERE. Passwords * Passwords are the most fundamental security mechanisms * There are multiple passwords that can be used and multiple secure login mechanisms that can be used * Advanced password mechanisms will be discussed as well

  14. Page 14
    Read page 14 as text

    & WHAT YOU DO HERE . CONESTOGA COUNTS out THERE. Console / Line passwords The Cisco "Console" or "Line" passwords are passwords that are seen when you try to configure the router or switch from the Console Port. By default, you do not see anything. It is advisable to enable Console/Line passwords as your first line of defence from any access to the switch

  15. Page 15
    Read page 15 as text

    CONESTOGA COUNTS OUT THERE. Enable-mode passwords * These passwords restrict access to the enable mode * Enable-mode is where you handle most of the the configurations for the switch, including all the critical configurations * This is where you will spend most of your time as a network admin configuring switches/routers

  16. Page 16
    Read page 16 as text

    2 WHAT YOU DO HERE... CONESTOGA COUNTS OUT THERE. What can you do with Console/Line access? Console / Line access is basically 'user-level' commands. They are limited in nature, but allow you access to some crucial information: * Viewing configuration - (show running-config) * Other system status (routing tables, vlans, etc) * Pretty much all show commands * The above assumes that the enable-mode has a password

  17. Page 17
    Read page 17 as text

    CONESTOGA COUNTS OUT THERE. Discussion Point * Discussion: What dangers can be done by having access to the running config? * If a malicious party accesses your infrastructure and is able to get a copy of running-config, what can they see? * What possible follow-up attacks can they launch using the information from running- config?

  18. Page 18
    Read page 18 as text

    2 WHAT YOU DO HERE... CONESTOGA COUNTS OUT THERE. Before we move on to configuration * Itis important to understand that Cisco device passwords are stored as plaintext in the configuration files by default - The Enable Password IS encrypted (if you use Enable Secret , not Enable Password ) * Password encryption is not enabled by default * It must be enabled to ensure that users cannot see them in the configuration files * This is done through the command (enable>conf't) - service password-encryption

  19. Page 19
    Read page 19 as text

    WHAT YOU DO HERE.. CONESTOGA COUNTS OUT THERE. Plaintext passwords (and enable password ) Swicengshow run interface GigabitZthernetd/2 Dv ra interface Vlanl Bone air dai Aviad ke : no service password-encryption ! LEE. T— ! password Passwordl23 y login | line vty 0 4 spanning-tree mode pvst login Dine. tone Rete Soovemstd line wey 5 15 interface FastZthernesd/1 Aogia Swicens --More--

  20. Page 20
    Read page 20 as text

    WHAT YOU DO HERE.. CONESTOGA COUNTS OUT THERE. Encrypted passwords (and enable secret ) Building configuration interface GigabitZthernetd/2 version 15.0 no ip sdiivens no service timestamps log datetime msec shutdown eo el [ET aa ia ra password 7 08114DSDIAOEOAOBLESASEST line vey 0 4 eas Rid Sessa hat

  21. Page 21
    Read page 21 as text

    CONESTOGA COUNTS OUT THERE. Type 7 vs 5 Passwords You may see that the passwords (Enable Secret and the Line Con 0 Passwords) have a 7 or 5 in front * These indicate the level of encryption * 7 is alegacy cypher - Vigenere * 5 is not actually encryption - it's hashing - MD5 to be precise - Hashing is one-way and non-reversable

  22. Page 22
    Read page 22 as text

    . WHAT YOU DO HERE... CONESTOGA COUNTS OUT THERE. Password Commands and Configuration Before we go to the actual commands, let's discuss a few final things about passwords * Line/console passwords are plaintext by default * Enable passwords which are set via enable password are plaintext by default * Enable passwords which are set via enable secret are MD5 (type 5) passwords by default * Using the service password-encryption will convert all plaintext passwords to type 7 (Vigenere) - You CANNOT force type 5 encryption with this command. All plaintext passwords will be using Vigenere * Vigenere is a weak method of encryption and has already been cracked!

  23. Page 23
    Read page 23 as text

    CONESTOGA COUNTS OUT THERE. Vigenere Vulnerabilities * The cypher is old - the first description of it dates back to 1553 * Uses well-known key * Decryption is trivial with today's technology * If configuration files are compromised (...which means you have serious issues) - the Password for the console can be exposed (which may also be the same enable password...)

  24. Page 24
    Read page 24 as text

    c WHAT YOU DO HERE... CONESTOGA COUNTS OUT THERE. Password Configurations - Console As discussed, Console secures your physical connection (the console port) The first command (line console 0) selects the first console port (most Cisco devices have only one console port, but in rare cases, there may be more - i.e. supervisor modules, etc) line console 0 The second command sets a password. The command "password" is followed by the password of our choosing - in this case Password123 password Password123 Lastly - the 'login’ command enables the login process. Without this, the password will not be applied and the user will not see a login prompt login

  25. Page 25
    Read page 25 as text

    & WHAT YOU DO HERE.. CONESTOGA COUNTS OUT THERE. Final notes on Console Configurations * You may know that there are multiple methods to log into Cisco equipment = Console (Serial / Rollover cable) * Some newer switches use a USB-Serial interface, bypassing the legacy Serial Port (or USB adapter dongle and rollover cable) - SSH and Telnet * All methods use their own authentication method and the console/terminal does not apply to SSH and Telnet * Again - worth mentioning is that passwords, even with service password-encryption are still decryptable quite easily (provided you have the running config, or startup config)

  26. Page 26
    Read page 26 as text

    CONESTOGA COUNTS OUT THERE. Enable-mode passwords * Enable-mode passwords are simple to enable * There are two types - a plaintext (with optional Vigenere-cipher encryption * Or - the preferred - MD5-based Password enable password {password} enable secret {password}

58 more pages in the full document

Unlock it once and it stays in your library, ready to chat with or turn into flashcards.

Unlock the full document
See all

Study this document with CramX

Once it is in your library, every tool can work from it.