Digital Signature
- Non-repudiation
- Authentication
- Integrity
- First, hash the email/message
- Second, the private key digitally signs (encrypts) the hash
This blog is here to help those preparing for CompTIA exams. This is designed to help the exam candidate to understand the concepts, rather than trust a brain dump. CHECK OUT THE BLOG INDEXES!!!
Elliptic Curve Cryptography (ECC) for Security+: What You Need to Know for the Exam
1. What ECC Is (Security+ Definition)
Security+ defines ECC as:
A lightweight asymmetric cryptographic algorithm that
uses elliptic curve mathematics to provide strong security with smaller key
sizes.
ECC is a form of public‑key cryptography, just
like RSA, but it achieves the same security strength with much smaller keys.
That efficiency makes ECC ideal for:
·
Mobile devices
·
IoT devices
·
Low‑power systems
·
Modern TLS/SSL certificates
On the exam, ECC is often the correct answer when the
question mentions low-power, mobile, wireless, or resource-constrained
environments.
2. Why ECC Matters for Security+
Security+ wants you to know why ECC is preferred over
RSA in many modern systems.
ECC Advantages (Exam-Relevant)
·
Smaller key sizes → faster, lighter, more
efficient
·
Stronger security per bit
·
Ideal for mobile and IoT
·
Used in modern certificates and secure
protocols
ECC vs RSA (Exam Tip)
If a question asks:
“Which asymmetric algorithm provides strong security with
minimal computational overhead?”
The correct answer is ECC.
If a question asks:
“Which algorithm uses large key sizes and is slower?”
The answer is RSA.
3. ECC Key Sizes You Should Know
Security+ doesn’t require memorizing exact numbers, but
understanding the comparison helps:
|
Security Strength |
RSA Key Size |
ECC Key Size |
|
128-bit |
3072 bits |
256 bits |
Exam takeaway: ECC achieves the same security as
RSA with much smaller keys.
4. ECC Algorithms You Must Know for Security+
Security+ expects you to recognize the ECC-based
algorithms used for key exchange and digital signatures.
ECDH: Elliptic
Curve Diffie-Hellman
Used for key exchange.
Exam clue: If the question mentions “secure key exchange
using elliptic curves,” the answer is ECDH.
ECDSA: Elliptic
Curve Digital Signature Algorithm
Used for digital signatures.
Exam clue: If the question mentions “signing data using
elliptic curves,” the answer is ECDSA.
5. Where ECC Is Used (Security+ Context)
ECC appears in several technologies Security+ tests:
TLS/SSL Certificates
Modern HTTPS often uses ECC keys.
Mobile and IoT Devices
ECC is the preferred asymmetric algorithm for constrained
environments.
Cryptocurrencies
Bitcoin uses ECDSA for signing transactions.
SSH, PGP, and modern VPNs
Many modern implementations support ECC keys.
6. ECC Exam Tips and Traps
Here are the most common ECC-related question patterns:
Mobile devices
·
IoT
·
Low power
·
Limited bandwidth
·
Modern TLS
·
Digital signatures (ECDSA)
·
Key exchange (ECDH)
ECC is NOT used for:
·
Symmetric encryption
·
Hashing
·
Block ciphers
·
Stream ciphers
If the question asks for symmetric encryption, the answer
will be AES, not ECC.
7. Quick Security+ Summary
1. ECC
is an asymmetric algorithm.
2. ECC
provides strong security with small keys.
3. ECDH
= key exchange; ECDSA = digital signatures.
4. ECC
is ideal for mobile and IoT.
5. ECC
is used in modern TLS certificates.
6. ECC is used low power devices, low overhead
Cryptography is one of the most heavily tested domains on the CompTIA Security+ exam. While understanding encryption algorithms and certificate management is important, Security+ also expects candidates to identify and mitigate cryptographic vulnerabilities.
A cryptographic vulnerability occurs when weaknesses in encryption algorithms, implementations, key management practices, or configurations allow attackers to undermine the confidentiality, integrity, authentication, or non-repudiation of data.
This guide covers the most important cryptographic vulnerabilities you need to understand for the Security+ exam and real-world cybersecurity operations.
Why Cryptographic Vulnerabilities Matter
Organizations use cryptography to protect:
When cryptography is improperly implemented or outdated, attackers may be able to:
Common Cryptographic Vulnerabilities
Weak Encryption Algorithms
One of the most common cybersecurity mistakes is continuing to use outdated encryption standards.
Examples
DES (Data Encryption Standard)
DES uses:
Modern computing power can crack DES relatively quickly.
3DES
RC4
RC4 was once popular in:
Researchers discovered multiple weaknesses allowing attackers to recover encrypted information.
MD5 (128-bit)
Although technically a hashing algorithm rather than encryption, MD5 suffers from collision vulnerabilities and should not be used for security-sensitive applications.
SHA-1 (160-bit)
SHA-1 has known collision attacks and is largely deprecated.
Security+ Exam Tip
If the exam asks which algorithm should be replaced immediately, common insecure choices include:
Key Management Vulnerabilities
Even strong encryption becomes ineffective if key management is poor.
Hard-Coded Keys
Developers sometimes embed encryption keys directly into source code.
If attackers obtain the code, they obtain the key.
Poor Key Storage
Keys stored in:
can be easily stolen.
Lost Key Control
If cryptographic keys are shared among too many users:
Key Reuse
Reusing identical keys across:
creates a single point of failure.
Compromise of one system may compromise all systems using the same key.
Weak Random Number Generation
Encryption relies heavily on randomness.
Cryptographic operations require:
If predictable random values are generated, attackers may predict cryptographic secrets.
Poor Certificate Management
Digital certificates are frequently targeted on Security+ exams.
Expired Certificates
Expired certificates can:
Self-Signed Certificates
Self-signed certificates lack trusted third-party validation.
Risks include:
Weak Certificate Authorities
Compromise of a Certificate Authority (CA) can result in fraudulent certificates being issued.
Attackers may then perform:
Man-in-the-Middle (MITM) Attacks
A MITM attack occurs when an attacker intercepts communication between two parties.
Potential outcomes:
Why Cryptography Fails Here
Poor certificate validation often enables MITM attacks.
Examples include:
Downgrade Attacks
A downgrade attack forces communication to use weaker security protocols.
Example
Both systems support:
An attacker forces negotiation to:
The attacker then exploits weaknesses in the older protocol.
Deprecated Protocols
SSL
Secure Sockets Layer (SSL) is obsolete.
Avoid:
Early TLS Versions
Weak versions include:
Modern systems should use:
WEP
WEP uses weak encryption and poor key management.
Common vulnerabilities include:
Modern wireless networks should use:
Hashing Vulnerabilities
Hashing protects:
Weak hashing implementations create vulnerabilities.
Collision Attacks
A collision occurs when:
for two different inputs.
Algorithms vulnerable to collisions:
Unsalted Password Hashes
Without salting:
always generates the same hash.
With salting (exact same password for 10 users)
Each password hash will be unique
Attackers can leverage:
Proper Password Hashing
Modern implementations include:
Examples:
Digital Signature Vulnerabilities
Digital signatures provide:
Weaknesses arise when:
Private Key Compromise
If a signing key is stolen:
Attackers can:
Side-Channel Attacks
Not all attacks break the encryption algorithm itself.
Some attacks observe how cryptography operates.
Timing Attacks
Attackers measure:
to infer information about cryptographic operations.
Power Analysis
Attackers monitor:
during encryption processes to recover secret keys.
Electromagnetic Analysis
Attackers observe electromagnetic emissions from systems performing cryptographic operations.
Side-channel attacks exploit implementation weaknesses, not algorithm weaknesses.
Quantum Computing Risks
A sufficiently powerful quantum computer could weaken:
Organizations are researching:
to prepare for future threats.
Using HTTP Instead of HTTPS
Improper Key Rotation
Sharing Service Accounts
Shared accounts often result in shared cryptographic credentials and poor accountability.
Security+ Quick Review Sheet
Weak Algorithms
Avoid:
Weak Protocols
Avoid:
Important Vulnerabilities
Know:
A digitizer is a device that allows users to input drawings,
sketches, and handwritten notes into a computer. It's also a graphics
tablet, drawing tablet, or pen tablet.
A digitizer has a pressure-sensitive flat surface and
a stylus or pen-like instrument that users draw or write with. The digitizer's
sensors detect the stylus's movements and pressure levels and send the data to
the computer. The computer then processes the data and translates it into
visual elements on the screen.
Digitizers are used for many purposes, including:
On a laptop, a touchscreen digitizer is an additional screen
that sits on top of the laptop's LCD screen. There are two types of touchscreen
laptops:
Secure/Multipurpose Internet Mail Extensions (S/MIME) is
an industry standard that encrypts and digitally signs emails to ensure their
integrity and security:
S/MIME is compatible with most enterprise email clients,
including Outlook for iOS and Android. To add or remove a digital signature
from a message in Outlook on the web, you can:
2. Something you have: CAC (Common Access Card), PIV (Personal Identity Verification), Smart Card, Digital Certificate (CAC, PIV, & Smart Card are all digital certificates), PIN or code sent to your cell phone, key fob or token (pic to the right)