240 likes | 270 Views
Security and Protection. Chapter 9. The Security Environment Threats. Security goals and threats. Basics of Cryptography. Relationship between the plaintext and the ciphertext. Secret-Key Cryptography. Monoalphabetic substitution each letter replaced by different letter
E N D
Security and Protection Chapter 9
The Security EnvironmentThreats Security goals and threats
Basics of Cryptography Relationship between the plaintext and the ciphertext
Secret-Key Cryptography • Monoalphabetic substitution • each letter replaced by different letter • Given the encryption key, • easy to find decryption key • Secret-key crypto called symmetric-key crypto
Public-Key Cryptography • All users pick a public key/private key pair • publish the public key • private key not published • Public key is the encryption key • private key is the decryption key
Digital Signatures • Computing a signature block • What the receiver gets (b)
Authentication Using Passwords The use of salt to defeat precomputation of encrypted passwords , , , , Password Salt
Authentication Using a Physical Object • Magnetic cards • magnetic stripe cards • chip cards: stored value cards, smart cards
Authentication Using Biometrics A device for measuring finger length.
Countermeasures • Limiting times when someone can log in • Automatic callback at number prespecified • Limited number of login tries • A database of all logins • Simple login name/password as a trap • security personnel notified when attacker bites
Mobile Code Sandboxing Applets can be interpreted by a Web browser
Protection MechanismsProtection Domains (1) Examples of three protection domains
Protection Domains (2) A protection matrix
Protection Domains (3) A protection matrix with domains as objects
Access Control Lists (1) Use of access control lists of manage file access
Access Control Lists (2) Two access control lists
Capabilities (1) Each process has a capability list
Capabilities (2) • Cryptographically-protected capability • Generic Rights • Copy capability • Copy object • Remove capability • Destroy object
Windows NT(W2K) 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
Access Token (per user/subject) Security ID (SID) Group SIDs Privileges Default Owner Default ACL
Security Descriptor (per Object) Flags Owner System Access Control List (SACL) Discretionary Access Control List (DACL)
Access Control List ACL Header ACE Header Access Mask SID ACE Header Access Mask SID . . .
Access Mask Delete Read Control Write DAC Write Owner Generic Access Types Synchronize Standard Access Types Specific Access Types Access System Security Maximum allowed Generic All Generic Execute Generic Write Generic Read
Access Control Using ACLs • When a process attempts to access an object, the object manager in W2K executive reads the SID and group SIDs from the access token and scans down the object’s DACL. • If a match is found in SID, then the corresponding ACE Access Mask provides the access rights available to the process.