For a website taking payments with bitcoins, better: IP or bitcoin addresses?
For a website taking payments with bitcoins, which is better: taking payments through IP solely or using tons of bitcoin addresses that you have to reuse and reuse?
And why?
Bitcoin addresses also provide better anonymity. In my opinion they are ideal. Otherwise it’s necessary to use tor or the like also to guarantee anonymity.
Bitcoin addresses also provide better anonymity. In my opinion they are ideal. Otherwise it’s necessary to use tor or the like also to guarantee anonymity.
Isn’t that “unsafe”? Say I am an exit node listening for bitcoin transactions and grab them? Or is everything public/private key encrypted?[1]
[1]Which is my guess.
[Deleted] Quote from: soultcer on May 14, 2010, 07:58:57 PM
Actually no, transfering coins via IP address isn’t encrypted. When you transfer coins to an IP, the recipient creates a new address just for that transaction and tells you to transfer coins to that address. A malicious exit node could sniff all Bitcoin traffic and intercept those transactions easily.
So for everyone: DO NOT USE IP ADDRESSES AS DESTINATIONS, ALWAYS USE BITCOIN ADDRESSES.
I suggest we disable IP transactions while the user uses a Proxy! Just to be on the safe side.
I suggest we disable IP transactions while the user uses a Proxy!
Just to be on the safe side.
That’s a good idea. At the very least a warning dialog explaining that it’ll connect to the IP and send the information cleartext, giving the chance to cancel.
Other external sources: Satoshi Nakamoto Institute
XQuote from: Xunie on May 14, 2010, 9:52:53 PM UTCI suggest we disable IP transactions while the user uses a Proxy! Just to be on the safe side.
That’s a good idea. At the very least a warning dialog explaining that it’ll connect to the IP and send the information cleartext, giving the chance to cancel.
Note: I also suggest we show the warning everytime and do not give the user an option to disable that. (Like a checkbox that is marked “Show this warning everytime I use a proxy and send an IP transaction.”. That’d be bad in my opinion, a user would disable it and forget about the proxy he’s connecting through!)
Actually no, transfering coins via IP address isn’t encrypted. When you transfer coins to an IP, the recipient creates a new address just for that transaction and tells you to transfer coins to that address. A malicious exit node could sniff all Bitcoin traffic and intercept those transactions easily.
So for everyone: DO NOT USE IP ADDRESSES AS DESTINATIONS, ALWAYS USE BITCOIN ADDRESSES.
That’s not “for everyone”, but for those up to buy or sell some stuff more… strange. I believe the core aim of BC is to be an easy to carry non-centralized currency, anonimity is a surplus not a mandatory field. Otherwise we would rather call it TorPay. So, unless the transaction is for the a new pedo movie, some crack shipment or some stuff alike, there’s no reason to use Tor, and therefore no exit nodes and no proxies. In the end trimming your advice: If you’re up to make a “non conventional” payment over Tor, use the destination’s BC Address, if you’re buying or selling something normal, use IP or BC address. 😉
Then we’ve the eternal ballance: Usability x Security. Too much security = too few usability (the most secure computer in the planet is… anyone since it’s switched off) and too much usability = too few security. Ballance is better than paranoia. 😉
It’s not just an issue with proxies. Since there’s no authentication, any “man in the middle” can intercept your BitCoin transfer, including your ISP and other people on your wireless connection. It’s like logging into your bank’s website without HTTPS.
BitCoin should use an authentication method like SSH: the receiver signs the BitCoin address and other info with a permanent public key, the hash of the public key is displayed to the sender before any transfer, and the receiver makes this hash known through other trusted channels.
It’s like logging into your bank’s website without HTTPS.
I agree, this is a pretty large security hole. We need a bug tracker for this stuff.
MiM attacks that can perform defacing can perform it on all the ways - with or without SSL. Like spoof your DNS and make your browser believe to be seeing the “right page”.
Actually, gavinandresen raised a very good point here. For example, when browsing over TOR, a malicious exit node could indeed replace bitcoin addresses very easily. Contrary to what you said, SSL would fix the issues raised, because when the content is hidden, the attacker can’t even know whether there is a bitcoin address on the requested page at all, much less replace it. Spoofing DNS would also be detected because the certificate wouldn’t be valid (unless the attacker managed to spoof an SSL certificate, which is still very very difficult).
The thing to note here, though, is that the bitcoin client itself can’t do anything about all of this, only the websites that use Bitcoin can — and, for example, bitcoinmarket and bitcoinexchange already do.
As for the attacks on websites with BC addresses, you may deface them, and you may spoof even without the server’s Private Key. Normally people don’t look to the CA, so as long as the CA is recognized it will ring no bells - and within this “world”, specially for Tor users, Verisign Certificates aren’t the normal thing, but CACert and other free services alike (means also many users are already used to press “Continue” on invalid certificate flags).
I’m by no means an expert on this, but I think even a free certificate includes a “this is for website www.example.com”-field, and you can only get a certificate if you actually control that domain (can receive email sent to the domain), so I don’t think forging that is trivial. Firefox, for example, explicitly pops up a warning if a certificate is for a domain other than the expected one.
The remaining weak link then is DNS, but while possible, it is non-trivial to forge that, especially when you’re watching the destination-page, and can’t know who is going to want to visit it beforehand. Also, DNSSEC is slowly becoming the norm, so that possibility also goes out of the window within a few years.
The reason why I bring up TOR is that bitcoin complements it very well. TOR preserves anonymity, and bitcoin allows for anonymous transactions.
SSirArthurEdit: To not mention the obvious: If you know the destination’s IP Address why on Hell you would need to use Tor to pay?? And if the address would be something like <some unreadable hash>.onion then you wouldn’t need SSL, because inner Tor data is already crypted.
Suppose someone doesn’t want to know the payee who he/she is? Without TOR the IP address is revealed, which, at the very least allows the other party to know the approximate geographical location.
Sure does, that’s what a certificate does: Hey! You’re on
www.somewebsite.comand the data is crypted. The question is that, imagine somewebsite is meant to be at 123.123.123.123 and someone else spoofed DNS for it to resolve to 123.123.123.124, then your browser will believe it is atwww.somewebsite.com- even if it’s phishing.
How would the attacker get hold of a valid certificate that claims it’s for www.somewebsite.com without actually controlling said domain?
And for free certificates, they might include the security they want, but no browser recognizes their root CA’s, so it makes them as worthable (and will raise the very same alerts) a self-signed certificate.
Not necessarily. StartCom, for example, is recognized as a valid CA by almost anyone (Opera being the exception). CACert ist also included in popular Linux distributions (e.g. Debian).
SSirArthurDNSSEC is yet another piece of junk. That probably would never come to be nothing but a project. Issues of practical life, negociating crypt algorithms reduces performance and DNS is a really heavy duty service. So, if someone tries to implement DNSSEC as a standard, internet would probably become as slow as Tor is.
Ehm. DNSSEC is a standard, and the root servers and many TLDs are already using it, although it will only become fully functional later this year. It’s true that it is not as efficient as it could be (and was rightly criticized thus by people like Daniel J. Bernstein), but with .com, .net and .org adopting it within the next year or two, I’d pretty much say it’s a done deal.
SSirArthurAnd if someone doesn’t want the one he’s paying to to know his address, probably the person that’s receiving the payment doesn’t want to show his address either. Therefore they simply DON’T use DCC Pay, but P2P Pay. Easy… as long as both options are there.
Well, I was working with the premise of IP payment, because that’s what you brought up in the snippet I replied to with that paragraph. Of course you can just use a Bitcoin address (unless the payee wants you to pay DCC-style…)
SSirArthurI’m up to choices not to paranoia. Paranoia in security isn’t of any value add, paranoia is just that… paranoia. Reduces life quality, grants nothing and prevents people from live. Yes, someone may steal your data, as someone may steal your wallet on the bus with the very same outcome. There’re some security elementals, but you can’t keep looking over your shoulder (specially because you probably will miss to see the electrical post in front of you). 😁
^^
The thing with security is that you have to be aware of what could happen. I don’t walk around with 1000$ in my wallet, precisely because it could be stolen, for example. If Bitcoin becomes an accepted currency, attacks will happen — just think of all the phishing that’s going on with Paypal and normal banks. If there’s a way, it will be exploited by criminals.
