# Learning Failure-Inducing Models for Testing Software-Defined Networks

arXiv: https://arxiv.org/abs/2210.15469 · HTML: https://mlsanity.com/paper/2210.15469/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 6 of its 69 references that are in the map.
- First posted on arXiv 27 Oct 2022.

## Builds on (most cited first, 6 of 6)

- [The Art, Science, and Engineering of Fuzzing: A Survey](https://mlsanity.com/paper/1812.00140/) (2018)
- [Can Offline Testing of Deep Neural Networks Replace Their Online Testing?](https://mlsanity.com/paper/2101.11118/) (2021)
- [Learn&Fuzz: Machine Learning for Input Fuzzing](https://mlsanity.com/paper/1701.07232/) (2017)
- [Programming Protocol-Independent Packet Processors](https://mlsanity.com/paper/1312.1719/) (2013)
- [Detecting DDoS Attack on SDN Due to Vulnerabilities in OpenFlow](https://mlsanity.com/paper/1912.12221/) (2019)
- [Learning-Guided Network Fuzzing for Testing Cyber-Physical System Defences](https://mlsanity.com/paper/1909.05410/) (2019)

## Abstract (arXiv)

Software-defined networks (SDN) enable flexible and effective communication systems that are managed by centralized software controllers. However, such a controller can undermine the underlying communication network of an SDN-based system and thus must be carefully tested. When an SDN-based system fails, in order to address such a failure, engineers need to precisely understand the conditions under which it occurs. In this article, we introduce a machine learning-guided fuzzing method, named FuzzSDN, aiming at both (1) generating effective test data leading to failures in SDN-based systems and (2) learning accurate failure-inducing models that characterize conditions under which such system fails. To our knowledge, no existing work simultaneously addresses these two objectives for SDNs. We evaluate FuzzSDN by applying it to systems controlled by two open-source SDN controllers. Further, we compare FuzzSDN with two state-of-the-art methods for fuzzing SDNs and two baselines for learning failure-inducing models. Our results show that (1) compared to the state-of-the-art methods, FuzzSDN generates at least 12 times more failures, within the same time budget, with a controller that is fairly robust to fuzzing and (2) our failure-inducing models have, on average, a precision of 98% and a recall of 86%, significantly outperforming the baselines.
