introduction to computer security. books: 1.an inroduction to computer security: the nist handbook...

47
Introduction to Computer Security

Upload: mikaela-crawshaw

Post on 30-Mar-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

Introduction to Computer Security

Page 2: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

Introduction to Computer Security

• Books:1. An Inroduction to Computer Security: The

NIST Handbook2. Johannes Buchmann: Introduction to

Cryptography3. Douglas Stinson: Cryptography Theory and

Practice

Page 3: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

I. Outline of the semester

• Term of computer security• Elements of computer security• Three major security controls: Administrative

controls, Physical controls, Algorithmic controls: Cryptography – encryption (symmetric, asymmetric), hash functions, digital signatures, message authentication codes, identification, key exchange etc.

Page 4: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. 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, information/data)

Page 5: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer Security

• Integrity:

data integrity: Requirement that information and programs are changed only in a specified and authorized manner

system integrity: Requirement that a system performs its intended function free from unauthorized manipulation

Page 6: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer Security

• Availability: Requirement intended to assure that systems work promptly and service is not denied to authorized users.

• Confidentiality:Requirement that private or confidential information not be disclosed to unauthorized individuals.

Page 7: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Elements of Computer Security

1. Computer security supports the mission of the organization2. Computer security is an integral element of sound

management3. Computer security should be cost-effective4. Computer security responsibilities should be made explicit5. System owners have computer security responsibilities

outside their own organizations6. Computer security requires a comprehensive and integrated

approach7. Computer security should be periodically reassessed8. Computer security is constrained by societal factors

Page 8: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer security supports the mission of the organization

• Computer security helps the organization’s mission by protecting its physical and financial resources, reputation, legal position, employees, and other tangible and intangible assets.

• No complete security protecting important assets• usually security is secondary (making profit, providing good

service etc. is primary) • Management should understand their mission and how their

information system supports it. security requirements are defined

• Interorganizational systems e.g.: good security of buyers system also benefits the seller

Page 9: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer security is an integral element of sound management

• Information and computer systems are often critical assets that support the mission of an organization. Protecting them can be as critical as protecting other organizational resources (e.g. money, physical assets, employees)

• Managers should decide about the level of risk they are willing to accept.

Page 10: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer security should be cost-effective

• Ensure that the cost of controls does not exceed expected benefits.

• Direct costs: purchasing, installing and administering security systems

• Indirect costs: Security systems can sometimes affect system performance, employee morale or retraining requirements.

Page 11: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer security responsibilities should be made explicit

• Document that states organization policy and make explicit computer security responsibilities

• Responsibilities may be internal to an organization or may extend across organizational boundaries.

Page 12: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer security requires a comprehensive and integrated approach

• Interdependencies of security controls – Administrative, physical and algorithmic controls work together interdependanciese.g.: training on how to use a secure system

• Other interdependencies – system management, legal issues, quality assurance

Page 13: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer security should be periodically reassessed

• Computers and the environments they operate in are dynamic security requirements are ever-changing

• Changes in the system or the environment can create new vulnerabilities necessary to reassess periodically

Page 14: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

II. Computer security is constrained by societal factors

• Security may be limited by social issuese.g. security vs. privacy (identification, tracking actions)

Page 15: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

III. Roles and Responsibilities

• Whose responsibility is it?

• Senior management• Computer Security Management• Program and Functional Managers/Application

owners• Technology providers• Supporting organizations• Users

Page 16: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

III. Senior management

• Senior management – ultimate responsibility

They establish the organization’s computer security program to support the mission of the organization.

They are responsible for setting a good example for their employees

Page 17: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

III. Computer Security Management

• Directs the organization’s day-to-day management of its computer security program

• Responsible for coordinating all security-related interactions among organizational elements.

Page 18: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

III. Program and Functional Managers/Application owners

• Responsible for a program or function including the supporting computer system.

• These officials are usually assisted by technical staff.

Page 19: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

III. Technology providers• Managers and technicians who design and operate

computer systems.• They are responsible for implementing technical

security on computer systems.• Responsible for being familiar with security

technology that relates to their system.• Responsible for analyzing technical vulnerabilities.• Telecommunications – providing communication

services (fax, voice, etc.)• Help desk – recognize security incidents and refer the

caller to the appropriate person or organization for a response

