Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide
Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide

Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide: Learn to perform professional penetration testing for highly-secured environments with this intensive hands-on guide with this book and ebook.

Arrow left icon
Profile Icon Lee Allen
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (23 Ratings)
Paperback May 2012 414 pages 1st Edition
eBook
NZ$53.99 NZ$77.99
Paperback
NZ$96.99
Subscription
Free Trial
Arrow left icon
Profile Icon Lee Allen
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (23 Ratings)
Paperback May 2012 414 pages 1st Edition
eBook
NZ$53.99 NZ$77.99
Paperback
NZ$96.99
Subscription
Free Trial
eBook
NZ$53.99 NZ$77.99
Paperback
NZ$96.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide

Chapter 2. Advanced Reconnaissance Techniques

Actionable information is the key to success when performing a penetration test. The amount of public data that is available on the Internet is staggering, and sifting through it all to find useful information can be a daunting task. Luckily, there are tools available that assist in gathering and sorting through this wealth of knowledge. In this chapter, we will be reviewing some of these tools and will focus on how to use the information to ensure your penetration tests are efficient, focused, and effective. Key topics covered include:

  • What is reconnaissance and why do we need it

  • Reconnaissance types

  • Using DNS to quickly identify potential targets

  • Using search engines data

  • Using metadata to your advantage

Note

Throughout this chapter we will use the domain names example.com, example.org, and example.net which are owned and maintained by IANA. DO NOT USE THESE FOR PRACTICE PURPOSES.

These domain names are used as a representation of a domain that you...

Introduction to reconnaissance


Penetration testing is most effective when you have a good grasp on the environment being tested. Sometimes this information will be presented to you by the corporation that hired you, other times you will need to go out and perform your reconnaissance to learn even the most trivial of items. In either case, make sure to have the scope clarified in the rules of engagement prior to conducting any work, including reconnaissance.

Many corporations are not aware of the types of data that can be found and used by attackers in the wild. A penetration tester will need to bring this information to light. You will be providing the business with real data that they can then act upon in accordance to their risk appetite. The information that you will be able to find will vary from target to target, but will typically include items such as IP ranges, domain names, e-mail addresses, public financial data, organizational information, technologies used, job titles, phone numbers...

DNS recon


Domain Name System (DNS) can provide valuable data during the reconnaissance phase. If you do not already understand DNS, you may want to take some time to get a good grasp on the service and how it works. At a very basic level, DNS is used to translate domain names into IP addresses. Luckily for us, there are many tools available that are excellent at extracting the data that we need from nameservers. An example of the information you are able to gather includes:

Record

Description

CNAME

Alias, used to tie many names to a single IP. An IP address can have multiple CNAME records associated with it.

A

Used to translate a domain or subdomain name to a thirty-two bit IP address. It can also store additional useful information.

MX

Ties a domain name to associated mail servers.

There are other record types that can be collected from DNS tools as well; the records listed in the table are the most popular and often, the most useful.

Note

DNS reconnaissance is considered active...

Gathering and validating domain and IP information


When a person or corporate entity registers a domain name there is a lot of information that is gathered. Depending on the registration privacy settings, you can collect this information and use it to verify your IP space, find information about other sites owned by the same individual or corporation, or even phone numbers and addresses of key employees. This type of reconnaissance is considered passive as it does not directly contact client-owned assets to pull information.

We will need to locate the registrar that the domain has been registered with to obtain useful information. Here is a listing of the top registrars.

Gathering information with whois

Domain...

Using search engines to do your job for you


Search engines can produce an absolute overload of information if not used efficiently. Not only can you find information about the financials of your targets, but also information about key employees, usernames and passwords, confidential documents such as network diagrams, information indicating what types of software or hardware you use or have in place, and even if systems are in a default state. This information can be devastating in the wrong hands. As a penetration tester your focus should be to bring this type of information forth and show the clients how it can be used to gain access to the clients' most critical assets (and hopefully, you will tell them how to fix the problem as well!).

Tip

