DMS-MIA: disk replay-based and multi-metric sequence membership inference attack on TEE-protected machine learning models
With the widespread adoption of machine learning as a service (MLaaS), data privacy concerns have become increasingly prominent. Trusted execution environment (TEE) offers robust protection for MLaaS, particularly in preventing the leakage of model parameters and training data. The isolation mechanism provided by TEE presents a significant challenge to mainstream membership inference attack (MIA) methods: due to the difficulty in directly accessing the internal parameters and states of the model, as well as strict limitations on query frequency, existing MIA methods perform poorly under TEE protection. However, this paper identifies and exploits a novel attack surface inherent in TEE-protected MLaaS, proposing a new membership inference attack method called DMS-MIA (disk replay-based multi-metric sequence membership inference attack). The core idea of this method is that the attacker gains control over the host machine and virtualization management software, periodically snapshots and replays the encrypted disk of a TEE-protected confidential virtual machine, thereby obtaining intermediate state outputs during the training process of the MLaaS model. Subsequently, DMS-MIA constructs a multi-dimensional metric time series from these historical outputs and uses the Mamba model as an attack model to amplify membership signals within the series, thereby identifying the membership of the sample. Experimental results demonstrate that DMS-MIA achieves significant results in several key metrics, such as TPR @ 0.1% FPR and AUC, across three image datasets and two non-image datasets.