Home > Articles > CompTIA > Security+

📄 Contents

  1. Foundation Topics
  2. Exam Preparation Tasks
  • Print
  • + Share This
This chapter is from the book

Exam Preparation Tasks

Review Key Topics

Review the most important topics in the chapter, noted with the Key Topic icon in the outer margin of the page. Table 3-2 lists a reference of these key topics and the page number on which each is found.


Table 3-2. Key Topics for Chapter 3

Key Topic Element


Page Number

Figure 3-2

Services Window in Windows XP


Figure 3-3

Telnet Properties Dialog Box


Bullet list

Stopping services in Linux


Figures 3-4 and 3-5 and Note

Identifying the SP level


Table 3-1

Latest Microsoft Service Packs


Step list

Windows update


Figure 3-7

systeminfo Command in Windows Vista


Bulleted list

Patch management four steps


Figure 3-8

Local Group Policy Editor in Windows 7


Figure 3-9

Import Policy from Window in Windows Server 2003


Numbered list

Keeping a well-maintained computer


Figure 3-10

Virtual PC Console


Complete Tables and Lists from Memory

Print a copy of Appendix A, “Memory Tables,” (found on the DVD), or at least the section for this chapter, and complete the tables and lists from memory. Appendix B, “Memory Tables Answer Key,” also on the DVD, includes completed tables and lists to check your work.

Define Key Terms

Define the following key terms from this chapter, and check your answers in the glossary:

hardening service pack (SP) hotfix patch patch management group policy security template baselining virtualization virtual machine hypervisor

Hands-On Labs

Complete the following written step-by-step scenarios. After you finish (or if you do not have adequate equipment to complete the scenario), watch the corresponding video solutions on the DVD.

If you have additional questions, feel free to ask them at my website: www.davidlprowse.com

Equipment Needed

Lab 3-1: Discerning and Updating the Service Pack Level

In this lab, you observe the service pack currently used on a Windows Vista computer and show where to go to update the SP to the latest version. The steps are as follows:

Step 1. Access Windows Vista (other Windows OSs such as Windows 7 will be similar in appearance and in navigation).

Step 2. View the SP level:

  1. Click Start.
  2. Right-click Computer and select Properties. This brings up the System window. F rom here, you can see the SP level in the Windows edition section.

Step 3. Access Windows Update:

  1. Click Start.
  2. Click All Programs.
  3. Click Windows Update.

Step 4. Modify Windows Update:

  1. Click the View Advanced Options link.
  2. Select the Check for Updates but Let Me Choose Whether to Download Them or Install Them radio button.
  3. Click OK.

Step 5. Locate Windows Vista Service Pack 2 at http://support.microsoft.com.

You can find information about Windows Vista SP2 at the following link: http://support.microsoft.com/kb/948465

Watch the video solution on the DVD.

Lab 3-2: Creating a Virtual Machine in Virtual PC 2007

In this lab, you learn how to create a basic virtual machine (VM) in Virtual PC 2007. The steps are as follows:

Step 1. Download the Virtual PC 2007 application. It is a free download available at the following link:


You can also search the phrase virtual PC 2007 download.

Step 2. Install Virtual PC 2007. Install the program with the default settings unless you want to modify them.

Step 3. Run Virtual PC 2007 by navigating to Start > All Programs > Microsoft Virtual PC. This displays the Virtual PC Console.

Step 4. Create a new virtual machine:

  1. Click the New button.
  2. Click Next for the wizard.
  3. Select Create a virtual machine radio button and click Next.
  4. Type a name for the virtual machine. Try to keep the name close to the name of the OS you plan to install. For example, if you install Windows Vista, type Windows Vista. Virtual PC can recognize these names. Keep in mind that you do not have to install an OS; this lab is simply to show how to create the virtual machine. This virtual machine will be available to you to use later on if you want, and you can load any OS that you want into the VM.
  5. Select where you want to save the virtual machine by clicking the Browse button, or simply leave the default. Then click Next.
  6. Select the OS you want to install from the drop-down menu. If you are not planning on installing an OS, select Other. Then click Next.
  7. Select the amount of RAM you want the VM to use. You can increase the default by clicking the Adjusting the RAM radio button. As a rule of thumb it is recommended that you use no more than half the physical RAM on your system for a single VM. Then click Next.
  8. Select the A New Virtual Hard Disk radio button, and select where you want to save the virtual hard disk (.vhd file). Then click Next.
  9. Review the summary and click Finish.

