Bitcoin Forum
June 26, 2024, 12:08:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A question about replay attacks.  (Read 242 times)
AlSai (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
November 06, 2017, 12:20:08 AM
 #1

I joined in on bitcoin 1 month ago so forgive me if my terminology is incorrect or if I am not clear enough.

My question is, are replay attacks initiated my an "attacker"? Meaning that the unwanted transaction does not happen automatically and accidentally, it is manually replicated on the unintended chain however way it is done, which I am clueless of.
If it is done by an attacker, let's say I had bitcoin on a wallet (1) before a fork happened, and after it happened, I transferred my bitcoin to a new wallet (2), this transaction will not be replayed as the receiving address is also mine. Then I will be able to safely claim or spend my forked coin on wallet 1 because it does not have any bitcoin in it, right?

Thanks in advance. Smiley
llama_rider
Newbie
*
Offline Offline

Activity: 11
Merit: 1


View Profile
November 06, 2017, 01:45:34 AM
 #2

Meaning that the unwanted transaction does not happen automatically
Right.  Publishing a transaction to the network of one fork will not automatically publish to the network of the other fork.  However, a replay on the other network doesn't need an 'attacker' in the sense of someone intentionally being malicious.  It possible for a misconfigured node to accidentally publish it to the other network.
AlSai (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
November 06, 2017, 11:14:21 AM
 #3

Meaning that the unwanted transaction does not happen automatically
Right.  Publishing a transaction to the network of one fork will not automatically publish to the network of the other fork.  However, a replay on the other network doesn't need an 'attacker' in the sense of someone intentionally being malicious.  It possible for a misconfigured node to accidentally publish it to the other network.
Thanks!
pawanjain
Hero Member
*****
Offline Offline

Activity: 2716
Merit: 721


Nothing lasts forever


View Profile
November 06, 2017, 11:59:49 AM
 #4

No there is no need for an attacker to have your coins lost in a replay attack. A replay attack is basically when the same transaction is repeated over the other chain. This might happen due to low security and lack of replay protection. The hacker might take advantage of certain situations if we are not careful form our side. Consider not doing any transaction right after the fork and you will be safe. Wait at least 1 or 2 days after the fork for the dust to settle down. Import your private keys in a Bitcoin client which guarantees replay protection and then make any transactions.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
November 06, 2017, 12:13:47 PM
 #5

You are right. Replay attacks have to be started by an attacker. Those won't happen "automatically".
Regarding your second point: If you first (after the fork) send your bitcoins to a new address owned by you, the transaction still could theoretically be replayed.
But an attacker just had no advantage in replaying this transaction since it would sent your bch to an address under your control.
Still this can be performed by an attacker to spread fear around. Trolls are everywhere.
If you want to get sure none of your transaction gets replayed you have to send your btc and your bch to a new (not equal) address.
From this point your transactions can't be replayed since there are no inputs on the (respectively) other chain to spend.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!