Systematically Detecting Packet Validation Vulnerabilities in Embedded Network Stacks


연구 분야: Verification



학회: ASE '23: Proceedings of the 38th IEEE/ACM International Conference on Automated Software Engineering


초록

Embedded Network Stacks (ENS) enable low-resource devices to communicate with the outside world, facilitating the development of Internet of Things and Cyber-Physical Systems. Some defects in ENS are thus high-severity cybersecurity vulnerabilities: they are remotely triggerable and can impact the physical world. While prior research has shed light on the characteristics of defects in many classes of software systems, no study has described the properties of ENS defects nor identified a systematic technique to expose them. The most common automated approach to detecting ENS defects is feedback-driven randomized dynamic analysis ("fuzzing"), a costly and unpredictable technique. This paper provides the first systematic characterization of cybersecurity vulnerabilities in ENS. We analyzed 61 vulnerabilities across 6 open-source ENS. Most of these ENS defects are concentrated in the transport and network layers of the network stack, require reaching different states in the network protocol, and can be triggered by only 1--2 modifications to a single packet. We therefore propose a novel systematic testing framework that focuses on the transport and network layers, uses seeds that cover a network protocol's states, and systematically modifies packet fields. We evaluate this framework on 4 ENS and replicated 12 of the 14 reported IP/TCP/UDP vulnerabilities. On recent versions of these ENSs, it discovered 7 novel defects (6 assigned CVES) during a bounded systematic test that covered all protocol states and made up to 3 modifications per packet. We found defects in 3 of the 4 ENS we tested that had not been found by prior fuzzing research. Our results suggest that fuzzing should be deferred until after systematic testing is employed.


Author Profile
Paschal C Amusuo

Electrical and Computer Engineering Purdue University West Lafayette USA

Andorra
Author Profile
Ricardo Andrés Méndez

Systems and Computer Engineering Universidad Nacional de Colombia Bogotá Colombia

Andorra
Author Profile
Zhongwei Xu

Systems and Computer Engineering Xi'an JiaoTong University Xi'an Shaanxi China

Andorra

📄 논문 정보

발행 연도 2024년
인용수 2
출판 국가 Andorra
사이트 ACM
좋아요 수 0

연관 논문 목록 (139건)