SlideShare a Scribd company logo
1 of 45
Download to read offline
ZNAM TWOJE
HASŁA
I co z tym zrobisz?
Wersja 1. (2017-04)
Adrian `Vizzdoom` Michalczyk
Wszystkieprawazastrzeżone
Link doprezentacji:
http://adrian.michalczyk.website/znam-twoje-hasla
Rysunki, loga, nazwy firmowe/towarów należą/są zastrzeżone przez ich właścicieli i zostały użyte w celach informacyjnych.
O MNIE
Adrian „Vizzdoom” Michalczyk
Starszy inżynier ds. bezpieczeństwa
Future Processing Sp. z o.o.
Pentester, full-stack developer, pisarz…
„HackArt” Adrian Michalczyk
Amator papierowych RPGów, postapo,
fotografii i gier wideo
vizzdoom@gmail.com http://adrian.michalczyk.website
WIDZIAŁEM MILIONY
• 2 476 431 haseł (i skrótów haseł) z polskich stron
• i... 65 milionów z serwisów zagranicznych
• ~85% z nich zostało złamanych
HASŁO
STATYCZNE
Czym jest
Wersja 1. (2017-04)
PROCES KONTROLI DOSTĘPU
1. Identyfikacja (jestem administratorem)
2. Uwierzytelnienie (znam hasło administratora)
3. Autoryzacja(administrator może wszystko)
INFORMACJA UWIERZYTELNIAJĄCA
• coś, o czym podmiot wie
• coś, co podmiot ma
• coś, czym podmiot jest
HASŁO STATYCZNE („CO WIEM”)
• najpopularniejsza metoda uwierzytelniania
• krótki ciąg znaków, często wymyślany przez użytkownika
• charakterystyczny ciąg, łatwy do przejęcia
• może zostać zmienione, blokując dostęp do usługi
JEDNOKIERUNKOWE FUNKCJE SKRÓTU
MD4
SHA-1
MD5
SHA-2
SHA-3
…
JEDNOKIERUNKOWE FUNKCJE SKRÓTU
• szybkie
• nieodwracalne
• odporne na kolizje
SHA2_224("Adrian")=7cea0f70c11eff7458a3be58ad88daa0c071df152c5b05fc8211f6dd
SHA2_224("adrian")=ff704b568e5a7821927031d4c6203fc960570b6ec9ffea952eea7828
SHA2( )
MD5
85%
SHA
13%
Inne
2%
Popularne
funkcje
skrótu
Za: Łamanie haseł statycznych w aplikacjach internetowych –
analiza technik ataków oraz metod zabezpieczeń, Adrian Michalczyk, 2013 r.
Na podstawie analizy 49 591 594 skrótów haseł.
PRZECIĘTNA DŁUGOŚĆ HASŁA
DŁUGOŚĆ HASŁA PROCENT WSZYSTKICH HASEŁ
1-6 16%
1-8 54%
1-10 83%
1-14 97%
15+ 3%
POPULARNE WZORCE HASEŁ
WZORZEC POPULARNOŚĆ
[a-z] & [0-9] 41%
[a-z] 30%
[0-9] 19%
[A-Z] & [0-9] 2%
[a-z] & [A-Z] & [0-9] 2%
…
}90%
CHARAKTERYSTYKA SŁABEGO HASŁA
• plaintext
• hash MD5/SHA (98% przypadków hashy)
• krótsze niż 15 znaków (97% przypadków)
• złożone z małych liter i/lub cyfr (90% przypadków)
https://www.thc.org/thc-hydra/
https://www.youtube.com/watch?v=DwX2-VOruo0
https://hashcat.net/hashcat/
https://github.com/Hydraze/pack
https://github.com/Mebus/cupp
https://github.com/psypanda/hashID
GOOGLE HASH CRACKING
JAK
WYKRADA SIĘ
HASŁA
Wersja 1. (2017-04)
BŁĘDY BEZPIECZEŃSTWA APLIKACJI WWW
• wstrzykniecia kodu SQL
• cross-site scripting (XSS)
• local file Injection (LFI)
• https://www.owasp.org/index.php/Top_10_2013-Top_10
• …
INNE PRZYPADKI WYCIEKU DANYCH
• kradzież
• phishing
• przypadkowa publikacja danych
• odgadnięcie danych
Źródło
niebezpiecznik.pl
LEGALNE ZDOBYWANIE HASEŁ
Źródło: niebezpiecznik.pl
LEGALNE ZDOBYWANIE HASEŁ
• Google, Bing, Shodan…
• obserwacja for hackerskich (głównie w Torze)
LEGALNE ZDOBYWANIE HASEŁ
• Google, Bing, Shodan…
• obserwacja for hackerskich (głównie w Torze)
• nie udostępniaj danych dalej (Torrent!)
• nie włamuj się, nie szantażuj, nie sprawdzaj maila koleżanki
MOŻE JA TO PO PROSTU ZOSTAWIĘ TUTAJ…
• http://www.adeptus-mechanicus.com/
codex/hashpass/hashpass.php – kilka fajnych baz i statystyk
• https://forum.insidepro.com – czy pomożesz odzyskać hasło?
• https://haveibeenpwned.com – czy Twoje dane wyciekły?
PRAKTYCZNE
PORADY
Wersja 1. (2017-04)
MD5
SHA
Funkcje dedykowane
dla skrótów haseł
KORZYSTAJ Z DEDYKOWANYCH FUNKCJI
Funkcje do sprawdzania
integralności danych
BCRYPT
PBKDF2
szybkie,
ale szybkość to twój wróg
dynamiczna funkcja kosztu, sól,
przeciwdziałanie „crackowaniu”
Źródło: https://pl.pinterest.com/pin/434738170255431753/
MENADŻERY HASEŁ (OFFLINE)
NIGDY NIE WIESZ, KIEDY STRACISZ HASŁO
• używaj unikatowych haseł (oraz loginów)
• używaj skomplikowanych haseł
• włącz dodatkowe mechanizmy obrony (np. 2FA)
• nie ufaj bezgranicznie nawet menadżerowi haseł
• nie myśl „jakoś to będzie” (na to liczą przestępcy!)
SECURITY W FUTURE PROCESSING
• tworzenie bezpiecznej architektury
• audyty kodu źródłowego
• testy penetracyjne (WWW, mobile, sieci)
• doradztwo specjalistyczne
OFERTA PRACY/STAŻU DLA „BEZPIECZNIKA IT”
• realny rozwój umiejętności (mentoring)
• nowoczesne biuro w Gliwicach
• stabilność zatrudnienia
• benefity pracownicze
• praca z najlepszymi fachowcami
DOŁĄCZ DO ZESPOŁU SECURITY
https://www.future-processing.pl/job_offer/security-engineer
https://www.future-processing.pl/kariera/praktyki
Szukamy ludzi z podstawowym doświadczeniem w IT SECURITY!
Dołącz do nas wypełniając formularz z dopiskiem event security vizz
DZIĘKUJĘ ZA
UWAGĘ
amichalczyk@future-processing.com
vizzdoom@gmail.com
https://www.future-processing.pl/job_offer/security-engineer
Wersja 1. (2017-04)
Link do prezentacji:
http://adrian.michalczyk.website/znam-twoje-hasla

More Related Content

Featured

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
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Featured (20)

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
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

(2017) Znam twoje hasła. I co z tym zrobisz?