SlideShare a Scribd company logo
WhatYou Need to Know About Web
App Security Testing in 2018
Ken De Souza
STP Community Webinar, January 2018
V. 1.4
Twitter: @kgdesouz
blog.tkee.org
Source: http://www.troyhunt.com/2016/02/controlling-vehicle-features-of-nissan.html
What You Need to Know About Web App Security Testing in 2018
GET https://[redacted].com/orchestration_1111/gdc/
BatteryStatusRecordsRequest.php?RegionCode=NE&lg=no-
NO&DCMID=&VIN=SJNFAAZE0U60XXXXX&tz=Europe/
Paris&TimeFrom=2014-09-27T09:15:21
What You Need to Know About Web App Security Testing in 2018
GET https://[redacted].com/orchestration_1111/gdc/
BatteryStatusRecordsRequest.php?RegionCode=NE&lg=no-
NO&DCMID=&VIN=SJNFAAZE0U60XXXXX&tz=Europe/
Paris&TimeFrom=2014-09-27T09:15:21
Source: https://youtu.be/Nt33m7G_42Q
CVE-2017-5638
March 2017
CVE-2017-9805
4 September 2017
Source: https://www.theguardian.com/us-news/2017/sep/07/equifax-credit-breach-hack-social-security, https://
nakedsecurity.sophos.com/2017/09/08/equifax-data-breach-what-you-need-to-know/
Source: https://github.com/mazen160/struts-pwn_CVE-2017-9805
Source: ‪https://news.ycombinator.com/item?id=15233399
Source: https://krebsonsecurity.com/
2017/09/ayuda-help-equifax-has-my-data/
This is a practical / experience talk.
These are the tools I use on a daily(ish)
basis when I'm testing software.
Your mileage may vary.
This topic is HUGE
The tools don’t replace thinking.
Common terminology
Learn something about the threats
Demos of tools
Explain the risks to stake holders
Where to go next
"security, just like disaster recovery, is a
lifestyle, not a checklist"
This is not a black and white problem
Source: https://news.ycombinator.com/item?id=11323849
STRIDE(identification)
DREAD(classification)
OWASP Top 10 (attack vectors)
OWASP ZAP
(Web application vulnerability analysis)
Dependency Check
(3rd party vulnerability analysis)
nmap / Wireshark / tcpdump
(network analysis)
Microsoft Threat
Modeling
(communication)
Application
Security
Risks
Source: https://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202013.pdf.
STRIDE
Spoofing Tampering Repudiation
Information
Disclosure
Denial of
Service
Elevation of
Privilege
Source: https://msdn.microsoft.com/en-us/library/ee823878(v=cs.20).aspx
Sources: https://www.owasp.org/index.php/Application_Threat_Modeling
http://www.se.rit.edu/~swen-331/slides/07%20Threat%20Modeling.pptx
Type Security Control Examples
Spoofing Authentication I am Spartacus
Tampering Integrity Looks like Johnny got an A!
Repudiation
Non-
Repudiation
Didn’t Johnny have a B?
Information
disclosure
Confidentiality Johnny’s SSN is…
Denial of
service
Availability Please try again later.
Elevation of
privilege
Authorization sudo rm –rf /home/johnny
DREAD
Damage Reproducibility Exploitability
Affected
users
Discoverability
Source: https://msdn.microsoft.com/en-us/library/aa302419.aspx
Source: https://msdn.microsoft.com/en-us/magazine/ee336031.aspx
Developer point of view….
DREAD
Parameter
Rating Rationale
Damage
Potential
5
An attacker could read and alter data in the
product database.
Reproducibility 10 Can reproduce every time.
Exploitability 2
Easily exploitable by automated tools found on
the Internet.
Affected Users 1 Affects critical administrative users
Discoverability 1
Affected page “admin.aspx” easily guessed by
an attacker.
Overall Rating 3.8
Source: https://msdn.microsoft.com/en-us/magazine/ee336031.aspx
Tester point of view…
DREAD
Parameter
Rating Rationale
Damage
Potential
10
An attacker could read and alter data in the
product database.
Reproducibility 10 Can reproduce every time.
Exploitability 10
Easily exploitable by automated tools found on
the Internet.
Affected Users 10 Affects critical administrative users
Discoverability 10
Affected page “admin.aspx” easily guessed by
an attacker.
Overall Rating 10
STRIDE /
DREAD
Source: https://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202013.pdf.
OWASP Top 10,
2017
Source: https://github.com/OWASP/Top10/raw/master/2017/OWASP%20Top%2010%20-%202017%20RC1-English.pdf
OWASP Top 10
Open Web Application Security Project
A1: Injection
http://example.com/app/accountView?
id='
A2: Broken Authentication
Using known passwords (from various
public lists)
Allowing insecure (not strong)
passworrd (e.g.: Password1)
A3: Sensitive Data Exposure
SSL not being used
Meltdown
Bad programming
A4: XML External Entities
(new)
<node attrib='foo''/>
A5: Broken Access Control http://example.com/app/accountInfo?
acct=notmyacct
Source: https://www.owasp.org/images/7/72/OWASP_Top_10-2017_%28en%29.pdf.pdf
A6: Security
Misconfiguration
Default admin account enabled;
directories shown on site;
Stack traces shown to users;
A7: Cross Site Scripting
(XSS)
<script>alert('test');</script>
A8: Insecure Deserialization
(new)
Typical data tampering attacks, such
as access-control-related attacks,
where existing data structures are
used but the content is changed.
A9: Using Components with
known vulnerability
Not patching your 3rd party sh*t
A10: Insufficient Logging &
Monitoring (new)
Monitoring unauthorized access;
Alerting on potential breaches;
Source: https://www.owasp.org/images/7/72/OWASP_Top_10-2017_%28en%29.pdf.pdf
nmap
crt.sh
dig
nmap
what ports are open? Where can you attack?
Source: https://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202013.pdf.
What You Need to Know About Web App Security Testing in 2018
Source: crt.sh
Source: dig -f shopify-urls.txt +noall +answer
Source: shodan.io
Wireshark
tcpdump
Network packet / protocol analysis tool
Allows users to capture network traffic
from any interface, like Ethernet,Wifi,
Bluetooth, USB, etc
Why use Wireshark?
It is a great tool to debug your
environment
Help to examine potential security
problems
What You Need to Know About Web App Security Testing in 2018
docker run -e
"SPRING_PROFILES_ACTIVE=hsqldb" -p8080:8080
"dhatanian/ticketmagpie"
	
