Protection and Security

Similar documents
Module 20: Security. The Security Problem Authentication Program Threats System Threats Threat Monitoring Encryption. Operating System Concepts 20.

19.1. Security must consider external environment of the system, and protect it from:

Module 19: Protection

Module 19: Protection

Chapter 17: System Protection

Today: Protection. Protection

Language-Based Protection

Chapter 14: System Protection

Chapter 13: Protection. Operating System Concepts Essentials 8 th Edition

Chapter 14: Protection. Operating System Concepts 9 th Edition

The Security Problem

Today: Protection! Protection!

Today: Protection. Sermons in Computer Science. Domain Structure. Protection

Protection Goals of Protection Principles of Protection principle of least privilege Domain Structure need to know principle

ISO/IEC Common Criteria. Threat Categories

Silberschatz and Galvin Chapter 19

Chapter 15: Security. Operating System Concepts 8 th Edition,

Security and Authentication

Protection and Security. Sarah Diesburg Operating Systems CS 3430

e-commerce Study Guide Test 2. Security Chapter 10

Chapter 19 Security. Chapter 19 Security

Chapter 15: Security. Chapter 15: Security

Chapter 9: Database Security: An Introduction. Nguyen Thi Ai Thao

Background. Demand Paging. Performance of Demand Paging. Page Replacement. Page-Replacement Algorithms. Allocation of Frames.

We ve seen: Protection: ACLs, Capabilities, and More. Access control. Principle of Least Privilege. ? Resource. What makes it hard?

Issues. Separation of. Distributed system security. Security services. Security policies. Security mechanism

CSE 565 Computer Security Fall 2018

Operating systems and security - Overview

Operating systems and security - Overview

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright Chapter 12 1

Intruders. significant issue for networked systems is hostile or unwanted access either via network or local can identify classes of intruders:

Verteilte Systeme (Distributed Systems)

Define information security Define security as process, not point product.

SAZ4B/SAE5A Operating System Unit : I - V

(2½ hours) Total Marks: 75

Chapter 15: Security. Operating System Concepts 9 th Edition

Secure Architecture Principles

Security Threats: Network Based Attacks

COMPUTER NETWORK SECURITY

5. Authentication Contents

II.C.4. Policy: Southeastern Technical College Computer Use

CS 392/681 - Computer Security. Module 5 Access Control: Concepts and Mechanisms

Hacking Terminology. Mark R. Adams, CISSP KPMG LLP

CS 470 Spring Security. Mike Lam, Professor. a.k.a. Why on earth do Alice and Bob need to share so many secrets?!?

Security. Reading: Chapter 15, [OSC] (except Section 15.9)

ACS / Computer Security And Privacy. Fall 2018 Mid-Term Review

Cleveland State University General Policy for University Information and Technology Resources

Systems and Network Security (NETW-1002)

Chapter 10: Security and Ethical Challenges of E-Business

2. INTRUDER DETECTION SYSTEMS

Chapter 14: Security. Operating System Concepts Essentials 8 th Edition

CISNTWK-440. Chapter 4 Network Vulnerabilities and Attacks

Access Control. CMPSC Spring 2012 Introduction Computer and Network Security Professor Jaeger.

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Security Architecture. Lecture 13: Prof. Shervin Shirmohammadi CEG

Protection and Security

CompTIA Security+ Malware. Threats and Vulnerabilities Vulnerability Management

Unit 5. System Security

Networks and security Data bases

Operating System Security. 0Handouts: Quizzes ProsoftTraining All Rights Reserved. Version 3.07

Distributed Systems. Lecture 14: Security. Distributed Systems 1

MU2a Authentication, Authorization & Accounting Questions and Answers with Explainations

CS 470 Spring Security. Mike Lam, Professor. a.k.a. Why on earth do Alice and Bob need to talk so much?!? Content taken from the following:

C1: Define Security Requirements

Distributed Systems. Lecture 14: Security. 5 March,

Online Threats. This include human using them!

Overview. Handling Security Incidents. Attack Terms and Concepts. Types of Attacks

Security, Privacy and Authentication. Michael Power Gowling Lafleur Henderson LLP

CIS 21 Final Study Guide. Final covers ch. 1-20, except for 17. Need to know:

Guide to Network Security First Edition. Chapter One Introduction to Information Security

Acceptable Use Policy

CERT-In. Indian Computer Emergency Response Team ANTI VIRUS POLICY & BEST PRACTICES

Data Communication. Chapter # 5: Networking Threats. By: William Stalling

Encryption Algorithms Authentication Protocols Message Integrity Protocols Key Distribution Firewalls

CHAPTER 8 SECURING INFORMATION SYSTEMS

MTA Networking Fundamentals Exam.

