SlideShare uma empresa Scribd logo
1 de 18
Data Security Governance and
Consumer Cloud Storage
Understanding the technologies and detecting the threats
CCS: Definition
• Consumer Cloud Storage services (CCS) are cloud-based
file systems used to store, retrieve, back up and share
files between multiple users and devices
• Extremely popular, wide market penetration
• Variety of feature differentiators between providers
• Security and operational models vary by provider
Methodology
• We’ll use a dtrace script to print out all outbound tcp
connections and their associated processes and then we’ll
manipulate the applications to see if we can make a correlation
between function and TCP stream
• Install the CCS package while running the ‘opensnoop’ dtrace debugger
and capture the opensnoop output.
• Start the CCS client daemon while running a tShark capture, along with
opensnoop and the soconnect_mac.d dtrace script, logging the output.
• Examine the resulting pcap file and extract the individual TCP sessions
logged by the soconnect_mac.d script. Make note of the ports,
protocols, and networks utilized in the sessions.
• Using the same monitoring techniques, perform file upload,
modification, and deletion operations to the directory monitored by the
service and note any differences (if any).
• Examine the files accessed by the process(es) to determine if any
useful data or correlations can be gleaned.
Dropbox Client Initialization
• Upon client startup:
• DNS: Standard query A clientXX.dropbox.com
• clientXX may be any number between 0-99 (dynamically
generated by a call to /dev/urandom)
• all records are CNAMES for client.dropbox.com
• This is likely a way to prohibit clients from hardcoding a single IP
address in a host file and thereby always directing traffic to a
single login server
• DNS returns list of available client login servers
• All servers within the 199.47.216.0/22 subnet, specifically
199.47.216.159-174
• Server IPs are load balanced to provide load sharing over pool.
Dropbox Client Initialization (cont’d)
• Client selects last IP address returned from the query
• Client establishes TCP connection to this address on port
443 and negotiates TLS encryption
• All traffic for this TCP session is now encrypted
• However, we also see Dropbox connections to
• 108.160.161.159 (talk.google.com)
• 199.47.216.172 (block servers)
Dropbox Flows
Login,
registrations,
Filesystem
updates
https
Client Metadata Servers
v-client-XY.sjc.dropbox.com
199.47.216.172
199.47.216.173
199.47.216.174
199.47.217.172
199.47.217.173
199.47.217.174
199.47.218.159
199.47.218.160
199.47.218.159
199.47.218.160
DNS Query
Local DNS Query for
clientXX.dropbox.com
XX is 0-99
DNS Response
DNS responds with A records for Auth
and Notification Servers (below)
Dropbox Flows (cont’d)
Upload file
index &
check for
changes
https
Upload/
download
new changes
https
Block Servers
dl-clientX.dropbox.com
(X=1-780)
All hostnames resolve to Amazon S2
Cloud Storage Servers on the
following Amazon networks:
204.236.128.0/17
174.129.0.0/16
184.72.0.0/15
23.20.0.0/14
50.16.0.0/14
107.20.0.0/14
23.20.0.0/14
75.101.128.0/17
Notification Servers
notifyxx.dropbox.com
x = 1-40
108.160.160.0/20
Receive update
notifications
http
Dropbox: Interesting Traffic
(The smoking guns)
• XMPP connections to talk.google.com
• from="gmail.com"
id="BC175DBCBFCBDADD"
version="1.0"
xmlns:stream=http://etherx.jabber.org/streams
xmlns="jabber:client”
• IP connections to a known block server
Detecting Dropbox on the Network
• IDS signature
• Cleartext registration with Google Talk servers
• alert tcp $MY_NETWORK any -> $EXTERNAL_NET $HTTP_PORTS
(msg:"DROPBOX.COM services in use"; flow:established,to_server;
content:"/subscribe?host_int="; http_uri; content:"&ns_map="; http_uri; >
content:"&ts="; http_uri; content:".dropbox.com|0d 0a|"; > classtype:policy-
violation; sid:1; rev:1;)
• Augment IDS with log file analysis of DNS server traffic
• Some sophisticated stuff can be done here to ensure that multiple data points are being
analyzed prior to alerting
Google Drive
• The Google Drive service relies upon DNS load balancing
to provide geographic and resource diversity. The Google
drive client begins by querying for clientsX.google.com
(where X is a randomly selected integer between 1 and 5)
• The client’s local DNS server returns a CNAME of
clients.l.google.com and load balanced dynamic list of 11
IP addresses in one of two IP ranges:
• 74.125.236.96/28
• 173.194.36.0/28
Google Drive: Traffic Flows
Login,
registrations,
Filesystem
updates
https
Registration and Notification Servers
clients.l.google.com
74.125.236.96/28
173.194.36.0/28
Upload file
index &
check for
changes
https
DNS Query
Local DNS Query for
clientsX.google.com
X = 1 - 5
DNS Response
DNS server responds with CNAME
clients.l.google.com and load balanced
dynamic A records in ranges:
74.125.236.96/28
173.194.36.0/28
DNS Query
Local DNS Query for
upload.drive.google.com
Google Drive: Traffic Flows (cont’d)
Upload/
download
new changes
https
Block Servers
74.125.131.116 74.125.131.117
XMPP Servers
talk.google.com
74.125.131.125
74.125.133.125
Receive update
notifications
http
DNS Response
DNS server responds with CNAME
large-uploads.l.google.com and A
records:
74.125.131.116
74.125.131.117
DNS Query
Local DNS Query for
talk.google.com
DNS Response
DNS server responds with CNAME
talk.l.google.com and A records:
74.125.131.125
74.125.133.125
Detecting Google Drive on the Network
• No choice but to use a signature based upon DNS queries
• alert udp any -> any 53 (msg:"DNS Query for Google Drive
Upload Server"; content:"|01 00 00 01 00 00 00 00 00 00|";
depth:10; offset:2;
content:"upload|05|drive|06|google|03|com|00"; distance:0;
nocase; classtype:policy-violation; sid:2; ver:1)
• Augment with host based file analysis to differentiate other
Google services from Google Drive
Microsoft SkyDrive
• Similar to Google Drive, SkyDrive relies upon Microsoft’s
server and network resources shared by other Microsoft
services. Client initialization begins with an DNS query to
the local client’s DNS server for login.live.com. The query
returns a CNAME of login.live.com.nsatc.net and eight
IPv4 address records within the ranges of
• 65.54.186.0/25 and
• 65.54.165.128/25.
Microsoft SkyDrive: Traffic Flows
• A mind boggling number of TCP connections
• 13 HTTPs connections to various Microsoft servers within 13
seconds of usage
• All connections are https only
• DNS queries are for login.live.com
• No way to differentiate between other services that leverage
live.com
Detecting SkyDrive on the Network
• Don’t use IDS/IPS (for now…)_
• Watch future iterations of the client releases to see if any non
encrypted traffic is introduced into the flows
• It may be possible to learn more about the architecture of the
service as it matures (Dropbox made this easy. Google made
it harder. Microsoft made it positively nightmarish).
• Instead, focus on file-based analysis to detect SkyDrive
usage:
• ~USER/Application
Data/Microsoft/SkyDrive/SkyDrive.Resources (Mac OSX)
• ~USERAppDataLocalMicrosoftSkyDriveSkyDrive.Resourc
es
Wrap Up
• The increase in CCS use is not going to decline
• The most popular services are treated as embedded
features
• These embedded features utilize the same backend as
less threatening services
• IPS/IDS cannot solve the problem on it’s own
Wrap Up (cont’d)
• We have to augment InfoSec training to include reasoned
arguments against using these services in the work place
• We need to augment our technical controls to include file
based detection instead of just network detection
• Corporations should definitely consider Enterprise File
Sharing Applications (Accellion, etc) to bridge the gap
between user demands and the security needs of the
environment.

