arXiv:2608.29979cs.CRAug 2026

Manuscript Offprint

arXiv:2608.29979

Breaking Ambient Trust: In-Network Per-Process Access Control Against Lateral Movement

Osama Bajaber, Bo Ji, Peng Gao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Enterprise networks remain vulnerable to Advanced Persistent Threats (APTs), where adversaries gain an initial foothold and move laterally across the network, accumulating access permissions hop by hop to reach critical targets. Existing network defenses cannot track user movement at the process level across the network; instead, they grant ambient trust to all processes within a host. As a result, once a host is compromised, malicious processes inherit the victim's permissions, thereby expanding the attacker's access scope and enabling further lateral movement.

To address this gap, we present NETZONE, an in-network access control that confines each user process to a fixed access scope that persists as the user moves across the network. NETZONE introduces a new abstraction, called AccessScope, which represents a lightweight access capability bound to the user's processes. Each AccessScope encodes the set of hosts a user identity is authorized to access and is embedded in the process's outgoing network traffic for validation before reaching its destination. As users pivot across hosts, AccessScope propagates with their traffic, rebinds to the receiving process, and persists across hosts. This ensures that regardless of network location, the user's processes are consistently governed by their bound AccessScope and their access permissions remain unchanged. To handle the high volume of network traffic generated by processes, we develop a data-plane co-design that integrates programmable switches with eBPF. NETZONE employs a set of in-network optimizations and lightweight AccessScope persistence techniques to inspect the embedded AccessScope on the fly, enabling line-rate processing of high traffic volumes with negligible latency overhead. Our extensive evaluations show that NETZONE can effectively defend against various sophisticated attack scenarios without introducing noticeable overhead.

CCS Concepts

• Security and privacy → Network security.

Keywords

Network Security, Programmable Switch, eBPF

1 Introduction

Modern enterprise networks remain vulnerable to Advanced Persistent Threats (APTs) [36]. These attacks share a common structure: an adversary gains an initial foothold and then moves laterally across hosts, progressively accumulating access permissions beyond their entry point (e.g., a compromised host becomes a stepping stone to internal and privileged systems). It is through this incremental accumulation of permissions that APTs achieve their goals, leading to major data breaches [70], significant financial losses [66], and widespread service disruptions [79]. Despite decades of investments in network access control [51], attackers still succeed as existing network defenses rely on coarse-grained, network-level information (i.e., IP addresses and port numbers) and lack visibility to track user process movement across hosts. As a result, they cannot enforce consistent permissions as users move.

Consider a representative scenario in Fig. 1a with two hosts (Alice and Bob) and a sensitive server. A firewall permits only Alice (an administrator) to access the server. Although Alice and Bob can communicate with each other, Bob cannot directly reach the server. However, Bob turns malicious and uses Alice as a stepping stone to reach the server by sending a spear-phishing email that installs a backdoor on her machine. Leveraging this backdoor, Bob establishes a remote session using process P1 and spawns a new process P2 on Alice's host. Since the firewall enforces only coarse IP- and port-based rules, it cannot distinguish between traffic from Bob's malicious process P2 and Alice's process P3, allowing Bob to inherit Alice's permissions and pivot toward the server. Similar attacks arise through various other techniques (e.g., access token theft [56], session hijacking [58], or exploitation of shared services [57]), emphasizing a broader and pervasive security challenge.

This exposes two fundamental weaknesses in current network defenses: (1) the ambient trust implicitly granted to all processes within a host, and (2) the inability to track user identity at the process-level as users move across the network. Defenses like distributed firewalls enforce coarse, IP- and port-based rules rather than the identity of the process initiating the connection. As a result, when an attacker pivots onto a compromised host, all outgoing connections appear to originate from the legitimate user, and malicious processes inherit the same access permissions. Even recent identity-aware solutions [12, 17] that incorporate user roles ultimately translate high-level policies into coarse-grained IP-based rules for enforcement, thereby trusting all processes on a host and failing to track user movement at the process level across hosts. This limitation is critical in data centers and cloud environments, where thousands of processes interact through shared infrastructure, enabling attackers to expand permissions and pivot deeper into the network [44, 52, 70].

Goal & challenges. What is needed is a fundamentally different model where access permissions are tied to the user's identity rather than the host's network location, and follow the user as they move across the network. Our key insight is twofold: (1) each process should carry distinct access permissions based on the user's identity; (2) these permissions should persist and propagate with the user as they move across hosts, ensuring that a user maintains consistent access permissions regardless of network location.

