A proposed OpenC2 command profile lets a security controller install, inspect and remove eBPF network programs like any other defence. On one host, it adds about 16–42 ms per operation over native tc.
| target | query | copy | create | delete |
|---|---|---|---|---|
| features | ✓ | – | – | – |
| artifact | – | ✓ | – | – |
| x-ebpf:eBPF_program | ✓ | – | ✓ | ✓ |
| command | native | OpenC2 | factor | |
|---|---|---|---|---|
| create | 2.841 | 40.386 | 37.545 | 14.2 |
| query | 1.876 | 17.743 | 15.867 | 9.5 |
| delete | 1.863 | 44.288 | 42.425 | 23.8 |
Going deeper
Architecture of the OpenC2-eBPF prototype.
Picture a building security desk that gives orders to every guard with the same radio phrases: lock this door, check that camera. One new kind of guard only takes orders through its own special phone. The desk now needs a second system just for that guard.
These eBPF programs are that guard: small programs that sit inside the operating system and watch or steer network traffic. The authors write a phrasebook so the usual radio phrases work for them too: send the program over, put it on this door, tell me what is installed, take it down. A helper at each building takes the radio call, keeps a log of who installed what, and only uses a short list of approved tools.
They tried it in one room, with desk and helper on the same machine. Every order worked, all thirty times. Going through the radio costs a few hundredths of a second more than walking over and doing it by hand. Whether it holds up across many buildings, or when things go wrong, they have not tested.
The abstract, word for word, with the six densest phrases unpacked.
Extended Berkeley Packet Filter (eBPF) programs are increasingly used for networking, observability, and security in cloud systems, but their deployment is commonly controlled through tool-specific interfaces1. This paper presents an Open Command and Control (OpenC2) actuator profile2 and a prototype consumer for remotely managing the lifecycle of eBPF network programs. The profile supports capability discovery, artifact transfer, attachment, inspection, and program detachment. The implementation supports the Linux Traffic Control (TC) hook3, persists ownership and attachment metadata, prepares interfaces with the clsact queuing discipline, and constrains privileged command execution through token validation, an allowlisted command surface, and shell-free process invocation4. We validate the prototype through recorded end-to-end executions of the complete eBPF lifecycle and all evaluated operations completed successfully5. Mean end-to-end latency ranged from 17.7 ms for query operations to 135.4 ms for artifact transfer. For create, query, and delete operations, OpenC2 introduced an additional 15–42 ms relative to native tc. These measurements provide a controlled local baseline6 for the management-plane cost of the proposed abstraction.
Read four parts of it, in this order.
Skip Section II if you know eBPF and OpenC2.
If the result is weaker than it sounds, these are the places to check. Each is short.
In our tests, the producer and consumer ran on the same host, equipped with an Intel Core i7-8750H at 2.20 GHz and 15 GiB of RAM, running Ubuntu 24.04.4, Linux 6.17.0-29-generic, and Python 3.12.3. OpenC2 commands were serialized as JSON and exchanged over HTTP using otupy[repetto2025otupy]; the loopback interface was used as the eBPF attachment target. The use of a single consumer is a deliberate experimental-control choice rather than a deployment assumption. It removes cross-consumer contention, scheduling effects, and workload imbalance, allowing RQ2 and RQ3 to characterize the per-consumer cost introduced by the OpenC2 processing path. Consequently, the experiment establishes a controlled component-level baseline; it is not intended to establish fleet-level scalability or throughput under concurrent management operations.
The prototype does not provide transactional consistency between kernel and persistent state. A failure occurring between these two updates may therefore leave them temporarily inconsistent. A production implementation should reconcile persistent records with the observed kernel state after restart.
The query operation provides the closest approximation to the fixed cost of the control path because it performs little state mutation. The observed difference with respect to native tc therefore reflects the combined cost of serialization, local HTTP communication, command processing, dispatch, state access, and response handling. The larger overhead observed for create and delete is consistent with the additional state-management and filter-management work they perform. This decomposition is indicative rather than causal, as the experiment does not instrument the individual internal stages.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all