tampering
Deliberately changing data, such as a message, a file or a cookie, without permission.
In more detail
HMACs, digital signatures and authenticated encryption let the receiver detect it. Encryption alone may not reveal it, so integrity checks are needed as well.
Related terms
- integrity — The guarantee that data has not been changed, by accident or on purpose, since it was created or sent.
- HMAC — A way of combining a secret key with a hash function to produce a tag that shows a message came from someone holding the key and was not changed.
- authenticated encryption — Encryption that also proves the data has not been changed, by producing an authentication tag checked during decryption.
- STRIDE — A threat-modelling checklist of six threat types: Spoofing, Tampering, Repudiation, Information disclosure, Denial of service and Elevation of privilege.
- digital signature — A value computed from data and a secret key that lets anyone with the matching verification key confirm the data came from the key holder and was not changed.
- TLS — The encryption that protects data travelling over a network, the S in HTTPS.
Taught in
- Cryptographic Primitives: node:crypto & Ciphers — Node.js Internals & Backend Services
- The Threat Model Habit — Application Security & Threat Modeling for Engineers
- TLS And The Handshake — Application Security & Threat Modeling for Engineers
- Provenance And Signing — Application Security & Threat Modeling for Engineers