CSCI-UA.9480 Introduction to Computer Security
Session 4.1
Browser Security Model
- Prof. Nadim Kobeissi
CSCI-UA.9480 Introduction to Computer Security Session 4.1 Browser - - PowerPoint PPT Presentation
CSCI-UA.9480 Introduction to Computer Security Session 4.1 Browser Security Model Prof. Nadim Kobeissi Defining 4.1a Browser Security Goals Also before we start: Practical Assignment 2 is now online . 2 CSCI-UA.9480: Introduction to
CSCI-UA.9480 Introduction to Computer Security
Session 4.1
Browser Security Model
Defining Browser Security Goals
Also before we start: Practical Assignment 2 is now online.
2 CSCI-UA.9480: Introduction to Computer Security – Nadim KobeissiBrowser security goals.
Can web apps be as trustworthy as local apps?
Example: ProtonMail.VS
Browser security threat model.
5 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi Browser Alice Internet Server google.comBrowser security threats: web attacker.
6 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi Browser Alice Internet Server gooogle.comBrowser security threats: web attacker.
7 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi Browser Alice Internet Server Log into apple- icloud.com to reset your password!Browser security threats: network attacker.
8 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi Browser Alice Internet Server google.comBrowser security threats: software attacker.
9 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi Browser Alice Internet Server google.com XSS? RCE?Browser security threats: software attacker.
10 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi Browser Alice Internet Server google.com Open this attachment which contains exploit code your latest bill!Comparing different attackers.
Web attacker.Comparing different attackers.
Software attacker.Browser security goals.
Browser Security Mechanisms
14 CSCI-UA.9480: Introduction to Computer Security – Nadim KobeissiBrowser security mechanisms to cover.
URIs.
16 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissihttps://facebook.com/login.php?target=newsFeed#latest
URIs.
17 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissihttps://facebook.com/login.php?target=newsFeed#latest
Protocol Hostname (can include port) Path Query Fragment Encrypted if using HTTPS Not sent to server (except if explicitly using JS)HTTP.
18 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi POST /login HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT) Host: www.nyu.edu Content-Type: application/x-www-form- urlencoded Content-Length: length Accept-Language: en-us Accept-Encoding: gzip, deflate Connection: Keep-Alive username=bob&password=logmein23 GET /index.html HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT) Host: www.nyu.edu Accept-Language: en-us Accept-Encoding: gzip, deflate Connection: Keep-AliveHTTP.
19 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi HTTP/1.1 200 OK Date: Mon, 27 Jul 2018 12:28:53 GMT Server: Apache/2.2.14 (Win32) Last-Modified: Wed, 22 Jul 2018 19:15:56 GMT Content-Length: 88 Content-Type: text/html Connection: Closed <html> <body> <h1>Hello, World!</h1> </body> </html>Examples of HTTP headers related to security.
20 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi Strict-Transport-Security: max- age=<expirationtime>; includeSubDomains Content-Security-Policy: <directive> X-Frame-Options: DENYHTTPS and mixed content.
21 CSCI-UA.9480: Introduction to Computer Security – Nadim KobeissiRendering content.
DOM
Document Object Model document Attribut: href Root element: <html>Rendering content.
DOM
Document Object Model document Attribut: href Root element: <html>Using JavaScript to learn local information.
DOM
Document Object Model document Attribut: href Root element: <html>Isolation and Communication.
Security User Interface.
Cookies.
Cookies act as session identifiers or key-value stores between the web client and web server.Next time: Web Application Security
Review this learning tool for next time! https://unescape-room.jobertabma.nl
28 CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi