Post

SOC Automation Project - Part 2

Building a SOC automation Home Lab: Part 2 - Windows 10 VM installation and configuration

A step-by-step guide for building your very own SOC Automation Home Lab using VMWare and DigitalOcean cloud provider

In this module, we will cover the installation and configuration of our Windows 10. Additionally, we will install Sysmon on our virtual machine (VM) host.

The Windows 10 VM will serve as the Wazuh Agent for our project. However, the number of agents and their OS is up to you, as long as they are supported by Wazuh.

Installing Windows 10 VM host

Download Windows

  1. Go to the following link: Download Windows 10 Enterprise 64-bit edition.

  2. The downloaded file will have the .iso extension.

Download Windows

Windows 10 VM Creation

  1. Launch VMware and select Create a New Virtual Machine from the dashboard.

  2. Choose the following options:

  • Configuration: Typical
  • Installation method: I will install the operating system later
  • Guest Operating System: Microsoft Windows
  • Version: Windows 10 x64
  • Name your VM and choose its location.
  • Amount of storage space: 100 GB
  • Click Finish to complete the creation.

Creating new VM_1

Creating new VM_2

Creating new VM_3

Creating new VM_4

Creating new VM_6

Creating new VM_7

Creating new VM_8

Before starting the VM, we need to make some changes first.

  1. Select Edit virtual machine settings.

  2. Under the CD/DVD (SATA) option, change the connection to the Windows .iso file we downloaded earlier.

I changed the memory alocated to 4GB and 1 processor, but you can leave it as it is.

Creating new VM_9

Creating new VM_10

Creating new VM_11

Creating new VM_12

This VM has to have access to the internet, leave the network adapter configured for NAT or Bridged mode.

Now, start the Windows machine and proceed with the installation.

Completing Windows installation

After starting the machine, press any key to begin the Windows installation. Select your preferred language, time and keyboard layout, then click Install Now.

Creating new VM_13

Creating new VM_14

Agree to the terms, choose Custom installation > Next and the VM will reboot a few times.

Creating new VM_15

Creating new VM_16

Creating new VM_17

Creating new VM_18

After rebooting, select your region and keyboard layout. Next, choose the option Domain join instead from the bottom left corner.

Creating new VM_20

Creating new VM_21

Creating new VM_22

Creating new VM_23

Insert the name and password of your user account.

Creating new VM_24

Creating new VM_25

Choose and answer the security questions, disable all privacy settings, and finally select Not Now.

Creating new VM_26

Creating new VM_27

Creating new VM_28

Next, we will install VMware tools in order to improve our VM performance.

Installing VMware Tools

VMware Tools enhances the VM’s performance and adds functionalities such as full-screen resolution (without stretching), copy-paste between guest and host, automatic shutdowns and reboots, and time synchronization. In order to install VMware Tools:

  • Go to VM > Install VMware Tools on the top left side of VMware.

  • After a few seconds, open the DVD Drive (D:) VMware Tools and run setup64.exe.

Creating new VM_30

Creating new VM_31

  • Select Next > Next > Finish and restart to complete the installation.

Creating new VM_32

Creating new VM_33

Creating new VM_34

Creating new VM_35

Creating new VM_36

Now that our Windows 10 VM installation is complete, our next step is to install Sysmon.

Installing Sysmon

Go to the following link to download Sysmon and while it’s downloading, save the sysmonconfig.xml file from this Github Repo.

Creating new VM_37

Creating new VM_38

Creating new VM_39

Creating new VM_40

Extract the Sysmon zip file and move the sysmonconfig.xml file to the same directory.

Creating new VM_41

Creating new VM_42

Creating new VM_44

Next, open a PowerShell terminal with administrative privileges, go to the sysmon directory and run the following command to install Sysmon.

1
2
3
4
5
# Changing directory
cd "/path/to/sysmon"

# Installing sysmon
sysmon64.exe -i sysmonconfig.xml

Creating new VM_43

Creating new VM_45

Agree with the license terms and after a few seconds, the Sysmon service will be running.

Creating new VM_46

Creating new VM_47

Now our Windows 10 VM host is ready and with Sysmon running.

Next Steps

In the next module, we will deploy our Wazuh and theHive server on the cloud using DigitalOcean. We will also configure firewall rules to only allow traffic from our machine.

This post is licensed under CC BY 4.0 by the author.