Docsity

Module 7: Securing Active Directory Domain Services, Exercises of History

Toggle sidebar
bg1
Module 7: Securing Active Directory Domain Services
Lab: Securing AD DS (VMs: 20742B-LON-DC1, 20742B-LON-SVR1)
Exercise 1: Implementing security policies for accounts, passwords,
and administrative groups
Task 1: Identify the required settings
1. Read the documentation provided.
2. Fill in the table of settings according to the requirements of A. Datum
Corporation.
Setting
Configuration for
all users
Configuration for IT
administrators
Enforce password
history 10 10
Maximum password
age 60 days 30 days
Minimum password
age 1 day 1 day
Minimum password
length 8 characters 10 characters
Passwords must
meet
complexity
requirements
True True
Store password
using
reversible
encryption
False False
Account lockout
duration 1 hour
Administrator must
unlock
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Module 7: Securing Active Directory Domain Services and more Exercises History in PDF only on Docsity!

Module 7: Securing Active Directory Domain Services

Lab: Securing AD DS (VMs: 20742B-LON-DC1, 20742B-LON-SVR1)

Exercise 1: Implementing security policies for accounts, passwords,

and administrative groups

Task 1: Identify the required settings

  1. Read the documentation provided.
  2. Fill in the table of settings according to the requirements of A. Datum Corporation.

Setting Configuration for all users

Configuration for IT administrators Enforce password history

Maximum password age 60 days 30 days

Minimum password age 1 day 1 day

Minimum password length 8 characters 10 characters

Passwords must meet complexity requirements

True True

Store password using reversible encryption

False False

Account lockout duration 1 hour Administrator must unlock

Account lockout threshold

Reset account lockout counter after

20 minutes 20 minutes

  1. Answer the additional questions from the proposals document. o How can you configure that IT administrators have different password and account lockout settings than regular users? Answer: Use the Default Domain Policy, which applies to all users, and create a fine-grained password policy object that applies only to the required administrative groups.

o How can you identify IT administrators in terms of more restricted password and account lockout settings? Answer: The administrative password and account lockout settings should apply to the IT group and the Domain Admins group.

o How can you meet the requirement to limit the membership list for the local Administrators groups on all member servers to only the local Administrator account, the Domain Admins group, and the IT group? Answer: Ensure that you have domain member servers in the same OU hierarchy. Assign a policy to it, and then use the restricted groups feature to restrict the local Administrators group forcefully to contain only administrators, the Domain Admins group, and the IT group.

o How can you meet the requirement that the Domain Admins group must include only the Administrator account and that the Enterprise Admins and Schema Admins groups must be empty during normal operations? Answer: You cannot configure groups other than local groups with the restricted groups feature. For Domain Admins, Enterprise Admins, and Schema Admins, you must configure the group membership manually and audit their changes.

o How can you meet the requirement that other built-in groups, such as Account Operators and Server Operators, must not contain members? Answer: Use the restricted groups feature.

  1. In the Store passwords using reversible encryption Properties dialog box, ensure that Define this policy setting is selected.
  2. Select Disabled , and then click OK.
  3. In the navigation pane, click to select Account Lockout Policy.
  4. In the details pane, double-click Account lockout duration.
  5. In the Account lockout duration Properties dialog box, click Define this policy setting.
  6. Configure Account is locked out for to 60 minutes , and then click OK.
  7. In the Suggested Value Changes dialog box, click OK , and then double-click Account lockout threshold.
  8. In the Account lockout threshold Properties dialog box, configure Account will lock out after to 5 invalid logon attempts , click OK , and then double-click Reset account lockout counter after.
  9. In the Reset account lockout counter after Properties dialog box, configure Reset account lockout counter after to 20 minutes , and then click OK.
  10. Close the Group Policy Management Editor window and the Group Policy Management console.

Task 3: Configure a PSO for IT administrators

  1. On LON-DC1 , from Server Manager , click Tools , and then click Active Directory Administrative Center.
  2. In Active Directory Administrative Center , in the navigation pane, click Adatum (local).
  3. In the details pane, scroll to and double-click System , and then double-click Password Settings Container.
  4. In the Tasks pane, in the Password Settings Container section, click New , and then click Password Settings.
  5. In the Create Password Settings dialog box, in the Password Settings section, in the Name field, type Adatum Administrators Password Settings.
  6. In the Precedence field, type 10 and then ensure that Enforce minimum password length is selected.
  7. In the Minimum password length (characters) text box, type 10 and then ensure that Enforce password history is selected.
  8. In the Number of passwords remembered text box, type 10 ensure that Password must meet complexity requirements is selected, and then ensure that

