Create Dust Transaction

№1

Create Dust Transaction
Create Dust Transaction

№2

Create Dust Transaction

Create Dust Transaction

Create Dust Transaction

  • Unzip the ZIP file of the source code
Create Dust Transaction

Create Dust Transaction
Create Dust Transaction

Create Dust Transaction

Create Dust Transaction

Create a Cold Wallet:

  • Enter in “Search:” IDLE
Create Dust Transaction

  • To generate a random private key in HEX, run the script: randomhex.py
Create Dust Transaction
Create Dust Transaction
Create Dust Transaction

Create Dust Transaction
Create Dust Transaction
Create Dust Transaction

Top up your cold wallet balance:

https://www.binance.com/en/crypto/buy/USD/BTC

Create Dust Transaction
  • To make significant profits and carry out a successful dust attack, we need to choose a Bitcoin Address compressed and be sure to Base58
Create Dust Transaction

https://www.blockchain.com/en/explorer/addresses/btc/1BANKshyF5GUF4khXxgsoM7fwaaXcexm5s

Create Dust Transaction
Create Dust Transaction
Create Dust Transaction
  • Select your ‘Private Key WIF compressed’ value and copy it..
  • Let’s insert it into the script code: createrawtransaction.py
  • pk = PrivateKey.parse("L1kwoDnvDSMjgqaVV5qU8yoPiQmHoHygucT2Nf19Mx5gqUFMdrTj")
Create Dust Transaction
Create Dust Transaction

№3

https://dustattack.org/79957-2-btc/

  • Choose an address to make a profit.
Create Dust Transaction
Create Dust Transaction

№4

https://coinbin.ru/#newTransaction

Create Dust Transaction
  • Copy TXID: e67a0550848b7932d7796aeea16ab0e48a5cfe81c4e8cca2c5b03e0416850114
Create Dust Transaction
  • Let’s insert it into the script code: createrawtransaction.py
  • prev_tx = bytes.fromhex("e67a0550848b7932d7796aeea16ab0e48a5cfe81c4e8cca2c5b03e0416850114")
Create Dust Transaction


tx_in._value = 30352330

  • 30352330 satoshi this is the amount of our balance. As a result, we will receive this amount of 30352330 satoshi back from the Bitcoin Wallet: 1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF Our profit will be effective compensation from the dust attack.
  • If you top up your balance with 1 BTC, which is equal to 100 million satoshi, then in this case, with an active dust attack, you will receive an equivalent return profit of 1 BTC to your Bitcoin Wallet from the unconfirmed transactions of the attacking Bitcoin Wallet.
Create Dust Transaction

  • 600 satoshi is the amount that we send to Bitcoin Address: 1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF in order to create ScriptSig Isomorphism to make a profit equal to the amount of our balance from the attacking Bitcoin Wallet. In our case, the profit will be 30352330 satoshi.
Create Dust Transaction

  • 30352330 satoshi is the amount returned to our Bitcoin Wallet. With the deduction of fees in the amount of 200 satoshi which we pay to confirm the transaction.
Create Dust Transaction

  • Run the script by pressing “F5” (Run Module)
Create Dust Transaction

Result:

Create Dust Transaction

https://coinbin.ru/#verify

Create Dust Transaction
Create Dust Transaction
Create Dust Transaction
  • ScriptSig Isomorphism created.
  • Now in the new RawTX we need to put our value, replacing it 74786964 with the txid one from the attacking Bitcoin Wallet.

https://cryptii.com/pipes/hex-to-text

Create Dust Transaction

74786964 > txid

Create Dust Transaction

  • In the new RawTX we need to put our value by replacing 7075626b6579 with our public key.

https://cryptii.com/pipes/hex-to-text

Create Dust Transaction

7075626b6579 > pubkey

Create Dust Transaction

  • In the new RawTX we need to put our value by replacing 68617368313630 with our hash160.
  • hash160 is our Bitcoin Address for receiving an equivalent amount of profit corresponding to our balance.

https://cryptii.com/pipes/hex-to-text

Create Dust Transaction

68617368313630 > hash160

Create Dust Transaction

Decode a transaction:

Create Dust Transaction

https://www.blockchain.com/en/explorer/assets/btc/decode-transaction

Create Dust Transaction

https://www.blockchain.com/explorer/assets/btc/broadcast-transaction

Create Dust Transaction
Create Dust Transaction
  • To make a profit, miners must confirm ScriptSig Isomorphism
  • The amount of profit received will be equal to the balance of our Bitcoin wallet.
Create Dust Transaction
Create Dust Transaction
Create Dust Transaction

Profit in the amount of 30352330 satoshi will go to our Bitcoin Wallet after confirmation of isomorphism by miners.