Login und Authentifizierung

A Review Paper on Network Security Attacks and Defences

CS 392/681 - Computer Security. Module 6 Access Control: Concepts and Mechanisms

Kerberos and Public-Key Infrastructure. Key Points. Trust model. Goal of Kerberos

CS System Security 2nd-Half Semester Review

Ethics and Information Security. 10 주차 - 경영정보론 Spring 2014

Objectives. Classes of threats to networks. Network Security. Common types of network attack. Mitigation techniques to protect against threats

KALASALINGAM UNIVERSITY

? Resource. Announcements. Access control. Access control in operating systems. References. u Homework Due today. Next assignment out next week

(a) Which of these two conditions (high or low) is considered more serious? Justify your answer.

Acceptable Use Policy

Exam : JK Title : CompTIA E2C Security+ (2008 Edition) Exam. Version : Demo

Secure Architecture Principles

Software Security and Exploitation

CHAPTER 8 FIREWALLS. Firewall Design Principles

CompTIA Security+ (Exam SY0-401) Course 01 Security Fundamentals

Security issues: Encryption algorithms. Threats Methods of attack. Secret-key Public-key Hybrid protocols. CS550: Distributed OS.

Secure Architecture Principles

Chapter 10: Security. 2. What are the two types of general threats to computer security? Give examples of each.

INF3700 Informasjonsteknologi og samfunn. Application Security. Audun Jøsang University of Oslo Spring 2015

Operating Systems Design Exam 3 Review: Spring Paul Krzyzanowski

Operating Systems Security Access Control

Security+ Guide to Network Security Fundamentals, Third Edition. Chapter 7 Access Control Fundamentals

Operating Systems. Week 13 Recitation: Exam 3 Preview Review of Exam 3, Spring Paul Krzyzanowski. Rutgers University.

CS 416: Operating Systems Design April 22, 2015

Transcription:

Protection and Security CS 502 Spring 99 WPI MetroWest/Southboro Campus Three Circles of Computer Security Inner Circle Memory, CPU, and File protection. Middle Circle Security Perimeter. Authentication and authorization. Outer Circle The network; interaction with the computer from the outside. Main Memory and Files LAN System Internet 3/26/99 1 1

Protection and Security Outline Protection Goals of Protection Domain of Protection Access Matrix Implementation of Access Matrix Revocation of Access Rights Capability-Based Systems Language-Based Protection Security The Security Problem Authentication Program Threats System Threats Threat Monitoring Encryption 3/26/99 2 Protection Goals Operating system consists of a collection of objects, hardware or software. Each object has a unique name and can be accessed through a well-defined set of operations. Protection problem ensure that each object is accessed correctly and only by those processes that are allowed to do so. 3/26/99 3 2

Domain Structure Access-right = <object-name, rights-set> Rights-set is a subset of all valid operations that can be performed on the object. Domain = set of access-rights < O 3, {read, write} > < O 1, {read, write} > < O 2, {execute} > < O 2, {write} > < O 4, {print} > < O 1, {execute} > < O 3, {read} > 3/26/99 4 Domain Implementation System consists of 2 domains: User Supervisor UNIX Domain = user-id Domain switch accomplished via file system. Each file has associated with it a domain bit (setuid bit). When file is executed and setuid = on, then user-id is set to owner of the file being executed. When execution completes user-id is reset. 3/26/99 5 3

Protection of Memory Security Ensure correct function of various processes that are active 3/26/99 6 Multics Rings Let D i and D j be any two domain rings. If j < i D i D j. ring N - 1 ring 2 ring 1 ring 0 3/26/99 7 4

Access Matrix Rows domains Columns domains + objects Each entry Access rights; Operator names Object Domain F 1 F 2 F 3 Printer D 1 Read Read D 2 Print D 3 Read Execute D 4 Read Write Read Write 3/26/99 8 Use of Access Matrix If a process in Domain D i tries to do op on object O j, then op must be in the access matrix. Can be expanded to dynamic protection. Operations to add, delete access rights. Special access rights: owner of O i copy op from O i to O j control D i can modify D j s access rights transfer switch from domain D i to D j 3/26/99 9 5

Domain Switching Domain F 1 F 2 F 3 Printer D 1 D 2 D 3 D 4 D 1 Read Read Switch D 2 Print Switch Switch D 3 Read Execute D 4 Read Write Read Write Switch 3/26/99 10 Use of Access Matrix (Cont.) Access matrix design separates mechanism from policy. Mechanism Operating system provides Access-matrix + rules. It ensures that the matrix is only manipulated by authorized agents and that rules are strictly enforced. Policy User dictates policy. Who can access what object and in what mode. 3/26/99 11 6

