
EC-CouncilCertified Application Security Engineer (.NET)
Domain 5Objective 4
Cryptographic Attacks CASENET Practice Questions (Page 5)
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 21–25
- 21
A .NET application stores encryption keys in the source code and uses the same key for all users. Which cryptographic weakness does this represent?
Select an answer first - 22
A .NET web application stores user passwords using the SHA-256 hash with a static salt. A penetration test reveals that many users have the same password hash, and the tester quickly recovered several plaintext passwords. Which countermeasure should the security team implement first?
Select an answer first - 23
A .NET web application stores user passwords using the Rfc2898DeriveBytes class with a 128-bit salt and 10,000 iterations. A security review notes that the application accepts passwords up to 128 characters and does not enforce any complexity requirements. An attacker obtains the password hash database. Which additional control would most directly mitigate the risk of a successful dictionary attack against the stored hashes?
Select an answer first - 24
A .NET application generates RSA keys for digital signatures. The developer uses a 1024-bit key and stores the private key in a .pfx file protected by a weak password. A security auditor flags this as a cryptographic weakness. Which combination of changes should the developer implement?
Select an answer first - 25
A .NET application uses the same IV for every encryption operation with AES-CBC. An attacker notices that identical plaintext blocks produce identical ciphertext blocks. Which weakness is being exploited, and what is the correct fix?
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.