← CEH: ethical assessment, evidence, and remediation
09 / 9 · 35 MIN

Cryptography, identity, and passwords

Distinguish trust, identity matching, and offline-guessing resistance.

Concept and mechanism

A TLS connection can validate the certificate chain yet fail identity verification for the requested service. Trust in a CA does not authorize every name; compare expected identity with the appropriate certificate identifiers. SubjectAltName is central to current TLS identity guidance.

Do not fix a failure by disabling verification or changing the report to match the wrong server. Also separate encryption from password storage. For authentication, a dedicated password-hashing function with calibrated cost makes each offline guess more expensive.

A distinct salt per record limits calculation reuse across accounts without needing to be treated as a secret.

Guided application

In a fictional integration, the technical contract identifies the expected API. If the certificate matches another service, determine whether the cause is a misconfigured endpoint or unsuitable issuance, then retest identity after correction.

In storage, using a fast hash and one salt for the entire database facilitates comparison and guessing at scale. Adopt a suitable implementation, measure cost in the environment, and plan migration of older records. Base64 changes representation only; it adds no cryptographic resistance.

A pepper, when used, has different requirements from a salt and should remain separate from the database. This lesson focuses on initial decisions; PKI management, algorithms, and complete labs need deeper study.

IN PRACTICE

A valid chain is insufficient for the requested name; a unique salt does not replace a suitable password function.

Common pitfalls

CA as any identity; time validity as name; Base64 as protection; shared salt as equivalent to unique salts.

Related topics: Scope, authorization, and risk reporting · Reconnaissance and observation limits · Systems, vulnerabilities, and evidence

Take this idea with you

Associate each mechanism with the property it actually establishes.

Create account

Reference: TLS service identity · CEH 312-50, Exam Blueprint v5.0 effective 2024-04-10; Candidate Handbook v7.3 (2026-09-21)

Certified Ethical Hacker® and CEH® are registered trademarks of EC-Council. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by EC-Council. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.