<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Admin Blog &#187; attack</title>
	<atom:link href="http://www.webadminblog.com/index.php/tag/attack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webadminblog.com</link>
	<description>Real Web Admins.  Real World Experience.</description>
	<lastBuildDate>Wed, 25 May 2011 03:02:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Techniques in Attacking and Defending XML/Web Services</title>
		<link>http://www.webadminblog.com/index.php/2009/11/13/techniques-in-attacking-and-defending-xmlweb-services/</link>
		<comments>http://www.webadminblog.com/index.php/2009/11/13/techniques-in-attacking-and-defending-xmlweb-services/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 20:55:06 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[OWASP AppSec DC 2009]]></category>
		<category><![CDATA[Web Application Security]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[attacking]]></category>
		<category><![CDATA[defend]]></category>
		<category><![CDATA[defending]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[techniques]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.webadminblog.com/?p=344</guid>
		<description><![CDATA[This presentation was by Jason Macy and Mamoon Yunus of Crosscheck Networks - Forum Systems.  It wins the award (the one I just made up) for being the most vendor-oriented presentation at the conference.  Not that it wasn't an interesting presentation, but their solution to defend against most of the attacks was "Use an XML [...]]]></description>
			<content:encoded><![CDATA[<p>This presentation was by Jason Macy and Mamoon Yunus of Crosscheck Networks - Forum Systems.  It wins the award (the one I just made up) for being the most vendor-oriented presentation at the conference.  Not that it wasn't an interesting presentation, but their solution to defend against most of the attacks was "Use an XML Gateway" (guess what Forum Systems sells?) and the attacks were all presented using the CrossCheck SOAPSonar tool.  I realize that being a vendor they probably have more knowledge than most in the field, but being an Open Source conference, you'd think they would have demonstrated using a free/open tool (SOAPUI?) and talked more about non-hardware solutions to fix the issues.  My notes from the session are below:</p>
<p><span style="text-decoration: underline;"><strong>Agenda</strong></span></p>
<ol>
<li>Introduction to XML/Web Services Threats</li>
<li>Techniques for Defending XML Threats</li>
<li>XML Attack Examples and Classification</li>
<li>Review sample attacks</li>
</ol>
<p><span style="text-decoration: underline;"><strong>Introduction to XML Threats</strong></span></p>
<ul>
<li>Explicit Attacks
<ul>
<li>Forced Disruption</li>
<li>Information Theft</li>
<li>Vendor Discovery</li>
</ul>
</li>
<li>Implicit Vulnerability
<ul>
<li>Perimeter Breach (embeeded virus, malware)</li>
<li>Infrastructure Malfunction (parser and data processing failures)</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>New Attack Vectors</strong></span></p>
<ul>
<li>Protocol Firewalls are blind to XML</li>
<li>Malware and virus delivered via SOAP attachments</li>
<li>WSDL exposes schema and message structure</li>
<li>Injection attacks exposed via XML parameters</li>
<li>Data replay attacks</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Security Testing - Base Requirements</strong></span></p>
<ul>
<li>Security Framework
<ul>
<li>Sign, ENcrypt, Decrypt, SSL</li>
</ul>
</li>
<li>Identity Framework
<ul>
<li>Basic auth, SSL auth, WS-Security token auth</li>
</ul>
</li>
<li>Parameter Injection
<ul>
<li>Database or file driven</li>
<li>Permutations for security, identity, and SOAP/XML</li>
</ul>
</li>
<li>Concurrent Client Simultaneous Loading
<ul>
<li>Denial of Service Testing</li>
</ul>
</li>
<li>SOAP with Attachments
<ul>
<li>Malware and Virus testing</li>
</ul>
</li>
<li>Dynamic XSD Mutation
<ul>
<li>Derive SOAP vulnerability profile from WSDL schema</li>
</ul>
</li>
</ul>
<p><span id="more-344"></span></p>
<p><span style="text-decoration: underline;"><strong> XML Security Gateway - Base Requirements</strong></span></p>
<ul>
<li>Certified PKI Infrastructure (DOD PKI)
<ul>
<li>X509 Path validation</li>
<li>Sign/verify, SSL initiation, SSL termination</li>
</ul>
</li>
<li>Certified Security Architecture (FIPS)
<ul>
<li>Key management and storage</li>
<li>Physical security device</li>
</ul>
</li>
<li>Transaction Privacy
<ul>
<li>Encryption, decryption, SSL</li>
</ul>
</li>
<li>Transaction Integrity
<ul>
<li>Digital signature, signature verification, schema validation</li>
</ul>
</li>
<li>Transaction Accountability
<ul>
<li>Archiving, logging, reporting, and monitoring</li>
</ul>
</li>
<li>Transaction Threat Mitigation
<ul>
<li>Intrusion detection and prevention</li>
<li>Rate-based rules, size-based rules, anti-virus detection, pattern recognition</li>
<li>Structural integrity, protocol adherence, athorization attempts</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>XML Attack Examples and Classification</strong></span></p>
<ol>
<li>SQL Injection Attack</li>
<li>Denial of Service Attack</li>
<li>XSD Mutation Attack</li>
</ol>
<p><span style="text-decoration: underline;"><strong>XML Web Services SQL Injection Attack Example</strong></span></p>
<ul>
<li>How to Attack
<ul>
<li>Construct SQL escape sequences</li>
<li>Construct SQL 1=1 query</li>
<li>Inject into XML node values</li>
</ul>
</li>
<li>Discovered Exposure
<ul>
<li>Sensitive data loss</li>
<li>Database corruption</li>
</ul>
</li>
<li>Used "SOAPSonar" tool to load WSDL and send responses</li>
</ul>
<p><span style="text-decoration: underline;"><strong>SQL Injection - XML Gateway Secured</strong></span></p>
<ul>
<li>How to Defend
<ul>
<li>Deploy XML Gateway</li>
<li>Enable pattern scanning IDP rules</li>
<li>Configure response message size and complexity limits</li>
</ul>
</li>
<li>Advantages
<ul>
<li>Prevent Data Loss</li>
<li>Alert and Quarantine Attempted Breaches</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>XML Web Services based Denial of Service Attack</strong></span></p>
<ul>
<li>How to Attack
<ul>
<li>Loading client with concurrent simultaneous threads</li>
<li>Coercive parsing attack</li>
</ul>
</li>
<li>Discovered Exposure
<ul>
<li>Unlimited message flow</li>
<li>Unfair service SLA distribution</li>
<li>Back-end CPU and I/O Saturation</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Denial of Service - XML Gateway Secured</strong></span></p>
<ul>
<li>How to Defend
<ul>
<li>Deploy XML gateway</li>
<li>Set allowed transaction rates (Group, user, or IP)</li>
</ul>
</li>
<li>Advantages
<ul>
<li>Message flow limited to specified rate</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Another Example: Denial of Service through Coercive Parsing</strong></span></p>
<ul>
<li>Sending malformed XML data (removing the "&gt;" end tag) creates increased time to parse a request</li>
</ul>
<p><span style="text-decoration: underline;"><strong>XML Web Services Based XSD Mutation Attack</strong></span></p>
<ul>
<li>How to Attack
<ul>
<li>Obtain WSDL</li>
<li>Derive message structure and types from WSDL schema</li>
<li>Send SOAP message mutations based on schema</li>
</ul>
</li>
<li>Discovered Exposure
<ul>
<li>Code paths not handled for exceptions</li>
<li>Stack traces returned with implementation details</li>
<li>Application failure</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>XSD Mutation Attack - XML Gateway Secured</strong></span></p>
<ul>
<li>How to Defend
<ul>
<li>Deploy XML Gateway</li>
<li>Enforce inbound message structure and type validation</li>
<li>Cleanse outbound data (stack traces, sensitive data)</li>
</ul>
</li>
<li>Advantages
<ul>
<li>Reduce parser impact on web service</li>
<li>Remove vendor and implementation details in response</li>
<li>Protect application layer code paths on web service</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>XSD Mutation - Secured</strong></span></p>
<ol>
<li>Deploy specialized XML Gateways - Packet firewalls and HTML application firewalls are insufficient</li>
<li>Validate XML against a robust schema</li>
<li>Tighten Schema: restrict unbounded strings, etc</li>
<li>Enforce XML specific detection rules (node depth, recursive payloads)</li>
</ol>
<p><span style="text-decoration: underline;"><strong>Best Practices for Countermeasures</strong></span></p>
<ul>
<li>Information Control - Outbound
<ul>
<li>Restrict SOAP Faults</li>
<li>Protect Sensitive Information</li>
<li>Audit Transaction Flows</li>
</ul>
</li>
<li>Information Control - Inbound
<ul>
<li>Tighten Payloads</li>
<li>Enforce SLA</li>
<li>Disallow SQL, virus, malicious code</li>
</ul>
</li>
<li>Use Web Services Penetration Testing Product</li>
<li>Deploy XML web Services Gateway</li>
<li>Deploy Centralized XML Security</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webadminblog.com/index.php/2009/11/13/techniques-in-attacking-and-defending-xmlweb-services/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Application Security Metrics from the Organization on Down to the Vulnerabilities</title>
		<link>http://www.webadminblog.com/index.php/2009/11/13/application-security-metrics-from-the-organization-on-down-to-the-vulnerabilities/</link>
		<comments>http://www.webadminblog.com/index.php/2009/11/13/application-security-metrics-from-the-organization-on-down-to-the-vulnerabilities/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 15:35:08 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Metrics]]></category>
		<category><![CDATA[OWASP AppSec DC 2009]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[metrics]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://www.webadminblog.com/?p=334</guid>
		<description><![CDATA[This presentation was by Chris Wysopal, the CTO of Veracode.  My notes are below: "To measure is to know." - James Clerk Maxwell "Measurement motivates." - John Kenneth Galbraith Metrics do Matter Metrics quantify the otherwise unquantifiable Metrics can show trends and trends matter more than measurements do Metrics can show if we are doing [...]]]></description>
			<content:encoded><![CDATA[<p>This presentation was by Chris Wysopal, the CTO of Veracode.  My notes are below:</p>
<p>"To measure is to know." - James Clerk Maxwell</p>
<p>"Measurement motivates." - John Kenneth Galbraith</p>
<p><span style="text-decoration: underline;"><strong>Metrics do Matter</strong></span></p>
<ol>
<li>Metrics quantify the otherwise unquantifiable</li>
<li>Metrics can show trends and trends matter more than measurements do</li>
<li>Metrics can show if we are doing a good job or bad job</li>
<li>Metrics can show if you have no idea where you are</li>
<li>Metrics establish where "You are here" really is</li>
<li>Metrics build bridges to managers</li>
<li>Metrics allow cross sectional comparisons</li>
<li>Metrics set targets</li>
<li>Metrics benchmark yourself against the opposition</li>
<li>Metrics create curiosity</li>
</ol>
<p><span style="text-decoration: underline;"><strong>Metrics Don't Matter (Mike Rothman)<br />
</strong></span></p>
<ul>
<li>It is too easy to count things for no purpose other than to count them</li>
<li>You cannot measure security so stop</li>
<li>This following is all that matters and you can't map security metrics to them:
<ul>
<li>Maintenance of availability</li>
<li>Preservation of wealth</li>
<li>Limitation on corporate liability</li>
<li>Compliance</li>
<li>Shepherding the corporate brand</li>
</ul>
</li>
<li>Cost of measurement not worth the benefit</li>
</ul>
<p>Bad metrics are worse than no metrics</p>
<p><span style="text-decoration: underline;"><strong>Security Metrics Can Drive Executive Decision Making</strong></span></p>
<ul>
<li>How secure am I?</li>
<li>Am I better off than this time last year?</li>
<li>Am I spending the right about of money?</li>
<li>How do I compare to my peers?</li>
<li>What risk transfer options to I have?</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Goals of Application Security Metrics</strong></span></p>
<ul>
<li>Provide quantifiable information to support enterprise risk management and risk-based decision making</li>
<li>Articulate progress towards goals and objectives</li>
<li>Provides a repeatable, quantifiable way to assess, compare, and track improvements in assurance</li>
<li>Focus activities on risk mitigation in order of priority and exploitability</li>
<li>Facilitate adoption and improvement of secure software design and development processes</li>
<li>Provide and objective means of comparing and benchmarking projects, divisions, organizations, and vendor products</li>
</ul>
<p><span id="more-334"></span></p>
<p><span style="text-decoration: underline;"><strong>Use Enumerations</strong></span></p>
<ul>
<li>Enumerations help identify specific software-related items that can be counted, aggregated, evaluated over time</li>
<li>CVE - Common Vulnerabilities and Exposures</li>
<li>CWE - Common Weakness Enumeration</li>
<li>CAPEC - Common Attack Pattern Enumeration and Classification</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Organizational Metrics</strong></span></p>
<ul>
<li>Percentage of application inventory developed with SDLC (which version of SDLC?)</li>
<li>Business criticality of each application in inventory</li>
<li>Percentage of application inventory tested for security (what level of testing?)</li>
<li>Percentage of application inventory remediated and meeting assurance requirements</li>
<li>Roll up of testing results</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Organizational Metrics</strong></span></p>
<ul>
<li>Cost to fix defects at different points in the software lifecycle</li>
<li>Cost of data breaches related to software vulnerabilities</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Testing Metrics</strong></span></p>
<ul>
<li>Number of threats identified in threat model</li>
<li>Size of attack surface identified</li>
<li>Percentage code coverage (static and dynamic)</li>
<li>Coverage of defect categories (CWE)</li>
<li>Coverage of attack pattern categories (CAPEC)</li>
</ul>
<p>SANS Top 25 Mapped to Application Security Methods (CWE, Title, Education?, Manual Process?, Tools?, Threat Model?)</p>
<p>Weakness Class Prevalence based on 2008 CVE data (Mitre?)</p>
<p><span style="text-decoration: underline;"><strong>Basic Metrics: Defect Counts</strong></span></p>
<ul>
<li>Design and implementation defects
<ul>
<li>CWE identifier</li>
<li>CVSS score</li>
<li>Severity</li>
<li>Likelihood of exploit</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Automated Code Analysis Techniques</strong></span></p>
<ul>
<li>Static Analysis (White Box Testing)</li>
<li>Dynamic Analysis (Black Box Testing)</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Manual Analysis</strong></span></p>
<ul>
<li>Manual Penetration Testing</li>
<li>Manual Code Review</li>
<li>Manual Design Review</li>
<li>Threat Modeling</li>
</ul>
<p><span style="text-decoration: underline;"><strong>WASC Web Application Security Statistics Project 2008</strong></span></p>
<ul>
<li>Goals
<ul>
<li>Identify the prevalence and probability of different vulnerability classes</li>
<li>Compare testing methodologies against what types of vulnerabilities they are likely to identify</li>
</ul>
</li>
<li>Summary
<ul>
<li>12186 web applications with 97554 detected vulnerabilities</li>
<li>More than 13% of all reviewed sites can be compromised completely automatically</li>
<li>About 49% of web applications contain vulnerabilities of high risk level detected by scanning</li>
<li>Manual and automated assessment by white box method allows to detect these high risk level vulnerabilities with the probability up to 80-96%</li>
<li>99% of web applications are not compliant with PCI DSS standard</li>
</ul>
</li>
<li>Compare to 2007 WASC Project
<ul>
<li>Number of sites with SQL Injection fell by 13%</li>
<li>Number of sites with Cross-site Scripting fell 20%</li>
<li>Number of sites with different types of Information Leakage rose by 24%</li>
<li>Probability to compromise a host automatically rose from 7 to 13%</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webadminblog.com/index.php/2009/11/13/application-security-metrics-from-the-organization-on-down-to-the-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anatomy of an Attack: From Incident to Expedient Resolution</title>
		<link>http://www.webadminblog.com/index.php/2009/03/25/anatomy-of-an-attack-from-incident-to-expedient-resolution/</link>
		<comments>http://www.webadminblog.com/index.php/2009/03/25/anatomy-of-an-attack-from-incident-to-expedient-resolution/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 14:15:49 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[TRISC 2009]]></category>
		<category><![CDATA[anatomy]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[flow]]></category>
		<category><![CDATA[incident]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.webadminblog.com/?p=196</guid>
		<description><![CDATA[For the first session of the morning on the last day of the TRISC 2009 Conference, I decided to attend the "Anatomy of an Attack: From Incident to Expedient Resolution" talk by Chris Smithee, a Systems Engineer at Lancope.  He talked about the different types of attacks that you see on your network and how [...]]]></description>
			<content:encoded><![CDATA[<p>For the first session of the morning on the last day of the TRISC 2009 Conference, I decided to attend the "Anatomy of an Attack: From Incident to Expedient Resolution" talk by Chris Smithee, a Systems Engineer at Lancope.  He talked about the different types of attacks that you see on your network and how using FLOW data can be used to monitor and eliminate some of these types of threats.  My notes from the session are below:<span id="more-196"></span><br />
<span style="text-decoration: underline;">Types of Attacks</span></p>
<ul>
<li> Barbarian Horde
<ul>
<li>Our castle walls must keep us safe
<ul>
<li>Script kiddies and DDoS</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li> Ninjas
<ul>
<li>Knowledgeable “Haxx0rs” with deliberate intent
<ul>
<li>Social engineering to exploits</li>
</ul>
</li>
</ul>
</li>
<li>Vampires
<ul>
<li>Generally have to be “invited” in
<ul>
<li>Convert others to their side</li>
<li>Malware, worms, and botnets</li>
</ul>
</li>
<li>Vampires are social creatures</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;">Problems with Traditional Mechanisms</span></p>
<ul>
<li> The Barbarian Horde
<ul>
<li>How do we know its working?</li>
</ul>
</li>
<li>Ninjas
<ul>
<li>Ninjas are stealthy and think outside the box</li>
<li>Social Engineering can grant all manner of access</li>
</ul>
</li>
<li>Vampires
<ul>
<li>What happens if you’re the first one bit?</li>
<li>Where do you have your safeguards?</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"> How can Flow Data help? (Packet level logging for network devices – Ex: NetFlow)</span></p>
<ul>
<li> Global Accounting
<ul>
<li>Who, what, where, when, how</li>
</ul>
</li>
<li>Barbarians
<ul>
<li>Who made it through the castle wall?</li>
</ul>
</li>
<li>Ninjas
<ul>
<li>Forensic data</li>
<li>“Soft-Firewall” like rules</li>
</ul>
</li>
<li>Vampires
<ul>
<li>Containment is key – one hop away</li>
<li>Policy verification</li>
</ul>
</li>
</ul>
<p><span style="text-decoration: underline;"> Why Flow?</span></p>
<ul>
<li> Leverage your existing network infrastructure to quickly, accurately detect, contain and remediate incidents.</li>
<li>Anywhere from a 3-10% impact on processor.  Memory impact is even smaller.</li>
</ul>
<p><span style="text-decoration: underline;"> Freeware flow data</span></p>
<ul>
<li> FLOW-TOOLS</li>
<li>NMon</li>
</ul>
<p><span style="text-decoration: underline;"> Behavioral Analysis?</span></p>
<ul>
<li> Flow data is awesome.  Why the expert system?
<ul>
<li>Flow data is plentiful – drinking from the firehose can hurt</li>
</ul>
</li>
<li>The problem of context
<ul>
<li>Signatures and rules may not always be appropriate</li>
</ul>
</li>
<li>Bobby Sue doesn’t normally upload this many files to the Net</li>
<li>Who has staff available to constantly scrub files and graphs?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webadminblog.com/index.php/2009/03/25/anatomy-of-an-attack-from-incident-to-expedient-resolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>w3af: A framework to own the Web &#8211; OWASP AppSec NYC 2008</title>
		<link>http://www.webadminblog.com/index.php/2008/09/24/w3af-a-framework-to-own-the-web-owasp-appsec-nyc-2008/</link>
		<comments>http://www.webadminblog.com/index.php/2008/09/24/w3af-a-framework-to-own-the-web-owasp-appsec-nyc-2008/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 19:45:24 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[OWASP AppSec NYC 2008]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[owasp]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[w3af]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.webadminblog.com/?p=95</guid>
		<description><![CDATA[This presentation on the w3af (Web Application Attack and Audit Framework) was by Andres Riancho (ariancho@cybsec.com) who is the project leader.  w3af is an Open Source project (GPLv2).  A script that evolved into a serious project.  A vulnerability scanner.  An exploitation tool.  Found that the commercial tools were too pricey so developed a tool to [...]]]></description>
			<content:encoded><![CDATA[<p>This presentation on the w3af (Web Application Attack and Audit Framework) was by Andres Riancho (ariancho@cybsec.com) who is the project leader.  w3af is an Open Source project (GPLv2).  A script that evolved into a serious project.  A vulnerability scanner.  An exploitation tool.  Found that the commercial tools were too pricey so developed a tool to make his job easier.</p>
<p>Finds almost all web application vulnerabilities.  Cross platform (written in python).  Uses tactical exploitation techniques to discover new URLs and vulnerabilities.  GTK and Console user interface.  Web service support.  Exploits [blind] SQL injections, OS commanding, remote file inclusions, local file inclusions, XSS, unsafe file uploads and more.  WML Support (WAP).  Really easy to extend.  Synergy among plugins.  Ability to find vulerabilities in query string, post data, URL filename, headers, file content (when uploading with forms) and web services.  130 plugins and growing.  Manual analysis web applications.</p>
<p>w3af is divided into two main parts, the core and the plugins.  The core coordinates the process and provides features that plugins consume.  Plugins share information with each other using a knowledge base.  Design patterns and objects everywhere!  8 different types of plugins exist:</p>
<ul>
<li>Discovery Plugins: Find new URLs and create the corresponding fuzzable requests (webSpider, urlFuzzer, googleSpider, pykto)</li>
<li>Discover plugins are run in a loop, the output of one discovery plugin is sent as input to the next plugin.  This process continues until all plugins fail to find a new fuzzable request.</li>
<li>Other discovery plugins try to fingerprint remote httpd, allowed HTTP methods, verify if the remote site has an HTTP load balancers.</li>
<li>Audit Plugins: They take the output of discovery plugins and find vulnerabilities like [blind] SQL injection, XSS, buffer overflows</li>
<li>Grep Plugins: These plugins grep every HTTP request and response to try to find information.  Examples are findComments, passwordProfiling, privateIP, directoryIndexing, getMails, and lang.</li>
<li>Attack Plugins: These plugins read the vuln objects from the KB and try to exploit.</li>
<li>Output Plugins: They write messages to the console, html or text file.</li>
<li>Mangle Plugins: They modify requests and responses based on regexs</li>
<li>Evasion Plugins: They modify the requests to try to evade IDS detection</li>
<li>Bruteforce Plugins: They try to bruteforce logins</li>
</ul>
<p>The presenter then demonstrated the w3af utility.  Very clean looking GUI similar to many of the linux GUI's available.  Good use of tabs to separate various outputs.  I haven't used it, but it looks fairly intuitive.  It has the ability to create exploit shells (OS, SQL, etc) just like I've seen with uber-expensive products like CoreImpact.  Ability to use python statements in HTTP requests to iterate through different pages. Some really useful graphing.</p>
<ul>
<li>archiveDotOrg plugin: Searches archive.org for older versions of the site, links that were linked somewhere in the past and now are kept in the dark.  Old and unmaintained sections are prone to vulnerabilities</li>
<li>Use of PHP easter eggs to fingerprint the remote PHP version.  Old and almost forgotten technique.  Accurate fingerprinting.  Almost nobody disables the eggs (expose_php=off)</li>
<li>Good samaritan module: A faster way to exploit blind SQL injections!  A funny way to exploit blind SQL injections!  "Guiding the blind man"</li>
<li>Virtual Daemon: Ever dreamed about using metasploit payloads to exploit web applications?  Now you can do it!  Coded a metasploit plugin that connects to a virtual daemon and sends the payload.  The virtual daemon is run by a w3af attack plugin and receives the payload and creates a tiny ELF/PE executable.</li>
<li>w3afAgent: A reverse "VPN" that allows you to continue intruding into the target network.  Send the w3afAgent client to the target host using a transfer handler (wget, tftp, echo).  The cient connects back to w3af where the w3afAgent server runs a SOCKS daemon. (Just like CoreImpact!!!  Freakin' sweet!)  UDP traffic doesn't work, but could.  Raw sockets, and sniffing won't work.</li>
<li>Web 2.0 Support.  w3af can analyze pages that make heavy use of JavaScript.  THe manual solution available to achieve this task is the spiderMan plugin.  Local proxy daemon.  Analyzes requests and creates fuzzable requests.  The user needs to navigate the JavaScript sections of the site.  Supports JSON.</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Future</strong></span></p>
<ul>
<li>Some level of javascript support (mozrepl)</li>
<li>More stable core</li>
<li>Less false positives/negatives</li>
<li>More attack plugins</li>
<li>Better GTK user interface</li>
<li>Better management report generation</li>
<li>Long descriptions for vulnerabilities using OWASP attack information from the wiki.</li>
</ul>
<p>Site: http://w3af.sf.net</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webadminblog.com/index.php/2008/09/24/w3af-a-framework-to-own-the-web-owasp-appsec-nyc-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

