singtreb/sword-riding/analyzing-ransomware-payment-wallets
Claude Code and agent skill by singtreb/sword-riding
- community
Checking that the SKILL.md file is still in the repository.
'Traces ransomware cryptocurrency payment flows using blockchain analysis tools such as Chainalysis Reactor,
Install
npx vskill@latest install singtreb/sword-riding/analyzing-ransomware-payment-walletsSKILL.md
The same SKILL.md was published earlier as singtreb/sword-riding/analyzing-ransomware-payment-wallets.
Analyzing Ransomware Payment Wallets
When to Use
- An organization has been hit by ransomware and the ransom note contains a Bitcoin or cryptocurrency wallet address that needs investigation
- Law enforcement or incident responders need to trace where ransom payments flowed after the victim paid
- Threat intelligence analysts are attributing ransomware campaigns by clustering payment infrastructure across incidents
- Investigators need to determine if a ransomware group is reusing wallet infrastructure across multiple victims
- Compliance or legal teams need evidence of fund flows for prosecution, sanctions enforcement, or insurance claims
Do not use this skill for live payment interception or to interact directly with ransomware operators. All analysis should be passive and read-only against public blockchain data.
Detection Gaps & Validation
- Mixers and CoinJoin break the trail: funds routed through Wasabi/Samourai/ChipMixer-style CoinJoin or a tumbler defeat the common-input-ownership heuristic. A clean "dead end" at a mixer deposit is not proof of an endpoint, it is a tracing gap. Flag it explicitly rather than concluding the funds vanished.
- Chain-hopping / cross-chain swaps: BTC swapped to Monero (untraceable) or bridged via a cross-chain DEX (THORChain, atomic swaps) will not show up in a single-chain explorer. Always check for outputs to known bridge/swap deposit addresses, not just exchange wallets.
- Peel chains evade naive tracing: a 12+ hop peel chain with diminishing outputs looks like noise; follow the largest output at each hop, not the first.
- Change-address misattribution: the common-input-ownership heuristic over-clusters when CoinJoin is involved, producing false "related wallet" links. Validate each cluster against a second source (OXT, WalletExplorer, Chainalysis) before asserting attribution.
- How to validate: confirm the address format/checksum before querying; reconcile total_received against the ransom-note demand and known victim payment timestamps; cross-check every flagged endpoint against the OFAC SDN list. Treat a single-source exchange attribution as a lead, not a finding.
Prerequisites
- Python 3.8+ with
requests,json, andhashliblibraries - Access to blockchain explorer APIs (blockchain.com, WalletExplorer.com, Blockstream.info)
- Familiarity with Bitcoin transaction model (UTXOs, inputs, outputs, change addresses)
- Understanding of common obfuscation techniques (mixers, tumblers, peel chains, cross-chain swaps)
- Optional: Chainalysis Reactor license for enterprise-grade cluster analysis
- Optional: OXT.me for advanced transaction graph visualization
Workflow
Step 1: Extract Wallet Address from Ransom Note
Parse the ransom note to identify the payment address(es):
Step 2: Query Blockchain Explorer for Transaction History
Retrieve all transactions associated with the wallet:
Step 3: Map Fund Flow and Identify Clusters
Trace outputs from the ransom wallet to downstream addresses:
Step 4: Cross-Reference with Known Wallet Databases
Check addresses against known ransomware infrastructure:
Step 5: Generate Attribution Report
Compile findings into a structured intelligence report:
Verification
- Confirm wallet address format is valid before querying APIs
- Cross-reference transaction timestamps with known incident timelines
- Validate cluster associations by checking common-input-ownership heuristic
- Compare findings against OFAC SDN list for sanctioned addresses
- Verify exchange attribution against multiple sources (WalletExplorer, OXT, Chainalysis)
Key Concepts
| Term | Definition | |
|---|---|---|
| UTXO | Unspent Transaction Output; the fundamental unit of Bitcoin that tracks ownership through a chain of transactions | |
| Cluster Analysis | Grouping multiple Bitcoin addresses believed to be controlled by the same entity using common-input-ownership and change-address heuristics | |
| Peel Chain | A laundering pattern where funds are sent through many sequential transactions, each peeling off a small amount to a new address | |
| CoinJoin/Mixer | Privacy techniques that combine multiple users' transactions to obscure the link between sender and receiver | |
| Common Input Ownership | Heuristic that assumes all inputs to a single transaction are controlled by the same entity |
Tools & Systems
- Chainalysis Reactor: Enterprise blockchain investigation platform with entity attribution and cross-chain tracing
- WalletExplorer: Free tool that clusters Bitcoin addresses and labels known services (exchanges, mixers, markets)
- OXT.me: Advanced Bitcoin transaction visualization with UTXO graph analysis
- Blockstream.info: Open-source Bitcoin block explorer with full API access
- blockchain.com API: Free API for querying Bitcoin address balances and transaction histories
- OFAC SDN List: U.S. Treasury sanctioned address list for compliance checking
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/tools/skills/data/ransomware-defense/analyzing-ransomware-payment-wallets/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/singtreb/sword-riding/analyzing-ransomware-payment-wallets)