Tutorial 2
Tutorial 2
Tutorial 2
Purpose
On finishing this tutorial, students are expected to:
- Recognize the importance of keep data secure
- Understand the mechanism of how EFS & Bitlocker use to encrypt and
decrypt data
- Able to use some prompt commands of Windows
- Able to encrypt and decrypt files and drives for data protection
- Able to backup & recover certificates & keys in case of losing access to
computer accounts.
Discussion
Students are required to read the slide uploaded on FIT portal & try to answer
the following questions:
- What is the encrypting mechanism of EFS?
- What is the hardware requirements of Bitlocker?
- What are differences between EFS and Bitlocker?
Step-by-Step Guide
Students are required to follow the step-by-step guide given to fulfill the
following contents:
- Encrypt the password file with EFS
- Backup certs & keys for recovery purpose
- Create other accounts
- Access to the password files using other accounts
- Recover /import the certs & keys
- Encrypt/decrypt drives using BitLocker
6. And then save the console by going to the Console. Fille > Save as.
2. ENCRYPTING FILES
Cd C:\
Md CONFIDENTIAL
cd CONFIDENTIAL
And then you added your sensitive information here. For example,
Cipher /e password.txt
Note:
Apply changes to this folder, subfolders and files: cipher /e /s:”full path of folder”
Apply changes to this folder only: cipher /e “full path of folder or file with
extension”
Once you enabled the EFS for any file or folder, a small icon will appear in the
taskbar, probably next to the battery or WiFi icon.
Simply click on the EFS icon in the system tray to open the Certificate Export
Wizard.
1. First, make sure to plug in your USB drive into the PC to copy the backup file. (In
the lab, I backuped onto the disk drive, for best practice, you should save it into
safe place).
2. Now click on the EFS icon from the system try to launch the Certificate Export
Wizard.
7. Now click on Browse button then navigate to the USB drive and under file name
type any name.
This backup of your encryption key will come very handy if in case you ever lose
access to your user account, as this backup can be used to access the encrypted
file or folders on the PC.
If you’re comfortable typing command lines, it’s actually a lot faster to create a
local account on Windows 10 using Command Prompt.
1. Open Start.
In the above command make sure to change USER_NAME and PASSWORD with
the credentials you want to use for the new user account.
4. Type the following command to add the newly created account to the
Administrators group and press Enter:
In the command, make sure to replace USER_ACCOUNT with the account name
you want to add to the administrators group.
If you want to test the new changes, sign-out and you’ll notice the new user
account sitting in the bottom-left corner of the screen. Then select the new user
account and sign in.
Replace “yes” with “no” to disable the admin account on the welcome screen.
If this Account doesn’t have the password, you can create a password by typing
Cd C:\CONFIDENTIAL
1. Switch to another user account that is not the owner of that password.txt
Either double click/tap on the backed up PFX file, or right click or press and hold
on the PFX file and click/tap on Install PFX. (see screenshot below)
4. Enter the password for the private key included in the PFX file , check Mark
this key as exportable, check Include all extended properties, and click/tap
5. Select (dot) Automatically select the certificate store based on the type of
certificate, and click/tap on Next.
6. Click/tap on Finish.
8. Then you open the file password. You can see the content of the password.txt
now.
WHY?
Device encryption helps protect your data, and it's available on a wide range of
Windows devices. If you turn on device encryption, the data on your device can
only be accessed by people who've been authorized. If device encryption isn't
available on your device, you may be able to turn on standard BitLocker
encryption instead.
Note
BitLocker is not available on Windows 10 Home edition.
1. Sign in to Windows with an administrator account (you may have to sign out
and back in to switch accounts).
Select Enter a password or Insert a USB flash drive. If you have chosen to
use a USB flash drive as a trigger to unlock your drive, you can choose to
do this with a password or smart card. In this example, we will use a
password.
Enter a password and confirm it, and then click Next.
NSE TUTORIAL BY NHUNGVT 18
Select how to save a recovery key to regain access to your drive in case you
forget your password (e.g. on a USB flash drive or to your Microsoft
account), and click Next.
Select an encryption option: Encrypt used disk space only (faster)
or Encrypt entire drive (slower), and click Next.
Choose from two more encryption options: New encryption mode (best
for fixed drives) or Compatible mode (best for removable devices), and
click Next.
Check Run BitLocker system check, which ensures that the recovery and
encryption keys will work, and click Continue.
Last, verify that BitLocker is turned on. To do this, go to My PC in Windows
Explorer and check for a Lock icon displayed next to the drive.