Ac Access Control Sy Synthesis fo for Physical Spaces Petar - - PowerPoint PPT Presentation

ac access control sy synthesis fo for physical spaces
SMART_READER_LITE
LIVE PREVIEW

Ac Access Control Sy Synthesis fo for Physical Spaces Petar - - PowerPoint PPT Presentation

Ac Access Control Sy Synthesis fo for Physical Spaces Petar Tsankov, Mohammad Torabi Dashti, David Basin Institute of Information Security, ETH Zurich Airports Corporate buildings Sport centers Setting Locks Office Meeting room Lobby


slide-1
SLIDE 1

Ac Access Control Sy Synthesis fo for Physical Spaces

Petar Tsankov, Mohammad Torabi Dashti, David Basin Institute of Information Security, ETH Zurich

slide-2
SLIDE 2

Airports

slide-3
SLIDE 3

Corporate buildings

slide-4
SLIDE 4

Sport centers

slide-5
SLIDE 5

Setting

Lobby Meeting room Office Locks

slide-6
SLIDE 6

Setting

Lobby Meeting room Office Locks Global requirement “Employees can access the

  • ffice from the main entrance”

Eric Local Policy “Only employees can enter”

slide-7
SLIDE 7

Setting

Lobby Meeting room Office Local Policy “Only employees can enter” Global requirements “Employees can access the

  • ffice from the main entrance”

Wrong deny! Eric

slide-8
SLIDE 8

Setting

Lobby Meeting room Office Local Policy “Only employees can enter” Global requirements “Employees can access the

  • ffice from the main entrance”

Wrong deny! Eric

Ch Challenge

Come up with local policies that enforce all global requirements

slide-9
SLIDE 9

Current Practice

Manual policy writing Requirements

Policie s

Local policies Physical space No policies yet Global requirements

Problems

Cannot satisfy requirements one-by-one

slide-10
SLIDE 10

No policies yet Local policies Physical space

Current Practice

Manual Policy Writing Requirements Global requirements

Problems

Cannot satisfy requirements one-by-one

Example

Lobby Meeting room Office R1: Visitors can access the meeting room

slide-11
SLIDE 11

No policies yet Local policies Physical space

Current Practice

Manual Policy Writing Requirements Global requirements

Problems

Cannot satisfy requirements one-by-one

Example

Lobby Meeting room Office Victor R1: Visitors can access the meeting room

slide-12
SLIDE 12

No policies yet Local policies Physical space

Current Practice

Manual Policy Writing Requirements Global requirements

Problems

Cannot satisfy requirements one-by-one

Example

Lobby Meeting room Office Victor R1: Visitors can access the meeting room R2: Visitors cannot access the meeting room if they have not passed through the lobby

slide-13
SLIDE 13

No policies yet Local policies Physical space

Current Practice

Manual Policy Writing Requirements Global requirements

Problems

Cannot satisfy requirements one-by-one

Example

Lobby Meeting room Office Victor R1: Visitors can access the meeting room R2: Visitors cannot access the meeting room if they have not passed through the lobby Wrong permit!

slide-14
SLIDE 14

No policies yet Local policies Physical space

Current Practice

Manual Policy Writing Requirements Global requirements

Problems

Cannot satisfy requirements one-by-one

Example

Lobby Meeting room Office Victor R1: Visitors can access the meeting room R2: Visitors cannot access the meeting room if they have not passed through the lobby

slide-15
SLIDE 15

No policies yet Local policies Physical space

Current Practice

Manual Policy Writing Requirements Global requirements

Problems

Cannot satisfy requirements one-by-one

Example

Lobby Meeting room Office Victor R1: Visitors can access the meeting room R2: Visitors cannot access the meeting room if they have not passed through the lobby

slide-16
SLIDE 16

Current Practice

Manual policy writing Requirements Physical space

Policies

Local policies

Problems

Cannot satisfy requirements one-by-one Rewrite policies upon changes to the physical space or requirements

slide-17
SLIDE 17

Current Practice

Problems

Manual policy writing Requirements Cannot satisfy requirements one-by-one

No security guarantees

Physical space Rewrite policies upon changes to the physical space or requirements

Policies

Correct?

slide-18
SLIDE 18

Automated policy synthesis Requirements Physical space

Po Policy Synthesis

Current Practice

