2022
DOI: 10.1007/978-3-031-13188-2_15
|View full text |Cite
|
Sign up to set email alerts
|

End-to-End Mechanized Proof of an eBPF Virtual Machine for Micro-controllers

Abstract: RIOT is a micro-kernel dedicated to IoT applications that adopts eBPF (extended Berkeley Packet Filters) to implement so-called femto-containers. As micro-controllers rarely feature hardware memory protection, the isolation of eBPF virtual machines (VM) is critical to ensure system integrity against potentially malicious programs. This paper shows how to directly derive, within the Coq proof assistant, the verified C implementation of an eBPF virtual machine from a Gallina specification. Leveraging the formal … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
4
0

Year Published

2022
2022
2023
2023

Publication Types

Select...
3
1

Relationship

1
3

Authors

Journals

citations
Cited by 4 publications
(4 citation statements)
references
References 32 publications
0
4
0
Order By: Relevance
“…The most closely related work was published in [39] and in [38]. In [39], authors provide rBPF, a port of the eBPF instruction set in order to host a (single) VM on a microcontroller.…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…The most closely related work was published in [39] and in [38]. In [39], authors provide rBPF, a port of the eBPF instruction set in order to host a (single) VM on a microcontroller.…”
Section: Related Workmentioning
confidence: 99%
“…In contrast, we extend rBPF's instruction set architecture and VM core with an adequate embedded loading and execution environment, which caters for well-defined, event-driven, short lived and isolated (concurrent) execution of (multiple) functions to be deployed on-the-fly on a networked microcontroller. On the other hand, while [38], concerns formal verification of the sole rBPF instruction interpreter, here we also verify the pre-flight instruction checker and we integrate both in our femto-container implementation -the performance of which we thoroughly evaluate on various microcontrollers. Our design and implementation are so small (a few hundreds lines of code) that formal verification was indeed realistic.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Then, they are compiled to eBPF with LLVM. For a variant of eBPF for embedded systems, CertrBPF [63] provides a formally verified compiler. All extra memory, i.e.…”
Section: Introductionmentioning
confidence: 99%