Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Josh Sokol. # whoami  Josh Sokol  B.S. in Computer Science  Cisco Certified Network Associate (CCNA)  SANS GIAC in Web Application.

Similar presentations

Presentation on theme: "By Josh Sokol. # whoami  Josh Sokol  B.S. in Computer Science  Cisco Certified Network Associate (CCNA)  SANS GIAC in Web Application."— Presentation transcript:

1 By Josh Sokol

2 # whoami  Josh Sokol (  B.S. in Computer Science  Cisco Certified Network Associate (CCNA)  SANS GIAC in Web Application Security (GWAS)  Web Systems Engineer for National Instruments  Own the Web Systems “Security Practice”

3 Some Questions To Be Answered  What’s this proxy thing everyone is talking about?  When and why should I use a proxy?  My company doesn’t like to spend money on security so why are you wasting my time?  Talk is cheap…show me how it works!

4 What is a Proxy?  A process that accepts requests for some service and passes them on to the real server. Request Proxy

5 Types of Proxies  Caching Proxy  Web Proxy  Content-filtering Web Proxy  Anonymizing Proxy  Hostile Proxy  Intercepting Proxy  Forced Proxy  Open Proxy  Reverse Proxy

6 Firefox Extension: SwitchProxy Tor and Privoxy Act I – Anonymizing Proxies

7 Anonymizing Proxies   Start Tor and Privoxy  Select “Tor” from SwitchProxy  Am I really anonymous? Kinda, but not really. My HTTP requests are being passed through the proxy, but what about DNS? Also, does my proxy know who I am? Yes! Problems Speed False sense of security

8 Proxy 4 Free List 

9 Apache mod_proxy Act II – Reverse Proxies

10 Reverse Proxies ProxyRequests Off ProxyPass ProxyPassReverse Order allow,deny allow from all 

11 Benefits of Reverse Proxies  Single machine acts as a gateway to the real servers in the network.  Use mod_cache (and mod_mem_cache) to keep static documents in memory.  Single point of authentication

12 Firefox Extension: SwitchProxy Extension: Tamper Data | Google Ratproxy | OWASP WebScarab Act III – Intercepting Proxies

13 Tamper Data  Use tamperdata to view and modify HTTP/HTTPS headers and post parameters.  Trace and time http response/requests.  Security test web applications by modifying POST parameters.

14 Tamper Data Example   Username: jsmith  Password: Demo1234

15 Google Ratproxy  A semi-automated, largely passive web application security audit tool, optimized for an accurate and sensitive detection, and automatic annotation, of potential problems and security- relevant design patterns based on the observation of existing, user-initiated traffic in complex web 2.0 environments.  Detects and prioritizes broad classes of security problems, such as dynamic cross-site trust model considerations, script inclusion issues, content serving problems, insufficient XSRF and XSS defenses, and much more.

16 Using Ratproxy with Cygwin  Install Cygwin with make, gcc-core, openssl- dev, and openssl utilities.  Download Ratproxy.  Modify the make file by removing the “-Wno- pointer-sign”.  Download the Flare action script decompiler.  “make” Ratproxy.  Add the Cygwin libraries to your Windows path.

17 Google RatProxy Example  ratproxy.exe –v C:\cygwin –w ratproxy.log –p 8282 –d –lfscm  Tell SwitchProxy to use Ratproxy.  Surf!  sh ratproxy.log > report.html

18 OWASP WebScarab  WebScarab is a framework for analyzing applications that communicate using the HTTP and HTTPS protocols.  In its most common usage, WebScarab operates as an intercepting proxy, allowing the operator to review and modify requests created by the browser before they are sent to the server, and to review and modify responses returned from the server before they are received by the browser.

19 OWASP WebScarab Example  Start WebScarab.  Check the “Proxy” tab to verify port configuration.  Tell SwitchProxy to use WebScarab.  Surf!  Change cookie information.  Change GET/POST information.

20 OWASP WebScarab Example 2 Web Services  Google search for inurl:”?wsdl”  SDL SDL  rver/ndfdXMLserver.php?wsdl rver/ndfdXMLserver.php?wsdl   eService/AWSECommerceService.wsdl eService/AWSECommerceService.wsdl

21 Other Cool Features of WebScarab  Site Spider  XSS/CSRF  Session ID Analysis  Fuzzer

22 Other FREE Proxy Software  Paros (  Through Paros's proxy nature, all HTTP and HTTPS data between server and client, including cookies and form fields, can be intercepted and modified.  Burp Suite (  Burp Suite is an integrated platform for attacking web applications. It contains all of the Burp tools with numerous interfaces between them designed to facilitate and speed up the process of attacking an application. All tools share the same robust framework for handling HTTP requests, authentication, downstream proxies, logging, alerting and extensibility.


Download ppt "By Josh Sokol. # whoami  Josh Sokol  B.S. in Computer Science  Cisco Certified Network Associate (CCNA)  SANS GIAC in Web Application."

Similar presentations

Ads by Google