2. Disclaimer
This information is given for strictly
educational purposes only. It is not cool
(and is illegal) to hack sites that you dont
own or control. All the sites well hack tonight
have been setup speci鍖cally for the purpose
of hacking and contain no sensitive data.
3. Disclaimer #2
We will be conducting most of our
tests in real time. Weve tested them
extensively, but an any moment
something may go wrong. We
apologize in advance.
5. Tonight Well Do:
Brute Force Password Attacking
Man-In-The-Middle Attacks
Session Hijacking (via cookie jacking)
XSS
6. Brute Force Attacks
A common approach (brute-force attack) is to try
guesses repeatedly for the password and check them
against an available cryptographic hash of the
password.
7. Brute Forcing Wordpress
Wordpress has no built in Brute Force defense
You can install some plugins to reduce the risk of
a brute force attack.
Well be brute forcing Wordpress using WP-Scan
8. Preventing Brute Force
Attacks
Use strong passwords (also encourage users to
use strong passwords)
Use unique passwords
Limit login attempts by user/IP with email reset
13. How can someone get in
the middle?
WiFi Snif鍖ng/Wi鍖 Pineapple
Network Administrators
ISP/Governments
Datacenters
14. Session Hijacking
Session hijacking, also known as TCP session hijacking,
is a method of taking over a Web user session by
surreptitiously obtaining the session ID and
masquerading as the authorized user.
15. HTTP is a stateless protocol.
That means we have to reauthenticate
every time we make a request.
We do this using cookies:
16. Session Hijacking
User authenticates with username
and password
Once veri鍖ed, server sends
authentication cookie to user
On all future requests, user sends
the cookie to ensure that they are
authenticated
17. Session Hijacking
User authenticates with username
and password
Once veri鍖ed, server sends
authentication cookie to user
On all future requests, user sends
the cookie to ensure that they are
authenticated
If we can steal
this cookie,
we can become
the user.
20. XSS Attack
Cross-site scripting (XSS) is a type of computer security
vulnerability typically found in web applications. XSS
enables attackers to inject client-side script into web
pages viewed by other users.
21. XSS Attacks
The attacker installs a small snippet of malicious
javascript that runs on the client (your) browser
Attacks allow us to:
Steal cookies
Log keypresses
Trick the user into taking an action
23. Protecting From XSS
Developer:
Sanitize all inputs (use a LIBRARY!!!)
Sanitize all outputs
User
Browser provide some level or protection
Be skeptical of anything that asks you to enter
information