Lune

USENIX ATC2020顶会

PracExtractor: Extracting Configuration Good Practices from Manuals to Detect Server Misconfigurations

Chengcheng Xiang, Haochen Huang, Andrew Yoo, Yuanyuan Zhou, Shankar Pasupathy

摘要

Configuration has become ever so complex and error-prone in today's server software. To mitigate this problem, software vendors provide user manuals to guide system admins on configuring their systems. Usually, manuals describe not only the meaning of configuration parameters but also good practice recommendations on how to configure certain parameters. Unfortunately, manuals usually also have a large number of pages, which are time-consuming for humans to read and understand. Therefore, system admins often do not refer to manuals but rely on their own guesswork or unreliable sources when setting up systems, which can lead to configuration errors and system failures.

To understand the characteristics of configuration recommendations in user manuals, this paper first collected and studied 261 recommendations from the manuals of six large open-source systems. Our study shows that 60% of the studied recommendations describe specific and checkable specifications instead of merely general guidance. Moreover, almost all (97%) of such specifications have not been checked in the systems' source code, and 61% of them are not equivalent to the default settings. This implies that additional checking is needed to ensure the recommendations are correctly applied.

Based on our characteristic study, we build a tool called PracExtractor, which employs Natural Language Processing (NLP) techniques to automatically extract configuration recommendations from software manuals, converts them into specifications, and then uses the generated specifications to detect violations in system admins' configuration settings. We evaluate PracExtractor with twelve widely-deployed software systems, including one large commercial system from a public company. In total, PracExtractor automatically extracts 338 recommendations and generates 173 specifications with reasonable accuracy. With these generated specifications, PracExtractor detects 1423 good practice violations from open-source docker images. To this day, we have reported 325 violations and have got 47 of them confirmed as real configuration issues by admins from different organizations.

问 Lune

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

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

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • An Evolutionary Study of Configuration Design and Implementation in Cloud Systems 引用了 Understanding and discovering software configuration dependencies in cloud and datacenter systems
  • An Evolutionary Study of Configuration Design and Implementation in Cloud Systems 引用了 Towards Continuous Access Control Validation and Forensics
  • Static detection of silent misconfigurations with deep interaction analysis 引用了 Test-case prioritization for configuration testing
  • Static detection of silent misconfigurations with deep interaction analysis 引用了 Understanding and discovering software configuration dependencies in cloud and datacenter systems
  • Static detection of silent misconfigurations with deep interaction analysis 引用了 Towards Continuous Access Control Validation and Forensics
  • Test-case prioritization for configuration testing 引用了 An Evolutionary Study of Configuration Design and Implementation in Cloud Systems
  • Test-case prioritization for configuration testing 引用了 Understanding and discovering software configuration dependencies in cloud and datacenter systems
  • Test-case prioritization for configuration testing 引用了 Towards Continuous Access Control Validation and Forensics
  • Understanding and discovering software configuration dependencies in cloud and datacenter systems 引用了 Towards Continuous Access Control Validation and Forensics
  • Multi-Intention-Aware Configuration Selection for Performance Tuning 引用了 An Evolutionary Study of Configuration Design and Implementation in Cloud Systems
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Understanding and discovering software configuration dependencies in cloud and datacenter systemsQingrong Chen, Teng Wang, Owolabi Legunsen, Shanshan Li 等FSE 2020 · 54 次引用
  2. Test-case prioritization for configuration testingRunxiang Cheng, Lingming Zhang, Darko Marinov, Tianyin XuISSTA 2021 · 34 次引用
  3. Static detection of silent misconfigurations with deep interaction analysisJialu Zhang, Ruzica Piskac, Ennan Zhai, Tianyin XuOOPSLA 2021 · 30 次引用
  4. An Evolutionary Study of Configuration Design and Implementation in Cloud SystemsYuanliang Zhang, Haochen He, Owolabi Legunsen, Shanshan Li 等ICSE 2021 · 19 次引用
  5. Multi-Intention-Aware Configuration Selection for Performance TuningHaochen He, Zhouyang Jia, Shanshan Li, Yue Yu 等ICSE 2022 · 11 次引用

它引用的 Paper1

  1. Towards Continuous Access Control Validation and ForensicsChengcheng Xiang, Yudong Wu, Bingyu Shen, Mingyao Shen 等CCS 2019 · 48 次引用

相关 Paper

  1. Automated Implementation of Windows-related Security-Configuration GuidesPatrick Stöckle, Bernd Grobauer, Alexander PretschnerASE 2020 · 8 次引用
  2. On Prescription or Off Prescription? An Empirical Study of Community-Prescribed Security Configurations for KubernetesShazibul Islam Shamim, Hanyang Hu, Akond RahmanICSE 2025 · 4 次引用
  3. Configuration smells in continuous delivery pipelines: a linter and a six-month study on GitLabCarmine Vassallo, Sebastian Proksch, Anna Jancso, Harald C. Gall 等FSE 2020 · 43 次引用
  4. Learning Patterns in ConfigurationRanjita Bhagwan, Sonu Mehta, Arjun Radhakrishna, Sahil GargASE 2021 · 11 次引用
  5. DiagConfig: Configuration Diagnosis of Performance Violations in Configurable Software SystemsZhiming Chen, Pengfei Chen, Peipei Wang, Guangba Yu 等FSE 2023 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