Book Image

Kali Linux Intrusion and Exploitation Cookbook

By : Dhruv Shah, Ishan Girdhar
Book Image

Kali Linux Intrusion and Exploitation Cookbook

By: Dhruv Shah, Ishan Girdhar

Overview of this book

With the increasing threats of breaches and attacks on critical infrastructure, system administrators and architects can use Kali Linux 2.0 to ensure their infrastructure is secure by finding out known vulnerabilities and safeguarding their infrastructure against unknown vulnerabilities. This practical cookbook-style guide contains chapters carefully structured in three phases – information gathering, vulnerability assessment, and penetration testing for the web, and wired and wireless networks. It's an ideal reference guide if you’re looking for a solution to a specific problem or learning how to use a tool. We provide hands-on examples of powerful tools/scripts designed for exploitation. In the final section, we cover various tools you can use during testing, and we help you create in-depth reports to impress management. We provide system engineers with steps to reproduce issues and fix them.
Table of Contents (18 chapters)
Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Cracking Cisco login using custom wordlist


In this recipe we will see how we to gain access to Cisco devices, we will be using tools available in Kali. We will be using a tool called as CAT to perform the activity. CAT stands for Cisco audit tool. It is a Perl script which scans Cisco for common vulnerabilities.

Getting ready

For this exercise we have setup a device with a password to demonstrate the activity. We do not require any external tools as everything is available in Kali itself.

How to do it...

  1. We have set up a Cisco router on 192.168.1.88. As mentioned we will use CAT:

  1. We have used a custom wordlist for username and password, which contain the following details:

  1. Once you are on the Metasploit console, enter the following commands:
      CAT -h 192.168.1.88 -w /root/Desktop/cisco_users  -a 
      /root/Desktop/cisco_pass 

The output will be as shown in the following screenshot:

  1. As you can see, it the service to check for credentials and fetches with the valid password if it...