Secure Operating Systems Lesson 2: OS Fundamentals.

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

CSC 360- Instructor: K. Wu Overview of Operating Systems.
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Chapter 6 Limited Direct Execution
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
Architectural Support for OS March 29, 2000 Instructor: Gary Kimura Slides courtesy of Hank Levy.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
1: Operating Systems Overview
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Operating Systems CS208. What is Operating System? It is a program. It is the first piece of software to run after the system boots. It coordinates the.
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
OS Concepts An Introduction operating systems. At the end of this module, you should have a basic understanding of what an operating system is, what it.
Chapter 6 - Implementing Processes, Threads and Resources Kris Hansen Shelby Davis Jeffery Brass 3/7/05 & 3/9/05 Kris Hansen Shelby Davis Jeffery Brass.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction n What is an Operating System? n Mainframe Systems.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Three fundamental concepts in computer security: Reference Monitors: An access control concept that refers to an abstract machine that mediates all accesses.
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Operating Systems CSCI 411.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
CS 346 – Chapter 1 Operating system – definition Responsibilities What we find in computer systems Review of –Instruction execution –Compile – link – load.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Chapter 1: Introduction and History  Where does the operating system fit in a computing system?  What does the operating system achieve?  What are the.
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
Security Architecture and Design Chapter 4 Part 1 Pages 297 to 319.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
Fundamental of Computer Architecture By Panyayot Chaikan September 13, 2004.
Host and Application Security Lesson 5: The Role of an OS.
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
Kernel Synchronization in Linux Uni-processor and Multi-processor Environment By Kathryn Bean and Wafa’ Jaffal (Group A3)
CSE Operating System Principles
Chapter 6 Limited Direct Execution Chien-Chung Shen CIS/UD
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
CSCE451/851 Introduction to Operating Systems
Overview  This and the other PowerPoint files represent an outline only. Each student is responsible for additional details specified in the book or in.
Introduction to Operating Systems Concepts
Chapter 1: Introduction
Operating Systems Lecture 2.
Chapter 1: Introduction Lecture 1 Part 1
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
CS490 Windows Internals Quiz 2 09/27/2013.
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Symmetric Multiprocessing (SMP)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1 Introduction to Operating System
Operating Systems Lecture 2.
Architectural Support for OS
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Computer System Structures
Architectural Support for OS
Chapter 1: Introduction
Chapter 2 Operating System Overview
Chapter 1: Introduction
Presentation transcript:

Secure Operating Systems Lesson 2: OS Fundamentals

Security  Very informally, protecting us for Bad Things™  More formally: Confidentiality Integrity Availability  It is VERY hard for an application to be secure if the OS it is running on doesn’t help this

What OS Do  Four levels: Hardware OS Applications Users  OS is the program most intimately involved with the hardware Borders of the OS hard to define… Minesweeper?

Computer Systems Organization  Parts: CPU Main memory IO (disk controller) USB Graphics adapter Connected by a bus (or two…)  The OS helps all this work together

Computer Systems Architecture  Lots of different architectures  Von Neumann  Single Process  Multiprocessor Symmetric/asymmetric multiprocessing Multicore  Clustered systems

OS Structure  Multiprogramming Doing more than one thing Helps drive up CPU utilization  Time sharing/multitasking Processes, and threads, and… Swapping, virtual memory

Operating System Operations  Most modern OS are interrupt drive  A trap or exception drives control from the user process to the OS  This leads to “dual mode operation”  Must be able to tell the difference between user code and the OS code Implemented with a “mode bit” Often called User mode and Kernel mode

Privilege  The OS wants to be sure it can always regain control Need a timer – has to have hardware force the control change  Some instructions should also only be callable from kernel (system) mode Example: timer management

Process Management  OS needs to schedule processes and threads  Create and delete processes  Suspend and resume processes  Ideally, allow for process synchronization and process communication These can get iffy with respect to security

Memory Management  Managing physical memory is a nightmare  Is memory executable?  Virtual addresses v. Physical  OS must track who is using what Often the implementation depends on the hardware support

Protection and Security  Protection: any mechanism that controls access to something (typically, a resource)  Security: slightly more subtle. Things can be technically working, but still insecure (think: lost password)  Will consider UIDs a lot, and permissions… also capabilities

Special Purpose Systems  Real time systems  Handhelds  Distributed

Open and Closed Source  Different design methodologies  Classically, Windows versus Linux – lots of tradeoffs here, you could do a whole class on it

Assignment  Make sure you can access the SVN  Read Chapter 1 of OSC  Make sure you have a Gentoo Linux VM and a Windows XP 32-bit VM up and running (unless you want to experiment on live machines)

Questions & Comments  What do you want to know?