
EC-CouncilCertified Application Security Engineer (.NET)
Domain 5Objective 4
Cryptographic Attacks CASENET Practice Questions (Page 7)
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 31–35
- 31
A .NET application uses a custom encryption scheme that encrypts data with AES-CBC and then signs the ciphertext with HMAC-SHA256. The developer believes this provides both confidentiality and integrity. A security review recommends using AES-GCM instead. What is the main advantage of AES-GCM over the current scheme?
Select an answer first - 32
A .NET application uses AES-256-GCM for encrypting data. The application generates a new random key for each encryption and stores the key alongside the ciphertext. A security review flags this as a risk. What is the primary weakness, and what is the best solution?
Select an answer first - 33
A .NET application uses a custom encryption routine that performs AES encryption and then applies a base64 encoding. The developer believes this provides extra security. A penetration tester finds that the application is vulnerable to a chosen-ciphertext attack. Which improvement should be made to the encryption design?
Select an answer first - 34
A .NET application uses a custom password hashing function that is known to be fast. The application stores hashes in a database. Which countermeasure is most effective against brute-force attacks on the hashes?
Select an answer first - 35
A developer at a financial firm implemented AES-CBC encryption for sensitive data. The application returns a distinct error message when the padding is invalid. An attacker is using this behavior to decrypt data without the key. Which cryptographic attack is being performed, and what is the most effective mitigation?
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.