File Download

There are no files associated with this item.

  • Find it @ UNIST can give you direct access to the published full text of this article. (UNISTARs only)
Related Researcher

전유석

Jeon, Yuseok
Secure Software Lab.
Read More

Views & Downloads

Detailed Information

Cited time in webofscience Cited time in scopus
Metadata Downloads

HexType: Efficient detection of type confusion errors for C++

Author(s)
Jeon, YuseokBiswas, P.Carr, S.Lee, B.Payer, M.
Issued Date
2017-10-30
DOI
10.1145/3133956.3134062
URI
https://scholarworks.unist.ac.kr/handle/201301/48976
Citation
ACM conference on Computer and communications security, pp.2373 - 2387
Abstract
Type confusion, often combined with use-after-free, is the main attack vector to compromise modern C++ software like browsers or virtual machines. Typecasting is a core principle that enables modularity in C++. For performance, most typecasts are only checked statically, i.e., the check only tests if a cast is allowed for the given type hierarchy, ignoring the actual runtime type of the object. Using an object of an incompatible base type instead of a derived type results in type confusion. Attackers abuse such type confusion issues to attack popular software products including Adobe Flash, PHP, Google Chrome, or Firefox. We propose to make all type checks explicit, replacing static checks with full runtime type checks. To minimize the performance impact of our mechanism HexType, we develop both low-overhead data structures and compiler optimizations. To maximize detection coverage, we handle specific object allocation patterns, e.g., placement new or reinterpret-cast which are not handled by other mechanisms. Our prototype results show that, compared to prior work, Hex-Type has at least 1.1-6.1 times higher coverage on Firefox benchmarks. For SPEC CPU2006 benchmarks with overhead, we show a 2-33.4 times reduction in overhead. In addition, HexType discovered 4 new type confusion bugs in Qt and Apache Xerces-C++. © 2017 author(s).
Publisher
Association for Computing Machinery
ISSN
1543-7221

qrcode

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.