TY - GEN
T1 - Investigating White-Box Attacks for On-Device Models
AU - Zhou, Mingyi
AU - Gao, Xiang
AU - Wu, Jing
AU - Liu, Kui
AU - Sun, Hailong
AU - Li, Li
N1 - Publisher Copyright:
© 2024 ACM.
PY - 2024/5/20
Y1 - 2024/5/20
N2 - Numerous mobile apps have leveraged deep learning capabilities. However, on-device models are vulnerable to attacks as they can be easily extracted from their corresponding mobile apps. Although the structure and parameters information of these models can be accessed, existing on-device attacking approaches only generate black-box attacks (i.e., indirect white-box attacks), which are less effective and efficient than white-box strategies. This is because mobile deep learning (DL) frameworks like TensorFlow Lite (TFLite) do not support gradient computing (referred to as non-debuggable models), which is necessary for white-box attacking algorithms. Thus, we argue that existing findings may underestimate the harm-fulness of on-device attacks. To validate this, we systematically analyze the difficulties of transforming the on-device model to its debuggable version and propose a Reverse Engineering framework for On-device Models (REOM), which automatically reverses the compiled on-device TFLite model to its debuggable version, enabling attackers to launch white-box attacks. Our empirical results show that our approach is effective in achieving automated transformation (i.e., 92.6%) among 244 TFLite models. Compared with previous attacks using surrogate models, REOM enables attackers to achieve higher attack success rates (10.23%→89.03%) with a hun-dred times smaller attack perturbations (1.0→0.01). Our findings emphasize the need for developers to carefully consider their model deployment strategies, and use white-box methods to evaluate the vulnerability of on-device models. Our artifacts11https://github.com/zhoumingyi/REOM are available.
AB - Numerous mobile apps have leveraged deep learning capabilities. However, on-device models are vulnerable to attacks as they can be easily extracted from their corresponding mobile apps. Although the structure and parameters information of these models can be accessed, existing on-device attacking approaches only generate black-box attacks (i.e., indirect white-box attacks), which are less effective and efficient than white-box strategies. This is because mobile deep learning (DL) frameworks like TensorFlow Lite (TFLite) do not support gradient computing (referred to as non-debuggable models), which is necessary for white-box attacking algorithms. Thus, we argue that existing findings may underestimate the harm-fulness of on-device attacks. To validate this, we systematically analyze the difficulties of transforming the on-device model to its debuggable version and propose a Reverse Engineering framework for On-device Models (REOM), which automatically reverses the compiled on-device TFLite model to its debuggable version, enabling attackers to launch white-box attacks. Our empirical results show that our approach is effective in achieving automated transformation (i.e., 92.6%) among 244 TFLite models. Compared with previous attacks using surrogate models, REOM enables attackers to achieve higher attack success rates (10.23%→89.03%) with a hun-dred times smaller attack perturbations (1.0→0.01). Our findings emphasize the need for developers to carefully consider their model deployment strategies, and use white-box methods to evaluate the vulnerability of on-device models. Our artifacts11https://github.com/zhoumingyi/REOM are available.
KW - Model Conversion
KW - Responsible AI
KW - SE for AI
UR - https://www.scopus.com/pages/publications/85196831711
U2 - 10.1145/3597503.3639144
DO - 10.1145/3597503.3639144
M3 - 会议稿件
AN - SCOPUS:85196831711
T3 - Proceedings - International Conference on Software Engineering
SP - 1876
EP - 1887
BT - ICSE 2024 - Proceedings of the 46th IEEE/ACM International Conference on Software Engineering
PB - IEEE Computer Society
T2 - 46th IEEE/ACM International Conference on Software Engineering, ICSE 2024
Y2 - 14 April 2024 through 20 April 2024
ER -