System Specifications and Setup

Traveler02-hanne

A WAN based road warrior user running Windows 10. (this replaces the linux rw01)

Adapter

  • WAN

    • Find this in VM hardware

    • Make sure machine is OFF before you do this

  1. Open Settings

  2. Select System

  3. Select About

  4. Select Rename this PC

  5. Enter a new name

  6. Select Next

  7. Choose to restart your computer now or later

Make a named user on windows:

  1. Open Settings

  2. Select Accounts

  3. Select Family & other users

  4. Under Other users, click Add someone else to this PC

Add user to local admin group on windows:

Go to Settings > Network & Internet > Ethernet (or Wi-Fi) > Change adapter options > right-click your network adapter > Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties, then select "Use the following IP address"

Other Specifications

chevron-rightGet to nginx01's custom test pagehashtag

chevron-rightPerform ssh key-based authentication with jumparrow-up-righthashtag

Figure out how to create a keypair using either powershell or PuTTY, transfer the public portion to one of your linux systems and demonstrate a passwordless login from windows to a linux system.

Generate keypair

  • ssh-keygen -t rsa

  • Enter file in which to save the key. (C:\Users\annem_000.ssh\id_rsa):

  • Enter Passphrase (empty for no passphrase):

    • id_rsa contains the private key.

    • id_rsa.pub contains the public key.

Create a SSH directory on server

  • ls .ssh

  • mkdir -p .ssh

Disable password authenticaion

  • sudo nano /etc/ssh/sshd_config

    • PasswordAuthenticaion no

    • ChallengeResponseAuthentication no

    • UsePAM no

Upload public key to remote server

  • ssh-copy-id user@somedomain

DHCP02-hanne

A LAN based dhcp server running Ubuntu

Adapter

  • Set to LAN

    • Find this in VM hardware

    • Make sure machine is OFF before you do this

Hostname

User

IP Address

  • sudo netplan apply

Other Specifications

chevron-rightInstalled Wazuh agents/be able to connect to Wazuharrow-up-righthashtag
  • Go to Wazuh

  • Go to Agents

  • Deploy a new agent

  • Use the following command to install the agent:

    • make sure to grab the actual command when you set up an agent on the Wazuh interface

  • Start the agent

chevron-rightServer a pool of DHCP addresses to the LAN from .100 to .150arrow-up-righthashtag
  • Assign static IP to the Ubuntu servers LAN

  • sudo netplan apply

  • Install ISC DHCP server

    • sudo apt install isc-dhcp-server

    • sudo systemctl status isc-dhcp-server

  • Configure

    • /etc/dhcp/dhcp.conf

    • mv /etc/dhcp/dhcp.conf /etc/dhcp/dhcp.conf.orig

    • sudo nano /etc/dhcp/dhcpd.conf

  • Set Listening interface

    • Specify which interface the DHCP server should use by editing /etc/default/isc-dhcp-server:

  • Start and Verify DHCP service

Edge02-hanne

A vyOS Firewall with three interfaces (WAN, DMZ, LAN). You will need to add an interface using vCenter. (this replaces fw01)

Adapter

  • WAN

  • DMZ

  • LAN

    • Find this in VM hardware

    • Make sure machine is OFF before you do this

Hostname

IP Address

chevron-rightGateway and DNShashtag

The SEC350-WAN interface on fw01 needs to be informed on how to get out to the internet. We will set both the default gateway and DNS server to the SEC350-Gateway Firewall at 10.0.17.2.

chevron-rightInterface assignmenthashtag
  • Type show interfaces

Set the interfaces and make sure to give them a description

Set the corresponding IP addresses for each interface

Nginx02-hanne

A DMZ based nginx web server running Ubuntu (this replaces web01 and apache)

Adapter

  • DMZ

    • Find this in VM hardware

    • Make sure machine is OFF before you do this

Hostname

User

IP Address

chevron-rightCustom web pagearrow-up-righthashtag
  • sudo apt update -y

  • sudo apt install -y nginx

  • systemctl enable nginx

  • systemctl start nginx

  • systemctl status nginx

Make a custom webpage

  • cd /var/www/html

  • sudo nano index.html

  • Input webpage

chevron-rightInstalled Wazuh agents/be able to connect to Wazuhhashtag
  • Go to Wazuh

  • Go to Agents

  • Deploy a new agent

  • Use the following command to install the agent:

    • make sure to grab the actual command when you set up an agent on the Wazuh interface

  • Start the agent

Mgmt02-hanne

  • should be able to surf the internet

  • should be able to navigate to nginx02

  • mgmt01 should be able to ssh to nginx01

Wsk01-hanne

  • should be able to surf the internet

  • should be able to navigate to nginx02

  • Use DHCP addressing

Last updated