Title :
Precise static analysis of untrusted driver binaries
Author :
Kinder, Johannes ; Veith, Helmut
Author_Institution :
Tech. Univ. Darmstadt, Darmstadt, Germany
Abstract :
Most closed source drivers installed on desktop systems today have never been exposed to formal analysis. Without vendor support, the only way to make these often hastily written, yet critical programs accessible to static analysis is to directly work at the binary level. In this paper, we describe a full architecture to perform static analysis on binaries that does not rely on unsound external components such as disassemblers. To precisely calculate data and function pointers without any type information, we introduce Bounded Address Tracking, an abstract domain that is tailored towards machine code and is path sensitive up to a tunable bound assuring termination. We implemented Bounded Address Tracking in our binary analysis platform Jakstab and used it to verify API specifications on several Windows device drivers. Even without assumptions about executable layout and procedures as made by state of the art approaches, we achieve more precise results on a set of drivers from the Windows DDK. Since our technique does not require us to compile drivers ourselves, we also present results from analyzing over 300 closed source drivers.
Keywords :
application program interfaces; device drivers; formal specification; program diagnostics; API specifications; Jakstab; Windows device drivers; bounded address tracking; desktop systems; formal analysis; static analysis; untrusted driver binaries; Analytical models; Concrete; Cost accounting; Driver circuits; Lattices; Registers; Semantics;
Conference_Titel :
Formal Methods in Computer-Aided Design (FMCAD), 2010
Conference_Location :
Lugano
Print_ISBN :
978-1-4577-0734-6
Electronic_ISBN :
978-0-9835678-0-6