← Latest papers
💻 computer science

Lightweight Tamper-Evident Log Integrity Verification for IoT Edge Environments: A Merkle Tree Pipeline with Adaptive Chunking

This paper presents a lightweight, blockchain-free integrity verification pipeline for IoT edge environments that utilizes resource-aware adaptive chunking and Merkle trees to achieve high-throughput log processing, low-latency verification, and perfect tampering detection with minimal memory overhead.

Original authors: Muhammet Anil Yagiz, Fahrettin Horasan, Ahmet Hasim Yurttakal

Published 2026-05-04
📖 5 min read🧠 Deep dive

Original authors: Muhammet Anil Yagiz, Fahrettin Horasan, Ahmet Hasim Yurttakal

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a digital diary where your smart home devices (like your thermostat, security camera, or smart fridge) write down everything they do. This diary is crucial. If your house gets broken into, or if your fridge starts acting weird, you need to look at this diary to figure out what happened.

The big problem is: What if someone sneaks in and edits the diary? They could delete the entry saying "Front door opened at 3 AM" or add a fake entry saying "Fridge is fine." If the diary has been tampered with, it's useless as evidence.

This paper presents a clever, lightweight way to lock that diary so you can instantly tell if anyone has touched it, without needing a massive, expensive computer system or a complex network of servers.

Here is how the system works, explained through simple analogies:

1. The Problem with "Blockchain" Diaries

You might have heard of Blockchain as a way to keep records safe. Think of Blockchain like a giant, shared public ledger where every person in the neighborhood has a copy. If someone tries to change a number, everyone else has to agree it's wrong.

  • The Issue: For a tiny, battery-powered smart sensor, asking the whole neighborhood to agree on every single note is too slow, uses too much power, and requires a constant internet connection. It's like trying to hold a town hall meeting just to decide what you had for breakfast.

2. The Solution: The "Merkle Tree" (The Digital Sealed Envelope)

Instead of a town hall, this paper uses a Merkle Tree. Imagine a giant pyramid made of sealed envelopes.

  • The Bottom Layer: Every single log entry (e.g., "Fridge opened") is written on a piece of paper and put in a small envelope.
  • The Middle Layers: You take two envelopes, tape them together, and put them inside a new envelope. You write a unique "fingerprint" (a hash) on the outside of this new envelope based on what's inside.
  • The Top: You keep doing this until you have just one single envelope at the very top. This top envelope contains the "Master Fingerprint" of the entire history.

Why this is cool: If someone tries to change one single word in a log entry at the bottom, the fingerprint on that small envelope changes. That change ripples up the pyramid, changing the fingerprint of every envelope above it, all the way to the top. The Master Fingerprint at the top will no longer match the one you saved in a safe place.

3. The "Adaptive Chunking" (The Smart Packing Box)

The researchers realized that IoT devices have very little memory (RAM). If you try to build the whole pyramid at once, the box might be too heavy for the device to carry.

  • The Fix: They created a Smart Packing Box. Instead of trying to build the whole pyramid at once, the system looks at how much memory the device has right now.
    • If the device is busy and memory is tight, the box gets smaller, and it packs fewer logs at a time.
    • If the device is relaxed, the box gets bigger.
  • This ensures the system never crashes because it ran out of memory, even if the device is struggling.

4. The "Trusted Anchor" (The Safe Deposit Box)

To make sure the top of the pyramid (the Master Fingerprint) isn't faked, the system stores that single fingerprint in a Trusted Anchor.

  • Think of this as a Safe Deposit Box or a Hardware Security Module. It's a place that is very hard to break into.
  • The system doesn't need to check with a whole network of people. It just needs to check: "Does the fingerprint I calculated right now match the one locked in the Safe Deposit Box?"
  • If they match, the logs are clean. If they don't, someone tampered with the diary.

5. The "Audit" (Fixing the Mistakes)

The authors were very honest. They admitted that when they first built this, they made two big mistakes in their math:

  1. Double-Counting: They accidentally counted some "tampered" logs twice, making their system look like it was 100% perfect (even over 100% perfect, which is impossible).
  2. Redundant Work: They were rebuilding the whole pyramid from scratch every time they added a single log, which was incredibly slow.

They fixed these bugs. Once fixed, they tested it again.

The Results (The Proof)

After fixing the bugs, they ran the system on a standard computer to see how fast it was:

  • Speed: It can process over 130,000 logs per second. That's like reading a whole library of logs in a blink of an eye.
  • Memory: It uses less than 5 MB of memory. That's tiny—smaller than a single high-quality photo.
  • Accuracy: When they tried to tamper with the logs (changing 1% to 50% of the entries), the system caught 100% of the changes. It never missed a tampered log, and it never falsely accused a clean log.
  • Verification: Checking if a single log is real takes about 22 milliseconds (faster than a human blink).

Summary

This paper describes a lightweight, fast, and memory-efficient way to keep IoT device logs safe from tampering. It uses a "pyramid of fingerprints" (Merkle Tree) and a "smart packing box" (Adaptive Chunking) to ensure that even if a hacker tries to edit the records, the system will instantly know. It does this without needing a complex blockchain network, making it perfect for small, everyday smart devices.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →