
EC-CouncilCertified Application Security Engineer (.NET)
Domain 5Objective 4
Cryptographic Attacks CASENET Practice Questions (Page 1)
Part of the Secure Coding: Cryptography domain, which makes up ~12% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–10 in this domain), expect 1–2 from this objective — we provide 40 practice questions to prepare you well beyond it. (estimate)
40questions here
8free pages
3concepts
Questions 1–5
- 1
A .NET application uses a static salt for all password hashes. An attacker has obtained the database and a precomputed table of hashes for common passwords using that same salt. Which attack is the attacker most likely to use, and what is the best defense?
Select an answer first - 2
A .NET application uses a custom key-derivation function that applies a single SHA-256 hash to a user's password to generate an encryption key. A security review recommends using PBKDF2 instead. What is the primary security benefit of this change?
Select an answer first - 3
A .NET application uses a custom key derivation function that is not constant-time. The application is used in a high-security environment where attackers can measure power consumption. Which attack is the application most vulnerable to, and which countermeasure is most appropriate?
Select an answer first - 4
A development team is using the .NET `System.Security.Cryptography` namespace. They need to store a small amount of sensitive data (e.g., a connection string) in a config file. Which approach is most secure against cryptographic attacks?
Select an answer first - 5
A .NET application uses a custom encryption scheme that encrypts data with AES-CBC and then applies a MAC to the ciphertext. The MAC is computed using a key that is derived from the encryption key by XORing it with a constant. A security researcher identifies a potential key-reuse vulnerability. Which of the following is the most secure way to derive separate keys for encryption and MAC?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CASENET” is a trademark of its owner, used for identification only.