Application Development & Programming Training Icon
Information Security Training Icon

Secure .Net Web Application Development Lifecycle (SDL)

5 Days Classroom Session   |  
5 Days Live Online
Classroom Registration
Private Onsite Package

This course can be tailored to your needs for private, onsite delivery at your location.

Request a Private Onsite Price Quote

Professional Credits


ASPE is an IIBA Endorsed Education Provider of business analysis training. Select Project Delivery courses offer IIBA continuing development units (CDU) in accordance with IIBA standards.


Select courses offer Leadership (PDU-L), Strategic (PDU-S) and Technical PMI professional development units that vary according to certification. Technical PDUs are available in the following types: ACP, PBA, PfMP, PMP/PgMP, RMP, and SP.


Secure .Net Web Application Development Lifecycle (SDL) is a lab-intensive, hands-on .Net security training course, essential for experienced enterprise developers who need to engineer, maintain, and support secure .Net-supported web applications. In addition to teaching basic secure programming skills, this course digs deep into sound processes and practices that apply to the entire software development lifecycle.  

In this course, students thoroughly examine best practices for defensively coding web applications, including XML processing, rich interfaces, and both RESTful and SOAP-based web services.  Students will repeatedly attack and then defend various assets associated with fully-functional web applications and web services.  This hands-on approach drives home the mechanics of how to secure .Net web applications in the most practical of terms.

Security experts agree that the least effective approach to security is "penetrate and patch".  It is far more effective to "bake" security into an application throughout its lifecycle.  After spending significant time trying to defend a poorly designed (from a security perspective) web application, developers are ready to learn how to build secure web applications starting at project inception.  The final portion of this course builds on the previously learned mechanics for building defenses by exploring how design and analysis can be used to build stronger applications from the beginning of the software lifecycle. 

A key component to our Best Defense IT Security Training Series, this workshop is a companion course with several developer-oriented courses and seminars.   Although this edition of the course is .Net-specific, it may also be presented using .Net or other programming languages.

In this training course, learn how to:

Understand potential sources for untrusted data
Understand the consequences for not properly handling untrusted data such as denial of service, cross-site scripting, and injections
Test web applications with various attack techniques to determine the existence of and effectiveness of layered defense
Prevent and defend the many potential vulnerabilities associated with untrusted data
Understand the vulnerabilities of associated with authentication and authorization
Detect, attack, and implement defenses for authentication and authorization functionality and services
Understand the dangers and mechanisms behind Cross-Site Scripting (XSS) and Injection attacks
Detect, attack, and implement defenses against XSS and Injection attacks
Understand the concepts and terminology behind defensive, secure, coding
Understand the use of Threat Modeling as a tool in identifying software vulnerabilities based on realistic threats against meaningful assets
Upcoming Dates and Locations
All Live Online times are listed in Eastern Time Guaranteed To Run
Request a quote for private onsite training Request
Apr 27, 2020 – May 1, 2020    10:00am – 6:00pm Live Online Register
Jun 8, 2020 – Jun 12, 2020    10:00am – 6:00pm Live Online Register
Jul 20, 2020 – Jul 24, 2020    10:00am – 6:00pm Live Online Register
Aug 26, 2020 – Aug 30, 2020    10:00am – 6:00pm Live Online Register
Sep 14, 2020 – Sep 18, 2020    10:00am – 6:00pm Live Online Register
Dec 7, 2020 – Dec 11, 2020    10:00am – 6:00pm Live Online Register
Course Outline

Part 1: Foundation

  1. Lesson: Who is Safe?
    • Assumptions We Make
    • Security: The Complete Picture
    • Anthem, Dell, Target, Equifax, and Marriot Debriefs
    • Verizon’s 2018 Data Breach Report
    • Attack Patterns and Recommendations
    • Tutorial: Working with Visual Studio
    • Exercise: Case Study Setup and Review
  2. Lesson: Security Concepts
    • Motivations: Costs and Standards
    • Open Web Application Security Project
    • Web Application Security Consortium
    • CERT Secure Coding Standards
    • Microsoft SDL
    • Assets and Trust Boundaries
    • Threat Modeling
    • Exercise: Case Study Asset Analysis
  3. Lesson: Principles of Information Security
    • Security Is a Lifecycle Issue
    • Minimize Attack Surface Area
    • Layers of Defense: Tenacious D
    • Compartmentalize
    • Consider All Application States
    • Do NOT Trust the Untrusted

Part 2: Vulnerabilities (1)

  1. Lesson: Unvalidated Input
    • Buffer Overflows
    • Integer Arithmetic Vulnerabilities
    • Unvalidated Input: From the Web
    • Defending Trust Boundaries
    • Whitelisting vs Blacklisting
    • Exercise: Defending Trust Boundaries
    • Exercise: Defending Trust Boundaries With Regular Expressions
  2. Lesson: Broken Access Control (A5-2017)
    • Access Control Issues
    • Excessive Privileges
    • Insufficient Flow Control
    • Unprotected URL/Resource Access
    • Examples of Shabby Access Control
    • Sessions and Session Management
  3. Lesson: Broken Authentication (A2-2017)Broken Quality/DoS
    • Authentication Data
    • Username/Password Protection
    • Exploits Magnify Importance
    • Handling Passwords on Server Side
    • Single Sign-on (SSO)
    • Exercise: Defending Authentication
  4. Lesson: Cross Site Scripting (XSS) (A7-2017)
    • XSS Patterns
    • Persistent XSS
    • Reflective XSS
    • Best Practices for Untrusted Data
    • Exercise: Defending Against XSS
  5. Lesson: Injection (A1-2017)
    • Injection Flaws
    • SQL Injection Attacks Evolve
    • Drill Down on Stored Procedures
    • Other Forms of Injection
    • Minimizing Injection Flaws
    • Exercise: Defending Against SQL Injection