The new VM should now be listed in the Virtual PC Console.

Step 5. Run the VM:

  1. Highlight the new VM.
  2. Click Start.

Step 6. (Optional) Install an OS. Be sure to select CD from the menu bar and click Use Physical Drive. This way, the VM can use the physical CD-ROM drive.

Step 7. Save the VM:

  1. Click Action on the menu bar.
  2. Select Close.
  3. From the drop-down menu in the Close dialog box, select Save State and click OK.

Step 8. Modify the VM settings:

  1. Highlight the new VM.
  2. Click the Settings button.
  3. Click OK for the pop-up note.
  4. Examine the various settings for each device within the VM. Note that you cannot make changes to some of the settings when the VM is in a saved state. To modify these, you need to turn off the VM either within Virtual PC or by shutting down the OS normally.

Watch the video solution on the DVD.

Lab 3-3: Securing a Virtual Machine

In this lab, you secure a virtual machine (VM) in Virtual PC 2007. This lab assumes that you have already downloaded and installed Virtual PC 2007, created a virtual machine, and installed an OS. This lab refers to Windows 7 Ultimate.

The steps are as follows:

Step 1. Start Virtual PC 2007 and check its SP level.

  1. Access the Control Panel and find your list of installed programs. For example, in Windows 7 the path to this is Control Panel > Programs > Programs & Features.
  2. If it says “Microsoft Virtual PC 2007 SP1,” you can continue to Step 2. If it does not say “SP1” on the end, then continue to Step 1C.
  3. Upgrade to the latest SP from the following link: www.microsoft.com/download/en/details.aspx?displaylang=en&id=24439

Step 2. Set security options in the Virtual PC console.

  1. Click File > Options; this opens the Virtual PC Options window.
  2. Select Security.
  3. Select all four administrative permissions checkboxes.
  4. Click OK for the Virtual PC Options window.

Step 3. Disable unnecessary hardware within the Virtual PC console for the VM in question. For example, the sound card, COM ports, LPT ports, and floppy disks.

  1. Click Action > Settings (or simply highlight the VM and click the Settings button). This opens the Settings for %virtual machine% window where virtual machine is whatever VM you select.
  2. Click Sound. Deselect the Enable sound card checkbox.
  3. Disable any other unnecessary devices such as COM1, LPT1, and so on, if they are enabled and you do not need them.
  4. Click OK to close the window.

Step 4. Start the virtual machine and secure the virtual BIOS.

  1. Press DEL immediately after starting the VM. This should display the BIOS Setup Utility screen.
  2. Set the hard drive to first in the boot order:

    1. Press the right arrow key to navigate to the Boot menu. With the Boot Device Priority option highlighted press Enter.
    2. Modify the list so that the Hard Drive is listed first. Use the legend on the right to figure out which keys to use.
    3. Press Esc to return to the main menu.
  3. Disable removable media devices such as the floppy drive:

    1. Select the Advanced menu.
    2. Select Floppy configuration.
    3. Disable Floppy A.
    4. Press Esc to return to the main menu.
  4. Set passwords:

    1. Select the Security menu.
    2. Configure a Supervisor password.
  5. Press F10 to save your settings and exit. This reboots the VM into the OS.

Step 5. Start the virtual machine and check the SP level of the OS.

  1. Click Start. Then right-click Computer. This brings up the System window. If no service pack is listed, then none is installed.
  2. Install the latest SP for the OS in question.

Step 6. Disable unnecessary hardware within the VM OS, such as optical drives or USB devices.

  1. Click Start. Then right-click Computer and select Manage. This displays the Computer Management window.
  2. Click Device Manager.
  3. Locate the optical drive, right-click it, and select Disable. For some devices you might have to restart the OS.

Step 7. Remove any network sharing connections between the VM and the physical host.

  1. Look for shared folders on the VM:

    1. While in the Computer Management window click Shared Folders > Shares.
    2. Remove any unnecessary shares by right-clicking them and selecting Stop Sharing. However, leave the ADMIN$, C$, and IPC$ shares alone.
    3. While in this window click on Sessions to see whether the computer has any unwanted outbound sessions to other computers.
    4. Close the Computer Management window.
  2. Look for mapped network drives in Windows Explorer and disconnect them by right-clicking the drive and selecting Disconnect.