Store password using reversible encryption is not selected.

  1. Under Password age options , ensure that Enforce minimum password age is selected.
  2. In the User cannot change the password within (days) text box, type 1 and then ensure that the Enforce maximum password age check box is selected.
  3. In the User must change the password after (days) text box, type 30 and then select the Enforce account lockout policy check box.
  4. In the Number of failed logon attempts allowed text box, type 3
  5. In the Reset failed logon attempts count after (mins) text box, type 20 and then select Account will be locked out, Until an administrator manually unlocks the account.
  6. In the Directly Applies To section, click Add.
  7. In the Select Users or Groups dialog box, under Enter the object names to select , type IT , and then click Check Names.
  8. The Name Not Found dialog box appears because IT is not a global group but a Universal Group. Click Cancel.
  9. Switch to Server Manager , click Tools , and then click Windows PowerShell.
  10. At the Windows PowerShell command prompt, type the following command, and then press Enter: Get-ADGroup IT
  11. Verify that the IT group has a group scope of Universal.
  12. At the command prompt, type the following command, and then press Enter: Set-ADGroup IT –GroupScope Global
  13. Switch back to the Create Password Settings: Adatum Administrative Password Settings dialog box.
  14. In the Select Users or Groups dialog box, under Enter the object names to select , type IT; Domain Admins and then click Check Names. The names are both resolved. Click OK.
  15. Click OK to close the Create Password Settings: Adatum Administrative Password Settings dialog box and create the Password Settings object (PSO).
  16. In Active Directory Administrative Center , in the navigation pane, click Overview.
  17. In the details pane, in the Global Search box, type Abbi Skinner and then press Enter. The user object of Abbi Skinner is found.
  18. In the Tasks pane, click View resultant password settings. Note that the Adatum Administrative

click OK.

  1. In the Administrators Properties dialog box, under Members of this group , click Add.
  2. In the Add Member dialog box, click Browse.
  3. In the Select Users, Service Accounts or Groups dialog box, in the Enter the object names to select text box, type Domain Admins; IT click Check Names , and then click OK.
  4. In the Add Member dialog box, in the Members of this group section, add Administrator to the string, and then click OK.
  5. Verify that the Administrator Properties dialog box now shows the following in Members of this group , and then click OK : o ADATUM\Domain Admins o ADATUM\IT o Administrator
  6. Close the Group Policy Management Editor window.
  7. On LON-SVR1 , click Start , type cmd , and then click Command Prompt.
  8. In the Administrator: Command Prompt window, type the following command, and then press Enter: gpupdate /force
  9. Wait until the command updates the Computer Policy and the User Policy.
  10. On LON-SVR1 , click Start , and then click Server Manager.
  11. From Server Manager , click Tools , and then click Computer Management.
  12. In Computer Management , expand System Tools\Local Users and Groups , and then click Groups.
  13. Double-click Administrators , and then verify that ADATUM\Domain Admins , ADATUM\IT , and the local Administrator are members of this group.
  14. Close all open windows except for Server Manager.
  15. Switch back to LON-DC1 , and then switch to Group Policy Management.
  16. In the Group Policy Management console, expand Domain Controllers , right- click the Default Domain Controllers Policy link, and then click Edit.
  17. In the Group Policy Management Editor window, expand Computer Configuration\Policies\Windows Settings\Security Settings , click to select Restricted Groups , right-click Restricted Groups , and then click Add Group.
  18. In the Add Group dialog box, in the Group field, type Server Operators and then click OK.
  19. In the Server Operators Properties dialog box, keep the default settings of

This group should contain no members , and then click OK.

  1. Repeat the steps 30 to 33 for the Account Operators group.
  2. Close the Group Policy Management Editor window and the Group Policy Management console.

