Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.

Slides:



Advertisements
Similar presentations
© Leaf Solutions, LLC. All Rights Reserved What’s New in Everett Microsoft.Net V1.1.
Advertisements

Don’t get Stung (An introduction to the OWASP Top Ten Project) Barry Dorrans Microsoft Information Security Tools NEW AND IMPROVED!
SE 370: Programming Web Services Week 4: SOAP & NetBeans Copyright © Steven W. Johnson February 1, 2013.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution-ShareAlike.
Creating Stronger, Safer, Web Facing Code JPL IT Security Mary Rivera June 17, 2011.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
DT211/3 Internet Application Development Active Server Pages & IIS Web server.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Input Validation For Free Text Fields Project Members: Hagar Offer &Ran Mor Academic Advisor: Dr Gera Weiss Technical Advisors: Raffi Lipkin & Nadav Attias.
Multiple Tiers in Action
The OWASP Foundation Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Computer science Languages, etc.. Overview For web-applications (HTML, JS) – Designing languages (HMTL, CSS) – Server Languages (PHP, ASP) – Extensions.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Workshop 3 Web Application Security Li Weichao March
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
OWASP Zed Attack Proxy Project Lead
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
Web Application Access to Databases. Logistics Test 2: May 1 st (24 hours) Extra office hours: Friday 2:30 – 4:00 pm Tuesday May 5 th – you can review.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Copyright 2007 © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
© Chinese University, CSE Dept. Distributed Systems / Simple Example Open Microsoft Visual Studio 2005:
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Web Applications Testing By Jamie Rougvie Supported by.
Building Secure Web Applications With ASP.Net MVC.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Chapter 10 XML and Web Services. Topics Why a standards-compliant XML parser Why a standard (off the shelf) XML parser Validation. External references.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution-ShareAlike.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution-ShareAlike.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
ASP.NET WEB Applications. ASP.NET  Web application framework developed by Microsoft  Build dynamic data driven web applications and web services  Subset.
Introduction to Web Services Srinath Vasireddy Support Professional Developer Support Microsoft Corporation.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
The OWASP Foundation OWASP XSS Remediation Cassia Martin Romain Gaucher April 7 th, 2011.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
Web Technologies HTML Dr. Mohammad Ahmad S15. Technologies Overview List of Technologies Client Side Technologies HTML, CSS, JavaScript, VBScript XHTML,
Unit 4 Representing Web Data: XML
AJAX and REST.
Component-based Software Engineering: XML
PHP / MySQL Introduction
SharePoint-Hosted Apps and JavaScript
Chapter 7 Representing Web Data: XML
Web Server Administration
Web Development Using ASP .NET
ASP.NET Module Subtitle.
Unit 6 part 3 Test Javascript Test.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Web Application Development Using PHP
Presentation transcript:

Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP Foundation OWASP OWASP Asia Pacific Conference 2008 Three OWASP Projects Michael Eddington Leviathan Security Group

OWASP Contents  OWASP Encoding Project (Reform)  OWASP.NET Web Service Validation  Are You a Human

OWASP OWASP ENCODING PROJECT (REFORM) Project 1

OWASP Cross-site Scripting, The problem…  Limited encoding support in frameworks  What about Javascript and VBScript?  Only: & “  No 100% encoding solution  Production quality  Low to no patches  Forward looking  Internationalization support

OWASP The solution…Reform!  Best of bread output encoding library  Stable for 4 years  No security impacting bugs…EVER!  Conservative  Prevents all known XSS attacks  All major languages  Used extensively by internationalized sites  Extended Chinese character support

OWASP Design goals  Easy to use  Conservative  “Future Proof”  No licensing restrictions  All major platforms supported  Internationalization support

OWASP How did we do?  In production use for 4 years  Zero security impacting bugs to date  All relevant cross-site scripting bugs to date prevented  Standard  New  Browser bug based  Basis for Microsoft’s AntiXss

OWASP Languages  ASP  ASP.NET (1.1, 2.0, 3.x)  Java  JavaScript  Perl  PHP  Python  Ruby

