Show Menu
Cheatography

Security+ Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Symmetric Encryption

Name
Keysize
Blocksize
Type
DES
56
64
Block
3DES
56, 112, 168
64
Block
IDEA
128
64
Block
Blowfish
32 - 448
64
Block
Twofish
128, 192, 256
128
Block
AES
128, 192, 256
128
Block
RC4
40 - 2,048
-
Stream
Symmetric Encryption uses the same key to encrypt and decrypt. Faster than Asymmetric Encryption, but less secure due to key-sharing problems. Does not scale well.

Asymmetric Encryption

Name
Notes
RSA
Static keys from 1,024-­4,096 bits
ECC
Elliptic Curve Crypto­graphy
DHE
Diffie­-He­llman Ephemeral exchange
ECDHE
Uses DHE with ECC
Quantum Crypto­graphy
Uses photons
Asymmetric Encryption uses a key pair (1 public, 1 private). Public key is distri­buted by a trusted third party using PKI. Requires more processing and is slower than symmetric encryp­tion, but more secure. No key-sh­aring problem.

Transport Encryption

Name
Port
Notes
SSH (Secure Shell)
22
SFTP, SCP, Telnet
HTTPS
443
HTTP using SSL/TLS
IPSec
51
HMAC for auth header; Can use ESP with AES or 3DES.
SSL
Secure Sockets Layer
FTPS, HTTPS
TLS
Transport Layer Security
Replaced SSL
 

Hashing

Name
Length
MD5
128 bits
SHA-1
160 bits
SHA-2
224, 256, 384, 512 bits
SHA-3
224, 256, 384, 512 bits
HMAC
Integrity AND authen­tic­ation
RIPEMD
128, 160, 256, 320 bits
LANMAN
Used for Windows 9x systems. Pads password to 14 chars. Converts to UPCASE. Hashes (2) 7-char strings.
NTLMv1
Replaced LANMAN on NT systems. Uses MD4 orLANMAN.
NTLMv2
Uses MD5
Hashing provides integrity. Small changes to input result if large changes to output. One way function.

Email Encryption

Name
 
Algorithm
S/MIME
Secure­/Mu­lti­purpose Internet Mail Extensions
RSA
PGP/GPG
Pretty Good Privacy / GNU Privacy Guard
RSA
May use only Asymmetric Encryption or may use Asymmetric Encyption to send Symmetric Key allowing faster encryp­tio­n/d­ecr­yption.
 

Authen­tic­ation

Name
PAP
Password Authentication Protocol
Cleartext; last resort
CHAP
Challenge Handshake Authentication Protocol
Server challenges client
MS-CHAP
Micros­oft­-CHAP
Proprietary version of CHAP
MS-CHAPv2
Micros­oft­-CHAPv2
Mutual authentication
RADIUS
Remote Authen­tic­ation Dial-In User Service
Centra­lized AAA server; Encrypts password only; Must handle all 3 A's
Diameter
Improved RADIUS
Supports EAP
XTACACS
Extended Terminal Access Controller Access-Control System
Cisco proprietary; Improvement to TACACS
TACACS+
Terminal Access Controller Access­-Co­ntrol System Plus
Cisco propri­etary; Can work with Kerberos; Encrypts entire auth process