Step 8. Exit the VM and secure the folder on the host OS that contains the VM files.

  1. Set permissions on the folder:

    1. Right-click the folder and select Properties.
    2. Click the Security tab and modify permissions as you see fit. The fewer permissions the better!
    3. Verify that the folder is not shared by accessing the Sharing tab.
    4. Remain in the Properties window for the folder.
  2. Encrypt and/or Digitally sign the VM folder:

    1. Click the General tab; then click the Advanced button.
    2. Select the checkbox that says Encrypt contents to secure data.
    3. Close the Properties window.
    4. Consider other encryption (or FDE) and digital signing methods from organizations such as PGP and TrueCrypt.

Watch the video solution on the DVD.

View Recommended Resources

For readers who want to brush up on their CompTIA A+ topics:

Answer Review Questions

Answer the following review questions. You can find the answers at the end of this chapter.

  1. Virtualization technology is often implemented as operating systems and applications that run in software. Often, it is implemented as a virtual machine. Of the following, which can be a security benefit when using virtualization?

    1. Patching a computer will patch all virtual machines running on the computer.
    2. If one virtual machine is compromised, none of the other virtual machines can be compromised.
    3. If a virtual machine is compromised, the adverse effects can be compartmentalized.
    4. Virtual machines cannot be affected by hacking techniques.
  2. Eric wants to install an isolated operating system. What is the best tool to use?

    1. Virtualization
    2. UAC
    3. HIDS
    4. NIDS
  3. Where would you turn off file sharing in Windows Vista?

    1. Control Panel
    2. Local Area Connection
    3. Network and Sharing Center
    4. Firewall properties
  4. Which option enables you to hide ntldr?

    1. Enable Hide Protected Operating System Files
    2. Disable Show Hidden Files and Folders
    3. Disable Hide Protected operating system Files
    4. Remove the -R Attribute
  5. Which of the following should be implemented to harden an operating system? (Select the two best answers.)

    1. Install the latest service pack.
    2. Install Windows Defender.
    3. Install a virtual operating system.
    4. Execute PHP scripts.
  6. In Windows 7, Vista, and XP, what is the best file system to use?

    1. FAT
    2. NTFS
    3. DFS
    4. FAT32
  7. A customer’s computer uses FAT16 as its file system. What file system can you upgrade it to when using the convert command?

    1. NTFS
    2. HPFS
    3. FAT32
    4. NFS
  8. Which of the following is not an advantage of NTFS over FAT32?

    1. NTFS supports file encryption.
    2. NTFS supports larger file sizes.
    3. NTFS supports larger volumes.
    4. NTFS supports more file formats.
  9. What is the deadliest risk of a virtual computer?

    1. If a virtual computer fails, all other virtual computers immediately go offline.
    2. If a virtual computer fails, the physical server goes offline.
    3. If the physical server fails, all other physical servers immediately go offline.
    4. If the physical server fails, all the virtual computers immediately go offline.
  10. Virtualized browsers can protect the OS that they are installed within from which of the following?

    1. DDoS attacks against the underlying OS
    2. Phishing and spam attacks
    3. Man-in-the-middle attacks
    4. Malware installation from Internet websites
  11. Which of the following needs to be backed up on a domain controller to recover Active Directory?

    1. User data
    2. System files
    3. Operating system
    4. System state
  12. Which of the following should you implement to fix a single security issue on the computer?

    1. Service pack
    2. Support website
    3. Patch
    4. Baseline
  13. An administrator wants to reduce the size of the attack surface of Windows server 2008. Which of the following is the best answer to accomplish this?

    1. Update antivirus software.
    2. Install service packs.
    3. Disable unnecessary services.
    4. Install network intrusion detection systems.
  14. You finished installing the operating system for a home user. What are three good methods to implement to secure that operating system? (Select the three best answers.)

    1. Install the latest service pack.
    2. Install a hardware- or software-based firewall.
    3. Install the latest patches.
    4. Install pcAnywhere.
  15. Which of the following is a security reason to implement virtualization in your network?

    1. To isolate network services and roles
    2. To analyze network traffic
    3. To add network services at lower costs
    4. To centralize patch management
  16. Which of the following is one example of verifying new software changes on a test system?

    1. Application hardening
    2. Virtualization
    3. Patch management
    4. HIDS
  17. You have been tasked with protecting an operating system from malicious software. What should you do? (Select the two best answers.)

    1. Disable the DLP.
    2. Update the HIPS signatures.
    3. Install a perimeter firewall.
    4. Disable unused services.
    5. Update the NIDS signatures.

