본문 바로가기
KERD
논문KCI 등재

유니온 타입 안전 위반 취약점 탐지 도구

Union Type Confusion Detection System

0

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류컴퓨터학

초록

C언어가 처음 개발되었을 때부터 현대의 프로그래밍 언어에서까지 꾸준하게 사용되어온 유니온은 하나의 메모리 공간을 여러 데이터 타입이 공유하도록 허용한다. 과거의 부족한 하드웨어 용량을 극복하기 위해 설계된 유니온은 그 용량이 충분한 현대에도 시스템의 최적화 및 효율성을 위해 여전히 흔히 사용되고 있다. 이러한 유니온의 데이터 특성은 프로그래머가 부정확한 타입 해석이나 잘못된 접근을 하면 메모리 손상이나 예기치 않은 동작이 발생할 수 있으며, 이는 유니온 타입 안전 위반 취약점으로 이어질 수 있다. 하지만 이전에 발표된 타입 안전 위반 취약점 탐지 도구는 클래스 캐스팅에 한하여 탐지를 수행하였거나 COM(Component Object Model)을 대상으로 유니온 타입 안전 위반 취약점 탐지를 수행하였다. 따라서 C/C++의 유니온 타입 안전 위반 취약점을 대상으로 한 연구는 아직 미흡한 수준이며, 이에 본 논문에서는 런타임에 동적으로 유니온 타입 안전 위반 취약점을 탐지하는 UnionTypeSan을 제안한다.

Abstract

Unions, which allow multiple data types to share a single memory space, have been consistently used from the early development of the C language to modern programming languages. Initially designed to overcome the limitations of insufficient hardware capacity, unions remain commonly used today for system optimization and efficiency, even in an era of ample hardware resources. However, due to the nature of union data handling, incorrect type interpretation or improper access by programmers can lead to memory corruption or unexpected behavior, resulting in union type safety violation vulnerabilities. Previously proposed detection tools for type safety violations have either focused solely on class casting or targeted union type safety violations in the context of COM (Component Object Model). As such, research focusing on detecting union type safety violations in C/C++ applications is still insufficient. Therefore, this paper proposes UnionTypeSan, a dynamic runtime detection tool for union type safety violations.

관련 논문AI추천

이 간행물의 다른 논문 (15건)