Web Hacking Basics PDF
Web Hacking Basics PDF
Web Hacking Basics PDF
Social Media
Webmail
Ecommerce
Online Banking
Corporate Intranet sites
Customer & Project Management
Bug tracking
Routers & Firewalls
Printers
Gaming Consoles
Database Management
Filesharing Clients
Virtual Machine Management
Everywhere
Rule #1
Never trust the client, the server, or the
network.
All inputs must be validated. All interactions with other parties must
be assumed to be malicious until proven otherwise.
Rule #2
Attackers have unpredictable motives, skills,
and targets. Attackers are therefore
unpredictable.
Never assume that an attacker cannot find a target, cannot find a way
to exploit it, or would choose not to attack a target.
Attacker Motives
Defacement
Network Resources
System Resources
Locally Stored Data
Source Code
User Traffic
User Accounts
Administrator Privileges
Vulnerabilities
Server Attacks
Client Attacks
Malicious code is served up and
executed on the client-side.
Next logical step after server
attacks.
Compromises the system or web
browser.
Defenses are improving, but there
is no reliable proactive defense.
Keep patches up to date.
Trojans, Malware
Drive-By Download
Parsing Flaws in media
ActiveX
PDF
Flash
Images
Movies
No Website Is Trusted
The old Dont browse untrusted sites
mantra is meaningless.
Application Attacks
Goal-oriented
Focused on abusing application
logic, not compromising systems
User Attacks
Users are predictable and easily
manipulated
Forcing user action can
circumvent controls
Classic cons and scams can be
easily repurposed for the web
Clickjacking
Password Guessing
Phishing
Social Engineering
Cross-site Scripting and Crosssite Request Forgery are a unique
combination of User, Browser,
Server, and Application attacks.
Network Attacks
Are not unique to web security
Have unique consequences
Traffic Sniffing
DNS Poisoning
ARP Poisoning
SSL Attacks
Rule #1
Never trust the client, the server, or the
network.
All inputs must be validated. All interactions with other parties must
be assumed to be malicious until proven otherwise.