Welcome to the Active Directory Server Project! This project demonstrates the setup and management of a Windows Server environment, featuring Active Directory, IIS, DNS, DHCP, and Sysmon Monitoring. The goal is to build a secure and functional domain environment with granular user management and robust monitoring capabilities.
This project involves configuring a Windows-based server to provide essential domain and network services, including:
- Active Directory (AD) for centralized user and resource management.
- IIS (Internet Information Services) for web application hosting.
- DNS for domain name resolution.
- DHCP for dynamic IP allocation.
- Sysmon Monitoring to capture and analyze security-related events.
The configuration highlights best practices in security, role-based access, and user activity monitoring, with an emphasis on understanding Windows Server administration.
The project creates a simulated network environment with the following elements:
- Active Directory: Centralized domain management.
- IIS: Hosting a web application for administrative purposes.
- DNS and DHCP: Managing network communication and IP allocation.
- Sysmon: Monitoring system activities for enhanced security.
IP Table
| Device | Role | IP Address |
|---|---|---|
| Domain Controller | AD, DNS, DHCP | 192.168.1.1 |
| Server | IIS, Monitoring | 192.168.1.2 |
| Client VMs | Domain-Joined Devices | DHCP Assigned |
- Windows Server 2022: Configured for Active Directory, DNS, DHCP, and IIS roles.
- Client VMs: Configured to join the domain and interact with server services.
- Service: Configured AD for user and group management in a domain.
2. IIS (Internet Information Services)
- Service: Configured IIS to host a secure web application.
- Service: Configured DNS for domain resolution and DHCP for dynamic IP allocation.
- Service: Implemented Sysmon to capture user activities and detect security events.
- Active Directory: Provides centralized control over users, groups, and resources within the domain.
- IIS: Hosts a web application for administrative or informational purposes, secured with best practices.
- DNS and DHCP: Work together to enable smooth communication between devices in the domain.
- Sysmon: Monitors critical events like logins, process executions, and unauthorized access attempts.
- Installed the AD DS role and promoted the Domain Controller to a domain.
- Created a new forest and domain (
example.local). - Configured Organizational Units (OUs) for user management:
- AdminUsers OU: For administrators like Alice.
- StandardUsers OU: For regular users like Bob.
- Joined other servers and clients to the domain.
- Installed IIS on the server and deployed a sample web application.
- Assigned Alice permissions to manage IIS and its resources.
- Secured IIS with HTTPS and NTFS permissions to prevent unauthorized access.
- Configured DNS:
- Verified name resolution for domain resources.
- Added conditional forwarders for external DNS resolution.
- Configured DHCP:
- Set up a scope to allocate IP addresses dynamically.
- Enabled dynamic DNS updates for seamless IP-to-hostname mapping.
- Installed Sysmon from Sysinternals.
- Applied a configuration file (SwiftOnSecurity Sysmon Config) to capture relevant events.
- Monitored and analyzed user activities:
- Alice's administrative actions.
- Bob's file access attempts.
-
Domain Controller Promotion Issues:
- DNS was not properly configured during AD promotion, causing domain joins to fail. Fixed by manually correcting DNS settings in
Server Manager.
- DNS was not properly configured during AD promotion, causing domain joins to fail. Fixed by manually correcting DNS settings in
-
IIS Configuration:
- Permissions on the
wwwrootfolder caused access issues. Resolved by adjusting NTFS permissions and testing with Alice's credentials.
- Permissions on the
-
DHCP Failures:
- Clients were not receiving IP addresses due to a misconfigured DHCP scope. Adjusted the range and restarted the DHCP service.
-
Sysmon Noise:
- Sysmon logs contained excessive noise. Applied filters in the configuration file to focus on critical events.
-
Set Up the Environment:
- Configure a private network in your virtualization tool.
- Install Windows Server 2022 on all VMs.
-
Deploy Active Directory:
- Promote the Domain Controller VM to a domain.
- Join the Server and Client VMs to the domain.
-
Configure Services:
- Install and configure IIS, DNS, DHCP, and Sysmon as outlined above.
-
Verify Functionality:
- Test:
- User logins and domain permissions.
- IIS access for Alice.
- DHCP and DNS resolution on clients.
- Sysmon logs for monitored activities.
- Test:
- Rayane Oulad - Configuration & Documentation
- Scalability: Extend the domain to include additional sites or forests.
- Security: Implement advanced security measures like Group Policy hardening and multi-factor authentication.
- Monitoring Enhancements: Integrate tools like Splunk or ELK for more detailed log analysis.
- Backup and Disaster Recovery: Automate backups for Active Directory and server configurations.