Mais conteúdo relacionado

Mais procurados

Apache Kafka, and the Rise of Stream Processing
Apache Kafka, and the Rise of Stream ProcessingApache Kafka, and the Rise of Stream Processing
Apache Kafka, and the Rise of Stream ProcessingGuozhang Wang
 
Docker and Fluentd (revised)
Docker and Fluentd (revised)Docker and Fluentd (revised)
Docker and Fluentd (revised)SATOSHI TAGOMORI
 
Globus Command Line Interface (APS Workshop)
Globus Command Line Interface (APS Workshop)Globus Command Line Interface (APS Workshop)
Globus Command Line Interface (APS Workshop)Globus
 
Fluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUFluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUN Masahiro
 
Stuart Larsen, attacking http2implementations-rev1
Stuart Larsen, attacking http2implementations-rev1Stuart Larsen, attacking http2implementations-rev1
Stuart Larsen, attacking http2implementations-rev1PacSecJP
 
Attacking http2 implementations (1)
Attacking http2 implementations (1)Attacking http2 implementations (1)
Attacking http2 implementations (1)John Villamil
 
Perfect Norikra 2nd Season
Perfect Norikra 2nd SeasonPerfect Norikra 2nd Season
Perfect Norikra 2nd SeasonSATOSHI TAGOMORI
 
