SlideShare a Scribd company logo
1 of 19
Download to read offline
INTRODUCTION TO
PENETRATION
TESTING WORDPRESS
Tiia Rantanen
Lead Developer
Zeeland Family
1
I
f
!
Go grab some coffee.
TIETOMURRON YRITTÄMINEN
ON RIKOS
https://www.finlex.fi/fi/laki/ajantasa/1889/18890039001#L38
Luku 38, rikoslaki
2
2
PENETRAATIOTESTAUS
3
- Järjestelmän tietoturvariskien ja hyökkäysvektoreiden löytäminen
- Eettinen hakkerointi (käytännössä kuitenkin tietomurron yrittämistä)
- Automaattista tai manuaalista
- musta-, harmaa- tai lasilaatikko
KALI LINUX YLEISESTI
4
- Debianiin pohjautuva Linux distro
- Käytetään forensiikkaan ja penetraatiotestaukseen
- Yli 600 esi-asennettua työkalua
- Voidaan käyttää asentamalla suoraan, live cd:ltä tai usb:ltä tai
virtuaalikoneella (esim. VirtualBox)
KALI LINUXIN TOIMINTATAVAT
5
- Etsii (ja hyödyntää) haavoittuvuuksia (esim XSS, injektio)
- Murtaa salasanoja
- Luo haittaohjelmia
- Haistelee ja tunnistaa verkkoja, laitteita ja ohjelmia
6
GRABBER
GRABBER
7
- Skannaa web-sovelluksia
- Tarkistaa black box -testauksena löytyykö sivustolta injektiolle haavoittuneita
kyselyitä tai XSS-haavoittuvuuksia.
- Kätevä omaan testaukseen
$ grabber --sql --xss --url http://wp.test
OWASP ZAP
8
8
OWASP ZAP
9
- Visuaalinen käyttöliittymä
- Löytää XSS:n ja injektion
- Ei hyödynnä haavoittuvuuksia
automaattisesti
Kuvassa XSS-haavoittuvuus.
NIKTO
10
10
NIKTO
11
$ nikto -h http://wp.test
- Skannaa koko palvelimen
- Haistelee ja voi löytää jotain mielenkiintoista
- Ei hyödynnä haavoittuvuuksia automaattisesti
WPSCAN
12
12
WPSCAN
13
- Etsii ja listaa tunnettuja olemassa olevia haavoittuvuuksia
- Tunnistaa lisäosia ja niiden versioita
- Murtaa salasanoja
- Voi käyttää ilman Kalia https://wpscan.org/
WPSCAN KOMENTOJA
14
$ wpscan --url http://wp.test
- Saa käyttää missä vain
- Tunnistaa:
- lisäosat
- haavoittuvuudet
- headerin tiedot
WPSCAN KOMENTOJA
15
$ wpscan --url http://wp.test --enumerate u
- Listaa tunnetut käyttäjät
- Saa käyttää mihin sivustoon tahansa
Voi yrittää estää, mutta silloin kannattaa ottaa apeista myös pois näkyvistä.
WPSCAN - DICTIONARY ATTACK
16
Dictionary attack on tietomurron yrittämistä, joten vain omille sivustoille ja
käyttöpalveluntarjoajan luvalla!
$ wpscan --url http://wp.test --wordlist /var/www/html/passwords.txt
--username testi
Parempiakin työkaluja tähän on, esim Hydra.
DEMO!
17
17
MUITA TYÖKALUJA
18
Tiedusteluun mistä tahansa domainista:
● whois ja host -komennot - domainnimien omistajat ja nimipalvelimet
● crt.sh - sertifikaattien rekisteröinnit ja yleinen haistelu
Varovasti ja vain luvan kanssa (omiin palveluihin ja palvelimiin):
● Mmap / MassCan - porttiskannaus
● Nessus - kaupallinen tuote, ilmainen omaan käyttöön
● WordPressin suoraan murtamiseen
○ WPForce https://github.com/n00py/WPForce Tehokas!
E
!
19

More Related Content

Featured

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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

WordCamp Turku 2018 - Introduction to penetration testing WordPress with Kali Linux.

  • 1. INTRODUCTION TO PENETRATION TESTING WORDPRESS Tiia Rantanen Lead Developer Zeeland Family 1 I f ! Go grab some coffee.
  • 3. PENETRAATIOTESTAUS 3 - Järjestelmän tietoturvariskien ja hyökkäysvektoreiden löytäminen - Eettinen hakkerointi (käytännössä kuitenkin tietomurron yrittämistä) - Automaattista tai manuaalista - musta-, harmaa- tai lasilaatikko
  • 4. KALI LINUX YLEISESTI 4 - Debianiin pohjautuva Linux distro - Käytetään forensiikkaan ja penetraatiotestaukseen - Yli 600 esi-asennettua työkalua - Voidaan käyttää asentamalla suoraan, live cd:ltä tai usb:ltä tai virtuaalikoneella (esim. VirtualBox)
  • 5. KALI LINUXIN TOIMINTATAVAT 5 - Etsii (ja hyödyntää) haavoittuvuuksia (esim XSS, injektio) - Murtaa salasanoja - Luo haittaohjelmia - Haistelee ja tunnistaa verkkoja, laitteita ja ohjelmia
  • 7. GRABBER 7 - Skannaa web-sovelluksia - Tarkistaa black box -testauksena löytyykö sivustolta injektiolle haavoittuneita kyselyitä tai XSS-haavoittuvuuksia. - Kätevä omaan testaukseen $ grabber --sql --xss --url http://wp.test
  • 9. OWASP ZAP 9 - Visuaalinen käyttöliittymä - Löytää XSS:n ja injektion - Ei hyödynnä haavoittuvuuksia automaattisesti Kuvassa XSS-haavoittuvuus.
  • 11. NIKTO 11 $ nikto -h http://wp.test - Skannaa koko palvelimen - Haistelee ja voi löytää jotain mielenkiintoista - Ei hyödynnä haavoittuvuuksia automaattisesti
  • 13. WPSCAN 13 - Etsii ja listaa tunnettuja olemassa olevia haavoittuvuuksia - Tunnistaa lisäosia ja niiden versioita - Murtaa salasanoja - Voi käyttää ilman Kalia https://wpscan.org/
  • 14. WPSCAN KOMENTOJA 14 $ wpscan --url http://wp.test - Saa käyttää missä vain - Tunnistaa: - lisäosat - haavoittuvuudet - headerin tiedot
  • 15. WPSCAN KOMENTOJA 15 $ wpscan --url http://wp.test --enumerate u - Listaa tunnetut käyttäjät - Saa käyttää mihin sivustoon tahansa Voi yrittää estää, mutta silloin kannattaa ottaa apeista myös pois näkyvistä.
  • 16. WPSCAN - DICTIONARY ATTACK 16 Dictionary attack on tietomurron yrittämistä, joten vain omille sivustoille ja käyttöpalveluntarjoajan luvalla! $ wpscan --url http://wp.test --wordlist /var/www/html/passwords.txt --username testi Parempiakin työkaluja tähän on, esim Hydra.
  • 18. MUITA TYÖKALUJA 18 Tiedusteluun mistä tahansa domainista: ● whois ja host -komennot - domainnimien omistajat ja nimipalvelimet ● crt.sh - sertifikaattien rekisteröinnit ja yleinen haistelu Varovasti ja vain luvan kanssa (omiin palveluihin ja palvelimiin): ● Mmap / MassCan - porttiskannaus ● Nessus - kaupallinen tuote, ilmainen omaan käyttöön ● WordPressin suoraan murtamiseen ○ WPForce https://github.com/n00py/WPForce Tehokas!