There are two possible scenarios:
- (1) A generic virus, that does not target a specific wallet, but all wallets at the same time. For example, it can be a virus that changes bitcoin addresses as they are copy pasted in your clipboard. Such a virus is fairly easy to write, and it can target all wallets all the same time. There are reports that such virus do exist today. Another possibility for a generic virus is to modify bitcoin: URIs that are passed from your browser to your wallet.
- (2) A virus that targets specifically your wallet software, eg Electrum. Such a virus is much more difficult to write, and targets a smaller amount of users. At this point, there is no evidence that such malware exists, but it is theoretically possible.
To protect yourself against (1) is fairly easy, you just need to double check the address that you paste. Unfortunately, lots of users do not do this.
Signed payment requests, as in BIP70, also protect you from that. Note that I am working on making signed payment requests easier to use, allowing users to sign them with a bitcoin key instead of SSL certificate.
To protect you against (2) is more difficult. If you have a hardware wallet with a screen (eg Trezor), then you can check the bitcoin address on the screen.
Another method is to use two-factor authentication with email (we are working on adding this to Electrum), where you receive a confirmation email with the recipient address, amount, and a link to accept the transaction. The advantage of email is that it can display the recipient full name (using BIP70), something harware wallets cannot do.
Alright thanks, I think I`m shielded against those threats for now.
Thanks for the great work so far, if you can look at the minor issues in the OP, they could still be added in a next release of Electrum.
And sorry I was rude earlier. Electrum is really the best wallet now
I`ll keep testing it and if I find any more issues I`ll let you know in this thread.