0% found this document useful (0 votes)
26 views12 pages

Introduction to Computer Security

The document provides an overview of computer security, emphasizing the importance of protecting systems and networks from threats and attacks. It introduces key concepts such as the CIA triad (Confidentiality, Integrity, Availability) and outlines various security mechanisms and services, including cryptography and authentication. Additionally, it discusses types of security attacks, their classifications, and the OSI security architecture as a framework for managing security needs in organizations.

Uploaded by

Aritra Pain
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views12 pages

Introduction to Computer Security

The document provides an overview of computer security, emphasizing the importance of protecting systems and networks from threats and attacks. It introduces key concepts such as the CIA triad (Confidentiality, Integrity, Availability) and outlines various security mechanisms and services, including cryptography and authentication. Additionally, it discusses types of security attacks, their classifications, and the OSI security architecture as a framework for managing security needs in organizations.

Uploaded by

Aritra Pain
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MODULE 1

INTRODUCTION:

Computer security, cybersecurity or information technology security (IT security) is the


protection of computer systems and networks from the theft of or damage to
their hardware, software, or electronic data, as well as from the disruption or misdirection of the
services they provide.

Computer and network security is essentially a battle of wits between a culprit who tries to find
holes and the designer or administrator who tries to close them.

Computer security is a series of protocols that a company or an individual follows to ensure


information maintains its “ICA” – integrity, confidentiality and availability.

CRYPTOGRAPHY:

Cryptography is the art and science of making a cryptosystem that is capable of providing
information security. Cryptography deals with the actual securing of digital data. It refers to
the design of mechanisms based on mathematical algorithms that provide fundamental
information security services.

CRYPTOSYSTEM

A cryptosystem is an implementation of cryptographic techniques and their accompanying


infrastructure to provide information security services. A cryptosystem is also referred to as a
cipher system.

Figure.1. Cryptosystem
Cryptosystem shown in fig.1, is th study of secure communications techniques that allow only
the sender and intended recipient of a message to view its contents. When transmitting
electronic data, the most common use of cryptography is to encrypt and decrypt email and
other plain-text messages. It reformats and transform our data, making it safer on its trip
between computers. The technology is based on the essentials of secret codes, augmented by
modern mathematics that protects our data in powerful ways.
Network Security - measures to protect data during their transmission
Internet Security - measures to protect data during their transmission over a collection of
interconnected networks
Computer Security: The protection afforded to an automated information system in order to
attain the applicable objectives of preserving the integrity, availability, and confidentiality of
information system resources (includes hardware, software, firmware, information/data, and
telecommunications).
This definition introduces three key objectives that are at the heart of computer security:
Confidentiality (C): Preserving authorized restrictions on information access and disclosure,
including means for protecting personal privacy and proprietary information. A loss of
confidentiality is the unauthorized disclosure of information.
Integrity(I): Guarding against improper information modification or destruction, including
ensuring information nonrepudiation and authenticity. A loss of integrity is the unauthorized
modification or destruction of information.
Availability (A): Ensuring timely and reliable access to and use of information. A loss of
availability is the disruption of access to or use of information or an information system.
These three concepts form what is often referred to as the CIA triad. The three concepts
embody the fundamental security objectives for both data and for information and computing
services.
Confidentiality: This term covers two related concepts:
Data1 confidentiality: Assures that private or confidential information is not made available
or disclosed to unauthorized individuals.
Privacy: Assures that individual’s control or influence what information related to them may
be collected and stored and by whom and to whom that information may be disclosed.
Integrity: This term covers two related concepts:
Data integrity: Assures that information and programs are changed only in a specified and
authorized manner.
System integrity: Assures that a system performs its intended function in an unimpaired
manner, free from deliberate or inadvertent unauthorized manipulation of the system.
Availability: Assures that systems work promptly and service is not denied to authorized
users. Although the use of the CIA triad to define security objectives is well established,
some in the security field feel that additional concepts are needed to present a complete picture.
Two of the most commonly mentioned are as follows:
Authenticity: The property of being genuine and being able to be verified and trusted;
confidence in the validity of a transmission, a message, or message originator. This means
verifying that users are who they say they are and that each input arriving at the system came
from a trusted source.
Accountability: The security goal that generates the requirement for actions of an entity to be
traced uniquely to that entity. This supports nonrepudiation, deterrence, fault isolation,
intrusion detection and prevention, and after-action recovery and legal action.
THE OSI SECURITY ARCHITECTURE:
To assess effectively the security needs of an organization and to evaluate and choose various
security products and policies, the manager responsible for security needs, some systematic
way of defining the requirements for security and characterizing the approaches to satisfying
those requirements. The OSI security architecture was developed in the context of the OSI
protocol architecture by ITU-T.
ITU-T: The International Telecommunication Union (ITU) Telecommunication
Standardization Sector (ITU-T) is a United Nations sponsored agency that develops standards,
called Recommendations, relating to telecommunications and to open systems interconnection
(OSI).
Recommendation X.800, Security Architecture for OSI, defines a systematic
approach. The OSI security architecture is useful to managers as a way of organizing the task
of providing security.
The OSI security architecture focuses on security attacks, mechanisms, and services. These can
be defined
briefly as
 Security attack
 Security mechanism.
 Security service

