This is a bitcoin investigation tool which provides the following tools
- Interactive Blockchain Transaction Visualizer
- Bitcoin PCAP Decoder
- Online Wallet Search
This tool models transactions as a graph, where each node represents a transaction. The edges have arrows indicating the source of the funds for each transaction. When you click on a node, the graph expands to display the subsequent transactions that occurred using those funds.
Screen.Recording.2024-08-18.at.10.25.25.PM.mov
To make a transaction, a Bitcoin node creates a transaction message and sends it to its connected peers. This message propagates through the entire P2P network, where each peer verifies it before a miner adds it to the blockchain. By tracking the first node that relays a new, unique transaction ID, we can potentially identify the source of that transaction, exploiting Bitcoin's gossip protocol. By connecting to all nodes in the network and monitoring their transaction relays, it's possible to de-anonymize the blockchain and reveal the true identities behind transactions. This tool helps to do this.
To run this tool, first connect to all the peers in the Bitcoin network and start packet capturing. The captured packets are then given as input to the tool, which decodes the packets, and the output can be either stored in a database or written to a CSV file.
This tool identifies whether a wallet address is found on any forums, websites, or other online platforms.
The code is split into frontend and backend
- Navigate to the
backend
folder - Execute
pip install -r requirements.txt
- Run the backend
python3 app.py
- Navigate to the
frontend
folder - Execute
npm install
- Run the frontend
npm start
This Project uses blockcypher API for fetching the blockchain data, therefore one must register it and create a .env file with it in the Bitcoin-Investigation-Tool/backend/
directory.
API_KEY=YOUR_API_KEY
This tool is available on the website. Enter the transaction ID you want to investigate, and it will generate the graph.
To use this tool
- Navigate to
Bitcoin-Investigation-Tool/backend/capture
and drop the capture file to analyse in this directory - Navigate to
Bitcoin-Investigation-Tool/backend/tool_pcapanalyzer/
- Run
python3 extractip.py
To use this tool
- Open to
Bitcoin-Investigation-Tool/backend/tool_webscrapper/links.txt
and paste the links you want to scrap from - Run
python3 scrap.py
- Open the website and search the wallet you want to find
Steps 1 and 2 are a one-time process and do not need to be repeated unless new links need to be added.