ferify: 제로데이 공격에 대한 가상 머신 파일 보호 시스템
ferify: A Virtual Machine File Protection System against Zero-Day Attacks
ferify: A Virtual Machine File Protection System against Zero-Day Attacks
@misc{peppas2020ferify,
title = {ferify: A Virtual Machine File Protection System against Zero-Day Attacks},
author = {Alexis Peppas and Geoffrey G. Xie and Charles Prince},
year = {2020},
eprint = {2004.08992},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/2004.08992}
}
Peppas, A., Xie, G. G., & Prince, C. (2020). ferify: A Virtual Machine File Protection System against Zero-Day Attacks [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2004.08992
PEPPAS A, XIE GG, PRINCE C. ferify: A Virtual Machine File Protection System against Zero-Day Attacks[EB/OL]. (2020-04-19)[2026-11-30]. https://arxiv.org/abs/2004.08992.
초록
기존 VM 보호 솔루션은 대부분 알려진 공격 패턴이나 서명 (signature) 을 전제로 하며, 시스템 파일 및 커널 레벨 메모리 구조체의 악의적 조작을 탐지하는 데 중점을 두고 있다. 본 연구에서는 VM introspection (VMI) 를 활용하여 공격자가 VM 에서 루트 권한을 획득한 후에도 VM 호스트된 사용자 파일에 대한 무단 접근을 방지하는 ferify 시스템을 개발한다. ferify 는 VM 에 대해 완전히 투명하게 동작하는 가상의 파일 접근 제어 목록 (Shadow Access Control List, SACL) 을 하이퍼바이저 도메인에 유지한다. 이 SACL 을 활용하여 대상 파일에 작용할 수 있는 모든 시스템 호출에 대해 독립적인 접근 제어를 수행한다. 또한 ferify 는 커널 수정을 방지하고 프로세스 소유권의 무결성을 보장하며, 하이퍼바이저 기반 사용자 인증을 지원한다. 우리는 Linux 를 위한 ferify 프로토타입을 개발하였으며, 통제된 실험을 통해 기존 서명 기반 솔루션이 우회할 수 있는 다양한 제로데이 공격을 완화할 수 있음을 입증한다. 또한 시스템 호출 트랩으로 인한 관측된 높은 처리 오버헤드의 근본 원인을 분석하고, 오버헤드를 절반으로 줄일 수 있는 일반적인 해결책을 제안한다.
Most existing solutions for protecting VMs assume known attack patterns or signatures and focus on detecting malicious manipulations of system files and kernel level memory structures. In this research we develop a system called ferify, which leverages VM introspection (VMI) to protect user files hosted on a VM against unauthorized access even after an attacker has managed to obtain root privileges on the VM. ferify maintains in the hypervisor domain a shadow file access control list (SACL) that is totally transparent to the VM. It uses the SACL to perform independent access control on all system calls that may operate on the target files. Further, ferify prevents kernel modification, ensures the integrity of process ownership, and supports hypervisor based user authentication. We have developed a ferify prototype for Linux and through a set of controlled experiments we show that the system is able to mitigate a range of zero-day attacks that otherwise may evade signature-based solutions. In addition, we analyze the root cause of the observed high processing overhead from trapping of system calls, and propose a general solution that can potentially cut that overhead by half.