Set of Maltego transforms written in Go for Bitcoin addresses/wallets investigation. Based on walletexplorer.com API.
Requirements:
- Maltego 4.0 or higher
- Go 1.8+
Pre-Installation:
- Install Maltego in your computer https://www.maltego.com/ce-registration/
- Install Blockchain.info Transform by Paterva in the Transform Hub of your maltego
Installation:
- Download binary from https://github.com/Megarushing/maltego-btc/releases and save it in
/usr/local/bin/
on mac, or in WindowsC:\maltego-btc\
. E.g:sudo cp maltego-btc /usr/local/bin/
- In the Mac Terminal do
sudo chmod +x /usr/local/bin/maltego-btc
OR To Compile from sources:
- Install GoLang
- Do
go install github.com/Megarushing/maltego-btc@latest
Setting up:
- Download [maltego-btc.mtz] (https://github.com/Megarushing/maltego-btc/raw/main/maltego-btc.mtz)
- In Maltego go to Import | Export > Import Config
- Point to the downloaded file and import all transforms, entities and icons
- Important: In the Transform Manager, find the imported transforms and Edit each Transform starting with BTC, under command line include your path to maltego-btc executable, this is usually
/usr/local/bin/maltego-btc
or(User Folder)/go/bin/maltego-btc
when compiled from sources.
This application generates a maltego-btc.conf
file under $HOME/Library/Application Support/maltego-btc/
or C:\Documents and Settings\<User>\Application Data\Local Settings\maltego-btc\
on windows. This can be tweaked if you want to change the settings. Here is a list of config options:
logfile
– path to logfilecachefile
– path to cache filelink_address_color
– color of arrows from wallets and addresseslink_wallet_color
– color of arrows from wallets to walletswallet_max_size
– max count of transactions to download from api in one gocache_addresses
– max number of addresses to cachecache_wallets
– max number of wallets to cacheicon_address
– url to address entity iconicon_wallet
– url to wallet entity iconicon_service
– url to service entity icon
1- Add a bitcoin transaction to your Graph
2- Use the transform: "Blockchain.info > To Destination Addresses" in order to get the addresses it sent to
3- Select the destination addresses and convert them into wallets with the transform: "Bitcoin Explorer > Address To Wallet"
4- Verify the destinations, and follow your investigation from there:
5- Try out organizing with the "organic layout" and setting up "ball size by weight" in order to see the amount of funds being moved
- Maltego Community Edition has a limitation of only allowing 50 entities per transform, so in case there are too many outputs to a single transaction you may need to run the transform multiple times in order to get all of them, this plugin randomizes the entities it sends every time in order to make this possible.
- In order to not harm the walletexplorer API, the transform may take a long time to get all transactions, a wait time is intentionally applied between requests on large lists of senders/receivers, so be patient.
Enjoy!