Manual policy writing Requirements Physical space

slide-19
SLIDE 19

Goal

§ Formalization of physical access control § Expressive declarative language for specifying global requirements § Efficient synthesis algorithm based on SMT solving § Demonstration of the approach on realistic case studies

Automatically compute correct local policies for a given physical space and its global requirements

Contributions

slide-20
SLIDE 20

Formalizing Physical Spaces

slide-21
SLIDE 21

Formalizing Physical Spaces

formalize

lobby corridor

  • ffice

meeting room entry

Enclosed space Node = Lock = Edge

slide-22
SLIDE 22

Formalizing Physical Spaces

formalize

lobby corridor

  • ffice

meeting room entry

Enclosed space Node = Lock = Edge

slide-23
SLIDE 23

Formalizing Physical Spaces

formalize

lobby corridor

  • ffice

meeting room entry

Enclosed space Node = Lock = Edge Label physical spaces with attributes (e.g., to mark security zones)

slide-24
SLIDE 24

Local Policies

Subject attributes (e.g. 𝑠𝑝𝑚𝑓𝑡) Contextual attributes (e.g. 𝑢𝑗𝑛𝑓)

Attribute-based policies with:

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ∧ (8 ≤ 𝑢𝑗𝑛𝑓 ≤ 20)

Local policy semantics

§ An access request maps attributes to values § A lock grants an access request if the access request satisfies the lock’s local policy

lobby corridor

  • ffice

meeting room entry

slide-25
SLIDE 25

Semantics of Physical Access Control

An access request is authorized along a path if all locks along the path grant it

Example

𝐵𝑑𝑑𝑆𝑓𝑟D = 𝑏 𝑐 𝑠𝑝𝑚𝑓 ↦ 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 𝑢𝑗𝑛𝑓 ↦ 6

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ∧ (8 ≤ 𝑢𝑗𝑛𝑓 ≤ 20)

lobby corridor

  • ffice

meeting room entry

slide-26
SLIDE 26

Semantics of Physical Access Control

An access request is authorized along a path if all locks along the path grant it

Example

𝐵𝑑𝑑𝑆𝑓𝑟D = 𝑏 𝑐 𝑠𝑝𝑚𝑓 ↦ 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 𝑢𝑗𝑛𝑓 ↦ 6 A subgraph of the physical space

lobby corridor meeting room entry

slide-27
SLIDE 27

Specifying Global Requirements

slide-28
SLIDE 28

Requirement Examples

Lobby Meeting room Office

Visitors can access the meeting room

slide-29
SLIDE 29

Requirement Examples

Lobby Meeting room Office

Visitors can access the meeting room Non-employees cannot access the office

slide-30
SLIDE 30

Requirement Examples

Lobby Meeting room Office

Visitors can access the meeting room Visitors cannot access the meeting room if they have not passed through the lobby Non-employees cannot access the office

slide-31
SLIDE 31

Key features

Subject & contextual attributes e.g. 𝑠𝑝𝑚𝑓,𝑢𝑗𝑛𝑓 Resource attributes e.g. 𝑡𝑓𝑑𝑣𝑠𝑗𝑢𝑧𝑎𝑝𝑜𝑓

Common patterns

Permission Prohibition Waypointing

A A A B

Example: (𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠)⋀ (8 ≤ 𝑢𝑗𝑛𝑓 ≤ 20)

  • ⇒ 𝐹𝐺(𝑗𝑒 = 𝑛𝑠)

Quantification over paths

The SpCTL Language

slide-32
SLIDE 32

Key features

Subject & contextual attributes e.g. 𝑠𝑝𝑚𝑓,𝑢𝑗𝑛𝑓 Resource attributes e.g. 𝑡𝑓𝑑𝑣𝑠𝑗𝑢𝑧𝑎𝑝𝑜𝑓

Common patterns

Permission Prohibition Waypointing

A A A B

Example: (𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠)⋀ (8 ≤ 𝑢𝑗𝑛𝑓 ≤ 20)

  • ⇒ 𝐹𝐺(𝑗𝑒 = 𝑛𝑠)

Quantification over paths

Constraint over subject & contextual attributes CTL formula over resource attributes

The SpCTL Language

slide-33
SLIDE 33

Policy Synthesis Problem

slide-34
SLIDE 34

Policy Synthesis Problem

