Improving Web Application Firewall Testing (WAF) for better Deployment in Production Networks January 2009 OWASP Israel



Similar documents
Validate the performance and security of IPS/IDS, Firewall and Proxy - January 2009

Load Balancing Security Gateways WHITE PAPER

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

IBM. Vulnerability scanning and best practices

Reducing Application Vulnerabilities by Security Engineering

Where every interaction matters.

WEB APPLICATION FIREWALLS: DO WE NEED THEM?

IxLoad - Layer 4-7 Performance Testing of Content Aware Devices and Networks

White Paper A10 Thunder and AX Series Load Balancing Security Gateways

IxLoad TM Adobe HDS Player Emulation

Implementation of Web Application Firewall

WHITE PAPER. FortiWeb and the OWASP Top 10 Mitigating the most dangerous application security threats

Considerations In Developing Firewall Selection Criteria. Adeptech Systems, Inc.

Mingyu Web Application Firewall (DAS- WAF) All transparent deployment for Web application gateway

Out of the Fire - Adding Layers of Protection When Deploying Oracle EBS to the Internet

Advanced Network Security Testing. Michael Jack

Penta Security 3rd Generation Web Application Firewall No Signature Required.

Table of Contents. Page 2/13

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

Move over, TMG! Replacing TMG with Sophos UTM

FortiGate-3950B Scores 95/100 on BreakingPoint Resiliency Score (Security, Performance, & Stability)

Contemporary Web Application Attacks. Ivan Pang Senior Consultant Edvance Limited

Firewalls P+S Linux Router & Firewall 2013

APV9650. Application Delivery Controller

TCP/UDP # General Name Short Description

Application Security Best Practices. Wally LEE Principal Consultant

Table of Contents. 1 Overview 1-1 Introduction 1-1 Product Design 1-1 Appearance 1-2

Configuring Health Monitoring

Web Application Vulnerability Testing with Nessus

Proxies. Chapter 4. Network & Security Gildas Avoine

Web Application Firewall for Untrusted Web Environments > White Paper

Basic Network Configuration

Load Balancing and Sessions. C. Kopparapu, Load Balancing Servers, Firewalls and Caches. Wiley, 2002.

05.0 Application Development

CSE331: Introduction to Networks and Security. Lecture 12 Fall 2006

Web Application Security. Radovan Gibala Senior Field Systems Engineer F5 Networks

PERFORMANCE VALIDATION OF JUNIPER NETWORKS SRX5800 SERVICES GATEWAY

Evaluating IPv6 Firewalls & Verifying Firewall Security Performance

DEPLOYMENT GUIDE Version 1.0. Deploying the BIG-IP Edge Gateway for Layered Security and Acceleration Services

FAQs for Oracle iplanet Proxy Server 4.0

Basics of Internet Security

APV x600 Series. Application Delivery Controller APV1600, APV2600, APV4600, APV5600, APV6600, APV8600, APV9600

Virtual Server and DDNS. Virtual Server and DDNS. For BIPAC 741/743GE

SonicWALL Clean VPN. Protect applications with granular access control based on user identity and device identity/integrity

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Next Generation IPv6 Network Security a Practical Approach Is Your Firewall Ready for Voice over IPv6?

Network Configuration/Bandwidth Planning Scope

FortiWeb 5.0, Web Application Firewall Course #251

Introduction to Computer Security Benoit Donnet Academic Year

Bypassing PISA AGM Theme Seminar Presented by Ricky Lou Zecure Lab Limited

FortiWeb for ISP. Web Application Firewall. Copyright Fortinet Inc. All rights reserved.

Networking for Caribbean Development

Colasoft Capsa Technical White Paper. Maximize Network Value

NSFOCUS Web Application Firewall White Paper

Basic & Advanced Administration for Citrix NetScaler 9.2

Web Application Security Assessment and Vulnerability Mitigation Tests

Exam Questions SY0-401

MatriXay WEB Application Vulnerability Scanner V Overview. (DAS- WEBScan ) The best WEB application assessment tool

Configure a Microsoft Windows Workstation Internal IP Stateful Firewall

Firewalls. Basic Firewall Concept. Why firewalls? Firewall goals. Two Separable Topics. Firewall Design & Architecture Issues

Cisco IOS Firewall. Scenarios

IxLoad TM : Data HTTP, SSL, and FTP

REAL-TIME WEB APPLICATION PROTECTION. AWF SERIES DATASHEET WEB APPLICATION FIREWALL

