1 / 28

Advanced SQL Injection with SQLol

Advanced SQL Injection with SQLol. Daniel Crowley. Whom?. Daniel Crowley Trustwave SpiderLabs @ dan_crowley dcrowley@trustwave.com. What?. SQLol A configurable SQLi test-bed A tool for Research Education Testing http://github.com/SpiderLabs/SQLol. Why?.

maja
Télécharger la présentation

Advanced SQL Injection with SQLol

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced SQL Injection with SQLol Daniel Crowley

  2. Whom? Daniel CrowleyTrustwave SpiderLabs @dan_crowleydcrowley@trustwave.com

  3. What? SQLolA configurable SQLi test-bedA tool for Research EducationTestinghttp://github.com/SpiderLabs/SQLol

  4. Why? Existing test-beds areInflexibleSimplifiedReal-world scenarios areVariedDangerous

  5. Why? Klingon version Heghlu'meHQaQjajvam

  6. Why? Shakespearean version I humbly posit that the current state(With much respect to work which does precede)Of test-beds made with vulns to demonstrateIs lacking some in flexibility.

  7. Why? Shakespearean version Two options are presented present-day,As far as when one deals with SQL:A blind injection (bool or time delay)And UNION statement hax (oh gee, how swell…)

  8. Why? Shakespearean version Imagine we could choose how queries readAnd how our input sanitizes, oh!How nimble and specific we could beTo recreate our ‘sploit scenarios.

  9. Why? Shakespearean version And thus is S-Q-L-O-L conceived:That we can study how to pwnDBs.

  10. Why? tl;dr version ‘Cuz.

  11. Selecting flaw configuration AIM

  12. Choose type of query

  13. Choose sanitization options

  14. Choose verbosity

  15. Challenges

  16. Manual and automated exploitation FIRE

  17. Manual

  18. Manual

  19. Automated

  20. HOW ABOUT A DEMONSTRATION?

  21. Deploying SQLol MAKE THE MAGIC HAPPEN

  22. Requirements Web server of your choice with PHPADODB-supported database

  23. Deployment Un-tar SQLol inside web root

  24. Deployment Modify includes/database.config.php

  25. Deployment Run database reset script

  26. Future features Custom sanitization routinesStored procedure injectionsDatabase privilege optionsMore challenges

  27. Like SQLol? Try XMLmao!Possible future test beds?cryptOMGrofLDAP(asLDAP)KTHXbypassXSSmh

  28. Questions? dcrowley@trustwave.comTwitter: @dan_crowleyCode:http://github.com/SpiderLabs/SQLolhttp://www.surveymonkey.com/sourceboston12

More Related