Now lets look at another example on hooking people to the BeEF when they exist outside our network. So again, we're going to have the example against the same Windows machine that's in a completely different network, and we'll see how we can hook that machine to the BeEF. We're going to start the BeEF browser with just one click on the BeEF framework icon. We will go to log in with the username beef, and password is beef as well. Now, we're going to use the same basic hook method that we did before in Chapter 13, Client-Side Attacks - Social Engineering, so in that method we need to get the script code, and we did this before - it has the same procedure, and we placed the script in our Apache web server, we placed it in an HTML page, which was in the Apache web home /var/www/html directory. We are going to open the index.html file and then...
Learn Ethical Hacking from Scratch
By :
Learn Ethical Hacking from Scratch
By:
Overview of this book
This book starts with the basics of ethical hacking, how to practice hacking safely and legally, and how to install and interact with Kali Linux and the Linux terminal. You will explore network hacking, where you will see how to test the security of wired and wireless networks. You’ll also learn how to crack the password for any Wi-Fi network (whether it uses WEP, WPA, or WPA2) and spy on the connected devices.
Moving on, you will discover how to gain access to remote computer systems using client-side and server-side attacks. You will also get the hang of post-exploitation techniques, including remotely controlling and interacting with the systems that you compromised. Towards the end of the book, you will be able to pick up web application hacking techniques. You'll see how to discover, exploit, and prevent a number of website vulnerabilities, such as XSS and SQL injections.
The attacks covered are practical techniques that work against real systems and are purely for educational purposes. At the end of each section, you will learn how to detect, prevent, and secure systems from these attacks.
Table of Contents (24 chapters)
Preface
Free Chapter
Introduction
Setting Up a Lab
Network Penetration Testing
Pre-Connection Attacks
Network Penetration Testing - Gaining Access
Post-Connection Attacks
Man-in-the-Middle Attacks
Network Penetration Testing, Detection, and Security
Gaining Access to Computer Devices
Scanning Vulnerabilities Using Tools
Client-Side Attacks
Client-Side Attacks - Social Engineering
Attack and Detect Trojans with BeEF
Attacks Outside the Local Network
Post Exploitation
Website Penetration Testing
Website Pentesting - Information Gathering
File Upload, Code Execution, and File Inclusion Vulnerabilities
SQL Injection Vulnerabilities
Cross-Site Scripting Vulnerabilities
Discovering Vulnerabilities Automatically Using OWASP ZAP
Other Books You May Enjoy
Customer Reviews