Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Building and Automating Penetration Testing Labs in the Cloud
  • Toc
  • feedback
Building and Automating Penetration Testing Labs in the Cloud

Building and Automating Penetration Testing Labs in the Cloud

By : Joshua Arvin Lat
4.8 (13)
close
Building and Automating Penetration Testing Labs in the Cloud

Building and Automating Penetration Testing Labs in the Cloud

4.8 (13)
By: Joshua Arvin Lat

Overview of this book

The significant increase in the number of cloud-related threats and issues has led to a surge in the demand for cloud security professionals. This book will help you set up vulnerable-by-design environments in the cloud to minimize the risks involved while learning all about cloud penetration testing and ethical hacking. This step-by-step guide begins by helping you design and build penetration testing labs that mimic modern cloud environments running on AWS, Azure, and Google Cloud Platform (GCP). Next, you’ll find out how to use infrastructure as code (IaC) solutions to manage a variety of lab environments in the cloud. As you advance, you’ll discover how generative AI tools, such as ChatGPT, can be leveraged to accelerate the preparation of IaC templates and configurations. You’ll also learn how to validate vulnerabilities by exploiting misconfigurations and vulnerabilities using various penetration testing tools and techniques. Finally, you’ll explore several practical strategies for managing the complexity, cost, and risks involved when dealing with penetration testing lab environments in the cloud. By the end of this penetration testing book, you’ll be able to design and build cost-effective vulnerable cloud lab environments where you can experiment and practice different types of attacks and penetration testing techniques.
Table of Contents (15 chapters)
close
1
Part 1: A Gentle Introduction to Vulnerable-by-Design Environments
5
Part 2: Setting Up Isolated Penetration Testing Lab Environments in the Cloud
9
Part 3: Exploring Advanced Strategies and Best Practices in Lab Environment Design

What this book covers

Chapter 1, Getting Started with Penetration Testing Labs in the Cloud, introduces the key concepts to help you get started with building penetration testing labs in the cloud. In this chapter, we will also examine the considerations and risks involved when building these vulnerable-by-design labs in the cloud.

Chapter 2, Preparing Our First Vulnerable Cloud Lab Environment, allows you to get your feet wet by setting up and configuring your first vulnerable lab environment in the cloud.

Chapter 3, Succeeding with Infrastructure-as-Code Tools and Strategies, details how you can use IaC solutions to build your penetration testing lab environments automatically.

Chapter 4, Setting Up Isolated Penetration Testing Lab Environments on GCP, shows you how to isolate and protect vulnerable lab resources from unauthorized external attacks using a properly configured network environment. Inside this secure network environment, we will set up a target VM instance that hosts an intentionally vulnerable web application called the OWASP Juice Shop. In addition to this, we will launch an attacker VM instance and configure it with browser-based access to its desktop environment.

Chapter 5, Setting Up Isolated Penetration Testing Lab Environments on Azure, presents how to set up and automate an isolated penetration testing lab environment on Azure. In this chapter, we will build a lab where we can practice container breakout techniques to gain unauthorized access to the host system. In addition to this, we will look at how managed identities in Azure can be abused to gain unauthorized access to other cloud resources.

Chapter 6, Setting Up Isolated Penetration Testing Lab Environments on AWS, focuses on how to build and automate the preparation of an isolated penetration testing lab environment on AWS. In this chapter, we will prepare a lab setup where we can practice pivoting techniques that can be used to access internal systems and networks using the initially compromised machine.

Chapter 7, Designing and Building an IAM Privilege Escalation Lab, demonstrates how to set up a vulnerable lab environment for IAM privilege escalation on AWS. In this chapter, we also have our first look into how we can use generative AI solutions to generate code for use in penetration testing simulations.

Chapter 8, Designing and Building a Vulnerable Active Directory Lab, focuses on how to set up a vulnerable Active Directory lab on Azure. Here, we’ll also learn how to use various tools such as Kerbrute, Impacket, and John the Ripper to validate and assess whether the penetration testing lab environment has been set up and (mis)configured correctly.

Chapter 9, Recommended Strategies and Best Practices, presents the best practices and techniques for improving and enhancing the lab environments discussed in the previous chapters. In this chapter, we’ll also dive a bit deeper into how we can use generative AI tools for IaC template code creation, infrastructure cost estimation, and automation script development.

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete