Study guide
2.4 Blockchain Transactions, Cryptocurrency Tracing & Digital Asset Investigations
Computer Hacking Forensic Investigator CHFI 312-49
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Foundations of Digital Forensics & Cybercrime Investigation
1.1 Cybercrime Classifications, Forensic Science Principles & Legal Admissibility 1.2 RFC 3227 Order of Volatility, Live vs. Dead Acquisition & Forensic Readiness 1.3 Indicators of Compromise (IoCs), Cyber Attribution & Threat Intelligence 1.4 AI-Assisted Forensics, GitOps, Automation/Orchestration & Forensics-as-a-Service (FaaS)
2 Chapter 2: Modern Forensic Environments & Emerging Threats
2.1 Fileless Malware, In-Memory Execution & Living-off-the-Land (LotL) 2.2 IoT & Operational Technology (OT/SCADA) Forensic Fundamentals 2.3 Dark Web, Tor Network, Onion Routing & Hidden Services Forensics 2.4 Blockchain Transactions, Cryptocurrency Tracing & Digital Asset Investigations
3 Chapter 3: Legal Frameworks, Search Warrants & Evidence Rules
3.1 Federal Rules of Evidence (FRE 702, 901, 902, 1001-1003) & Daubert/Frye Standards 3.2 Fourth Amendment, Warrant Exceptions, Workplace Search & Consent Protocols 3.3 International Standards: ISO/IEC 27037, ACPO Principles & ENFSI Guidelines 3.4 Cybercrime Statutes, Privacy Compliance, CAN-SPAM & International Cooperation
4 Chapter 4: eDiscovery, Chain of Custody & Professional Ethics
4.1 Electronic Discovery Reference Model (EDRM) & Legal Spoliation Holds 4.2 Chain of Custody Documentation, Evidence Packaging & Tamper-Evident Handling 4.3 Expert Witness Testimony, Report Writing Standards & EC-Council Code of Ethics
5 Chapter 5: Storage Architecture, Boot Sequences & Media Forensics
5.1 Storage Media Architecture: Sectors, Clusters, RAM/File Slack & Unallocated Space 5.2 Partition Tables & Boot Structures: MBR, GPT, VBR, BIOS vs. UEFI Secure Boot 5.3 RAID Reconstruction (RAID 0, 1, 5, 6, 10) & SSD Forensic Challenges (TRIM, Wear Leveling)
6 Chapter 6: Windows File Systems: NTFS & FAT
6.1 NTFS Architecture: Master File Table ($MFT) Record Structure & Attribute Headers 6.2 NTFS Artifacts: Alternate Data Streams (ADS), Volume Shadow Copies (VSS) & $LogFile 6.3 FAT12/16/32 and exFAT Architecture, Directory Entries & File Deletion Mechanics
7 Chapter 7: Non-Windows File Systems & File Signatures
7.1 Linux File Systems: ext2/ext3/ext4 Inode Architecture, Superblocks & Journaling Forensics 7.2 macOS File Systems: HFS+ and Apple File System (APFS) Architecture & Snapshots 7.3 File Signatures, Magic Bytes, Hex Headers/Footers & File Carving Techniques
8 Chapter 8: Investigation Lifecycle, Lab Setup & First Response
8.1 Forensic Laboratory Accreditation: ISO/IEC 17025 Standards & Hardware/Software Controls 8.2 First Responder Duties: Crime Scene Containment, Electronic Triage & Volatile Triage 8.3 Physical Evidence Packaging, Anti-Static/Faraday Protection & Transport Security
9 Chapter 9: Forensic Acquisition & Verification Methodology
9.1 Hardware and Software Write-Blockers: Operational Validation & Bridge Verification 9.2 Bit-Stream Disk Imaging, Physical vs. Logical vs. Targeted Acquisition Methodology 9.3 Forensic Image Formats (RAW/DD, E01, AFF) & Cryptographic Hashing Verification (MD5, SHA-256)
10 Chapter 10: Anti-Forensics Techniques & Countermeasures
10.1 Steganography Detection: Spatial/Frequency Domain Steganalysis & Hidden Carrier Extraction 10.2 Timestomping Countermeasures: Comparing $STANDARD_INFORMATION vs $FILE_NAME Timestamps 10.3 Secure Wiping, Degaussing, File Shredding Countermeasures & Residual Artifact Recovery
11 Chapter 11: Windows Operating System Forensics
11.1 Windows Registry Forensics: SYSTEM, SOFTWARE, SAM & NTUSER.DAT Hive Analysis 11.2 Execution Artifacts: Prefetch (.pf), Shimcache (AppCompatCache), Amcache.hve & UserAssist 11.3 User Activity Artifacts: ShellBags, LNK Shortcut Files, Jump Lists & Recycle Bin ($I/$R) 11.4 Windows Event Log Forensics: Security Audit IDs (4624, 4625, 4688, 4720, 7045) & EVTX Parsing
12 Chapter 12: Memory Forensics & Malware Analysis
12.1 Volatile Memory Acquisition: RAM Capture, Crash Dumps, Hiberfil.sys & Pagefile.sys 12.2 Memory Analysis with Volatility 3: pslist, pstree, malfind, netscan & Vadinfo 12.3 Static Malware Triage: Strings, PE Headers, Import Tables, Hashes & YARA Rule Matching 12.4 Dynamic Malware Analysis: Sandboxing, Process Monitor (Procmon), Regshot & Network Callouts 12.5 .NET Managed Malware Analysis & the GOOTLOADER Fileless Infection Chain
13 Chapter 13: Network, Web Application & Email Forensics
13.1 Network Forensics: PCAP Analysis, Protocol Dissection, Snort/Suricata & Flow Analysis 13.2 Web Server Forensics: Apache/IIS Access Logs, SQL Injection, XSS & Web Shell Detection 13.3 Email Forensics: RFC 5322 Headers, Authentication (SPF, DKIM, DMARC) & Mbox/PST Extraction 13.4 SIEM Event Correlation, Cross-Source Timeline Analysis & Super-Timeline Construction 13.5 Investigating Directory Traversal, Command Injection, Parameter Tampering, XXE, Cookie Poisoning & Brute Force 13.6 Network Device & Service Log Forensics: Firewall, IDS, Honeypot, Router, DHCP, Switch, VPN, DNS & SSH 13.7 Wireless Network Forensics: Rogue APs, Evil Twins, MAC Spoofing, Deauthentication & Jamming
14 Chapter 14: Mobile, Cloud & IoT Forensics
14.1 Mobile Device Forensics: Manual, Logical, File System & Physical Extraction (Android/iOS) 14.2 Mobile Artifact Analysis: Call Logs, SMS/Chat SQLite Databases, Location Data & Plists 14.3 Cloud Forensics: AWS CloudTrail, Azure Activity Logs & Multi-Tenant Evidence Collection 14.4 IoT Forensics: UART/JTAG Physical Interfaces, Firmware Extraction & Sensor Telemetry
15 Chapter 15: Commercial & Open-Source Forensic Suites
15.1 Commercial Forensic Platforms: EnCase Forensic, FTK (Forensic Toolkit) & FTK Imager 15.2 Open-Source Forensic Platforms: Autopsy, The Sleuth Kit (TSK) & SIFT/CAINE Workstations 15.3 Specialized DFIR Utilities: Eric Zimmerman Tools (EZ Tools) & Sysinternals Forensic Suite
16 Chapter 16: Analysis Toolkits, Python Scripting & Tool Validation
16.1 Reverse Engineering & Password Cracking: Ghidra, IDA Pro, Hashcat & John the Ripper 16.2 Python for Digital Forensics: Parsing Raw Artifacts, Custom Scapy Scripts & Evidence Automation 16.3 Forensic Tool Testing & Validation: NIST CFTT Methodology, ISO/IEC 17025 Standards & Daubert Compliance
17 Chapter 17: Database Forensics & Web Application Firewalls
17.1 MySQL Forensics: Internal Architecture, Data Directory, Information Schema & Utility Programs 17.2 SQL Server Forensics: SSMS, ApexSQL, SQLCMD Transaction-Log Collection, Plan Cache & Trace Files 17.3 Web Application Firewall (WAF) Architecture, Audit Logs, Benefits & Limitations
18 Chapter 18: Social, Virtualized, Multimedia & Browser Investigations
18.1 Social Media, Social Engineering, Insider Threat & Identity Theft Forensics 18.2 Virtualization, Container & Microservices Forensics, Bluetooth and Electron Chat Applications 18.3 Multimedia Forensics: Image, Audio & Video Authentication, EXIF, PRNU and Deepfake Detection 18.4 Browser Artifact Recovery, Private Browsing, USB Enumeration, Partition Recovery & Packer Unpacking Tools
2.4 Blockchain Transactions, Cryptocurrency Tracing & Digital Asset Investigations
Key Takeaways Explain This Topic AI
Cryptocurrencies operate primarily on either the Unspent Transaction Output (UTXO) model (e.g., Bitcoin) or the Account/Balance model (e.g., Ethereum).
The Common Input Ownership Heuristic assumes that all input addresses consumed within a single multi-input UTXO transaction are controlled by the same wallet entity.
Privacy-enhancing technologies include centralized tumblers, CoinJoin protocols (Wasabi, Whirlpool), smart contract mixers (Tornado Cash), and privacy coins utilizing Ring Signatures, Stealth Addresses, and Bulletproofs (Monero).
Forensic recovery of digital assets targets local wallet files (wallet.dat), Hierarchical Deterministic (HD) BIP 39 seed phrases, and browser extension vaults (MetaMask LevelDB) cracked via Hashcat mode 26600.
Blockchain tracing combines heuristic clustering, peeling chain analysis, entity attribution, and exchange subpoenas under 18 U.S.C. § 2703(d) to de-anonymize illicit fund flows.
Last updated: September 2026
2.4 Blockchain Transactions, Cryptocurrency Tracing & Digital Asset Investigations
Cryptocurrencies and decentralized ledgers have emerged as the primary payment rail for ransomware extortions, dark web marketplaces, money laundering syndicates, and sanctions evasion. While threat actors often assume that blockchain assets provide absolute anonymity, the fundamental architecture of public distributed ledgers is pseudonymous and immutable . Every transaction is permanently recorded across thousands of distributed nodes.
For the forensic investigator, tracing digital assets requires understanding the mathematical mechanics of distributed consensus, differentiating between transaction ledger architectures, detecting mixing and anonymization attempts, extracting cryptographic artifacts from suspect host endpoints, and applying clustering heuristics to follow illicit funds to centralized Virtual Asset Service Providers (VASPs).
Distributed Ledger Mechanics & Block Architecture
A blockchain is an append-only, distributed ledger composed of sequentially linked cryptographic blocks. Each block consists of two primary structures: the Block Header and the Transaction List . +--------------------------------------------------------------------------------+
- | BITCOIN BLOCK HEADER STRUCTURE |
- +-------------------+------------+-----------------------------------------------+
- | Field | Size | Forensic Significance |
- +-------------------+------------+-----------------------------------------------+
- | Version | 4 Bytes | Block format rules and protocol updates |
- | Previous Block | 32 Bytes | SHA-256 hash of parent block; links the chain |
- | Merkle Root | 32 Bytes | Cryptographic hash tree of all transactions |
- | Timestamp | 4 Bytes | Unix epoch time; verifies sequence integrity |
- | Target (nBits) | 4 Bytes | Encoded proof-of-work difficulty threshold |
- | Nonce | 4 Bytes | 32-bit counter altered to solve block hash |
- +-------------------+------------+-----------------------------------------------+
- The Merkle Tree
Transactions within a block are organized into a binary cryptographic hash tree ( Merkle Tree ). Each transaction ID ( T x 1 , T x 2 Tx_1, Tx_2 T x 1 , T x 2 ) is hashed: H A = SHA256 ( SHA256 ( T x 1 ) ) H_A = \text{SHA256}(\text{SHA256}(Tx_1)) H A = SHA256 ( SHA256 ( T x 1 )) . Adjacent hashes are concatenated and hashed pairwise until a single 32-byte hash remains: the Merkle Root . If a single bit in any transaction is modified, the Merkle Root changes, invalidating the block header hash and breaking the cryptographic chain.
Transaction Ledger Models: UTXO vs. Account/Balance
Cryptocurrencies handle value transfer using two fundamentally distinct architectural models: +--------------------------------------------------------------------------------+
- | UTXO MODEL (Bitcoin) vs. ACCOUNT MODEL (Ethereum) |
- +--------------------------------------------------------------------------------+
- | UTXO Model (Bitcoin, Litecoin, Dogecoin) |
- | - No global account balance; state consists of unspent transaction outputs. |
- | - Analogous to physical currency bills: outputs must be spent in full. |
- | - Sends change back to newly generated change addresses. |
- +--------------------------------------------------------------------------------+
- | Account / Balance Model (Ethereum, Solana, Avalanche) |
- | - Global state database tracks account balances and contract storage. |
- | - Analogous to traditional bank accounts: debits sender, credits receiver. |
- | - Tracks sequential account 'nonce' to prevent transaction replay attacks. |
- +--------------------------------------------------------------------------------+
- Attribute UTXO Model (e.g., Bitcoin) Account / Balance Model (e.g., Ethereum)
- Fundamental Unit Unspent Transaction Output (UTXO) Account state (Balance + Nonce)
Balance Calculation Sum of all unspent outputs controlled by user keys Direct state lookup of the account address
Spending Mechanism Consumes old UTXOs as inputs; generates new UTXOs Decrements sender balance; increments receiver balance
Change Handling Requires explicit change address output Not applicable (exact amounts transferred)
Address Reuse Strongly discouraged (HD wallets generate fresh addresses) Standard practice (single address reused for all txs)
Transaction Scripting Non-Turing complete stack language (Bitcoin Script) Turing-complete bytecode (Ethereum Virtual Machine / EVM)
Change Address Mechanics & Peeling Chains
In the UTXO model, outputs are indivisible. If an address controls a 5.0 BTC UTXO and wishes to transfer 1.2 BTC to a vendor, the transaction must consume the entire 5.0 BTC input. It produces two outputs:
Payment Output : 1.2 BTC sent to the vendor address.
Change Output : 3.799 BTC sent back to a newly generated change address owned by the sender's wallet.
Miner Fee : The remaining difference (0.001 BTC) is claimed by the mining pool.
When money launderers move funds through an automated series of payments, this behavior forms a Peeling Chain . At each hop, a small payment is "peeled" off (e.g., to a prepaid debit card, exchange, or mixer), while the bulk of the funds is routed to a fresh internal change address, continuing through dozens of iterations.
Bitcoin Script & Address Architecture
Bitcoin addresses represent cryptographic locking scripts defined in the Forth-like, stack-based language Bitcoin Script :
P2PKH (Pay-to-Public-Key-Hash) : Legacy format. Addresses begin with 1 (e.g., 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa ). Locking script requires proving ownership of the public key whose SHA-256 and RIPEMD-160 hash matches the address.
P2SH (Pay-to-Script-Hash) : Standardized under BIP 16. Addresses begin with 3 . Used for Multi-Signature (Multisig) wallets. Funds are locked to a script hash; the spender must reveal the redeem script and corresponding signatures upon spending.
P2WPKH / P2WSH (Native Segregated Witness / SegWit) : Standardized under BIP 141. Addresses begin with bc1q (Bech32 encoding). Moves cryptographic signature data (witness) out of the base serialization block into a separate structure, resolving transaction malleability and reducing fees.
P2TR (Taproot) : Standardized under BIP 341/342. Addresses begin with bc1p (Bech32m encoding). Utilizes Schnorr Signatures and Merkelized Alternative Script Trees (MAST). Makes complex multi-signature smart contracts appear indistinguishable from standard single-signature transactions on the public ledger.
Anonymization Techniques: Mixers, Tumblers & Privacy Coins
To break the public transaction link between illicit origins and fiat off-ramps, criminals employ several obfuscation methodologies: +-----------------------------------------------------------------------------+
- | MIXING & PRIVACY MECHANISMS |
- +-----------------------------------------------------------------------------+
- | 1. Centralized Tumblers (Custodial) |
- | - User deposits dirty funds -> Service pools funds -> Sends clean coins to |
- | new address minus fee. (Vulnerable to server seizure and internal logs) |
- +-----------------------------------------------------------------------------+
- | 2. CoinJoin (Decentralized UTXO Mixing - Wasabi / Samourai) |
- | - Multiple users combine inputs into a single multi-party transaction with |
- | identical output denominations, breaking common input ownership rules. |
- +-----------------------------------------------------------------------------+
- | 3. Smart Contract Mixers (Tornado Cash on Ethereum) |
- | - Users deposit fixed tokens into smart contract, receiving a secret note. |
- | - Funds are withdrawn to a clean address using zk-SNARK zero-knowledge |
- | proofs, cryptographically breaking the deposit-withdrawal link. |
- +-----------------------------------------------------------------------------+
- | 4. Privacy Coins (Monero / Zcash) |
- | - Monero (XMR): Default privacy via Ring Signatures (sender), Stealth |
- | Addresses (receiver), and RingCT / Bulletproofs (transaction amounts). |
- | - Zcash (ZEC): Optional privacy via shielded pools (z-addresses) via SNARKs.|
- +-----------------------------------------------------------------------------+
- The Monero (CryptoNote) Privacy Triad
Monero (XMR) represents the most common privacy coin encountered in cybercrime investigations due to its mandatory, un-switchable privacy architecture:
Ring Signatures (Obfuscating the Sender) : When a transaction is spent, the true output is mixed with N − 1 N-1 N − 1 decoy outputs past-mined from the blockchain (current ring size is 16). Cryptographic math proves that one member of the ring authorized the transaction, without revealing which one. Monero generates a unique Key Image for each spent output to prevent double-spending without revealing the underlying coin.
Stealth Addresses (Obfuscating the Recipient) : Every transaction generates a unique, one-time destination address ( P P P ) derived from the recipient's public view key ( A A A ) and public spend key ( B B B ) using Diffie-Hellman exchange: P = H s ( r A ) G + B P = H_s(rA)G + B P = H s ( r A ) G + B . The recipient's true public wallet address never appears on the blockchain.
RingCT & Bulletproofs (Obfuscating Amounts) : Transaction values are concealed using Pedersen Commitments . Bulletproofs (non-interactive zero-knowledge range proofs) mathematically prove that transaction input sums equal output sums without disclosing the numerical values.
Forensic Recovery of Cryptocurrency Wallet Artifacts
When searching seized computer systems or mobile devices, investigators must target specific cryptographic wallet structures:
- 1. Bitcoin Core & Desktop Wallets
- Artifact : wallet.dat
Path : %APPDATA%\Bitcoin\wallet.dat (Windows) or ~/.bitcoin/wallet.dat (Linux).
Structure : Berkeley DB or SQLite database containing encrypted master private keys, public address pairs, and transaction labels. The master key is typically encrypted with AES-256-CBC using an iteration-strengthened key derived via SHA-512.
2. Hierarchical Deterministic (HD) Wallets (BIP 32 / BIP 39 / BIP 44)
Modern wallets eliminate the need to back up individual private keys. Instead, they derive an infinite tree of keypairs from a single master seed:
BIP 39 Mnemonic Seed Phrase : A 12-, 18-, or 24-word sequence chosen from a standardized dictionary of 2,048 English words. The words represent 128 to 256 bits of entropy plus a checksum. The mnemonic is hashed using PBKDF2-HMAC-SHA512 (2,048 iterations) with the salt mnemonic + [optional passphrase] to generate a 512-bit master seed.
BIP 44 Derivation Path : Standardized tree derivation string: m / purpose' / coin_type' / account' / change / address_index .
m/44'/0'/0'/0/0 : First Bitcoin receiving address.
m/44'/60'/0'/0/0 : First Ethereum address.
Warning
If an investigator discovers a handwritten 12- or 24-word mnemonic phrase in a suspect's notebook or text file, that phrase is the wallet . Anyone in possession of the BIP 39 seed can recreate the private keys and sweep the entire balance from any computer on Earth. Secure mnemonic phrases immediately in an evidence safe.
3. Browser Extension Wallets (MetaMask)
MetaMask stores encrypted wallet vaults inside Google Chrome's LevelDB storage:
Path : %LOCALAPPDATA%\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn
Vault Structure : A JSON string containing data (ciphertext), iv (Initialization Vector), and salt . The vault is encrypted with AES-GCM-256 using a key derived from the user's password via PBKDF2 (10,000 iterations). # Extract vault ciphertext from LevelDB files
python3 metamask_vault_extractor.py ".../Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn"
- # Recover password using Hashcat (Mode 26600 - MetaMask Vault)
- hashcat -m 26600 -a 0 metamask_hash.txt /usr/share/wordlists/rockyou.txt -r rules/best64.rule
- Blockchain Analysis & Clustering Heuristics
Blockchain forensics platforms (Chainalysis Reactor, Elliptic, TRM Labs) reconstruct financial flows by applying deterministic clustering heuristics to link pseudonymous addresses to real-world entities: +-----------------------------------------------------------------------------+
- | BLOCKCHAIN CLUSTERING HEURISTICS |
- +-----------------------------------------------------------------------------+
- | 1. Common Input Ownership Heuristic (Multi-Input Heuristic) |
- | - If Transaction X consumes Input A and Input B simultaneously, Address A |
- | and Address B are presumed to be owned by the same entity. |
- +-----------------------------------------------------------------------------+
- | 2. Change Address Heuristics |
- | - Address format matching: If Input is P2WPKH (bc1q) and Output 1 is P2PKH |
- | while Output 2 is P2WPKH, Output 2 is likely the change address. |
- | - Peeling Chains: Round payment amounts sent to merchant; fractional, |
- | un-rounded amounts sent to change address. |
- +-----------------------------------------------------------------------------+
- | 3. Co-Spending & Re-use Heuristics |
- | - Re-using the same change output in subsequent sweeps merges clusters. |
- +-----------------------------------------------------------------------------+
- De-Anonymization and Exchange Subpoenas
Once an investigator clusters a threat actor's transactions and follows the peeling chain, the funds typically terminate at a Virtual Asset Service Provider (VASP) —such as a centralized cryptocurrency exchange (Binance, Coinbase, Kraken):
Identify VASP Deposit Address : High-volume clustering identifies addresses belonging to known exchange deposit hot-wallets.
Legal Process (Subpoena / 18 U.S.C. § 2703(d) / MLAT) : The investigator serves legal process on the compliance department of the exchange, requesting:
Customer Know Your Customer (KYC) identity documentation (government ID, passport photo, proof of address).
Access logs (source IP addresses, user-agent strings, login timestamps).
Linked banking records (wire transfers, routing numbers, beneficiary account names).