Implementation of Access Matrix Each column = Access-control list for one object Defines who can perform what operation. Domain 1 = Read,Write Domain 2 = Read Domain 3 = Read... Each Row = Capability List (like a key) For each domain, what operations allowed on what objects. Object 1 Read Object 4 Read,Write,Execute Object 5 Read,Write,Delete,Copy 3/26/99 12 Revocation of Access Rights Access List Delete access rights from access list. Simple Immediate Capability List Scheme required to locate capability in the system before capability can be revoked. Reacquisition Back-pointers Indirection Keys 3/26/99 13 7

Capability Based Systems Hydra Fixed set of access rights known to and interpreted by the system. Interpretation of user-defined rights performed solely by user's program; system provides access protection for the use of these rights. Cambridge CAP System Data capability provides standard read, write, execute of individual storage segments associated with object. Software capability interpretation left to the subsystem, through its protected procedures. 3/26/99 14 Language Based Protection Specification of protection in a programming language allows the high-level description of policies for the allocation and use of resources. Language implementation can provide software for protection enforcement when automatic hardwaresupported checking is unavailable. Interpret protection specifications to generate calls on whatever protection system is provided by the hardware and the operating system. 3/26/99 15 8

The Security Problem Security must consider external environment of the system, and protect it from: unauthorized access. malicious modification or destruction. accidental introduction of inconsistency. Easier to protect against accidental than malicious misuse. 3/26/99 16 Types of Threats Interruption an asset of the system is destroyed of becomes unavailable or unusable destruction of hardware cutting of a communication line disabling the file management system 3/26/99 17 9

Types of Threats Interception an unauthorized party gains access to an asset wiretapping to capture data in a network illicit copying of files or programs 3/26/99 18 Types of Threats Modification an unauthorized party not only gains access but tampers with an asset changing values in a data file altering a program so that it performs differently modifying the content of messages being transmitted in a network 3/26/99 19 10

Types of Threats Fabrication an unauthorized party inserts counterfeit objects into the system insertion of spurious messages in a network addition of records to a file 3/26/99 20 Computer System Assets Hardware threats include accidental and deliberate damage Software threats include deletion, alteration, damage backups of the most recent versions can maintain high availability 3/26/99 21 11

Computer System Assets Data involves files threats include unauthorized reading of data statistical analysis can lead to determination of individual information which threatens privacy 3/26/99 22 Computer System Assets Communication Lines and Networks threats include eavesdropping and monitoring a telephone conversion, an electronic mail message, and a transferred file are subject to these threats encryption masks the contents of what is transferred so even if obtained by someone, they would be unable to extract information 3/26/99 23 12

Computer System Assets Communication Lines and Networks masquerade takes place when one entity pretends to be a different entity message stream modification means that some portion of a legitimate message is altered, delayed, or reordered denial of service prevents or inhibits the normal use or management of communications facilities disable network or overload it with messages 3/26/99 24 Authentication User identity most often established through passwords, can be considered a special case of either keys or capabilities. Passwords must be kept secret. Frequent change of passwords. Use of non-guessable passwords. Log all invalid access attempts. 3/26/99 25 13

Techniques for Learning Passwords Try default password used with standard accounts shipped with computer Exhaustively try all short passwords Try words in dictionary or a list of likely passwords Collect information about users and use these items as passwords 3/26/99 26 Techniques for Learning Passwords Try user s phone numbers, social security numbers, and room numbers Try license plate numbers Use a Trojan horse to bypass restrictions on access Tap the line between a remote user and the host system 3/26/99 27 14

ID Provides Security Determines whether the user is authorized to gain access to a system Determines the privileges accorded to the user guest or anonymous accounts have mover limited privileges than others ID is used for discretionary access control a user may grant permission to files to others by ID 3/26/99 28 Password Selection Strategies Computer generated passwords users have difficulty remembering them need to write it down have history of poor acceptance Eliminate guessable passwords while allowing the user to select a password that is memorable 3/26/99 29 15

Password Selection Strategies Reactive password checking strategy system periodically runs its own password cracker to find guessable passwords system cancels passwords that are guessed and notifies user consumes resources to do this hacker can use this on their own machine with a copy of the password file 3/26/99 30 Password Selection Strategies Proactive password checker the system checks at the time of selection if the password is allowable with guidance from the system users can select memorable passwords that are difficult to guess 3/26/99 31 16

Taxonomy of Malicious Programs Malicious Malicious Programs Programs Needs Needs Host Host Program Program Independent Independent Trapdoors Trapdoors Logic Logic Bombs Bombs Trojan Trojan Horses Horses Viruses Viruses Bacteria Bacteria Worms Worms Replicate 3/26/99 32 Program Threats Trojan Horse Code segment that misuses its environment. Exploits mechanisms for allowing programs written by users to be executed by other users. Trap Door Specific user identifier or password that circumvents normal security procedures. Could be included in a compiler. 3/26/99 33 17

