← Lab /Security & privacy

Proteus enables forensic analysis of device logs while keeping PII hidden

Proteus allows analysis of device logs without revealing plaintext PII and preserves fidelity against multi-snapshot attacks

Security & privacy arXiv 6 Mar 2026 Method Prototype evidence

Published as “Proteus: A Practical Framework for Privacy-Preserving Device Logs”

Why it matters

The low latency and modest storage cost make Proteus viable for deployment in production mobile logging pipelines where privacy regulations are a concern.

Summary

Proteus prevents plaintext PII from ever leaving a mobile device while keeping forensic utility, achieving a median latency of 0.2 ms per log message and only a 2.41% storage overhead on a 30.3 M-entry dataset. It uses keyed-hash pseudonymization combined with daily-rotating encryption derived from a hardware-rooted ratchet and DICE attestation, and supports time-bounded decryption via controlled sharing. The paper provides a formal security analysis showing confidentiality and forward secrecy, and an implementation on three Android generations demonstrates practical performance. However, the design’s daily key rotation creates a one-day exposure window and metadata remains visible.

What they found 2

  1. Proteus adds only 2.41% storage overhead compared to plaintext logging.

    “resulting in a 2.41% increase in size.”

  2. Per-message latency is a median of 0.2 ms, with an average per-PII-field size overhead of 97.1 bytes.

    “Our results demonstrate a median latency of 0.2 ms per message and an average per-PII-field size overhead of only 97.1 bytes.”

Caveats 5

  • The daily rotation of the inner ratchet means a compromise on a given day exposes all logs from that day.
  • Metadata such as timestamps and message sizes remain observable, providing potential behavioral leakage.
  • if an adversary compromises Khash (which remains on-device for the lifetime of the CDI), they can compute HMAC(Khash, ·) for candidate PII values and link tokens to plaintext through offline dictionary attacks.
  • Proteus’s coarser rotation granularity (daily for inner ratchet, per-grant for outer ratchet) creates longer exposure windows than Signal’s per-message rotation. A compromise at day t exposes all logs encrypted with Kt on that day.
  • metadata leakage, including timestamps, log categories, message sizes, and ciphertext lengths, remains observable to all parties and can reveal behavioral patterns.

What’s new here 4

  • In-situ privacy protection for mobile logs, preventing plaintext PII exposure at the point of emission.
  • Two-layer cryptographic scheme: keyed-hash pseudonymization plus time-rotating encryption with hierarchical ratcheting.
  • Controlled sharing protocol that grants time-bounded decryption of pseudonymized tokens without revealing raw PII.
  • Integration of DICE hardware attestation to bind logs to device provenance.