• No results found

Cloud Computing Security

N/A
N/A
Protected

Academic year: 2021

Share "Cloud Computing Security"

Copied!
36
0
0

Loading.... (view fulltext now)

Full text

(1)

Cloud Computing Security

Nanyang Technical University, Singapore

6th February 2012

Mark D. Ryan

University of Birmingham

(2)

Cloud computing

Infrastructure as a service (IaaS)

Virtual machines running an operating system with storage.

Examples:

Amazon web services, EC2 and S3.

Platform as a service (PaaS)

A specific computing platform and language.

Example:

Google App Engine.

Software as a service (SaaS)

A specific software service.

Examples:

Facebook, Google Docs, EasyChair,

iCloud, Dropbox, Gmail.

(3)

Inexorable rise of cloud computing

Motivation for

cloud computing

simplicity

cost

security

resilience

flexibility

pace of

innovation

Worldwide cloud services revenue is forecast to

reach $68.3 billion in 2010 and projected to

reach $148.8 billion by 2014, acconding to a

report by consultancy firm KPMG.

Consequences

Google Apps is a packaged version of

Google Docs, Mail, Calendar and other

products under a custom domain name.

In January 2011, 3,000 businesses were

moving to Google Apps each day. . .

. . . and three million have moved since its

debut in 2007.

(4)

Security: main obstacle to deployment

Availability and integrity - no problem

Google claims “no

scheduled

downtime”

(thanks to

distributed back

end) and

guarantees 99.9%

availability.

Confidentiality - big problem

Confidentiality violation by the cloud provider. . . Google’s business model involves mining its users’ data.

. . . and its individual employees:

In July 2010, Google dismissed an engineer for accessing user accounts.

. . . and third-party adversaries

In December 2010, Google reported a “highly sophisticated and targetted attack” designed to steal information about users from Gmail. The Cloud Security Alliance highlights loss of data

confidentiality, malicious insiders, technology vulnerabilities and service hijacking as four of its seven top threats of cloud computing.

(5)

Cloud Security Alliance top threats

1.

Abuse and nefarious use of cloud computing

2.

Insecure interfaces and APIs

3.

Malicious insiders

4.

Shared technology issues

5.

Data loss or leakage

6.

Account or service hijacking

(6)

Can we avoid trusting cloud service providers?

This need to trust is a problem that’s behind many of CSA’s

threats.

Approaches:

Fully homomorphic encryption

Searchable encryption

Client-side key translation

(this talk)

Hardware-based security

(7)

Fully homomorphic encryption

Won’t ever be fast enough?

Key and ciphertext sizes way too big.

(currently measured in Gb)

It’s public-key crypto without a “data key”/“session key”.

(Normally, we never encrypt data with a public key.)

Useful enough?

Given L = [{x

1

}

pk

, {x

2

}

pk

, . . . , {x

n

}

pk

] and a predicate P,

can compute [{P(x1)}pk, {P(x2)}pk, . . . , {P(xn)}pk]

but cannot compute [{x}pk ∈ L | P(x)]

(8)

Confichair: Privacy-supporting EasyChair

Myrto Arapinis, Sergiu Bursuc, Mark D. Ryan

School of Computer Science, University of Birmingham

(9)

EasyChair: the little Facebook

Year #confs

2002

2

2003

3

2004

7

2005

66

2006

276

2007

629

2008

1312

2009

2183

2010

3305

2011 ≥ 4517

2012: 15,262 conferences, 573,304 users

(10)

EasyChair data about Mark Ryan, 2005-2011

EasyChair admins can see or derive, e.g., the following data: Mark Ryan reviewed papers byAnwitaman Datta(CALCO’11),Wang Wenqiang (ESOP’11),Dinh Tien Tuan Anh(ESORICS’10),Stefano Braghin (FM’10) and others. Recommendedrejectfor all of them.

Mark Ryan’s papers were reviewed byLiu Xin(S&P’10),Li Chenliang (TRUST’09),Rajesh Sharma(POPL’08),Quach Vinh Thanh(CAV’09), etc. They all recommendedaccept.

number of papers submitted 25 number of papers accepted 17 Acceptance rate 0.68 number of papers reviewed 107 number of times recommended accept 24 Recomendation agr. w. outcome 28% Probability CSF 2012 re-invites him 0.2 Prob. will win ACM Turing award 2−11.2

(11)

EasyChair data about Mark Ryan, 2005-2011