Web application security

OWASP and OWASP Top 10 (2007 Update) OWASP. The OWASP Foundation. Dave Wichers. The OWASP Foundation. OWASP Conferences Chair

IxLoad: Testing Microsoft IPTV

Ignify ecommerce. Item Requirements Notes

Barracuda Web Application Firewall vs. Intrusion Prevention Systems (IPS) Whitepaper

Deployment Guide May-2015 rev. a. APV Oracle PeopleSoft Enterprise 9 Deployment Guide

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

SonicWALL Unified Threat Management. Alvin Mann April 2009

Professional Integrated SSL-VPN Appliance for Small and Medium-sized businesses

Hosting more than one FortiOS instance on. VLANs. 1. Network topology


Post-TMG: Securely Delivering Microsoft Applications

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy

Security+ Guide to Network Security Fundamentals, Fourth Edition. Chapter 6 Network Security

Importance of Web Application Firewall Technology for Protecting Web-based Resources

Network Security. Protective and Dependable. Pioneer of IP Innovation

Microsoft Exchange 2013 DEPLOYMENT GUIDE

DMZ Network Visibility with Wireshark June 15, 2010

Accelerating the Deployment of the Evolved Cyber Range

Communication ports used by Citrix Technologies. July 2011 Version 1.5

Firewall Testing Methodology W H I T E P A P E R

Building a Systems Infrastructure to Support e- Business

Computer Networks. Secure Systems

WEB SITE SECURITY. Jeff Aliber Verizon Digital Media Services

Web Application Attacks And WAF Evasion

Gigabit SSL VPN Security Router

Detecting Web Application Vulnerabilities Using Open Source Means. OWASP 3rd Free / Libre / Open Source Software (FLOSS) Conference 27/5/2008

Cyber Essentials. Test Specification

Semantic based Web Application Firewall (SWAF V 1.6) Operations and User Manual. Document Version 1.0

Application Note. Onsight Connect Network Requirements v6.3

Gateway Security at Stateful Inspection/Application Proxy

Lab Testing Summary Report

SSL-TLS VPN 3.0 Certification Report. For: Array Networks, Inc.

IxLoad VoIP SIP, MGCP Features

Transcription:

Improving Web Application Firewall Testing (WAF) for better Deployment in Production Networks January 2009 OWASP Israel Gregory Fresnais Director of International Business Development Email: gfresnais@bpointsys.com, Tel: +33672510922

BreakingPoint Systems Founded September 2005 Management track record Deep networking, security, & performance assurance expertise Breakthrough, award-winning products Privately held and based in Austin, TX Sales & Support: US, Canada, UK, France, Italy, Spain, Netherlands, Belgium, Israel, China, Japan, Korea, Taiwan, Malaysia, New Zeeland, Australia. Represented by WebHouse Technologies in Israel.

What Does BreakingPoint Deliver? Comprehensive Layer 2-7 testing for network equipment and application servers High-performance, compact, flexible and easy-to-use products Realistic performance and security validation using stateful application protocols and live security attacks 3

Examples of BreakingPoint Tests Realistic Traffic Emulation: Layer 2-7 Bit Blaster - Generates Ethernet frames (L2 Tests) Routing Robot - Generates IP packets (L3 Tests) Session Sender - Generates valid TCP sessions (L4 Tests) App Sim Generates 70+ realistic application flows (L7 Tests) Capture and Recreate - Capture and playback PCAP Layer 4-7 Malicious Traffic Simulation Layer 2-7 Security Module 3,700+ unique attacks, 80+ evasion types Stack Scrambler Protocol fuzzing 4

70+ Client and Server Protocols Supported HTTP HTTPS POP3 IMAP Finger RTMP MAPI Yahoo! Messenger Informix Database MSN Messenger Jabber ICQ QOTD Gopher DNS RTP SIP TCP/UDP SMTP RTSP SNMP FTP RLogin Rshell QQ Messenger RSync DB2 Database AOL IM BOOTPS DCE/RPC LDAP NFSD NTP SSH Postgres Database FIX FIXT CIFS SMB BitTorrent edonkey NetBIOS RADIUS Accounting RADIUS Access Gnutella VMware VMotion Telnet Sybase Database MM4 Oracle Database Microsoft SQL Server World of Warcraft 5

Web Application Firewall Deployment Scenarios 6

Simple Web Service Infrastructure Topology: Client Web Server Application Server Database Server 7

Different Protocols to Exchange Information Communication between Client and Web Server over HTTP Communication between Web and Application Servers over HTTP Communication between Application and Database Server over SQL 8

Different Types of WAF Deploy WAFs between Client and Server, Web Server and Application Server, and Application Server and Database Server 9

Network Topologies for Deploying Web Application Firewall 10

Transparent Bridge Deployment WAF deployed in Transparent Bridge Client and Server in same subnet 11

Router/NAT Deployment WAF deployed in Router/NAT Client and Server in different subnet Server IP address abstracted 12

Reverse Proxy Deployment WAF deployed in Reverse Proxy Client and Server in different subnet Server IP address abstracted L7 features enabled like Load Balancing, Compression, Caching, TCP Connection Multiplexing, URL Rewriting, etc 13

Configuration Options for Deploying Web Application Firewall 14

Communication Via HTTP Communication between the Client and the WAF over HTTP Communication between the WAF and the Server over HTTP 15

Communication Via HTTPS and HTTP Communication between the Client and the WAF over HTTPS Communication between the WAF and the Server over HTTP 16

Communication Via HTTPS Communication between the Client and the WAF over HTTPS Communication between the WAF and the Server over HTTPS 17

Communication Via SQL Communication between the Client and the WAF over SQL Communication between the WAF and the Server over SQL 18

Testing Web Application Firewalls Before Deployment 19

WAF Vendor Comparison Vs. Cannot make the right decision with the limited information on vendor datasheets What are the HTTP Transactions per Second? HTTP 1.0 vs. HTTP 1.1, Object Size, TCP Close RST vs. FIN, What are the HTTPS Transaction per Second? HTTP 1.0 vs. HTTP 1.1, Object Size, Key Size, Cipher, SSL Re-use ID, What is the HTTPS Bandwidth? HTTP 1.0 vs. HTTP 1.1, Object Size. Key Size, Cipher, SSL Re-use ID, 20

Testing Web Application Firewalls 21

Web Application Firewall Testing Infrastructure Test Equipment Capabilities: Simulate a large number of different Clients and Servers Simulate different application protocols and define a variety of settings to validate the WAF under different configurations Reach the limitation of WAF 22

Types of Tests Required to Validate Web Application Firewalls 23

Lab Test Scenario WAF Test Methodology Test executed on several Web Application Vendor products Web Application Firewall Performance with Good Traffic Maximum HTTP Transaction per Second Maximum SQL Queries per Second Maximum Concurrent TCP Connections Maximum HTTP Bandwidth Maximum SQL Bandwidth Web Application Firewall Performance with Security Attacks Maximum HTTP Attacks per Second Maximum SQL Attacks per Second Web Application Firewall Performance Blended Traffic Maximum HTTP Transaction per Second with Attacks Maximum SQL Queries per Second with Attacks 24

Real-World Test Scenario - WAF Test Methodology Test executed on one Web Application Vendor product Web Service Performance Without the Web Application Firewall Maximum New Users per Second Maximum Concurrent Users Maximum Bandwidth Web Service Performance With the Web Application Firewall Maximum New Users per Second Maximum Concurrent Users Maximum Bandwidth Web Service Security with Web Application Firewall Mix Good Traffic and Security Attacks 25

Maximum WAF Performance Lab Test Scenario 26

Web Application Firewall Performance for Good Traffic 27

Maximum HTTP Transactions per Second Supported by WAF Worst Case 28

Maximum HTTP 1.0 Transactions per Second Test Objective Find the Maximum HTTP Transactions per Second in worst case where 1 HTTP transaction is sent over one TCP Connection. Breaking Point Low HTTP Transaction Response Time Low Number of Concurrent TCP Connections 100% of HTTP Transaction Successful Performance Measurement Maximum HTTP Transaction per Second Average HTTP Transaction Response Time Maximum Concurrent TCP Connections Bandwidth 29

Communication Via HTTP Check performance using different Oobject sizes: 1024, 5120, 10240 and 51200 30

Communication Via HTTPS and HTTP Check performance using different object size Check performance using different key size: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 31

Communication Via HTTPS Check performance using different object size Check performance using different key size: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 32

Maximum HTTP Transactions per Second Supported by WAF Best Case 33

Maximum HTTP 1.1 Transaction per Second Test Objective Find the Maximum HTTP Transactions per Second in best case where several HTTP transactions are sent over 1 TCP Connection. Breaking Point Low HTTP Transaction Response Time Low Number of Concurrent TCP Connections 100% of HTTP Transaction Successful Performance Measurement Maximum HTTP Transaction per Second Average HTTP Transaction Response Time Maximum Concurrent TCP Connections Bandwidth 34

