27
DNS-sly: Avoiding Censorship through Network Complexity Qurat-Ul-Ann Akbar, Northwestern U. Marcel Flores, Northwestern U. Aleksandar Kuzmanovic, Northwestern U. http://networks.cs.northwestern.edu

DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

DNS-sly: Avoiding Censorship through Network Complexity

Qurat-Ul-Ann Akbar, Northwestern U. Marcel Flores, Northwestern U.Aleksandar Kuzmanovic, Northwestern U.

http://networks.cs.northwestern.edu

Page 2: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Internet Censorship is a prevalent problem

2

Page 3: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity3

Page 4: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity4

problem

Page 5: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

CircumventionTechnique

Covertness Deniability Performance

Proxies

AnonymousNetworks

DNS TunnelingTechniques

HTTP Tunneling Techniques

Circumvention Techniques

5

Yes No High

Yes No High

Yes No High

Yes StatisticalDeniability

Low

Page 6: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Research Problem

Deniability Performance

6

Can we create a circumvention technique with high deniability with minimum impact on performance ?

Page 7: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Our SolutionDNS is a core Internet service Significant network complexity in todays Internet– Trillions of DNS requests per day– Proliferation of public DNS servers– CDNs

Leverage this complexity in DNS traffic to hide information

7

Page 8: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

OutlineMotivationDNS-sly ProtocolCase for DNS-slyEvaluation

8

Page 9: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

DNS-sly Overview

Components : DNS-sly requester and responder DNS-sly responder profiles the clients DNS behavior Exchanges profile information with the requester In the downstream direction, responder encodes the content from the ‘censored website’ in DNS response packets

9

Page 10: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

First Phase - Endpoint Profiling DNS-sly responder profiles clients DNS behavior– Records domains – Forms IP set per domain

Creates profile map – a mapping of domains to the server IPs they are hosted onExchanges profile map with the requester via out-of-band communication

10

Page 11: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Second Phase - Communication In the upstream direction, the DNS-sly requester crafts DNS requests using the profile mapUpon receiving the request, the responder retrieves the content from WebIn the downstream direction, the DNS-sly responder encodes content using DNS responses

11

Page 12: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

DNS Packet Format

12

Domain Associated IP addresses

Page 13: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Encoding DataGoal - Represent data as a choice of A records from a pool of IP addressesResponder computes the number of bytes of data to be encodedUses a number representation scheme to map data to a set of IP addresses Forms a valid DNS response and sends it back to the DNS-sly requester

13

Page 14: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Encoding Data - Example

14

Domain = “ facebook.com ”IP set size = 256Number of A records = 6Choices ~ P(256,6) Data encoded = 6 Bytes

“ abcdef ”Number

Representation Scheme

173.252.74.68173.252.74.1173.252.74.13173.252.74.128173.252.74.90173.252.74.55

A Records

Page 15: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

System Overview

15

Client

DNS-sly Requester

DNS-sly Responder

DNS Req

DNS-sly Client

DNS-sly Server

CensorDNS Req / Hidd. Mess.

DNS Req

Visible DNS Req

Visible DNS Req

DNS Req

Visible DNS Resp /

Hidden Content

DNSResp /

Hidden Content

Visible DNSResp /

Hidden Content

DNSResp /

Hidden Content

DNSResp +

Content

EncodeDecode

Page 16: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

OutlineMotivationDNS-sly ProtocolCase for DNS-slyEvaluation

16

Page 17: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

DNS Request Variability Fragmented Web pages Larger number of DNS requests better for deniability:– DNS-sly requests hard to detect– Leads to increased probability of DNS

responses suitable for data encoding

17

Page 18: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Number of DNS Resolutions per Domain

18

Median is ~50 DNS resolutions per domain

20% of domains have >90 DNS resolutions

Page 19: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

DNS Response VariabilityNumber of IP addresses a domain maps to determines the potential for encoding downstream data– Global and local

Number of A records determines data that can be embedded in a single DNS response Rate of change in A records determines the timescales at which to operate to retain statistical deniability

19

Page 20: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Experimental Results

20

Maximum number of IPs a domain maps to is 850

~ 1/3rd of DNS responses have 8 A records with maximum up to 15,

Every 30 minutes the responses change completely

Page 21: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

OutlineMotivationDNS-sly ProtocolCase for DNS-slyEvaluation

21

Page 22: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Security Evaluation: MethodologyEmulated a censors probing attackFor every response from a DNS-sly responder, queried five other DNS resolvers for the same domainEvaluated by computing the mean and variance of the change between the DNS responses

22

Page 23: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Security Evaluation: Results

23

Page 24: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Performance Evaluation: Methodology Evaluated downstream performance using the metric, bytes per click – Single click defined as loading of a page, including

DNS resolutions for all domains included on the page

Deployed DNS-sly in a known-censored environment to exchange data from a known-censored website

24

Page 25: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

Performance Evaluation: Results

25

Median Page Click (global) > 100 Bytes

Median Page Click (local) ~ 75 Bytes

Maximum Bytes encoded ~ 600 Bytes

Page 26: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Qurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity

ConclusionDNS-sly: a system that enables a DNS covert channel which provides high deniability while maintaining good performanceDNS-sly adjusts its behavior to the clients Utilizes frequently changing A records to embed data in DNS responses Achieves downstream throughput of upto 600 Bytes of hidden data per Web page click

26

Page 27: DNS-sly: Avoiding Censorship through Network ComplexityQurat-Ul-Ann Akbar DNS-sly: Avoiding Censorship through Network Complexity Research Problem Deniability Performance 6 Can we

Thank You

http://networks.cs.northwestern.edu