SlideShare a Scribd company logo
Web Penetration
and Hacking Tools
David Epler
Security Architect
depler@aboutweb.com
About Me
• Application Developer originally
• Contributor to Learn CF In a Week
• OWASP Individual Member
• OWASP Zed Attack Proxy (ZAP)
Evangelist
• Security Certifications - CEH, GWAPT
About the Session
• What will NOT be covered
• How to fix your code
• How to secure your OS, Web Server,
Database Server, or Application Server
About the Session
• What will be covered
• Recent events in security and hacking
• Demonstration of various penetration
testing tools used against web
applications
• Quick overview of Web Application
Firewalls and Web Vulnerability
Scanners
About the Demos
• Virtual Machines, not live servers
• BackTrack/Kali Linux
• OWASP Broken Web Apps
• Windows 7 & Server 2008 R2

DO NOT perform any activities shown on
any network/system or network connected
device without proper permission!
205Average number of days a network is
compromised by a hacker before discovery

Down from 229 days in 2014 as reported by
Mandiant M-Trends Report
Broken SSL/TLS
goto$fail;$
goto$fail;
Heartbleed
• At disclosure 615,268 of the Internet's
secure web servers were vulnerable
• May 8, 2014 - 318,239
• June 21, 2014 - 309,197
• Contributed to Community Health
Systems theft of 4.5 million patient
records
Qualys SSL Server Test
https://www.ssllabs.com/ssltest/
Web hackingtools 2015
Web hackingtools 2015
Web hackingtools 2015
Web hackingtools 2015
OWASP Top Ten (2013)
A1: Injection
A6: Sensitive Data
Exposure
A3: Cross-Site
Scripting (XSS)
A2: Broken
Authentication
and Session
Management
A4: Insecure
Direct Object
References
A8: Cross Site
Request Forgery
(CSRF)
A5: Security
Misconfiguration
A7: Missing
Function Level
Access Controls
A9: Using
Components with
Known
Vulnerabilities
A10: Unvalidated
Redirects and
Forwards
Vulnerability Prevalence
from VeraCode SoSS
Cross Site Scripting!
(XSS)
SQL Injection
Information Leakage
Directory Traversal
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
47%
29%
27%
60%
56%
60%
30%
61%
49%
58%
31%
57%
22%
62%
72%
95%
ColdFusion Java .NET PHP
Things you’ll never
see in logs
• Internet search engines used for passive
reconnaissance
• Google Hacks
• Internet Archive
• Netcraft
• Alexa
• Shodan
• Not quite passive but can be hard to spot
• Web Crawler/Spider/Mirroring
OWASP Top Ten (2013)
A1: Injection
A6: Sensitive Data
Exposure
A3: Cross-Site
Scripting (XSS)
A2: Broken
Authentication
and Session
Management
A4: Insecure
Direct Object
References
A8: Cross Site
Request Forgery
(CSRF)
A5: Security
Misconfiguration
A7: Missing
Function Level
Access Controls
A9: Using
Components with
Known
Vulnerabilities
A10: Unvalidated
Redirects and
Forwards
OWASP Top Ten (2013)
A1: Injection
A6: Sensitive Data
Exposure
A3: Cross-Site
Scripting (XSS)
A2: Broken
Authentication
and Session
Management
A4: Insecure
Direct Object
References
A8: Cross Site
Request Forgery
(CSRF)
A5: Security
Misconfiguration
A7: Missing
Function Level
Access Controls
A9: Using
Components with
Known
Vulnerabilities
A10: Unvalidated
Redirects and
Forwards
Web hackingtools 2015
• Stacked Queries
• http://www.victim.com/products.asp?id=1;exec
+master..xp_cmdshell+'dir'
• Tautology
• http://www.victim.com/logon.aspx?username=admin'
or 1=1;--
• UNION Statements
• http://www.victim.com/products.asp?id=12+UNION
+SELECT
+userid,first_name,second_name,password+FROM
+customers
• Blind
SQL Injection (SQLi)
Demo
• Tool
• sqlmap
• Target
• OWASP Broken Web Apps
• Apache 2.2.14 + PHP 5.3.2
• MySQL 5.1.41
sqlmap Demo
• http://www.youtube.com/watch?
v=8Id6XUOcw3E
Web hackingtools 2015
Adobe Password
Analysis
From http://nakedsecurity.sophos.com/2013/11/04/anatomy-of-a-password-
disaster-adobes-giant-sized-cryptographic-blunder/
Adobe Password
Analysis
From http://nakedsecurity.sophos.com/2013/11/04/anatomy-of-a-password-
disaster-adobes-giant-sized-cryptographic-blunder/
Adobe Password
Analysis
From http://nakedsecurity.sophos.com/2013/11/04/anatomy-of-a-password-
disaster-adobes-giant-sized-cryptographic-blunder/
Password Cracking
• Techniques
• Rainbow Tables
• Brute Force
• Dictionary/Word Lists
• Hybrid
!
• RockYou.com (Dec 2009)
• 14.3 million unique clear text passwords
25 GPU HPC Cluster
• Presented by Jeremi Gosney at
Passwords^12 Conference
• 5 - 4U Servers
• 25 Radeon GPUs
• Hashcat
Reported Benchmarks of
25 GPU HPC cluster
MD5
SHA1
BCrypt (05)
Attempts per Second
0 100,000,000,000 200,000,000,000
71,000
63,000,000,000
180,000,000,000
Gosney vs
LinkedIn Password Hashes
PercentCracked
0%
20%
40%
60%
80%
100%
30 seconds 2 hours 1 day 6 days
90%
64%
53%
21%
Web hackingtools 2015
OWASP Top Ten (2013)
A3: Cross-Site
Scripting (XSS)
A1: Injection
A6: Sensitive Data
Exposure
A2: Broken
Authentication
and Session
Management
A4: Insecure
Direct Object
References
A8: Cross Site
Request Forgery
(CSRF)
A5: Security
Misconfiguration
A7: Missing
Function Level
Access Controls
A9: Using
Components with
Known
Vulnerabilities
A10: Unvalidated
Redirects and
Forwards
OWASP Top Ten (2013)
A3: Cross-Site
Scripting (XSS)
A1: Injection
A6: Sensitive Data
Exposure
A2: Broken
Authentication
and Session
Management
A4: Insecure
Direct Object
References
A8: Cross Site
Request Forgery
(CSRF)
A5: Security
Misconfiguration
A7: Missing
Function Level
Access Controls
A9: Using
Components with
Known
Vulnerabilities
A10: Unvalidated
Redirects and
Forwards
• Stored
• Attacker’s script is stored on the server
(e.g. blog comments, forums) and later
displayed in HTML pages, without proper
filtering
• Reflected
• HTML page reflects user input data back to
the browser, without sanitizing the response
• DOM Based
Cross-Site Scripting (XSS)
Cross-Site Scripting (XSS)
Demo
• Tools
• BeEF (Browser Exploitation Framework)
• Metasploit
• Target
• OWASP Broken Web Apps
• Apache 2.2.14 + PHP 5.3.2
• Victim
• Windows 7
• IE 9 + Java 7 Plugin
BeEF Demo
• http://www.youtube.com/watch?
v=U27bEwZixN4
OWASP Top Ten (2013)
A5: Security
Misconfiguration
A4: Insecure
Direct Object
References
A2: Broken
Authentication
and Session
Management
A1: Injection
A6: Sensitive Data
Exposure
A3: Cross-Site
Scripting (XSS)
A8: Cross Site
Request Forgery
(CSRF)
A7: Missing
Function Level
Access Controls
A9: Using
Components with
Known
Vulnerabilities
A10: Unvalidated
Redirects and
Forwards
OWASP Top Ten (2013)
A5: Security
Misconfiguration
A4: Insecure
Direct Object
References
A2: Broken
Authentication
and Session
Management
A1: Injection
A6: Sensitive Data
Exposure
A3: Cross-Site
Scripting (XSS)
A8: Cross Site
Request Forgery
(CSRF)
A7: Missing
Function Level
Access Controls
A9: Using
Components with
Known
Vulnerabilities
A10: Unvalidated
Redirects and
Forwards
• Stolen Data Headers from the Federal Reserve Hack
(Feb 2013)
• Downed US vuln catalog infected for at least TWO
MONTHS (March 2013)
• Web host Linode, hackers clash over credit-card raid
claim (April 2013)
• Washington Court Data Breach Exposes 160K SSNs
(May 2013)
• Alleged Hacker Indicted In New Jersey For Data
Breach Conspiracy Targeting Government Agency
Networks (Oct 2013)
Notable ColdFusion
Hacks in 2013
Web hackingtools 2015
Demo
• Tool
• Published Exploit Script
• Target
• Windows Server 2008 R2
• IIS 7.5 + ColdFusion 10 w/ Update 9
• Secure Profile Enabled
Exploit Script Demo
• http://www.youtube.com/watch?
v=XsQWK_UaASk
If you don’t secure your stuff, you are just making it easy for hackers 

