1/48
Looks like no tags are added yet.
symmetric algorithms to know
DES, 3DES, EDIA, Blowfish, RC2, RC4, RC5, RC6, AES, TwoFish
asymmetric encryption algorithms to know
RSA, ECC, ElGamal
Diffie Hellman (not an alg but method to securely exchange cryptographic keys over public channel)
Hash functions to know
SHA-1, SHA-224, SHA-256, SHA-512, HAVAL, HMAC, MD5, RIPEND-128, RIPEND-160, RIPEND-256, RIPEND-320
DSS
Digital signature standard. generates digital signatures for electronic docs. US government standard.
uses SHA2/SHA3 with RSA, DSA or ECDSA
SSL handshake process
-client sends request to server for secure connection
-server sends x.509 digital certificate to client
-client receives the certificate and authenticates the server using list of know certificate authorities.
-client generates random symmetric key and encrypts in using servers public key.
-client and server both know symmetric key and can use SSL to encrypt and decrypt info contained in client request and server response.
whats in a digital certificate
the certificate holders public key and digital signature.
this only proves that whoever holds the private key signed the message.
how PKI works (public key infra)
-server, website, or user submits a certificate sign in request CSR.
-CSR has requestors public key, digital signature, and identity info like name, org, company, or domain (during the process your machine generates public private key pair)
-requestor sends public key (not private key) to the RA
-RA verifies you are who you say using requestors public key and digital signature.
-RA sends your public key to the CA
-CA takes your public key and other info from CSR and sends you digital cert and the CAs digital signature.
-person or entity uses the certificate on their website.
root of trust
trust anchor in a public key infra PKI. usually a root cert authority thats inherently trusted and from which the trustworthiness of all the other certs in the network are derived.
Root CA issues certs to other CAs below it and thos CAs issue CA certs to create other CAs below them.
lower CAs no longer need to have a root CA. root CA is typically disabled and secured after being used to create other lower level CAs.
this process is done to reduce impact of someone finding the CAs private key. if root CAs private key is exposed all the CAs below it are obsolete.
PKI verification
done when user wants to validate your cert on your device or app.
cert pinning- technique that helps to prevent MITM attacks by hardcoding the SSL certificates public key into the app or device.
-app cmpares SSL certs public key with the one hardcoded into the app.
verification process
verify digital signature of CA is authentic
-you trust the CA. the cert isnt listed on CRL cert revocation list or OCSP then cert contains the data you are trusting.
certificate stapling
when the webserver itself checks the certificate with the CA. done by the website during the TLS handshake. this way client doesn’t have to send OCSP request themselves
TPM
trusted platform module. a computer chip that generates and holds cryptographic keys and handles encryption.
used in conjunction with disk encryption software like bitlocker.
used for secure boot and system integrity. TPMs store and manage keys used to verify the boot process so only trusted software is loaded.
secure enclave
secure pace in a device where sensitive data is stored and crypto operations can be performed away from main OS and processor.
biometric data and crypto keys are stored here. protects them from vulnerabilities and malware that affects OS or apps
HSM
hardware security module.
physical or cloud computing device that does crypto processing, key generation and storage, encryption and decryption services.
can be on PCIe card or on the cloud.
FIPS
federal information processing standards.
standards made by NIST that specify requirements for cryptographic modules used within federal info systems. set of standards for HSM from level 1 to 4
tips for avoiding most cyberattacks
promote education and awareness around types of cyberattacks
-verify identity of senders to prevent social engineering attacks
-use MFA
-use security software like mobile security apps that detect potential social engineering attacks like phishing/vishing/smishing
-network segmentation
-antivirus/antimalware
-constant patches and updates
-constant monitoring of the network for unusual activity. (maybe use IDS or IPS)
-only visit trusted sites with certificates
-reporting for potential phishing attempts or other attacks.
-strong password management
-dont use removable media like USBs or charging cables with network devices.
-use VPNs for remote work
-dont use public wifi
-securely dispose sensitive information
-perform regular backups (doesnt prevent attacks just mitigates impact)
impersonation
when an attacker assumes the identity of a legit user to access a system or network. often through stealing login credentials, using spoofed email addresses, or mimicking voice or biometric identifiers.
business email compromise
an attack where an attacker gains access to a corporate email account and impersonates the owner to defraud the company. usually the attacker will request transfers of money or sensitive data.
pretexting attack
social engineering attack where attacker uses fabricated story or scenario to deceive a target to divulge sensitive info.
attacker may pretend to be someone they aren’t like an authority figure like the IRS or police.
watering hole attack
attacker seeks to compromise a specific group of end users by infecting a website they frequently visit.
goal is to infect a users computer and gain access to the network at the users place of employment.
802.1x
protocol for port security. IEEE standard for port based network access control (PNAC). used to authenticate devices that are attempting to connect to a LAN or WLAN.
an 802.1x enabled network has an authenticator, usually a switch, that blocks all non 802.1x traffic until the client is authenticated.
EAP
extensible authentication protocol. framework used in network access control for various authentication methods. designed to support many authentication mechanisms like passwords, tokens, certificates, and public key encryption. often used for protocols like PPP and part of IEEE 802.1x standard for network access control.
WAF
web app firewall. protect web apps (web servers) by filtering and monitoring HTTP traffic between the web server and the internet.
these make up the majority of modern firewalls
good for preventing cross site scripting, SQL injections, and session hijacking attacks.
can be hardware, software, or part of a cloud service
UTM firewall
unified threat management. a comprehensive solutiong that combines many security features and services in a single device like antivirus, anti spayware, firewall, IDS/IPS, and content filtering. very simple and ideal for small orgs.
NGFW
next gen firewall. more advanced form of traditional girewall with funcitonls like deep packet inspection, IPS, and app awareness.
deep packet inspection. NGFW dont just inspect ports or protocols.
layer 4 vs layer 7 firewalls
layer 4 firewalls (transport layer), focus on data transport and control traffic based on TCP/UDP ports and session information.
layer 7 (application layer) firewalls inspect content of the traffic to make more informed decisions.
on some level all firewalls operate by blocking ports.
what layer are MOST firewalls on
layer 4. transport layer
application firewalls, web app firewalls, or proxy servers are on layer 7, application layer.
tunneling protocols
TLS transport layer security on layer 4
L2TP. layer 2 tunneling protocol, uses IPSec as security mechanism
IPSec. VPN protocol for L2TP, provides authenticatoin and encryption
SASE
secure access service edge.
uses encrypted tunnels to connect users to cloud based services, ensuring secure and efficient access to apps and data regardless of user location.
a cloud native networking architectrure that combines network security functions with WAN capabilities to support secure access for orgs.
MDM types
CYOD, choose your own device. employees choose from selection of devices. balance of personal preference and corporate control.
-BYOD. employees use own personal mobile devices.
-COPE. corporate owned, personally enables. org provides mobile devices but allows from some personal use. org has full control
wireless security settings and protocols
many of these are settings for wireless routers:
WPA2 (wifi protected access 2) security protocol for wifi
WPA3
AAA/RADIUS
cryptographic protocols
authentication protocols
SCAP
security content automation protocol. suite of standards for automating the process of configuring and monitoring network devices for compliance with security policies
SIEM
security info and event management. provides real time analysis of security alerts generated by apps and network hardware.
used for log management, event correlation, alerting, and reporting.
agent/agentless security monitoring and alerting tools
software agents are installed on servers or devices to monitor, collect, and send data back to a central server for analysis
agentless tools monitor devices without installing dedicated software, often using existing protocols.
SNMP trap
simple network management protocol traps
alerts sent by network devices to management stations indicating an event or change in status has occured.
netflow
protocol by Cisco for collecting IP traffic information and monitoring network flow data. helps understand traffic patterns, usage trends, and detecting anomalies.
access list
series of commands applied to a firewall that filter traffic based on source and destination addresses, protocols, and ports.
web filtering
controls what content or websites users on the network can access.
agent web filters are a software that control network access.
centralized proxies are proxy servers in a network that all web traffic passes through which enforces web traffic rules
URL scanning examines URLs to determine if a user can access the website.
web filtering can use specific criteria like URL, keywords, reputation, or categories.re
group policy
feature in windows OS that allows admin to control working environment of user accounts and computer accounts.
management and config of OSs, apps, and user settings. can enforce password policies, lockout policies, audit policies. can configure user rights, security options, and control access to files, folders and registry keys.
SElinux
security module in linux systems that provides mechanism for supporting access control security policies.
make sure to use secure protocols
use HTTPS instead of HTTP
use SSH instead of telnet
use TLS for email. make sure SMTP, IMAP, and POP3 use TLS to protect email.
use SFTP (ssh file transfer protocol) instead of FTP.
ports to know
HTTPS 443 (this is default and recommended to stay as its port)
SSH port 22
email protocols like SMTP 587, IMAP 993, and pop3 995
DNS filtering
network security technique that uses DNS to control web traffic based on domain name.
email security gateway
hardware or software to monitor or manage incoming or outgoing emails to prevent spam, phishing attacks, and other malware.
SPF
sender policy framework. email authentication method to prevent spammers from sending messages on behalf of your domain.
DKIM record
domainkeys identified mail
DKIM provides method for validating a domain name associated with an email message through cryptographic authentication and digital signatures.
DMARC
domain based message authentication reporting and conformance
email validation system to detect and prevent email spoofing.
uses DKIM and SPF to determine authenticity of an email message.
file integrity and monitoring
FIM. involved in detection and alerting of changes to files and directories on a system.
EDR and XDP
endpoint detection and response.
extended detection and response.
advanced security solutions to provide comprehensive threat detection, analysis, and response
EDR is for hosts and endpoint like laptops, workstations and mobile devices