System Threats Worms use spawn mechanism; standalone program. Internet worm Exploited UNIX networking features (remote access) and bugs in finger and sendmail programs. Grappling hook program uploaded main worm program. Viruses fragment of code embedded in a legitimate program. Mainly effect microcomputer systems. Downloading viral programs from public bulletin boards or exchanging floppy disks containing an infection. Safe computing. 3/26/99 34 Threat Monitoring and Detection Assume the behavior of the intruder differs from the legitimate user Statistical anomaly detection collect data related to the behavior of legitimate users over a period of time statistical tests are used to determine if the behavior is not legitimate behavior attempt to define normal, or expected behavior Rule-based detection rules are developed to detect deviation form previous usage pattern expert system searches for suspicious behavior attempt to define proper behavior 3/26/99 35 18

Threat Monitoring Check for suspicious patterns of activity i.e., several incorrect password attempts may signal password guessing. Audit log records the time, user, and type of all accesses to an object; useful for recovery from a violation and developing better security measures. Scan the system periodically for security holes; done when the computer is relatively unused. 3/26/99 36 Threat Monitoring (Cont.) Check for: Short or easy-to-guess passwords Unauthorized set-uid programs Unauthorized programs in system directories Unexpected long-running processes Improper directory protections Improper protections on system data files Dangerous entries in the program search path (Trojan horse) Changes to system programs; monitor checksum values 3/26/99 37 19

Encryption Encrypt clear text into cipher text. Properties of good encryption technique: Relatively simple for authorized users to encrypt and decrypt data. Encryption scheme depends not on the secrecy of the algorithm but on a parameter of the algorithm called the encryption key. Extremely difficult for an intruder to determine the encryption key. Data Encryption Standard substitutes characters and rearranges their order on the basis of an encryption key provided to authorized users via a secure mechanism. Scheme only as secure as the mechanism. 3/26/99 38 Encryption (Cont.) Public-key encryption based on each user having two keys: public key published key used to encrypt data. private key key known only to individual user used to decrypt data. Must be an encryption scheme that can be made public without making it easy to figure out the decryption scheme. Efficient algorithm for testing whether or not a number is prime. No efficient algorithm is known for finding the prime factors of a number. 3/26/99 39 20

Encryption Across a Packet-Switching Network PSN PSN PSN PSN = end-to-end encryption device = link encryption device PSN = packet switching node 3/26/99 40 Key Distribution Deliver a key to two parties that wish to exchange data no else is allowed to see the key Key could be selected by A and physically delivered to B A third party could physically deliver the keys Encrypt a new key from the old key and transmit the new key A third party could deliver a key on encrypted links 3/26/99 41 21

Keys Session key all user data are encrypted with a one-time session key Permanent key used between two entities for the purpose of distributing session keys 3/26/99 42 Windows NT Security Access Control Scheme name/password access token associated with each process object indicating privileges associated with a user security descriptor access control list used to compare with access control list for object 3/26/99 43 22

Access Token Security ID (SID) Group SIDs Privileges Default Owner Default ACL 3/26/99 44 Security Descriptor Flags Owner System Access Control List (SACL) Discretionary Access Control List (DACL) 3/26/99 45 23

Access Control List ACL Header ACE Header Access Mask SID ACE Header Access Mask SID... 3/26/99 46 Access Mask Generic Access Types Delete Read Control Write DAC Write Owner Synchronize Standard Access Types Specific Access Types Generic All Generic Execute Generic Write Generic Read Access System Security Maximum allowed 3/26/99 47 24

History Memory Protection Hardware (1960) File Access Controls CTSS, CMAS 1962 One-way functions to protect passwords (1967) Multics Security Kernel (1968) ARPANET (1969 1989); Internet (1977+) Unix Unix System Mail (UUCP); mail trap doors (1975) Public key cryptography (1976) Vulnerability Study of Passwords Morris and Thompson 1978 RSA public-key cryptosystem (1978) 3/26/99 48 History (Cont.) Electronic cash (Chaum 1978) Domain Naming System of the Internet (1983) Computer Viruses Formal Problem (Cohen 1984) Novel Password Schemes (1985) Callback Challenge-response One-time password Distributed Authentication (Kerberos 1988) Internet Worm (1988) PEM (1989); PGM (1989) Privacy Enhanced Electronic Mail 3/26/99 49 25

History (Cont.) Wily hacker attack (Stoll 1988) Network sniffing; Packet Spoofing; firewalls; (1993) Java Security Problems (1996+) 3/26/99 50 26