Answers and Explanations

  1. C. By using a virtual machine (which is one example of a virtual instance) any ill effects can be compartmentalized to that particular virtual machine, usually without any ill effects to the main operating system on the computer. Patching a computer does not automatically patch virtual machines existing on the computer. Other virtual machines can be compromised, especially if nothing is done about the problem. Finally, virtual machines can definitely be affected by hacking techniques. Be sure to secure them!
  2. A. Virtualization enables a person to install operating systems (or applications) in an isolated area of the computer’s hard drive, separate from the computer’s main operating system.
  3. C. The Network and Sharing Center is where you can disable file sharing in Windows Vista.
  4. A. To hide ntldr you need to enable the Hide Protected Operating System Files checkbox. Keep in mind that you should have already enabled the Show Hidden Files and Folders radio button.
  5. A and B. Two ways to harden an operating system include installing the latest service pack and installing Windows defender. However, virtualization is a separate concept altogether, and PHP scripts will generally not be used to harden an operating system.
  6. B. NTFS is the most secure file system for use with Windows 7, Vista, and XP. FAT and FAT32 are older file systems, and DFS is the distributed file system used in more advanced networking.
  7. A. The Convert command is used to upgrade FAT and FAT32 volumes to the more secure NTFS without loss of data. HPFS is the High Performance File System developed by IBM and not used by Windows. NFS is the Network File System, something you would see in a storage area network.
  8. D. NTFS and FAT32 support the same number of file formats.
  9. D. The biggest risk of running a virtual computer is that it will go offline immediately if the server that it is housed on fails. All other virtual computers on that particular server will also go offline immediately.
  10. D. The beauty of a virtualized browser is that regardless of whether a virus or other malware damages it, the underlying operating system will remain unharmed. The virtual browser can be deleted and a new one can be created; or if the old virtual browser was backed up previous to the malware attack, it can be restored.
  11. D. The system state needs to be backed up on a domain controller to recover the active directory database in the future. The system state includes user data and system files but does not include the entire operating system. If a server fails, the operating system would have to be reinstalled, and then the system state would need to be restored.
  12. C. A patch can fix a single security issue on a computer. A service pack addresses many issues and rewrites many files on a computer; it may be overkill to use a service pack when only a patch is necessary. You might obtain the patch from a support website. A baseline can measure a server or a network and to obtain averages of usage.
  13. C. Often, operating system manufacturers such as Microsoft refer to the attack surface as all the services that run on the operating system. By conducting an analysis of which services are necessary and which are unnecessary, an administrator can find out which ones need to be disabled, thereby reducing the attack surface. Service packs, antivirus software, and network intrusion detection systems (NIDS) are good tools to use to secure an individual computer and the network but do not help to reduce the size of the attack surface of the operating system.
  14. A, B, and C. After installing an operating system, it’s important to install the latest service pack, patches, and a firewall. These three methods can help to secure the operating system. However, pcAnywhere can actually make a computer less secure and should be installed only if the user requests it. pcAnywhere is just one of many examples of remote control software.
  15. A. Virtualization of computer servers enables a network administrator to isolate the various network services and roles that a server may play. Analyzing network traffic would have to do more with assessing risk and vulnerability and monitoring and auditing. Adding network services at lower costs deals more with budgeting than with virtualization, although, virtualization can be less expensive. Centralizing patch management has to do with hardening the operating systems on the network scale.
  16. C. Patch management is an example of verifying any new changes in software on a test system (or live systems for that matter.) Verifying the changes (testing) is the second step of the standard patch management strategy. Application hardening might include updating systems, patching them, and so on, but to be accurate, this question is looking for that particular second step of patch management. Virtualization is the creating of logical OS images within a working operating system. HIDS stands for host-based intrusion detection system, which attempts to detect malicious activity on a computer.
  17. B and D. Updating the host-based intrusion prevention system is important. Without the latest signatures, the HIPS will not be at its best when it comes to protecting against malware. Also, disabling unused services will reduce the attack surface of the OS, which in turn makes it more difficult for attacks to access the system and run malicious code. Disabling the data leakage prevention device would not aid the situation, and it would probably cause data leakage from the computer. Installing a perimeter firewall won’t block malicious software from entering the individual computer. A personal firewall would better reduce the attack surface of the computer, but it is still not meant as an antimalware tool. Updating the NIDS signatures will help the entire network, but might not help the individual computer. In this question we want to focus in on the individual computer, not the network. In fact, given the scenario of the question, you do not even know if a network exists.
  • + Share This
  • 🔖 Save To Your Account