Page 20: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

III. Supporting organizations• Audit – Auditors are responsible for examining

systems whether the system is meeting stated security requirements.

• Quality assurance – Responsible for improving the products and services, how computer security can be used to improve the quality.

• Training office – Responsible for training users, operators, managers in computer security.

• Risk Management – Responsible for studying all types of risks including computer security-related risks.

Page 21: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

III. Users

• Users of informationIndividuals who use information provided by the computer system. They may read computer-prepared reports etc.

• Users of systemsIndividuals who directly use computer systems, responsible for following security procedures, reporting security problems, attending security training.

Page 22: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Threats

• Threats range from errors harming database integrity to fires destroying entire computer centers

• Threats from the actions of trusted employees, outside hackers, careless data entry clerks etc.

• Attack confidentiality, integrity of data or availability of a system

Page 23: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Threats

• Knowledge of threat environment is necessary for system manager to implement the most cost-effective security measures.

• It might be more cost-effective to simply tolerate the expected losses risk analysis

Page 24: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Errors and omissions

• Threat to data and system integrity• Made by users who create and edit data

training can help• Large percentage of threats• Contribute directly or indirectly to security

problems

Page 25: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Errors and omissions

• Directly: data entry error or programming error that crashes a system

• Indirectly: errors create vulnerabilities• Errors in programming are called bugs• Installation and maintenance errors security

vulnerabilities

Page 26: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Fraud and theft

• Automating traditional methods of fraud and theft

• E.g.: financial systems are at risk, systems that control access to any resource (inventory systems etc.)

• Insiders (former employees also) are in a better position, outsiders

• Hardware and software are vulnerable to theft

Page 27: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Employee sabotage

• Employees know what actions might cause the most damage

• Employee sabotage is believed to be much smaller than the instances of theft, but the cost of such incidents can be quite high.

Page 28: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Loss of physical and Infrastructure support

• Includes power failures, loss of communication, water leaks, lack of transportation service, fire, flood etc.

• Loss of infrastructure often results in unexpected ways

Page 29: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Malicious hackers/crackers

• A hacker breaks into computers and computer networks, either for profit or motivated by the challenge.

• Black hat (crackers) hackers: for malicious reasons such as vandalism, credit card fraud, identity theft, piracy, or other types of illegal activity

• White hat hackers: for non-malicious reasons, for instance testing their own security system

• Grey hat hackers: combination of a Black Hat and a White Hat Hacker (repair the system for a small fee)

Page 30: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Malicious hackers/crackers

• Losses due to hacker attacks are significantly smaller than losses due to insider theft and sabotage, the hacker problem is widespread and serious.

• Receive more attention: hacker threat is a more recently encountered threat, organizations do not know the purpose of a hacker (browse, steal, damage, etc.) no limitations, hackers’ identity is unknown (case of painter and burglar)

Page 31: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Industrial espionage

• Gathering proprietary data from private companies or the government for the purpose of aiding another company.

• Goal is to improve their competitive advantage .• Since information is processed and stored on

computer systems, computer security can help. (employees may sell information)

• E.g.: pricing information, product development, customer lists, sales data, cost data, strategic plans

Page 32: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Malicious code

• Virus: A code segment that replicates by attaching copies of itself to existing executables. The new copy of the virus is executed when a user executes the new host program.

• Trojan horse: A program that performs a desired task, but that also includes unexpected functions. They steals information, harm the system and do not replicate themselves.

Page 33: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Malicious code

• Worm: A self-replicating program that is self-contained and does not require a host program. The program creates a copy of itself and causes it to execute, no user intervention is required. Sometimes just consume bandwith.

Page 34: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

IV. Threats to personal privacy

• Electronic information about individuals by governments, credit bureaus, private companies, etc. have created a threat to individual privacy.

• Often referred to „Big Brother”.• Federal and state employees have sold

personal information collected by the government. (1992, USA)

Page 35: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

V. Administrative controls – Risk management

• Risk is the possibility of something adverse happening.

• Risk management is the process of assessing risk, taking steps to reduce risk to an acceptable level and maintaining that level of risk.

• Computer security risk management addresses risks which arise from an organization’s use of information technology.

Page 36: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

V. Administrative controls – Risk management

