Fast and Furious: Outrunning Windows Kernel Notification Routines from User-Mode

  • Pierre Ciholas
  • , Jose Miguel Such
  • , Angelos K. Marnerides
  • , Benjamin Green
  • , Jiajie Zhang
  • , Utz Roedig

Research output: Chapter in Book/Report/Conference proceedingsConference proceedingpeer-review

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 handle before the 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 anti-malware 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.

Original languageEnglish
Title of host publicationDetection of Intrusions and Malware, and Vulnerability Assessment - 17th International Conference, DIMVA 2020, Proceedings
EditorsClémentine Maurice, Leyla Bilge, Gianluca Stringhini, Nuno Neves
PublisherSpringer
Pages67-88
Number of pages22
ISBN (Print)9783030526825
DOIs
Publication statusPublished - 2020
Event17th International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment, DIMVA 2020 - Lisbon, Portugal
Duration: 24 Jun 202026 Jun 2020

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12223 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference17th International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment, DIMVA 2020
Country/TerritoryPortugal
CityLisbon
Period24/06/2026/06/20

Fingerprint

Dive into the research topics of 'Fast and Furious: Outrunning Windows Kernel Notification Routines from User-Mode'. Together they form a unique fingerprint.

Cite this