SlideShare a Scribd company logo
1 of 11
Web Güvenliğinde Otomasyon ve SQL Injection
.onur
Bölüm I – Giriş
Konuşmacının size onu dinlemeniz için geçerli
nedenler vermeye çalıştığı bölüm...
.onur

 Web Uygulaması Güvenliği üzerine çalışmayı
  seviyor
 Şu anda Mavituna Security Limited şirketinde
  Security Researcher olarak çalışıyor
Bölüm II – Mızmızlanma...
Konuşmacının güvenlik işinin aslında ne kadar sıkıcı
olabileceği hakkında mızmızlandığı kısım...
Uzun iş...

 Bir sistemi tek tip bir güvenlik açığı için test
  etme
   Bir sayfada 5 dinamik parametre
   50 dinamik sayfa
   10 farklı saldırı kombinasyon

               5 * 50 * 10 = 2.500
                farklı deneme gereksinimi.
SQL Injection Tespiti
                 * Tam anlamı ile bir SQL Injection Tespiti

 Filtre Bypass Kombinasyonları = 2
    Comment Out Kombinasyonları = 2
        Group Test Kombinasyonları = 4
              Integer Test = 1
              String Test = 1
              AND / OR kombinasyonları = 2
              Injection Pozisyon Kombinasyonları = 3


               (2 + 1 + 1) * 4 * 2 * 2 * 3 = 172 farklı olasılık
   Eğer veritabanı tipi belli değilse bunu 3+ ile tekrar çarpmamız gerekiyor.
  * Aslında tüm bu testlere rağmen hala bu açığı kaçırma şansımız var
Exploit Etme Süreci

 Her açık eşit değildir
 Bazı açıklar karşıdaki sistemde kod
  çalıştırmaya izin verirler
 Açığın tipine göre manuel exploit süreci
  uzayabilir ya da normal bir insan için imkansız
  bir hale gelebilir
   Tek tek istek yaparak Blind SQL Injection deneyen
    oldu mu? 10 kayıtlık bir tabloyu almak sadece(!)
    10.000 değişik HTTP isteği yapmanızı
    gerektiriyor...
Çözüm

    Bu işin sıkıcı olduğunu anladık peki çözüm nedir?

•   Hindistan’ a outsource etmek?
•   Ya da otomasyon...
Bölüm III – Eylem
Bu kadar sohbet muhabbetten sonra nihayet gerçek
konunun anlatıldığı bölüm...
Bölüm VII
Soru, ekleyeceğiniz bir şey?
TEŞEKKÜRLER

Onur Yılmaz, Ankara Yazılım Atölyesi – Mayıs 2012
              onur.yilmaz@owasp.org
            twitter / onuryilmazinfo

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Sql injection-otomasyon

  • 1. Web Güvenliğinde Otomasyon ve SQL Injection .onur
  • 2. Bölüm I – Giriş Konuşmacının size onu dinlemeniz için geçerli nedenler vermeye çalıştığı bölüm...
  • 3. .onur  Web Uygulaması Güvenliği üzerine çalışmayı seviyor  Şu anda Mavituna Security Limited şirketinde Security Researcher olarak çalışıyor
  • 4. Bölüm II – Mızmızlanma... Konuşmacının güvenlik işinin aslında ne kadar sıkıcı olabileceği hakkında mızmızlandığı kısım...
  • 5. Uzun iş...  Bir sistemi tek tip bir güvenlik açığı için test etme  Bir sayfada 5 dinamik parametre  50 dinamik sayfa  10 farklı saldırı kombinasyon 5 * 50 * 10 = 2.500 farklı deneme gereksinimi.
  • 6. SQL Injection Tespiti * Tam anlamı ile bir SQL Injection Tespiti  Filtre Bypass Kombinasyonları = 2  Comment Out Kombinasyonları = 2  Group Test Kombinasyonları = 4  Integer Test = 1  String Test = 1  AND / OR kombinasyonları = 2  Injection Pozisyon Kombinasyonları = 3 (2 + 1 + 1) * 4 * 2 * 2 * 3 = 172 farklı olasılık Eğer veritabanı tipi belli değilse bunu 3+ ile tekrar çarpmamız gerekiyor. * Aslında tüm bu testlere rağmen hala bu açığı kaçırma şansımız var
  • 7. Exploit Etme Süreci  Her açık eşit değildir  Bazı açıklar karşıdaki sistemde kod çalıştırmaya izin verirler  Açığın tipine göre manuel exploit süreci uzayabilir ya da normal bir insan için imkansız bir hale gelebilir  Tek tek istek yaparak Blind SQL Injection deneyen oldu mu? 10 kayıtlık bir tabloyu almak sadece(!) 10.000 değişik HTTP isteği yapmanızı gerektiriyor...
  • 8. Çözüm Bu işin sıkıcı olduğunu anladık peki çözüm nedir? • Hindistan’ a outsource etmek? • Ya da otomasyon...
  • 9. Bölüm III – Eylem Bu kadar sohbet muhabbetten sonra nihayet gerçek konunun anlatıldığı bölüm...
  • 11. TEŞEKKÜRLER Onur Yılmaz, Ankara Yazılım Atölyesi – Mayıs 2012 onur.yilmaz@owasp.org twitter / onuryilmazinfo

Editor's Notes

  1. BSQL Hacker ile Küçük bir SQL Injection demosu