📖
Building a Windows AD lab
  • Building a Windows AD lab
  • Lab-setup
    • Lab overview
    • Building the lab
      • Prerequisite
      • Creating images
        • Optional: Install software & Settings
      • Network setup
      • Cloning & Creating VM's
      • Creating bank.local
        • Creating Domain Controller - DC01
          • Enable RDP
        • Creating amsterdam.bank.local
          • Creating Domain Controller - DC02
            • Creating a AD structure
            • Create a CA
            • Configure LDAPS
          • Creating Fileserver - FILE01
            • File services
          • Creating W10 client - WS01
            • PSRemoting
          • Creating Webserver - WEB01
            • Web Services
            • SQL Server
              • Create database
      • Creating secure.local
        • Creating Domain Controller - DC03
        • Creating File/SQL Server - DATA01
          • SQL Server
            • Create database
    • Attack Paths
      • Attack path 1 (hard)
        • Configuring
        • Tasks
        • Manual
      • Attack path 2
        • Configuring
        • Task
        • Manual
    • Troubleshooting
    • To-Do
  • Vulnerabilities & Misconfigurations & Attacks
    • Initial Access Attacks
      • Username Enumeration
        • Password Spraying
        • AS-REP Roasting
        • Empty Password
      • SMB Relaying
      • SMB Null-Session (To-Do)
      • SQL Server default login
    • Active Directory Attacks
      • Password spraying
      • AS-REP Roasting
      • Empty password
      • Password in description
      • Kerberoasting
      • Delegation Attacks
        • Unconstrained Delegation
          • Printerbug
        • Constrained Delegation
        • Resource Based Constrained Delegation
          • Computeraccount Takeover
          • Change-LockScreen
          • Webclient Attack (todo)
      • DACL-Abuses
        • Write Owner
        • Owns
        • WriteDacl
        • GenericAll
        • GenericWrite (todo)
        • ForceChangePassword
        • Add user to group (todo)
        • Targeted Kerberoast (todo)
        • Get-Changes
      • Reused local administrator (todo)
      • SQL Server Attacks (todo)
        • Initial Access
          • SQL Server default login
          • Normal domain user access
        • Privilege Escalation
          • Impersonation
          • DB-Owner
          • Enumerate Logins
            • Weak passwords
        • Executing Commands
        • Database-Links
        • Capturing hashes & Relaying
      • Reading LAPS passwords (todo)
      • Priviliged Groups (todo)
        • DNS-Admins (todo)
        • Account Operators (todo)
        • Backup Operators
        • Server Operators (todo)
      • Hopping domains and forests
        • Child to parent domain
          • Krbtgt hash
          • Trust key
        • Cross forest Attacks (todo)
          • Foreign user
    • Misc
      • Reverse shell trick
      • Lateral Movement
        • PSRemoting
        • PsExec (todo)
      • Misconfigured Service (todo)
        • Unqouted Service Path
      • Discovering Shares
      • Password on shares
      • Different methods of dumping credentials
        • LSASS (todo)
        • Dumping DPAPI
          • Browser passwords
        • Scheduled tasks (todo)
        • Services (todo)
        • Vssadmin Shadow Copy
      • ms-ds-machineaccountquota (todo)
      • add DNS Records (todo)
      • Bypassing UAC
    • Template page
  • Defence
    • Detection
    • Hardening
      • LDAP
        • LDAP Signing
        • LDAPS Binding
      • Strong Password Policy
      • Change who can join computers to the domain
      • Protected users group
      • Account is sensitive and cannot be delegated
      • Powershell Execution Policy
      • Template page
Powered by GitBook
On this page
  • General machine info
  • Installation after sysprep
  • Renaming and setting a static IP
  • Installing Web Services
  • Joining the domain
Edit on GitHub
  1. Lab-setup
  2. Building the lab
  3. Creating bank.local
  4. Creating amsterdam.bank.local

Creating Webserver - WEB01

PreviousPSRemotingNextWeb Services

Last updated 3 years ago

General machine info

  • Machine Name: WEB01

  • IP Adress: 10.0.0.5

  • Subnetmask: 255.255.255.0

  • Gateway: 10.0.0.1

  • DNS: 10.0.0.3

  • Role: Web Server (IIS), SQL Server

  • Domain: amsterdam.bank.local

Installation after sysprep

  1. Startup the machine

  2. When asked if you copied the Virtual Machine, select "I Copied It"

3. Choose the correct settings for your lab, in our example we choose for the region "Netherlands", for app language we choose "English (United States)" and for keyboard layout "United States-International"

4. Accept the 'License terms'.

5. During the initial startup we have to set the Administrator password again. We wil use Welcome01! for now.

5. Press CTRL + ALT + DEL and login with the user and password we just set.

Renaming and setting a static IP

1. Open File Explorer --> right click "This PC" --> Properties.

2. Click on "Change settings".

3. A window called "System Properties" pops-up, within this window we need to be in the tab "Computer Name" and click on "Change..."

3. A window called "Computer Name/Domain Changes" pops-up, fill in WEB01 and click "OK".

4. When asked to restart, click on "OK". Close the current Windows and a new window will pop-up and asks you to restart your computer, click on "Restart Now".

5. Login again and right click in the Taskbar on the Networking Icon and select "Open Network & Internet Settings"

6. Click on "Change adapter options".

7. Right click the Ethernet adapter and select "Properties".

8. Select "Internet Protocol Version 4 (TCP/IPv4) and click "Properties".

9. Copy the following settings:

10. Click on "OK" and close all the Windows.

Installing Web Services

Joining the domain

1. Open File Explorer --> right click "This PC" --> Properties

2. Click on "Change settings"

3. A new window will pop-up called 'System Properties', within this window click on "Change..."

4. Another window will pop-up called 'Computer Name/Domain Changes', within this window change the 'Domain' to "amsterdam.bank.local" and click on "OK"

5. You will be asked to supply credentials, we will use the administrator account from amsterdam.bank.local and click on "OK"

6. We're welcomed to the domain, click on "OK". After this message it will asks us to reboot the machine, click on "OK". Close the 'System Properties' window and restart the machine now.

now we're able to login into the amsterdam.bank.local domain.