Giter Club home page Giter Club logo

irv's Introduction

Warning!

This is only beta. It should be used at production environments only with crossed fingers (on every limb) and at your own risk.

Irv

Irv is a proof-of-concept of the improved request validation engine for ASP.NET Framework to prevent Type-1 (reflected) XSS attacks. It provides a higher security level than the original one because of extended logic of request validation and written from scratch response validation module. An approach to response validation is based on total integrity control of all parts of the output document, which can be potentially tainted by request parameters.

Demo

Online demo of the vulnerable web-application protected by Irv is temporary unvailable :(

Install

Put all Irv's assemblies to GAC or '\bin' directory of ASP.NET project. Add following lines to corresponding sections of 'web.config' file::

    <configuration>
      <system.web>
        <httpRuntime targetFramework="4.5" requestValidationType="Irv.Engine.XssRequestValidator" />
      </system.web>
      <system.webServer>
        <modules>
          <add name="Irv.Engine.dll" type="Irv.Engine.XssResponseValidationModule" />
        </modules>
      </system.webServer>
    </configuration>

Security tests and performance benchmarks

Irv has successfully passed a long and painful manual testing with a tons of various XSS vectors. Neither Acunetix WVS (http://www.acunetix.com/vulnerability-scanner/) nor Snuck (https://code.google.com/p/snuck/) aren't bypasses it too. Nevertheless Irv is still in beta and yet can contain some bugs and false-positives specific to certain web-applications.

Average page processing time for XSS vectors from the wild is near of 50-75ms, and a significant part of the Irv code is a still subject to optimization and improvement.

irv's People

Contributors

kochetkov avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.