There are search engines that cache information for quick access, and there are search engines that will archive sites and documents for years on end. There are even search engines that focus strictly on networking equipment such as wireless access points...

Summary


In this chapter, we have reviewed many specialized methods of gathering freely available information. Using this information we are able to create a larger picture of the networks we are targeting.

After performing the initial reconnaissance we should be able to determine if the network space provided to us by our clients is accurate. We should also be able to successfully determine which documents are searchable on the Internet and we are able to read the metadata associated with said documents. At this point of a penetration test we should be getting an idea of just how difficult or easy this job will be. One such indicator will be the results you gather from search engines such as Shodan. One last note, be very diligent in collecting the data you have found. Documentation is critical and will make your life as a penetration tester much easier in the long run.

In the next chapter, we will start to put the information we have gathered to use. You will have a chance to directly enumerate...

Left arrow icon Right arrow icon

Key benefits

  • Learn how to perform an efficient, organized, and effective penetration test from start to finish
  • Gain hands-on penetration testing experience by building and testing a virtual lab environment that includes commonly found security measures such as IDS and firewalls
  • Take the challenge and perform a virtual penetration test against a fictional corporation from start to finish and then verify your results by walking through step-by-step solutions

Description

The internet security field has grown by leaps and bounds over the last decade. Everyday more people around the globe gain access to the internet and not all of them with good intentions. The need for penetration testers has grown now that the security industryhas had time to mature. Simply running a vulnerability scanner is a thing of the past and is no longer an effective method of determining a business's true security posture. Learn effective penetration testing skills so that you can effectively meet and manage the rapidly changing security needs of your company. Advanced Penetration Testing for Highly-Secured Environments will teach you how to efficiently and effectively ensure the security posture of environments that have been secured using IDS/IPS, firewalls, network segmentation, hardened system configurations and more. The stages of a penetration test are clearly defined and addressed using step-by-step instructions that you can follow on your own virtual lab.The book follows the standard penetration testing stages from start to finish with step-by-step examples. The book thoroughly covers penetration test expectations, proper scoping and planning, as well as enumeration and footprinting. You'll learn how to clean up and compile proof of concept, exploit code from the web, advanced web application testing techniques, client side attacks, post exploitation strategies, detection avoidance methods, generation of well defined reports and metrics, and setting up a penetration testing virtual lab that mimics a secured environment. The book closes by issuing a challenge to your skills and ability to perform a full penetration test against a fictional corporation; followed by a detailed walk through of the solution.Advanced Penetration Testing for Highly-Secured Environments is packed with detailed examples that reinforce enumeration, exploitation, post-exploitation, reporting skills and more.

Who is this book for?

If you are looking for guidance and detailed instructions on how to perform a penetration test from start to finish, are looking to build out your own penetration testing lab, or are looking to improve on your existing penetration testing skills, this book is for you. Although the books attempts to accommodate those that are still new to the penetration testing field, experienced testers should be able to gain knowledge and hands-on experience as well. The book does assume that you have some experience in web application testing and as such the chapter regarding this subject may require you to understand the basic concepts of web security. The reader should also be familiar with basic IT concepts, and commonly used protocols such as TCP/IP.

What you will learn

  • Detailed step-by-step guidance on managing testing results and writing clearly organized and effective penetration testing reports
  • Properly scope your penetration test to avoid catastrophe
  • Understand in detail how the testing process works from start to finish, not just how to use specific tools
  • Use advanced techniques to bypass security controls and remain hidden while testing
  • Create a segmented virtual network with several targets, IDS and firewall
  • Generate testing reports and statistics
  • Advanced web application testing and exploitation
  • Perform an efficient, organized, and effective penetration test from start to finish

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 16, 2012
Length: 414 pages
Edition : 1st
Language : English
ISBN-13 : 9781849517744
Vendor :
Offensive Security
Category :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : May 16, 2012
Length: 414 pages
Edition : 1st
Language : English
ISBN-13 : 9781849517744
Vendor :
Offensive Security
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total NZ$ 258.97
Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide
NZ$96.99
Metasploit Penetration Testing Cookbook
NZ$80.99
Web Penetration Testing with Kali Linux
NZ$80.99
Total NZ$ 258.97 Stars icon
Banner background image

