Jiahao Wu , Sanfeng Zhang , Hongxian Liu , Wang Yang
{"title":"ar - log:一种抗对抗性攻击的鲁棒日志异常检测方法","authors":"Jiahao Wu , Sanfeng Zhang , Hongxian Liu , Wang Yang","doi":"10.1016/j.comnet.2025.111471","DOIUrl":null,"url":null,"abstract":"<div><div>In recent years, adversarial evasion attacks against log-based anomaly detection systems have been proven to pose severe threats. Existing detection models lack targeted defense mechanisms against such attacks, enabling malicious actors to conceal anomalous activities. This not only prevents timely detection of system failures or intrusions, but also significantly elevates security risks and potential losses. To address this challenge, this paper proposes AAR-log, a novel adversarial-resilient log anomaly detection framework. The key innovations of AAR-log include: (1) integrating various types of features including log components, log levels, and log templates to construct a more comprehensive representation of log sequences; (2) employing ensemble learning to enhance model diversity and mitigate the vulnerability of single-model approaches; and (3) incorporating adversarial training to constrain the adversarial sample space, thereby significantly improving the framework’s robustness under adversarial conditions. Extensive experiments on benchmark log datasets demonstrate that AAR-log exhibits superior adversarial robustness. Its ensemble learning mechanism and adversarial training strategy effectively enhance resistance against evasion attacks, achieving higher TPR and F1 scores compared to baseline models. Notably, AAR-log also maintains strong generalization performance in non-adversarial environment. In the HDFS dataset, AAR-log improves TPR by 2.8%–9.5% and F1-score by 4.6%–14.3% over baseline models. In the BGL dataset, it achieves even greater gains, increasing TPR by 17.1%–26.7% and F1-score by 3.9%–28.4%. These results validate the effectiveness and robustness of AAR-log in log-based anomaly detection.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"269 ","pages":"Article 111471"},"PeriodicalIF":4.6000,"publicationDate":"2025-06-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"AAR-Log: A robust log anomaly detection method resisting adversarial attacks\",\"authors\":\"Jiahao Wu , Sanfeng Zhang , Hongxian Liu , Wang Yang\",\"doi\":\"10.1016/j.comnet.2025.111471\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>In recent years, adversarial evasion attacks against log-based anomaly detection systems have been proven to pose severe threats. Existing detection models lack targeted defense mechanisms against such attacks, enabling malicious actors to conceal anomalous activities. This not only prevents timely detection of system failures or intrusions, but also significantly elevates security risks and potential losses. To address this challenge, this paper proposes AAR-log, a novel adversarial-resilient log anomaly detection framework. The key innovations of AAR-log include: (1) integrating various types of features including log components, log levels, and log templates to construct a more comprehensive representation of log sequences; (2) employing ensemble learning to enhance model diversity and mitigate the vulnerability of single-model approaches; and (3) incorporating adversarial training to constrain the adversarial sample space, thereby significantly improving the framework’s robustness under adversarial conditions. Extensive experiments on benchmark log datasets demonstrate that AAR-log exhibits superior adversarial robustness. Its ensemble learning mechanism and adversarial training strategy effectively enhance resistance against evasion attacks, achieving higher TPR and F1 scores compared to baseline models. Notably, AAR-log also maintains strong generalization performance in non-adversarial environment. In the HDFS dataset, AAR-log improves TPR by 2.8%–9.5% and F1-score by 4.6%–14.3% over baseline models. In the BGL dataset, it achieves even greater gains, increasing TPR by 17.1%–26.7% and F1-score by 3.9%–28.4%. These results validate the effectiveness and robustness of AAR-log in log-based anomaly detection.</div></div>\",\"PeriodicalId\":50637,\"journal\":{\"name\":\"Computer Networks\",\"volume\":\"269 \",\"pages\":\"Article 111471\"},\"PeriodicalIF\":4.6000,\"publicationDate\":\"2025-06-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Networks\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S1389128625004384\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625004384","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
AAR-Log: A robust log anomaly detection method resisting adversarial attacks
In recent years, adversarial evasion attacks against log-based anomaly detection systems have been proven to pose severe threats. Existing detection models lack targeted defense mechanisms against such attacks, enabling malicious actors to conceal anomalous activities. This not only prevents timely detection of system failures or intrusions, but also significantly elevates security risks and potential losses. To address this challenge, this paper proposes AAR-log, a novel adversarial-resilient log anomaly detection framework. The key innovations of AAR-log include: (1) integrating various types of features including log components, log levels, and log templates to construct a more comprehensive representation of log sequences; (2) employing ensemble learning to enhance model diversity and mitigate the vulnerability of single-model approaches; and (3) incorporating adversarial training to constrain the adversarial sample space, thereby significantly improving the framework’s robustness under adversarial conditions. Extensive experiments on benchmark log datasets demonstrate that AAR-log exhibits superior adversarial robustness. Its ensemble learning mechanism and adversarial training strategy effectively enhance resistance against evasion attacks, achieving higher TPR and F1 scores compared to baseline models. Notably, AAR-log also maintains strong generalization performance in non-adversarial environment. In the HDFS dataset, AAR-log improves TPR by 2.8%–9.5% and F1-score by 4.6%–14.3% over baseline models. In the BGL dataset, it achieves even greater gains, increasing TPR by 17.1%–26.7% and F1-score by 3.9%–28.4%. These results validate the effectiveness and robustness of AAR-log in log-based anomaly detection.
期刊介绍:
Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.