Task 5: Implement administrative auditing

  1. On LON-DC1 , from Server Manager , click Tools , and then click Group Policy Management.
  2. In the Group Policy Management console, expand Forest:Adatum.com\Domains , Adatum.com\Group Policy Objects , select the Default Domain Controllers Policy , right-click Default Domain Controllers Policy , and then click Edit.
  3. In the Group Policy Management Editor window, expand Computer Configuration\Policies\Windows Settings\Security Settings\Advanced Audit Policy Configuration\Audit Policies , and then click to select DS Access.
  4. In the details pane, double-click Audit Directory Services Changes.
  5. In the Audit Directory Services Changes Properties dialog box, select Configure the following audit events , select the Success check box, and then click OK.
  6. In the navigation pane, navigate to Computer Configuration\Policies\Windows Settings\Security Settings\Advanced Audit Policy Configuration\Audit Policies , and then click to select Account Management.
  7. In the details pane, double-click Audit Security Group Management.
  8. In the Audit Security Group Management Properties dialog box, select Configure the following audit events , select the Success check box, and then click OK.
  9. In the navigation pane, navigate to Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies , click to select Security Options , and then double-click the Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings.
  10. In the Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings dialog box, select Define this policy setting , ensure that Enabled is selected, and then click OK.
  11. Close the Group Policy Management Editor window and the Group Policy Management console.
  12. On LON-DC1 , from Start screen, type cmd and then click Command Prompt.

dialog box, you get the message “A member was added to a security-enabled global group.” You can see that ADATUM\Administrator invoked the change and that ADATUM\Abbi was added to the ADATUM\Domain Admins group.

  1. In Event Viewer , in the Windows Logs\Security Log node, search for the two most recent Event IDs 5136 , then double-click the older of the two events.
  2. In the Event Properties – Event 5136, Microsoft Windows security auditing dialog box, you will see the following message: “A directory service object was modified.” You can see that ADATUM\Administrator has modified the user object cn=Ada Russel , and then deleted the London value. On the right side of the dialog box, click the Up Arrow to move to the next event.

Note: In the Event Properties details page, notice that ADATUM\Administrator modified Ada Russel and added the Birmingham value.

  1. Close all open windows except for Server Manager.

Results : After this exercise, you should have identified and configured the security policies for A. Datum.

Exercise 2: Deploying and configuring an RODC

Task 1: Stage a delegated installation of an RODC Preparation To prestage an RODC account, the computer name must not be in use in the domain. Therefore, you first need to remove LON-SVR1 from the domain by performing the following steps:

  1. On LON-SVR1 , in Server Manager , on the left side, click Local Server.
  2. In the Properties for LON-SVR1 section, click the domain Adatum.com.
  3. In the System Properties dialog box, click Change.
  4. In the Computer Name/Domain Changes dialog box, in the Member of section, select Workgroup , type MUNICH and then click OK.
  5. In the Computer Name/Domain Changes dialog box, click OK.
  6. In the Computer Name/Domain Changes dialog box, you will see the following message: “Welcome to the MUNICH workgroup.” Click OK.
  7. In the Computer Name/Domain Changes dialog box, you will see the following message: “You must restart your computer to apply these changes.” Click OK.
  8. In the System Properties dialog box, click Close.
  9. In the Microsoft Windows dialog box, click Restart Now.
  1. Sign in as: o User name: Administrator o Password: Pa55w.rd
  2. Switch to LON-DC1. In Server Manager , click Tools , and then click Active Directory Users and Computers.
  3. In the navigation pane, expand Adatum.com , click to select Adatum Servers , right-click LON-SVR1 , and then click Delete.
  4. In the Active Directory Domain Services dialog box, confirm the deletion by clicking Yes.
  5. In the Confirm Subtree Deletion dialog box, click Yes.

Stage a delegated installation of an RODC

  1. On LON-DC1 , in Server Manager , click Tools , and then click Active Directory Sites and Services.
  2. In Active Directory Sites and Services , in the navigation pane, click Sites. From the Action menu, click New Site.
  3. In the New Object – Site dialog box, in the Name field, type Munich , select the DEFAULTIPSITELINK site link object, and then click OK.
  4. In the Active Directory Domain Services dialog box, click OK.
  5. Switch to Server Manager , click Tools , and then click Active Directory Administrative Center.
  6. In Active Directory Administrative Center , in the navigation pane, click Adatum (local) , and then in the details pane, double-click the Domain Controllers OU.
  7. In the Tasks pane, in the Domain Controllers section, click Pre-create a Read- only domain controller account.
  8. In the Active Directory Domain Services Installation Wizard , on the Welcome to the Active Directory Domain Services Installation Wizard page, click Next.
  9. On the Network Credentials page, click Next.
  10. On the Specify the Computer Name page, type the computer name LON- SVR1 , and then click Next.
  11. On the Select a Site page, click Munich , and then click Next.
  12. On the Additional Domain Controller Options page, accept the default selections of DNS Server and Global Catalog , and then click Next.
  13. On the Delegation of RODC Installation and Administration page, click Set.
  14. In the Select User or Group dialog box, in the Enter the object name to select

