Lab Encrypting Data 70744
Lab Encrypting Data 70744
CONFIGURING DISK
AND FILE ENCRYPTION
AL
RI
TE
THIS LAB CONTAINS THE FOLLOWING EXERCISES AND ACTIVITIES:
MA
Exercise 1.1 Encrypting Files with EFS
server that functions as the domain controller for a domain called adatum.com. The computers
required for this lab are listed in Table 1-1.
Table 1-1
Computers required for Lab 1
In addition to the computers, you will also require the software listed in Table 1-2 to complete Lab 1.
1
2 70-744: Securing Windows Server 2016
Table 1-2
Software required for Lab 1
Software Location
Lab 1 student worksheet Lab01_worksheet.docx (provided by instructor)
SCENARIO
After completing this lab, you will be able to:
1. Log in to LON-SVR1 as the adatum\administrator user account with the password Pa$$w0rd.
The Server Manager console opens.
3. Create a text file in the C:\Data folder named test.txt file. Open the text file, type your name in
the file, close the file, then click Save to save the changes.
4. Right-click the C:\Data folder and choose Properties. The Properties dialog box opens.
5. On the General tab, click Advanced. The Advanced Attributes dialog box appears, as shown in
Figure 1-1.
Figure 1-1
Configuring advanced attributes
6. Select the Encrypt contents to secure data check box. Click OK to close the Advanced
Attributes dialog box.
Question
Which icon is used for the Data folder?
1
Question
Which icon is used for the test.txt file?
2
9. Right-click the C:\Data folder and choose Properties. The Properties dialog box opens.
10. Under the General tab, click Advanced. The Advanced Attributes dialog box opens.
11. Clear the Encrypt contents to secure data check box. Click OK to close the Advanced
Attributes dialog box.
13. When you are prompted to confirm attribute changes, click OK.
4 70-744: Securing Windows Server 2016
2. In Server Manager, click Tools > Active Directory Users and Computers. The Active Directory
Users and Computers console opens.
Click Next.
5. In the Password and Confirm password text boxes, type Pa$$w0rd. Click to select Password
never expires. When an Active Directory Domain Services dialog box appears, click OK.
Click Next.
7. Under the Users node, double-click User1. The User1 Properties dialog box opens.
9. Click the Add button. In the Select Groups dialog box, type domain admins and then click OK.
12. In the Data Properties dialog box, click the Security tab.
14. In the Permissions for Data dialog box, click the Add button.
15. In the Select Users, Computers, Sevice Accounts, or Groups dialog box, in the Enter the object
names to select text box, type User1 and then click OK.
20. Open the C:\Data folder, right-click the test.txt file and choose Properties.
21. On the General tab, click Advanced. The Advanced Attributes dialog box opens.
22. Click the Encrypt contents to secure data check box. Click OK to close the Advanced
Attributes dialog box. Click OK to close the Properties dialog box.
23. When you are prompted to confirm that you want to encrypt the file and its parent
folder, click OK.
24. If an Access Denied message appears, click Ignore, click Continue, click OK, and then click
Ignore. Click OK. If an Access Denied message appears again, click Ignore All. Upon comple-
tion of this step, the test.txt file should odisplay a lock icon.
25. On LON-SVR1, log out as User1 and log in as adatum\administrator with the password
of Pa$$w0rd.
Question
Which error message is displayed?
3
Question
Which permissions does the Administrator have?
4
Question
Why was the adatum\administrator not able to open the file?
5
31. On the General tab, click the Advanced button, clear the Encrypt check box, and then click OK.
Question
Were you able to decrypt the file?
6
34. On LON-SVR1, log off as Administrator and log in as User1 with the password of Pa$$w0rd.
36. Right-click the test.txt file and choose Properties. The Properties dialog box displays.
37. Click the Advanced button to open the Advanced Attributes dialog box.
38. Clear the Encrypt contents to secure data check box and then click OK.
39. Click OK to close the Properties dialog box. If you are prompted to provide administrator
permission to change these attributes, click Continue. If a message displays indicating an error
occurred applying attributes to the file, click Ignore.
40. Log off as User1 and log in as adatum\administrator with the password of Pa$$w0rd.
43. Click the Advanced button to open the Advanced Attributes dialog box.
44. Click the Encrypt contents to secure data check box. Click OK to close the Advanced
Attributes dialog box.
45. Click OK to close the Properties dialog box. When it you are prompted to confirm that you want
to apply these changes to the folder and its contents, click OK.
46. Right-click the test.txt file and choose Properties. Click the Advanced button to open the
Advanced Attributes dialog box.
47. Click the Details button. The User Access to test.txt dialog box displays.
48. Click the Add button. In the Encrypting File System dialog box, click User1 and then click View
Certificate.
Question What is the Certificate used for? Hint: Look at the Enhanced Key
7 Usage field.
Question Looking at the User Access to test.txt dialog box, who has a
8 Recovery Certificate?
52. Take a screen shot of the User Access to test.txt dialog box by pressing Alt+PrtScr and then
paste it into your Lab01_worksheet file in the page provided by pressing Ctrl+V.
53. Click OK to close the User Access to test.txt dialog box, click OK to close Advanced Attributes
dialog box, and then click OK to close test Properties box.
55. Open the C:\Data folder and double-click the test.txt file.
Question
Did the file open?
9
1. On LON-DC1, click the Start button and then click the Windows PowerShell tile.
2. For the lab environment, in the Windows PowerShell window, execute the following commands:
7. On LON-DC1, log off as adatum\administrator and log in as adatum\user1 with the password
of Pa$$w0rd. Server Manager opens.
8. In Server Manager, click Tools > Group Policy Management. The Group Policy Management
console opens.
9. In the Group Policy Management console, expand the Domains node and then expand
Adatum.com.
8 70-744: Securing Windows Server 2016
11. In the Group Policy Management Editor window, expand Computer Configuration\Policies\
Windows Settings\Security Settings\Public Key Policies\ (see Figure 1-2).
Figure 1-2
Opening the GPO public key policies
12. Click, then right-click Encrypting File System and choose Create Data Recovery Agent.
13. Click the Encrypting File System node. Take a screen shot of the Group Policy Management
Editor by pressing Alt+PrtScr and then paste it into your Lab01_worksheet file in the page
provided by pressing Ctrl+V.
Question
What is needed for a user to become a data recovery agent?
10
End of exercise.
Lab 1: Configuring Disk and File Encryption 9
3. In Server Manager, click Manage > Add Roles and Features. The Add Roles and Feature
Wizard opens.
9. In the Add Roles and Features Wizard dialog box, click Add Features.
14. Click the Start button and then click the Control Panel tile.
15. Click System and Security > BitLocker Drive Encryption. The BitLocker Drive Encryption
window opens, as shown in Figure 1-3.
16. Click the down arrow next to the D drive. Then click Turn on BitLocker. A BitLocker Drive
Encryption (D:) window opens.
17. On the Choose how you want to unlock this drive page, click to select the Use a password to
unlock the drive. Type a password of Pa$$w0rd in the Enter your password text box and the
Reenter your password text box. Click Next.
10 70-744: Securing Windows Server 2016
Figure 1-3
Opening the BitLocker settings
Question With a laptop, which chip is used to create cryptographic keys and
11 encrypt them so that they can only be decrypted by the chip?
18. On the How do you want to back up your recovery key? page, click Save to a file.
19. In the Save BitLocker recovery key as dialog box, type \\LON-DC1\Software\ before BitLocker
Recovery Key <GUID>.txt and then click Save. Click Next.
20. On the Choose which encryption mode to use page, answer the following question and then
click Next.
Question
By default, which encryption mode is selected?
12
21. On the Are you ready to encrypt this drive? page, click Start encrypting.
22. When the drive is encrypted, take a screen shot of the BitLocker window by pressing Alt+PrtScr
and then paste it into your Lab01_worksheet file in the page provided by pressing Ctrl+V.
23. Close the BitLocker Drive Encryption window. If you’re prompted to format the disk,
click Cancel.
End of exercise.
Lab 1: Configuring Disk and File Encryption 11
3. From the Windows PowerShell prompt, execute the certmgr.msc command. The certmgr con-
sole opens.
5. In the main pane, right-click the certificate that lists Encrypting File System under Intended
Purposes and choose All Tasks. Click Export.
7. On the Export Private Key page, click Yes, export the private key and then click Next.
9. On the Security page, click the Password check box and, in the Password and Confirm password
text boxes, type the Pa$$w0rd. Click Next.
Question What is the difference between the cer format and the pfx format
13 when backing up digital certificates?
10. On the File to Export page, in the File name text box, type C:\Cert.pfx. Click Next.
11. Take a screen shot of the Completing the Certificate Export Wizard by pressing Alt+PrtScr and
then paste it into your Lab01_worksheet file in the page provided by pressing Ctrl+V.
1. Right-click the Administrator certificate and choose Delete. When you are prompted to confirm
that you want to delete the certificate, read the warning and then click Yes.
4. On the File to Import page, type c:\cert.pfx, and then click Next.
5. If you are prompted to provide a password, type Pa$$w0rd in the Password text box and then
click Next.
9. Take a screen shot of the Certificates console by pressing Alt+PrtScr and then paste it into your
Lab01_worksheet file in the page provided by pressing Ctrl+V.
10. Close Certificate Manager and then close the Command Prompt.
End of lab.