A security analyst is hardening an internal web application's authentication module. An audit reveals two major vulnerabilities: session identifiers are predictable due to weak random seed generation, and user passwords stored in the database are susceptible to rapid offline dictionary and GPU-accelerated rainbow table attacks. Which of the following cryptographic techniques should the security analyst implement to mitigate both vulnerabilities? (Select TWO.)
- Utilize key stretching algorithms such as Argon2 or PBKDF2 combined with unique per-user salts for credential storage.Cevap
- Generate session identifiers using a Cryptographically Secure Pseudorandom Number Generator (CSPRNG).Cevap
- CEncrypt database password entries using asymmetric RSA-4096 public key encryption.
- DApply fast single-pass SHA-256 digest hashing without salting across all user credentials.
- EAppend an asymmetric digital signature to each session token using the web server's private key to guarantee randomness.
Cevap
The analyst should implement key stretching algorithms (such as Argon2 or PBKDF2) with unique per-user salts for credential storage, and use a Cryptographically Secure Pseudorandom Number Generator (CSPRNG) for session token generation.
To secure session tokens against prediction, a Cryptographically Secure Pseudorandom Number Generator (CSPRNG) must be used to ensure high entropy. To protect stored credentials against offline GPU cracking and rainbow tables, key stretching algorithms like Argon2 or PBKDF2 are required because they introduce artificial computational delay and memory requirements while incorporating unique salts per user.
Adım Adım Çözüm
Anahtar Kavram
Cryptographic Key Stretching, Salting, and CSPRNG Randomness