SlideShare a Scribd company logo
The browser -
your best friend and worst enemy

Roots Conference Bergen 23. May 2011

André N.Klingsheim
IT security specialist, PhD
Lightning overview
• How important is browser security?
• Security challenges
• Modern security features




                                       2
Why the web «works»
• Same-origin policy
   – Isolates websites
   – The reason you can safely visit rootsconf.no and
     skandiabanken.no simultaneously in the browser
   – We have to fully trust the browser to enforce this
• SSL/TLS
   – Secure communication: website authentication,
     generate secure keys, choose crypto...

                                                          3
The browser is your enemy:

MODERN SECURITY
CHALLENGES

                             4
Man-in-the browser
How did the man get in the
                                        • Malicious code running in
browser?!?
                                          browser
http://googlechromereleases.blogspot.
com/2011/04/stable-channel-
                                          – The friendly browser
update.html
                                            suddenly becomes evil




                                                                      5
The browser is your friend:

MODERN SECURITY FEATURES


                              6
Working alone
• Google Chrome sandboxing
   – Rendering process
   – Sandboxing underway for Flash and PDF plugins
• Internet Explorer 9 tab isolation
   – Pinned sites load in isolated process
• Minimize damage caused by a compromize




                                                     7
Working for the website
• Special treatment for cookies: secure, httpOnly
• Website can include «security» headers in HTTP
  response
• Triggers security features in browser
• «Invisible» to user
• Headers coming up!




                                                    8
STS HTTP-header




                  9
X-Frame-Options HTTP header




                              10
Compensating for website security bugs
• Security features designed to detect and/or prevent
  webapp security holes




                                                        11
X-Content-Type-Options HTTP header




                                     12
X-XSS-Protection HTTP header




                               13
X-Content-Security-Policy HTTP header
• Firefox Content Security Policy
   – Block inline scripts on webpage
   – Block code creation for strings (eval())
   – Prevents XSS




                                                14
References
•   http://googlechromereleases.blogspot.com/2011/04/stable-channel-update.html
•   https://sites.google.com/a/chromium.org/dev/Home/chromium-security/brag-sheet
•   Pinned sites: http://msdn.microsoft.com/en-us/library/gg131029(v=vs.85).aspx
•   https://wiki.mozilla.org/Security/CSP/Specification#User_Agent_Behavior
•   X-XSS-Protection: http://msdn.microsoft.com/en-us/library/cc288472(v=vs.85).aspx#_replace
•   Not a complete list so remember: Google is your friend




                                                                                                15
Thank you!
• Find me online:
   – andre.klingsheim (at) skandiabanken (dot) no
   – Blog: www.dotnetnoob.com
   – Twitter: @klingsen




                                                    16

More Related Content

PPTX
Presentation on web browser
PPT
Web browser
PPT
Browsers comparison
PDF
Top 10 Internet Browsers
PPTX
Web browsers
PPTX
Web Browser
DOCX
Web browser pdf
PPTX
Browsers
Presentation on web browser
Web browser
Browsers comparison
Top 10 Internet Browsers
Web browsers
Web Browser
Web browser pdf
Browsers

What's hot (20)

PPT
Web browsers and web servers
PPTX
Browsers
PPT
Web Browsers
PPTX
Web browsers
PPT
browser presentation
PPTX
Web browsers
PPTX
difference between browsers
PPSX
Web browser by group no 03 capt palliyaguru
PPTX
Web Browsers
PPTX
Research on Web Browsers ppt
PPTX
Web browser
PPSX
Web browser(pp ts)
PPTX
Internet browers comparison
PPTX
Web browsers
PPT
Browser Security
PPTX
Web Browser ! Batra Computer Centre
PPTX
India's First Web browser
PPT
Browser war
PDF
Research on Web Browsers
PPTX
WEB BROWSER
Web browsers and web servers
Browsers
Web Browsers
Web browsers
browser presentation
Web browsers
difference between browsers
Web browser by group no 03 capt palliyaguru
Web Browsers
Research on Web Browsers ppt
Web browser
Web browser(pp ts)
Internet browers comparison
Web browsers
Browser Security
Web Browser ! Batra Computer Centre
India's First Web browser
Browser war
Research on Web Browsers
WEB BROWSER
Ad

Viewers also liked (20)

PPTX
Browser Security 101
PDF
Web Browser Security - 2016 Comparative Test Results
PPT
Web Security
PPT
Internet Security
PPTX
Internet security powerpoint
PPT
Trusteer Rapport – Browser Security - How It Works
DOCX
Best topics for seminar
PDF
Internet Security
TXT
Intrusion tolerance
PPT
Googlechrome ppt
PPT
Network Security
PPTX
Network Security
PPTX
TOR NETWORK
PPT
FOR SCREEN BY ANURAG SINGH (8318130325)
PPTX
E ball ppt
PPTX
Blue Eyes Technology
PPT
Blue eye technology
PPT
Compiler Design
PPTX
Smart Glass Technology by Kiran
DOCX
E-BALL TECHNOLOGY SEMINAR REPORT
Browser Security 101
Web Browser Security - 2016 Comparative Test Results
Web Security
Internet Security
Internet security powerpoint
Trusteer Rapport – Browser Security - How It Works
Best topics for seminar
Internet Security
Intrusion tolerance
Googlechrome ppt
Network Security
Network Security
TOR NETWORK
FOR SCREEN BY ANURAG SINGH (8318130325)
E ball ppt
Blue Eyes Technology
Blue eye technology
Compiler Design
Smart Glass Technology by Kiran
E-BALL TECHNOLOGY SEMINAR REPORT
Ad

