cybersecurity

References

Summary

Goals:

  1. Confidentiality
  2. Integrity (keeping info correct)
  3. Availability
  4. Authentication
  5. Authorization (verifying access to resources)
  6. Nonrepudiation (validating the source of info)

PATH

Having "." in your PATH

(The current directory): Security Risk. Having a single period as a path allows a script in any folder you happen to be in to execute with the same priority as system tools.

Confidentiality

Encryption

Symmetric

Same key is used to encrypt and decrypt

Shorter keys Faster than asymmetric

Typically cybersecurity will use asymmetric encryption to encrypt the symmetric key

Asymmetric

Public key is used to encrypt Private key is used to decrypt

Used to share info over unsecure channels

Secure Sockets Layer (SSL)

SSL certificates are like digital wallets

When you buy a domain name, you can buy a corresponding SSL

Transport Layer Security (TLS)

Allows users to view the details of a certificate

How it works (Handshake Protocol)

When a client (computer) and server contact each other, the server sends out the SSL/TLS certificate

Blockchain

The blockchain is a database that contains transactions It's stored on multiple computers

When you do a transaction, it gets written to the blockchain

Integrity

Accomplished through hashing

A salt is a one-time random stream of characters that is changed every time it's applied

A tripwire creates hashes your files and updates the hash any time the files get updated

System Integrity

Being able to trust the system you're using

Data Integrity

Availability

DDOS attacks

Authentication

Username/password

Multifactor authentication

Types of authentication

Authorization

Once you're authenticated, this is what you're authorized to see

Permissions have the following structure:

Access Control Lists (ACLs)

Intrusion Prevention System (IPS)

Controls traffic on a network

Nonrepudiation

To prevent someone from claiming they didn't do something they actually did

Message Authentication Code (MAC)

Digital Signature

Uses an asymmetric key pair in reverse