To realize this insight, our idea is to bind a lightweight credential object to each user's processes. This credential specifies which hosts a process is authorized to access and is attached to outgoing network packets for verification at every access attempt. This credential also propagates as the user pivots across hosts and spawns new processes. Through this mechanism, regardless of where the user lands, access decisions are governed by the credential object, strictly limiting the user's access scope to authorized destinations.

As illustrated in Fig. 1b, credential objects encode administrator-defined policies that specify each user's authorized access. Even if Bob successfully compromises Alice's system, his malicious process P2 carries a restricted credential object that does not permit access to the server. In contrast, Alice's legitimate process P3 holds a different credential object that authorizes the connection.

However, realizing this vision introduces three key challenges.

(1) Compact policy representation. Designing a credential object that encodes a user’s permissions across all hosts is non-trivial. The object must remain compact to propagate efficiently while still expressing permissions for potentially thousands of hosts.

(2) Cross-host persistent. Permissions must remain bound to each process and propagate as users move across hosts, bridging intra-host activities (i.e., spawning new processes and threads) with inter-host communications (i.e., network connections), ensuring credentials propagate both within and between hosts.

(3) Line-rate enforcement at scale. Validating credentials on every access attempt in a high-volume enterprise network must operate in real time without introducing noticeable overhead or degrading benign traffic.

Contributions. We introduce NETZONE, an in-network access control system that enforces per-user, per-process access scopes across the enterprise network. NETZONE builds on capability-based access control [85] and brings this notion of fine-grained, decentralized access control to enterprise networks. Unlike existing capability-based systems [41, 78] that are restricted to a single host, NETZONE extends capability enforcement across the network to regulate process access to remote hosts. At the core of NETZONE is a new abstraction called the AccessScope object. This object encodes the set of hosts a user identity is authorized to access and is bound to the process identifier (PID). A process must be presented whenever the process attempts to access a remote host. As users spawn new processes or pivot across hosts, their associated AccessScope propagates with them, preserving a consistent access scope throughout the network. This is achieved by embedding the AccessScope associated with the sending process's PID into outgoing packets, and propagating the corresponding capability to the recipient process.

The key advantage of this design is that binding the AccessScope to individual processes eliminates the ambient trust granted to all connections from the same host. Instead, NETZONE preserves each user's access scope as they move across the network, enforcing consistent access permissions regardless of network location. Even if a host is compromised, malicious processes cannot inherit access permissions of legitimate ones and pivot. This decentralized, process-level design confines each user to a specific set of authorized hosts, effectively mitigating stepping-stone attacks.

To efficiently enforce AccessScopes carried on network packets and propagate them across hosts, NETZONE employs a novel data plane co-design of programmable switches and eBPF. Programmable switches (e.g., Tofino) offer data plane programmability and guarantee customized Tbps line-rate packet processing. This enables NETZONE to create custom packet headers that carry AccessScope objects and inspect them directly in the data plane at line rate. We further developed optimization techniques that enable efficient AccessScope generation, distribution, validation, and enforcement across the network. To bind AccessScopes to processes and propagate them within and between hosts, we developed lightweight kernel programs using eBPF technology. eBPF enables the operating system (OS) kernel to be extended through sandboxed custom programs, without modifying kernel source code or user-level applications. Our lightweight eBPF components efficiently trace process activity, bind processes to their corresponding AccessScopes within hosts, and attach or extract AccessScopes from network packets to ensure seamless propagation.

Evaluations. We extensively evaluated NETZONE on both a physical testbed with a Tofino programmable switch and on realistic large-scale topologies using packet-level simulations, incorporating both synthetic and real-world workloads. Our results show that: (1) NETZONE can prevent a wide range of advanced attacks that evade existing network defenses [7, 12, 17], while adding only a negligible 140 ns latency to enforce AccessScope on the fly. (2) NETZONE scales to real-world traces, including DARPA OpTC [76], Yatesbury [32], and LANL Unified Host and Network [74] datasets, achieving 99.9 Gbps throughput on a 100 Gbps (per-port) programmable switch with minimal impact on legitimate traffic. (3) The eBPF programs add only 3-9 μ\mus to the total time of the monitored kernel events with a small 130 MB memory footprint, imposing negligible performance impact on hosts. (4) To further demonstrate the benefits of our data-plane design, we compare NETZONE with centralized identity-based network access control solutions [12, 17]. NETZONE enforces policies 27-60x faster while remaining resilient against saturation attacks.

References (59)