By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Digital signatures are cryptographic tools that prove a message, document, or transaction came from a specific sender (authentication) and hasn’t been altered (integrity). Non-repudiation ensures the sender cannot later deny sending it—like a legally binding digital fingerprint. This is critical for contracts, financial transactions, software updates, and legal documents. For example, in 2020, the SolarWinds supply-chain attack exploited weak code-signing practices, allowing attackers to distribute malware disguised as legitimate software updates. Without digital signatures, organizations couldn’t verify the authenticity of their own software, leading to massive breaches across government and private sectors.
Tools: OpenSSL, GPG, Microsoft Authenticode, Adobe Sign.
Non-Repudiation: A security service that prevents a party from denying an action (e.g., sending an email, signing a contract). Achieved via digital signatures + trusted third parties (TTPs) like Certificate Authorities (CAs).
Example: A CEO digitally signs a merger agreement; later, they cannot claim they didn’t sign it.
Asymmetric Cryptography (Public-Key Cryptography): Uses a key pair—a private key (kept secret) and a public key (shared). Digital signatures use the sender’s private key to sign and the recipient’s public key to verify.
Algorithms: RSA, DSA, ECDSA (Elliptic Curve Digital Signature Algorithm).
Hash Function: A one-way function that converts data into a fixed-size "digest" (e.g., SHA-256). Used in digital signatures to ensure message integrity.
Standards: SHA-2 (SHA-256, SHA-384), SHA-3 (NIST standard).
Certificate Authority (CA): A trusted third party that issues digital certificates (e.g., X.509) binding a public key to an identity (e.g., a person, server, or organization).
Hierarchy: Root CA → Intermediate CA → End-Entity Certificate.
Public Key Infrastructure (PKI): A framework for managing digital certificates and public-key encryption. Includes CAs, Registration Authorities (RAs), and Certificate Revocation Lists (CRLs) or Online Certificate Status Protocol (OCSP).
Use Case: HTTPS (TLS/SSL certificates), code signing, email encryption (S/MIME).
Timestamping: A service that proves a digital signature existed at a specific time (e.g., for legal compliance). Uses Trusted Timestamp Authorities (TSAs).
Standard: RFC 3161 (Internet X.509 Public Key Infrastructure Time-Stamp Protocol).
Key Escrow: A system where a third party holds copies of private keys (e.g., for recovery or law enforcement). Controversial due to privacy risks (e.g., government surveillance).
Example: Clipper Chip (1990s U.S. government proposal, later abandoned).
Man-in-the-Middle (MITM) Attack: An attacker intercepts and alters communications between two parties. Digital signatures mitigate this by ensuring authenticity and integrity.
Example: Attacker swaps a legitimate software update with malware; a digital signature would detect the tampering.
Repudiation Attack: When a sender denies performing an action (e.g., sending a transaction). Non-repudiation prevents this via digital signatures + audit logs.
Real-World Case: In 2016, a Bitcoin exchange claimed a hacker stole funds, but non-repudiation mechanisms proved the exchange’s own employees were responsible.
OWASP Top 10 (A02:2021 – Cryptographic Failures): Weak or missing digital signatures can lead to tampering (e.g., malicious code injection) or spoofing (e.g., fake software updates).
Mitigation: Enforce strong algorithms (e.g., RSA-2048+, ECDSA-256) and short-lived certificates.
MITRE ATT&CK (T1553 – Subvert Trust Controls): Adversaries bypass digital signatures by stealing private keys (e.g., via phishing) or compromising CAs (e.g., Stuxnet used stolen certificates to sign malware).
Tool: openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
Hashing the Message
Example: sha256sum contract.pdf → a1b2c3...
sha256sum contract.pdf
a1b2c3...
Signing the Hash
Tool: openssl dgst -sha256 -sign private_key.pem -out signature.bin contract.pdf
openssl dgst -sha256 -sign private_key.pem -out signature.bin contract.pdf
Sending the Signed Message
The sender transmits:
contract.pdf
signature.bin
Verification by Recipient
Tool: openssl dgst -sha256 -verify public_key.pem -signature signature.bin contract.pdf
openssl dgst -sha256 -verify public_key.pem -signature signature.bin contract.pdf
Non-Repudiation Enforcement
Why? CISSP tests conceptual understanding, not implementation details.
Security+ Trick: Algorithm Strength
Question: "Which algorithm is least suitable for digital signatures today?"
CEH Focus: Attack Vectors
Question: "An attacker steals a private key from a developer’s laptop. Which MITRE ATT&CK technique does this represent?"
PKI Hierarchy Questions
Answer: B) Non-repudiation – Ensures the sender cannot deny the action.
During a security audit, you find that a web server uses SHA-1 for digital signatures. What is the primary risk?
Answer: A) Collision attacks – SHA-1 is cryptographically weak and should not be used for signatures.
An attacker intercepts a digitally signed email, modifies it, and forwards it to the recipient. What will the recipient see when verifying the signature?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.