threat and attack are commonly used to mean more or less the same thing. The definitions taken
from RFC 4949, Internet Security Glossary.
Threat
A potential for violation of security, which exists when there is a circumstance, capability,
action, or event that could breach security and cause harm. That is, a threat is a possible danger
that might exploit a vulnerability.
Attack
An attack on system security that derives from an intelligent threat; that is, an intelligent act
that is a deliberate attempt (especially in the sense of a method or technique) to evade security
services and violate the security policy of a system.
SECURITY ATTACK:
Any action that compromises the security of information owned by an organization. There are
four general categories of attack which are listed below.
Interruption
An asset of the system is destroyed or becomes unavailable or unusable. This is an attack on
availability.
e.g., destruction of piece of hardware, cutting of a communication line or disabling of file
management system.

Figure.2a
Interception
An unauthorized party gains access to an asset. This is an attack on confidentiality.
Unauthorized party could be a person, a program or a computer. e.g., wiretapping to capture
data in the network, illicit copying of files.

Figure. 2b
Modification
An unauthorized party not only gains access to but tampers with an asset. This is an attack on
integrity.
e.g., changing values in data file, altering a program, modifying the contents of messages being
transmitted in a network.

Figure. 2c
Fabrication
An unauthorized party inserts counterfeit objects into the system. This is an attack on
authenticity.
e.g., insertion of spurious message in a network or addition of records to a file.

Figure.2d
The attack is majorly classified into two types:
• Active attack
• Passive Attack
PASSIVE ATTACK:
Passive attacks (Fig.3) are in the nature of eavesdropping on, or monitoring of, transmissions.
The goal of the opponent is to obtain information that is being transmitted.
Figure.3
Passive attacks are of two types:
Release of message contents: A telephone conversation, an e-mail message and a transferred
file may contain sensitive or confidential information. We would like to prevent the opponent
from learning the contents of these transmissions.
Traffic analysis: If we had encryption protection in place, an opponent might still be able to
observe the pattern of the message. The opponent could determine the location and identity of
communication hosts and could observe the frequency and length of messages being
exchanged. This information might be useful in guessing the nature of communication that was
taking place.
Passive attacks are very difficult to detect because they do not involve any alteration of data.
However, it is feasible to prevent the success of these attacks.
ACTIVE ATTACKS:
These attacks involve some modification of the data stream or the creation of a false stream.

