lh-l4v/proof/infoflow
Gerwin Klein 625c6e359d
lib+proof: eliminate hoare_ex_wp
duplicate of hoare_vcg_ex_lift

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2023-01-25 11:48:38 +11:00
..
ARM lib+proof: eliminate hoare_ex_wp 2023-01-25 11:48:38 +11:00
RISCV64 lib+proof: eliminate hoare_ex_wp 2023-01-25 11:48:38 +11:00
figs Import release snapshot. 2014-07-14 21:32:44 +02:00
refine lib+proofs: s/non_fail_/no_fail/ 2023-01-19 17:02:10 +11:00
tools licenses: convert license tags to SPDX 2020-03-13 14:38:24 +08:00
ADT_IF.thy infoflow: remove dependency on domains > 1 2021-12-22 23:50:22 +11:00
Arch_IF.thy infoflow: replace valid_ko_at_arch with valid_arch_state 2021-10-05 08:46:11 +11:00
CNode_IF.thy lib+proofs+sys-init+tools: proof updates for Fun_Pred_Syntax 2023-01-09 14:54:11 +11:00
Decode_IF.thy various: resolve some new fixmes 2021-11-12 09:39:16 +11:00
ExampleSystemPolicyFlows.thy infoflow: general cleanup 2021-10-05 08:46:11 +11:00
FinalCaps.thy various: resolve some new fixmes 2021-11-12 09:39:16 +11:00
Finalise_IF.thy various: resolve some new fixmes 2021-11-12 09:39:16 +11:00
IRQMasks_IF.thy infoflow: IRQMasks arch split 2021-10-05 08:46:11 +11:00
InfoFlow.thy infoflow: InfoFlow arch split 2021-10-05 08:46:11 +11:00
InfoFlow_IF.thy lib+proofs+sys-init+tools: proof updates for Fun_Pred_Syntax 2023-01-09 14:54:11 +11:00
InfoFlow_Image_Toplevel.thy infoflow: general cleanup 2021-10-05 08:46:11 +11:00
Interrupt_IF.thy infoflow: replace valid_ko_at_arch with valid_arch_state 2021-10-05 08:46:11 +11:00
Ipc_IF.thy proof: update copyrights for monadic_rewrite improvements 2022-11-02 05:05:44 +11:00
Noninterference.thy various: resolve some new fixmes 2021-11-12 09:39:16 +11:00
Noninterference_Base.thy infoflow: general cleanup 2021-10-05 08:46:11 +11:00
Noninterference_Base_Alternatives.thy spec+proofs+autocorres: theory import fixes 2023-01-24 11:30:06 +11:00
Noninterference_Base_Refinement.thy licenses: convert license tags to SPDX 2020-03-13 14:38:24 +08:00
PasUpdates.thy infoflow: PasUpdates arch split 2021-10-05 08:46:11 +11:00
PolicyExample.thy infoflow: general cleanup 2021-10-05 08:46:11 +11:00
PolicySystemSAC.thy infoflow: general cleanup 2021-10-05 08:46:11 +11:00
README.md READMEs: fix publication links 2021-08-25 11:22:05 +10:00
Retype_IF.thy riscv infoflow: add Retype proofs 2021-11-12 09:39:16 +11:00
Scheduler_IF.thy isabelle2021-1: Infoflow 2022-03-29 08:38:25 +11:00
Syscall_IF.thy riscv infoflow: add Syscall proofs 2021-11-12 09:39:16 +11:00
Tcb_IF.thy various: resolve some new fixmes 2021-11-12 09:39:16 +11:00
UserOp_IF.thy infoflow: UserOp arch split 2021-10-05 08:46:11 +11:00

README.md

Confidentiality Proof

This proof establishes that seL4 enforces information flow, and so enforces the security property of confidentiality. Information flow security is defined in terms of (intransitive) noninterference, and implies confidentiality: data cannot be inferred without appropriate read authority. This proof is described in a 2013 IEEE Symposium on Security and Privacy paper. This proof firstly establishes noninterference for seL4's abstract specification, building on top of the Access Control Proof, before transferring the noninterference result to the kernel's C implementation via the Design Spec Refinement Proof and the C Refinement Proof.

Building

To build from the l4v/ directory, run:

./isabelle/bin/isabelle build -d . -v -b InfoFlow

Important Theories

The top-level theory where noninterference is proved for the seL4 abstract specification is Noninterference; it is transferred to the C implementation via refinement in the theory Noninterference_Refinement. The base theory where noninterference is (generically) defined is Noninterference_Base. The bottom-level theory where confidentiality is formalised over the seL4 abstract specification is InfoFlow. Confidentiality is a relational property and the theory EquivValid defines these generically for the nondeterministic state monad of the abstract specification.