Security

Security was not a big concern when computers were not networked and when the Internet was not as widely used as it is used today. Connecting to the Internet opens your computer or the entire network to the outside world. If security methods are not implemented, the computers or the Internet may be at risk of being exploited. Security threats come in various forms and can cause loss of connectivity or loss of valuable data. As a PC technician, you are expected to have a good knowledge of basic security concepts. In this section, we will discuss some fundamental security concepts.

In this section, we will study some basic elements of computer security. These topics include authentication technologies and protocols, malicious software, and elements of wireless security.

Authentication is the process of verifying the identity of a person. It is considered the first point of controlling access to a system. In the context of computer security, authentication is the method of verifying that the identity of a person or an application seeking access to a system, object, or a resource is true. For example, if a user wants to access a computer, the identity of the user is usually verified by having the user enter a valid username and password. If the username and password of the user matches the ones stored in the security database of the computer, the user is allowed access. This process is known as the authentication process. Depending on the requirements of an organization, one or more authentication mechanisms can be implemented to ensure security of an individual computer or for the entire network.

The following sections discuss a number of authentication technologies and protocols used in computer networks.

Certificates or digital certificates are widely used for Internet-based authentications, as well as for authentication of users and computers in network environments, to access network resources and services where directory services such as Microsoft's Active Directory service are implemented. Certificates are a part of public key infrastructure (PKI). In a PKI, certificate servers are used to create, store, distribute, validate, and expire digitally created signatures and other identity information about users and systems. Certificates are created by a trusted third-party known as a Certification Authority or Certificate Authority (CA). Examples of commercially available CAs are Verisign and Thwate. It is also a common practice to create a CA within an organization to manage certificates for users and systems inside the organization or with trusted business partners. In Windows 2000 and later server operating systems, certificates are used for authenticating users and granting access to Active Directory objects. CA used within an organization is known as an enterprise CA or a Standalone CA.

Another common use of certificates is for software signing. Software is digitally signed to ensure the user that it has been developed by a trusted software vendor. It also ensures that the software has not been tampered with since it was developed and made available for download. Certificates are also implemented in Internet services to authenticate users and verify their identity.

Kerberos is a cross-platform authentication protocol used for mutual authentication of users and services in a secure manner. Kerberos V5 is the current version of this protocol and is used on Windows servers as the default authentication protocol. The protocol ensures the integrity of authentication data (user credentials) as it is transmitted over the network. It is widely used in all other major operating systems, such as Unix and Cisco IOS.

Kerberos works in a Key Distribution Center (KDC), which is typically a network server used to issue secure encrypted keys and tokens (tickets) to authenticate a user or a service. The tickets carry a timestamp and expire as soon as the user or the service logs off. The following steps are carried out to complete the authentication process:

The TGT remains active for the entire session. Kerberos is heavily dependent on synchronization of clocks on the clients and servers. Session tickets granted by the KDC to the client must be presented to the server within the established time limits or else they may be discarded.

Malicious software or malware are software applications specifically written to launch attacks against individual computers or networks. The basic purpose of malicious software is to gain unauthorized access and cause damage to the system or steal confidential information. Examples of code attacks include viruses, Trojan horses, worms, logic bombs, spyware, and adware. These are discussed in the following paragraphs.

A firewall is a hardware device or a software application that sits between the internal network of the organization and the external network to protect the internal network from communicating with outside networks. A properly configured firewall blocks all unauthorized access to the internal network. It also prevents internal users from accessing potentially harmful external networks.

Firewalls can be implemented in the form of dedicated hardware devices or through the use of special software applications. When a computer or a network is protected using software applications, the firewall implementation is known as software firewall. Windows Firewall in Windows XP SP2 is a simple example of software firewall, which can be implemented on personal computers.

The three common firewall technologies are:

Packet-filtering firewalls

Packet-filtering firewalls inspect the contents of each IP packet entering the firewall device and, based on predefined and configured rules, allows or blocks packets inside the network. These firewalls permit or block access to specific ports or IP addresses and work on two basic policies: Allow by Default and Deny by Default. Following the Allow by Default policy, all traffic is allowed to enter the network except the specifically denied traffic. In the Deny by Default policy, all traffic entering the firewall is blocked except the one specifically allowed. Deny by Default is considered the best firewall policy, as only authorized traffic is allowed to enter the network using specified port numbers or IP addresses.

Application layer firewalls

Application layer firewalls are also known as Application firewalls or Application Layer gateways. This technology is more advanced than packet filtering, as it examines the entire packet to allow or deny traffic. Proxy servers use this technology to provide application layer filtering to clients. Inspection of data packets at the application layer (of the OSI model) allows firewalls to examine the entire IP packet and, based on configured rules, allow only intended traffic through them. One of the major drawbacks of application layer firewalls is that they are much slower than packet filtering firewalls because every IP packet is broken at the firewall, inspected against a complex set of rules, and reassembled before allowing it to pass.

Stateful inspection firewalls

Stateful inspection firewalls work by actively monitoring and inspecting the state of the network traffic, and they keep track of all the traffic that passes through the network media. This technology overcomes the drawbacks of both packet filtering and application layer firewalls. It is programmed to distinguish between legitimate packets for different types of connections. Only those packets are allowed that match a known connection state. This technology does not break or reconstruct IP packets and hence is faster than application layer technology.

