Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Advanced Penetration Testing for Highly-Secured Environments, Second Edition

You're reading from   Advanced Penetration Testing for Highly-Secured Environments, Second Edition Employ the most advanced pentesting techniques and tools to build highly-secured systems and environments

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781784395810
Length 428 pages
Edition 2nd Edition
Arrow right icon
Authors (2):
Arrow left icon
Kevin Cardwell Kevin Cardwell
Author Profile Icon Kevin Cardwell
Kevin Cardwell
Lee Allen Lee Allen
Author Profile Icon Lee Allen
Lee Allen
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Penetration Testing Essentials FREE CHAPTER 2. Preparing a Test Environment 3. Assessment Planning 4. Intelligence Gathering 5. Network Service Attacks 6. Exploitation 7. Web Application Attacks 8. Exploitation Concepts 9. Post-Exploitation 10. Stealth Techniques 11. Data Gathering and Reporting 12. Penetration Testing Challenge Index

Manual exploitation


At this point, we should have two systems ready to go in our virtual environment:

  • Our Kioptrix Level 1 machine, which will be our target

  • Our Kali machine, which will be taking on the role of an attacker

Before we can start with exploitation, we need to determine our plan of attack. An example of our environment is shown in the following image:

Enumerating services

We will begin by locating the machine on our network using Nmap. Open up a new terminal session and type:

nmap -f -n -P0 -v -p- -T4 192.168.75.0/24

We instructed Nmap to scan all TCP ports for IPs on 192.168.75.X using fragmented packets. Here is an excerpt of the results:

Scanning 192.168.75.14 [65535 ports]
Discovered open port 139/tcp on 192.168.75.14
Discovered open port 80/tcp on 192.168.75.14
Discovered open port 22/tcp on 192.168.75.14
Discovered open port 443/tcp on 192.168.75.14
Discovered open port 111/tcp on 192.168.75.14
Discovered open port 32768/tcp on 192.168.75.14
Completed SYN Stealth Scan at 10:24...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime