Advanced Web Hacking

= Advanced Web Hacking – Securing Ajax, RIA and SOA =

Course: Advanced Web Hacking – Securing Ajax, RIA and SOA Course ID: SB1DAWH Instructor: Shreeraj Shah CPE Credits: 7 CPE’s Duration: 1 Day Date: November 20th, 2009 (9 AM – 6 PM)

Who should attend? • SOA Architects • Software Developers • Penetration Testers / Security Analysts • Security Architects

Class Pre-requisite: • Experience developing or assessing Web Applications &amp; Web Services. • Understanding of SOA and RIA Concepts • Knowledge of penetration testing / security Assessment will be an advantage but is not essential.

Class Requirement: • Entirely Demo based class- No laptop required.

Course Description: Introduction and adaptation of new technologies like Ajax, Rich Internet Applications and Web Services has changed the dimension of Application Hacking. We are witnessing new ways of hacking web-based applications and it needs better understanding of technologies to secure applications. The only constant in this space is change. In this dynamically changing scenario in the era of Web 2.0 it is important to understand new threats that emerge in order to build constructive strategies to protect corporate application assets. Application layers are evolving and lots of client side attack vectors are on the rise like Ajax based XSS, CSRF, Widget injections, RSS exploits, Mashup manipulations and client side logic exploitations. At the same time various new attack vectors are evolving around SOA by attacking SOAP, XML-RPC and REST. It is time to understand these advanced attack vectors and defense strategies.

The course is designed by the author of "Web Hacking: Attacks and Defense", “Hacking Web Services” and “Web 2.0 Security – Defending Ajax, RIA and SOA” bringing his experience in application security and research as part of curriculum to address new challenges. Application Hacking is hands-on class. The class features real life cases, hands one exercises, new scanning tools and defense mechanisms. Participants would be methodically exposed to various different attack vectors and exploits. In the class instructor will explain new tools like wsScanner, scanweb2.0, AppMap, AppCodeScan etc. for better pen-testing and application audits.

Course Overview • Application security fundamentals: Application evolution, Web 2.0 framework, Layered threats, Threat models, Attack vectors and Hacker’s perspective. • Application infrastructure overview: Protocols (HTTP/SSL), SOAP, XML-RPC, REST, Tools for analysis, Server layers and Browsers with plugins. • Application Architecture: Overview to .NET and J2EE application frameworks, Web 2.0 application architecture, Widgets framework, Application layers and components, Resources and interactions, other languages. • Advanced Web Technologies: Ajax, Rich Internet Applications (RIA) and Web Services. • Application attack vectors and detail understanding: SQL injection, Cross Site Scripting (XSS), Cross Site Request Forgery (CSRF), Path traversal, Session hijacking, LDAP/XPATH/Command injection, Buffer overflow, Input validation bypassing, Database hacks and Blind SQL injections. • Advanced Attacks: Ajax based XSS, CSRF with Web Services, Decompiling Flash and RIA apps, WSDL scanning, XML poisoning, SQL injections through XML, External Entity attacks, Widget exploitation, RSS injections, Cross Domain bypass, and many more. • Application methodologies: Blackbox /Whitebox approaches, tools, techniques and little tricks • Advanced application footprinting and discovery: Leveraging search engines, Cross domain mashup discovery and Web 2.0 application domain enumeration. • Fingerprinting: Web and Application server, Ajax framework, Flash based application and technology fingerprinting. • Advanced browser based attacks: XSS proxy and browser hijacking, Intranet scanning, JavaScript manipulation and DOM injections. • Web Fuzzing: Fuzzing XML, JSON, RPCs etc. for vulnerability detection. • Scanning Web Services: Footprinting, discovery, scanning and attacking XML-RPC, SOAP and REST based applications. • Scanning for vulnerabilities through Source: Function and Method signature mapping, entry point identification, data access layer calls, tracing variables and functions. • Applying validations: Input validations, Output validations, Data access filtering, and Authentication validates. • Web Application Firewall: Advanced content filtering by tools and techniques