2. Contents
Web Scraping
Quick and Dirty SQL Injections
iPhones, WiFi and Evil Twins
Hacking Neighbours
Port scanning on Steroids
3. Introduction
Fredrik Nordberg Almroth (@Almroot)
Head application engineer and co-founder @ detectify.com
IT-security guy
Hacked Google. Twice.
Johan Edholm (@norrskal)
Server administrator and co-founder @ detectify.com
Worked with IT security analytics and anti-scraping
Studied system and network management in Linux
6. You press start!
Detectify emulates a hacking attack.
7. You get a report regarding your vulnerabilities.
8. Detectify is currently in closed beta!
You may try it for free using the beta code: HyperMine
http://detectify.com/
We love feedback! :)
9. What is data mining?
Data mining is mostly associated with statistics and machine learning.
...or discovery of patterns (intelligence) in large datasets...
No fancy algorithms! Just real life examples.
10. Web scraping
Grab content from websites
Host somewhere else
Study the data
Sell the data
17. SQL
Structured Query Language
Used to talk with databases. MySQL, PostgreSQL, etc...
18. How it's used
Websites use databases to maintain data.
The SQL queries often contain user-data.
You search on a website for a few keywords.
The odds of it being done by some SQL dialect is huge.
19. What could possibly go wrong?
User supplied data may alter the SQL query.
Example:
SELECT title FROM blog WHERE title = '$search_keywords';
If the searched data contain a quote, the SQL query will
break.
Attackers may gain other data than just the "blog title".
Usernames, passwords, emails, credit-cards...
23. Thousands of sites attacked daily.
Incredibly easy to get going.
Loads of guides and tools on the internet.
Devastating for the vulnerable organizations.
24. LIVE DEMO!
(This is the time we'll stand here and struggle with the equipment.)
31. Fun with WLAN
Works on everything
Windows, linux, Mac, Android, iPhone etc
Can be monitored
See which networks you are looking for and in which
order
42. Speaking of portscanning...
Spring 2010, the "spoon" project.
Got interested in packet crafting.
3000 packets/second
43. Sweden got 25.000.000 allocated IPv4-addresses.
...Results in a timeframe of 2 hours and 20 min to scan.
Resolve all servers on a given port in a Sweden.
Could of course be applied to any country.
44. Early 2011, "spoon2".
30000 packets/second. Ten times as fast!
From 2遜 hour, to approximate 15 minutes.
Same result.
45. Imagine a company. Like ACME Corp.
10 servers running "spoon2".
Get a fresh map of Sweden every 90 second.
100 servers, every 9'th second second.
46. ACME Corp got potential to become a global "pingdom".
Results in large scale data mining.
Would require loads of clever algorithms and
infrastructure to maintain it all though.
47. shodanhq.com
The firm shodanhq already crawls countries for open
services.
Identified ~438.000 web servers in Sweden alone.
Mostly devices found on local networks.
(routers / printers).
No security. Loads of vulnerable devices.
48. Eavesdrop your neighbour? No problem.
Why bother?
Can be applied to a whole country.
49. Summary
Web Scraping
Quick and Dirty SQL Injections
iPhones, WiFi and Evil Twins
Hacking Neighbours
Port scanning on Steroids