Blockchain forensics

How a Blockchain Forensic Investigation Works

A blockchain investigation turns public transaction data into documented findings. Its value depends not on the number of addresses collected, but on reproducible evidence, explicit assumptions, and clear limits on what the data can prove.

By RStorm LabsPublished 4 min read

1. Define the question before tracing

An investigation begins with a bounded question, not with a graph of every connected address. The question may concern the destination of particular funds, the sequence of an exploit, or whether two transactions share a common operational source. Each question requires different evidence and produces different limits.

The scope should identify the relevant networks, assets, transaction hashes, addresses, and time period. It should also state the intended use of the findings. An internal incident review and a report prepared for legal review can use the same underlying data but require different levels of documentation and independent verification.

  • Record the exact question and any competing explanations that need testing.
  • Separate known facts supplied by the client from observations still needing verification.
  • Define what would count as a conclusive, qualified, or inconclusive result.

2. Preserve the source evidence

Public-chain data can be retrieved again, but the interpretation of that data still needs a preserved trail. A useful evidence record includes the network and chain ID, transaction hash, block number, block timestamp in UTC, transaction index, relevant log indexes, and the method used to retrieve the data. Explorer links are convenient references, not a substitute for the underlying transaction and receipt data.

When token prices, contract metadata, address labels, or off-chain records affect the analysis, their source and retrieval time should also be recorded. Prices and labels can change even when historical transaction data remains available. Hashing exported evidence files helps demonstrate that the analyzed artifacts were not altered after collection.

3. Reconstruct events and trace material flows

Tracing normally starts with the transaction receipt and event logs, then follows the specific asset or claim through swaps, internal calls, wrappers, bridges, and transfers. Native-value movements are not always represented by token Transfer events, and a token event alone may not explain the economic purpose of a transaction. Contract context is therefore necessary.

Consider a hypothetical case in which stolen tokens are swapped, bridged, and deposited into another protocol. The investigator should preserve the swap inputs and outputs, the bridge message or deposit identifier, and the corresponding destination-chain event. Simply drawing an edge between the first and last wallets would omit the evidence needed to explain how those events are connected.

  • Distinguish direct transfers, contract-mediated movements, swaps, and changes in token representation.
  • Account for fees, partial fills, burned or minted tokens, and remaining balances.
  • Keep unrelated transactions separate from the material flow being tested.

4. Test attribution rather than assuming it

Address clustering can generate hypotheses about common control, but clustering rules have false positives. Shared transaction fees, repeated interaction patterns, or use of the same service do not automatically establish common ownership. Some patterns are expected when many users interact with a router, exchange, relayer, or custody platform.

A sound report distinguishes direct observations from inference. It should identify the evidence supporting a label, consider realistic alternative explanations, and state confidence in plain language. Off-chain records or a verified disclosure may strengthen attribution, but an unverified explorer tag should not be presented as proof of identity.

5. Report findings with limitations

The final report should allow a reviewer to move from each conclusion back to the source transactions and analytical steps. It normally includes a chronology, a flow analysis, methodology, supporting exhibits, assumptions, unresolved questions, and limitations. Visual graphs are useful when they clarify the evidence, but the underlying table of transactions remains essential.

An inconclusive result can still be useful when the report explains what was tested and why the available evidence cannot distinguish between explanations. Precision about uncertainty is more informative than a confident conclusion that cannot be reproduced.

For the evidence record behind each conclusion, see What Makes an On-Chain Forensic Report Reproducible.

Primary documentation and further reading

These sources describe the underlying protocols and tools. They are provided for technical verification and further study.