Requirements Physical space

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ⇒ 𝐹𝐺 𝑗𝑒 = 𝑛𝑠 ...

(𝑠𝑝𝑚𝑓 = 𝑓𝑛𝑞𝑚𝑝𝑧𝑓𝑓)

Policy Synthesis Input

How hard is this problem?

Output Unsat

slide-35
SLIDE 35

Complexity of Policy Synthesis

Theorem 1. The policy synthesis problem is decidable.

  • Proof. We give a synthesis algorithm that uses CTL controller

synthesis as a subroutine

Theorem 2. The policy synthesis problem is NP-hard.

  • Proof. Through reduction from propositional satisfiability to

policy synthesis

slide-36
SLIDE 36

Complexity of Policy Synthesis

Theorem 1. The policy synthesis problem is decidable.

  • Proof. We give a synthesis algorithm that uses CTL controller

synthesis as a subroutine

Theorem 2. The policy synthesis problem is NP-hard.

  • Proof. Through reduction from propositional satisfiability to

policy synthesis Unfortunately, the running time

  • f this algorithm is exponential

in the number of requirements

slide-37
SLIDE 37

Policy Synthesis using SMT Solving

Requirements Physical space

SMT Solving

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ⇒ 𝐹𝐺 𝑗𝑒 = 𝑛𝑠 ...

Unsat

slide-38
SLIDE 38

Policy Synthesis using SMT Solving

Requirements Physical space

SMT Solving

Encode the requirements’ satisfaction using SMT constraints

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ⇒ 𝐹𝐺 𝑗𝑒 = 𝑛𝑠 ...

Unsat

A model identifies correct local policies

slide-39
SLIDE 39

Encode the requirements’ satisfaction using SMT constraints

Policy Synthesis Algorithm

Requirements Physical space

SMT Solving

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ⇒ 𝐹𝐺 𝑗𝑒 = 𝑛𝑠 ...

Unsat

Local Policy Templates

𝜒

slide-40
SLIDE 40

Encode the requirements’ satisfaction using SMT constraints

Policy Synthesis Algorithm

Requirements Physical space

SMT Solving

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ⇒ 𝐹𝐺 𝑗𝑒 = 𝑛𝑠 ...

Unsat

Local Policy Templates

𝜒

Example Template ( = ) ∧ ( ≤ ≤ ) (𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠) ∧ (8 ≤ 𝑢𝑗𝑛𝑓 ≤ 20)

(example instantiation)

slide-41
SLIDE 41

Encode the requirements’ satisfaction using SMT constraints

Policy Synthesis Algorithm

Requirements Physical space

SMT Solving

𝑠𝑝𝑚𝑓 = 𝑤𝑗𝑡𝑗𝑢𝑝𝑠 ⇒ 𝐹𝐺 𝑗𝑒 = 𝑛𝑠 ...

Unsat

Local Policy Templates

𝜒

Synthesize concise local policies Reduce search space

slide-42
SLIDE 42

Implementation and Evaluation

slide-43
SLIDE 43

Implementation

Physical space model Requirements (in SpCTL) Our system is publicly available

https://github.com/ptsankov/SpCTL

∃∀𝜒 ⋀∄ ZZ

SMT constraints

entry entry cor cor ≔ (8 ≤ 𝑢𝑗𝑛𝑓 ≤ 20) ∧ 𝑑𝑝𝑠𝑠𝑓𝑑𝑢𝑄𝐽𝑂 lob ≔ (8 ≤ 𝑢𝑗𝑛𝑓 ≤ 20)

  • ff ≔ (𝑠𝑝𝑚𝑓 = 𝑓𝑛𝑞𝑚𝑝𝑧𝑓𝑓)

Local policies

⋯ Python translator from SpCTL to SMT-LIB v2

SMT solver

slide-44
SLIDE 44

Evaluation: Case Studies

KABA Headquarters

Physical spaces 20 Locks 41 Requirements 10 Synthesis time 25s

ETH’s CS Department

Physical spaces 66 Locks 127 Requirements 14 Synthesis time 10s Physical spaces 13 Locks 32 Requirements 15 Synthesis time 2s

Airport Terminal

slide-45
SLIDE 45

Global requirements vs local enforcement

Summary

Approach scales to realistic problems

“Only employees can enter” Employees can access the office from the main entrance

Policy synthesis framework