Active Directory
Namespace Notes
This is our layout
[Network Layout]
- 192.168.5.1: Router
- 192.168.5.2: Bare Metal Host Machine (windows) This is the actual computer hosting all the virtual machines
- 192.168.5.3: Domain Controller 1
- 192.168.5.4: Domain Controller 2
- 192.168.5.10: Appsec Box
- 192.168.5.20* - User workstations
We’re going to be alternating between domain controllers to handle license expiration.
Making an Active Directory
Scenario: Setup a Microsoft Active Directory Server on VirtualBox
Download the Windows Server Evaluation iso image (microsoft.com/en/-us/evalcenter/download-windows-server-2022) ISO Downloads > 64 Bit Edition
Create a Virtual Machine using the ISO image downloaded Note: i had to have it empty and add the iso later on to avoid the licensing requirement
Configure this Windows AD server to our needs & make it into a DC (Domain Controller)
16:20 - Server Manager Dashboard
- Select Step 2: Add Roles & Features
- Server Manager > Dashboard At this point I also changed the name of the pc (settings) Also checking network settings to be static In the virtualbox settings, it needs to be set to a bridged adapter
Role-based or feature-based installation
Now, when you get to Server Roles, it will have File and Storage Services
[interject to show the server manager and dashboard screenshot]
- 16:42 - Active Directory Domain Services
- Installation succeeded, time to promote it to a domain controller
- Forest: Collection of domains
- Root Domain Name: scavengers-repo.local
- Set password
- Custom Install (Windows Server 2022 Desktop Standard)
- Login after the restart
- Part 2: Setting up the network by creating a user
Forests, Trees, and Domains
[Screenshot of AD]
- Active Directory’s Logical Divisions
- Domains: Group of network objects (ex.) with the same Active Directory database
- Tree: a group of domains stemming from those root domains.
- Forest: A whole bunch of these root domains
Setup DNS on Active Directory
https://www.youtube.com/watch?v=-TsqAHUWdQU&ab_channel=MSFTWebCast