Figure.4
These attacks can be classified in to four categories:
Masquerade – One entity pretends to be a different entity.
Replay – involves passive capture of a data unit and its subsequent transmission to produce
an unauthorized effect.
Modification of messages – Some portion of message is altered or the messages are delayed
or recorded, to produce an unauthorized effect.
Denial of service – Prevents or inhibits the normal use or management of communication
facilities. Another form of service denial is the disruption of an entire network, either by
disabling the network or overloading it with messages so as to degrade performance. It is quite
difficult to prevent active attacks absolutely, because to do so would require physical protection
of all communication facilities and paths at all times. Instead, the goal is to detect them and to
recover from any disruption or delays caused by them.
Security mechanism: A process (or a device incorporating such a process) that is designed to
detect, prevent, or recover from a security attack.
Cryptanalysis: Cryptanalysis is the study of methods for obtaining the meaning of encrypted
information, without access to the secret information that is typically required to do so.
Typically, this involves knowing how the system works and finding a secret key. Cryptanalysis
is also referred to as codebreaking or cracking the code.
Brute-force attack: The attacker tries every possible key on a piece of ciphertext until an
intelligible translation into plaintext is obtained. On average, half of all possible keys must be
tried to achieve success.
SECURITY SERVICE: A processing or communication service that enhances the security of
the data processing systems and the information transfers of an organization. The services are
intended to counter security attacks, and they make use of one or more security mechanisms to
provide the service.
X.800 defines a security service as a service that is provided by a protocol layer of
communicating open systems and that ensures adequate security of the systems or of data
transfers. X.800 divides these services into five categories
Confidentiality: Ensures that the information in a computer system and transmitted
information are accessible only for reading by authorized parties.
Eg., printing, displaying and other forms of disclosure.
Authentication: Ensures that the origin of a message or electronic document is correctly
identified, with an assurance that the identity is not false.
Integrity: Ensures that only authorized parties are able to modify computer system assets and
transmitted information. Modification includes writing, changing status, deleting, creating and
delaying or replaying of transmitted messages.
Non repudiation: Requires that neither the sender nor the receiver of a message be able to
deny the transmission.
Access control: Requires that access to information resources may be controlled by or the
target system.
Availability: Requires that computer system assets be available to authorized parties when
needed.
AUTHENTICATION:
The authentication service is concerned with assuring that a communication is Authentic, the
function of the authentication service is to assure the recipient that the message is from the
source that it claims to be from. In the case of an ongoing interaction, such as the connection
of a terminal to a host, two aspects are involved. Two specific authentication services are
defined in X.800:
Peer Entity Authentication
Used in association with a logical connection to provide confidence in the identity of the
entities connected.
Data Origin Authentication
In a connectionless transfer, provides assurance that the source of received data is as claimed.
ACCESS CONTROL
The prevention of unauthorized use of a resource (i.e., this service controls who can have access
to a resource, under what conditions access can occur, and what those accessing the resource
is allowed to do).
DATA CONFIDENTIALITY
The protection of data from unauthorized disclosure. Confidentiality is the protection of
transmitted data from passive attacks. With respect to the content of a data transmission, several
levels of protection can be identified.
Connection Confidentiality: The protection of all user data on a connection.
Connectionless Confidentiality: The protection of all user data in a single data block
AUTHENTICATION
The confidentiality of selected fields within the user data on a connection or in a single data
block.
Traffic Flow Confidentiality: The protection of the information that might be derived from
observation of traffic flows.
DATA INTEGRITY
The assurance that data received are exactly as sent by an authorized entity (i.e., contain no
modification, insertion, deletion, or replay).
Connection Integrity with Recovery
Provides for the integrity of all user data on a connection and detects any modification,
insertion, deletion, or replay of any data within an entire data sequence, with recovery
attempted.
Connection Integrity without Recovery: As above, but provides only detection without
recovery.
Selective-Field Connection Integrity: Provides for the integrity of selected fields within the
user data of a data block transferred over a connection and takes the form of determination of
whether the selected fields have been modified, inserted, deleted, or replayed.
Connectionless Integrity: Provides for the integrity of a single connectionless data block and
may take the form of detection of data modification. Additionally, a limited form of replay
detection may be provided.
Selective-Field Connectionless Integrity: Provides for the integrity of selected fields within
a single connectionless data block; takes the form of determination of whether the selected
fields have been modified.
NONREPUDIATION
Provides protection against denial by one of the entities involved in a communication of having
participated in all or part of the communication.
Nonrepudiation, Origin: Proof that the message was sent by the specified party.
Nonrepudiation, Destination: Proof that the message was received by the specified party.
SECURITY MECHANISMS
One of the most specific security mechanisms in use is cryptographic techniques. Encryption
or encryption-like transformations of information are the most common means of providing
security.
SPECIFIC SECURITY MECHANISMS
May be incorporated into the appropriate protocol layer in order to provide some of the OSI
security services.
Encipherment: The use of mathematical algorithms to transform data into a form that is not
readily intelligible. The transformation and subsequent recovery of the data depend on an
algorithm and zero or more encryption keys.
Digital Signature: Data appended to, or a cryptographic transformation of, a data unit that
allows a recipient of the data unit to prove the source and integrity of the data unit and protect
against forgery (e.g., by the recipient).
Access Control: A variety of mechanisms that enforce access rights to resources
Data Integrity: A variety of mechanisms used to assure the integrity of a data unit or stream
of data units
Authentication Exchange: A mechanism intended to ensure the identity of an entity by means
of information exchange.
Traffic Padding: The insertion of bits into gaps in a data stream to frustrate traffic analysis
attempts.
Routing Control: Enables selection of particular physically secure routes for certain data and
allows routing changes, especially when a breach of security is suspected.
Notarization: The use of a trusted third party to assure certain properties of a data exchange.
PERVASIVE SECURITY MECHANISMS
Mechanisms that are not specific to any particular OSI security service or protocol layer.
Trusted Functionality: That which is perceived to be correct with respect to some criteria
(e.g., as established by a security policy).
Security Label: The marking bound to a resource (which may be a data unit) that names or
designates the security attributes of that resource.
Event Detection: Detection of security-relevant events.
Security Audit Trail: Data collected and potentially used to facilitate a security audit, which
is an independent review and examination of system records and activities.
Security Recovery: Deals with requests from mechanisms, such as event handling and
management functions, and takes recovery actions.
NETWORK SECURITY MODEL:
A model for a network security is shown in the below figure. 5