Tutorial: Introduction to Globus for System Administrators
Tutorial: Introduction to Globus for System AdministratorsTutorial: Introduction to Globus for System Administrators
Tutorial: Introduction to Globus for System AdministratorsGlobus
 
gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019James Newton-King
 
Event stream processing using Kafka streams
Event stream processing using Kafka streamsEvent stream processing using Kafka streams
Event stream processing using Kafka streamsFredrik Vraalsen
 
From Message to Cluster: A Realworld Introduction to Kafka Capacity Planning
From Message to Cluster: A Realworld Introduction to Kafka Capacity PlanningFrom Message to Cluster: A Realworld Introduction to Kafka Capacity Planning
From Message to Cluster: A Realworld Introduction to Kafka Capacity Planningconfluent
 
Introduction to streaming and messaging flume,kafka,SQS,kinesis
Introduction to streaming and messaging  flume,kafka,SQS,kinesis Introduction to streaming and messaging  flume,kafka,SQS,kinesis
Introduction to streaming and messaging flume,kafka,SQS,kinesis Omid Vahdaty
 
Introduction to Globus for New Users (GlobusWorld Tour - UCSD)
Introduction to Globus for New Users (GlobusWorld Tour - UCSD)Introduction to Globus for New Users (GlobusWorld Tour - UCSD)
Introduction to Globus for New Users (GlobusWorld Tour - UCSD)Globus
 
Globus for System Administrators (CHPC 2019 - South Africa)
Globus for System Administrators (CHPC 2019 - South Africa)Globus for System Administrators (CHPC 2019 - South Africa)
Globus for System Administrators (CHPC 2019 - South Africa)Globus
 
Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...
Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...
Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...confluent
 

Mais procurados (20)

Apache Kafka, and the Rise of Stream Processing
Apache Kafka, and the Rise of Stream ProcessingApache Kafka, and the Rise of Stream Processing
Apache Kafka, and the Rise of Stream Processing
 
Docker and Fluentd (revised)
Docker and Fluentd (revised)Docker and Fluentd (revised)
Docker and Fluentd (revised)
 
Globus Command Line Interface (APS Workshop)
Globus Command Line Interface (APS Workshop)Globus Command Line Interface (APS Workshop)
Globus Command Line Interface (APS Workshop)
 
Crawl
CrawlCrawl
Crawl
 
Fluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUFluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EU
 
Cloudera's Flume
Cloudera's FlumeCloudera's Flume
Cloudera's Flume
 
Stuart Larsen, attacking http2implementations-rev1
Stuart Larsen, attacking http2implementations-rev1Stuart Larsen, attacking http2implementations-rev1
Stuart Larsen, attacking http2implementations-rev1
 
Attacking http2 implementations (1)
Attacking http2 implementations (1)Attacking http2 implementations (1)
Attacking http2 implementations (1)
 
Perfect Norikra 2nd Season
Perfect Norikra 2nd SeasonPerfect Norikra 2nd Season
Perfect Norikra 2nd Season
 