Part 3: Vulnerabilities (2)

  1. Lesson: Error Handling and Information Leakage (A10-2017)
    • Fingerprinting a Web Site
    • Error-Handling Issues
    • Logging In Support of Forensics
    • Solving DLP Challenges
    • Exercise: Error Handling
  2. Lesson: Insecure Data Handling (A3-2017)
    • Protecting Data Can Mitigate Impact
    • In-Memory Data Handling
    • Secure Pipes
    • Failures in TLS/SSL Framework
    • Exercise: Defending Sensitive Data
  3. Lesson: Insecure Configuration Management (A6/9-2017)
    • System Hardening: IA Mitigation
    • Application Whitelisting
    • Least Privileges
    • Anti-Exploitation
    • Secure Baseline
  4. Lesson: Direct Object Access (A5-2017)
    • Remote File Inclusion
    • Redirects and Forwards
    • Direct Object References
    • Exercise: Unsafe Direct Object References
  5. Lesson: Spoofing, CSRF, and Redirects
    • Name Resolution Vulnerabilities
    • Fake Certs and Mobile Apps
    • Targeted Spoofing Attacks
    • Cross Site Request Forgeries (CSRF)
    • CSRF Defenses
    • Exercise: Cross-Site Request Forgeries

Part 4: Best Practices

  1. Lesson: .NET Issues and Best Practices
    • Manage Code and Buffer Overflows
    • .Net Permissions
    • ActiveX Controls
    • Proper Exception Handling
  2. Lesson: Understanding What's Important
    • Common Vulnerabilities and Exposures
    • CWE/SANS Top 25 Most Dangerous SW Errors
    • Strength Training: Project Teams/Developers
    • Strength Training: IT Organizations
    • Leveraging Common AppSec Practices and Controls
    • Exercise: Recent Incidents

Part 5: Defending XML, Services, and Rich Interfaces

  1. Lesson: Defending XML (A4/8-2017)
    • XML Signature
    • XML Encryption
    • XML Attacks: Structure
    • XML Attacks: Injection
    • Safe XML Processing
    • Exercise: Safe XML Processing
  2. Lesson: Defending Web Services
    • Web Service Security Exposures
    • When Transport-Level Alone is NOT Enough
    • Message-Level Security
    • WS-Security Roadmap
    • Web Service Attacks
    • Web Service Appliance/Gateways
    • Exercise: Web Service Attacks
  3. Lesson: Defending Rich Interfaces and REST
    • How Attackers See Rich Interfaces
    • Attack Surface Changes When Moving to Rich Interfaces and REST
    • Bridging and its Potential Problems
    • Three Basic Tenets for Safe Rich Interfaces
    • OWASP REST Security Recommendations
    • OAuth 2.0 and OpenID

Part 6: Cryptography

  1. Lesson: Cryptography Overview
    • Strong Encryption
    • Message Digests
    • Encryption/Decryption
    • Keys and Key Management
    • NIST Recommendations
  2. Lesson: .NET Cryptographic Services
    • The role of cryptographic services
    • Hash algorithms and hash codes
    • Encrypting data symmetrically
    • Encrypting data asymmetrically
    • Exercise: .Net Hashing (Optional)
    • Exercise: .Net Symmetric Encryption
    • Exercise: .Net Asymmetric Encryption (Optional)

Part 7: Secure Development Lifecycle (SDL)

  1. Lesson: SDL Process Overview
    • Types of Security Controls
    • Phases of Typical Data-Oriented Attack
    • Phases: Offensive Actions and Defensive Controls
    • Security Lifecycle Activities
  2. Lesson: Applying Processes and Practices
    • Threat Modeling Process
    • Modeling Assets and Trust Boundaries
    • Modeling Data Flows
    • Exercise: Threat Modeling
  3. Lesson: Risk Analysis
    • Identifying Threats
    • Relating Threats to Model
    • Mitigating Threats
    • Reviewing the Application

Part 8: Security Testing

  1. Lesson: Testing Tools and Processes
    • Security Testing Principles
    • Dynamic Analyzers
    • Static Code Analyzers
    • Criteria for Selecting Static Analyzers
  2. Lesson: Testing Practices
    • OWASP Web App Penetration Testing
    • Authentication Testing
    • Session Management Testing
    • Data Validation Testing
    • Denial of Service Testing
    • Web Services Testing
    • Ajax Testing

Who should attend

This is an intermediate-level .Net secure programming course, designed for developers who wish to get up and running on developing well defended software applications.  Familiarity with C# is required and real world programming experience is highly recommended.  Ideally students should have approximately 6 months to a year of .Net development practical experience.

Please note all development courses may also be offered in other programming languages or tailored to suit your unique requirements. Please contact us for details. Please contact us for recommended next steps tailored to your longer term education, project or development objectives.


Familiarity with C# is required and real world programming experience is highly recommended.  Ideally students should have approximately 6 months to a year of .Net development practical experience.