Book Image

Penetration Testing Bootcamp

By : Jason Beltrame
Book Image

Penetration Testing Bootcamp

By: Jason Beltrame

Overview of this book

Penetration Testing Bootcamp delivers practical, learning modules in manageable chunks. Each chapter is delivered in a day, and each day builds your competency in Penetration Testing. This book will begin by taking you through the basics and show you how to set up and maintain the C&C Server. You will also understand how to scan for vulnerabilities and Metasploit, learn how to setup connectivity to a C&C server and maintain that connectivity for your intelligence gathering as well as offsite processing. Using TCPDump filters, you will gain understanding of the sniffing and spoofing traffic. This book will also teach you the importance of clearing up the tracks you leave behind after the penetration test and will show you how to build a report from all the data obtained from the penetration test. In totality, this book will equip you with instructions through rigorous tasks, practical callouts, and assignments to reinforce your understanding of penetration testing.
Table of Contents (17 chapters)
Title Page
About the Author
About the Reviewer
Customer Feedback

Using BeEF for browser-based exploitation

One of the best tools out there for phishing attacks is BeEF. BeEF uses weaknesses that are found in web browsers for client-side attacks. These attacks hook web browsers and use them as beachheads in order to attack the host directly. It is a very easy attack, as it is often easy to trick users. It shows the importance of making sure your browser is patched and up to date.

BeEF can be placed in many categories, but I consider it an exploitation tool and that is how I plan to use it in my lab. BeEF is a very popular tool for penetration testers as it adds yet another vector for us to test against; it looks beyond perimeter security, and it doesn't require us to change any security or settings against the endpoint targets. It is also a very good tool to test your users with various social engineering tasks by seeing who clicks on which fake links.

BeEF is primarily driven via the browser, so running beef-xss from the CLI will start BeEF, but the rest...