Tutorial: Introduction to Globus for System Administrators
Tutorial: Introduction to Globus for System AdministratorsTutorial: Introduction to Globus for System Administrators
Tutorial: Introduction to Globus for System Administrators
 
Flume
FlumeFlume
Flume
 
gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019
 
Event stream processing using Kafka streams
Event stream processing using Kafka streamsEvent stream processing using Kafka streams
Event stream processing using Kafka streams
 
From Message to Cluster: A Realworld Introduction to Kafka Capacity Planning
From Message to Cluster: A Realworld Introduction to Kafka Capacity PlanningFrom Message to Cluster: A Realworld Introduction to Kafka Capacity Planning
From Message to Cluster: A Realworld Introduction to Kafka Capacity Planning
 
Inside Flume
Inside FlumeInside Flume
Inside Flume
 
Introduction to streaming and messaging flume,kafka,SQS,kinesis
Introduction to streaming and messaging  flume,kafka,SQS,kinesis Introduction to streaming and messaging  flume,kafka,SQS,kinesis
Introduction to streaming and messaging flume,kafka,SQS,kinesis
 
Introduction to Globus for New Users (GlobusWorld Tour - UCSD)
Introduction to Globus for New Users (GlobusWorld Tour - UCSD)Introduction to Globus for New Users (GlobusWorld Tour - UCSD)
Introduction to Globus for New Users (GlobusWorld Tour - UCSD)
 
Globus for System Administrators (CHPC 2019 - South Africa)
Globus for System Administrators (CHPC 2019 - South Africa)Globus for System Administrators (CHPC 2019 - South Africa)
Globus for System Administrators (CHPC 2019 - South Africa)
 
HTTP/2
HTTP/2HTTP/2
HTTP/2
 
Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...
Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...
Kafka Summit SF 2017 - MultiCluster, MultiTenant and Hierarchical Kafka Messa...
 

Destaque

Project+ updated prsntn 2012
Project+ updated prsntn 2012Project+ updated prsntn 2012
Project+ updated prsntn 2012CAMTIC
 
Heather Cascioli PPP Final
Heather Cascioli PPP FinalHeather Cascioli PPP Final
Heather Cascioli PPP FinalHeather Cascioli
 
Anu-resume (1)
Anu-resume (1)Anu-resume (1)
Anu-resume (1)Anu Nair
 
One piece vol 01 cap 05
One piece vol 01 cap 05One piece vol 01 cap 05
One piece vol 01 cap 05Jonatan Garcia
 
Accel world vol 01 cap 01
Accel world vol 01 cap 01Accel world vol 01 cap 01
Accel world vol 01 cap 01Jonatan Garcia
 
One piece vol 01 cap 06
One piece vol 01 cap 06One piece vol 01 cap 06
One piece vol 01 cap 06Jonatan Garcia
 
Mox & Dom Social Media - Business Blog
Mox & Dom Social Media - Business BlogMox & Dom Social Media - Business Blog
Mox & Dom Social Media - Business BlogSteve Attarian
 
Code breaker vol 01 cap 01
Code breaker vol 01 cap 01Code breaker vol 01 cap 01
Code breaker vol 01 cap 01Jonatan Garcia
 
Group 1 e-books (1)
Group 1 e-books (1)Group 1 e-books (1)
Group 1 e-books (1)jlui052395
 
Incorporating Wireless Measurements with Wired Data Acquisition Systems
Incorporating Wireless Measurements with Wired Data Acquisition SystemsIncorporating Wireless Measurements with Wired Data Acquisition Systems
Incorporating Wireless Measurements with Wired Data Acquisition Systemscmstiernberg
 
NORMAS DE AULA DO BRUPO B
NORMAS DE AULA DO BRUPO BNORMAS DE AULA DO BRUPO B
NORMAS DE AULA DO BRUPO Bantiovilaverde
 
Power point reunion familias de 3 anos 2016
Power point reunion familias de 3 anos 2016Power point reunion familias de 3 anos 2016
Power point reunion familias de 3 anos 2016antiovilaverde
 
Hany Mahboub Ahmad formatted April-2016
Hany Mahboub Ahmad formatted April-2016Hany Mahboub Ahmad formatted April-2016
Hany Mahboub Ahmad formatted April-2016Hani Ahmed
 