Wireless networks rely on radio frequencies to communicate instead of the network cabling used for normal computer networks. Radio frequencies create electromagnetic (EM) fields, which become the medium to transfer signals from one computer to another. Wireless networks are also prone to malicious attacks if they are not properly secured. This section covers a brief discussion of different mechanisms that can be used to protect computers using wireless networking.

It is important that steps are taken to protect wireless networks from potential outside threats and attacks. Some of the protective measures are listed here:

Data backup is one of the fundamental elements of ensuring data security in the event of a disaster. Backed-up data is copied to another media such as magnetic tapes or compact disks (CDs or DVDs), which are safely and securely stored at an offsite location. Commonly used backup methods include the following:

Most organizations implement a mix of one or more backup types to create weekly, monthly, and yearly backup plans. Depending on the requirements of an organization and the amount of data to be backed up, different organizations may adopt different backup schemes. One of the commonly used backup methods is to use a combination of full backup on weekends and incremental backups on weekdays.

Encryption is the process of encoding a message using cryptographic algorithms so that it is not readable unless it is decrypted. Encryption converts readable plain text into cryptographic text, or cyphertext. Encryption is used as a protective cover for the locally stored data as well for data transmitted over network media from one computer to another. Encryption keeps the data secure from unauthorized access by users and by professional hackers. Encryption algorithms lay the foundation for such security mechanisms as confidentiality, authentication, digital signatures, and public key cryptography. Encryption algorithms are used to calculate a secret key, which is used to encrypt and decrypt messages. Only the persons who possess the key can encrypt or decrypt messages. Encryption algorithms fall into the following main categories:

Symmetric algorithms

Symmetric algorithms, or symmetric key algorithms, use one key for both encryption and decryption of messages. The sender of data and the receiver each keep a copy of the secret key. The process is also known as secret key encryption or shared secret encryption. CompTIA refers to this mechanism as Private Key Encryption. Some of the popular symmetric algorithms are Data Encryption Standard (DES), 3DES, Advanced Encryption Standard (AES), and International Data Encryption Algorithm (IDEA).

Asymmetric algorithm

Asymmetric algorithms are commonly used for Public Key Cryptography. Asymmetric algorithms use two keys, one for encryption (public key) and the other for decryption (private key). The encryption key can be freely distributed, but the private key must be held in strict confidence. Deffie-Hellman, RSA, and El-Gamal are examples of asymmetric algorithms.

Hashing algorithm

A hashing algorithm (also called Hash Function) creates a small and unique digital "fingerprint" from any kind of data. This fingerprint is known as the hash value. The hash value is represented as a short string of random letters and numbers. If the original data changes even by one character, the hash function will produce a different hash value. Thus, the receiver will know that original data has changed. The hashing function is considered a one-way process because it is not possible to create the original text using any reverse hashing function. This is why hashing functions are also known as one-way hashing functions. Message Digest 5 (MD5) and Secure Hashing Algorithm (SHA-1) are examples of hashing algorithms.

Physical security refers to physically securing servers and desktops in a network. Some of the common methods used to ensure physical security are listed here:

Locking workstations

Users should be educated to keep their workstations locked when not in use. For example, when a user has to go out for lunch, she should lock her workstation so that any unauthorized person may not get access to data stored on the computer. Additionally, users can configure screensaver passwords to protect their desktops.

Physical barriers

Most organizations keep the critical servers and network equipment in a locked room, and unauthorized access is denied. Server rooms should be locked and equipped with alarm systems. Logbooks should be maintained for entries to the secure room. All equipment should be locked down with strong passwords. If some outsiders need to work inside secure rooms, an employee of the organization must remain with them all the time.

Incident reporting

Incidents related to security can be disastrous for an organization. It can cause disruptions in network services, failure of one or more systems, or failure of the entire network. An organization can loose confidential and valuable data due to a security breach. If there is a security breach in the network or the network is under attack from an outsider, there should be a plan to handle the incident promptly. Incident reporting refers to the method of informing the management or any other responsible employee of the organization as soon as the incident is detected. If the incident is about to occur or is in progress, the management can take immediate action to prevent damage. If there is an Incident Response Policy in the organization, it should be followed. If there is evidence, it should be secured and preserved. Some organizations contract third-party organizations to investigate security related incidents.

Social engineering

Social engineering is the process of getting personal or confidential information or information about an organization by taking an individual into confidence. The so-called "social engineer" generally tricks the victim over the telephone or on the Internet to reveal sensitive information about the organization. Unfortunately, no technical configuration of systems or networks can protect an organization from social engineering. There is no firewall that can stop attacks that result from social engineering. The best protection against social engineering is to train users about the security policies of the organization.

Security should be implemented in such a way that it secures system and network resources. It should not become a problem for users who need to perform their everyday jobs on computers. Users should be able to access system and network resources with convenience but should be restricted from accessing confidential data of the organization. The following sections outline some of the common security-related problems and methods of performing regular preventive maintenance tasks for ensuring a secure working environment.

The following sections provide a summary of some common security-related problems:

Some of the important preventive maintenance procedures for computer security include installation of antivirus software, keeping the applications and operating system updated, securing network devices, configuring auditing and logging, and educating users. The following is a summary of these procedures.

Manufacturers of operating systems such as Microsoft, Novell, and others keep updating their operating systems and applications. These updates are known as software updates and are available free of cost for downloading from the manufacturers' web sites. Every computer user is not required to download and install all updates. Some updates are meant to add a new feature to an application, and some others are meant for repairing a security bug. Operating system updates fall into the following categories: