JTCyberTech / Cybersecurity-Home-Labs

5 stars 1 forks source link

Part 1: Create VM in Azure for Honeypot #39

Open JTCyberTech opened 11 months ago

JTCyberTech commented 11 months ago

Create VM in Azure for Honeypot

Upon the establishment of my Azure free account and the installation of PuTTY, I present a comprehensive step-by-step guide for the deployment of a Virtual Machine (VM) in Azure, tailored for the purpose of deploying the honeypot.

Initial VM Creation



- Select "Virtual machines" by clicking on it in the middle of the page. - If you don't see Virtual machines, you can search it on the search bar.



Create a Virtual Machine: Basics

- Click on "Create" in the top left corner to create a new VM. - Select on "Azure Virtual machine"



- Click on "Create new" on the Resource group. - Name: Honeypot



- Name the Virtual machine name: HoneyPot



- For Region, pick something that is close to you because it will impact your cost. - Closest to me is (US) East US



- For Image, select the operating system to be Debian because the honeypot requires to be run on Debian.



- For Size, click on "See all sizes". - Select the D4s_v3. Azure provide you with 200 free credits the first month of creating the account for experiment purposes.



- For Authentication type, we will select "Password". - Enter in your own username and password.



- For Inbound port rules. make sure you have SSH allowed. - Public inbound ports: Allow selected ports. - Select inbound ports: SSH (22). - Click on "Next: Disks >".



Create a Virtual Machine: Disks

I will need to create a disk that is at least 128 GB. - Click on "Create and attach a new disk" at the bottom of the page.



- For Size, click on "Change size". - Select "128 GiB", click "OK" to confirm. - "OK"



- Click on "Next: Networking >".

Create a Virtual Machine: Networking

New virtual network subnet and public IP address will be created. - Keep everything default. - Click on "Next: Management >".



Create a Virtual Machine: Management

In management section, there is an option to enable auto-shutdown. This is useful if your Azure free credit is used up to avoid unexpected charges. It is crucial to decide the desired duration for retaining your virtual machine (VM) since maintaining a stopped VM with an associated public IP address will continue to charges. When concluding your project and facing constraints in available credits, it is imperative to meticulously remove all associated resources to prevent any additional charges. - I will leave it as default. Because I still have Azure free credits. - Click on "Review + create"



Create a Virtual Machine: Review + create

The validation passed, the VM is ready to be created. - Click on "Create".



- Click on "Download private key and create resource".