虛擬機技術之敏感性資料洩漏偵測
Hypervisor-based Sensitive Data Leakage Detector
摘要
敏感性資料洩漏是一個許多企業需要面對的重要議題,尤其是未授權或誤用的敏
感性資料轉會使企業失去競爭優勢和商業信用及名譽,造成嚴重的賠損。傳統的 data
leakage prevention (DLP) 會由於資料經過網路封包加密而失敗,儘管當初是設計用
於偵測敏感信資料的外洩。因此,我們希望藉由採用 virtual machine introspection 來
完善 DLP 之時也同時支援普遍運用 hypervisor-based 的服務。在這篇論文內, 我們
開發了一個虛擬機內視監控系統雛型 HyperSweep。系統管理者在使用 HyperSweep
時,不需要修改虛擬機之作業系統設定且可以確保從虛擬機內部的攻擊手段無法影響
到 host machine。HyperSweep 運用結構式掃描 (structrual scanning) 以及廣泛性掃描
(comprehensive scanning) 機制,達到即時性掃描與偵測敏感性資料的外洩,並且該系
統可運行於 Xen 以及 KVM 之 hypervisor 之上。HyperSweep 可以成功藉由追蹤虛擬
機作業軟體上的 virtual memory 和 physical memory 偵測敏感性資料的洩漏來在虛擬
機的應用程式並不被加密機制影響,例如 Chrome、Firefox 等瀏覽器軟體,以及普遍
的文字編輯器或 Office 軟體,和社交軟體 Facebook 或 Chrome 的擴充軟件(LINE)。
感性資料轉會使企業失去競爭優勢和商業信用及名譽,造成嚴重的賠損。傳統的 data
leakage prevention (DLP) 會由於資料經過網路封包加密而失敗,儘管當初是設計用
於偵測敏感信資料的外洩。因此,我們希望藉由採用 virtual machine introspection 來
完善 DLP 之時也同時支援普遍運用 hypervisor-based 的服務。在這篇論文內, 我們
開發了一個虛擬機內視監控系統雛型 HyperSweep。系統管理者在使用 HyperSweep
時,不需要修改虛擬機之作業系統設定且可以確保從虛擬機內部的攻擊手段無法影響
到 host machine。HyperSweep 運用結構式掃描 (structrual scanning) 以及廣泛性掃描
(comprehensive scanning) 機制,達到即時性掃描與偵測敏感性資料的外洩,並且該系
統可運行於 Xen 以及 KVM 之 hypervisor 之上。HyperSweep 可以成功藉由追蹤虛擬
機作業軟體上的 virtual memory 和 physical memory 偵測敏感性資料的洩漏來在虛擬
機的應用程式並不被加密機制影響,例如 Chrome、Firefox 等瀏覽器軟體,以及普遍
的文字編輯器或 Office 軟體,和社交軟體 Facebook 或 Chrome 的擴充軟件(LINE)。
Sensitive data leakage is a major issue many organizations have to face today, where
an unauthorized or misused transfer of the sensitive information could be the end of an
organization, losing the competitive advantage and credits in both business and reputa-
tion. Traditional network data leakage prevention (DLP) that aims to detect sensitive
data leakage would fail if the data that has gone through transport encryption. Hence, we
wish complement on the existing DLP by adapting virtual machine introspection, compen-
sating the lack of effectiveness against encrypted data while supporting hypervisor-based
services which have been commonly implemented. In this paper, we introduce a proto-
type called HyperSweep to perform data leakage detection by introspecting the target’s
guest VM memory to monitor sensitive information violation. Administrators could eas-
ily setup HyperSweep without modifying the guest VM’s while guarantee the target OS
cannot tamper with the host. With structural and comprehensive scan, HyperSweep can
analyze in real-time on guest VM running within Xen and KVM to identify violation of
sensitive information. By tracing through guest OS’ process virtual and physical memory
while not affected by encryption, HyperSweep successfully detects violation of sensitive
information within processes, including web browser like Chrome or Firefox, office appli-
cations, and social media like Facebook or chrome extension (LINE).
an unauthorized or misused transfer of the sensitive information could be the end of an
organization, losing the competitive advantage and credits in both business and reputa-
tion. Traditional network data leakage prevention (DLP) that aims to detect sensitive
data leakage would fail if the data that has gone through transport encryption. Hence, we
wish complement on the existing DLP by adapting virtual machine introspection, compen-
sating the lack of effectiveness against encrypted data while supporting hypervisor-based
services which have been commonly implemented. In this paper, we introduce a proto-
type called HyperSweep to perform data leakage detection by introspecting the target’s
guest VM memory to monitor sensitive information violation. Administrators could eas-
ily setup HyperSweep without modifying the guest VM’s while guarantee the target OS
cannot tamper with the host. With structural and comprehensive scan, HyperSweep can
analyze in real-time on guest VM running within Xen and KVM to identify violation of
sensitive information. By tracing through guest OS’ process virtual and physical memory
while not affected by encryption, HyperSweep successfully detects violation of sensitive
information within processes, including web browser like Chrome or Firefox, office appli-
cations, and social media like Facebook or chrome extension (LINE).