Reader small image

You're reading from  Building and Automating Penetration Testing Labs in the Cloud

Product typeBook
Published inOct 2023
PublisherPackt
ISBN-139781837632398
Edition1st Edition
Right arrow
Author (1)
Joshua Arvin Lat
Joshua Arvin Lat
author image
Joshua Arvin Lat

Joshua Arvin Lat is the Chief Technology Officer (CTO) of NuWorks Interactive Labs, Inc. He previously served as the CTO for three Australian-owned companies and as director of software development and engineering for multiple e-commerce start-ups in the past. Years ago, he and his team won first place in a global cybersecurity competition with their published research paper. He is also an AWS Machine Learning Hero and has shared his knowledge at several international conferences, discussing practical strategies on machine learning, engineering, security, and management.
Read more about Joshua Arvin Lat

Right arrow

Preparing the necessary components and prerequisites

In this section, we will focus on preparing the prerequisites needed for this chapter. We will start by retrieving the IP address of your local machine. We’ll use this IP address value later when configuring the firewall rules to allow our local machine to access specific resources inside the lab environment. In addition to this, we will also set up the Google Cloud project where the cloud resources will be deployed in this chapter.

Lastly, we will generate SSH keys (a public key and a private key) for accessing the attacker VM instance later in this chapter. As we can see in Figure 4.1, the private key will be stored inside your local machine while the public key will be stored inside the attacker VM instance.

Figure 4.1 – Generating SSH keys for accessing the attacker VM instance

With this setup, the server (the attacker VM instance) can confirm the identity of the client (your local...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Building and Automating Penetration Testing Labs in the Cloud
Published in: Oct 2023Publisher: PacktISBN-13: 9781837632398

Author (1)

author image
Joshua Arvin Lat

Joshua Arvin Lat is the Chief Technology Officer (CTO) of NuWorks Interactive Labs, Inc. He previously served as the CTO for three Australian-owned companies and as director of software development and engineering for multiple e-commerce start-ups in the past. Years ago, he and his team won first place in a global cybersecurity competition with their published research paper. He is also an AWS Machine Learning Hero and has shared his knowledge at several international conferences, discussing practical strategies on machine learning, engineering, security, and management.
Read more about Joshua Arvin Lat