Lune

ICSE2026顶会

MINES: Explainable Anomaly Detection through Web API Invariant Inference

Wenjie Zhang, Yun Lin, Chun Fung Amos Kwok, Xiwen Teoh, Xiaofei Xie, Frank Liauw, Hongyu Zhang, Jin Song Dong

摘要

Detecting the anomalies of web applications, important infrastructures for running modern companies and governments, is crucial for providing reliable web services. Many modern web applications operate on web APIs (e.g., RESTful, SOAP, and WebSockets), their exposure invites intended attacks or unintended illegal visits, causing abnormal system behaviors. However, such anomalies can share very similar logs with normal logs, missing crucial information (which could be in database) for log discrimination. Further, log instances can be also noisy, which can further mislead the state-of-the-art log learning solutions to learn spurious correlation, resulting superficial models and rules for anomaly detection. In this work, we propose MINES which infers explainable API invariants for anomaly detection from the schema level instead of detailed raw log instances, which can (1) significantly discriminate noise in logs to identify precise normalities and (2) detect abnormal behaviors beyond the instrumented logs. Technically, MINES (1) converts API signatures into table schema to enhance the original database shema; and (2) infers the potential database constraints on the enhanced database schema to capture the potential relationships between APIs and database tables. MINES uses LLM for extracting potential relationship based on two given table structures; and use normal log instances to reject and accept LLM-generated invariants. Finally, MINES translates the inferred constraints into invariants to generate Python code for verifying the runtime logs. We extensively evaluate MINES on web-tamper attacks on the benchmarks of TrainTicket, NiceFish, Gitea, Mastodon, and NextCloud against baselines such as LogRobust, LogFormer, and WebNorm. The results show that MINES achieves high recall for the anomalies while introducing almost zero false positives, indicating a new state-of-the-art.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Semi-supervised Log-based Anomaly Detection via Probabilistic Label Estimation 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Log-based Anomaly Detection Without Log Parsing 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep Learning 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep Learning 引用了 Identifying bad software changes via multimodal anomaly detection for online service systems
  • Identifying bad software changes via multimodal anomaly detection for online service systems 引用了 Semi-supervised Log-based Anomaly Detection via Probabilistic Label Estimation
  • Identifying bad software changes via multimodal anomaly detection for online service systems 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper15

  1. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 次引用
  2. Log-based Anomaly Detection Without Log ParsingVan-Hoang Le, Hongyu ZhangASE 2021 · 249 次引用
  3. Semi-supervised Log-based Anomaly Detection via Probabilistic Label EstimationLin Yang, Junjie Chen, Zan Wang, Weijing Wang 等ICSE 2021 · 216 次引用
  4. DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep LearningChenxi Zhang, Xin Peng, Chaofeng Sha, Ke Zhang 等ICSE 2022 · 163 次引用
  5. Identifying bad software changes via multimodal anomaly detection for online service systemsNengwen Zhao, Junjie Chen, Zhaoyang Yu, Honglin Wang 等FSE 2021 · 89 次引用

相关 Paper

  1. Detecting and Explaining Anomalies Caused by Web Tamper Attacks via Building Consistency-based NormalityYifan Liao, Ming Xu, Yun Lin, Xiwen Teoh 等ASE 2024 · 1 次引用
  2. Knowledge-Augmented Log Anomaly Detection with Large Language ModelsYongliang Tao, Hongyu Zhang, Van-Hoang Le, Yi XiaoICSE 2026
  3. Semantic Curriculum for Anomaly Detection: A Unified Language-Driven Meta-Optimization FrameworkKai Tan, Yangliu Du, Dongyang Zhan, Haining Yu 等INFOCOM 2026
  4. A Systematic Framework to Generate Invariants for Anomaly Detection in Industrial Control SystemsCheng Feng, Venkata Reddy Palleti, Aditya Mathur, Deeph ChanaNDSS 2019 · 135 次引用
  5. Robust and Transferable Log-based Anomaly DetectionPeng Jia, Shaofeng Cai, Beng Chin Ooi, Pinghui Wang 等SIGMOD 2023 · 26 次引用
黄昏的海面,两侧是细线勾勒的悬崖