
EC-CouncilCertified Application Security Engineer (.NET)
Domain 1Objective 1
Understanding Application Security, Threats, and Attacks CASENET Practice Questions (Page 5)
Part of the Application Security Foundations 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 2–3 from this objective — we provide 44 practice questions to prepare you well beyond it. (estimate)
44questions here
9free pages
4concepts
Questions 21–25
- 21
A development team is using STRIDE to threat-model a new ASP.NET Core web API that accepts file uploads from authenticated users. They identify a threat where an attacker uploads a file with a double extension (e.g., `malicious.aspx.exe`) and the server executes it. Which STRIDE category does this threat belong to, and what is the most effective mitigation?
Select an answer first - 22
A .NET developer is implementing a file download feature. The file name is provided by the user and used directly in the `Content-Disposition` header. A tester submits a file name containing ` ` and injects an extra header. Which security principle was violated, and what is the best fix?
Select an answer first - 23
A .NET developer is implementing password storage for a new application. The application will be used by employees and must comply with internal security policies that require strong password storage. Which approach is the most secure and recommended?
Select an answer first - 24
A .NET application allows users to submit comments that are displayed to other users. A tester submits `<img src=x onerror=alert(1)>` and the script executes in other users' browsers. The team wants to fix this vulnerability. Which remediation is most appropriate?
Select an answer first - 25
A .NET application allows users to upload profile pictures. The application stores the files on disk and serves them via a static file handler. A security review finds that the application does not validate the file content type. Which combination of controls best mitigates the risk of malicious file upload?
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.