Static Analysis Based Invariant Detection for Commodity Operating Systems

Wei, Jinpeng and Zhu, Feng and Shinjo, Yasushi (2011) Static Analysis Based Invariant Detection for Commodity Operating Systems. In: 7th International Conference on Collaborative Computing: Networking, Applications and Worksharing.

[thumbnail of 13185.pdf] PDF
13185.pdf

Download (121kB)

Abstract

The recent interest in runtime attestation requires modeling of a program’s runtime behavior to formulate its integrity properties. In this paper, we study the possibility of employing static source code analysis to derive integrity models of a commodity operating systems kernel. We develop a precise and static analysis-based global invariant detection tool that overcomes several technical challenges: field-sensitivity, array-sensitivity, pointer analysis, and handling of assembly code. We apply our tool to Linux kernel 2.4.32 and identify 141,279 global invariants that are critical to its runtime integrity. Furthermore, comparison with the result of a dynamic invariant detector reveals 17,182 variables that can cause false alarms for the dynamic detector. Our experience suggests that static analysis is a viable option for automated integrity property derivation, and it can have very low false positive rate (1 out of 141,280 in our Linux kernel case study) and very low false negative rate (about 0.013%).

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: integrity modeling, invariants detection, static analysis, tools
Date Deposited: 04 Mar 2026 09:16
Last Modified: 03 Dec 2026 09:49
URI: https://eprints.eai.eu/id/eprint/4833

Actions (login required)

View Item
View Item