more enforceable security policies
play

More Enforceable Security Policies by Lujo Bauer, Jarred Ligatti and - PowerPoint PPT Presentation

More Enforceable Security Policies by Lujo Bauer, Jarred Ligatti and David W alker Presented by Khoo Yit Phang April 21, 2008 To Build Secure Systems... 1.What sort of security policies can and should w e demand of our system? 2.What mechanism


  1. More Enforceable Security Policies by Lujo Bauer, Jarred Ligatti and David W alker Presented by Khoo Yit Phang April 21, 2008

  2. To Build Secure Systems... 1.What sort of security policies can and should w e demand of our system? 2.What mechanism should we implement to enforc e these policies?

  3. Execution Monitoring ( EM ) • EM is a runtime security automato n . • EM can be shown to enforce safety properties ( Schneider 2000; last week’s paper ) • EM is limited because it can only terminat e unsafe programs.

  4. More Enforceable Security Policies Extend EM by introducing automatons that modify a program sequence: 1. Insertion automato n 2.Suppression automato n 3. Edit automaton = Insertion + Suppressio n

  5. Review: Policies and Properties Security policy • a set of executions Σ satisfies policy P i ff P ( Σ ) • defined over all executions • e.g. information flow Security property • P is a property i ff P ( Σ ) = ∀ σ ∈ Σ . ̂ P ( σ ) • where ˆP is a predicate on unifor m systems ( finite sequence of program actions ) • defined over individual executions • e.g. access control, availability, bounded availability

  6. Review: Policies and Properties 2 Properties are conjunctions of safety and liveness : • Safety – “nothing bad happens” ( e.g. access control ) ¬ ˆP ( σ ) ⇒ ∀ σ ′ ∈ Σ . ( σ ≺ σ ′ ⇒ ¬ ˆP ( σ ′ )) • Liveness – “something good must happen” ( e.g. availability ) ∀ σ ∈ Σ . ∃ σ ′ ∈ Σ . ( σ ≺ σ ′ ∧ ˆP ( σ ′ )) • Safety + Liveness – “something good must happen by x” ( e.g. bounded availability ) Legend ≺ prefix of

  7. Precise Enforcemen t • An automaton precisely enforces ˆP i ff ∀ σ ∈ Σ 1. does not modify an allowed sequence 2. must edit an unallowed sequence to conform to ˆP • An automaton conservatively enforces ˆP if it does not hold condition 1 • may be disruptive to a correct program

  8. Review: EM Enforced by security automaton FSA ( Q,q 0 ,d ) • Q: states • q 0 : initial state • d : transition function A - Step • step if a ( prefix of τ ) is an allowed sequence A - Stop • stop if τ has no allowed sequence 8

  9. Beyond EM: Insertio n Insertion function γ I - Step, I - Stop • like A - Step, A - Stop I - Ins • insert τ if not I - Step and γ ( a, q ) = τ , q ′ E.g., bounded - availability: • insert releas e after n uses/ end of program

  10. Beyond EM: Suppressio n Suppression function ω S - StepA • if ω ( a,q ) = + like A - Step S - Stop • like A - Stop S - StepS • suppress program action if ω ( a,q ) = - E.g. suppress us e after n uses, leave releas e alone. For any suppression automaton, can construct an equivalent insertion automaton

  11. Beyond EM: Edi t Edit = Insert + Suppress E - StepA, E - StepS • like S - StepA, S - StepS E - Ins • like I - Ins E - Stop • like A - Stop

  12. Safety • For all 3 automata, • If S is a uniform system, and automata A precisely enforce ˆP on S, then ˆP obeys safety

  13. Limitations • All automata limited by their ability to insert/ suppress, e.g.: • cannot insert encrypted actions • cannot suppress input

  14. Example: T ransactions Enforce ACID properties Atomicity : take ( n ) ; pay ( n ) completes together, or never; suppress initial take ( n ) , and re - insert before pay ( n ) Consistency : take ( n ) ; pay ( n ) has the same value for n Durability : transactions cannot be reverted after complete ( doesn’t durability mean that a new transaction cannot munge an old one? ) Isolatio n : not in this example

  15. Other issues • How to compose edit automata? • simple with EM – programs just terminate • Edit automata modifies programs • Safety properties enforced, but program may become “incorrect” • What does it mean to e ff ectively enforce a property? • Can suppression automata enforce properties not by insertion?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend