Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
1 User, 10 Places, 100 Seconds #appsecapac2014
Search
OWASP Japan
March 20, 2014
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
1 User, 10 Places, 100 Seconds #appsecapac2014
OWASP Japan
March 20, 2014
More Decks by OWASP Japan
See All by OWASP Japan
OWASP Night 2019.03 Tokyo
owaspjapan
0
420
OWASP SAMMを活用したセキュア開発の推進
owaspjapan
0
1.1k
20190107_AbuseCaseCheatSheet
owaspjapan
0
230
セキュリティ要求定義で使える非機能要求グレードとASVS
owaspjapan
5
1.2k
AWSクラスタに捧ぐウェブを衛っていく方法論と死なない程度の修羅場の価値
owaspjapan
9
3.6k
Shifting Left Like a Boss
owaspjapan
2
350
OWASP Top 10 and Your Web Apps
owaspjapan
2
450
OWASP Japan Proposal: Encouraging Japanese Translation
owaspjapan
1
310
elegance_of_OWASP_Top10_2017
owaspjapan
2
590
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
410
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
New Earth Scene 8
popppiees
3
2.5k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
Everyday Curiosity
cassininazir
0
310
Unsuck your backbone
ammeep
672
58k
Evolving SEO for Evolving Search Engines
ryanjones
0
280
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Exploring anti-patterns in Rails
aemeredith
3
500
Transcript
Talks: 1 User, 10 Places, 100 Seconds © Copyright 2013
Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 1 User, 10 Places, 100 Seconds
What’s your location? © Copyright 2013 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. 2
Alarms go off at the IT Security Operations Center (IT
SOC), right? © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 3
Not really… © Copyright 2013 Hewlett-Packard Development Company, L.P. The
information contained herein is subject to change without notice. 4
OS, databases, storage IPS, routers, switches, firewalls, DLP Why not?
Security Information and Event Management solution © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 5 Servers, IAM, networking Applications Application Logs: • Few or uninteresting details • For debugging purposes • Not security related • Require custom connectors IT SOC Management solution
% of breaches that occur are application Why should we
care about the applications? © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. % application related *Gartner, 2013
Question? Application © Copyright 2013 Hewlett-Packard Development Company, L.P. The
information contained herein is subject to change without notice. 7
How to make the application produce security logs? 1 Sniff
traffic, or layer 7 interception Very incomplete © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 8 Application Source Code Developer Insert: • Log.warning(…) • Log.error(…) 2 Lot of work! In business and data layer
How to make the application produce security logs? Bottom line,
need a mechanisms to: 3 Agent technology Agent per language © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 9 Bottom line, need a mechanisms to: public …{ … userLogin(username, password) … } public …{ … if( userLogin(username, password) ) Log.info(“User :”+username+” logged in!”); else Log.info(“User :”+username+” failed login!”); … }
Various options to do the implementation: Agents, how do they
work? Aspect Oriented Instrumentation © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 10 Debugging Profiling Link time code rewriting
What to gather with the agent? http://link... WS Call(…) Web-service
activity Calling external pages © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 11 File activity Database activity
Interesting internal activity Security Exceptions © Copyright 2013 Hewlett-Packard Development
Company, L.P. The information contained herein is subject to change without notice. 12 Crypto Exceptions
Up and running… what now? Applications © Copyright 2013 Hewlett-Packard
Development Company, L.P. The information contained herein is subject to change without notice. 13
Need some visuals! © Copyright 2013 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. 14 About what? Scenarios please!
Geo Location Discrepancy is trivial to detect now Action: login
User: eddie Action: login User: eddie Events © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 15 User Visibility User: eddie Login time: 1/1/13, 10:00pm Place: Sunnyvale, CA, USA User: eddie Login time: 1/1/13, 10:05pm Place: Shanghai, China
… and knowing what that person did in the app
Action: login User: eddie Action: login User: eddie Events © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 16 User: eddie Login time: 1/1/13, 10:00pm Place: Sunnyvale, CA, USA User: eddie Login time: 1/1/13, 10:05pm Place: Shanghai, China
Multiple Authentications from the same IP Events Action: login User:
eddie Action: login User: gary Action: login © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 17 User Visibility Action: login User: geoff …
Brute force password attack Events Action: login: Failed User: eddie
Action: login: Failed User: eddie Action: login: Failed © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 18 User Visibility Action: login: Failed User: eddie Action: login: Successful User: eddie …
Who leaked classified docs? Events Action: access trade secrets User:
eddie Trade secrets Action: - User: kate Action: - User: matt © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 19 User Visibility User: matt Trade secrets ?
Forensics © Copyright 2013 Hewlett-Packard Development Company, L.P. The information
contained herein is subject to change without notice. 20 User Visibility Events
Examples please? Demo application: Riches © Copyright 2013 Hewlett-Packard Development
Company, L.P. The information contained herein is subject to change without notice. 21 Real application: Apache Ofbiz
Let’s start easy: Get logs in to SIEM without Agents…
Solution: write parser © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 22 Bottom line: A lot is missing... Key information around the user Severity Message
So, write an agent … example: Aspect Oriented Programming ©
Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 23
Let’s start easy… © Copyright 2013 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. 24
Without Agent Authentication Example Nothing! © Copyright 2013 Hewlett-Packard Development
Company, L.P. The information contained herein is subject to change without notice. 25 With Agent
Example: Apache Example please! © Copyright 2013 Hewlett-Packard Development Company,
L.P. The information contained herein is subject to change without notice. 26 End Users
Screen shot regular logging from Apache Ofbiz Not security related
at all © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 27 And if it’s security related, it’s incomplete…
Application View: What did we get: What applications? Logging syslog
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 28 What did we get: • Log messages automatically • Track users logging in • Track everything user does in the application • Track exceptions thrown in the application • …
Exceptions thrown (but catched) © Copyright 2013 Hewlett-Packard Development Company,
L.P. The information contained herein is subject to change without notice. 29 29
Exceptions thrown (but catched) © Copyright 2013 Hewlett-Packard Development Company,
L.P. The information contained herein is subject to change without notice. 30 30
Tracking users… © Copyright 2013 Hewlett-Packard Development Company, L.P. The
information contained herein is subject to change without notice. 31
Tracking their behavior… © Copyright 2013 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. 32
What’s your location? © Copyright 2013 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. 33
Thank you © Copyright 2013 Hewlett-Packard Development Company, L.P. The
information contained herein is subject to change without notice.