Ciholas, Pierre and Such, Jose and Marnerides, Angelos and Green, Benjamin and Zhang, Jiajie and Roedig, Utz (2020) Fast and Furious : Outrunning Windows Kernel Notification Routines from User-Mode. In: Detection of Intrusions and Malware, and Vulnerability Assessment. DIMVA 2020. :. Springer, PRT, pp. 67-88. ISBN 9783030526825
dimva20_paper37_accepted.pdf - Accepted Version
Available under License Creative Commons Attribution-NonCommercial.
Download (3MB)
Abstract
Modern Operating Systems (OSs) enable user processes to obtain full access control over other processes initiated by the same user. In scenarios of sensitive security processes (e.g., antivirus software), protection schemes are enforced at the kernel level such as to confront arbitrary user processes overtaking with malicious intent. Within the Windows family of OSs, the kernel driver is notified via dedicated routines for user-mode processes that require protection. In such cases the kernel driver establishes a callback mechanism triggered whenever a handle request for the original user-mode process is initiated by a different user process. Subsequently, the kernel driver performs a selective permission removal process (e.g., read access to the process memory) prior to passing a handle to the requesting process. In this paper we are the first to demonstrate a fundamental user-mode process access control vulnerability, existing in Windows 7 up to the most recent Windows 10 OSs. We show that a user-mode process can indeed obtain a fully privileged access handlebe forethe kernel driver is notified, thus prior to the callback mechanism establishment. Our study shows that this flaw can be exploited by a method to (i) disable the antimalware suite Symantec Endpoint Protection; (ii) overtake VirtualBox protected processes; (iii) circumvent two major video game anti-cheat protection solutions, BattlEye and EasyAntiCheat. Finally we provide recommendations on how to address the discovered vulnerability.