This container has LOTS of vulnerabilities,
designed for learning about web security
Source: Docker running “Ticket magpie” (https://github.com/dhatanian/ticketmagpie)
Wireshark
Look at red/yellow lines between systems
Source: https://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202013.pdf.
Demo
What You Need to Know About Web App Security Testing in 2018
What You Need to Know About Web App Security Testing in 2018
tcpdump:
Look at red/yellow lines between systems
Source: https://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202013.pdf.
Why use tcpdump?
Use this when you can’t use
Wireshark
Great for servers
tcpdump -lnni eth0 
-w dump -s 65535 host web01
 and port 80
OWASP ZAP
Why use OWASP ZAP?
Can be used to find many of the top 10
exploits
Can be quick integrated into you manual
or automated workflow
Can be used in active or passive mode
OWASP ZAP
Source: https://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202013.pdf.
What You Need to Know About Web App Security Testing in 2018
What You Need to Know About Web App Security Testing in 2018
What You Need to Know About Web App Security Testing in 2018
Demo
Dependency Check
What is it?
Checks your application for 3rd party
software
Looks to see if there are any known
vulnerabilities and gives you suggestions
on how to fix them
What You Need to Know About Web App Security Testing in 2018
What You Need to Know About Web App Security Testing in 2018
Threat Modeling
What is it?
A way to analyze and communicate
security related problems
This is a much larger topic than we have
time for
… but I’ll give you the basics
Why do this?
To explain to management
To explain to customers
To explain to developers, architects, etc.
With the tools I just showed you, you now
have the basics to be able to build a model
Threat Modeling:
Communicating it…
Source: https://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202013.pdf.
Threat Modeling
Step 1: Enumerate
–  Product functionality
–  Technologies used
–  Processes
–  Listening ports
–  Process to port mappings
–  Users processes that running
–  3rd party applications / installations
Threat Modeling
Step 2: Data flow with boundaries
Source: http://geekswithblogs.net/hroggero/archive/2014/12/18/microsoft-azure-and-threat-
modeling-you-apps.aspx
Demo
Threat Modeling
Can	be	done	at	various	stages	of	the	SDLC	
https://www.checkmarx.com/wp-content/uploads/2014/10/SecurityintheSDLC.png
netstat
nslookup
ps
browser dev tools
BurpSuite
All these tools, help to answer the question
Is your application secure?
Where to go next?
What You Need to Know About Web App Security Testing in 2018
What You Need to Know About Web App Security Testing in 2018
What You Need to Know About Web App Security Testing in 2018
Bug	bounties
Practice
https://thetestdoctor.wordpress.com/2016/10/11/introducing-ticket-magpie/
Practice
https://xss-game.appspot.com
To conclude…
Be aware and prepare yourself for the
worst.
Coming up with a plan is important
Understanding attack vectors is
important
Thanks!
What You Need to Know About Web App Security Testing in 2018
References
•  Preventing CSRF with the same-site cookie attribute: http://www.sjoerdlangkemper.nl/2016/04/14/
preventing-csrf-with-samesite-cookie-attribute/
•  Security Ninjas: An Open Source Application Security Training Program: http://www.slideshare.net/OpenDNS/
security-ninjas-opensource
•  Threat modeling web application: a case study: http://www.slideshare.net/starbuck3000/threat-modeling-
web-application-a-case-study
•  Chapter 3 Threat Modeling: https://msdn.microsoft.com/en-us/library/aa302419.aspx
•  Understanding The Known: OWASP A9 Using Components With Known Vulnerabilities: http://
www.slideshare.net/anantshri/understanding-the-known-owasp-a9-using-components-with-known-
vulnerabilities
•  Real World Application Threat Modelling By Example: http://www.slideshare.net/NCC_Group/real-world-
application-threat-modelling-by-example
•  The BodgeIt Store Part 1: http://resources.infosecinstitute.com/the-bodgeit-store-part-1-2/
•  Threat modeling example: http://www.se.rit.edu/~swen-331/slides/07%20Threat%20Modeling.pptx
•  Struts Bug Explained: https://nakedsecurity.sophos.com/2017/09/06/apache-struts-serialisation-vulnerability-
what-you-need-to-know/

More Related Content

PPTX
Security Testing by Ken De Souza
PPTX
Introduction to Web Application Penetration Testing
PDF
Web Application Penetration Testing - 101
PPTX
Why Johnny Still Can’t Pentest: A Comparative Analysis of Open-source Black-b...
PPTX
Why Johnny Still Can’t Pentest: A Comparative Analysis of Open-source Black-b...
PPTX
Hackfest 2019 Talk
PPTX
Web Application Penetration Testing Introduction
PPTX
Widespread security flaws in web application development 2015
Security Testing by Ken De Souza
Introduction to Web Application Penetration Testing
Web Application Penetration Testing - 101
Why Johnny Still Can’t Pentest: A Comparative Analysis of Open-source Black-b...
Why Johnny Still Can’t Pentest: A Comparative Analysis of Open-source Black-b...
Hackfest 2019 Talk
Web Application Penetration Testing Introduction
Widespread security flaws in web application development 2015

What's hot (19)

PPTX
SAP strikes back Your SAP server now counter attacks.
PPTX
Managing Security in External Software Dependencies
PPTX
nullcon 2011 - Vulnerabilities and Malware: Statistics and Research for Malwa...
PDF
CVE-2021-44228 Log4j (and Log4Shell) Executive Explainer by cje@bugcrowd
PDF
Secure Software Development with 3rd Party Dependencies
PDF
Secure coding presentation Oct 3 2020
PDF
Penetration testing web application web application (in) security
PDF
Simplified Security Code Review Process
PDF
Bringing the hacker mindset into requirements and testing by Eapen Thomas and...
PDF
Bridging the gap - Security and Software Testing
PDF
Security Analyst Workshop - 20200212
PDF
Security Analyst Workshop - 20190314
PDF
Neoito — Secure coding practices
PPTX
Software Development Weaknesses - SecOSdays Sofia, 2019
PDF
Ransomware Resistance
PDF
None More Black - the Dark Side of SEO
PDF
Introduction to Web Application Penetration Testing
PDF
The New OWASP Top Ten: Let's Cut to the Chase
PDF
Analyzing the effectivess_and_coverage_of_web_app_scanners
SAP strikes back Your SAP server now counter attacks.
Managing Security in External Software Dependencies
nullcon 2011 - Vulnerabilities and Malware: Statistics and Research for Malwa...
CVE-2021-44228 Log4j (and Log4Shell) Executive Explainer by cje@bugcrowd
Secure Software Development with 3rd Party Dependencies
Secure coding presentation Oct 3 2020
Penetration testing web application web application (in) security
Simplified Security Code Review Process
Bringing the hacker mindset into requirements and testing by Eapen Thomas and...
Bridging the gap - Security and Software Testing
Security Analyst Workshop - 20200212
Security Analyst Workshop - 20190314
Neoito — Secure coding practices
Software Development Weaknesses - SecOSdays Sofia, 2019
Ransomware Resistance
None More Black - the Dark Side of SEO
Introduction to Web Application Penetration Testing
The New OWASP Top Ten: Let's Cut to the Chase
Analyzing the effectivess_and_coverage_of_web_app_scanners
Ad

Similar to What You Need to Know About Web App Security Testing in 2018 (20)

PPTX
The bare minimum that you should know about web application security testing ...
PPTX
Sandbox kiev
PDF
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
PDF
SAP security in figures
PPT
GNUCITIZEN Dwk Owasp Day September 2007
PPTX
Managing Security in External Software Dependencies
PDF
Web application penetration testing lab setup guide
PDF
Demystify Information Security & Threats for Data-Driven Platforms With Cheta...
PDF
New Era of Software with modern Application Security v1.0
PPTX
Owasp web application security trends
PPTX
[2.1] Web application Security Trends - Omar Ganiev
PPTX
Cyber ppt
PDF
OSMC 2016 | Application Performance Management with Open-Source-Tooling by Ma...
PDF
OSMC 2016 - Application Performance Management with Open-Source-Tooling by M...
PPTX
Automated Detection of HPP Vulnerabilities in Web Applications Version 0.3, B...
PDF
Hands-On Lab: Quickly and Easily Monitor Applications using CA Application Pe...
PDF
Spring Boot & Spring Cloud on PAS- Nate Schutta (1/2)
PDF
A little bit about code injection in WebApplication Frameworks (CVE-2018-1466...
PDF
Owasp top 10 web application security hazards part 2
PDF
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
The bare minimum that you should know about web application security testing ...
Sandbox kiev
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
SAP security in figures
GNUCITIZEN Dwk Owasp Day September 2007
Managing Security in External Software Dependencies
Web application penetration testing lab setup guide
Demystify Information Security & Threats for Data-Driven Platforms With Cheta...
New Era of Software with modern Application Security v1.0
Owasp web application security trends
[2.1] Web application Security Trends - Omar Ganiev
Cyber ppt
OSMC 2016 | Application Performance Management with Open-Source-Tooling by Ma...
OSMC 2016 - Application Performance Management with Open-Source-Tooling by M...
Automated Detection of HPP Vulnerabilities in Web Applications Version 0.3, B...
Hands-On Lab: Quickly and Easily Monitor Applications using CA Application Pe...
Spring Boot & Spring Cloud on PAS- Nate Schutta (1/2)
A little bit about code injection in WebApplication Frameworks (CVE-2018-1466...
Owasp top 10 web application security hazards part 2
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
Ad

Recently uploaded (20)

PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Digital Strategies for Manufacturing Companies
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
top salesforce developer skills in 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
AI in Product Development-omnex systems
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Wondershare Filmora 15 Crack With Activation Key [2025
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Upgrade and Innovation Strategies for SAP ERP Customers
Digital Strategies for Manufacturing Companies
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
top salesforce developer skills in 2025.pdf
L1 - Introduction to python Backend.pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Design an Analysis of Algorithms II-SECS-1021-03
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Odoo Companies in India – Driving Business Transformation.pdf
CHAPTER 2 - PM Management and IT Context
Softaken Excel to vCard Converter Software.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
wealthsignaloriginal-com-DS-text-... (1).pdf
AI in Product Development-omnex systems

What You Need to Know About Web App Security Testing in 2018