An In-kernel Forensics Engine for Investigating Evasive Attacks

Javad Zandi, Lalchandra Rampersaud, Amin Kharraz · 2025

Read An In-kernel Forensics Engine for Investigating Evasive Attacks by Javad Zandi, Lalchandra Rampersaud, Amin Kharraz (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-06498.txt.

Introduction

Javad Zandi, Lalchandra Rampersaud, and Amin Kharraz present a tool that gathers proof of stealthy computer attacks from deep inside the Windows system. Their 2025 paper notes that attackers have grown skilled at quiet, low-profile strikes. Proof of what they did is often scarce in the early stages, which leaves defenders at a loss.

Their engine, called LASE, watches the whole system in fine detail while leaving few traces of its own. Tools of this kind must trade reach against the risk of being spotted, and LASE aims for a strong mix of both. The team shows several ways to set it up and shares its trace data in public, so other groups can build on the work.

Catalog record

CREATORJavad Zandi, Lalchandra Rampersaud, Amin Kharraz
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE79 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-06498

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

An In-kernel Forensics Engine for Investigating Evasive Attacks Javad Zandi, Lalchandra Rampersaud, Amin Kharraz Abstract Over the years, adversarial attempts against critical services have become more effective and sophisticated in launching low-profile attacks. This trend has always been concerning. However, an even more alarming trend is the increasing difficulty of collecting relevant evidence about these attacks and the involved threat actors in the early stages before significant damage is done. This issue puts defenders at a significant disadvantage, as it becomes exceedingly difficult to understand the attack details and formulate an appropriate response. Developing robust forensics tools to collect evidence about modern threats has never been easy. One main challenge is to provide a robust trade-off between achieving sufficient visibility while leaving minimal detectable artifacts. This paper will introduce Lase , an open-source Low-Artifact Forensics Engine to perform threat analysis and forensics in Windows operating system. Lase augments current analysis tools by providing detailed, system-wide monitoring capabilities while minimizing detectable artifacts. We designed multiple deployment scenarios, showing Lase ’s potential in evidence gathering and threat reasoning in a real-world setting. By making Lase and its execution trace data available to the broader research community, this work encourages further exploration in the field by reducing the engineering costs for threat analysis and building a longitudinal behavioral analysis catalog for diverse security domains. 1 Introduction Modern attacks against critical infrastructure are continuously getting cheaper, faster, and more consequential. For instance, in December 2021, just a few days after the Log4j vulnerability was disclosed [ 21 ] , adversaries started to adapt their code to locate exposed log4j services on the Internet and actively exploited this vulnerability. Very recently, the Clop ransomware group claimed responsibility for attacking the MOVEit transfer service on several known financial, education, U.S. federal, and state governments over the Memorial Day holiday. The attack was so consequential that the U.S. State Department announced a $10 million bounty for information on the actors and involved threat campaign [ 67 ] . These incidents, on the one hand, suggest that adversaries are opportunistic and have asymmetric power in repurposing their tools to target new vulnerabilities in exposed services. However, a more concerning issue is that collecting necessary forensic evidence about these incidents at the early stages of the attacks before they cause consequential damage to the target systems is often challenging. Over the years, the security community has invested significant effort to close this gap by developing solutions to extract insights from large volumes of raw network [ 33 , 41 , 7 ] or default logging traces [ 62 , 41 , 46 , 49 , 129 , 73 , 36 ] that primarily reflect temporal usage of systems resources (e.g., CPU, RAM, Network, Disk). While these efforts have been instrumental in detecting specific forms of attacks with predictable patterns (e.g., Ransomware [ 59 ] , crypto mining [ 120 ] ), they often fail to manifest fine-grained information on attack techniques that implement not evident or less known evasive techniques to deliver their payloads. Consider an attack where the offending process injects a payload into another process and uses that as a proxy to establish a backdoor to a remote server. This incident, as a sequence of system-wide temporal data, is not collected effectively by engines that rely on default logging mechanisms. This insufficient visibility over the dynamic behavior of malicious operations can put defenders in a highly disadvantaged position to understand the attack tactics and lateral movements, perform root cause analysis, and formulate a proper response. The core insight in this paper is today’s threat intelligence against modern evasive attacks has to provide fine-grained system-wide visibility, leave minimal detectable artifacts, and be portable. These design goals have been historically difficult to attain at the same time. For instance, having fine-grained temporal visibility requires looking into very low-level components of the systems, which could make the solution less portable. On the other hand, approaches such as API hooking offer great portability, but there are several ways to bypass them. This paper aims to move towards addressing this need by introducing Lase – an open-source L ow- A rtifact Foren S ics E ngine, that aims to define a balance between offering fine-grained visibility while minimizing detectable artifacts. These two design requirements are critical to staying effective over time in a landscape where adversaries actively try to identify defense solutions. To this end, Lase is deployed as a system-wide in-kernel engine that operates in high-privileged mode, making it almost impossible for user-mode applications to fingerprint, tamper, or kill the engine. At the same time, it offers system-wide visibility, temporal data on processes and threads, I/O requests, synchronous and asynchronous I/Os, fast I/Os, which are essentials to record the behavior of various forms of evasive attacks. We highlight the portable design of Lase through two distinct security-motivated case studies: (1) an in-kernel baremetal-assisted threat analysis environment: we deployed the engine on several live-running physical machines to perform large-scale malware analysis on baremetal Windows, machines(Section 4.1 ), (2) a distributed deception-based infrastructure: We deployed the Lase -enabled images as in-cloud deception-based threat infrastructure for 46 days and collected attack artifacts about real-world attacks on intentionally vulnerable systems in the wild (Section 4.2 ). In the following, we summarize the key findings of the paper. The experiment shows that Lase -enabled baremetal analysis environment can complement current malicious code analysis tools on large-scale threat analysis and measurement. We created Windows 10 OS images enabled by Lase and deployed them across eight physical machines, forming one of the first scalable baremetal-assisted analysis environments. We analyzed 79,544 malicious binaries over 30 months, from June 2022 to December 2024. Our analysis of recorded activities shows that a low-artifact engine can increase visibility over the behavior of malicious code. For instance, we collected 5,284,059 files after executing 34,438 malware samples that have file write activities in baremetal and virtualized environments. We observed that 3,981,555 (75.35%) of the files were delivered only in the baremetal environment, and 884,301(16.74%) were only dropped in the virtualized environment. This leaves 418,203 files that were delivered in both – showing that the samples fetched different payloads. We have shared 2% of the dataset (117GB) for this submission, which contains filesystem artifacts for bare-metal and virtualized analysis environments. The analysis shows the emerging trend of using hardware-based fingerprinting makes malicious code analysis increasingly more challenging. In particular, among all forms of fingerprinting techniques we observed in the dataset, 1,187 of the samples were calling Windows Management Instrumentation (WMI) to detect advanced virtualized analysis systems (e.g., Hypervisor-based sandbox), 9,254 samples from Sabsik, Wacatac, AgentTesla families checked for direct CPU clock access, and 7,147 samples checking the BIOS hardware, firmware version, manufacturer, and configurations loaded during the system boot process as shown in table 5 . While advanced sandboxes may attempt to mask these artifacts and report different driver versions or hardware information, such modifications significantly reduce the robustness of the target system. That is, these changes may result in a complete system crash or disruption of legitimate drivers because critical services often need exact information of hardware information for critical operations (e.g., integrity checking, patch and update, driver management). Finally, Lase was deployed as

Read the complete text