Sprawozdanie z wykonania budżetu za rok 2015
Sprawozdanie z wykonania budżetu za rok 2015Sprawozdanie z wykonania budżetu za rok 2015
Sprawozdanie z wykonania budżetu za rok 2015Anna Świderska
 
PROJE HALE TAMRIN BA SPSS
PROJE HALE TAMRIN BA SPSSPROJE HALE TAMRIN BA SPSS
PROJE HALE TAMRIN BA SPSSEng. QaSeMy
 

Destaque (19)

Project+ updated prsntn 2012
Project+ updated prsntn 2012Project+ updated prsntn 2012
Project+ updated prsntn 2012
 
Heather Cascioli PPP Final
Heather Cascioli PPP FinalHeather Cascioli PPP Final
Heather Cascioli PPP Final
 
Anu-resume (1)
Anu-resume (1)Anu-resume (1)
Anu-resume (1)
 
One piece vol 01 cap 05
One piece vol 01 cap 05One piece vol 01 cap 05
One piece vol 01 cap 05
 
Naruto vol 03 cap 24
Naruto vol 03 cap 24Naruto vol 03 cap 24
Naruto vol 03 cap 24
 
Accel world vol 01 cap 01
Accel world vol 01 cap 01Accel world vol 01 cap 01
Accel world vol 01 cap 01
 
One piece vol 01 cap 06
One piece vol 01 cap 06One piece vol 01 cap 06
One piece vol 01 cap 06
 
Mox & Dom Social Media - Business Blog
Mox & Dom Social Media - Business BlogMox & Dom Social Media - Business Blog
Mox & Dom Social Media - Business Blog
 
Code breaker vol 01 cap 01
Code breaker vol 01 cap 01Code breaker vol 01 cap 01
Code breaker vol 01 cap 01
 
Group 1 e-books (1)
Group 1 e-books (1)Group 1 e-books (1)
Group 1 e-books (1)
 
Askep anak anemia
Askep anak anemiaAskep anak anemia
Askep anak anemia
 
Styles
StylesStyles
Styles
 
Incorporating Wireless Measurements with Wired Data Acquisition Systems
Incorporating Wireless Measurements with Wired Data Acquisition SystemsIncorporating Wireless Measurements with Wired Data Acquisition Systems
Incorporating Wireless Measurements with Wired Data Acquisition Systems
 
NORMAS DE AULA DO BRUPO B
NORMAS DE AULA DO BRUPO BNORMAS DE AULA DO BRUPO B
NORMAS DE AULA DO BRUPO B
 
Power point reunion familias de 3 anos 2016
Power point reunion familias de 3 anos 2016Power point reunion familias de 3 anos 2016
Power point reunion familias de 3 anos 2016
 
Workers Compensation White Paper
Workers Compensation White PaperWorkers Compensation White Paper
Workers Compensation White Paper
 
Hany Mahboub Ahmad formatted April-2016
Hany Mahboub Ahmad formatted April-2016Hany Mahboub Ahmad formatted April-2016
Hany Mahboub Ahmad formatted April-2016
 
Sprawozdanie z wykonania budżetu za rok 2015
Sprawozdanie z wykonania budżetu za rok 2015Sprawozdanie z wykonania budżetu za rok 2015
Sprawozdanie z wykonania budżetu za rok 2015
 
PROJE HALE TAMRIN BA SPSS
PROJE HALE TAMRIN BA SPSSPROJE HALE TAMRIN BA SPSS
PROJE HALE TAMRIN BA SPSS
 

Semelhante a Data Security Governanace and Consumer Cloud Storage

Cloudstone - Sharpening Your Weapons Through Big Data
Cloudstone - Sharpening Your Weapons Through Big DataCloudstone - Sharpening Your Weapons Through Big Data
Cloudstone - Sharpening Your Weapons Through Big DataChristopher Grayson
 
CNIT 121: 10 Enterprise Services
CNIT 121: 10 Enterprise ServicesCNIT 121: 10 Enterprise Services
CNIT 121: 10 Enterprise ServicesSam Bowne
 
