FRVM: Flexible Random Virtual IP Multiplexing in Software-Defined Networks

Dilli P. Sharma, Dong Seong Kim, Seunghyun Yoon, Hyuk Lim, Jin-Hee Cho, Terrence J. Moore

TL;DR

FRVM (Flexible Random Virtual IP Multiplexing) is a novel Moving Target Defense (MTD) that uses Software-Defined Networking to constantly shuffle multiple virtual IP addresses for every real host. By breaking the static link between an IP and a service, FRVM ensures that even an attacker who scans an entire network will likely miss over 37% of their targets.

What Problem Does This Paper Address?

In traditional networking, system configurations are static. A server has one IP address, and it stays that way for a long time. This creates an asymmetric advantage for attackers: they can take weeks to quietly perform reconnaissance, map out a network, and identify specific vulnerabilities without the target ever changing.

Moving Target Defense (MTD) aims to flip this script by dynamically changing the "attack surface." While previous IP shuffling techniques existed, they often relied on 1-to-1 mappings (one virtual IP for one real IP). This approach struggles with scalability—you quickly run out of available addresses in the virtual pool—and can be predictable if the mutation rate is low. The authors of this paper sought a more flexible, scalable way to hide real network identities from scanners and reconnaissance tools like Nmap.

Methods

The authors propose FRVM, an SDN-based mechanism that implements M-to-N mapping. Instead of a simple swap, a single real IP (rIP) can be represented by multiple, time-varying virtual IPs (vIPs) across different services.

Key components of the architecture include:

  • SDN Controller: The "brain" that generates cryptographically secure random vIPs and manages the mapping.
  • SDN Switches: These handle the heavy lifting of translating vIPs back to rIPs at the network edge, making the process transparent to the end-host.
  • Multiplexing Interval ($T$): A short time window after which all vIP mappings are discarded and regenerated.

The system handles two main communication flows:

  1. Domain-Name based: When a user requests a service via DNS, the SDN controller intercepts the DNS reply and replaces the real IP with a temporary vIP.
  2. Authorized rIP access: For administrative tasks, the controller can allow direct connections to a real IP, but only after a successful authorization check.
Fig. 1: FRVM implementation on an SDN-based environment.

Datasets

The paper evaluates FRVM using mathematical probabilistic modeling and simulated network environments rather than static datasets. They tested the system against various IPv4 address space sizes:

  • Class-C: $2^{16}$ (65,536 addresses)
  • Class-B: $2^{20}$ (~1 million addresses)
  • Class-A: $2^{24}$ (~16.7 million addresses)
  • Small-scale simulations: Specific scenarios with 5 hosts and address spaces ranging from 50 to 500 to visualize the Attacker Success Probability (ASP).

Key Insights and Ideas

  • From "Without Replacement" to "With Replacement": In a static network, an attacker's scan is like drawing from a deck of cards without putting them back—eventually, they will find the ace. FRVM turns this into a "drawing with replacement" problem (modeled by a Binomial distribution). Because the IPs change during the scan, the attacker might scan the same "virtual" slot multiple times while the target has already moved to a slot they previously checked.
  • The $1/e$ Discovery Floor: A fascinating mathematical insight is that if the shuffling rate matches the scanning rate, an attacker scanning the entire address space will still miss the target host with a probability of approximately $e^{-1} \approx 0.37$.
  • Diversity as Defense: By allowing a single host to have multiple vIPs for different services, FRVM increases the "entropy" of the network. An attacker who finds a web service on one IP cannot assume that a database service for the same host will be at the same address.

Key Results

The authors measured the Attacker Success Probability (ASP) across several scenarios:

  • Single Target Discovery: In a network with 500 addresses, FRVM reduced the ASP significantly compared to a static network. While a static network reaches 100% discovery once the space is scanned, FRVM keeps the success rate much lower.
  • Discovery of Multiple Hosts: As shown in the researchers' experiments, the probability of successfully discovering all hosts in a network drops exponentially as the number of hosts increases.
  • Reconnaissance Thwarting: In scenarios where an attacker can only scan a small portion (e.g., 10%) of the address space before a shuffle occurs, FRVM can protect over 90.5% of hosts from discovery.
ASP comparison for multiple host discovery

Limitations and Future Work

While effective, the authors acknowledge that FRVM isn't a silver bullet:

  • Operational Overhead: Constantly updating flow tables in SDN switches adds computational load and a slight operational delay.
  • DDoS Attacks: The current paper focuses on reconnaissance (scanning). The authors plan to investigate how FRVM holds up against Distributed Denial of Service attacks in future work.
  • Optimization: There is a trade-off between security (shuffling faster) and performance (shuffling slower). Finding the optimal multiplexing frequency for different network loads remains an open research question.

Summary updated

BibTeX
@inproceedings{sharma2018frvm,
  author = {Dilli P. Sharma and Dong Seong Kim and Seunghyun Yoon and Hyuk Lim and Jin-Hee Cho and Terrence J. Moore},
  title = {{FRVM: Flexible Random Virtual IP Multiplexing in Software-Defined Networks}},
  booktitle = {TrustCom/BigDataSE},
  year = {2018},
  doi = {10.1109/trustcom/bigdatase.2018.00088},
}
Figure