Chapter 17
Chapter 17
17
Implementing and
Troubleshooting
Security
CERTIFICATION OBJECTIVES
❑ 702: 4.1 Given a scenario, prevent, troubleshoot, and remove viruses and malware
✓ Two-Minute Drill
M aking files and devices available to network users has led to the need for securing
those resources, possibly the most important set of tasks on a network. Implementing
security in this environment involves many different tasks, such as implementing
authentication and data security, taking all necessary steps to prevent the invasion of malicious
software and to discover if malicious software is already on a system. Implementing security for
a wireless network involves a specific set of skills, and you must be prepared to troubleshoot security
problems.
CERTIFICATION OBJECTIVES
■ 702: 4.1 Given a scenario, prevent, troubleshoot, and remove viruses and malware
■ 702: 4.2 Implement security and troubleshoot common issues
The security objectives for the CompTIA A+ Essentials Exams, include security
subobjectives that involve both software and hardware security skills. The most
important thing to understand about computer security is that there are no easy
answers; you must continue to keep up-to-date on the latest identified security
threats and know how to implement several security tasks to fully protect PCs.
BIOS Passwords/DriveLock/TPM
As described in Chapter 16, there are three types of BIOS passwords. One type
restricts access to the computer itself; another type restricts access to the BIOS
Setup; and a third, less common type restricts access to hard drives, a feature
called “DriveLock on HP computers.” We will use this term to apply to all such
implementations. As a further enhancement, an embedded TPM chip restricts
access to hard drives, providing more advanced security.
BIOS Passwords for Setup and Startup To set a BIOS password for setup
or startup, check the manual for the motherboard, and then go into the BIOS Setup
program and navigate to the correct setting. The example we discuss here is just one
version from one BIOS maker. Figure 17-1 shows the screen in which you set the
BIOS password. In this case, selecting this option will open a password dialog, in
which you enter the new password. On another screen, you configure the password
requirement for setup and/or startup.
FIGURE 17-1
The highlighted
setting will allow
you to set a
password on
BIOS setup.
inaccessible. With some implementations, if you use the same password for BIOS
startup and DriveLock, you will only need to enter the password once to complete
the start up; otherwise, you will need to enter two passwords.
Key Fobs
Recall that to use the typical key fob, a user first enters a PIN into the key fob, and
then the key fob generates a string of characters that the user must use to log on to the
network. Installing support for a key fob involves installing an agent that runs on the
local computer and a service on the active directory domain controllers. The agent
acts as a front end to the authentication process, passing encrypted authentication
information to the domain controller that responded to the authentication request.
On the domain controller, the service decrypts
the password and provides the password and
the user name to the Active Directory security
components for authentication. If the password
Be sure you understand
and user name match a domain user account, the
the differences between key fobs and
user is allowed access to the resources that she
smart cards.
has been granted permissions and rights to.
Biometrics
While in theory you can use many types of biometrics for computer login, the
most popular and least expensive are fingerprint scanners (also called fingertip
scanners). In fact, some laptops and Tablet PCs have a fingerprint scanner built in
or packaged with the PC. These built-in devices are the size of a USB port, with a
slender scanning slot. External fingerprint scanners are available as PC Card devices,
in which the scanner protrudes from the PC Card slot. USB devices, available
from several vendors, are approximately the size of a CompactFlash card and have
a small, flat sensor pad you touch your finger to. Both the built-in and external
devices require drivers and software to integrate with the computer’s security system,
including Windows domain controllers, if your computer is a member of a Windows
domain.
Follow the manufacturer’s instructions for installing the software and hardware.
After installing the software, configure it to recognize your fingerprint and associate
it with your user account. To do this, you will need to provide a user name and
password. If your computer is a member of a workgroup, you will need to provide
either the computer name or the workgroup name. If your computer is a member of a
domain, you must provide the domain name and your user name and password in the
domain. When the configuration utility is ready to scan your fingertip and associate
it with your user account, it will prompt you. To do this, swipe your finger across
the scanner’s sensor. You can scan one or more fingers and use any one of them for
login. In most cases, the scanner’s associated software will also save passwords for
applications and Websites and associate them with your profile.
Lock Computer
Before leaving your computer unattended, simply press CTRL-ALT-DELETE to open the
Windows Security dialog box and click Lock Computer. That’s it. Your desktop will
disappear, and the Computer Locked dialog box will appear on the screen. Then,
when you return, simply press CTRL-ALT-DELETE to open the Unlock Computer dialog
box, shown here. Enter the password for your account, and you will return to the
desktop exactly as you left it.
If you did not sign in to Windows through the Windows Security dialog box, pressing
CTRL-ALT-DELETE brings up the Task Manager. Then, from the Task Manager menu bar,
select Shut Down | Lock Computer. Finally, a keyboard shortcut works no matter how
you logged on. If your keyboard has the WinKey (also called the Windows Key), a key
with a Windows logo, located between the CTRL and ALT key, press and hold this key
while pressing the “l” key (that is, the L key, but it only works in lowercase).
the computer, as well as to someone accessing a file or folder over a network. Set
NTFS permissions at the most restrictive level that will allow users to accomplish
their work. When preparing to share a folder with network users, first create the
folder, set the appropriate NTFS permissions, and then create the share. Finally,
set the share permissions.
A shared folder is a folder that is available to network users. Share permissions
only apply to network users. Therefore, a network user is affected by both share and
NTFS permissions, but local users are only affected by NTFS permissions.
Applying NTFS Permissions In Chapter 16, you learned how to open the
Permissions dialog box for a folder, which is similar to opening the Permissions
dialog box for a file. From this dialog box, you can assign permission to a file or
folder. The standard folder permissions are
When folder permissions and the permissions on the files within the folder are
combined, the least restrictive permissions apply. But we also need to address the
issue of the permission propagation throughout the folder hierarchy, also called
inheritance. When you create a new folder or file, it inherits the permissions of the
parent folder, unless you choose to block propagation of permissions to child objects.
When you view permissions on a file or folder, the permissions inherited from the
parent will be grayed out, and you will not be able to modify those permissions at the
child (inherited) level. You can assign new permissions, but you cannot alter inherited
permissions unless you modify them in the folder in which they originated. You can
block inheritance on a folder or file to which you wish to assign different (usually more
restrictive) permissions. Further, you can bypass inheritance with the Allow and Deny
permissions for a file or folder. For instance, if you explicitly Allow one of the standard
permissions, such as Full Control, the user will have full control to the file or folder,
even if inheritance would have given the user a lesser permission. If you explicitly
Deny a permission, the user will be denied a permission, even if it was granted to the
user at a higher level in the folder hierarchy or through membership in a group. When
a conflict occurs, Deny overrides Allow, and Deny creates the one exception to the
rule that when NTFS folder and file permissions, including all inherited permissions,
are combined, the least restrictive permission applies.
Shares and Permissions Although called file sharing, a file share must point to
a file folder, not to a single file. To create a file share on your PC, browse to a folder
you wish to share, right-click that folder, and select Properties. Click the Sharing tab
in the folder’s Properties dialog. In Windows 2000/XP, select Share This Folder and
complete the rest of the settings. In Windows Vista/7, from the Sharing tab, click the
Advanced Sharing button, and then select Share This folder, as shown in this example
in which we share the SalesReports folder. A share has three permissions—Full
Control, Change, and Read—and each permission has an explicit Allow or Deny
permission level. The default permissions on a share give the Read permissions to the
Everyone group. If you wish to change the default permission, click the Permissions
button to access the Permissions dialog for the share, as shown in Figure 17-2.
FIGURE 17-2
The default
permission
on a shared
folder gives
the Everyone
group the Read
permission.
Now, consider what happens when a user connects to files through a share. First,
the NTFS file and folder permissions (inherited and otherwise) are combined with
the resulting least-restrictive permission applying at the NTFS level, and then the
resulting effective NTFS permission is combined with the share-level permission,
and the most restrictive permission is applied.
Because you are depending on the NTFS permissions to provide file security
to a shared folder, and you know that when NTFS and share permissions are
combined, the most restrictive apply, it follows that the default Everyone Read
Only permissions on a share will be both too permissive (“everyone” can read the
contents) and yet too restrictive if you wish to allow network users to modify files
in the shared folder. Exercise 17-1 walks through the steps to modify the share
permissions in Windows Vista/7, so only the users or groups you wish to give access
to have the Full Control permission, and the Everyone group is completely removed
from the share. Modifying the permission actually simplifies your administrative
tasks by allowing you to assign the specific permission at the NTFS level.
EXERCISE 17-1
Creating a Share and Modifying Share Permissions in Windows Vista/7
These instructions are specific for Windows Vista/7, but they very similar to those in
Windows 2000/XP:
1. From Windows Explorer, right-click on a folder you wish to share and select
Properties.
2. Select the Sharing tab, and then click the Advanced Sharing button. This
step is important because you wish to modify the permissions on the share
you will create.
3. In the Advanced Sharing dialog, most of the options will be dimmed until
you click to place a check in the checkbox labeled Share This Folder.
4. Once the share is created, the other options will be active.
5. Click the Permissions button.
6. In the Group Or User Names box, click the Add button and select the user
or group you wish to give permissions to the share. These should be users or
groups to whom you have already assigned NTFS permissions to the folder.
Click OK when you are done.
7. In the Group or User Names box, select each added user or group and give
them Full Control. Then, select the Everyone group and click the Remove
button.
Administrative Shares
Windows has special hidden administrative shares that it creates automatically
and uses when administrators, programs, and services connect to a computer over
a network to perform special tasks that are mainly for use in a Microsoft domain
network. Before Windows Vista, you could connect to an administrative share using
a valid local account, but that feature is disabled in Windows Vista/7, only allowing
access to users with domain accounts. You cannot modify the permissions on an
administrative share.
An administrative share has a special name that ends in the $ character, which
marks the share as being hidden as well as being administrative. You can create a
hidden share by appending the dollar sign to its name, but only the operating system
can create administrative shares. These are the administrative shares:
FIGURE 17-3
Turn on the
Encrypt attribute.
You can only decrypt a file when logged on with the account used to encrypt it.
Knowing this is important. Then decryption is transparent; simply open the file
using the usual application for that file type. Both normal permissions and a special
authorization to decrypt are applied. Even when logged on with another account
with Full Control permissions to the file, you will not be able to decrypt the file,
and, therefore, you will not be able to use it in any way.
The Encrypting File System (EFS) in Windows XP/Vista/7 has the following
features, which are not available in Windows 2000:
The only person who can decrypt a file or folder is the person who encrypted it,
or a member of a special group called Recovery Agents. By default, only the local
Administrator account is a member of this group. Recovery is not the same as being
able to directly access the data; it is an advanced task, described in the Windows
Help utility in each version that supports NTFS encryption.
FIGURE 17-4 The system and boot partitions are combined on Drive 0.
boot volumes (seen on Disk 0) are one and the same: Volume C:. Realizing that two
volumes on the same physical disk are required, not two physical disks, is important.
Further, beginning with Windows Vista Service Pack 1, drives other than the boot
volume can be encrypted with BitLocker.
If you install Windows 7 on an unpartitioned hard drive, it will create a small
(approximately 100 MB) system partition and a second partition containing the
balance of the drive space as the boot partition, as shown in Figure 17-5, in which
Disk 0 contains a 100 MB NTFS volume identified as System, Active, and Primary.
The boot volume is drive C:. This configuration will allow BitLocker to store the
encryption key on the hard drive.
You can configure BitLocker to install the encryption key in one of several
locations, including a USB drive, a TPM chip, or on the system volume (Windows 7
only). The minimum requirements for using BitLocker in Windows Vista are
If you wish to store the encryption keys on a TPM chip the Vista requires
FIGURE 17-5 The system volume and boot volume are separate on Disk 0.
If you wish to store a personal ID number (PIN) on a USB drive, Vista requires
■ System BIOS with support for accessing USB storage devices
Table 17-1 compares the features of BitLocker with NTFS Encrypted File System
(EFS).
When you install the Ultimate or Enterprise versions of Windows Vista or
Windows 7 on a computer with a TPM 1.2 chip on the motherboard, Windows
Setup will automatically enable BitLocker and install the BitLocker applet in
Control Panel; otherwise, you will need to enable it yourself.
Data Wiping
In many organizations, the permanent removal of data is an important security
function, but in too many organizations removing data from storage devices is
overlooked. Further, the ordinary user deletes data every day that is not really
deleted but saved in the Recycle Bin. Suppose you delete confidential files and then
walk away from your computer without logging off. Someone with malicious intent
could sit at your computer in your absence, open the Recycle Bin, and restore the
deleted files.
In a scenario in which you remove computers from service, thoroughly removing
the data from the hard drives is important because Windows’ delete, format,
and even partition programs do not truly destroy the data saved on hard drives.
Therefore, a determined person can recover the data or even remnants of data files.
TABLE 17-1
BitLocker NTFS Encrypted File System (EFS)
BitLocker vs. Protects the entire boot volume. Only protects specific files and folders;
NTFS Encryption cannot protect operating system files.
Protects system integrity during the boot Does not protect system integrity.
process, looking for system changes.
Only administrators can enable or disable. All users can encrypt files.
Does not restrict file access to particular Can restrict file access to specific users.
users.
Stores encryption keys in a TPM or USB Stores encryption keys in user profiles.
drive.
Can prevent system startup without a PIN Cannot prevent system startup.
Requires two volumes. Can be used when the system and boot
volumes are combined.
Use the staying power of data on a hard drive to your advantage. If a hard
drive with valuable data fails or somehow is damaged so you cannot access the
data on the drive, you can send the drive to a company that will recover your
data—at a price. If recovering the data is worth thousands of dollars, then this
is an option to explore. You will find these services by searching on hard drive
data recovery in a search engine. Remember the bad guys can do this, too.
To protect your data from malicious attempts to recover it, use a data-wiping
program that removes the data from the hard drives and other writable storage
devices. The most recent name for this class of program is “shredder.” A shredder
overwrites deleted files using random data, and it overwrites the same space multiple
times. You can choose to shred an entire disk or just any one or more documents.
Most of these programs will protect your data from all but the most aggressive
attempts to recover data using very high-end software and equipment. Several free
shredders and several commercial products are available. Use a shredder program
to wipe out a hard drive before moving a computer to another user, donating it, or
sending it to a recycler.
Consider using a shredder program on a regular basis to ensure that deleted files
are truly deleted. Beginning with XP, Microsoft Windows comes with CIPHER, a
command prompt utility for encrypting files and folders. However, one option of this
command, the /w (wipe) switch, makes it work like a shredder, permanently removing
all deleted files from a folder or an entire volume. When you enter the command
cipher /w:drive:\folder
all the empty space (which includes deleted files) in the folder specified will be
overwritten. If you enter the command with this syntax and only specify a drive, it
will overwrite all the “empty” space on the drive. Figure 17-6 shows the CIPHER
command with the correct syntax to overwrite the deleted files in D:\SalaryReview.
The line of dots acts as a progress bar, with more dots showing as the program works
until it is finished. CIPHER makes three passes: in the first pass, it writes all zeros
onto the empty space; on the second pass, it writes the hexadecimal value FF over
the same space; and on the final pass, it writes random numbers. This technique is
the same one used by shredder programs.
Neither the CIPHER command nor third-party shredder programs should be
used without taking the precaution of first backing up any data on the same drive,
because the way these programs manipulate data on the drives has the potential of
damaging good files if anything goes wrong during the shredding process.
FIGURE 17-6 The CIPHER command is used to remove all deleted files in a single folder permanently.
Self Education
Research malware types, symptoms, and solutions to keep yourself informed. Check out
the many virus encyclopedias on the Internet sponsored by many different organizations,
including security software manufacturers, such as Trend Micro, Kaspersky, and
Symantec. Despite the use of the word “virus,” these lists contain all types of known
threats and are always up-to-date. Threat Encyclopedia is the title of the list maintained
by Trend Micro, a security software manufacturer. Also look for antivirus support
forums, which also include information about threats other than viruses.
Such resources categorize the malware by type and describe symptoms and
solutions. The Web site [Link] contains lists of antivirus support
forums and virus encyclopedias. The U.S. government maintains excellent general
information on all types of threats to computers at the United States Computer
Emergency Readiness Team (US-CERT) Website at [Link]/cas/tips/.
their own settings, but if either type of user attempts to run a program requiring
administrator-level permissions, the screen grays out and a dialog box appears.
A standard user will see the Credentials Prompt, requesting an administrator’s user
name and password. Supplying these credentials will allow the task to continue. An
administrator will see a Consent Prompt, as shown here, and must click Continue.
In both cases, only the identified task will run in the more privileged mode, while
the user continues to work in standard mode.
FIGURE 17-7 The Windows 7 User Account Control Settings dialog box
Software Firewalls
If your computer is behind a well-configured hardware firewall, that is all the firewall
protection you should require for attacks coming from outside the private network.
However, many attacks come from within a private network. Therefore, whether your
computer is behind an expensive well-managed hardware firewall or an inexpensive
SOHO broadband router, you still need to install and configure a software firewall
on every Windows computer. The best strategy is to start with the most restrictive
settings and then make exceptions to allow the required traffic to pass through
the firewall. Since one of the main jobs of a firewall is to maintain port security,
exceptions are in the form of port numbers and can even include specific IP addresses
or domain names associated with port numbers. The Windows Firewall Exceptions
page allows you to make an exception based on a program name or port. The program
names work because Windows knows the port numbers of the listed programs.
Windows Firewall
Until Windows XP Service Pack 2, the Windows firewall was called Internet
Connection Firewall (ICF) and was intended to be enabled on a Windows computer
that was sharing its Internet connection with other computers on a LAN. When
Windows XP installs, this firewall is not turned on. When Windows XP Service
Pack 2 installs, it includes the Windows Firewall, which is more configurable than
ICF. Windows Firewall is on by default, and you can open the Windows Firewall
dialog box through its Control Panel applet. Here is the Windows Firewall dialog
box with three tabbed pages as it appears in Windows XP Service Pack 2 or later.
EXERCISE 17-2
Configuring the Windows Firewall in Windows Vista
In this exercise, you may encounter UAC prompts. If you are logged on with an
administrator account, simply choose to continue. If you are logged on with a
standard account, you will need to enter credentials to continue, in which case, you
should obtain these credentials before you begin.
1. Open Control Panel and enter Windows Firewall in the Control Panel
Search box.
2. If the Windows Firewall is on, proceed with the next steps. If it is not on, find
out why. If you have another firewall, you will need to look at the settings for
that firewall.
3. In order to view the settings or create exceptions, select Allow A Program
Through Windows Firewall (a task item on the left). This will open the Win-
dows Firewall Settings dialog box, shown in Figure 17-8.
4. Only place a check in boxes next to services you need to use. For instance,
turn on File And Printer Sharing only if you need to share folders or printers
from your computer.
5. The Add Program button will allow you to add a program or service to the
list. We do not recommend adding a program unless you have very reliable
information that this is required and will not cause harm.
6. Similarly, you should only use the Add Port button if you have expert advice
on adding a port, or port ID, the identifying information for an IP packet.
7. When you have finished with the Exceptions page, click the Advanced tab.
FIGURE 17-8
The Windows
Firewall
Exceptions tab
in Windows Vista
8. The Network Connection Settings section of the Advanced page will allow
you to enable or disable the firewall for network connections to this computer.
If you only have a single network connection, you will see only one connection
listed.
9. Finally, the Restore Defaults button at the bottom of this page allows you to
restore Windows Firewall to the default settings.
10. When you are finished, close the Windows Firewall dialog box by clicking
OK (to accept changes) or Cancel to quit without making changes.
from Sunbelt (previously named Kerio Personal Firewall). Each of these is available
as a separate product, or as part of a security software bundle. ZoneAlarm is a free
program with fewer features than ZoneAlarm Pro.
Antivirus
An antivirus program can examine the contents of a disk and RAM looking for hidden
viruses and files that may act as hosts for virus code. Effective antivirus products
not only detect viruses in incoming files before they can infect your system, but also
remove existing viruses and help you recover data that has been lost because of a virus.
To keep an antivirus program up-to-date, always enable the update option you
will find in all popular antivirus programs. Configure it to connect automatically
to the manufacturer’s Website, check for updates, and install them. An antivirus
program will update at least two components: the antivirus engine (the main
program) and a set of patterns of recognized viruses, usually contained in files called
definition files. Manufacturers of antivirus software commonly charge an annual
fee for updates to the antivirus engine and to the definitions. Common commercial
antivirus manufacturers with both home and business solutions include Symantec,
TrendMicro, CA, McAfee, Kaspersky, and Grisoft. There are excellent free services
for home users. One example is AVG Anti-Virus from Grisoft. Even the commercial
vendors who do not offer a completely free product often allow you to try their
product for a period, usually 30 days.
Phishing Filter
In Chapter 16, you learned about the dangers of phishing, a practice in which
authentic-looking communications attempt to fool you into providing personal
financial information. Phishing is often very difficult to detect for what it truly is.
Along with educating yourself on what to look for, be sure to install or enable a
phishing filter for your Web browser. You may already have an unenabled one. Keep
in mind that even with a phishing filter, you must still be alert to possible phishing
attacks. A phishing filter will check for suspicious behavior on the Websites you
visit. It will also usually maintain a list of reported phishing sites. Here is how a
phishing filter works:
Antispyware/Anti-Adware/Pop-Up Blocker
As you learned in Chapter 16, spyware and adware are types of programs that install on
your computer and perform functions on behalf of others. The intent of spyware can
be very malicious, including identity theft, whereas the intent of adware is generally
less malicious, even if the people responsible for the adware hope to profit by
advertising their products.
How spyware and adware get installed on your computer is yet another issue.
Users have a hard time believing that their actions invite malicious programs in, but
that is how it happens. Perhaps you installed a wonderful free program. You may be
very happy with the program itself, but you may have also installed spyware, adware,
or worse along with the program.
The most insidious method used to install spyware and adware on your computer
comes in the form of a pop-up window resembling a Windows alert. These bogus
messages may warn you that spyware was installed on your computer, and you must
take some action, such as clicking OK in the pop-up window. By clicking OK, you
supposedly start downloading software from Microsoft or another credible source
to install on your computer to rid you of the threat. In reality, it is only a disguised
method for installing spyware or adware.
Do not fall for these tricks. Fighting these threats begins with being very careful
about how you respond to messages in pop-up windows and what you install on your
computer while browsing the Web. If you are unsure of a message, do not click any
buttons or links within the window, but close it using the close button at the upper-right.
Many free and commercial programs are available that effectively block various
forms of spyware and adware, especially pop-ups. These are the easiest to block, and
the most annoying because a pop-up advertisement appears in its own window and
must be closed or moved before you can see the content you were seeking. Such a
blocking program is a pop-up blocker. Configure a pop-up blocker so it will block
pop-ups quietly. You can also opt to configure it to make a sound, and/or display a
message, allowing you to decide whether to block each pop-up.
Microsoft’s Windows Defender protects your computer from spyware and some
other types of malicious software packages. It installs with Windows Vista and
Windows 7, and it is available as a free download for Windows XP, but it does not
support Windows 2000.
We have found a few Websites where blocking all pop-ups has blocked much of
the content we were seeking. If you find that to be the case, configure the pop-up
blocker to allow pop-ups for that session or configure it to display a message. You can
also configure it to always allow pop-ups from specified sites.
Pop-up blockers are now the norm in Web browsers, and third-party pop-up
blockers are available. If your Web browser does not have a pop-up blocker option,
you may simply need to update the browser to a newer version.
Antispyware software is now often part of an Internet security package that includes
a software firewall, antivirus, antispam, as well as antispyware. Many vendors offer
these packages, including Symantec, Trend, AVG, and others. You can also find free or
inexpensive individual antispyware programs.
Removing Malware
When malware is detected, you must remediate the infected systems, removing
the malware and repairing any damage it may have done. We will explore several
techniques.
Quarantine
In the case of detected malware, your security program may quarantine the
malware file or it may remove it entirely. It all depends on the security software
configuration. A quarantined file is disabled, but not removed from the computer.
Some security software talks about the malware being in a “vault,” which is the same
as quarantining. Since security software can make mistakes, identifying a critical and
uninfected file as malware, configuring it to place detected malware into quarantine
gives you an opportunity to review the file and decide what action to take. On a
larger scale, some organizations, upon discovering that one or more computers are
infected, will quarantine those computers, removing them from the network entirely
until the malware is removed.
Training Users
Knowledge of the danger of threats and ways to prevent malicious software from
invading computers is important to both the computer professional and to each PC
user. Do your part to keep yourself current on security technologies. Depending on
your role in an organization, take all opportunities to educate users. Make them aware
of the company’s security policy and the role they need to play in preventing attacks.
keeping the WAP updated, setting the administrator password, disabling the SSID
broadcast, configuring MAC filtering, disabling DHCP, encrypting transmitted
signals, and configuring firewall settings. You should implement as many of these
changes as is practical, and be sure to document all the settings on your WAP and
your wireless client computers. This will help you to restore the WLAN to the same
level of protection if something should happen to the WAP, such as a complete
failure or an invasion by someone who manages to lock you out. More on this last a
bit later in the following discussion.
We assume that you have updated the firmware on your WAP and wireless
NICs, as suggested in Chapter 14. Exercise 14-2 in Chapter 14 walked you through
configuring a WAP, including basic security settings such as changing the default
administrator user name and password and changing the SSID name. We will pick
up where that exercise left off, describing other security tasks, such as disabling the
SSID broadcast, and go into more detail here.
FIGURE 17-9
The Wireless
MAC filter page
on a wireless
broadband router
Disable DHCP
One task that will make your wireless network less vulnerable is to disable DHCP
on the wireless access point. Unwelcome wireless clients must have an IP address
to access your wireless network, and if, in the absence of other security, the DHCP
server gives out addresses indiscriminately it makes it easy for intruders.
To set up a wireless network without a DHCP server requires some knowledge
of IP addressing, because, once you disable the DHCP server on the WAP, you will
need to give each wireless client on the network a unique IP address. You must
make sure the IP address for each wireless client is on the same logical network as
the access point. To do this, look at the IP address of the access point. This address
is normally the only one that is static because the access point includes the DHCP
server, which gives out addresses.
Using the Web-based administrative tool for your WAP, locate the DHCP settings
for the wireless network and turn off DHCP. Then assign appropriate static addresses
to each wireless NIC on your network. For instance, if the internal IP address for
Manual IP Configuration
If you have chosen to disable the DHCP server on the wireless access point and do
not have another one on the network, you must manually configure the wireless
NIC on each client computer with an appropriate IP configuration.
To do this, for each PC that has a wireless NIC, open the Network Connections
applet from Control Panel. Right-click the connection for the wireless NIC and
select Properties. On the General tab, scroll down, select Internet Protocol (TCP/IP),
and click Properties. In the Internet Protocol (TCP/IP) Properties dialog box, enter
a unique IP address that is on the same network as the WAP, enter the same subnet
mask as that of the WAP, enter the WAP’s IP address in the Default Gateway box,
and enter the DNS service addresses provided by your ISP or network administrator.
Figure 17-10 shows an example of a static IP address setting.
FIGURE 17-10
Manually enter
the IP settings
for each wireless
NIC.
MAC Filtering
If you have configured the WAP to allow only specified MAC addresses, then every
time you add a new client to the WLAN, you need to discover the MAC address
of the wireless NIC on the new client and add it to the list on the WAP. You can
usually find the MAC address on the wireless device itself or on the packaging, or
else you can find it after installing the wireless NIC by running the IPCONFIG
command using the following syntax: ipconfig /all.
Encryption
You will need to configure each wireless client to match the WAP’s encryption
setting. In most cases, you will need to enter the appropriate passphrase—the one
you configured on the WAP. If the client is not at the same level of encryption as the
WAP, determine if an upgrade is available from the manufacturer. If not, consider
purchasing a new wireless NIC.
Troubleshooting Security
Troubleshooting security follows the same path as all computer troubleshooting.
Gather information, perform an analysis, arrive at possible solutions, and apply
the solution and test it. Once you are successful, document the process so you or
your coworkers will not have to “solve” the same problem twice. There are certain
problems that are specific to PC security, and you will explore some of these in the
following sections.
If a BIOS password is set on the System Setup menu, and only on this menu, the
computer will boot up normally without requiring a BIOS system startup password.
Forget the password and you can start up the computer just fine, but you will not be
able to access the System Setup menu and make changes. As we mentioned earlier,
this password is necessary in situations in which people have physical access to
computers, as in a computer lab.
In both cases, documenting the password or passwords is very important, and you
should maintain and kept them in a safe place available to all authorized personnel.
The password should not be something only the head techie knows but does not
share with anyone else. There are better ways to gain job security.
If you set a password and later forget it, you will have to find out how to reset
the BIOS in order to access BIOS Setup. Finding this in the motherboard manual
can be difficult, as we have never seen one with an index. Fortunately, motherboard
manuals are usually short and the instructions for resetting or cleaning the BIOS
settings are usually near the back in a troubleshooting section. Alternatively, search
the motherboard manufacturer’s Website. What you must do after that depends on
the system and can range from temporarily removing the battery that supports CMOS
to changing a jumper setting and restarting the computer. Then, you can enter Setup
without providing a password. Your work is not yet done, however, because you will
have lost all custom settings and will need to reconfigure the BIOS settings. Recall
Exercise 4-5 in Chapter 4, in which you learned how to back up CMOS settings. If
you have access to a copy of the CMOS settings for the computer, the configuration
process will be far easier than trying to guess what the settings were. If you do not
know the previous BIOS settings, accept the default settings, but you may face more
than one choice here, such as Fail-Safe Defaults and Optimized Defaults. If you have
such a choice, select Optimized Defaults first and see if everything functions. If not,
you will have to change to the Fail-Safe Defaults. The moral to this story is either
don’t set a BIOS password or, if you do, don’t lose the password.
Anyone who knows how can remove a BIOS password from a physically
unlocked computer case. This demonstrates the futility of setting BIOS passwords on
physically unsecured computers.
Biometrics
Sometimes users cannot log on to a Windows XP computer using biometrics when
the computer resumes from Standby or Hibernate. Microsoft solved this problem in
a hotfix. A hotfix is program code that fixes a specific problem. A hotfix is normally
only available from Microsoft Product Support Services to persons who identify the
problem. In these cases, Microsoft usually waives the normal charges for Microsoft
No Permissions on FAT32
You would like to set permissions on a folder that you plan to share. You first notice
that there is no Security tab in the Properties dialog box for the folder. Perhaps you
don’t have Simple File Sharing turned on. Then you notice that the volume is not
NTFS but FAT32. FAT32 does not support file- and folder-level permissions. The
only permissions in this case will be at the share level, and you want to set NTFS
permissions so you can assign permissions to each subfolder under the shared folder.
What can you do?
If there is no compelling reason for using FAT32 on the volume, convert it
to NTFS. Before doing this, back up the entire drive that you plan to convert,
just in case something goes wrong during the process. Once the backup is
completed, convert the volume using the Disk Management node of the Computer
Management console, or by opening a Command Prompt window and running the
CONVERT program. The syntax for running the convert program is
convert d: /fs:ntfs
where d: is the drive you wish to convert. Whether you use Disk Management or the
CONVERT program, if the drive you are converting is not being used by the OS or
any other program, the conversion will occur immediately. If the drive is in use, as
is always the case with the system drive (normally drive C:), you will see a message
that the conversion will occur the next time Windows is restarted.
This conversion is one-way. You cannot
convert back from NTFS to FAT32 unless you
reformat the drive, and then you lose all the
data on the hard drive.
Be sure you understand
Once you have converted the file system
how to convert a volume from FAT32 to
from FAT32 to NTFS, you can assign
NTFS. Remember you cannot reverse this
permissions to files and folders and use other
without losing the data on the drive.
NTFS features not available in FAT32.
Encryption Issues
If you, or the users you support, encrypt files using NTFS encryption, you risk having
the encryption defeated or being locked out of your own encrypted files. Sometimes
we leave the worst news for last. After learning about NTFS encryption in Chapter 16,
we will now explain its shortcomings, and why we do not use it.
logged on, the invader has access to everything on your computer, including your
encrypted files.
The key is to not allow any unauthorized person physical access to your computer.
With physical access, someone can use a variety of tools to access your encrypted
files. There are inexpensive software tools, classified as password recovery software,
that can crack passwords on Windows accounts—both local and domain. If you need
such a tool, use an Internet search engine to search on this category of software.
trust the company posting the information, such as one of the top security software
companies, you may accept their answer as authoritative.
Some personal firewalls provide additional information on blocked files with
a recommended action you may choose to take. Still, you often have to make a
decision without being absolutely sure of the safety of the program, even when it
appears to be one you are familiar with. Windows does protect certain operating
system files with safeguards in the form of digital signatures. If Windows indicates
that a program is digitally signed, you can usually trust the program.
CERTIFICATION SUMMARY
There are no easy answers or quick fixes when it comes to computer security.
Security threats go beyond simple computer invasions to inflict damage to threats
against your very identity. Therefore, computer security must be multifaceted to
protect computers, data, and users.
This multifaceted approach includes implementing a variety of security programs
and features, including authentication, permissions at both the file system level and
the share level, NTFS or BitLocker encryption, backing up data, and removing data
from computers moved from one place to another or taken out of service with your
organization.
Additionally, train users to protect their computers when they must temporarily
walk away. One effective and simple solution is to use Windows’ Lock Computer,
which preserves the desktop and open files, while protecting them from intruders
until the user enters a password to unlock the computer.
Take steps to secure wireless networks, beginning with the access point
configuration and extending to the wireless clients, which must be compatible with
the WAP. You will need to make decisions about the configuration based on what all
the wireless devices in the WLAN support. Areas of concern are DHCP, SSID name
and broadcasting, MAC filtering, the administrative password, firmware updates,
encryption, and firewall settings.
Approach security troubleshooting as you would any PC troubleshooting. Some
special security issues are BIOS passwords, biometric devices, forgotten Windows
passwords, lack of permissions on FAT32 volumes, problems with NTFS encryption,
software firewall messages, and preventive maintenance for security.
✓ TWO-MINUTE DRILL
Here are some of the key points covered in Chapter 17.
❑ Data deleted by users is not truly deleted but saved in the Recycle Bin and
easily recovered. Even after you remove data from the Recycle Bin and
“permanently” delete it, it can be recovered.
❑ A class of programs called “shredders” removes data from hard drives. Run a
shredder on your files as you delete them.
Troubleshooting Security
❑ A BIOS password, depending on its function, will keep users from starting up
the OS, or just keep everyone out of the Systems Settings menu.
❑ To remove a BIOS password, follow the manufacturer’s instructions, which
may require opening the computer and setting jumpers to erase the contents
of CMOS where the BIOS password is saved.
❑ If you remove the BIOS password by erasing the contents of CMOS, you will
need to run the system Setup program and enter the correct settings for the
system.
❑ If users cannot log on to a Windows computer using biometrics as the
computer resumes from Standby or Hibernate, check to see if the computer
is up-to-date on updates. When this happens, the short-term fix is to log on
with a basic interactive logon from the keyboard.
❑ A Windows hotfix that was not generally available solved the preceding
problem, but by the time you read this, it may be. If not, contact Microsoft
for the hotfix.
❑ You have several options if you forget your password, depending on the
situation. If your logon account is in a Windows domain, ask the domain
administrator to reset the password.
❑ If the forgotten password is for a local user account, you also have several
options. Log on as the local Administrator if you know that password. Then
reset the password for the user account.
❑ Or perhaps your installation of Windows has a hidden Administrator
account. Access this account by restarting in Safe Mode and logging on with
the Administrator account. Unless the password was changed, you can leave
the field blank. Then reset the password for the user account.
❑ If the Security tab is missing from the Properties dialog of a file or folder on
an NTFS volume, Simple File Sharing is probably on. Turn this off, and the
Security tab will appear.
❑ FAT32 does not support file and folder permissions. Therefore, unless there
is a special reason for having a FAT32 volume, convert FAT32 volumes to
NTFS using the following syntax:
convert d: /fs:ntfs
SELF TEST
The following questions will help you measure your understanding of the material presented in this
chapter. Read all of the choices carefully because there might be more than one correct answer.
Choose all correct answers for each question.
16. What Control Panel applet allows you to manage temporary Internet files?
A. Internet Options
B. Computer Management
C. Event Viewer
D. Administrative Tools
Troubleshooting Security
19. What are the direct consequences of forgetting the password on the Systems Settings menu?
A. Inability to launch Windows.
B. All systems settings will be reset.
C. The Windows password will be reset.
D. Inability to access the System Settings menu.
20. Because users frequently forget their passwords, administrators have the right to take this action.
A. Reset the account.
B. Restrict the account.
C. Reset the password.
D. Remove the password from the account.
7. ®✓ A. Most restrictive is how effective NTFS permissions and share permissions combine for
a user.
˚ B, least restrictive, is incorrect, although this is how the effective NTFS permissions are
®
applied. C, Full Control, is calculated first, and D, Read is calculated first, are both incorrect.
8. ®✓ B. The file will remain encrypted if moved or copied into an unencrypted folder on an
NTFS volume.
®˚ A, it will be decrypted, is incorrect because as long as the move or copy is not performed
as a drag-and-drop operation, an encrypted file will remain encrypted. C, it will be Read-
Only, is incorrect because this is not the result of moving or copying an encrypted file into
an unencrypted folder on an NTFS volume. D, encrypted files cannot be moved or copied, is
incorrect because encrypted files can be moved or copied.
9. ®✓ D. BitLocker is the encryption that comes with the OS and protects an entire boot volume
on a Windows Vista or Windows 7 computer.
®˚ A, NTFS encryption is incorrect because it only encrypts at the folder level on an NTFS
volume. B, WPA2, is incorrect because this is a Wi-Fi encryption standard. C, DriveLock, is
incorrect because it is not an encryption technology, but a system for controlling access to an
entire hard drive without data encryption.
10. ®✓ C. \\computername\admin$ identifies the system root folder administrative share.
®˚ A, C$, B, IPC$, and D, PRINT$, although all administrative shares, do not point to the
system root folder.
security package. D, definition files and phishing filter, is incorrect because, although definition
file is part of the correct answer, phishing filter is not part of an antivirus program, but a Web
browser add-on or feature.
13. ®✓ C. Phishing filter is the type of security software that looks at Website contents for certain
traits and warn you if it detects one of these traits while you are browsing.
®˚ A, antispyware, is incorrect because antispyware looks for spyware on your computer,
not social engineering traits. B, spam filter, is incorrect because this does not look for social
engineering traits but for spam in your e-mail. D, antivirus, is incorrect because this does not
look for social engineering traits, but for viruses.
14. ®✓ C. A pop-up blocker is the service offered by Web browsers to prevent unwanted windows
from opening on the desktop.
®˚ A, phishing filter, is incorrect because, although this filter works within a browser, it scans
Websites for certain social engineering traits. B, spam filter, is incorrect because this scans
incoming e-mails for suspected spam messages. D, personal firewall, is incorrect because it
does not work within a Web browser but blocks certain types of incoming messages based on
information in the packet header.
15. ®✓ B. Antivirus is security software that examines the contents of a disk and RAM looking for
hidden viruses and files that may act as hosts for virus code.
®˚ A, phishing filter, is incorrect because this filter works within a browser and scans Websites
for certain social engineering traits. C, personal firewall, is incorrect because this firewall blocks
certain types of incoming messages based on information in the packet header but does not look
at the contents to determine if it is virus code. D, pop-up blocker, is incorrect because it only
works within a browser to prevent unwanted browser windows from opening.
✓ A. Internet Options is where you can manage temporary Internet files.
16. ®
˚ B, Computer Management, C, Event Viewer, and D, Administrative Tools, are all incorrect
®
because none of these administrative tools allows you to manage temporary Internet files.
18. ®✓ B. WPA2 is the latest encryption method and the preferred one to use as of the writing of
this book.
®˚ A, WEP, is incorrect because this was replaced by WPA in 2003 and is no longer
considered secure. C, WPA1, is incorrect because WPA2 is more secure. D, NTFS, is incorrect
because NTFS encryption has nothing to do with wireless networks.
Troubleshooting Security
19. ®✓ D. Inability to access the System Settings menu is the direct consequence of forgetting the
password on the Systems Settings menu.
®˚ A, inability to start up Windows, is incorrect because forgetting the password on the
Systems Settings menu will have no effect on starting Windows. B, all systems settings will
be reset, is incorrect because this will not happen just because you forget the Systems Settings
menu password. C, the Windows password will be reset, is incorrect because the password on
the Systems Settings menu will not affect the Windows password for any user account.
20. ®✓ C. Resetting the password is something an administrator can do to help a user who forgot
his password.
˚ A, reset the account; B, restrict the account; and D, remove the password from the
®
account, are all incorrect actions when a user forgets her password.