Alexander Sotirov: Hotpatching and the Rise of Third-Party Patches

Published: June 4, 2006, 11:10 p.m.

b'Hotpatching is a common technique for modifying the behavior of a closed source applications and operating systems. It is not new, and has been used by old-school DOS viruses, spyware, and many security products. This presentation will focus on one particular application of hotpatching: the development of third-party security patches in the absence of source code or vendor support, as illustrated by Ilfak Guilfanov\\u2019s unofficial fix for the WMF vulnerability in December of 2005.\\n\\t\\n\\tThe presentation will begin with an overview of common hotpatching implementations, including Microsoft\\u2019s hotpatching support in Windows 2003, the standard 5-byte jump overwrite and dynamic binary translation systems. I will talk briefly about the deployment and compatibility issues surrounding third party security patches, before getting technical and delving deep into the process of hotpatch development. I will present techniques for exploit-guided debugging and reverse engineering of vulnerable functions, as well as code for hotpatch injection and binary patching.\\n\\t\\n\\tThe most fun part will be at the end of the presentation, when I will do a live demo of analyzing a vulnerability and building a hotpatch for it in 15 minutes."'