VirtSC: Combining Virtualization Obfuscation with Self-Checksumming

Mohsen Ahmadvand, Daniel Below, Sebastian Banescu, Alexander Pretschner · DOI

Abstract

Self-checksumming (SC) is a tamper-proofing technique that ensures certain program segments (code) in memory hash to known values at runtime. SC has few restrictions on application and hence can protect a vast majority of programs. The code verification in SC requires computation of the expected hashes after compilation, as the machine-code is not known before. This means the expected hash values need to be adjusted in the binary executable, hence combining SC with other protections is limited due to this adjustment step. However, obfuscation protections are often necessary, as SC protections can be otherwise easily detected and disabled via pattern matching. In this paper, we present a layered protection using virtualization obfuscation, yielding an architecture-agnostic SC protection that requires no post-compilation adjustment. We evaluate the performance of our scheme using a dataset of 25 real-world programs (MiBench and 3 CLI games). Our results show that the SC scheme induces an average overhead of 43% for a complete protection (100% coverage). The overhead is tolerable for less CPU-intensive programs (e.g. games) and when only parts of programs (e.g. license checking) are protected. However, large overheads stemming from the virtualization obfuscation were encountered.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Performance evaluation on real-world programs (MiBench and CLI games)VO (applied single handed)average overhead1018.46%mode=secure · function-protection=100%
Source quote
L480: The average overhead of VO (applied single handed) is 89.34%, 314.95%, 445.41%, and 1018.46% for protection levels of 10, 25, 50 and 100, respectively.
Performance evaluation on real-world programs (MiBench and CLI games)VO and SC combined (VO+SC; VirtSC)average overhead1055.51%mode=secure · SC-connectivity=2 · function-protection=100%
Source quote
L481: When VO and SC are combined the average overhead rounds to 109.74%, 193.64%, 468.72%, and 1055.51% for protection levels of 10, 25, 50 and 100, respectively.
BibTeX
@inproceedings{ahmadvand2019virtsc,
  author = {Mohsen Ahmadvand and Daniel Below and Sebastian Banescu and Alexander Pretschner},
  title = {{VirtSC: Combining Virtualization Obfuscation with Self-Checksumming}},
  booktitle = {Spro@ccs},
  year = {2019},
  doi = {10.1145/3338503.3357723},
}

Loading related content...

Figure