Trace of the Times: Rootkit Detection through Temporal Anomalies in Kernel Activity
Open Access
- 15 December 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Digital Threats: Research and Practice
- Vol. 6 (4) , 1-26
Abstract
Kernel-space rootkits provide adversaries with permanent high-privileged access to compromised systems and are often a key element of sophisticated attack chains. At the same time, they enable stealthy operation and are thus difficult to detect. Thereby, they inject code into kernel functions to appear invisible to users, for example, by manipulating file enumerations. Existing detection approaches are insufficient because they rely on signatures that are unable to detect novel rootkits or require domain knowledge about the rootkits to be detected. To overcome this challenge, our approach leverages the fact that runtimes of kernel functions targeted by rootkits increase when additional code is executed. The framework outlined in this article injects probes into the kernel to measure timestamps of functions within relevant system calls, computes distributions of function execution times, and uses statistical tests to detect time shifts. The evaluation of our open source implementation on publicly available datasets indicates high detection accuracy with an F1 score of 98.7% across five scenarios with varying system states.Keywords
All Related Versions
Funding Information
- European Union—Horizon Europe Research and Innovation program (101168144 (MIRANDA))
- European Defence Fund (101121403 (NEWSROOM))
This publication has 28 references indexed in Scilit:
- Intelligent Malware Detection based on Hardware Performance Counters: A Comprehensive Survey2024
- Performance Monitoring Counter Based Intelligent Malware Detection and Design AlternativesIEEE Access, 2022
- A Review on Learning-based Detection Approaches of the Kernel-level Rootkit2021
- Phase Space Detection of Virtual Machine Cyber Events Through Hypervisor-Level System Call Analysis2018
- Anomaly Detection Using Inter-Arrival Curves for Real-Time Systems2016
- Neural Network Analysis of System Call Timing for Rootkit Detection2016
- A comparison of static, dynamic, and hybrid analysis for malware detectionJournal of Computer Virology and Hacking Techniques, 2015
- Comparing two dependent groups via quantilesJournal of Applied Statistics, 2012
- Proactive Detection of Kernel-Mode Rootkits2011
- The Evolution of System-Call Monitoring2008