EasyChair admins can see or derive, e.g., the following data: Mark Ryan reviewed papers byAnwitaman Datta(CALCO’11),Wang Wenqiang (ESOP’11),Dinh Tien Tuan Anh(ESORICS’10),Stefano Braghin (FM’10) and others.

Recommendedrejectfor all of them.

Mark Ryan’s papers were reviewed byLiu Xin(S&P’10),Li Chenliang (TRUST’09),Rajesh Sharma(POPL’08),Quach Vinh Thanh(CAV’09), etc. They all recommendedaccept.

number of papers submitted 25 number of papers accepted 17 Acceptance rate 0.68 number of papers reviewed 107 number of times recommended accept 24 Recomendation agr. w. outcome 28% Probability CSF 2012 re-invites him 0.2 Prob. will win ACM Turing award 2−11.2

(12)

EasyChair data about Mark Ryan, 2005-2011

EasyChair admins can see or derive, e.g., the following data: Mark Ryan reviewed papers byAnwitaman Datta(CALCO’11),Wang Wenqiang (ESOP’11),Dinh Tien Tuan Anh(ESORICS’10),Stefano Braghin (FM’10) and others. Recommendedrejectfor all of them.

Mark Ryan’s papers were reviewed byLiu Xin(S&P’10),Li Chenliang (TRUST’09),Rajesh Sharma(POPL’08),Quach Vinh Thanh(CAV’09), etc. They all recommendedaccept.

number of papers submitted 25 number of papers accepted 17 Acceptance rate 0.68 number of papers reviewed 107 number of times recommended accept 24 Recomendation agr. w. outcome 28% Probability CSF 2012 re-invites him 0.2 Prob. will win ACM Turing award 2−11.2

(13)

EasyChair data about Mark Ryan, 2005-2011

EasyChair admins can see or derive, e.g., the following data: Mark Ryan reviewed papers byAnwitaman Datta(CALCO’11),Wang Wenqiang (ESOP’11),Dinh Tien Tuan Anh(ESORICS’10),Stefano Braghin (FM’10) and others. Recommendedrejectfor all of them.

Mark Ryan’s papers were reviewed byLiu Xin(S&P’10),Li Chenliang (TRUST’09),Rajesh Sharma(POPL’08),Quach Vinh Thanh(CAV’09), etc.

They all recommendedaccept.

number of papers submitted 25 number of papers accepted 17 Acceptance rate 0.68 number of papers reviewed 107 number of times recommended accept 24 Recomendation agr. w. outcome 28% Probability CSF 2012 re-invites him 0.2 Prob. will win ACM Turing award 2−11.2

(14)

EasyChair data about Mark Ryan, 2005-2011

EasyChair admins can see or derive, e.g., the following data: Mark Ryan reviewed papers byAnwitaman Datta(CALCO’11),Wang Wenqiang (ESOP’11),Dinh Tien Tuan Anh(ESORICS’10),Stefano Braghin (FM’10) and others. Recommendedrejectfor all of them.

Mark Ryan’s papers were reviewed byLiu Xin(S&P’10),Li Chenliang (TRUST’09),Rajesh Sharma(POPL’08),Quach Vinh Thanh(CAV’09), etc. They all recommendedaccept.

number of papers submitted 25 number of papers accepted 17 Acceptance rate 0.68 number of papers reviewed 107 number of times recommended accept 24 Recomendation agr. w. outcome 28% Probability CSF 2012 re-invites him 0.2 Prob. will win ACM Turing award 2−11.2

(15)

EasyChair data about Mark Ryan, 2005-2011

EasyChair admins can see or derive, e.g., the following data: Mark Ryan reviewed papers byAnwitaman Datta(CALCO’11),Wang Wenqiang (ESOP’11),Dinh Tien Tuan Anh(ESORICS’10),Stefano Braghin (FM’10) and others. Recommendedrejectfor all of them.

Mark Ryan’s papers were reviewed byLiu Xin(S&P’10),Li Chenliang (TRUST’09),Rajesh Sharma(POPL’08),Quach Vinh Thanh(CAV’09), etc. They all recommendedaccept.

number of papers submitted 25 number of papers accepted 17 Acceptance rate 0.68 number of papers reviewed 107 number of times recommended accept 24 Recomendation agr. w. outcome 28%

Probability CSF 2012 re-invites him 0.2 Prob. will win ACM Turing award 2−11.2

(16)

EasyChair data about Mark Ryan, 2005-2011

