CS590/690 Detecting network interference Fall 2016

Slides:



Advertisements
Similar presentations
ITIS 1210 Introduction to Web-Based Information Systems Chapter 44 How Firewalls Work How Firewalls Work.
Advertisements

 Guarantee that EK is safe  Yes because it is stored in and used by hw only  No because it can be obtained if someone has physical access but this can.
1 Internet Networking Spring 2004 Tutorial 13 LSNAT - Load Sharing NAT (RFC 2391)
By: Bryan Carey Randy Cook Richard Jost TOR: ANONYMOUS BROWSING.
Web server security Dr Jim Briggs WEBP security1.
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 6 Packet Filtering By Whitman, Mattord, & Austin© 2008 Course Technology.
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #12 LSNAT - Load Sharing NAT (RFC 2391)
Game-based Analysis of Denial-of- Service Prevention Protocols Ajay Mahimkar Class Project: CS 395T.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
CECS 5460 – Assignment 3 Stacey VanderHeiden Güney.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Troubleshooting Your Network Networking for Home and Small Businesses.
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
© Copyright 2012 STI INNSBRUCK Tor project: Anonymity online.
Chapter 6: Packet Filtering
CSE 592 INTERNET CENSORSHIP (FALL 2015) LECTURE 06 PROF. PHILLIPA GILL COMPUTER SCIENCE, STONY BROOK UNIVERSITY.
Intrusion Detection and Prevention. Objectives ● Purpose of IDS's ● Function of IDS's in a secure network design ● Install and use an IDS ● Customize.
CSE 592 INTERNET CENSORSHIP (FALL 2015) LECTURE 03 PHILLIPA GILL STONY BROOK UNIVERSITY, COMPUTER SCIENCE ACKS: SLIDES BASED ON MATERIAL FROM NICK WEAVER’S.
Packet Filtering Chapter 4. Learning Objectives Understand packets and packet filtering Understand approaches to packet filtering Set specific filtering.
Fundamentals of Proxying. Proxy Server Fundamentals  Proxy simply means acting on someone other’s behalf  A Proxy acts on behalf of the client or user.
Proxy Servers.
Content-oriented Networking Platform: A Focus on DDoS Countermeasure ( In incremental deployment perspective) Authors: Junho Suh, Hoon-gyu Choi, Wonjun.
CSE 592 INTERNET CENSORSHIP (FALL 2015) LECTURE 08 PHILLIPA GILL – STONY BROOK UNIVERSITY.
CSE 592 INTERNET CENSORSHIP (FALL 2015) LECTURE 12.
Routing Around Decoys Max Schuchard, John Geddes, Christopher Thompson, Nicholas Hopper Proposed in FOCI'11, USINIX Security'11 and CCS'11 Presented by:
CSE 592 INTERNET CENSORSHIP (FALL 2015) LECTURE 22 PHILLIPA GILL - STONY BROOK U.
CSE 592 INTERNET CENSORSHIP (FALL 2015) LECTURE 16 PHILLIPA GILL - STONY BROOK U.
Network Devices and Firewalls Lesson 14. It applies to our class…
Lecture 9 Page 1 CS 236 Online Firewalls What is a firewall? A machine to protect a network from malicious external attacks Typically a machine that sits.
Internet Vulnerabilities & Criminal Activity Internet Forensics 12.1 April 26, 2010 Internet Forensics 12.1 April 26, 2010.
Presented by Michael Rainey South Mississippi Linux Users Group
Original slides prepared by Theo Benson
HTTP and Abstraction on the Internet
HTTP and Abstraction on the Internet
HTTP AND ABSTRACTION ON THE INTERNET
CS590B/690B Detecting Network Interference (Fall 2016)
CS590B/690B Detecting Network Interference (FALL 2016)
DNS-sly: Avoiding Censorship through Network Complexity
CS590B/690B Detecting network interference (Fall 2016)
CS590B/690B Detecting Network Interference (Fall 2016)
HTTP and Abstraction on the Internet
CS590B690B Detecting network interference
Instructor Materials Chapter 9: Testing and Troubleshooting
Internet and Intranet.
CS590B/690B Detecting Network Interference (Fall 2016)
Practical Censorship Evasion Leveraging Content Delivery Networks
CS590B/690B Detecting Network Interference (Fall 2016)
Principles of Network Applications
Practical Censorship Evasion Leveraging Content Delivery Networks
UNIT 4 – THE COST OF FREE LESSON 4.
Introduction to Computers
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Introduction to Networking
Monitoring Network Bias
Who should be responsible for risks to basic Internet infrastructure?
Client-Server Computing
Internet and Intranet.
CS590B/690B Detecting Network Interference Spring 2018
I. Basic Network Concepts
The Hacking Suite for Governmental Interception
Configuring Internet-related services
Firewalls Jiang Long Spring 2002.
Internet and Intranet.
Lecture 3: Secure Network Architecture
HTTP and Abstraction on the Internet / The Need for DNS
CS590B/690B Detecting network interference (Spring 2018)
UNIT 4 – THE COST OF FREE LESSON 6.
EE 122: Lecture 22 (Overlay Networks)
Internet and Intranet.
Implementing Firewalls
Presentation transcript:

CS590/690 Detecting network interference Fall 2016 Lecture 06 Prof. Phillipa Gill Computer Science, Stony Brook University

Where we are Last time: In-path vs. On-path censorship Proxies Detecting page modifications with Web Trip-Wires Finished up background on measuring censorship Questions?

Test your understanding What is the purpose of the HTTP 1.1 host header? What is the purpose of the server header? Why might it not be a good header to include? What is a benefit of an in-path censor? What are the two mechanisms for proxying traffic? Pros/cons of these? How can you detect a flow terminating proxy? How can you detect a flow rewriting proxy? What are two options in terms of targeting traffic with proxies? How can partial proxying be used to characterize censorship?

