Automatic Patch-Based Exploit Generation is Possible: Techniques and Implications

David Brumley, Pongsin Poosankam, Dawn Song, Zheng Jiang

Proceedings - IEEE Symposium on Security and Privacy/Proceedings of the ... IEEE Symposium on Security and Privacy · 2008 · 288 citations · 28 references

DOIFull text

Open access

Concepts

TL;DR

Automatic patch‑based exploit generation seeks to produce exploits for vulnerabilities fixed by patches, a task that challenges security assumptions about attacker capabilities. The paper proposes techniques for automatic patch‑based exploit generation and demonstrates their application to five Microsoft programs using Windows Update patches. The authors develop methods that analyze program patches and synthesize exploits, applying them to five Microsoft applications via Windows Update. The results show that automatic patch‑based exploit generation is practical and that staggered patch distribution can enable early attackers to compromise many unpatched hosts.

Abstract

The automatic patch-based exploit generation problem is: given a program P and a patched version of the program P', automatically generate an exploit for the potentially unknown vulnerability present in P but fixed in P'. In this paper, we propose techniques for automatic patch-based exploit generation, and show that our techniques can automatically generate exploits for 5 Microsoft programs based upon patches provided via Windows Update. Although our techniques may not work in all cases, a fundamental tenant of security is to conservatively estimate the capabilities of attackers. Thus, our results indicate that automatic patch-based exploit generation should be considered practical. One important security implication of our results is that current patch distribution schemes which stagger patch distribution over long time periods, such as Windows Update, may allow attackers who receive the patch first to compromise the significant fraction of vulnerable hosts who have not yet received the patch.

References

28