Orion Cassetto, Product Marketing Manager, Incapsula
A Network Administrator’s Guide to
Web App Security
Moderator:
Rich Nass, OpenSystems Media
Agenda
Housekeeping
Presentation
Questions and Answers
Presented by:
Orion Cassetto, Sr. Product Marketing Manager, Incapsula
A Network Administrator’s Guide to Web
App Security
Incapsula Webinar
•
Thanks for joining!
•
The webinar is about 30 minutes long
•
Questions will be answered during and after the
session
•
Please submit your questions using the chat
window
Speaker Bio – Orion Cassetto
• Sr. Product Marketing Manager for Incapsula
• Previously held product marketing positions at Imperva and Armorize Technologies
• Experienced in Web app security, and SaaS security solutions
• Holds degrees in Asian Studies, and Chinese Language from Washington State University
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
Overview
• Recent web security events
• Web Applications Threats and Common Attack Types
• How to defend your website against Today’s common Threats • Automated tools to secure to help you simplify website
Major Hacks of 2014
Heartbleed – the Epic SSL Crisis of 2014
• Heartbleed is a security bug that was disclosed in April of 2014
• It was present in the widely used Open SSL Cryptography
• When disclosed, around 17% of
the Internet's secure web servers was vulnerable • Why do I care?
> The vulnerability allowed for the theft of the servers' private
keys and users' session cookies and passwords
“Some might argue that [Heartbleed] is the worst vulnerability found since commercial traffic began to flow on the Internet.”
Shellshock Vulnerability
What is it?
1. Shellshock is a vulnerability that affects Bash (a.k.a Bourne-again Shell), the
most common command-line shell on Linux / Unix / Mac OS systems
2. Allows unauthenticated attacks to remotely execute code on affected
machines
What damage could this cause
your website?
• Hackers remotely executing code on your systems can result in
> Data theft
> Malware injection > Server hijacking
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
Distributed Denial Of Service (DDoS) Attacks
• DDoS attack are attacks where many infected computers band together to attack a single target
• These attacks exhaust network connections and server resources causing website outages
Web App Threats and Common attack Types
Use of Stolen Credentials Reigns Supreme
•
Use of stolen authentication
credentials by hackers is the number
one threat of 2013
•
Once stolen hackers can use
credentials at other websites to
increase the impact of a breach
•
Automated tools combined with
stolen password lists become a
dangerous combination
Websites Have Many Vulnerabilities
96%
of web applications
have vulnerabilities
96
%
WEB
APP
Sources:Cenzic, Inc. – Feb. 2014, Incapsula, Inc. –2013
13%
of websites can be
compromised automatically
SQL Injection – What it is and why it matters
• What is SQL Injection?
> SQL Injection attacks attempt to use application code to access or
corrupt database content
> It is accomplished by embedding SQL statements in user supplied Data > Example:
• What happens if a hacker exploits this vulnerability?
> They can access your database and it’s data.
• Basic Rule
> If it is going into your database, clean it up first!
'OR “=” The application was
expecting my name, but I entered an SQL Statement
Cross Site Scripting (XSS) – What it is and why it matters
• What is XSS?
> A type of attack in which hackers
inject scripts (like JavaScript) into otherwise trusted websites
• What happens if a hacker exploits an XSS vuln on my website?
> Stolen cookies or sessions
> Redirection to a malicious page
• Basic Rule
> If user supplied data is going into
your application, clean it up first!
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
15
Attacker inserts malicious
unfiltered code into an application
1
User visits the web page and malicious code is returned with the web page
2
Attacker gains control over user data or system via injected exploit
How DDoS Attacks Bring Down Websites
• DDoS attacks make your website completely inaccessible
Legitimate Traffic
Your Site
Your Internet Connection
• If website availability is important to you, then DDoS protection should be too
• Any application without a DDoS mitigation strategy is at risk
DDoS Traffic
Automated Clients are the Majority of Web Traffic
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
17
Over
61%
of all website traffic is non-human.
61.5%
Non-Human Traffic
38.5%
Human TrafficThe Impact of Bots on Website Security
• DDoS
• Site Scraping
• Comment Spam
• SEO Spam
• Fraud
• Vulnerability scanning
• Search Engine Crawling
• Website Health Monitoring
• Vulnerability Scanning
Defending your Websites and Applications
Use Multi-factor Authentication for Admin Areas
Problem
• Lost or stolen passwords allow hackers to bypass your security measure
Solution
• Secure Admin areas with multi-factor authentication
> SMS
> Google Authenticator
Identify Vulnerabilities
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
21
White-box and Black-box tools
Manual Code
Review
The White-box Approach
The white-box approach to finding vulnerabilities is to
Review Application Code
for vulnerabilities.
Manually
or
Can be performed:
Source Code
Analysis
Penetration
Testing
The White-box Approach
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
23
The Black-box approach to finding vulnerabilities is
to
Emulate Hacker Activity
by probing a website
for weaknesses.
Manually
or
Can be performed:
Web
Vulnerability
Scanning
Remediating Vulnerabilities at a Code Level
•
Known vulnerabilities should be remediated
•
What are the requirements for fixing vulnerabilities at the
code level?
> Access to application code
> Coding expertise and knowledge in Security
White-box Black-box
Manual Manual Code Review Penetration Testing
Automated Source Code Analysis VulnerabilityWeb Scanner
List of
Use a Web Application Firewall (WAF)
• WAFs provide similar protection as traditional network layer firewall but for a web application
• Using a WAF can protect website from application layer hacking attempts
• WAFs should be used in conjunction with traditional firewalls
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
Defend against DDoS attacks
• DDoS mitigation services are preferable to Mitigation Appliances • Overprovisioning bandwidth is expensive
Legitimate Traffic
Your Site
Your Internet Connection
DDoS Traffic
Your ISP
DDoS Mitigation Requires Specialized Tools or Services
• DDoS mitigation services are preferable to Mitigation Appliances • Overprovisioning bandwidth is expensive
• DDoS attacks should be mitigated close to their source (away from your network)
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
27 Legitimate Traffic Your Site Your Internet Connection DDoS Traffic Your ISP DDoS Mitigation Service
Identify and Block Bad Bots
• Implement a solution which can block bad bots to prevent
> Comment Spam > Site Scraping
> Vulnerability Scanning > Automated SEO Poisoning
• Bot Mitigation can be
> Standalone service or appliance > Part of other tools like a WAF
• Web App Firewall
• DDoS Mitigation
• Bot Mitigation
• Web Vulnerability
Scanner
• Source Code
Analysis
• Manual Code
Review
• Password Security
• 2 Factor
Authentication
• Security
Requirements
• Design
• Architecture
When To Implement Various Security Tools
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
29
PLANNING
CODING
Finding the Right Tools
Commercial Open Source / Free
WAF
• Incapsula
• Imperva
• F5
• Mod Security
Web Vulnerability Scanner
• Whitehat Security
• Nessus • Acunetix • Nikto • Wapiti • Qualys DDoS Mitigation • Incapsula • Prolexic • Neustar
• Not available /
Not advised
Source Code Analysis
• Fortify
• IBM Appscan
• Parasoft
Website Security and Performance in Minutes with a
Simple DNS Change
Incapsula, Inc. / Proprietary and Confidential. All Rights Reserved.
31
By routing website traffic through the Incapsula network,
malicious traffic is blocked, and legitimate traffic is accelerated.
Incapsula Network Your Website
Legitimate Traffic
For a Free Trial of Incapsula visit us at
Please send follow up questions to [email protected]
Audience Q & A
Orion Cassetto,Product Marketing Manager, Incapsula
Thanks for joining us
Event archive available at:
http://ecast.opensystemsmedia.com/ E-mail us at: [email protected]