Symmetric Encryption
Also called Secret-Key Encryption.
Encryption where the same key both encrypts and decrypts the data.
What it is
A scheme in which a single shared secret key is used for both encryption and decryption. It is fast and well suited to bulk data, but every party that can decrypt must hold the same key.
Why it matters
Symmetric ciphers protect most data at rest and in transit because of their speed, so the hard problem shifts to distributing and safeguarding the shared key. In an investigation, recovering that key from memory or a config often unlocks otherwise opaque evidence.
In practice
A backup archive encrypted with AES using one passphrase that must be supplied again to restore it.
What to look for
- The same key stored next to the data it protects.
- Keys hardcoded in source or config files.
- Old algorithms such as DES or RC4 still in use.
Common mistake
Spending effort on the algorithm and none on the key. Key storage and rotation are where most failures happen.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Decoder
Paste any opaque value. It names what it looks like and why, then decodes it: Base64 and other layers, number bases, hashes, JWTs, certificates, SIDs, User-Agents and MAC addresses.
- Decode Range
Name an opaque value before you read it: timestamps, encodings and hashes, all generated by the site's own converters.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
OpenSSL Open source
The command line toolkit for inspecting certificates, keys and TLS connections.
-
HashiCorp Vault Source available
Manages secrets and encryption keys, and can encrypt data as a service.
-
AWS Key Management Service Cloud service
AWS's managed service for creating and controlling encryption keys.
Read next
- Asymmetric Encryption: A key pair where the public key encrypts and the private key decrypts.
- Advanced Encryption Standard: The standardized symmetric block cipher used to protect most data today.
- Key Derivation Function: A deliberately slow function that turns a password into a key or hash.