click OK : o User name: Adatum\Nestor o Password: Pa55w.rd

  1. Under Specify the domain information for this operation , click Select , then select the domain Adatum.com , click OK , and then click Next. You will receive a notification that an RODC account that matches the name of the server exists in the directory.
  2. On the Domain Controller Options page, accept the default to Use existing RODC account , in the Password and Confirm password fields, type Pa55w.rd and then click Next.
  3. On the Additional Options page, accept the defaults, and then click Next.
  4. On the Paths page, accept the defaults, and then click Next.
  5. On the Review Options page, review your options, and then click Next.
  6. After the prerequisites check has been performed, click Install.

Note: The computer will configure AD DS and restart, but you can proceed to the next task.

Task 3: Configure the domain-wide password replication policy

  1. Switch to LON-DC1. In Server Manager , click Tools , and then click Active Directory Administrative Center.
  2. In Active Directory Administrative Center, in the navigation pane, click Adatum (local).
  3. In the details pane, double-click IT.
  4. Locate the IT group, right-click the group, and then click Add to another group.
  5. In the Select Groups dialog box, in the Enter the object names to select text box, type denied , and then click Check Names.
  6. Verify that the name of the group is expanded to Denied RODC Password Replication Group , and then click OK.

Note: The members of the IT group have elevated permissions, so storing their password on an RODC would be a security risk. Therefore, you add the IT group to the global Deny List, which applies to every RODC in the domain.

  1. Close the Active Directory Administrative Center.

Task 4: Create a group to manage password replication to the branch office RODC

  1. Switch to Server Manager , click Tools , and then click Active Directory Users and Computers.
  2. In the navigation pane, expand Adatum.com , and then click Users.
  3. On the Action menu, click New , and then click Group.
  4. In the New Object – Group dialog box, type the group name Munich Allowed RODC Password Replication Group , click OK , and then double-click the Munich Allowed RODC Password Replication Group.
  5. On the Members tab, click Add.
  6. In the Select Users, Contacts, Computers, Services Accounts, or Groups dialog box, in the Enter the object names to select text box, type Ana , and then click Check Names.
  7. In the Multiple Names Found dialog box, select Ana Cantrell , and then click OK.
  8. In the Select Users, Contacts, Computers, Service Accounts or Groups dialog box, click OK , and then in the Munich Allowed RODC Password Replication Group Properties dialog box, click OK.
  9. Close Active Directory Users and Computers.
  10. In Active Directory Administrative Center , from the Domain Controllers OU, view the properties for LON-SVR.
  11. In the Extensions section, on the Password Replication Policy tab, click Add.
  12. In the Add Groups, Users and Computers dialog box, select Allow passwords for the account to replicate to this RODC , and then click OK.
  13. In the Select Users, Computers, Service Accounts, or Groups dialog box, in the Enter the object names to select text box, type Munich , click Check Names , and then click OK.
  14. In the LON-SVR1 dialog box, click OK to close the dialog box.

Task 5: Evaluate the resultant password replication policy

  1. In Active Directory Administrative Center , in the Tasks pane, in the LON-SVR section, click Properties.
  2. In the properties of LON-SVR1 , in the Extensions section, on the Password Replication Policy tab, click Advanced.

Note: Note that this dialog box shows all accounts with passwords that are stored in the RODC.

Services (IIS) Manager.

  1. Expand LON-DC1 (Adatum\Administrator) , and then click Application Pools.
  2. In the details pane, right-click the DefaultAppPool , and then click Advanced Settings.
  3. In the Advanced Settings dialog box, in the Process Model section, click Identity , and then click the ellipsis (…).
  4. In the Application Pool Identity dialog box, click Custom Account , and then click Set.
  5. In the Set Credentials dialog box, type Adatum\Webservice$ in the User name field, and then click OK three times.
  6. In the Actions pane, click Stop to stop the application pool.
  7. Click Start to start the application pool.
  8. Close Internet Information Services (IIS) Manager.

Results : After completing this exercise, you should have configured an MSA.

Task 3: Prepare for the next module When you finish the lab, revert the virtual machines to their initial state. To do this, perform the following steps:

  1. On the host computer, start Hyper-V Manager.
  2. In the Virtual Machines list, right-click 20742B-LON-DC1 , and then click Revert.
  3. In the Revert Virtual Machine dialog box, click Revert.
  4. Repeat steps two and three for 20742B-LON-SVR.