Lune

NDSS2020Top-tier venue

Custos: Practical Tamper-Evident Auditing of Operating Systems Using Trusted Execution

Riccardo Paccagnella, Pubali Datta, Wajih Ul Hassan, Adam Bates, Christopher W. Fletcher, Andrew Miller, Dave Tian

Abstract

—System auditing is a central concern when investigating and responding to security incidents. Unfortunately, attackers regularly engage in anti-forensic activities after a break-in, covering their tracks from the system logs in order to frustrate the efforts of investigators. While a variety of tamper-evident logging solutions have appeared throughout the industry and the literature, these techniques do not meet the operational and scalability requirements of system-layer audit frameworks. In this work, we introduce C USTOS , a practical framework for the detection of tampering in system logs. C USTOS consists of a tamper-evident logging layer and a decentralized auditing protocol. The former enables the verification of log integrity with minimal changes to the underlying logging framework, while the latter enables near real-time detection of log integrity violations within an enterprise-class network. C USTOS is made practical by the observation that we can decouple the costs of cryptographic log commitments from the act of creating and storing log events, without trading off security, leveraging features of off-the-shelf trusted execution environments. Supporting over one million events per second, we show that C USTOS ’ tamper-evident logging protocol is three orders of magnitude (1000 × ) faster than prior solutions and incurs only between 2% and 7% runtime overhead over insecure logging on intensive workloads. Further, we show that C USTOS ’ auditing protocol can detect violations in near real-time even in the presence of a powerful distributed adversary and with minimal (3%) network overhead. Our case study on a real-world APT attack scenario demonstrates that C USTOS forces anti-forensic attackers into a “lose-lose” situation, where they can either be covert and not tamper with logs (which can be used for forensics), or erase logs but then

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

38 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SHADEWATCHER: Recommendation-guided Cyber Threat Analysis using System Audit Records cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • SHADEWATCHER: Recommendation-guided Cyber Threat Analysis using System Audit Records cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • SHADEWATCHER: Recommendation-guided Cyber Threat Analysis using System Audit Records cites Tactical Provenance Analysis for Endpoint Detection and Response Systems
  • SHADEWATCHER: Recommendation-guided Cyber Threat Analysis using System Audit Records cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Tactical Provenance Analysis for Endpoint Detection and Response Systems cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • Tactical Provenance Analysis for Endpoint Detection and Response Systems cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • Kairos: Practical Intrusion Detection and Investigation using Whole-system Provenance cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • Kairos: Practical Intrusion Detection and Investigation using Whole-system Provenance cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • Kairos: Practical Intrusion Detection and Investigation using Whole-system Provenance cites SHADEWATCHER: Recommendation-guided Cyber Threat Analysis using System Audit Records
  • Kairos: Practical Intrusion Detection and Investigation using Whole-system Provenance cites Tactical Provenance Analysis for Endpoint Detection and Response Systems
  • Kairos: Practical Intrusion Detection and Investigation using Whole-system Provenance cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Kairos: Practical Intrusion Detection and Investigation using Whole-system Provenance cites DEPCOMM: Graph Summarization on System Audit Logs for Attack Investigation
  • DEPCOMM: Graph Summarization on System Audit Logs for Attack Investigation cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • DEPCOMM: Graph Summarization on System Audit Logs for Attack Investigation cites Tactical Provenance Analysis for Endpoint Detection and Response Systems
  • Flash: A Comprehensive Approach to Intrusion Detection via Provenance Graph Representation Learning cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • Flash: A Comprehensive Approach to Intrusion Detection via Provenance Graph Representation Learning cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • Flash: A Comprehensive Approach to Intrusion Detection via Provenance Graph Representation Learning cites SHADEWATCHER: Recommendation-guided Cyber Threat Analysis using System Audit Records
  • Flash: A Comprehensive Approach to Intrusion Detection via Provenance Graph Representation Learning cites Tactical Provenance Analysis for Endpoint Detection and Response Systems
  • Flash: A Comprehensive Approach to Intrusion Detection via Provenance Graph Representation Learning cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Flash: A Comprehensive Approach to Intrusion Detection via Provenance Graph Representation Learning cites DEPCOMM: Graph Summarization on System Audit Logs for Attack Investigation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers38

  1. Tactical Provenance Analysis for Endpoint Detection and Response SystemsWajih Ul Hassan, Adam Bates, Daniel MarinoS&P 2020 · 317 citations
  2. SHADEWATCHER: Recommendation-guided Cyber Threat Analysis using System Audit RecordsJun Zeng, Xiang Wang, Jiahao Liu, Yinfang Chen et al.S&P 2022 · 187 citations
  3. Kairos: Practical Intrusion Detection and Investigation using Whole-system ProvenanceZijun Cheng, Qiujian Lv, Jinyuan Liang, Yan Wang et al.S&P 2024 · 125 citations
  4. Flash: A Comprehensive Approach to Intrusion Detection via Provenance Graph Representation LearningMati Ur Rehman, Hadi Ahmadi, Wajih Ul HassanS&P 2024 · 104 citations
  5. DEPCOMM: Graph Summarization on System Audit Logs for Attack InvestigationZhiqiang Xu, Pengcheng Fang, Changlin Liu, Xusheng Xiao et al.S&P 2022 · 88 citations

Builds on24

  1. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 citations
  2. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 citations
  3. Oblivious Multi-Party Machine Learning on Trusted ProcessorsOlga Ohrimenko, Felix Schuster, Cédric Fournet, Aastha Mehta et al.USENIX Security 2016 · 594 citations
  4. HOLMES: Real-Time APT Detection through Correlation of Suspicious Information FlowsSadegh Momeni Milajerdi, Rigel Gjomemo, Birhanu Eshete, R. Sekar et al.S&P 2019 · 550 citations
  5. NoDoze: Combatting Threat Alert Fatigue with Automated Provenance TriageWajih Ul Hassan, Shengjian Guo, Ding Li, Zhengzhang Chen et al.NDSS 2019 · 411 citations

Related papers

  1. Logging to the Danger Zone: Race Condition Attacks and Defenses on System Audit FrameworksRiccardo Paccagnella, Kevin Liao, Dave Tian, Adam BatesCCS 2020 · 43 citations
  2. Sealing the Window: Efficient Tamper Protection for Provenance LogsSagar Mishra, R. SekarS&P 2026
  3. Rethinking Tamper-Evident Logging: A High-Performance, Co-Designed Auditing SystemRui Zhao, Muhammad Shoaib, Viet Tung Hoang, Wajih Ul HassanCCS 2025 · 1 citation
  4. Rethinking System Audit Architectures for High Event Coverage and Synchronous Log AvailabilityVarun Gandhi, Sarbartha Banerjee, Aniket Agrawal, Adil Ahmad et al.USENIX Security 2023
  5. eAudit: A Fast, Scalable and Deployable Audit Data Collection SystemR. Sekar, Hanke Kimm, Rohit AichS&P 2024 · 31 citations
Dusk over the sea between two cliffs drawn in fine vertical lines