TL;DR
ProvGuard is a provenance-based detection framework that identifies Control Policy Manipulation (CPM) attacks in Software-Defined Networks (SDN) by monitoring the internal "reasoning" of the network controller. By transforming controller activity logs into causal provenance graphs and using a Seq2Seq model to spot behavioral deviations, it catches covert attacks that bypass traditional data-plane-only defenses.
What Problem Does This Paper Address?
In Software-Defined Networking (SDN), a logically centralized Control Plane (CP) manages the Data Plane (DP) of switches and routers. This separation is powerful but creates a massive target: Control Policy Manipulation (CPM).
Attackers can send seemingly legitimate messages from the data plane (like "a host just moved to a new port") to trick the controller into issuing incorrect or malicious forwarding rules. Traditional defenses fail here because they usually look at the output (the rules) or the metadata of messages. They miss the "causality"—the internal logic the controller used to reach a decision.
As shown in the figure above, a "host migration" might look normal on the surface, but if it's orchestrated specifically to bypass an Access Control List (ACL), only the internal sequence of controller operations can reveal the trickery.
Methods
ProvGuard introduces a multi-stage pipeline to bridge the gap between raw logs and semantic understanding:
- Controller Activity Modeling: The authors use static program analysis (via the Soot framework) to identify which parts of the controller's source code are actually involved in processing data-plane messages. This allows for "smart" instrumentation—logging only what matters to avoid drowning in data.
- Provenance Graph Construction: It records execution traces and organizes them into a graph where nodes are functions, events, or data objects, and edges represent causal relationships (e.g., "Function A wrote Data B").
- Redundancy Reduction: To handle the "dependency explosion" common in system logs, ProvGuard uses Maximum Common Subgraph (MCS) identification and Inverse Document Frequency (IDF) weighting. This filters out routine, repetitive operations and highlights unique behavioral patterns.
- Contextual Path Extraction: It extracts fixed-length paths across "execution units" (logical chunks of work, like handling a single packet). These paths serve as the "behavioral context."
- Anomaly Detection via Seq2Seq: ProvGuard feeds these paths into an LSTM-based Sequence-to-Sequence model. The model is trained on normal behavior to predict the next action in a sequence. If the actual action deviates significantly from the prediction (high cross-entropy error), it flags the behavior as suspicious.
Key Insights and Ideas
- Causality is the Key: Covert attacks are often indistinguishable from normal behavior at the data plane level. Analyzing the context of the controller's internal decisions is necessary to identify semantic conflicts.
- Behavioral Boundaries: SDN controllers are event-driven and highly concurrent. ProvGuard’s use of "Execution Partitioning" prevents different packet-handling loops from getting tangled in the provenance graph, maintaining clear causal chains.
- Contextual Semantics > Individual Actions: Evaluation showed that individual actions (like "updating a device map") aren't suspicious on their own. High prediction errors only occur when the sequence of actions creates a semantic discrepancy, proving that the Seq2Seq approach effectively captures the "logic" of the network.
Key Results
- Detection Capability: ProvGuard successfully detected four major CPM attack categories: network identifier hijacking, link fabrication, access control bypass, and switch ID spoofing. It outperformed existing tools like SPHINX or TopoGuard which often miss logic-based bypasses.
- Workload Reduction: For human analysts, ProvGuard reduced the manual audit workload to just 6.02% of edges in the provenance graph.
- Performance:
- Latency: Added a processing delay of roughly 78.4 µs per packet handling API.
- RTT: Increased average round-trip time by 1.8% to 24% depending on network diameter.
- Storage: Generated roughly 1.3 GB/hr of logs under heavy load (1000 new flows/sec).
Limitations and Future Work
While ProvGuard is effective, it faces challenges with storage overhead (1.3 GB/hr) and reliance on static analysis, which may struggle with dynamic code loading or reflection. Future work involves porting the prototype to other controllers like ONOS and addressing potential adversarial machine learning tactics where attackers might attempt to mimic normal execution sequences.
Summary updated