Book Image

BackTrack 5 Cookbook

By : Willie L. Pritchett, David De Smet
Book Image

BackTrack 5 Cookbook

By: Willie L. Pritchett, David De Smet

Overview of this book

<p>BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking. BackTrack is a distribution based on the Debian GNU/Linux distribution aimed at digital forensics and penetration testing use. It is named after backtracking, a search algorithm.<br /><br />"BackTrack 5 Cookbook" provides you with practical recipes featuring many popular tools that cover the basics of a penetration test: information gathering, vulnerability identification, exploitation, priviledge escalation, and covering your tracks.<br /><br />The book begins by covering the installation of BackTrack 5 and setting up a virtual environment to perform your tests.<br /><br />We then dip into recipes involving the basic principles of a penetration test such as information gathering, vulnerability identification, and exploitation. You will further learn about privilege escalation, radio network analysis, Voice over IP, Password cracking, and BackTrack forensics.<br /><br />"BackTrack 5 Cookbook" will serve as an excellent source of information for the security professional and novice alike.</p>
Table of Contents (17 chapters)
BackTrack 5 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Using rainbow tables


In this recipe, we will learn about how to use rainbow tables with BackTrack 5. Rainbow tables are special dictionary tables that use hash values instead of standard dictionary passwords to achieve the attack. For our demonstration purposes, we will use RainbowCrack to generate our rainbow tables.

How to do it...

Let's begin the process of generating our rainbow tables:

  1. Open a terminal window and change directories to the directory of rtgen:

    cd /pentest/passwords/rainbowcrack/
    
  2. Next we are going to run rtgen to generate an MD5-based rainbow table:

    ./rtgen md5 loweralpha-numeric 1 5 0 3800 33554432 0
    
  3. Once your tables have been generated, a process that depends on the number of processors being used to generate the hashes (approximately 2 to 7 hours), your specified output directory will contain *.rt files.

  4. To begin the process of cracking the passwords, we will use the rtsort program to sort the rainbow tables, to make it an easy process. In order to accomplish this, we must...