With the advent of IIS7 and its modular design, Microsoft has provided the ability to easily integrate custom modules into the IIS7 request pipeline. This session will present an IIS7 module designed to leverage this architecture to actively and dynamically protect web applications from attack. With minimal configuration, the module can be used to protect virtually any application running on the web server. This presentation will outline the overall design and architecture of the module, including a detailed explanation of available features and attack defense techniques. The session will focus on live demonstrations of how the module can easily be installed to protect already-deployed applications and how it can block both traditional web application attacks, such as SQL injection and Cross-Site Scripting, and applicationspecific vulnerabilities like parameter manipulation and authorization attacks. 1. IIS7 Overview - The presentation will begin with an introduction to IIS7 and its radical new architecture versus previous versions of IIS 1. The IIS7 Request Pipeline 2. Native Modules 3. Installing and Configuring Custom Modules 2. Sample IIS7 Module (with live Demos) - The majority of the presentation will discuss and demonstrate a freely available module that can be used to provide runtime application security. An in-depth discussion of each core feature and security mechanism built into the module will be discussed, along with how they compare to those typically implemented offered in a commercial web application firewall. For each protection mechanism, a demonstration will be performed to show the audience how typical attacks (such as those included in the OWASP Top 10 List) are thwarted in real-time by the module. 1. Response Analysis and Dynamic Application Profiling 2. Active Cryptographic Protection 1. Links 2. Forms 3. Cookies 4. JavaScript Functions 3. Form State Tracking 4. Black-List Input Filtering 5. Benefits over traditional WAFs