오픈 vSwitch 를 대상으로 하는 튜플 스페이스 폭발 공격의 실현 가능성 및 강화 방안
On the Feasibility and Enhancement of the Tuple Space Explosion Attack against Open vSwitch
On the Feasibility and Enhancement of the Tuple Space Explosion Attack against Open vSwitch
@misc{csikor2020on,
title = {On the Feasibility and Enhancement of the Tuple Space Explosion Attack against Open vSwitch},
author = {Levente Csikor and Vipul Ujawane and Dinil Mon Divakaran},
year = {2020},
eprint = {2011.09107},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/2011.09107}
}
Csikor, L., Ujawane, V., & Divakaran, D. M. (2020). On the Feasibility and Enhancement of the Tuple Space Explosion Attack against Open vSwitch [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.09107
CSIKOR L, UJAWANE V, DIVAKARAN DM. On the Feasibility and Enhancement of the Tuple Space Explosion Attack against Open vSwitch[EB/OL]. (2020-11-18)[2026-11-29]. https://arxiv.org/abs/2011.09107.
초록
네트워크 시스템의 핵심 구성 요소인 패킷 분류는 높은 효율성을 요구해야 하나, 클라우드 환경의 소프트웨어 스위치는 여전히 성능 과제를 직면해 있다. 최근 제안된 튜플 공간 폭발 (Tuple Space Explosion, TSE) 공격은 오픈 스위치 (Open vSwitch, OVS) 의 알고리즘적 결함을 악용한다. TSE 에서 합법적인 저속 공격 트래픽은 튜플 공간 검색 (Tuple Space Search, TSS) 알고리즘 내의 선형 검색 알고리즘이 각 패킷을 분류하는 데 불필요한 시간을 소모하게 하여 나머지 사용자에게 서비스 거부 (DoS) 를 유발한다. 본 논문에서는 TSE 의 실행 가능성을 다양한 관점에서 조사한다. TSE 가 OVS 의 최신 버전에서도 여전히 효율적임을 보여줄 뿐만 아니라, 커널 데이터 패스가 다른 소스로 컴파일될 경우 1 Mbps 미만의 공격 속도로도 기본 성능의 약 1% 수준으로 성능이 저하될 수 있음을 보여준다. 마지막으로, TSS 구현의 향상된 순위 결정 프로세스 때문에 TSE 는 OVS-DPDK 의 사용자 공간 데이터 패스에는 훨씬 덜 효과적임을 보여준다. 따라서, OVS-DPDK 의 순위 결정 프로세스를 무력화하여 완전한 DoS 를 달성하기 위해 TSE 2.0 을 제안한다. 또한, 다중 코어에서 실행되는 OVS-DPDK 에게 동일한 목표를 달성하면서 공격 속도를 현저히 증가시키지 않는 TSE 2.1 을 제시한다.
Being a crucial part of networked systems, packet classification has to be highly efficient; however, software switches in cloud environments still face performance challenges. The recently proposed Tuple Space Explosion (TSE) attack exploits an algorithmic deficiency in Open vSwitch (OVS). In TSE, legitimate low-rate attack traffic makes the cardinal linear search algorithm in the Tuple Space Search (TSS) algorithm to spend an unaffordable time for classifying each packet resulting in a denial-of-service (DoS) for the rest of the users. In this paper, we investigate the feasibility of TSE from multiple perspectives. Besides showing that TSE is still efficient in the newer version of OVS, we show that when the kernel datapath is compiled from a different source, it can degrade its performance to 1% of its baseline with less than 1 Mbps attack rate. Finally, we show that TSE is much less effective against OVS-DPDK with userspace datapath due to the enhanced ranking process in its TSS implementation. Therefore, we propose TSE 2.0 to defeat the ranking process and achieve a complete DoS against OVS-DPDK. Furthermore, we present TSE 2.1, which achieves the same goal against OVS-DPDK running on multiple cores without significantly increasing the attack rate.