Table of Contents

11 Chapters
Planning and Scoping for a Successful Penetration Test Chevron down icon Chevron up icon
Advanced Reconnaissance Techniques Chevron down icon Chevron up icon
Enumeration: Choosing Your Targets Wisely Chevron down icon Chevron up icon
Remote Exploitation Chevron down icon Chevron up icon
Web Application Exploitation Chevron down icon Chevron up icon
Exploits and Client-Side Attacks Chevron down icon Chevron up icon
Post-Exploitation Chevron down icon Chevron up icon
Bypassing Firewalls and Avoiding Detection Chevron down icon Chevron up icon
Data Collection Tools and Reporting Chevron down icon Chevron up icon
Setting Up Virtual Test Lab Environments Chevron down icon Chevron up icon
Take the Challenge – Putting It All Together Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(23 Ratings)
5 star 47.8%
4 star 21.7%
3 star 17.4%
2 star 8.7%
1 star 4.3%
Filter icon Filter
Top Reviews

Filter reviews by




Rafa Sep 24, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The Book Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide, make us a tour of each of the phases involved in the Pentesting. Starting from the basics to conducting and reporting the same. If you have some knowledge of offensive computer security and want to deepen your knowledge, this book is for you. Most Pentesting teach basic courses to some extent leaving out field closely related in real life as evasion of network systems.I like in this book is to teach you not to depend on remote labs that will eventually generate considerable expense, with the only requirement a computer update, as it will need to virtualize multiple systems and that the virtual platform you are going to develop will serve you in your future to continue further studies.It is a book I recommend to have in your library studies to further advance your career, the tools to which they refer are open source so they will not have many problems in implementing the virtualization platform and make the recommended practices.
Amazon Verified review Amazon
John Brown Jun 04, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
great information in this book
Amazon Verified review Amazon
A. Student Sep 27, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
"This book is an excellent walkthrough of how to profitably use the immense toolbox available to the penetration tester. If you've only dipped into a few of the tools that are pre-installed in Back|Track, this book will introduce you to many of the other tools, their capabilities and how they can be used in a penetration testing engagement.However, this is not just a catalog and instruction manual for tools; Allen spends a lot of time talking about the penetration testing process including how to plan for one, consulting with the client to set appropriate scope and expectations and all the other details that set the professional penetration tester apart from the tool-focused amateur.Allen includes an excellent chapter on building a lab to follow along and try out the many techniques illustrated in the book. The book concludes with a challenge chapter that walks through an example penetration test.Most definitely a worthwhile read for technical security professionals and aspiring penetration testers."
Amazon Verified review Amazon
Po Foon Kwong Oct 04, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Eventually, a step-by-step guide on how to perform a penetration testing instead of just another book throwing tons of tools and ask readers to try one by one...Instead of explaining stages of penetration testing and throwing tools for each step, this book uses examples with instructions, guiding readers how to do the job directly - from setting up the virtual lab environment, to which tool to use, and then step-by-step instruction on how to use the tool to do the job. Anybody with just a basic understanding on *nix system will be able to follow the book easily, and eventually have an idea on what the penetration testing is after finishing the book.Definitely it doesn't cover everything, but it actually covers quite a lot of common scenarios - from exploitation of a single machine directly connected, to that of multiple machines of different operating systems behind firewall. The scenarios go a little bit more complex as the author explains different stages of penetration testing. The author did an excellent job in keeping the learning curve low.I highly recommend anybody who want to learn penetration testing to get this book. This is also suitable for those who tried pentesting courses like OSCP but found that the learning curve is too steep and eventually give up. It definitely helps bridging the gap.
Amazon Verified review Amazon
Kindle Customer Dec 23, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book shows a comprehensive base of knowledge for learning the basics of computer/network security. More then this book will be required to fully learn what you MUST know to be considered an expert ,but this book will get you started down the right path.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.