EasyChair admins can see or derive, e.g., the following data: Mark Ryan reviewed papers byAnwitaman Datta(CALCO’11),Wang Wenqiang (ESOP’11),Dinh Tien Tuan Anh(ESORICS’10),Stefano Braghin (FM’10) and others. Recommendedrejectfor all of them.

Mark Ryan’s papers were reviewed byLiu Xin(S&P’10),Li Chenliang (TRUST’09),Rajesh Sharma(POPL’08),Quach Vinh Thanh(CAV’09), etc. They all recommendedaccept.

number of papers submitted 25 number of papers accepted 17 Acceptance rate 0.68 number of papers reviewed 107 number of times recommended accept 24 Recomendation agr. w. outcome 28% Probability CSF 2012 re-invites him 0.2 Prob. will win ACM Turing award 2−11.2

(17)

The service provider

can

Read and modify submissions

and reviews.

Impersonate participants.

Write fake reviews.

Delete accounts, deny

service.

Serve targetted

advertisements using users’

data.

Publish submission/reviewing

profiles for funding/awards

committees etc.

Sell services e.g. employment

references for academics.

A third-party

attacker can use

server vulnerabilities

to

obtain submissions and

reviews.

modify or delete data,

impersonate participants,

write fake reviews.

(18)
(19)

C Cloud R A

Initialisation

create Conf, KConf, pub(Conf), priv(Conf)

Conf, R1, . . . , Rℓ DBKeys← ∅ DBPapers← ∅ KConf Submission create λ, p, k key ← (λ, A, {λ, k}pub(Conf)) paper ← (λ, A, {λ, A, p}k) (key, paper)

DBKeys← DBKeys∪ {key}

(20)

C Cloud R A

Reviewing DBKeys DBPapers DBr Keys←R ½ (µ, {µ, λ, k}KConf, R, C) ¯¯ ¯¯ (λ, A, {λ, k}pub(Conf)) ∈ DBKeys, µ ∈rN, R, C ⊆r{R1, . . . , Rℓ}, R ∩ C = ∅ ¾ DBr Keys

for all (µ, {µ, λ, k}KConf, R, C) ∈ DBrKeys ∧ R 6∈ C

DBµ← ∅ (µ, {µ, λ, k}KConf, R) if R ∈ R then pick s ∈ S create r rev ← {µ, λ, k, r, s, ∅}KConf (µ, rev) DBµ← DBµ∪ {(R, rev)}

(21)

C Cloud R A Discussion (R′, {(µ, λ, k, r′, s′, D)}KConf) ∈ DBµ create d; rev′← {µ, λ, k, r, s, (D, d)}K Conf (µ, rev′) DBµ← DBµ∪ {(R, rev′)}