Figure.5 Network Security Model


A message is to be transferred from one party to another across some sort of Internet service.
The two parties, who are the principals in this transaction, must cooperate for the exchange to
take place. A logical information channel is established by defining a route through the Internet
from source to destination and by the cooperative use of communication protocols (e.g.,
TCP/IP) by the two principals.
Security aspects come into play when it is necessary or desirable to protect the information
transmission from an opponent who may present a threat to confidentiality, authenticity, and
so on. All the techniques for providing security have two components:
• A security-related transformation on the information to be sent. Examples include the
encryption of the message, which scrambles the message so that it is unreadable by the
opponent, and the addition of a code based on the contents of the message, which can be used
to verify the identity of the sender.
• Some secret information shared by the two principals and, it is hoped, unknown to the
opponent. An example is an encryption key used in conjunction with the transformation to
scramble the message before transmission and unscramble it on reception.
A trusted third party may be needed to achieve secure transmission. For example, a third party
may be responsible for distributing the secret information to the two principals while keeping
it from any opponent. Or a third party may be needed to arbitrate disputes between the two
principals concerning the authenticity of a message transmission.
This general model shows that there are four basic tasks in designing a particular security
service:
1. Design an algorithm for performing the security-related transformation. The algorithm
should be such that an opponent cannot defeat its purpose.
2. Generate the secret information to be used with the algorithm.
3. Develop methods for the distribution and sharing of the secret information.
4. Specify a protocol to be used by the two principals that makes use of the security
algorithm and the secret information to achieve a particular security service.
However, there are other security-related situations of interest that do not neatly fit this model
but are considered. A general model of these other situations is illustrated in Figure.6 which
reflects a concern for protecting an information system from unwanted access.
Figure.6 Network Access Security Model

