• No results found

CSE 127 Computer Security

N/A
N/A
Protected

Academic year: 2021

Share "CSE 127 Computer Security"

Copied!
51
0
0

Loading.... (view fulltext now)

Full text

(1)

CSE 127

Computer Security

Fall 2012

Lecture #12 Physical Security Stefan Savage

(2)

Physical security

 What is physical security about?

 Controlling access to a physical space or object

 Examples:  Gates/Barriers  Locks  Safes  Alarms  Mantraps  Scanners

(3)

Same kind of problems as

computer security

 Usability

 Security through obscurity

 Side channels

 Misplaced assumptions

 Securing the wrong thing

 Weakest link

(4)

Locks

 Worlds oldest (pre-Biblical) and most

pervasive form of access control

(5)

How physical locks work

5 Plug Driver pins Shear line Bottom pins

(6)

How physical locks work

6

(7)

Shared secrets

 There is a shared secret between the lock and

the key… its shape

(8)

Bitting codes

• A key can be precisely described with a

discrete code

 Cuts at regular intervals (4-6 cuts)

 Depth of cuts quantized in standard fashion

(typically 6-9 bins)

 4-6 digits sufficient to describe most keys

8

(9)

Design assumptions

 If you don’t know the secret code, you can’t

open the lock

 The secret code is secret

(10)

Design assumptions

If you don’t know the secret code, you

can’t open the lock

 The secret code is secret

(11)

Lock bypass via manipulation

11

(12)

Picking

(13)

Picking

 Two parts

 Tension wrench

used to apply slight

lateral force on plug

 Pick used to lift

individual bottom pins to the shear line

 Tension causes

driver pins to bind above shear line

(14)

Picking

(15)

Raking

 Similar idea, but less finesse…

 Rake pick moved in and out quickly imparts

force to bottom pins; driver pins bind

(16)

Bumping

 Similar idea to raking, but does all pins in

parallel; super easy to do

 Max-depth key (bump key) used to impart

force to bottom pins who transfer energy to driver pins (think billiards)

(17)

Bumping

(18)

Some defenses

 Security pins

 Spool pins, mushroom pins, interlocking pins » Shapes that get “stuck” when plug under tension

(19)

Some defenses

 Security pins

 Spool pins, mushroom pins, interlocking pins » Shapes that get “stuck” when plug under tension

(20)

Some defenses

(21)

Side issue: master keying

 How do master keys work?

(22)

Hmmm…. problem?

 Suppose 6 pins and 10 positions per pin

 In principal 106 combinations; can’t guess master  But what if you have one working key

 Scenario: your key: 557346, master: 232346

 Make key: 157346; does it work? No, cut groove

down one position; at position N it works!

 If N is not equal to 5, then N is the master cut for

that pin

 Repeat for each pin; six keys are sufficient if all six

pins have master pins;

 Rights Amplification

(23)

Design assumptions

If you don’t know the secret code, you

can’t open the lock

 The secret code is secret

(24)

Design assumptions

 If you don’t know the secret code, you can’t

open the lock

The secret code is secret

(25)

Problem

 The bitting code is only secret if the key is kept

secure

(26)

Lock bypass via

surreptitious duplication

26

(27)

The power of decoding

27

6 4 6 7 8

Code key cutting machine

64678

+

+

=

Key Blank

(28)
(29)
(30)

30

(31)

Optical decoding

• Decode keys semi-automatically from photos

• Traditional computer vision problem

(photometry)

 Normalize for scale and rotation

(32)

Sneakey: UCSD

• Reference key measured at control points

• User supplies correspondences between target key and reference image

• Image normalized (homographic transform), cut locations identified and cut depths measured (n guesses)

(33)

Works really well

 Almost perfectly from up close photos

(e.g., cell phone cameras, etc)

 But that’s no fun… what would James Bond

(34)

Distance experiments

(35)

35

Where’s the Key?

(36)

One defense: restricted

keyways

 Key shape registered to customer and not

avaialble for sale to anyone else

(37)

One defense: restricted

keyways

 But…

37

(38)

A better approach

 Electronic & mechanical keys

 Challenge/response via RF

 But own issues; batteries, replay, how to program,

(39)

Very high security

 Electronic; no battery; self-erase; heavy RF

shielding; different combination for each user; unerasable audit log

(40)

Design assumptions

 If you don’t know the secret code, you can’t

open the lock

The secret code is secret

 If you can’t open the lock, you can’t access

(41)

Design assumptions

 If you don’t know the secret code, you can’t

open the lock

 The secret code is secret

If you can’t open the lock, everything is

(42)
(43)

Taking the big picture

 What is the threat?

 Capabilities, resources, goals

 Faster than the bear or faster than the next guy?

 What are all the ways the adversary might get

(44)

Deterrence

 No physical security is perfect

 For indiscriminate adversary (e.g., burglar)

goal is to make cost higher than its worth

 Go elsewhere

 Deterrence can be indirect

 Lojack story

 Determined adversary may not be deterable

 How to increase risk, response, cost, time  E.g. time locks, relockers

(45)

Physical security metrics

 What are you protecting against?

 Covert entry

 Time oriented

» Group 1: resist expert manipulation for 20 hrs

» Group 2m: resist expert manipulation for 2hrs

 Capability oriented

» Group 1r: sub-category of group 1 that resists radiological probing

 Destructive entry

(46)
(47)

Also: Denial of service

(48)
(49)

For those interested…

49

• Check out

 Matt Blaze’s work

» Safecracking for the Computer Scientist

» Cryptology and Physical Security: Rights Amplification in Master-Keyed Mechanical Locks

» Notes on Picking Pin Tumbler Locks,

 MIT Guide to Lockpicking

 Locksport International (http://locksport.com/)  Matt Tobias’s books

(Locks, Safes and Security – the bible)

• However…

NEVER pick a lock you do not own

(50)

Comparison

• Both physical and computer security require similar mindset

 What could an adversary do, what is the easiest way for them

to do it, what is the easiest way to stop them, etc • Both vulnerable to technological surprise

 Lock bumping and computational code solving

• Some differences

 Physical objects subject to physical laws, but imprecise notion

of “hardness” to break (e.g., Class I safes); less complex dependencies

 Digital objects exist in largely self-contained world; “hardness”

can sometime be precise; complex dependencies

(51)

Next time

• Malware I

• And midterm return

References

Related documents

ICAs and operational risk (CP 04/7) • Data limitations and lack of high powered analysis.. tools acknowledged, so limitations to quantitative

Perseus, a Greek hero, with the help of Hermes and Athena, slew this dreadful monster.. Her mes lent him his magic hat and winged sandals Athena lent him her

1) The UV chromophore that is assayed in the ADH-catalyzed oxidation of alcohol is. The alcohol:chromophore stoichiometry in this oxidation reaction is:. Calculate V max in units

First evidence for a novel redox group located in the membrane arm of complex I has been obtained by means of combined UV/Vis, EPR, and FT-IR spectroscopy applied to complex I

TASK ID: TANK 007 01 - Destructive Mockup Test Status: Task Data Due Date: Role Role Description User User Description.. Task Owner

In spite of having a different energy profile from developed countries, it is important for Brazil to keep stimulating the use of renewable sources in energy production, taking

When dividends converge to zero, we can prove that in the long run (1) the capital stock is bounded from above by that at the steady state of the economy without financial asset and

Surprisingly, however, past R&D intensity has a positive effect only on sporadic alternatives, thus reflecting the acknowledged role of R&D expenditure in