EC-Council · CASE-.NET
Validates the ability to build secure .NET applications throughout the software development lifecycle, covering secure requirements gathering, input validation, authentication and authorization, cryptographic practices, error handling, session management, and security testing.
Practice Questions
625
≈ 5 practice exams
Duration
120 minutes
Passing Score
70%
Difficulty
AssociateLast Updated
Feb 2026
Use this CASE-.NET practice exam to prepare for Certified Application Security Engineer .NET (CASE-.NET) with realistic questions, detailed explanations, and focused study modes. The practice bank includes 625 questions for EC-Council CASE-.NET, so you can review the exam steadily instead of relying on one long cram session.
As you practice, pay extra attention to patterns in your missed answers. Start with short sessions to identify weak areas, then move into timed quizzes once your accuracy is consistent.
The explanations are especially useful when you want to connect exam wording to the responsibilities and scenarios described in the official certification guidance. Use the free preview first, then unlock the full question bank when you are ready to build a complete study routine.
The Certified Application Security Engineer .NET (CASE .NET) is an application security certification offered by EC-Council that validates a software developer's ability to integrate security practices throughout every phase of the .NET software development lifecycle (SDLC). Developed in partnership with global application and software development experts, it tests critical security knowledge and skills spanning pre-deployment through post-deployment phases, with a focus on .NET-specific secure coding techniques including input validation, authentication and authorization mechanisms, cryptographic implementation, session management, and error handling.
The certification covers the full spectrum of SDLC security activities: from gathering secure requirements and designing secure architectures, to writing defensively coded .NET applications and performing security testing using both static (SAST) and dynamic (DAST) analysis methods. It addresses real-world threats and attack vectors targeting .NET web applications and teaches developers to build security in from the ground up rather than bolt it on after deployment. The exam is identified by exam code 312-95 and is recognized globally as a benchmark for application security competency in the Microsoft .NET ecosystem.
CASE .NET is designed primarily for .NET developers with a minimum of two years of professional development or information security experience who want to formalize their application security expertise. It is equally relevant for application security engineers, security analysts, and security testers who work with .NET-based systems and need to demonstrate proficiency in secure SDLC practices.
The certification is also well-suited for software architects, DevSecOps practitioners, and anyone involved in designing, building, testing, managing, or protecting .NET applications — including web applications, mobile applications, and IoT solutions built on the .NET framework. Professionals transitioning from pure development roles into application security roles will find this certification particularly valuable for validating their security-oriented coding skills.
There are no strict formal educational prerequisites, but EC-Council requires candidates to meet at least one of the following eligibility criteria before sitting for the exam: complete official EC-Council CASE training through an accredited training partner (ATC, iWeek, or iClass), be an active EC-Council Secure Programmer (ECSP) .NET or Java member in good standing, possess a minimum of two years of working experience in the information security or software development domain, or hold an equivalent industry certification such as GIAC GSSP-.NET or GSSP-Java. Candidates applying via the experience or equivalent-certification pathway must submit a USD $100 non-refundable application fee.
In terms of recommended knowledge, candidates should have hands-on familiarity with the .NET framework and C# or VB.NET development, a working understanding of web application architectures, and foundational knowledge of common vulnerability categories such as those defined by OWASP. Familiarity with basic cryptographic concepts, HTTP/HTTPS protocols, and software testing methodologies will also ease preparation for the exam domains.
The CASE .NET exam (312-95) consists of 50 multiple-choice questions and must be completed within 120 minutes. The passing score is 70%, meaning candidates must answer at least 35 questions correctly. The exam is delivered through the EC-Council exam portal and can be taken at authorized Prometric testing centers or, in eligible cases, via online proctored delivery.
All 50 questions are scored; no unscored or survey items have been publicly disclosed. The multiple-choice format tests both conceptual understanding and practical application of secure coding principles across the ten defined exam domains. Candidates who do not pass may retake the exam, subject to EC-Council's standard retake policies.
Earning the CASE .NET certification positions professionals for roles such as Application Security Engineer, Secure Software Developer, Security Analyst, DevSecOps Engineer, and Application Security Tester — all of which are in strong demand as organizations increasingly require security expertise embedded within development teams rather than solely in separate security departments. The credential is recognized globally and is valued by employers across financial services, healthcare, government, and technology sectors where .NET remains a dominant development platform.
The CASE .NET complements other EC-Council certifications such as the CEH and CPENT by providing a developer-focused security credential, and it stacks well with Microsoft-specific certifications for professionals building careers in the Microsoft ecosystem. Certified professionals typically see enhanced earning potential relative to non-certified peers, and the credential supports long-term career growth by demonstrating a structured, SDLC-wide approach to application security that aligns with frameworks such as OWASP SAMM and NIST SSDF.
5 sample questions with answers and explanations. The full bank has 625 questions, enough for 5 full-length practice exams.
Preview — answers shown1. A security code review identifies the following RSA encryption implementation. What security vulnerability exists in this code? (Select one!)
Explanation
Using RSAEncryptionPadding.Pkcs1 exposes the implementation to padding oracle attacks where attackers can decrypt ciphertext by observing server responses to modified paddings. OAEP (Optimal Asymmetric Encryption Padding) with SHA-256 or higher prevents these attacks through randomized padding. While 1024-bit RSA keys are indeed deprecated, the question asks about the code shown which does not specify key size. Digital signatures serve a different purpose (authentication and integrity) than encryption (confidentiality) and are not required for basic encryption operations. RSA's size limitations for data encryption are a valid concern, but the immediate vulnerability is the weak padding scheme. Modern best practices require RSAEncryptionPadding.OaepSHA256 or higher, never PKCS1 v1.5 padding for new implementations.
2. A code review examines this AES encryption implementation: using Aes aes = Aes.Create(); aes.Key = Encoding.UTF8.GetBytes('mySecretKey12345'); aes.Mode = CipherMode.ECB; byte[] encrypted = aes.CreateEncryptor().TransformFinalBlock(plaintext, 0, plaintext.Length); Which cryptographic weakness makes this implementation vulnerable? (Select one!)
Explanation
ECB (Electronic Codebook) mode is the most critical vulnerability because it encrypts each block independently, causing identical plaintext blocks to produce identical ciphertext blocks. This reveals patterns in the encrypted data, famously demonstrated by ECB-encrypted images where the original picture remains recognizable. The correct mode is CBC (Cipher Block Chaining) or preferably GCM (authenticated encryption). While the key derivation is also problematic, ECB mode is the most severe cryptographic flaw that compromises confidentiality regardless of key strength. Padding mode defaults to PKCS7 which is secure. Authentication is important but ECB mode is the primary vulnerability.
3. A development team configures distributed session state using Redis for an ASP.NET Core application. They set the session timeout to 60 minutes but users report being logged out after 20 minutes. What is the most likely cause? (Select one!)
Explanation
Redis cache eviction policies and maxmemory settings can expire data before the application session timeout if the cache reaches capacity or uses volatile eviction policies like volatile-lru. Distributed session requires proper Redis configuration with adequate memory and appropriate eviction policies like noeviction or allkeys-lru. ASP.NET Core does not override configured session timeouts with hardcoded values. SameSite attribute controls CSRF protection, not session duration. While JWT expiration can affect authentication, the question describes distributed session issues, not token-based authentication. The mismatch between configured and actual session lifetime typically indicates cache-level expiration occurring before application-level timeout.
4. A Blazor WebAssembly application needs to authenticate users and call protected APIs. The architect must choose between storing JWT tokens in localStorage or sessionStorage. What is the primary security consideration? (Select one!)
Explanation
Both localStorage and sessionStorage are accessible to JavaScript and therefore vulnerable to XSS attacks. If an attacker injects malicious scripts, they can read tokens from either storage mechanism and exfiltrate them. HttpOnly cookies cannot be accessed by JavaScript, providing better XSS protection, though Blazor WebAssembly may require token access for Authorization headers. localStorage persistence across sessions is a functionality difference, not a security advantage. SessionStorage has the same XSS vulnerability as localStorage; neither is immune. Storing tokens in multiple locations increases attack surface rather than improving security. For Blazor WASM, implement defense-in-depth with CSP headers, secure token handling, short token lifetimes, and XSS prevention measures.
5. A .NET application uses ECDsa for digital signatures with elliptic curve cryptography. Which key size provides security equivalent to RSA 3072-bit encryption? (Select one!)
Explanation
A 256-bit ECDSA key provides security equivalent to approximately 3072-bit RSA encryption. Elliptic curve cryptography achieves the same security level with much smaller key sizes compared to RSA. The security equivalence is approximately: 256-bit ECC equals 3072-bit RSA, 384-bit ECC equals 7680-bit RSA, and 521-bit ECC provides even higher security equivalent to 15360-bit RSA. This is why ECDSA and other elliptic curve algorithms are preferred for mobile and IoT devices where smaller signatures and faster operations are beneficial. The smaller key sizes result in faster cryptographic operations, smaller signatures, and reduced bandwidth requirements while maintaining equivalent security strength. ECDSA keys do not typically exceed 521 bits, making 1024-bit ECDSA keys non-standard.
Certified DevSecOps Engineer (ECDE)
ECDE · 609 questions
Digital Forensics Essentials (DFE)
DFE · 626 questions
EC-Council Certified Disaster Recovery Professional (EDRP)
EDRP · 623 questions
EC-Council Certified Incident Handler (ECIH)
ECIH · 590 questions
EC-Council Certified Encryption Specialist (ECES)
ECES · 627 questions
Ethical Hacking Essentials (EHE)
EHE · 627 questions
$17.99
One-time access to this exam