Tracking Cybercrime, Crypto Theft and Digital Assets
Introduction: The Ledger That Never Lies and the People Behind the Addresses
Chapter 1: The Digital Crime Scene: Evidence in a Pseudonymous World
- The Paradox of the Public Ledger
- What Blockchain Forensics Is and Is Not
- A Hierarchy of Evidence: From Facts to Attribution
- The Investigator’s Mindset and Method
- A Tour of the Terrain
Chapter 2: Distributed Ledgers, Data Structures and Consensus
- Blocks, Chains and the Immutable Append-Only Log
- Merkle Trees and Cryptographic Integrity
- The UTXO Model and Transaction Structure
- Nodes, Mempools and Propagation
- Consensus Mechanisms and Finality
- Why Data Structure Matters to the Investigator
Chapter 3: Cryptographic Foundations for the Investigator
- Hash Functions: The Fingerprint of Data
- Digital Signatures and Public-Key Cryptography
- From Keys to Addresses: Derivation and Checksums
- Cryptographic Verification in Forensics
- Zero-Knowledge Proofs: A Preview
Chapter 4: Wallets, Keys, Accounts and the Pseudonymity Model
- Two Models of Ownership: UTXO Versus Accounts
- Wallet Architectures and Key Storage
- Hierarchical Deterministic Wallets and Seed Phrases
- Multi-Signature and Threshold Schemes
- The Pseudonymity Model and Its Limits
Chapter 5: Bitcoin: Anatomy of a Chain of Evidence
- Bitcoin Core and the Reference Node
- The Script System and Address Types
- Reading a Raw Bitcoin Transaction
- The RPC Interface for Investigators
- Bitcoin Data Sources and Explorers
Chapter 6: Ethereum and the Smart Contract Era
- The Ethereum Account Model and the EVM
- Transactions, Gas and Transaction Types
- Smart Contracts and the Opcodes
- Token Standards: ERC-20, ERC-721 and Beyond
- Ethereum Clients, RPC and Data Sources
Chapter 7: The Multichain Landscape: Solana and Beyond
- Solana: Accounts, Programs and Proof of History
- Other Major Networks and Their Forensic Signatures
- Comparing Forensic Characteristics Across Chains
- The Multichain Investigation Challenge
Chapter 8: The Lifecycle of a Cryptocurrency Transaction
- Creation and Signing
- Propagation and the Mempool
- Validation, Inclusion and Finality
- Timestamps, Confirmation Depth and Reorg Risk
- Reconstructing History from the Ledger
Chapter 9: Data Acquisition, Verification and Evidence Preservation
- Sources of Blockchain Data: Nodes, APIs and Archives
- Data Provenance and Reproducibility
- Chain of Custody for Blockchain Evidence
- Cryptographic Verification of Acquired Data
- Evidence Preservation Workflows
Chapter 10: Building the Investigator’s Toolkit
- Node Software and RPC Endpoints
- Libraries and Programming Interfaces
- Databases for Scale: SQL and Graph Stores
- Visualization and Reporting Tools
- Assembling a Complete Investigation Environment
Chapter 11: Transaction Graphs: Structure, Construction and Traversal
- Graph Theory Fundamentals for Forensics
- Two Kinds of Transaction Graphs
- Building a Transaction Graph from Ledger Data
- Traversal Algorithms for Fund Tracing
- Graph Metrics and Structural Analysis
Chapter 12: Address Clustering, Wallet Attribution and Entity Identification
- Heuristic One: Common Input Ownership
- Heuristic Two: Change Address Detection
- Probabilistic and Machine Learning Approaches
- From Clusters to Entities: Attribution and Corroboration
- Limits, False Positives and the Attribution Gap
Chapter 13: Fund Flow Reconstruction, Pattern Analysis and Behavioral Analytics
- Follow the Bits: The Core Methodology
- Behavioral and Temporal Analysis
- Transaction Pattern Recognition
- Anomaly Detection and Statistical Methods
- Documenting the Flow: Structured Findings
Chapter 14: Obfuscation Techniques: Mixers, Privacy Coins and Evasion
- Mixers and Tumblers: How They Work
- CoinJoin and Collaborative Privacy
- Privacy Coins: Monero, Zcash and Dash
- Investigating Obfuscated Flows
- When Obfuscation Fails: Breakthroughs and Limitations
Chapter 15: Theft, Ransomware and Phishing
- The Anatomy of a Cryptocurrency Theft
- Ransomware: From Encryption to Laundered Cash
- Phishing and Social Engineering
- Forensic Indicators of Theft Operations
- Case Study: WannaCry and the Lazarus Group
- Case Study: The Colonial Pipeline Payment Trail
Chapter 16: Exchange Hacks, Custodial Failures and Insider Threats
- Exchange Architecture and Its Weak Points
- Hot Wallet Attacks and Cold Wallet Breaches
- Insider Threats and Custodial Failures
- Case Study: The Rise and Fall of Mt. Gox
- Case Study: The Ronin Bridge Hack
- Investigating Custodial Compromises
Chapter 17: Fraud, Schemes and the Exploited Smart Contract
- Investment Fraud and Ponzi Schemes on the Ledger
- Honeypots, Rug Pulls and Fraudulent Tokens
- Smart Contract Vulnerabilities as Crime Vectors
- Case Study: The DAO and the First Hard Fork
- Case Study: Poly Network and the Recovered Exploit
- Case Study: The FTX Collapse and Off-Chain Fraud
Chapter 18: Money Laundering, Sanctions Evasion and Illicit Markets
- The Stages of Laundering in Cryptocurrency
- DeFi, Bridges and Modern Layering
- Sanctions Evasion and State-Sponsored Crime
- Darknet Markets: From Silk Road to the Present
- Case Study: The Silk Road Investigation
- The Regulatory Response: FATF, AML and the Travel Rule
Chapter 19: Bitcoin Forensics in Python: From RPC to Trace
- Setting Up the Bitcoin Data Environment
- Connecting to a Node and Retrieving Blocks
- Decoding Raw Transactions in Python
- Tracing Bitcoin Transfers: A Working Implementation
- Error Handling, Rate Limiting and Robustness
Chapter 20: Graph Analysis and Visualization in Practice
- Graph Databases for Blockchain Forensics
- Building the Transaction Graph
- Clustering in Code: Common-Input and Change-Address Clustering
- Visualizing the Fund Flow
- Detecting Anomalies in the Graph
Chapter 21: Ethereum, Tokens and Smart Contracts in Code
- Setting Up the Ethereum Data Environment
- Connecting to Ethereum Nodes and Public RPCs
- Analyzing Transfers, Events and Logs
- Token and DeFi Analysis in Python
- Inspecting Smart Contracts: Bytecode and Source
Chapter 22: Building a Reusable Forensic Investigation Pipeline
- Designing the Investigation Pipeline
- Data Ingestion and Storage
- Analysis Modules: Tracing, Clustering and Attribution
- Report Generation and Evidence Packaging
- Putting It All Together: A Complete Example
Chapter 23: The Future of Privacy: ZKPs, Account Abstraction and Beyond
- Zero-Knowledge Proofs and Their Implications
- Account Abstraction and the Changing Nature of Wallets
- Cross-Chain Interoperability and the Fragmentation of the Data
- Tokenization and the On-Chain Record of Real-World Assets
- Decentralized Identity and the Erosion of the Pseudonym
- The Evolving Privacy-Transparency Balance
Chapter 24: AI-Assisted Forensics and the Regulatory Horizon
- Machine Learning and Anomaly Detection
- Generative AI and the Forensic Workflow
- The Regulatory Horizon: FATF, MiCA and Beyond
- Preparing for the Next Decade of Blockchain Forensics