Another type of unwanted access is the placement in a computer system of logic that exploits
vulnerabilities in the system and that can affect application programs as well as utility
programs, such as editors and compilers. Programs can present two kinds of threats:
Information access threats: Intercept or modify data on behalf of users who should not have
access to that data.
Service threats: Exploit service flaws in computers to inhibit use by legitimate users.

Common questions

Powered by AI

Preventing security attacks in active modes involves detecting and thwarting activities that would alter or disrupt data or services, such as through intrusion detection systems, authentication processes, and ensuring the integrity of communications using cryptographic checks . Active attack prevention requires robust monitoring and real-time response capabilities to counteract unauthorized modifications or disruptions . In contrast, preventing passive attacks primarily entails protecting data confidentiality using encryption and traffic analysis countermeasures to prevent unauthorized information gathering . Passive attacks are more difficult to detect as they do not alter system data, so the focus is on safeguarding the communication contents through robust encryption methods . For system design, this distinction implies that while active attack countermeasures require dynamic and reactive capabilities, passive attack prevention is about securing data flows and reducing visible information leakage . This dual-focus in design must balance detection, prevention, and reaction measures to maintain both confidentiality and system performance without creating exploitable weaknesses .

The OSI security architecture offers a structured framework for addressing security requirements by systematically defining how security needs can be satisfied through various products and policies . It categorizes security aspects into three main areas: security attacks, security mechanisms, and security services. Security attacks identify potential threats to information systems, categorized broadly into passive and active attacks, indicating how data could be intercepted or altered . Security mechanisms provide the processes or controls designed to detect, prevent, or recover from security attacks, such as cryptographic transformations, authentication exchange, and access control . Lastly, security services define the capabilities needed to protect data and resources against threats, including confidentiality, authentication, integrity, and non-repudiation . This architecture assists security managers in organizing security efforts, ensuring that all aspects of security, from threat identification to the implementation of protective measures, are considered cohesively .

Passive attacks involve eavesdropping on transmissions to learn or make use of information but do not affect system resources or data directly . Examples include release of message content and traffic analysis. These attacks often go undetected because they do not alter data, focusing instead on monitoring . In contrast, active attacks involve some alteration of the data stream or system resources with the intent to cause disruption, such as masquerade, replay, modification, and denial of service . Active attacks can be detected as they alter data and disrupt services, but may be more challenging to prevent without robust security controls. Security defenses against passive attacks typically involve encryption to secure data against unauthorized access . In contrast, protecting against active attacks also requires mechanisms for detection and recovery, such as authentication and intrusion detection systems, because it is difficult to make systems completely impervious to these attacks at all times .

Designing a security service that integrates confidentiality, integrity, and availability involves addressing several challenges: balancing these objectives without compromising any, managing resource constraints, and implementing effective monitoring and response systems . Confidentiality measures, such as encryption, must be robust yet efficient enough to not impede system performance, thus supporting availability . Integrity requires mechanisms to detect and prevent unauthorized alterations, necessitating robust logging and monitoring systems that can handle large volumes of data without affecting system availability . Managing these factors in conjunction adds complexity due to potential conflicts, like ensuring a strong encryption to secure data (confidentiality) while maintaining swift data access (availability). To address these challenges, layered security approaches such as defense in depth and integrated systems like Security Information and Event Management (SIEM) can be used to provide comprehensive monitoring and automated response capabilities . Additionally, prioritizing security by adopting a risk management approach allows for adaptive defenses that are attuned to changes in threat levels without overwhelming system resources .

Access control contributes to maintaining confidentiality by regulating who can view or use resources in a computing environment, thus preventing unauthorized access to sensitive information . Mechanisms used to enforce access control include authentication systems, where users must prove their identity through passwords, biometrics, or tokens, and authorization policies that define what authenticated users are allowed to do . These mechanisms are implemented through role-based access control (RBAC), discretionary access control (DAC), or mandatory access control (MAC) policies, each with varying levels of restrictions and rules governing access based on security policies . By managing who has access to data and under what conditions, access control ensures that confidentiality is maintained and that resources are only accessed by authorized individuals, significantly reducing the risk of data breaches .

