Formally Verified Isolation of DMA

被引:0
|
作者
Haglund, Jonas [1 ]
Guanciale, Roberto [1 ]
机构
[1] KTH Royal Inst Technol, Dept TCS, Stockholm, Sweden
关键词
formal verification; interactive theorem proving; DMA; I/O security; memory isolation; VERIFICATION; MODEL;
D O I
10.34727/2022/isbn.978-3-85448-053-2_18
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Every computer having a network, USB or disk controller has a Direct Memory Access Controller (DMAC) which is configured by a driver to transfer data between the device and main memory. The DMAC, if wrongly configured, can therefore potentially leak sensitive data and overwrite critical memory to overtake the system. Since DMAC drivers tend to be buggy (due to their complexity), these attacks are a serious threat. This paper presents a general formal framework for modeling DMACs and verifying under which conditions they are isolated. These conditions can be used as a specification for guaranteeing that a driver configures the DMAC correctly. The framework provides general isolation theorems that are common to all DMACs, leaving to the user only the task of verifying proof obligations that are DMAC specific. This provides a reusable verification infrastructure that reduces the verification effort of DMACs. Models and proofs have been developed in the HOL4 interactive theorem prover. To demonstrate the usefulness of the framework, we instantiate it with a DMAC of a USB.
引用
收藏
页码:118 / 128
页数:11
相关论文
共 50 条
  • [41] Loopy: Programmable and Formally Verified Loop Transformations
    Namjoshi, Kedar S.
    Singhania, Nimit
    STATIC ANALYSIS, (SAS 2016), 2016, 9837 : 383 - 402
  • [42] A Formally-Verified C Static Analyzer
    Jourdan, Jacques-Henri
    Laporte, Vincent
    Blazy, Sandrine
    Leroy, Xavier
    Pichardie, David
    ACM SIGPLAN NOTICES, 2015, 50 (01) : 247 - 259
  • [43] Formally Verified Quite OK Image Format
    Bucev, Mario
    Kuncak, Viktor
    2022 FORMAL METHODS IN COMPUTER-AIDED DESIGN, FMCAD, 2022, 3 : 343 - 348
  • [44] FORMALLY VERIFIED SYNTHESIS OF COMBINATIONAL CMOS CIRCUITS
    BASIN, DA
    BROWN, GM
    LEESER, ME
    INTEGRATION-THE VLSI JOURNAL, 1991, 11 (03) : 235 - 250
  • [45] Formally Verified Cryptographic Web Applications in WebAssembly
    Protzenko, Jonathan
    Beurdouche, Benjamin
    Merigoux, Denis
    Bhargavan, Karthikeyan
    2019 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2019), 2019, : 1256 - 1274
  • [46] Formally Verified Speculation and Deoptimization in a JIT Compiler
    Barriere, Aurele
    Blazy, Sandrine
    Fluckiger, Olivier
    Pichardie, David
    Vitek, Jan
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5 (POPL):
  • [47] A formally verified prover for the ALC description logic
    Alonso, Jose-Antonio
    Borrego-Diaz, Joaquin
    Hidalgo, Maria-Jose
    Martin-Mateos, Francisco-Jesus
    Ruiz-Reina, Jose-Luis
    THEOREM PROVING IN HIGHER ORDER LOGICS, PROCEEDINGS, 2007, 4732 : 135 - +
  • [48] A Formally Verified Motion Planner for Autonomous Vehicles
    Rizaldi, Albert
    Immler, Fabian
    Schurmann, Bastian
    Althoff, Matthias
    AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2018), 2018, 11138 : 75 - 90
  • [49] Formally Verified Conditions for Regularity of Interval Matrices
    Pasca, Ioana
    INTELLIGENT COMPUTER MATHEMATICS, 2010, 6167 : 219 - 233
  • [50] A Formally Verified Proof of the Central Limit Theorem
    Avigad, Jeremy
    Hoelzl, Johannes
    Serafin, Luke
    JOURNAL OF AUTOMATED REASONING, 2017, 59 (04) : 389 - 423