arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.03441cs.LGcs.AIcs.CR
收藏

PBP: 事后训练后门净化用于恶意软件分类器

PBP: Post-training Backdoor Purification for Malware Classifiers

Dung Thuy Nguyen, Ngoc N. Tran, Taylor T. Johnson, Kevin Leach

AI总结:

PBP是一种后训练方法,通过调节批量归一化层统计特性,有效净化恶意软件分类器中的后门,显著降低攻击成功率。

摘要:

近年来,机器学习(ML)在网络安全中的兴起带来了新的挑战,包括ML恶意软件分类器中后门污染攻击的增加威胁。例如,攻击者可以将恶意样本注入到公共恶意软件仓库中,污染训练数据,并可能通过ML模型误分类恶意软件。当前的防护措施主要集中在通过利用不同集成模型在训练数据点上的输出分歧来检测被污染的样本。然而,这些方法不适合在使用机器学习即服务(MLaaS)或用户希望在模型训练后移除后门的情况下使用。针对这一场景,我们引入了PBP,一种针对恶意软件分类器的后训练防御方法,能够在不假设任何特定后门嵌入机制的情况下缓解各种类型的后门嵌入。我们的方法利用了后门攻击对神经网络激活分布的影响,与触发嵌入方法无关。在存在后门攻击的情况下,每层的激活分布会扭曲成分布的混合。通过调节批量归一化层的统计特性,我们可以引导被污染的模型表现得如同干净的模型。我们的方法在两个数据集、两种后门方法以及各种攻击配置上进行了实验,证明了其在多个最先进方法上的显著优势。值得注意的是,我们的方法仅需要训练数据的一小部分——仅1%——即可净化后门并使攻击成功率从100%降至几乎0%,比基线方法提高了100倍。我们的代码可在https://github.com/judydnguyen/pbp-backdoor-purification-official上获取。

英文摘要:

In recent years, the rise of machine learning (ML) in cybersecurity has brought new challenges, including the increasing threat of backdoor poisoning attacks on ML malware classifiers. For instance, adversaries could inject malicious samples into public malware repositories, contaminating the training data and potentially misclassifying malware by the ML model. Current countermeasures predominantly focus on detecting poisoned samples by leveraging disagreements within the outputs of a diverse set of ensemble models on training data points. However, these methods are not suitable for scenarios where Machine Learning-as-a-Service (MLaaS) is used or when users aim to remove backdoors from a model after it has been trained. Addressing this scenario, we introduce PBP, a post-training defense for malware classifiers that mitigates various types of backdoor embeddings without assuming any specific backdoor embedding mechanism. Our method exploits the influence of backdoor attacks on the activation distribution of neural networks, independent of the trigger-embedding method. In the presence of a backdoor attack, the activation distribution of each layer is distorted into a mixture of distributions. By regulating the statistics of the batch normalization layers, we can guide a backdoored model to perform similarly to a clean one. Our method demonstrates substantial advantages over several state-of-the-art methods, as evidenced by experiments on two datasets, two types of backdoor methods, and various attack configurations. Notably, our approach requires only a small portion of the training data -- only 1\% -- to purify the backdoor and reduce the attack success rate from 100\% to almost 0\%, a 100-fold improvement over the baseline methods. Our code is available at https://github.com/judydnguyen/pbp-backdoor-purification-official.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