Communication Via HTTP Check performance using different object sizes: 1024, 5120, 10240 and 51200 35

Communication Via HTTPS and HTTP Check performance using different object sizes Check performance using different key sizes: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 36

Communication Via HTTPS Check performance using different object Sizes Check performance using different key sizes: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 37

Maximum Concurrent TCP Connections Supported by WAF 38

Maximum Concurrent TCP Connections Test Objective Find the maximum concurrent TCP connections where several HTTP transactions are sent over one TCP connection. Client Think Time is inserted between each client request to keep the TCP connection open. Breaking Point Low HTTP Transaction Response Time 100% of HTTP Transaction Successful Performance Measurement Maximum Concurrent TCP Connections Maximum HTTP Transaction per Second Average HTTP Transaction Response Time Bandwidth 39

Communication Via HTTP Check performance using different small object sizes: 1024 40

Communication Via HTTPS Check performance using different object sizes: 1024 Check performance using different key sizes: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 41

Communication Via HTTPS Check performance using different object sizes: 1024 Check performance using different key sizes: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 42

Maximum HTTP Bandwidth Supported by WAF 43

Maximum HTTP Bandwidth Test Objective Find the maximum HTTP bandwidth using several HTTP transactions over one TCP connection. Breaking Point 100% of HTTP Transactions Successful Performance Measurement Bandwidth Maximum Concurrent TCP Connections Average HTTP Transaction Response Time 44

Communication Via HTTP Check performance using large object sizes like 1Mb 45

Communication Via HTTPS and HTTP Check performance using large object sizes like 1 Mb Check performance using different key sizes: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 46

Communication Via HTTPS Check performance using large object sizes like 1 Mb Check performance using different key sizes: 512, 1024 and 2048 Check performance using different Cipher RC4-MD5, AES, 47

Maximum Single SQL Queries per Second Supported by WAF 48

Maximum Single SQL Queries per Second Test Objective Find the maximum SQL Queries per Second where one SQL query is sent over one TCP connection. Breaking Point Low SQL Query Response Time Low Number of Concurrent TCP Connections 100% of SQL Queries Successful Performance Measurement Maximum SQL Queries per Second Average SQL Query Response Time Maximum Concurrent TCP Connections Bandwidth 49

Maximum Single SQL Queries per Second Check performance using different query responses: 1024, 5120, 10240 and 51200 50

Maximum Multiple SQL Queries per Second Supported by WAF 51

Maximum Multiple SQL Queries per Second Test Objective Find the maximum SQL Queries per Second where several SQL queries are sent over one TCP connection Breaking Point Low SQL Query Response Time Low Number of Concurrent TCP Connections 100% of SQL Queries Successful Performance Measurement Maximum SQL Queries per Second Average SQL Query Response Time Maximum Concurrent TCP Connections Bandwidth 52

Maximum Multiple SQL Queries per Second Check performance using different query responses: 1024, 5120, 10240 and 51200 53

Maximum SQL Bandwidth Supported by WAF 54

Maximum SQL Bandwidth Test Objective Find the maximum SQL bandwidth. Several SQL queries are sent over one TCP connection Breaking Point 100% of SQL Queries Successful Performance Measurement Bandwidth Maximum SQL Queries per Second Maximum Concurrent TCP Connections 55

Maximum SQL Bandwidth Check performance using large response like 1Mb 56

WAF Performance Security Attacks 57

Performance Security Testing Used attacks for performance testing under CVE-ID, OSVDB and BugTrag Ensure attack is detected before executing performance test Used attacks under the TOP 10 OWASP A1 Cross Site Scripting (XSS) A2 Injection Flaws A3 Malicious File Execution A4 Insecure Direct Object Reference A5 Cross Site Request Forgery (CSRF) A6 Information Leakage and Improper Error Handling A7 Broken Authentication and Session Management A8 Insecure Cryptographic Storage A9 Insecure Communications A10 Failure to Restrict URL Access 58

Maximum Single Type of HTTP Attacks per Second Detected by WAF 59

Maximum Single HTTP Attacks per Second Test Objective Find the Maximum Attacks per Second detected. The same attack is used during entire test. Breaking Point Number of Attacks per Second sent doesn t match with number of Attacks detected Performance Measurement Maximum Attacks per Second detected 60

