Executive Summary
This section provides the high-level context of the research project. It outlines the nature of the XZ Utils supply chain compromise, the core problem of memory-resident forensics, and the academic team behind the investigation.
đ Abstract
This project presents a hands-on digital forensics investigation of a system compromised using the XZ Utils backdoor, tracked globally as CVE-2024-3094. The attack represents a highly sophisticated supply-chain compromise where malicious code was systematically inserted into the liblzma compression library.
A controlled virtual laboratory was constructed using Proxmox VE. The threat emulation utilized the xzbot framework, enabling remote code execution as root through specially crafted SSH public keys before the normal authentication process completed. The forensic investigation involved capturing volatile memory using Microsoft's AVML and analyzing artifacts with Volatility 3 to uncover stealthy execution paths that bypass disk-based logging.
đ¯ Problem Statement
"The core problem addressed in this project is the lack of reliable forensic visibility for advanced memory-resident supply chain attacks."
Traditional forensic methods are insufficient to reconstruct attacks that execute only in volatile memory and leave minimal traces on disk. When dynamic linker injection processes (like IFUNC hijacking) modify software behavior in RAM, corresponding audit logs fail to record the intrusion, rendering traditional post-mortem disk analyses ineffective.
đ Project Team
-
InvestigatorsAnandshankar Iyer 590010637Jai Manikthala 590010183Shashwat Tripathi 590011321
-
Project GuideDr. Sumitra
-
InstitutionSchool of Computer Science, UPES
Bidholi, Dehradun
May 2026
Core Objectives
- âŧ Infrastructure Deployment & Isolation
- âŧ Threat Emulation (xzbot)
- âŧ Volatile Memory Forensics (AVML, Volatility 3)
- âŧ Network Traffic Analysis (pcapng)
- âŧ Correlation & Timeline Reconstruction
Laboratory Topology
This section visualizes the isolated virtualization environment used for threat emulation. Click on any node in the topology map to view its specific configuration and operational role in the investigation.
Network Architecture & Boundary Protection
Select a node from the topology diagram to view its operational parameters and network segment details.
Threat Mechanics (IFUNC Hijacking)
This section breaks down the complex memory-level attack vector. It explains how the dynamic linker was manipulated to redirect SSH authentication routines, completely bypassing disk-based validation.
Execution Flow
Library Loading
glibc processes liblzma.so
IFUNC Resolution
crc64_resolve hook triggers
GOT Patching
Replaces RSA_public_decrypt pointer
Payload Execution
Intercepts malicious shell command payload from SSH keys
Mathematical Model
Click a step in the execution flow to see details. By default, understand that the technical architecture exploits a standard optimization feature in glibc known as Indirect Functions (IFUNC).
If D is the dynamic resolver and f is the target cryptographic decrypt routine:
This ensures that any authentication signature processed by the daemon passes through the malicious library first.
Forensic Evidence & Analysis
Explore the empirical evidence collected during the emulation phase. Interact with the tabs below to switch between Network telemetry (Wireshark) and Volatile Memory analysis (Volatility 3).
Runtime Process Anomalies
By processing the physical RAM capture using Microsoft AVML, investigators reconstructed the exact execution state. The linux.pstree plugin revealed an unauthorized subshell spawning directly from the SSH daemon.
Memory Page Distribution Check
Analysis of unbacked rwx pages via linux.proc.Maps
SSH Handshake Profiling
The analysis isolates the client-key exchange frame. The xzbot framework packages commands directly into the RSA modulus parameter. This results in a massive packet size expansion caused by the embedded 114-byte signature and payload commands.
The backdoor executes the payload and closes the socket instantly, skipping standard negotiation.
SSH Packet Size Comparison
Client Modulus Payload Size (Bytes)
Project Execution Roadmap
A structured timeline tracking the methodology across 16 weeks, from lab provisioning to the final forensic timeline reconstruction and reporting.
Infrastructure Prep
Proxmox, pfSense, VLAN isolation setup.
Threat Emulation
xzbot configuration, SSH exploit testing, payload generation.
Evidence Acquisition
Pcap collection, AVML RAM capture, log extraction.
Analysis & Reporting
Volatility analysis, MITRE mapping, rule generation.
MITRE ATT&CK Mitigation Strategies
Mitigation: Use static scanning tools to audit packages against known vulnerable versions.
Mitigation: Use TShark to identify anomalous packet frames during handshakes.
Mitigation: Monitor parent-child relationships of system processes for anomalous shells.
Mitigation: Implement stateful, hypervisor-level network and process logging.