AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case...
Transcript of AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case...
![Page 1: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/1.jpg)
1
OWASP London – 15th May 2014
AppSensor Guide v2.0
Colin WatsonAppSensor Guide v2.0 Lead Author
OWASP AppSensor Project Co-Leader
© Watson Hall Ltd
![Page 2: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/2.jpg)
2
Running order
Guide v2.0
● Preamble
● Overview
● Illustrative case studies
● Making it happen
● Demonstration implementations
● Model dashboards
● Reference materials
This presentation
● Timeline
● Terminology
● Architectures
● Detection points
● Live demo
● Responses
● Case studies
● Media
● Q&A
![Page 3: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/3.jpg)
3
AppSensor Guide v2.0 timeline
![Page 4: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/4.jpg)
4
AppSensor Guide v2.0 release timeline
![Page 5: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/5.jpg)
5
Branding
![Page 6: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/6.jpg)
6
Terminology
![Page 7: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/7.jpg)
7
Part IV : Demonstration Implementations
● Seven examples
![Page 8: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/8.jpg)
8
Chapter 20 :Web Services (AppSensor WS)
![Page 9: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/9.jpg)
9
Chapter 21 : Fully Integrated (AppSensor Core)
![Page 10: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/10.jpg)
10
Chapter 22 : Light Touch Retrofit
![Page 11: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/11.jpg)
11
Chapter 23 : Ensnare for Ruby
![Page 12: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/12.jpg)
12
Chapter 24 : Invocation of AppSensor Code Using Jni4Net
![Page 13: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/13.jpg)
13
Chapter 25 :Using an External Log Management System
![Page 14: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/14.jpg)
14
Chapter 26 : Leveraging a Web Application Firewall
![Page 15: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/15.jpg)
15
Detecting malicious use
![Page 16: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/16.jpg)
16
Human error
![Page 17: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/17.jpg)
17
Inhuman behaviour
![Page 18: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/18.jpg)
18
Inhuman behaviour in a different context
![Page 19: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/19.jpg)
19
Live demo
● A hotel lift
![Page 20: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/20.jpg)
20
The six “best” detection point types
● Authorization failures(e.g. resource or action requested with insufficient privileges)
● Client-side input validation bypass(e.g. data format mismatch or missing mandatory values)
● Whitelist input validation failures(e.g. invalid data type or data length/range)
● Authentication failures(e.g. password change failures, re-authentication failure)
● Blatant code injection attack(e.g. common SQL injection strings)
● High rate of function use(e.g. requests/pages/views/windows per 5 minutes)
![Page 21: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/21.jpg)
21
Response types
![Page 22: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/22.jpg)
22
What does your attacker dashboard look like?
Not AppSensor:
![Page 23: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/23.jpg)
23
Detection, analysis and response all completed
With AppSensor:
![Page 24: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/24.jpg)
24
Detection, analysis and response all completed
With AppSensor:
![Page 25: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/25.jpg)
25
Detection, analysis and response all completed
With AppSensor:
![Page 26: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/26.jpg)
26
Part II : Illustrative Case Studies
● Chapter 5 : Case Study of a Rapidly Deployed Web Application● Chapter 6 : Case Study of a Magazine’s Mobile App● Chapter 7 : Case Study of a Smart Grid Consumer Meter● Chapter 8 : Case Study of a Financial Market Trading System● Chapter 9 : Case Study of a B2C Ecommerce Website● Chapter 10 : Case Study of B2B Web Services● Chapter 11 : Case Study of a Document Management System● Chapter 12 : Case Study of a Credit Union’s Online Banking
![Page 27: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/27.jpg)
27
Case Study : Credit Union’s Online Banking 1/2
![Page 28: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/28.jpg)
28
Case Study : Credit Union’s Online Banking 1/2
![Page 29: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/29.jpg)
29
Case Study : Credit Union’s Online Banking 1/2
![Page 30: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/30.jpg)
30
Where to obtain the new guide
![Page 31: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/31.jpg)
31
In your machine
● AppSensor Guide v2.0, May 2014● PDF
https://www.owasp.org/index.php/File:Owasp-appsensor-guide-v2.pdf
● DOChttps://www.owasp.org/index.php/File:Owasp-appensor-guide-v2.doc
● Source materialshttps://4ed64fe7f7e3f627b8d0-bc104063a9fe564c2d8a75b1e218477a.ssl.cf2.rackcdn.com/appsensor-guide-2v0-owasp.zip
● Article in CrossTalk Magazine, September 2011http://www.crosstalkonline.org/storage/issue-archives/2011/201109/201109-Watson.pdf
![Page 32: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/32.jpg)
32
In print● http://www.lulu.com/shop/owasp-foundation/appsensor-guide/paperback/product-21617378.html
![Page 33: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/33.jpg)
33
In your hand
![Page 34: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/34.jpg)
34
“In your hand” thank you
● OWASP Project Reboot Initiative 2012 (Eoin Keary)https://www.owasp.org/index.php/Projects_Reboot_2012
● AppSensor reboot applicationhttps://www.owasp.org/index.php/Projects_Reboot_2012_-_OWASP_AppSensor
● $5,000– Pay for any design costs in creating a front cover for the book
(10%)– Fund the printing (and delivery) of 250 copies of the book,
which can be used by project participants as prizes or give-aways during AppSensor presentations at OWASP chapter meetings, OWASP conferences and related events (60%)
– Pay for the layout and printing of flyers to promote the project and book in conference bags (30%)
![Page 35: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/35.jpg)
35
Thank you to the guide's creators
Version 2.0
Lead Author
Colin Watson
Co-Authors
Dennis Groves John Melton
Other Contributors, Editors and Reviewers
Josh Amishav-Zlatin Ryan Barnett Michael Coates Craig Munson Jay Reynolds
Version 1
Author
Michael Coates
![Page 36: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/36.jpg)
36
Thank you to the project's contributors
Josh Amishav-Zlatin
Ryan Barnett
Simon Bennetts
Joe Bernik
Rex Booth
Luke Briner
Rauf Butt
Fabio Cerullo
Marc Chisinevski
Robert Chojnacki
Michael Coates
Dinis Cruz
August Detlefsen
Ryan Dewhurst
Erlend Oftedal
Sean Fay
Dennis Groves
Randy Janida
Chetan Karande
Eoin Keary
Alex Lauerman
Junior Lazuardi
Jason Li
Manuel López Arredondo
Bob Maier
Jim Manico
Sherif Mansour Farag
John Melton
Craig Munson
Giri Nambari
Jay Reynolds
Chris Schmidt
Sahil Shah
Eric Sheridan
John Steven
Alex Thissen
Don Thomas
Christopher Tidball
Kevin W Wall
Colin Watson
Mehmet Yilmaz
![Page 37: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/37.jpg)
37
Thank you, the audience
● Use the concept● Tweet and blog about the
AppSensor Project and the new guide
● Create a Lulu.com account● Rate the guide● Review it
@AppSensor
https://www.owasp.org/index.php/AppSensor
![Page 38: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/38.jpg)
38
Q & A
![Page 39: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/39.jpg)
39
Take aways
● Don't ever offer to write a book● Every AppSensor instance is different● AppSensor can be as simple or complex as you choose
![Page 40: AppSensor Guide v2 - OWASP€¦ · 2 Running order Guide v2.0 Preamble Overview Illustrative case studies Making it happen Demonstration implementations Model dashboards Reference](https://reader034.fdocuments.in/reader034/viewer/2022051922/600fc051899d641b582df7f9/html5/thumbnails/40.jpg)
40
Your speaker
Colin Watson
Watson Hall Ltd
https://www.watsonhall.com
020 7183 3710