Get in Touch
 Duration 14 hours

Course Outline

IT Security and Secure Coding Fundamentals

  • Threat modeling basics: STRIDE methodology, identifying attack surfaces, and understanding privilege escalation paths
  • Integrating security into the SDLC: shift-left practices, threat-aware design reviews, and defense-in-depth strategies
  • Applying the principle of least privilege, contract-based defense, and establishing secure default configurations
  • Workshop: Mapping a .NET microservice to a threat model and identifying necessary architectural controls

Web Application Security in ASP.NET

  • Understanding the ASP.NET request pipeline, middleware execution order, and filter interception points
  • Mitigating HTTP protocol risks: header injection, request smuggling, and CORS configuration errors
  • Best practices for session management, state persistence, and cookie security
  • Implementing secure remote procedure calls and consuming external APIs safely
  • Lab: Exploiting and subsequently patching vulnerabilities within a middleware chain in a sample ASP.NET application

.NET Security Architecture and Native Services

  • The CLR security model: evolution of evidence, permissions, and Code Access Security (CAS)
  • ASP.NET Core Identity, authentication schemes, and token-based security mechanisms (JWT, OAuth2, OpenID Connect)
  • Utilizing the Data Protection API for encryption, key rotation, and secure data serialization
  • Working with cryptographic primitives in .NET: random number generation, hashing, symmetric/asymmetric encryption, and signature verification
  • Lab: Implementing secure token issuance, key rotation, and data protection across microservice boundaries

Common Coding Errors, Vulnerabilities, and Mitigations

  • Preventing deserialization attacks, ViewState tampering, and string termination/overflow issues in .NET
  • Managing configuration drift: handling web.config/appsettings.json, environment variable exposure, and secret management
  • Defending against injection vectors: SQL, command, XSS, and LDAP within C# data access and routing layers
  • Avoiding insecure defaults, hardcoding issues, and improper error handling that leads to information leakage
  • Lab: Reverse-engineering a vulnerable .NET module, applying secure patterns, and validating fixes using static and dynamic analyzers

Security Testing, Validation, and Continuous Improvement

  • Static Application Security Testing (SAST): Utilizing Roslyn analyzers, Security Code Scan, and CI/CD integration
  • Dynamic Application Security Testing (DAST): Workflows with OWASP ZAP and Burp Suite, including automated scanning
  • Runtime protection strategies: Application Guardrails, memory safety practices, and secure logging/auditing
  • Patch management, dependency tracking, and responding to .NET/ASP.NET security advisories
  • Lab: Constructing a pre-commit and pipeline security gate for a .NET solution

Knowledge Sources and the Secure Development Ecosystem

  • Referring to official Microsoft security guidance, .NET security documentation, and ASP.NET hardening references
  • Navigating CVE databases, advisory feeds, and responsible disclosure workflows for open-source dependencies
  • Exploring secure library ecosystems: PGP, crypto-operations, authentication scaffolds, and compliant cryptography
  • Establishing internal secure coding standards, enabling developers, and implementing security champion programs
  • Workshop: Curating a personalized secure development toolkit and setting up ongoing monitoring practices

Requirements

  • Proficient working knowledge of C# and the core .NET framework
  • Experience with ASP.NET web development patterns (Razor Pages, MVC, or Minimal APIs)
  • Foundational understanding of HTTP protocols, routing, and web server architecture
  • Production coding experience is expected; prior security certifications are not required

Number of participants


Price per participant (excl. VAT)

Testimonials (6)

Upcoming Courses

Related Categories