Compositional Verification of Security Properties for Embedded Execution Platforms
Christoph Baumann∗, Oliver Schwarz⋆, Mads Dam∗
∗KTH Royal Institute of Technology, Stockholm, Sweden ⋆RISE.SICS, Kista, Sweden
Compositional Verification of Security Properties for Embedded - - PowerPoint PPT Presentation
Compositional Verification of Security Properties for Embedded Execution Platforms Christoph Baumann , Oliver Schwarz , Mads Dam KTH Royal Institute of Technology, Stockholm, Sweden RISE.SICS, Kista, Sweden cbaumann@kth.se
∗KTH Royal Institute of Technology, Stockholm, Sweden ⋆RISE.SICS, Kista, Sweden
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 2 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 3 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 3 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 3 / 16
R
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 4 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 5 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 5 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 6 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 6 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 6 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 6 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 6 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 6 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 6 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 7 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 7 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 8 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 8 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 8 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 8 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 8 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 8 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 9 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 9 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 9 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 9 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 9 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 9 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
P, Inv(σ0 P) and exists σ0 I such that σ0 P R σ0 I
I , exists σ0 P such that σ0 P R σ0 I
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
P, Inv(σ0 P) and exists σ0 I such that σ0 P R σ0 I
I , exists σ0 P such that σ0 P R σ0 I
σP − → σ′
P =
⇒ ∃σ′
→∗ σ′
I ∧ σ′ P R σ′ I
σI − → σ′
I =
⇒ ∃σ′
→∗ σ′
P ∧ σ′ P R σ′ I
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
P, Inv(σ0 P) and exists σ0 I such that σ0 P R σ0 I
I , exists σ0 P such that σ0 P R σ0 I
σP − → σ′
P =
⇒ ∃σ′
→∗ σ′
I ∧ σ′ P R σ′ I
σI − → σ′
I =
⇒ ∃σ′
→∗ σ′
P ∧ σ′ P R σ′ I
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
P, Inv(σ0 P) and exists σ0 I such that σ0 P R σ0 I
I , exists σ0 P such that σ0 P R σ0 I
σP − → σ′
P =
⇒ ∃σ′
→∗ σ′
I ∧ σ′ P R σ′ I
σI − → σ′
I =
⇒ ∃σ′
→∗ σ′
P ∧ σ′ P R σ′ I
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
P, Inv(σ0 P) and exists σ0 I such that σ0 P R σ0 I
I , exists σ0 P such that σ0 P R σ0 I
σP − → σ′
P =
⇒ ∃σ′
→∗ σ′
I ∧ σ′ P R σ′ I
σI − → σ′
I =
⇒ ∃σ′
→∗ σ′
P ∧ σ′ P R σ′ I
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 10 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 11 / 16
core!r buf?r buf!r mem?r core!r mmu?r mmu!w mem?w mem!q mmu?q mmu!r′ mem?r′
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 12 / 16
core!r buf?r buf!r mem?r core!r mmu?r mmu!w mem?w mem!q mmu?q mmu!r′ mem?r′
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 12 / 16
core!r buf?r buf!r mem?r core!r mmu?r mmu!w mem?w mem!q mmu?q mmu!r′ mem?r′
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 12 / 16
core!r buf?r buf!r mem?r core!r mmu?r mmu!w mem?w mem!q mmu?q mmu!r′ mem?r′
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 12 / 16
core!r buf?r buf!r mem?r core!r mmu?r mmu!w mem?w mem!q mmu?q mmu!r′ mem?r′
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 12 / 16
basic common ideal platform hyperv. bisim. total model specification 99 435 1,121 1,750 1,440 350 5,195 invariant specification – 17 387 518 – 453 1,375 machinery 309 – 95 – – 585 989 proofs 652 1,094 1,132 1,466 145 7,437 11,926 total 1,060 1,546 2,735 3,734 1,585 8,825 19,485
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 13 / 16
basic common ideal platform hyperv. bisim. total model specification 99 435 1,121 1,750 1,440 350 5,195 invariant specification – 17 387 518 – 453 1,375 machinery 309 – 95 – – 585 989 proofs 652 1,094 1,132 1,466 145 7,437 11,926 total 1,060 1,546 2,735 3,734 1,585 8,825 19,485
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 13 / 16
basic common ideal platform hyperv. bisim. total model specification 99 435 1,121 1,750 1,440 350 5,195 invariant specification – 17 387 518 – 453 1,375 machinery 309 – 95 – – 585 989 proofs 652 1,094 1,132 1,466 145 7,437 11,926 total 1,060 1,546 2,735 3,734 1,585 8,825 19,485
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 13 / 16
basic common ideal platform hyperv. bisim. total model specification 99 435 1,121 1,750 1,440 350 5,195 invariant specification – 17 387 518 – 453 1,375 machinery 309 – 95 – – 585 989 proofs 652 1,094 1,132 1,466 145 7,437 11,926 total 1,060 1,546 2,735 3,734 1,585 8,825 19,485
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 13 / 16
basic common ideal platform hyperv. bisim. total model specification 99 435 1,121 1,750 1,440 350 5,195 invariant specification – 17 387 518 – 453 1,375 machinery 309 – 95 – – 585 989 proofs 652 1,094 1,132 1,466 145 7,437 11,926 total 1,060 1,546 2,735 3,734 1,585 8,825 19,485
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 13 / 16
basic common ideal platform hyperv. bisim. total model specification 99 435 1,121 1,750 1,440 350 5,195 invariant specification – 17 387 518 – 453 1,375 machinery 309 – 95 – – 585 989 proofs 652 1,094 1,132 1,466 145 7,437 11,926 total 1,060 1,546 2,735 3,734 1,585 8,825 19,485
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 13 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 14 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 14 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 14 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 14 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 14 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 15 / 16
Baumann, Schwarz, Dam Compositional Platform Verification PROOFS 2017 15 / 16