CNIT 152: 10 Enterprise Services
CNIT 152: 10 Enterprise ServicesCNIT 152: 10 Enterprise Services
CNIT 152: 10 Enterprise ServicesSam Bowne
 
CNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise ServiceCNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise ServiceSam Bowne
 
What's New in NGINX Plus R7?
What's New in NGINX Plus R7?What's New in NGINX Plus R7?
What's New in NGINX Plus R7?NGINX, Inc.
 
Analysis of the LAN Sync Protocol
Analysis of the LAN Sync ProtocolAnalysis of the LAN Sync Protocol
Analysis of the LAN Sync ProtocolSJSU
 
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Amazon Web Services
 
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...Amazon Web Services
 
System and network administration network services
System and network administration network servicesSystem and network administration network services
System and network administration network servicesUc Man
 
Benchmarking Personal Cloud Storage
Benchmarking Personal Cloud StorageBenchmarking Personal Cloud Storage
Benchmarking Personal Cloud StorageSpyros Eleftheriadis
 
haproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdfhaproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdfPawanVerma628806
 
Cdn technology overview
Cdn technology overviewCdn technology overview
Cdn technology overviewYoohyun Kim
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...Amazon Web Services
 
Mapbox.com: Serving maps from 8 regions
Mapbox.com: Serving maps from 8 regionsMapbox.com: Serving maps from 8 regions
Mapbox.com: Serving maps from 8 regionsJohan
 
98 366 mva slides lesson 6
98 366 mva slides lesson 698 366 mva slides lesson 6
98 366 mva slides lesson 6suddenven
 

Semelhante a Data Security Governanace and Consumer Cloud Storage (20)

Cloudstone - Sharpening Your Weapons Through Big Data
Cloudstone - Sharpening Your Weapons Through Big DataCloudstone - Sharpening Your Weapons Through Big Data
Cloudstone - Sharpening Your Weapons Through Big Data
 
CNIT 121: 10 Enterprise Services
CNIT 121: 10 Enterprise ServicesCNIT 121: 10 Enterprise Services
CNIT 121: 10 Enterprise Services
 
DNS - MCSE 2019
DNS - MCSE 2019DNS - MCSE 2019
DNS - MCSE 2019
 
CNIT 152: 10 Enterprise Services
CNIT 152: 10 Enterprise ServicesCNIT 152: 10 Enterprise Services
CNIT 152: 10 Enterprise Services
 
CNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise ServiceCNIT 152 10 Enterprise Service
CNIT 152 10 Enterprise Service
 
What's New in NGINX Plus R7?
What's New in NGINX Plus R7?What's New in NGINX Plus R7?
What's New in NGINX Plus R7?
 
Analysis of the LAN Sync Protocol
Analysis of the LAN Sync ProtocolAnalysis of the LAN Sync Protocol
Analysis of the LAN Sync Protocol
 
Amazon CloudFront Complete with Blazeclan's Media Solution Stack
Amazon CloudFront Complete with Blazeclan's Media Solution StackAmazon CloudFront Complete with Blazeclan's Media Solution Stack
Amazon CloudFront Complete with Blazeclan's Media Solution Stack
 
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
 
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
AWS re:Invent 2016: Global Traffic Management with Amazon Route 53 Traffic Fl...
 
System and network administration network services
System and network administration network servicesSystem and network administration network services
System and network administration network services
 
Benchmarking Personal Cloud Storage
Benchmarking Personal Cloud StorageBenchmarking Personal Cloud Storage
Benchmarking Personal Cloud Storage
 
haproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdfhaproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdf
 
HAProxy
HAProxy HAProxy
HAProxy
 
Cdn technology overview
Cdn technology overviewCdn technology overview
Cdn technology overview
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
Jagmohancrawl
JagmohancrawlJagmohancrawl
Jagmohancrawl
 
Mapbox.com: Serving maps from 8 regions
Mapbox.com: Serving maps from 8 regionsMapbox.com: Serving maps from 8 regions
Mapbox.com: Serving maps from 8 regions
 
MVA slides lesson 6
MVA slides lesson 6MVA slides lesson 6
MVA slides lesson 6
 
98 366 mva slides lesson 6
98 366 mva slides lesson 698 366 mva slides lesson 6
98 366 mva slides lesson 6
 

Último

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Último (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

Data Security Governanace and Consumer Cloud Storage

  • 1. Data Security Governance and Consumer Cloud Storage Understanding the technologies and detecting the threats
  • 2. CCS: Definition • Consumer Cloud Storage services (CCS) are cloud-based file systems used to store, retrieve, back up and share files between multiple users and devices • Extremely popular, wide market penetration • Variety of feature differentiators between providers • Security and operational models vary by provider
  • 3. Methodology • We’ll use a dtrace script to print out all outbound tcp connections and their associated processes and then we’ll manipulate the applications to see if we can make a correlation between function and TCP stream • Install the CCS package while running the ‘opensnoop’ dtrace debugger and capture the opensnoop output. • Start the CCS client daemon while running a tShark capture, along with opensnoop and the soconnect_mac.d dtrace script, logging the output. • Examine the resulting pcap file and extract the individual TCP sessions logged by the soconnect_mac.d script. Make note of the ports, protocols, and networks utilized in the sessions. • Using the same monitoring techniques, perform file upload, modification, and deletion operations to the directory monitored by the service and note any differences (if any). • Examine the files accessed by the process(es) to determine if any useful data or correlations can be gleaned.
  • 4. Dropbox Client Initialization • Upon client startup: • DNS: Standard query A clientXX.dropbox.com • clientXX may be any number between 0-99 (dynamically generated by a call to /dev/urandom) • all records are CNAMES for client.dropbox.com • This is likely a way to prohibit clients from hardcoding a single IP address in a host file and thereby always directing traffic to a single login server • DNS returns list of available client login servers • All servers within the 199.47.216.0/22 subnet, specifically 199.47.216.159-174 • Server IPs are load balanced to provide load sharing over pool.
  • 5. Dropbox Client Initialization (cont’d) • Client selects last IP address returned from the query • Client establishes TCP connection to this address on port 443 and negotiates TLS encryption • All traffic for this TCP session is now encrypted • However, we also see Dropbox connections to • 108.160.161.159 (talk.google.com) • 199.47.216.172 (block servers)
  • 6. Dropbox Flows Login, registrations, Filesystem updates https Client Metadata Servers v-client-XY.sjc.dropbox.com 199.47.216.172 199.47.216.173 199.47.216.174 199.47.217.172 199.47.217.173 199.47.217.174 199.47.218.159 199.47.218.160 199.47.218.159 199.47.218.160 DNS Query Local DNS Query for clientXX.dropbox.com XX is 0-99 DNS Response DNS responds with A records for Auth and Notification Servers (below)
  • 7. Dropbox Flows (cont’d) Upload file index & check for changes https Upload/ download new changes https Block Servers dl-clientX.dropbox.com (X=1-780) All hostnames resolve to Amazon S2 Cloud Storage Servers on the following Amazon networks: 204.236.128.0/17 174.129.0.0/16 184.72.0.0/15 23.20.0.0/14 50.16.0.0/14 107.20.0.0/14 23.20.0.0/14 75.101.128.0/17 Notification Servers notifyxx.dropbox.com x = 1-40 108.160.160.0/20 Receive update notifications http
  • 8. Dropbox: Interesting Traffic (The smoking guns) • XMPP connections to talk.google.com • from="gmail.com" id="BC175DBCBFCBDADD" version="1.0" xmlns:stream=http://etherx.jabber.org/streams xmlns="jabber:client” • IP connections to a known block server
  • 9. Detecting Dropbox on the Network • IDS signature • Cleartext registration with Google Talk servers • alert tcp $MY_NETWORK any -> $EXTERNAL_NET $HTTP_PORTS (msg:"DROPBOX.COM services in use"; flow:established,to_server; content:"/subscribe?host_int="; http_uri; content:"&ns_map="; http_uri; > content:"&ts="; http_uri; content:".dropbox.com|0d 0a|"; > classtype:policy- violation; sid:1; rev:1;) • Augment IDS with log file analysis of DNS server traffic • Some sophisticated stuff can be done here to ensure that multiple data points are being analyzed prior to alerting
  • 10. Google Drive • The Google Drive service relies upon DNS load balancing to provide geographic and resource diversity. The Google drive client begins by querying for clientsX.google.com (where X is a randomly selected integer between 1 and 5) • The client’s local DNS server returns a CNAME of clients.l.google.com and load balanced dynamic list of 11 IP addresses in one of two IP ranges: • 74.125.236.96/28 • 173.194.36.0/28
  • 11. Google Drive: Traffic Flows Login, registrations, Filesystem updates https Registration and Notification Servers clients.l.google.com 74.125.236.96/28 173.194.36.0/28 Upload file index & check for changes https DNS Query Local DNS Query for clientsX.google.com X = 1 - 5 DNS Response DNS server responds with CNAME clients.l.google.com and load balanced dynamic A records in ranges: 74.125.236.96/28 173.194.36.0/28 DNS Query Local DNS Query for upload.drive.google.com
  • 12. Google Drive: Traffic Flows (cont’d) Upload/ download new changes https Block Servers 74.125.131.116 74.125.131.117 XMPP Servers talk.google.com 74.125.131.125 74.125.133.125 Receive update notifications http DNS Response DNS server responds with CNAME large-uploads.l.google.com and A records: 74.125.131.116 74.125.131.117 DNS Query Local DNS Query for talk.google.com DNS Response DNS server responds with CNAME talk.l.google.com and A records: 74.125.131.125 74.125.133.125
  • 13. Detecting Google Drive on the Network • No choice but to use a signature based upon DNS queries • alert udp any -> any 53 (msg:"DNS Query for Google Drive Upload Server"; content:"|01 00 00 01 00 00 00 00 00 00|"; depth:10; offset:2; content:"upload|05|drive|06|google|03|com|00"; distance:0; nocase; classtype:policy-violation; sid:2; ver:1) • Augment with host based file analysis to differentiate other Google services from Google Drive
  • 14. Microsoft SkyDrive • Similar to Google Drive, SkyDrive relies upon Microsoft’s server and network resources shared by other Microsoft services. Client initialization begins with an DNS query to the local client’s DNS server for login.live.com. The query returns a CNAME of login.live.com.nsatc.net and eight IPv4 address records within the ranges of • 65.54.186.0/25 and • 65.54.165.128/25.
  • 15. Microsoft SkyDrive: Traffic Flows • A mind boggling number of TCP connections • 13 HTTPs connections to various Microsoft servers within 13 seconds of usage • All connections are https only • DNS queries are for login.live.com • No way to differentiate between other services that leverage live.com
  • 16. Detecting SkyDrive on the Network • Don’t use IDS/IPS (for now…)_ • Watch future iterations of the client releases to see if any non encrypted traffic is introduced into the flows • It may be possible to learn more about the architecture of the service as it matures (Dropbox made this easy. Google made it harder. Microsoft made it positively nightmarish). • Instead, focus on file-based analysis to detect SkyDrive usage: • ~USER/Application Data/Microsoft/SkyDrive/SkyDrive.Resources (Mac OSX) • ~USERAppDataLocalMicrosoftSkyDriveSkyDrive.Resourc es
  • 17. Wrap Up • The increase in CCS use is not going to decline • The most popular services are treated as embedded features • These embedded features utilize the same backend as less threatening services • IPS/IDS cannot solve the problem on it’s own
  • 18. Wrap Up (cont’d) • We have to augment InfoSec training to include reasoned arguments against using these services in the work place • We need to augment our technical controls to include file based detection instead of just network detection • Corporations should definitely consider Enterprise File Sharing Applications (Accellion, etc) to bridge the gap between user demands and the security needs of the environment.

Notas do Editor

  1. Market penetration: Dropbox- 2008: 200,000 customers, 1.5m valuation. 2010: 2,000,000 users, 4 billion USD valuation The purpose of this document is to look over the most popular