Blockchain: peel chain trace
After a ransomware incident, the address of the crypto wallet to which the payment was sent, the graph of UTXO transactions connected to it, the leaked exchange KYC table and user profiles were gathered in the crypto_case.zip archive: chain.json, exchange_kyc_leak.csv and profiles/*.html.
The suspect tried to launder a large amount (12.50 BTC) received at the initial ransom_address address using a peel chain: at each step a small portion (< 0.60 BTC) was split off to a separate output, and the large remaining balance (change) was passed to a new transit address. In the middle of the chain, the suspect entered a CoinJoin mixing transaction with 4 inputs: 3 other participants contributed the standard 1.00000000 BTC (100_000_000 satoshi), while the suspect contributed his whole large balance, receiving one standard 1.00000000 BTC output and one huge unmixed remainder (toxic change) output, and continued the peel chain from that toxic change address!
In the last step, the suspect transferred the large remaining balance (1 input → 1 output) in full to a deposit address at a crypto exchange. Follow chain.json from ransom_address to the final exchange deposit address, determine the account holder's username value through exchange_kyc_leak.csv, and decode the Base64 backup key on the profiles/<username>.html page to find BAYROQ{KRIPTO_HAMYON_...}. (Note: small peel outputs and the standard outputs of the CoinJoin lead to decoy profiles; the last 16 characters of the flag are lowercase hex).