Notification & report generation[

µ (µ, DBµ) DBr notf←R        (λ, {λ, dec, revs}k) ¯¯ ¯¯ ¯¯ ¯¯ DBµ= [ j∈{1,...,nµ} (Rij, {µ, λ, k, rj, sj, dj}KConf, revs = (r1, . . . , rnµ)

dec ∈R{acc, rej}

       DBnotf (λ, A, sub) ∈ DBConf

(λ, notf ) ∈ DBnotf (λ, notf )

(22)
(23)

Formal model

Term algebra

T (Σ, N ∪ X )

X = x, y, z, . . .

N = a, b, c, k

1

, k

2

, . . .

Σ = {senc( , , ), sdec( , ), pub( ), aenc( , , ), adec( , ),

h , i, proj

1

( ), proj

2

( )}

Process calculus

ProVerif [Blanchet’2001]

P, Q, R ::= 0

P | Q

!P

new

n; P

let

M = D in P else Q

in(c, M); P

out

(c, M); P

(24)

Operational semantics

Term rewriting

sdec(x, senc(x, y, z)) → z

adec(x, aenc(pub(x), y, z)) → z

proj

proj

12

(hx, yi) → x

(hx, yi) → y

Process reduction

out

(c, M).P | in(c, x).Q −

→ P | Q{

M

/

x

}

let

M = D in P else Q −

→ Pσ, if D ⇓ N & σ = µ(M, N)

let

M = D in P else Q −

→ Q, otherwise

(25)

Observational equivalence

Observation

P ⇓ c :

∃C[ ]∃Q, ∃M.

P −

C[out(c, M).Q]

Largest

equivalence

relation s.t. P ∼ Q implies

1.

P ⇓ c =⇒ Q ⇓ c

2. P −

P

0

=⇒ ∃Q

0

. Q −

Q

0

& P

0

∼ Q

0

(26)

Secrecy in conference systems

Papers:

P

conf

P

confP

[ ]

Reviews:

P

conf

P

confR

[ ]

Scores:

P

conf

P

confS

[ ]

Secrecy of papers:

P

P

conf

[pap] ∼ P

confP

[pap’]

Secrecy of reviews: P

R

conf

[rev] ∼ P

confR

[rev’]

Secrecy of scores:

P

S

(27)

Unlinkability in conference systems

Author-Reviewer:

P

AR

(28)

Summary

“Confichair”

C does not know

p,

r

and

s

C knows A and R, but does not know the link

A ←→ R

We formalised the properties, and verified them with ProVerif.

Prototype implementation by Matt Roberts and Joshua Phillips

(29)

What about

(30)

Diaspora

A free personal web server that implements a distributed social networking service, providing a decentralised alternative to social networks like Facebook.

Works by letting users set up their own server (or “pod”) to host content. Pods interact to share status updates and photographs. A pod can be hosted on a traditional web host, a cloud-based pod server, an ISP or with a friend.

(31)

Distributed social networks

Wikipedia lists 39 of them, in various stages of development

(development, pre-alpha, alpha, beta, production).

(32)

Centralised encrypted social networking

A B Cloud has {dataA}kA and {dataB}kB give access to B {kA}rpk(B), B {kA}rpk(B) {kA}rk′B new post rB, {post}rkBA, B rC, {post}rkCA, C {post}rB kA

(33)
(34)

Questions

1

Do you want confidentiality of mail?

Yes, but not if it means I have to maintain a PGP key ring

and worry about key certificates.

2

Do you want confidentiality of Facebook?

That’s even worse. There are geeky solutions where the data

is distributed among all the users.

3

Do you want confidentiality of conference mgt?

The cost:

Authors need to paste a public key from the CFP into their browser.

Reviewers need to paste a symm. key from their mail into their browser.

Chair needs to use their browser to set up the two keys, and publish them by CFP and mail respectively.

Chair needs to perform decrypt-encryptions and mixes, which is done by clicking a few buttons in her browser.

(35)

Questions

1

Do you want confidentiality of mail?

Yes, but not if it means I have to maintain a PGP key ring

and worry about key certificates.

2

Do you want confidentiality of Facebook?

That’s even worse. There are geeky solutions where the data

is distributed among all the users.

3

Do you want confidentiality of conference mgt?

The cost:

Authors need to paste a public key from the CFP into their browser.

Reviewers need to paste a symm. key from their mail into their browser.

Chair needs to use their browser to set up the two keys, and publish them by CFP and mail respectively.

Chair needs to perform decrypt-encryptions and mixes, which is done by clicking a few buttons in her browser.

(36)

Questions

1

Do you want confidentiality of mail?

Yes, but not if it means I have to maintain a PGP key ring

and worry about key certificates.

2

Do you want confidentiality of Facebook?

That’s even worse. There are geeky solutions where the data

is distributed among all the users.

3

Do you want confidentiality of conference mgt?

The cost:

Authors need to paste a public key from the CFP into their browser.

Reviewers need to paste a symm. key from their mail into their browser.

Chair needs to use their browser to set up the two keys, and publish them by CFP and mail respectively.

Chair needs to perform decrypt-encryptions and mixes, which is done by clicking a few buttons in her browser.

References

Related documents

8-10. if)i l Ttpoc TÖ èveat(oç) 0 (ëtoç) KOTU' ovKiav àreol[yp]a(pf|i: Von allen Jahren, in denen der 14-järirliche Zensus durchgeführt worden ist, kommt nur das 9. Chr.;

Selecting ‘Value’ or ‘Tax’ under Zero Rated Sales leads to the Taxpayer’s Summary screen that displays discrepancies related to sales after cross matching seller and buyers

Connect a RJ45 CAT5 straight cable (supplied with unit) between the com port of your computer and the serial port (labelled I0I0I) of the TMG800 as shown in figure 5.1 on page 26.

Where the intestate is survived by a legal spouse and also by a de facto spouse, then the right to the shared home will only be exercisable by the de facto spouse if the de

In this document we show tips given by social workers for social workers on how to effectively deal with stress at work.. The specific question within the broader interview

● Order  –  indicate  here  the  position  at  which  the  new  calling  plan  will  appear  in  the  Calling Plans menu on your website. For example, if you 

However, Subías (2004, online version 2006) has suggested to consider the genus Bischeloribates as subgenus of Scheloribates Ber- lese, 1908 because Bischeloribates differs from