Communication Via HTTP Check number of attacks detected versus the number of attacks of attacks sent 61

Communication Via HTTPS Check number of attacks detected versus the number of attacks of attacks sent 62

Communication Via HTTPS Check number of attacks detected versus the number of attacks of attacks sent 63

Maximum Multiple Types of HTTP Attacks per second Detected by WAF 64

Maximum HTTP Attack per Second Test Objective Find the Maximum Attacks per Second detected. Mix of different types of attacks (TOP 10 OWASP) are used during the entire test. Breaking Point Number of Attacks per Second Send doesn t match with number of Attacks Detected Performance Measurement Maximum Attacks per Second detected 65

Communication Via HTTP Check number of attacks detected versus the number of attacks of attacks sent 66

Communication Via HTTPS and HTTP Check number of attacks detected versus the number of attacks of attacks sent 67

Communication Via HTTPS Check number of attacks detected versus the number of attacks of attacks sent 68

Maximum Single SQL Attacks per second Detected by WAF 69

Maximum SQL Attacks per Second Test Objective Find the Maximum Attacks per Second detected. The same SQL attacks are used during the entire test. Breaking Point Number of Attacks per Second sent doesn t match with number of Attacks Detected Performance Measurement Maximum Attacks per Second detected 70

Maximum SQL Attacks per Second Check number of attacks detected versus the number of attacks of attacks sent 71

Maximum Multiple Type SQL Attacks per second Detected by WAF 72

Maximum SQL Attacks per Second Test Objective Find the Maximum Attacks per Second detected. Mix of different types attacks are used during the entire test. Breaking Point Number of Attacks per Second Sent doesn t match with number of Attacks Detected Performance Measurement Maximum Attacks per Second Detected 73

Maximum SQL Attacks per Second Check number of attacks detected versus the number of attacks of attacks sent 74

WAF Performance Good Traffic and Security Attacks 75

Communication Via HTTP Check performance in terms of Transactions per Second Check number of attacks detected versus the number of attacks sent 76

Communication Via HTTPS and HTTP Check performance in terms of Transactions per Second Check number of attacks detected versus the number of attacks of attacks sent 77

Communication Via HTTPS Check performance in terms of Transactions per Second Check number of attacks detected versus the number of attacks of attacks sent 78

Maximum Single SQL Queries per Second Check performance in terms of SQL Queries per Second Check number of attacks detected versus the number of attacks of attacks sent 79

Maximum WAF Performance Real-World Test Scenario 80

Real-World Test Scenario - WAF Test Methodology Test is performed on WAF Vendor selected Web Service Performance without WAF Maximum New Users per Second Maximum Concurrent Users Maximum Bandwidth Web Service Performance with WAF Maximum New Users per Second Maximum Concurrent Users Maximum Bandwidth Web Service Performance and Security with WAF Mix Good Traffic and Security Attacks 81

Web Service Performance Without WAF Check Maximum New Users per Second of Web Service Check Maximum Concurrent Users of Web Service Check Maximum Bandwidth of Web Service 82

Web Service Performance With WAF Check Maximum New Users per Second of Web Service Check Maximum Concurrent Users of Web Service Check Maximum Bandwidth of Web Service 83

Web Service Performance and Security With WAF Check Maximum New Users per Second of Web Service Check Maximum Concurrent Users of Web Service Check Maximum Bandwidth of Web Service Check All Attacks Sent are Detected by WAF 84

Key Benefits of Web Application Firewall Testing 85

Better Visibility of WAF Performance Know the real performance of your WAF Performance Matrix Maximum HTTP Transactions per Second Maximum HTTPS Transactions per Second Maximum SQL Queries per Second Maximum Concurrent TCP Connections Maximum Concurrent SSL Sessions Maximum HTTP Bandwidth Maximum HTTPS Bandwidth Maximum SQL Bandwidth You know the real capacity of your WAF Performance Matrix Maximum New Users per Second Maximum Concurrent Users 86

Better Visibility of WAF Performance Choose the best WAF for your needs Deploy your WAF in the right configuration for optimal performance Be more proactive because you know how your WAF will behave under load and attacks 87

Contact Information For more Information for Israel contact WebHouse: Alon Refaeli: refaeli@webhouseplus.com +972525873337 Amir Pled: amir@webhouseplus.com +972542489595 For more information outside of Israel contact BreakingPoint Systems: Gregory Fresnais: gfresnais@bpointsys.com +33672510922 88

Thank You www.breakingpoint.com 89