• E.g.: To maximize the return on their investments, businesses must often decide between aggressive (but high-risk) and slow-growth (but more secure) investment plans. These decisions require analysis of risk. Management decides

• There is always risk. (from trusted employees or fire etc.)

• Risk management is made up of three activities: risk assessment, risk mitigation and uncertainty analysis

Page 37: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

V. Administrative controls – Risk management – Risk assessment

• Risk assessment: Process of analyzing and interpreting risk

Basic activities: • determining the assessment’s scope and

methodology• Collecting and analyzing data• Interpreting the risk analysis results

Page 38: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

V. Administrative controls – Risk management – Risk mitigation

Selecting safeguards• Method of selecting safeguards: what if

analysis to test what difference each makes with regard to cost, effectiveness and other factors

• E.g.: what if passwords are strengthened? Personnel may be required to change passwords more frequently. There are no direct monetary expenditure, but staff and administrative overhead is increased.

Page 39: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

V. Administrative controls – Risk management – Uncertainty analysis

• Risk management often must rely on speculation, best guesses, incomplete data, and many unproven assumptions.

• Sources of uncertainty: lack of confidence or precision in the risk management model or lack of sufficient information to determine the exact value of the elements of the risk model

Page 40: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

VI. Computer Support and Operations (Regulations)

• This includes both system administration and tasks external to the system that support its operation (e.g., maintaining documentation). It does not include system planning or design.

• Support and operations are routine activities that enable computer systems to function correctly. (e.g. fixing software or hardware problems, maintaining software)

Page 41: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

VI. Computer Support and Operations

• User Support:– through a Help Desk– which problems are security-related– they may not be aware of the "whole picture„

• Software Support:– controlling what software is used on a system ( must

not load any)– ensure the software has not been modified without

proper authorization (This can be done with a combination of logical and physical access controls.)

Page 42: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

VI. Computer Support and Operations

• Configuration Management:– process of keeping track of changes to the system and, if

needed, approving them – the security goal is to know what changes occur, not to

prevent security from being changed• Backups:– Support and operations personnel and sometimes users

back up software and data– Frequency of backups will depend upon how often data

changes and how important those changes are.– Finally, backups should be stored securely

Page 43: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

VI. Computer Support and Operations

• Logging:– to support accountability– Control numbers (or other tracking data), the times

and dates of transfers, names and signatures of individuals involved, and other relevant information

• Integrity Verification:– no modification– error detection and correction, cryptographic-based

technologies

Page 44: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

VII. Physical and environmental security

• Physical Access Protection:– Media can be stolen, destroyed, replaced with a look-alike

copy, or lost. – Physical access controls, which can limit these problems,

include locked doors, desks, file cabinets, or safes.• Environmental Protection:

– media should be protected against heat, liquids, dust etc.• Disposition

– The process of removing information from media is called sanitization.

– e.g.: overwriting, destruction by shredding or burning

Page 45: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

VII. Physical and environmental security

• refers to measures taken to protect systems, buildings, and related supporting infrastructure against threats associated with their physical environment

• three areas: – the building, other structure, or vehicle housing the system and network

components; determine the level of such physical threats as fire, roof leaks, or unauthorized access

– facility's general geographic operating location determines the characteristics of natural threats, which include earthquakes and flooding; man-made threats such as burglary or damaging nearby activities, including toxic chemical spills, explosions, fires, and electromagnetic interference

– system's operation usually depends on supporting facilities such as electric power, heating and air conditioning, and telecommunications.

Page 46: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

VII. Physical and environmental security

• Interception of Data– Direct Observation - terminal and workstation

display screens– Interception of Data Transmissions - access to data

transmission lines– Electromagnetic Interception - Systems routinely

radiate electromagnetic energy that can be detected with special-purpose radio receivers. (TEMPEST attack)

Page 47: Introduction to Computer Security. Books: 1.An Inroduction to Computer Security: The NIST Handbook 2.Johannes Buchmann: Introduction to Cryptography 3.Douglas

Algorithmic Control – Identification, Entity authentication

• Identification is the means by which a user provides a claimed identity to the system.

• Entity authentication is the means of establishing the validity of this claim.– something the individual knows (e.g.: password,

PIN)– something the individual possesses (e.g.: smart

card, token)– something the individual is (e.g.: biometric)