OWASP How it works…  White list based  ABCDEFGHIJKLMNOPQRSTUVWXYZ  abcdefghijklmnopqrstuvwxyz   Space [ ]  Comma [,]  Period [.]

OWASP Cross-site scripting Attacks  Standard XSS injection attacks  HTML injection  HTML attribute injection  Javascript injection  Etc.  Unicode XSS attacks  Browser bugs or related libraries

OWASP Unicode  Specifications include optional behaviors  Specs not always 100% clear  Libraries built off different versions of specs  Libraries work differently

OWASP Typical Unicode XSS Attack 0x00script0x ASP.NET Unicode v2 2 ?script? Unicode v1 Browser 4

OWASP Typical Unicode XSS Attack…Reformed 0x00script0x00 1 {script| 4 ASP.NET Unicode v2 2 ?script? Unicode v1 Browser ?script? 5 Reform 3

OWASP Reform, the pros and cons Pros  Stable code base  Low patch rate (1 in 4 years)  Conservative approach  Mitigates all known issues Cons  Performance impact  Larger page size

OWASP Reform API  HtmlEncode(value, [default])  JsString(value, [default])  VbsString(value, [default])

OWASP HtmlEncode(value, [default]) Value  Mary had a little lamb   Tom & Jerry  “A famous quote”  한국 원본의 보기 Return  Mary had a little lamb  <evil>  Tom & Jerry  "A famous quote"  한국 원본&#51 032; 보기

OWASP JsString(value, [default]) Value  Mary had a little lamb   Tom & Jerry  “A famous quote”  한국 원본의 보기 Return  'Mary had a little lamb'  '\x3Cevil\x3E'  'Tom \x26 Jerry'  '\x22A famous quote\x22'  '\uD55C\uAD6D \uC6D0\uBCF8\uC758 \uBCF4\uAE30'

OWASP VbsString(value, [default]) Value  Mary had a little lamb   Tom & Jerry  “A famous quote”  한국 원본의 보기 Return  "Mary had a little lamb"  chrw(60)&"evil"&chrw(62)  "Tom "&chrw(38)&" Jerry"  chrw(34)&"A famous quote"&c  chrw(54620)&chrw(44397)&" "&chrw(50896)&chrw(48376)& chrw(51032)&" "&chrw(48372)&chrw(44592)hr w(34)

OWASP.NET Web Controls

OWASP Questions?  Michael Eddington  OWASP Encoding Project ( ASP_Encoding_Project) ASP_Encoding_Project

OWASP OWASP.NET WEB SERVICE VALIDATION Project 2

OWASP The problem…  WSDL Schema validation  Additional web method validation

OWASP Canoodle  Provides WSDL schema validation  Schematron like assertions  Simple to use

OWASP Process flow Request Message SOAP Fault Response Message SOAP Fault Response Message WebMethod Invocation Web Service Response Message Canoodle Validation Failure Success

OWASP  Partial Schematron support  Schema validation based on xpath queries  Assert support via Attributes [Assert(“//x > 10”, “x greater than 10”)] [Assert(“//y < 100”, “y less than 100”)]

OWASP Usage Example [WebMethod] [Validation] [Assert("//t:x > 10", "x greater then 10")] [Assert("//t:y < 100", "y less then 100")] public void CreatePoint(int x, int y) { //... } 1 2

OWASP Performance Impact  Two request XML parses  Validating  Non-validating  Compiled xpath queries cached

OWASP Questions?  Michael Eddington .NET Web Service Validation ( ervice_Validation) ervice_Validation

OWASP ARE YOU A HUMAN Project 3

OWASP Are you a human…?

OWASP Captcha Examples

OWASP How to break via computer

OWASP How to break…other

OWASP What about…phones?

OWASP Are you a human?   Service based, no upgrades needed  Multiple Captcha types  Visual  Audio  SMS  Etc.

OWASP Questions???  Michael Eddington  OWASP Encoding Project ( ASP_Encoding_Project) ASP_Encoding_Project .NET Web Service Validation ( ervice_Validation) ervice_Validation  Are you a human? (