Accountability enhances security by ensuring that actions taken by users and systems can be traced back to their origin, enabling non-repudiation, deterrence, and forensic analysis after incidents . Key components of accountability include audit logs, monitoring systems, and traceable identities that link specific actions back to specific users or systems. Non-repudiation is crucial, requiring mechanisms to provide proof of data origin and receipt, preventing entities from denying actions . This traceability supports legal actions and system recovery efforts by clearly documenting what occurred within a system, when, and by whom, thus deterring malicious activities through the understanding that actions are recorded and reviewable . Accountability also aids in isolating faults and detecting intrusions by maintaining detailed records of system operations .

Encryption plays a vital role in achieving data confidentiality by converting data into an unintelligible form that unauthorized users cannot comprehend, thus protecting against unauthorized access . It also supports data integrity by ensuring that any alteration during storage or transit can be detected if the data cannot be correctly decrypted by the intended recipient . However, encryption has limitations, such as possible vulnerabilities if keys are improperly managed or if weak algorithms are employed, potentially allowing adversaries to break the encryption through cryptanalysis or brute-force attacks . Additionally, while encryption protects data in transit or storage, it does not inherently protect against threats like data deletion or disrupt application-level threats, which requires complementary security measures . Consequently, encryption must be integrated into broader security frameworks that include strong key management practices, regular algorithm updates, and additional security layers to address these gaps effectively .

Non-repudiation and authenticity reinforce the CIA triad by ensuring that actions or communications within a system are undeniable and genuine. Non-repudiation provides proof of origin and receipt, ensuring that neither the sender nor receiver can deny involvement in an action or communication, thereby supporting integrity and accountability by keeping a verifiable record of transactions . Authenticity involves verifying that users or messages are genuine and come from trusted sources, directly supporting the integrity and confidentiality segments of the CIA triad . When users and systems can verify the genuineness of messages, they can trust in the integrity and source of the data, thus preserving its confidentiality against spoofing or tampering . The convergence of these elements creates a trustworthy environment for data exchange, enhancing the overall security posture by integrating these concepts to support robust system functionality .

Traffic analysis threatens confidentiality in networks by allowing an adversary to deduce information from the observation of patterns in the communication flow, even when the content is encrypted . By analyzing the frequency, length, and timing of messages, an opponent can infer sensitive information such as the parties involved, their locations, and the nature of the transactions, which could compromise confidentiality . To mitigate these threats, traffic padding techniques can be employed, which involve the insertion of random data into communications to obfuscate actual traffic patterns . Additionally, using end-to-end encryption protocols and secure routing practices like onion routing can help obscure the actual data flow paths, further protecting against traffic analysis . Implementing these measures, along with regular monitoring and updates to security protocols, can significantly reduce the effectiveness of traffic analysis in compromising network confidentiality .

Confidentiality, integrity, and availability, collectively known as the CIA triad, are fundamental principles in information security that interrelate to provide a comprehensive security framework. Confidentiality ensures that sensitive information is accessed only by authorized individuals, protecting it from unauthorized disclosure . Integrity involves maintaining the accuracy and reliability of data, ensuring that information and systems are only altered in authorized and intended ways . Availability ensures that data and resources are accessible to authorized users when needed . These principles are complementary because ensuring the confidentiality of information also supports its integrity (by preventing unauthorized modifications) and its availability by reducing the risk of denial-of-service attacks that could restrict access . A breach in any one of these components can affect the others. For example, an attack that compromises confidentiality may also involve unauthorized data alterations, affecting integrity, or can result in disrupting system operations, impacting availability . Together, the CIA triad provides a balanced approach to securing information systems against various threats .

You might also like