6.033 Lecture 24 Protocols and Authorization Nickolai Zeldovich Spring 2009.

Slides:



Advertisements
Similar presentations
Cross Site Request Forgery CSE 591 – Security and Vulnerability Analysis Spring 2015 Adam Doupé Arizona State University
Advertisements

HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 5 Prof. Crista Lopes.
1 HTTP and some other odds and ends Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
Chapter 9 Application Layer, HTTP Professor Rick Han University of Colorado at Boulder
16-Jun-15 HTTP Hypertext Transfer Protocol. 2 HTTP messages HTTP is the language that web clients and web servers use to talk to each other HTTP is largely.
How the web works: HTTP and CGI explained
HTTP and Web Content Delivery COS 461: Computer Networks Spring 2011 Mike Freedman
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Know how HTTP accesses data on the WWW Objectives.
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
CS 142 Lecture Notes: HTTPSlide 1 HTTP Request GET /index.html HTTP/1.1 Host: User-Agent: Mozilla/5.0 Accept: text/html, */* Accept-Language:
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
CSC 2720 Building Web Applications Servlet – Getting and Setting HTTP Headers.
Lecture 4: stateful inspection, advanced protocols Roei Ben-Harush 2015.
University of Calgary – CPSC 441 Parts of these slides are courtesy of Erich Nahum (IBM Research)
Shibboleth Training: Round Two 1
Network Protocols: Design and Analysis Polly Huang EE NTU
ECE Prof. John A. Copeland Office: Klaus or call.
Web technologies and programming cse hypermedia and multimedia technology Fanis Tsandilas April 3, 2007.
DNS and HTTP CS 168. Domain Name Service Host addresses: e.g., – a number used by protocols – conforms to network structure (the “where”)
Web Server Design Week 5 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 2/10/10.
HTTP Caching & Cache-Busting for Content Publishers Michael J. Radwin O’Reilly Open Source Convention July 28, 2004.
Java Technology and Applications
SUNY Polytechnic Institute CS 490 – Web Design, AJAX, jQuery Web Services A web service is a software system that supports interaction (requesting data,
Krerk Piromsopa. Web Caching Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.
HTTP Protocol Specification
HTTP HTML Introduction to web development. elaborate SPARCS 07 Wheel Moodle TA 안병욱 CS101 TA The presenter is 바퀴짱 ? 3 월 신작 ? 밤의 제왕 ? 악명 높은 TA?
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Going Online Chapter Jaana Holvikivi.
Web Caching: Replication on the World Wide Web Jonathan Bulava CSC8530 – Distributed Systems Dr. Paul Schragger.
FTP (File Transfer Protocol) & Telnet
HTTP Reading: Section and COS 461: Computer Networks Spring
CSC 2720 Building Web Applications Getting and Setting HTTP Headers (With PHP Examples)
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Application Layer 2 Figures from Kurose and Ross
Maryam Elahi University of Calgary – CPSC 441.  HTTP stands for Hypertext Transfer Protocol.  Used to deliver virtually all files and other data (collectively.
Browser Web Server Users DB 2a. Redirect to login page plugin 1. access a protected page Login Web Server (https) aislogin.cern.ch edh.cern.ch 3a. Set.
WWW, HTTP, GET, POST, Cookies Svetlin Nakov Telerik Corporation
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
Hui Zhang, Fall Computer Networking Web, HTTP, Caching.
Proxy Lab Recitation I Monday Nov 20, 2006.
1 HTTP EECS 325/425, Fall 2005 September Chapter 2: Application layer r 2.1 Principles of network applications m app architectures m app requirements.
Web Server Design Week 8 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 3/3/10.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
HTTP1 Hypertext Transfer Protocol (HTTP) After this lecture, you should be able to:  Know how Web Browsers and Web Servers communicate via HTTP Protocol.
Web Server Design Week 4 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 2/03/10.
CIS679: Lecture 13 r Review of Last Lecture r More on HTTP.
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
HTTP/2 and ATS ATS Fall Summit 2015 Bryan Call. Why HTTP/2? Reduce latency and TCP connection overhead Easier to write well-performing sites (no domain.
HTTP How the Internet servers and clients communicate.
HTTP Here, we examine the hypertext transfer protocol (http) – originally introduced around 1990 but not standardized until 1997 (version 1.0) – protocol.
5 th ed: Chapter 17 4 th ed: Chapter 21
Computer security: certification Frans Kaashoek Spring 2007.
Overview of Servlets and JSP
LURP Details. LURP Lab Details  1.Given a GET … call a proxy CGI script in the same way you would for a normal CGI request  2.This UDP perl.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Web Caching. Why Caching? Faster browsing experience for users Cache hit rate Traffic Prioritization Reduce network bandwidth requirements significantly.
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
WEB1P webarch1 Web architecture Dr Jim Briggs. WEB1P webarch2 What is the web? Distributed system Client-server system Characteristics of clients and.
DEV336. demo HTTP Packet Trace GET / HTTP/1.1 Accept: text/html, application/xhtml+xml, */* Accept-Language: en-US User-Agent: Mozilla/5.0 (compatible;
Troubleshooting web sites with web browsers LIR HEAnet User Group for Libraries DCU June 7 th 2016
© Janice Regan, CMPT 128, Jan 2007 CMPT 371 Data Communications and Networking HTTP 0.
Fiddler and Your Website Robert Boedigheimer. About Me Web developer since 1995 Columnist for aspalliance.com Pluralsight Author 3 rd Degree Black Belt,
Lecture 4: Stateful Inspection, Advanced Protocols.
Web Server Design Week 6 Old Dominion University Department of Computer Science CS 495/595 Spring 2006 Michael L. Nelson 2/13/06.
The Hypertext Transfer Protocol
Computer security: certification
TCP/IP Networking An Example
HTTP Request Method URL Protocol Version GET /index.html HTTP/1.1
CSCI-351 Data communication and Networks
Presentation transcript:

6.033 Lecture 24 Protocols and Authorization Nickolai Zeldovich Spring 2009

Denning-Sacco Protocol Ali ce Bo b {A:Ka}, SIGN( {A:Ka}, Kc), ENC( { Kab, SIGN(Kab, Ka) }, Kb) Ch arl ie Ka b

Denning-Sacco Protocol Ali ce Bo b {A:Ka}, SIGN( {A:Ka}, Kc), ENC( { Kab, SIGN(Kab, Ka) }, Kb) Ch arl ie Vi cti m {A:Ka}, SIGN( {A:Ka}, Kc), ENC( { Kab, SIGN(Kab, Ka) }, Kv) Ka b

Denning-Sacco Protocol Ali ce Bo b {A:Ka}, SIGN( {A:Ka}, Kc), ENC( { Kab, SIGN( {A,B,Kab}, Ka) }, Kb) Ch arl ie Vi cti m {A:Ka}, SIGN( {A:Ka}, Kc), ENC( { Kab, SIGN( {A,B,Kab}, Ka) }, Kv) Ka b

How confidential is traffic in this lecture room? ● sudo tcpdump -s 0 -Ai en1 ● Complete trace of all packets on wireless network ● You shouldn’t do this ● 14:04: IP HSI-KBW hsi2.kabel-badenwuerttemberg.de > dhcp dyn.mit.edu.39211: P : (8) ack win 65429

Example Data Inside a Packet GET /6.033/2007/wwwdocs/ HTTP/1.1 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/ (KHTML, like Gecko>) Version/3.2.1 Safari/ Referer: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5> Accept-Language: en-us Accept-Encoding: gzip, deflate Connection: keep-alive Host: mit.edu

Example Data Inside a Packet HTTP/ OK Date: Wed, 29 Apr :56:00 GMT Server: MIT Web Server Apache/ Mark/1.5 (Unix) mod_ssl/2.8.9 OpenSSL/0.9.7c Last-Modified: Fri, 25 May :15:48 GMT ETag: "b a c4" Accept-Ranges: bytes Content-Length: Connection: close Content-Type: text/html / Spring 2007 / Welcome … GET /6.033/2007/wwwdocs/ HTTP/1.1 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/ (KHTML, like Gecko>) Version/3.2.1 Safari/ Referer: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5> Accept-Language: en-us Accept-Encoding: gzip, deflate Connection: keep-alive Host: mit.edu

GMail is not encrypted by default Hint: Change to ["112677a23fed4887",0,0,"12:58 pm","\u003cspan gnu.org\"\>Richard Stallman\u003c/span\>"," ","[csail- related] Thwart big brother--trade charlie cards. 13:45 Tuesday at rm 381","I have a charlie card with zero value currently stored on on it which I used for a couple of …",[],"","112677a23fed4887",0,"Mon May _12:58 PM",0,"",0,0,1] Passed in the clear: Contacts lists Calendar events Gzipped text: Inbox entries Mail messages

Facebook is Plaintext {"name": ”XX XXXX", "firstName": ”XX", "thumbSrc”: "XXX.jpg", "status": "says a man should always dress for the job he wants. So why am I dressed up like a pirate in this restaurant? It's all because some hacker stole my identity, now I sit here every evening serving chowder and iced tea. Should've gone to FreeCreditReport.com, I could've seen this coming at me like an atom bomb. They monitor your credit and send you alerts, so you don't end up selling fish to tourists in t-shirts.", "statusTime": , "statusTimeRel":"on Saturday", "enableVC":false} (as is AIM, Google Docs, iChat, etc…)

Authentication Cookies HTTP/ OK Set-Cookie: CAL=XXXXXXXXXXXX;Domain= Expires=Tue, 19-May :23:37 GMT Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache

Authentication Cookies HTTP/ OK Date: Mon, 04 May :20:10 GMT... Set-Cookie: _twitter_sess=XXXXXXXXXXXX; domain=.twitter.com; path=/ HTTP/ OK Date: Mon, 04 May :06:24 GMT... Set-Cookie: xs=XXXXXXXXXXXX; path=/; domain=.facebook.com; HTTP/ OK Date: Mon, 04 May :19:19 GMT... Set-Cookie: itsessionid=XXXXXXXXXXXX; path=/; domain=.analytics.yahoo.com etc etc etc