and they DON’T mostly come at night.
So should you just turn
everything off and unplug it?
• Web application firewall (WAF) are used to
protect web applications without the need to
modify them
• Can be an appliance, server plugin, or filter
• Provide an additional layer of security
• Can react faster than changing application
code
• More common in front of legacy
applications
Web Application Firewall
• Open source, free web application firewall
• Apache, IIS 7, Nginx, reverse proxy
• Security Models
• Negative Security Model
• Positive Security Model
• Virtual Patching
• Extrusion Detection Model
• OWASP ModSecurity Core Rule Set Project
ModSecurity
• Provide automated way to test web
application for vulnerabilities
• Static vs Dynamic Analysis
• Can be challenging to setup
authentication and session management
• Can’t improvise, every web application is
unique
• Usually integrated as part of Secure
Software Development Life Cycle (SSDLC)
Web Vulnerability Scanners
Book
The Web Application Hacker's
Handbook: Finding and Exploiting
Security Flaws, Second Edition
by  Dafydd Stuttard and Marcus Pinto"
John Wiley & Sons © 2012 (912 pages)"
ISBN: 9781118026472"
• Blog: http://www.dcepler.net
• Email: depler@aboutweb.com
• Twitter: @dcepler
Q&A - Thanks
• Tools
• sqlmap
• BeEF
• Metasploit
!
• Virtual Machines/Live CDs
• Kali Linux
• Samurai Web Testing Framework
• OWASP Broken Web Apps
Resources
• Security Benchmarks/Guides
• CIS Benchmarks
• DISA STIG
• Microsoft Security Compliance Manager
!
• Securing/Patching ColdFusion
• ColdFusion 9 Server Lockdown Guide (pdf)
• ColdFusion 10 Server Lockdown Guide (pdf)
• ColdFusion 11 Server Lockdown Guide (pdf)
• Unofficial Updater 2
Resources
• OWASP Top Ten 2013
• Shodan: The scariest search engine on
the Internet
• Report: Crematoriums To Caterpillars
Shodan Reveals Internet Of Things
• Google Hacking Database (GHDB)
Resources
• Web Application Firewalls
• Commercial
• Trustwave - WebDefend Web Application Firewall
• Cisco - ACE Web Application Firewall
• Citrix - NetScaler App Firewall
• F5 - BIG-IP Application Security Manager
• Privacyware - ThreatSentry IIS Web Application Firewall
• Fuseguard - Foundeo
• Free
• Trustwave - ModSecurity
• Microsoft - URLScan 3.1
Resources
• Web Vulnerability Scanners
• Dynamic Scanner
• Cenzic Hailstorm
• HP WebInspect
• IBM Security AppScan
• Static Scanner
• HP Fortify Static Code Analyzer
• VeraCode Static
• Intercepting Proxies
• Burp Suite
• OWASP Zed Attack Proxy (ZAP)
Resources
Books
SQL Injection Attacks and Defense,
Second Edition
by  Justin Clarke"
Syngress Publishing © 2012 (576 pages) "
ISBN: 9781597499637
Web Application Obfuscation: '-/
WAFs..dEvasion..dFilters//alert (/
Obfuscation/)-'
by  Mario Heiderich, Eduardo AlbertoVela
Nava, Gareth Heyes and David Lindsay"
Syngress Publishing © 2011 (290 pages)"
ISBN: 9781597496049
XSS Attacks: Cross Site Scripting
Exploits and Defense
by  Jeremiah Grossman, Robert “RSnake”
Hansen, Petko “pdp” D. Petkov and Anton
Rager"
Syngress Publishing © 2007 (479 pages)"
ISBN: 9781597491549"
Penetration Tester's Open Source
Toolkit, Third Edition
by  Jeremy Faircloth"
Syngress Publishing © 2011 (465 pages)
ISBN: 9781597496278
• Free Commercial Reports
• Mandiant
• M-Trends 2015 (April 2015)
• APT1: Exposing One of China’s Cyber
Espionage Units (Feb 2013)
!
• VeraCode
• State of Software Security Report
Volume 5 (April 2013)
References
• Heartbleed
• More than 300k systems 'still
vulnerable' to Heartbleed attacks
• Heartbleed Hack Still a Threat Six
Months After Discovery
References
• Target
• Sources: Target Investigating Data
Breach
• Email Attack on Vendor Set Up Breach
at Target
• Data breach hits Target’s profits, but
that’s only the tip of the iceberg
References
• Home Depot
• Home Depot Hit By Same Malware as
Target
• Home Depot: 56M Cards Impacted,
Malware Contained
References
• Adobe Password Hack
• Adobe Breach Impacted At Least 38
Million Users
• How an epic blunder by Adobe could
strengthen hand of password crackers
• Anatomy of a password disaster -
Adobe's giant-sized cryptographic blunder
• Top 100 Adobe Passwords
• XKCD Crossword Puzzle
References
• Password Cracking
• Jeremi Gosney - Password Cracking HPC - Passwords^12 Presentation
(pdf)
• Jens Steube - Exploiting a SHA1 Weakness in Password Cracking -
Passwords^12 Presentation (pdf)
• New 25 GPU Monster Devours Passwords In Seconds
• Oh great: New attack makes some password cracking faster, easier than
ever
• Why passwords have never been weaker—and crackers have never
been stronger
• The Final Word on the LinkedIn Leak
• How I became a password cracker
• Project Erebus v2.5
• SHA-1 crypto protocol cracked using Amazon cloud computing resources
References
• Recent Hacks
• SQL Injection Flaw Haunts All Ruby on Rails Versions (Jan 2013)
• Critics: Substandard crypto needlessly puts Evernote accounts at
risk (March 2013)
• Huge attack on WordPress sites could spawn never-before-seen
super botnet (April 2013)
• Why LivingSocial’s 50-million password breach is graver than you
may think (April 2013)
• Yahoo! Blind SQL Injection could lead to data leakage (April 2013)
• Common Web Vulnerabilities Plague Top WordPress Plug-Ins
(June 2013)
• WordPress Fixes Remote Code Execution Flaw With 3.6.1
Release (Sept 2013)
References
• Recent Hacks
• New York Times Hacked Again, This Time Allegedly by Chinese (Jan
2013)
• AP Twitter feed hacked; no attack at White House (April 2013)
• Dev site behind Apple, Facebook hacks didn’t know it was booby-
trapped (Feb 2013)
• IE 8 Zero Day Found as DoL Watering Hole Attack Spreads to Nine
Other Sites (May 2013)
• Hackers exploit critical IE bug; Microsoft promises patch (Sept 2013)
• Many Flash, Java Users Running Older, Vulnerable Versions (Sept
2013)
• Adobe To Announce Source Code, Customer Data Breach (Oct
2013)
• Thousands of Sites Hacked Via vBulletin Hole (Oct 2013)
References
• XSS Attacks
• Persistent XSS Vulnerability Plagues WordPress Plugin (April
2015)
• Researcher Gets $5,000 for XSS Flaw in Google Apps Admin
Console (Jan 2015)
• Drupal Patches XSS Vulnerability in Spam Module (Sept 2014)
• Details on Patched Microsoft Office 365 XSS Vulnerability
Disclosed (Jan 2014)
• Security company says Nasdaq waited two weeks to fix XSS
flaw (Sept 2013)
• Apple Store Vulnerable to XSS (June 2013)
• PayPal Site Vulnerable to XSS Attack (May 2013)
References
Shellshock
• Series of vulnerabilities in how Bash
processes environment variables
• CVE-2014-6271, CVE-2014-6277,
CVE-2014-6278, CVE-2014-7169,
CVE-2014-7186, CVE-2014-7187
• Allows for remote code execution
• Shellshock
• What is #shellshock?
• RedHat: Mitigating the shellshock
vulnerability (CVE-2014-6271 and
CVE-2014-7169)
• How do I secure Apache against the
Bash Shellshock vulnerability?
• Shellshock Exploits Spreading Mayhem
Botnet Malware
References

More Related Content

What's hot (19)

PPTX
[Wroclaw #7] AWS (in)security - the devil is in the detail
OWASP
 
PDF
Security Testing using ZAP in SFDC
Thinqloud
 
PPTX
The OWASP Zed Attack Proxy
Aditya Gupta
 
PDF
An Attacker's View of Serverless and GraphQL Apps - Abhay Bhargav - AppSec Ca...
Abhay Bhargav
 
PPTX
CSS 17: NYC - Stories from the SOC
Alert Logic
 
PPTX
Application Security Tools
Lalit Kale
 
PPTX
Security Testing - Zap It
Manjyot Singh
 
PDF
Zed Attack Proxy (ZAP)
JAINAM KAPADIYA
 
PPTX
CSS 17: NYC - Protecting your Web Applications
Alert Logic
 
PPTX
Web & Cloud Security in the real world
Madhu Akula
 
PPTX
DVWA(Damn Vulnerabilities Web Application)
Soham Kansodaria
 
PDF
OWASP Top 10 Proactive Controls 2016 - PHP Québec August 2017
Philippe Gamache
 
PPTX
CSS 17: NYC - Realities of Security in the Cloud
Alert Logic
 
PDF
[Wroclaw #7] Why So Serial?
OWASP
 
KEY
DVWA BruCON Workshop
testuser1223
 
PDF
[OWASP Poland Day] Web App Security Architectures
OWASP
 
PPTX
Zap vs burp
Tomasz Fajks
 
PPTX
Ten Commandments of Secure Coding
Mateusz Olejarka
 
PDF
CSS17: Houston - Protecting Web Apps
Alert Logic
 
[Wroclaw #7] AWS (in)security - the devil is in the detail
OWASP
 
Security Testing using ZAP in SFDC
Thinqloud
 
The OWASP Zed Attack Proxy
Aditya Gupta
 
An Attacker's View of Serverless and GraphQL Apps - Abhay Bhargav - AppSec Ca...
Abhay Bhargav
 
CSS 17: NYC - Stories from the SOC
Alert Logic
 
Application Security Tools
Lalit Kale
 
Security Testing - Zap It
Manjyot Singh
 
Zed Attack Proxy (ZAP)
JAINAM KAPADIYA
 
CSS 17: NYC - Protecting your Web Applications
Alert Logic
 
Web & Cloud Security in the real world
Madhu Akula
 
DVWA(Damn Vulnerabilities Web Application)
Soham Kansodaria
 
OWASP Top 10 Proactive Controls 2016 - PHP Québec August 2017
Philippe Gamache
 
CSS 17: NYC - Realities of Security in the Cloud
Alert Logic
 
[Wroclaw #7] Why So Serial?
OWASP
 
DVWA BruCON Workshop
testuser1223
 
[OWASP Poland Day] Web App Security Architectures
OWASP
 
Zap vs burp
Tomasz Fajks
 
Ten Commandments of Secure Coding
Mateusz Olejarka
 
CSS17: Houston - Protecting Web Apps
Alert Logic
 

Viewers also liked (20)

DOC
L
Hùng Htd
 
PPTX
Dreaded Embedded sec360 5-17-16
Barry Caplin
 
PPTX
Social Media for building a pipeline for health professions
Dan Cohen
 
PPTX
Front cover...
andriusfloria
 
TXT
8 khoanh khac ban nen cuoi
dinhnam0006
 
PPT
Baseball Traditions
Dan Ashton
 
PDF
Ux och design som konverterar del 2
Wipcore
 
PDF
5 Common Mistakes That Could Kill Your Business Before You've Even Started
Carly Klineberg
 
PDF
Realtime T12(1)
Security System Mart.com
 
PDF
How 12 Business Leaders Got to the C-Suite
Mashable
 
PPTX
Slide 1
Roberto Bigini
 
PDF
Guia de estudio escuela y contexto social
vicentealcaide92
 
PDF
Creating the bigger picture - Die Designvision in agilen Projekten
Silke Kreiling
 
DOCX
How digital is impacting market strategy
MANSI DHINGRA
 
PPTX
BPStudy #104 | IoTプラットフォームSORACOMと その開発の裏側
SORACOM,INC
 
PPTX
Strategic Management Chapter 1
GOVIND KUMAR MISHRA
 
PDF
Changes in Family Wealth, 1989 to 2013
Congressional Budget Office
 
PPTX
Idea Pitch
daholstead
 
PPTX
ДОПОМОГА ДИТИНІ З ПОРУШЕННЯМИ ЗОРУ
Дмитрий Погорелов
 
PPTX
LEAP-In: Hack your org
Brant Cooper
 
Dreaded Embedded sec360 5-17-16
Barry Caplin
 
Social Media for building a pipeline for health professions
Dan Cohen
 
Front cover...
andriusfloria
 
8 khoanh khac ban nen cuoi
dinhnam0006
 
Baseball Traditions
Dan Ashton
 
Ux och design som konverterar del 2
Wipcore
 
5 Common Mistakes That Could Kill Your Business Before You've Even Started
Carly Klineberg
 
Realtime T12(1)
Security System Mart.com
 
How 12 Business Leaders Got to the C-Suite
Mashable
 
Guia de estudio escuela y contexto social
vicentealcaide92
 
Creating the bigger picture - Die Designvision in agilen Projekten
Silke Kreiling
 
How digital is impacting market strategy
MANSI DHINGRA
 
BPStudy #104 | IoTプラットフォームSORACOMと その開発の裏側
SORACOM,INC
 
Strategic Management Chapter 1
GOVIND KUMAR MISHRA
 
Changes in Family Wealth, 1989 to 2013
Congressional Budget Office
 
Idea Pitch
daholstead
 
ДОПОМОГА ДИТИНІ З ПОРУШЕННЯМИ ЗОРУ
Дмитрий Погорелов
 
LEAP-In: Hack your org
Brant Cooper
 

Similar to Web hackingtools 2015 (20)

PDF
Common Web Application Attacks
Ahmed Sherif
 
PPTX
Web application Security tools
Nico Penaredondo
 
ODP
Hunting Security Bugs in Modern Web Applications
Toe Khaing
 
ODP
The OWASP Top 10 Most Critical Web App Security Risks - TdT@Cluj #20
Tabăra de Testare
 
PPT
OWASP App Sec US - 2010
Aditya K Sood
 
PDF
Web Security
KHOANGUYNNGANH
 
PDF
Web Security: What's wrong, and how the bad guys can break your website
Andrew Sorensen
 
PDF
Web Application Security: Introduction to common classes of security flaws an...
Thoughtworks
 
PDF
Tw noche geek quito webappsec
Thoughtworks
 
PDF
Alert logic anatomy owasp infographic
CMR WORLD TECH
 
PPTX
OWASP top 10-2013
tmd800
 
PPT
OWASP_Top_10_Introduction_and_Remedies_2017.ppt
jangomanso
 
PPTX
Vulnerabilities in modern web applications
Niyas Nazar
 
PPTX
Owasp top 10 Vulnerabilities by cyberops infosec
Cyberops Infosec LLP
 
PPTX
Web application vulnerability assessment
Ravikumar Paghdal
 
PPTX
Introduction to security testing raj
Rajakrishnan S, MCA,MBA,MA Phil,PMP,CSM,ISTQB-Test Mgr,ITIL
 
PDF
Security Awareness
Lucas Hendrich
 
PDF
Owasp top 10_openwest_2019
Sean Jackson
 
PDF
Web Application Security Guide by Qualys 2011
nat page
 
PDF
Qg was guide
nat page
 
Common Web Application Attacks
Ahmed Sherif
 
Web application Security tools
Nico Penaredondo
 
Hunting Security Bugs in Modern Web Applications
Toe Khaing
 
The OWASP Top 10 Most Critical Web App Security Risks - TdT@Cluj #20
Tabăra de Testare
 
OWASP App Sec US - 2010
Aditya K Sood
 
Web Security
KHOANGUYNNGANH
 
Web Security: What's wrong, and how the bad guys can break your website
Andrew Sorensen
 
Web Application Security: Introduction to common classes of security flaws an...
Thoughtworks
 
Tw noche geek quito webappsec
Thoughtworks
 
Alert logic anatomy owasp infographic
CMR WORLD TECH
 
OWASP top 10-2013
tmd800
 
OWASP_Top_10_Introduction_and_Remedies_2017.ppt
jangomanso
 
Vulnerabilities in modern web applications
Niyas Nazar
 
Owasp top 10 Vulnerabilities by cyberops infosec
Cyberops Infosec LLP
 
Web application vulnerability assessment
Ravikumar Paghdal
 
Security Awareness
Lucas Hendrich
 
Owasp top 10_openwest_2019
Sean Jackson
 
Web Application Security Guide by Qualys 2011
nat page
 
Qg was guide
nat page
 

More from devObjective (20)

PDF
Lets git together
devObjective
 
PDF
Raspberry Pi a la CFML
devObjective
 
PDF
Command box
devObjective
 
PDF
Effective version control
devObjective
 
PDF
Front end-modernization
devObjective
 
PDF
Using type script to build better apps
devObjective
 
PDF
Csp and http headers
devObjective
 
PDF
Who owns Software Security
devObjective
 
PDF
Naked and afraid Offline mobile
devObjective
 
PDF
Node without servers aws-lambda
devObjective
 
PDF
I am-designer
devObjective
 
PDF
Garbage First and You!
devObjective
 
PDF
Fusion Reactor
devObjective
 
PDF
Paying off emotional debt
devObjective
 
PPTX
My SQL Skills Killed the Server
devObjective
 
PDF
Authentication Control
devObjective
 
PDF
Multiply like rabbits with rabbit mq
devObjective
 
PPTX
Preso slidedeck
devObjective
 
PDF
Intro to TDD & BDD
devObjective
 
PDF
Rethink Async with RXJS
devObjective
 
Lets git together
devObjective
 
Raspberry Pi a la CFML
devObjective
 
Command box
devObjective
 
Effective version control
devObjective
 
Front end-modernization
devObjective
 
Using type script to build better apps
devObjective
 
Csp and http headers
devObjective
 
Who owns Software Security
devObjective
 
Naked and afraid Offline mobile
devObjective
 
Node without servers aws-lambda
devObjective
 
I am-designer
devObjective
 
Garbage First and You!
devObjective
 
Fusion Reactor
devObjective
 
Paying off emotional debt
devObjective
 
My SQL Skills Killed the Server
devObjective
 
Authentication Control
devObjective
 
Multiply like rabbits with rabbit mq
devObjective
 
Preso slidedeck
devObjective
 
Intro to TDD & BDD
devObjective
 
Rethink Async with RXJS
devObjective
 

Recently uploaded (20)

PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
The Future of Artificial Intelligence (AI)
Mukul
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 

Web hackingtools 2015

  • 1. Web Penetration and Hacking Tools David Epler Security Architect [email protected]
  • 2. About Me • Application Developer originally • Contributor to Learn CF In a Week • OWASP Individual Member • OWASP Zed Attack Proxy (ZAP) Evangelist • Security Certifications - CEH, GWAPT
  • 3. About the Session • What will NOT be covered • How to fix your code • How to secure your OS, Web Server, Database Server, or Application Server
  • 4. About the Session • What will be covered • Recent events in security and hacking • Demonstration of various penetration testing tools used against web applications • Quick overview of Web Application Firewalls and Web Vulnerability Scanners
  • 5. About the Demos • Virtual Machines, not live servers • BackTrack/Kali Linux • OWASP Broken Web Apps • Windows 7 & Server 2008 R2
 DO NOT perform any activities shown on any network/system or network connected device without proper permission!
  • 6. 205Average number of days a network is compromised by a hacker before discovery
 Down from 229 days in 2014 as reported by Mandiant M-Trends Report
  • 8. Heartbleed • At disclosure 615,268 of the Internet's secure web servers were vulnerable • May 8, 2014 - 318,239 • June 21, 2014 - 309,197 • Contributed to Community Health Systems theft of 4.5 million patient records
  • 9. Qualys SSL Server Test https://www.ssllabs.com/ssltest/
  • 14. OWASP Top Ten (2013) A1: Injection A6: Sensitive Data Exposure A3: Cross-Site Scripting (XSS) A2: Broken Authentication and Session Management A4: Insecure Direct Object References A8: Cross Site Request Forgery (CSRF) A5: Security Misconfiguration A7: Missing Function Level Access Controls A9: Using Components with Known Vulnerabilities A10: Unvalidated Redirects and Forwards
  • 15. Vulnerability Prevalence from VeraCode SoSS Cross Site Scripting! (XSS) SQL Injection Information Leakage Directory Traversal 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 47% 29% 27% 60% 56% 60% 30% 61% 49% 58% 31% 57% 22% 62% 72% 95% ColdFusion Java .NET PHP
  • 16. Things you’ll never see in logs • Internet search engines used for passive reconnaissance • Google Hacks • Internet Archive • Netcraft • Alexa • Shodan • Not quite passive but can be hard to spot • Web Crawler/Spider/Mirroring
  • 17. OWASP Top Ten (2013) A1: Injection A6: Sensitive Data Exposure A3: Cross-Site Scripting (XSS) A2: Broken Authentication and Session Management A4: Insecure Direct Object References A8: Cross Site Request Forgery (CSRF) A5: Security Misconfiguration A7: Missing Function Level Access Controls A9: Using Components with Known Vulnerabilities A10: Unvalidated Redirects and Forwards
  • 18. OWASP Top Ten (2013) A1: Injection A6: Sensitive Data Exposure A3: Cross-Site Scripting (XSS) A2: Broken Authentication and Session Management A4: Insecure Direct Object References A8: Cross Site Request Forgery (CSRF) A5: Security Misconfiguration A7: Missing Function Level Access Controls A9: Using Components with Known Vulnerabilities A10: Unvalidated Redirects and Forwards
  • 20. • Stacked Queries • http://www.victim.com/products.asp?id=1;exec +master..xp_cmdshell+'dir' • Tautology • http://www.victim.com/logon.aspx?username=admin' or 1=1;-- • UNION Statements • http://www.victim.com/products.asp?id=12+UNION +SELECT +userid,first_name,second_name,password+FROM +customers • Blind SQL Injection (SQLi)
  • 21. Demo • Tool • sqlmap • Target • OWASP Broken Web Apps • Apache 2.2.14 + PHP 5.3.2 • MySQL 5.1.41
  • 27. Password Cracking • Techniques • Rainbow Tables • Brute Force • Dictionary/Word Lists • Hybrid ! • RockYou.com (Dec 2009) • 14.3 million unique clear text passwords
  • 28. 25 GPU HPC Cluster • Presented by Jeremi Gosney at Passwords^12 Conference • 5 - 4U Servers • 25 Radeon GPUs • Hashcat
  • 29. Reported Benchmarks of 25 GPU HPC cluster MD5 SHA1 BCrypt (05) Attempts per Second 0 100,000,000,000 200,000,000,000 71,000 63,000,000,000 180,000,000,000
  • 30. Gosney vs LinkedIn Password Hashes PercentCracked 0% 20% 40% 60% 80% 100% 30 seconds 2 hours 1 day 6 days 90% 64% 53% 21%
  • 32. OWASP Top Ten (2013) A3: Cross-Site Scripting (XSS) A1: Injection A6: Sensitive Data Exposure A2: Broken Authentication and Session Management A4: Insecure Direct Object References A8: Cross Site Request Forgery (CSRF) A5: Security Misconfiguration A7: Missing Function Level Access Controls A9: Using Components with Known Vulnerabilities A10: Unvalidated Redirects and Forwards
  • 33. OWASP Top Ten (2013) A3: Cross-Site Scripting (XSS) A1: Injection A6: Sensitive Data Exposure A2: Broken Authentication and Session Management A4: Insecure Direct Object References A8: Cross Site Request Forgery (CSRF) A5: Security Misconfiguration A7: Missing Function Level Access Controls A9: Using Components with Known Vulnerabilities A10: Unvalidated Redirects and Forwards
  • 34. • Stored • Attacker’s script is stored on the server (e.g. blog comments, forums) and later displayed in HTML pages, without proper filtering • Reflected • HTML page reflects user input data back to the browser, without sanitizing the response • DOM Based Cross-Site Scripting (XSS)
  • 36. Demo • Tools • BeEF (Browser Exploitation Framework) • Metasploit • Target • OWASP Broken Web Apps • Apache 2.2.14 + PHP 5.3.2 • Victim • Windows 7 • IE 9 + Java 7 Plugin
  • 38. OWASP Top Ten (2013) A5: Security Misconfiguration A4: Insecure Direct Object References A2: Broken Authentication and Session Management A1: Injection A6: Sensitive Data Exposure A3: Cross-Site Scripting (XSS) A8: Cross Site Request Forgery (CSRF) A7: Missing Function Level Access Controls A9: Using Components with Known Vulnerabilities A10: Unvalidated Redirects and Forwards
  • 39. OWASP Top Ten (2013) A5: Security Misconfiguration A4: Insecure Direct Object References A2: Broken Authentication and Session Management A1: Injection A6: Sensitive Data Exposure A3: Cross-Site Scripting (XSS) A8: Cross Site Request Forgery (CSRF) A7: Missing Function Level Access Controls A9: Using Components with Known Vulnerabilities A10: Unvalidated Redirects and Forwards
  • 40. • Stolen Data Headers from the Federal Reserve Hack (Feb 2013) • Downed US vuln catalog infected for at least TWO MONTHS (March 2013) • Web host Linode, hackers clash over credit-card raid claim (April 2013) • Washington Court Data Breach Exposes 160K SSNs (May 2013) • Alleged Hacker Indicted In New Jersey For Data Breach Conspiracy Targeting Government Agency Networks (Oct 2013) Notable ColdFusion Hacks in 2013
  • 42. Demo • Tool • Published Exploit Script • Target • Windows Server 2008 R2 • IIS 7.5 + ColdFusion 10 w/ Update 9 • Secure Profile Enabled
  • 43. Exploit Script Demo • http://www.youtube.com/watch? v=XsQWK_UaASk
  • 44. If you don’t secure your stuff, you are just making it easy for hackers 
 and they DON’T mostly come at night.
  • 45. So should you just turn everything off and unplug it?
  • 46. • Web application firewall (WAF) are used to protect web applications without the need to modify them • Can be an appliance, server plugin, or filter • Provide an additional layer of security • Can react faster than changing application code • More common in front of legacy applications Web Application Firewall
  • 47. • Open source, free web application firewall • Apache, IIS 7, Nginx, reverse proxy • Security Models • Negative Security Model • Positive Security Model • Virtual Patching • Extrusion Detection Model • OWASP ModSecurity Core Rule Set Project ModSecurity
  • 48. • Provide automated way to test web application for vulnerabilities • Static vs Dynamic Analysis • Can be challenging to setup authentication and session management • Can’t improvise, every web application is unique • Usually integrated as part of Secure Software Development Life Cycle (SSDLC) Web Vulnerability Scanners
  • 49. Book The Web Application Hacker's Handbook: Finding and Exploiting Security Flaws, Second Edition by  Dafydd Stuttard and Marcus Pinto" John Wiley & Sons © 2012 (912 pages)" ISBN: 9781118026472"
  • 51. • Tools • sqlmap • BeEF • Metasploit ! • Virtual Machines/Live CDs • Kali Linux • Samurai Web Testing Framework • OWASP Broken Web Apps Resources
  • 52. • Security Benchmarks/Guides • CIS Benchmarks • DISA STIG • Microsoft Security Compliance Manager ! • Securing/Patching ColdFusion • ColdFusion 9 Server Lockdown Guide (pdf) • ColdFusion 10 Server Lockdown Guide (pdf) • ColdFusion 11 Server Lockdown Guide (pdf) • Unofficial Updater 2 Resources
  • 53. • OWASP Top Ten 2013 • Shodan: The scariest search engine on the Internet • Report: Crematoriums To Caterpillars Shodan Reveals Internet Of Things • Google Hacking Database (GHDB) Resources
  • 54. • Web Application Firewalls • Commercial • Trustwave - WebDefend Web Application Firewall • Cisco - ACE Web Application Firewall • Citrix - NetScaler App Firewall • F5 - BIG-IP Application Security Manager • Privacyware - ThreatSentry IIS Web Application Firewall • Fuseguard - Foundeo • Free • Trustwave - ModSecurity • Microsoft - URLScan 3.1 Resources
  • 55. • Web Vulnerability Scanners • Dynamic Scanner • Cenzic Hailstorm • HP WebInspect • IBM Security AppScan • Static Scanner • HP Fortify Static Code Analyzer • VeraCode Static • Intercepting Proxies • Burp Suite • OWASP Zed Attack Proxy (ZAP) Resources
  • 56. Books SQL Injection Attacks and Defense, Second Edition by  Justin Clarke" Syngress Publishing © 2012 (576 pages) " ISBN: 9781597499637 Web Application Obfuscation: '-/ WAFs..dEvasion..dFilters//alert (/ Obfuscation/)-' by  Mario Heiderich, Eduardo AlbertoVela Nava, Gareth Heyes and David Lindsay" Syngress Publishing © 2011 (290 pages)" ISBN: 9781597496049 XSS Attacks: Cross Site Scripting Exploits and Defense by  Jeremiah Grossman, Robert “RSnake” Hansen, Petko “pdp” D. Petkov and Anton Rager" Syngress Publishing © 2007 (479 pages)" ISBN: 9781597491549" Penetration Tester's Open Source Toolkit, Third Edition by  Jeremy Faircloth" Syngress Publishing © 2011 (465 pages) ISBN: 9781597496278
  • 57. • Free Commercial Reports • Mandiant • M-Trends 2015 (April 2015) • APT1: Exposing One of China’s Cyber Espionage Units (Feb 2013) ! • VeraCode • State of Software Security Report Volume 5 (April 2013) References
  • 58. • Heartbleed • More than 300k systems 'still vulnerable' to Heartbleed attacks • Heartbleed Hack Still a Threat Six Months After Discovery References
  • 59. • Target • Sources: Target Investigating Data Breach • Email Attack on Vendor Set Up Breach at Target • Data breach hits Target’s profits, but that’s only the tip of the iceberg References
  • 60. • Home Depot • Home Depot Hit By Same Malware as Target • Home Depot: 56M Cards Impacted, Malware Contained References
  • 61. • Adobe Password Hack • Adobe Breach Impacted At Least 38 Million Users • How an epic blunder by Adobe could strengthen hand of password crackers • Anatomy of a password disaster - Adobe's giant-sized cryptographic blunder • Top 100 Adobe Passwords • XKCD Crossword Puzzle References
  • 62. • Password Cracking • Jeremi Gosney - Password Cracking HPC - Passwords^12 Presentation (pdf) • Jens Steube - Exploiting a SHA1 Weakness in Password Cracking - Passwords^12 Presentation (pdf) • New 25 GPU Monster Devours Passwords In Seconds • Oh great: New attack makes some password cracking faster, easier than ever • Why passwords have never been weaker—and crackers have never been stronger • The Final Word on the LinkedIn Leak • How I became a password cracker • Project Erebus v2.5 • SHA-1 crypto protocol cracked using Amazon cloud computing resources References
  • 63. • Recent Hacks • SQL Injection Flaw Haunts All Ruby on Rails Versions (Jan 2013) • Critics: Substandard crypto needlessly puts Evernote accounts at risk (March 2013) • Huge attack on WordPress sites could spawn never-before-seen super botnet (April 2013) • Why LivingSocial’s 50-million password breach is graver than you may think (April 2013) • Yahoo! Blind SQL Injection could lead to data leakage (April 2013) • Common Web Vulnerabilities Plague Top WordPress Plug-Ins (June 2013) • WordPress Fixes Remote Code Execution Flaw With 3.6.1 Release (Sept 2013) References
  • 64. • Recent Hacks • New York Times Hacked Again, This Time Allegedly by Chinese (Jan 2013) • AP Twitter feed hacked; no attack at White House (April 2013) • Dev site behind Apple, Facebook hacks didn’t know it was booby- trapped (Feb 2013) • IE 8 Zero Day Found as DoL Watering Hole Attack Spreads to Nine Other Sites (May 2013) • Hackers exploit critical IE bug; Microsoft promises patch (Sept 2013) • Many Flash, Java Users Running Older, Vulnerable Versions (Sept 2013) • Adobe To Announce Source Code, Customer Data Breach (Oct 2013) • Thousands of Sites Hacked Via vBulletin Hole (Oct 2013) References
  • 65. • XSS Attacks • Persistent XSS Vulnerability Plagues WordPress Plugin (April 2015) • Researcher Gets $5,000 for XSS Flaw in Google Apps Admin Console (Jan 2015) • Drupal Patches XSS Vulnerability in Spam Module (Sept 2014) • Details on Patched Microsoft Office 365 XSS Vulnerability Disclosed (Jan 2014) • Security company says Nasdaq waited two weeks to fix XSS flaw (Sept 2013) • Apple Store Vulnerable to XSS (June 2013) • PayPal Site Vulnerable to XSS Attack (May 2013) References
  • 66. Shellshock • Series of vulnerabilities in how Bash processes environment variables • CVE-2014-6271, CVE-2014-6277, CVE-2014-6278, CVE-2014-7169, CVE-2014-7186, CVE-2014-7187 • Allows for remote code execution
  • 67. • Shellshock • What is #shellshock? • RedHat: Mitigating the shellshock vulnerability (CVE-2014-6271 and CVE-2014-7169) • How do I secure Apache against the Bash Shellshock vulnerability? • Shellshock Exploits Spreading Mayhem Botnet Malware References