Dr. Kalpakis CMSC 421, Operating Systems. Fall 2008 URL: Security.

Slides:



Advertisements
Similar presentations
Chapter 15 Security Bernard Chen Spring Protection vs. Security Protection (Ch.14) deals with internal problem Security (Ch. 15) Deals with external.
Advertisements

Security  The Security Problem  Authentication  Program Threats  System Threats  Securing Systems  Intrusion (unwanted involvement) Detection  Encryption.
Silberschatz, Galvin and Gagne  Operating System Concepts The Security Problem A system is secure iff its resources are used and accessed as.
1 Protection Protection = access control Goals of protection Protecting general objects Example: file protection in Linux.
1 Counter-measures Threat Monitoring Cryptography as a security tool Encryption Digital Signature Key distribution.
Informationsteknologi Thursday, October 11, 2007Computer Systems/Operating Systems - Class 161 Today’s class Security.
6/2/2015B.Ramamurthy1 Security B.Ramamurthy. 6/2/2015B.Ramamurthy2 Computer Security Collection of tools designed to thwart hackers Became necessary with.
Chapter 15: Security. The Security Problem Security must consider external environment of the system, and protect the system resources Intruders (crackers)
19.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 19: Security The Security Problem Authentication Program Threats.
Security Presented by : Qing Ma. Introduction Security overview security threats password security, encryption and network security as specific.
Security A system is secure if its resources are used and accessed as intended under all circumstances. It is not generally possible to achieve total security.
CSI 400/500 Operating Systems Spring 2009 Lecture #20 – Security Measures Wednesday, April 29 th.
Lesson 11-Virtual Private Networks. Overview Define Virtual Private Networks (VPNs). Deploy User VPNs. Deploy Site VPNs. Understand standard VPN techniques.
Business Data Communications, Fourth Edition Chapter 10: Network Security.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Silberschatz, Galvin and Gagne  Operating System Concepts Module 19: Security The Security Problem Authentication Program Threats System Threats.
Lesson 9-Securing a Network. Overview Identifying threats to the network security. Planning a secure network.
Protection and Security CSCI 444/544 Operating Systems Fall 2008.
Chapter 19 Security.
Alter – Information Systems 4th ed. © 2002 Prentice Hall 1 E-Business Security.
E-business Security Dana Vasiloaica Institute of Technology Sligo 22 April 2006.
Chapter 15: Security (Part 1). The Security Problem Security must consider external environment of the system, and protect the system resources Intruders.
Operating Systems Protection & Security.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Silberschatz and Galvin  Operating System Concepts Module 20: Security The Security Problem Authentication Program Threats System Threats Threat.
14.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 14: Protection.
1 Chapter 9 E- Security. Main security risks 2 (a) Transaction or credit card details stolen in transit. (b) Customer’s credit card details stolen from.
CMSC 414 Computer (and Network) Security Lecture 14 Jonathan Katz.
Workshop 7 Agenda Homework review: 18.7, 19.11, 19.12, 20.1, 20.7 Study group project milestone Lecture & discussion on distributed coordination Lecture.
Operating Systems 1 K. Salah Module 6.0: Security and Protection  Types of misuse: –1. Accidental –2. Intentional –Protection is to prevent either accidental.
29.1 Lecture 29 Security I Based on the Silberschatz & Galvin’s slides And Stallings’ slides.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Operating system Security By Murtaza K. Madraswala.
Types of Electronic Infection
30.1 Lecture 30 Security II Based on Silberschatz & Galvin’s slides And Stallings’ slides.
Network Security Jiuqin Wang June, 2000 Security & Operating system To protect the system, we must take security measures at two levels: Physical level:
1 SSL - Secure Sockets Layer The Internet Engineering Task Force (IETF) standard called Transport Layer Security (TLS) is based on SSL.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
Security CS Introduction to Operating Systems.
14.1/21 Part 5: protection and security Protection mechanisms control access to a system by limiting the types of file access permitted to users. In addition,
Security Many secure IT systems are like a house with a locked front door but with a side window open -somebody.
COSC 513 Operating Systems Project Presentation: Internet Security Instructor: Dr. Anvari Student: Ying Zhou Spring 2003.
IT Security. What is Information Security? Information security describes efforts to protect computer and non computer equipment, facilities, data, and.
Information Security in Distributed Systems Distributed Systems1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Security.
CHAPTER 2 Laws of Security. Introduction Laws of security enable user make the judgment about the security of a system. Some of the “laws” are not really.
14.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Protection.
Invitation to Computer Science 5 th Edition Chapter 8 Information Security.
“Lines of Defense” against Malware.. Prevention: Keep Malware off your computer. Limit Damage: Stop Malware that gets onto your computer from doing any.
Information Systems CS-507 Lecture 32. Physical Intrusion The intruder could physically enter an organization to steal information system assets or carry.
Unit 2 Personal Cyber Security and Social Engineering Part 2.
1 Network Security. 2 Security Services Confidentiality: protection of any information from being exposed to unintended entities. –Information content.
Chapter 40 Internet Security.
Network Security Presented by: JAISURYA BANERJEA MBA, 2ND Semester.
Chapter 15: Security.
Operating system Security
The Security Problem Security must consider external environment of the system, and protect it from: unauthorized access. malicious modification or destruction.
Chapter 6: Protection & Security
OPERATING SYSTEMS CS 3502 Fall 2017
Security in Networking
12: Security The Security Problem Authentication Program Threats
Internet Worms, SYN DOS attack
Security.
Chapter 29: Program Security
Module 2 OBJECTIVE 14: Compare various security mechanisms.
Protection and Security
Operating System Concepts
Operating System Concepts
CSE 542: Operating Systems
Chapter 14: Protection.
Presentation transcript:

Dr. Kalpakis CMSC 421, Operating Systems. Fall 2008 URL: Security

CMSC 421, Fall Outline The Security Problem Authentication Program Threats System Threats Securing Systems Intrusion Detection Encryption Windows NT

CMSC 421, Fall The Security Problem Security must consider the external environment of the system and protect it from: unauthorized access. malicious modification or destruction accidental introduction of inconsistency. It is easier to protect against accidental than malicious misuse

CMSC 421, Fall 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 Passwords may also either be encrypted or allowed to be used only once

CMSC 421, Fall Program Threats Trojan Horse Code segment that misuses its environment Exploits mechanisms used to allow programs written by some users to be executed by other users Trap Door Specific user identifier, input, or password that circumvents normal security procedures could be included in a compiler Stack and buffer overflow Exploits a bug in a program (overflow memory buffers) that leads to allowing the user executing the program to overwrite the program’s stack

CMSC 421, Fall System Threats Worms use spawn mechanism to spread and command remote machines 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 desktops downloading viral programs from public depots (internet, etc) Denial of service Overload the targeted computer preventing it from doing any useful work

CMSC 421, Fall The Morris Internet Worm

CMSC 421, Fall Threat Monitoring Check for suspicious patterns of activity several incorrect password attempts may signal password guessing receiving network packets out-of-order may indicate fingerprinting/scanning opening network connections and abandoning them may indicate DoS 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 It is done when the computer is relatively unused

CMSC 421, Fall Threat Monitoring Check for Short or easy-to-guess passwords Unauthorized set-uid programs Unauthorized programs in system directories, including /tmp 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

CMSC 421, Fall Firewall A firewall is placed between trusted and untrusted hosts. The firewall limits network access between these two security domains.

CMSC 421, Fall Network Security Through Domain Separation Via Firewall

CMSC 421, Fall Intrusion Detection Detect attempts to intrude into computer systems Detection methods: Auditing and logging Tripwire (UNIX software that checks if certain files and directories have been altered) Detection algorithms Pattern matching Learn to distinguish normal from abnormal behaviors System call monitoring Learn “normal” sequences of system calls, and raise an alarm when an “anomalous” sequence is observed False alarm rate must be low and detection rate high: difficult!!

CMSC 421, Fall Data Structure Derived From System-Call Sequence

CMSC 421, Fall Encryption Encrypt clear text into cipher text Properties of good encryption techniques Relatively simple for authorized users to incrypt 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 (DES) 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

CMSC 421, Fall Encryption Public-key encryption based on each user having two keys A public key – published key used to encrypt data A 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 know for finding the prime factors of a number.

CMSC 421, Fall Encryption Example - SSL SSL – Secure Socket Layer Cryptographic protocol to facilitate the secure exchange of messages between two computers Used between web servers and browsers for secure communication (credit card numbers) The server is verified with a certificate. Communication between each computers uses symmetric key cryptography

CMSC 421, Fall Computer Security Classifications U.S. Department of Defense outlines four divisions of computer security: A, B, C, and D. Trusted Computer Base (TCB) Totality of hardware, software, and firmware for protection D – Minimal security. C – Provides discretionary protection through auditing. C1 identifies cooperating users with the same level of protection; limited access right support for large groups of users Most flavors of UNIX C2 allows individual user-level access control and ensures that used memory is cleared before given to another user Some secure versions of UNIX A – Uses formal design and verification techniques to ensure security.

CMSC 421, Fall Computer Security Classifications B class All the properties of C each object may have unique sensitivity labels. Mandatory Access Controls Multiple Levels of Classification for objects, resources, users B1 MAC for memory objects and users B2 MAC for all system resources Covert channels and audit B3 Negative MAC

CMSC 421, Fall Computer Security Classifications A class Uses formal design and verification techniques to ensure security. A1: formally verified but otherwise equivalent to B3 A2+: developed by trusted developers in a trusted facility

CMSC 421, Fall Windows NT Example Configurable security allows policies ranging from D to C2. Security is based on user accounts where each user has a security ID. Uses a subject model to ensure access security. A subject tracks and manages permissions for each program that a user runs. Each object in Windows NT has a security attribute defined by a security descriptor. For example, a file has a security descriptor that indicates the access permissions for all users.