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

Using local password-attack tools


In recipe, we will see a few tools both for Windows and Linux that will perform password-guessing attacks. For Linux, we will use a tool called sucrack, and for we will use fgdump and pwdump. Sucrack is used to crack passwords via the su command, which is a multithreaded tool. SU is a tool in Linux that allows you to run using a user. But first let us understand these tools: Sucrack is a password cracker. Fgdump and pwdump are tools that dump the SAM hashes from LSASS memory. JTR (John the Ripper) is a for SAM hashes. Windows Credentials Editor (WCE) is a tool to list logon sessions and add, change, list, and delete associated credentials (for example, LM/NT hashes, plaintext passwords, and Kerberos tickets). Let us begin with the practical approach.

Getting ready

To demonstrate this, we will require a Windows XP machine and our Kali Linux distro. The reader might also need to port PwDump.exe and FgDump.exe from Kali Linux to Windows XP.

How to do it...