Certified Adversarial Robustness for Machine Learning Malware Detectors Based on (De)Randomized SmoothingCertified Adversarial Robustness of Machine Learning-based Malware Detectors via (De)Randomized Smoothing
The paper proposes a certified defense against patch attacks that, for a given executable file and adversarial patch size, guarantees that no adversarial example can escape detection. During training, the base classifier is trained on contiguous byte subsets; at inference, the executable file is split into non-overlapping blocks, each block is classified, and the final prediction is obtained by majority vote, to weaken the influence of injected content. The authors also add a preprocessing step that fixes the sizes of sections and headers to integer multiples of the block size, so that injected content is confined to an integer number of blocks, thereby extending the certification guarantee to content insertion attacks. In ablation experiments on multiple content manipulation attacks and network architectures, the authors report that the method is more robust to strong content insertion attacks than randomized smoothing-based defenses in the literature.