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.

key_topic_icon.jpg

Table 3-2. Key Topics for Chapter 3

Key Topic Element

Description

Page Number

Figure 3-2

Services Window in Windows XP

70

Figure 3-3

Telnet Properties Dialog Box

71

Bullet list

Stopping services in Linux

71

Figures 3-4 and 3-5 and Note

Identifying the SP level

73

Table 3-1

Latest Microsoft Service Packs

75

Step list

Windows update

76

Figure 3-7

systeminfo Command in Windows Vista

78

Bulleted list

Patch management four steps

79

Figure 3-8

Local Group Policy Editor in Windows 7

81

Figure 3-9

Import Policy from Window in Windows Server 2003

82

Numbered list

Keeping a well-maintained computer

85

Figure 3-10

Virtual PC Console

89

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:

www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&displaylang=en

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

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Pearson IT Certification products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.pearsonitcertification.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020