Topic 2 - Operating Systems Flashcards
(74 cards)
How is Authentication defined in Computer Security?
To allow some access to an asset we must ensure they are permitted to access that asset, and they are who they say they are.
It is a process of verifying a user’s identity
What are the areas that Authentication focuses on in order to identify someone?
Something the user is
Something the user has
Something the user knows
What are some key areas of Passwords in Security?
Identification - Identifies you are who you are
Authentication - Verify that identity
Time of Check to Time of Use - TOCTTOU: Repeated checks of Authentication
What are some problems with Passwords?
People forget them
They can be guessed
Spoofing and Phishing
Compromised password files
Keylogging
What do Hash Functions do?
Takes a message of any length, and returns a pseudorandom hash of fixed length
What makes a strong Hash Function?
Output must be indistinguishable from random noise
Bit changes must be diffused through the entire output
Given a hash, you are not able to reverse it
Make it highly unlikely for different messages to end up with the same hash i.e. a hash collision
How do you make a system that looks up passwords from a database much more secure?
Pass the passwords through a one-way hash function, and then compare the hashed passwords instead of plaintext.
What are the two types of password cracking?
Offline - You have a copy of the password hash locally
Online - You do not have the hash, and are instead attempting to gain access to an actual login terminal
How does Offline Password Cracking work?
Try possible passwords, and see if there’s a hash collision with a password list
Typically is a brute force approach
How can Password Cracking approaches be augmented to be much faster?
Using a dictionary of common words and passwords, and slightly augmenting them
What is Password Salting?
An improvement to password security, wherein a random ‘salt’ is prepended to a password before hashing occurs.
This salt is stored unencrypted with the hash
What are the security benefits from Password Salting?
Using a different random salt for each user:
- Cracking multiple passwords is slower
- Prevents rainbow table attacks - Can’t pre-compute many password combinations
What primarily affects Password Cracking speed?
Hashing Speed
The longer this takes, the longer it takes to attempt to crack a password
What is another strategy possible attackers might use to gain access to a system?
Pretexting - Offer some additional information regarding why we need access to those details
What are some examples of Biometric Security Systems?
Fingerprints
Facial recognition
Iris Recognition
Voice recognition
Behavioural Biometrics
What are some security considerations when using Biometrics?
No risk of losing access
Very convenient
Cost of technology required to use them
False positives and false negatives can arise
Can never be changed
Not foolproof - Can be attacked by Adversarial ML, but difficult in practice
Ethical/privacy concerns
What are some other physical means of security?
Keys - Physical assets
USB tokens
Smart Cards
Smartphones/wearables
How does FIDO/Web Authentication work?
User performs gesture before private key can be used
Private key is then sent to be verified to the app
The private key is then authenticated with a public key
What are some of the properties of OTP?
Time/counter-based OTP that user enters
Temporary code that changes every set time period
Requires manual intervention
What are some of the properties of WebAuth?
Public-key cryptography
Embedded MFA e.g. Biometrics
Challenge-response during authentication
Automatic - If paired with every device
If password is a recovery option, security ends up being the same as a standard password anyways
What are some considerations surrounding Possession Factors e.g. physical security such as USBs or Keycards?
Relies on strong keys and cryptography
In principle, very secure
Often factored into Multi-factor authentication
Physical loss, damage or theft could cause problems
Usability and Cost
What are some possible problems with Passwords as a form of security?
Passwords are prone to being guessed, cracked, stolen, misused, etc…
Often the weakest link in a security ‘chain’
Still not well-managed server side
Much effort replace them, but they are very well-balanced with pros and cons
What are some advantages of using Password Managers?
Single master passwords vs many passwords - In principle, technically more secure
Convenience
What are some disadvantages of Password Managers?
Not all free
Master password used to access all other passwords - Causes single point of failure
Vaults still at risk to company leaks