Similar to Browser security — ROOTS (20)

PPTX
Browser Security ppt.pptx
DOCX
Browser Security – Issues and Best Practices1Outli
PPT
Lecture 1 (2)
PDF
Advances inbrowsersecurity
PDF
Securing your web application through HTTP headers
PPTX
I Want These * Bugs Off My * Internet
PPTX
Browser Security by pratimesh Pathak ( Buldhana)
PDF
Rich Web App Security - Keeping your application safe
PDF
Html5 security
PDF
BeEF: The Browser Exploitation Framework
PDF
Blackhat11 shreeraj reverse_engineering_browser
PDF
Html5 Application Security
PPT
(In)Security Implication in the JS Universe
PDF
Secure client
PDF
Krzysztof kotowicz. something wicked this way comes
PPTX
Html5 security
PPTX
HTML5 - The Promise & The Peril
PDF
Protecting Java EE Web Apps with Secure HTTP Headers
PDF
Web Security - Introduction v.1.3
PDF
Web Security - Introduction
Browser Security ppt.pptx
Browser Security – Issues and Best Practices1Outli
Lecture 1 (2)
Advances inbrowsersecurity
Securing your web application through HTTP headers
I Want These * Bugs Off My * Internet
Browser Security by pratimesh Pathak ( Buldhana)
Rich Web App Security - Keeping your application safe
Html5 security
BeEF: The Browser Exploitation Framework
Blackhat11 shreeraj reverse_engineering_browser
Html5 Application Security
(In)Security Implication in the JS Universe
Secure client
Krzysztof kotowicz. something wicked this way comes
Html5 security
HTML5 - The Promise & The Peril
Protecting Java EE Web Apps with Secure HTTP Headers
Web Security - Introduction v.1.3
Web Security - Introduction

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
Teaching material agriculture food technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Weekly Chronicles - August'25 Week I
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation_ Review paper, used for researhc scholars
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
The AUB Centre for AI in Media Proposal.docx
Teaching material agriculture food technology
Dropbox Q2 2025 Financial Results & Investor Presentation
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Browser security — ROOTS

  • 1. The browser - your best friend and worst enemy Roots Conference Bergen 23. May 2011 André N.Klingsheim IT security specialist, PhD
  • 2. Lightning overview • How important is browser security? • Security challenges • Modern security features 2
  • 3. Why the web «works» • Same-origin policy – Isolates websites – The reason you can safely visit rootsconf.no and skandiabanken.no simultaneously in the browser – We have to fully trust the browser to enforce this • SSL/TLS – Secure communication: website authentication, generate secure keys, choose crypto... 3
  • 4. The browser is your enemy: MODERN SECURITY CHALLENGES 4
  • 5. Man-in-the browser How did the man get in the • Malicious code running in browser?!? browser http://googlechromereleases.blogspot. com/2011/04/stable-channel- – The friendly browser update.html suddenly becomes evil 5
  • 6. The browser is your friend: MODERN SECURITY FEATURES 6
  • 7. Working alone • Google Chrome sandboxing – Rendering process – Sandboxing underway for Flash and PDF plugins • Internet Explorer 9 tab isolation – Pinned sites load in isolated process • Minimize damage caused by a compromize 7
  • 8. Working for the website • Special treatment for cookies: secure, httpOnly • Website can include «security» headers in HTTP response • Triggers security features in browser • «Invisible» to user • Headers coming up! 8
  • 11. Compensating for website security bugs • Security features designed to detect and/or prevent webapp security holes 11
  • 14. X-Content-Security-Policy HTTP header • Firefox Content Security Policy – Block inline scripts on webpage – Block code creation for strings (eval()) – Prevents XSS 14
  • 15. References • http://googlechromereleases.blogspot.com/2011/04/stable-channel-update.html • https://sites.google.com/a/chromium.org/dev/Home/chromium-security/brag-sheet • Pinned sites: http://msdn.microsoft.com/en-us/library/gg131029(v=vs.85).aspx • https://wiki.mozilla.org/Security/CSP/Specification#User_Agent_Behavior • X-XSS-Protection: http://msdn.microsoft.com/en-us/library/cc288472(v=vs.85).aspx#_replace • Not a complete list so remember: Google is your friend 15
  • 16. Thank you! • Find me online: – andre.klingsheim (at) skandiabanken (dot) no – Blog: www.dotnetnoob.com – Twitter: @klingsen 16