Today Challenges of measuring censorship Potential solutions

So far… … we’ve had a fairly clear notion of censorship And mainly focused on censors that disrupt communication Usually Web communication … but in practice things are more complicated Defining, detecting, and measuring censorship at scale pose many challenges Optional reading: Burnett & Feamster – On Web page

How to define “censorship” Censorship is well defined in the political setting… What we mean when we talk about “Internet censorship” is less clear E.g., copyright takedowns? Surveillance? Blocked content?  broader class of “information controls” The following are 3 types of information controls we can try to measure: Blocking (complete: page unavailable, partial: specific Web objects blocked) Performance degradation (Degrade performance to make service unusable, either to get users to not use a service or to get them to use a different one) Content manipulation (manipulation of information. Removing search results, “sock puppets” in online social networks)

Challenge 1: What should we measure? Issue 1: Censorship can take many forms? Which should we measure? How can we find ground truth? If we do not observe censorship does that mean there is no censorship? Issue 2: Distinguishing positive from negative content manipulation. Personalization vs. manipulation? How might we distinguish these? Another option: make result available to the user and let them decide Issue 3: Accurate detection may require a lot of data. Unlike regular Internet measurement, the censor can try to hide itself! Need more data to find small-scale censorship rather than wholesale Internet shut down Distinguishing failure from censorship is a challenge! E.g., IP packet filters

Challenge 2: How to measure Issue 1: Adversarial measurement environment Your measurement tool itself might be blocked. www.citizenlab.org has been blocked in China for a long time! Need covert channel/circumvention tools to send data back. Should have deniability The end-host monitoring itself maybe be compromised E.g., government agent downloads your software and sends back bogus data Issue 2: How to distribute the software Running censorship measurements may incriminate users Distribute “dual use” software. Network debugging/availability testing (censorship is just one such cause of unavailability) Give users availability data. Let them draw conclusions…

Principle 1: correlate independent data sources Example: Software in the region indicates that the user cannot access the service. Can correlate with: Web site logs: did other regions experience the outage? Was the Web site down? Home routers: e.g., use platforms like Bismark to test availability and correlate with user submitted results. DNS lookups: what was observed as results at DNS resolvers at that time? Does it support the hypothesis of censorship? BGP messages: look for anomalies that could indicate censorship or just network failure.

Principle 2: Separate measurements and analysis Client collects data but inferences of censorship happen in a separate location Central location can correlate results from a large number of clients + data sources Also helps with defensibility of the dual use property Software itself isn’t doing anything that looks like censorship detection Helpful when you want to go back over the data as well! E.g., testing new detection schemes on existing data

Principle 3: Separate information production from consumption The channels used for gathering censorship information E.g., user submitted reports, browser logs, logs from home routers … should be decoupled from results dissemination. Different sets of users can access the information than collected it Improved deniability Just because you access the information does not mean you helped collect it Makes it more difficult for the censor to disrupt the channels

Principle 4: Dual use scenarios whenever possible Censorship is just another type of reachability problem! Many network debugging and diagnosis tools already gather information that can be used for both these issues and censorship E.g., services like SamKnows already perform tests of reachability to popular sites Anomalies in reachability could also indicate censorship If censorship measurement is a side effect and not a purpose of the tool … users will be more willing to deploy … governments may be less likely to block

Principle 5: Adopt existing robust data channels Leverage tools like Collage, Tor, Aqua, etc. for transporting data when necessary: From the platform to the client software (e.g., commands) From the client to the platform (e.g., results data) From the platform to the public (e.g., reports of censorship) Each channel gives different properties Anonymity (e.g., Tor) Deniability (e.g., Collage) Traffic analysis resistance (e.g., Aqua)

Principle 6: heed and adapt to changing situations/threats Censorship technology may change with time Cannot have a platform that runs only one type of experiment Need to be able to specify multiple types of experiments Talk with people on the ground Monitor the situation E.g., some regions may be too dangerous to monitor: Syria, N. Korea etc.

Ethics/legality of censorship measurements Complicated issue! Using systems like VPNs, VPS, PlanetLab in the region pose least risk to people on the ground Representativeness of results? Realistically, even in countries where there is low Internet penetration attempting to access blocked sites will not be significant enough to raise flags 10 years of ONI data collection support this However, many countries have broadly defined laws And querying a “significant amount” of blocked sites might raise alarms. Informed consent is critical before performing any tests.

So far. .. Many problems …  … some solutions? Be creative Leverage existing measurement platforms to study censorship from outside of the region E.g., RIPE ATLAS (need to be a bit careful here) querying DNS resolvers, sending probes to find collateral censorship Look for censorship in BGP routing data Another solution: Spookyscan (reading on Web page)

Ethical considerations Different measurement techniques have different levels of risk In-country measurements How risky is it to have people access censored sites? What is the threshold for risk? Risk-benefit trade off? How to make sure people are informed? Side channel measurements Causes unsuspecting clients to send RSTs to a server What is the risk? Not stateful communication … … but what about a censor that just looks at flow records? Mitigation idea: make sure you’re not on a user device Javascript-based measurements Is lack of consent enough deniability?

Hands on activity Try spookyscan ! http://spookyscan.cs.unm.edu/scans/censorship How can we find IP addresses for different clients and servers? Clients: www.shodanhq.com search os:freebsd Servers: dig! Check out Encore: http://www.cs.princeton.edu/~feamster/  Look at source here http://encore.noise.gatech.edu/stats.html?referer=http%3A%2F% 2Fwww.cs.princeton.edu%2F~feamster%2F