News for hackers. Stuff that matters.
Re:Bitcoin trojan caught in the wild by olivercameron on Thursday June 16, 2011 @09:22PM (#2663952)
This is exactly why Bitcoin will never take off outside of the geek world. Can you imagine, in a world where millions used Bitcoin, the media fallout if users were being robbed with zero way to reclaim their money?

Knowing how little "regular" people protect their devices, this scares me.

Re:Bitcoin trojan caught in the wild by shazow on Thursday June 16, 2011 @10:16PM (#2664069)
Here's some ways to fix this and why it won't be a problem:

- Add encryption of the wallet and a password to the Bitcoin client and daemon. This is already being worked on and there is working prototype. It should be in the mainstream client very soon. Wallet Private Key Encryption: http://forum.bitcoin.org/index.php?topic=8728.0

- Start trusted centralized institutions that hold your Bitcoins and protect them (maybe even give you a bit of interest growth). There are already numerous online eWallets that you can use—if you choose to keep your cash on your person then it's your decision and you should acknowledge the risks. List of eWallets: https://en.bitcoin.it/wiki/Category:EWallets

Re:Bitcoin trojan caught in the wild by gojomo on Thursday June 16, 2011 @10:30PM (#2664098)
Wallet encryption isn't any help against keyloggers and other local malware that can observe your use of the wallet. And wallet encryption simple enough for average folks — a short passphrase of their own choosing - is easy for digital pickpockets to crack.
Re:Bitcoin trojan caught in the wild by wmf on Thursday June 16, 2011 @10:39PM (#2664120)
Since Bitcoin miners have awesome GPUs, malware could use the victim's own GPU to crack their wallet. (And then go back to mining... for the malware owner.)
Re:Bitcoin trojan caught in the wild by a3_nm on Thursday June 16, 2011 @10:45PM (#2664137)
Bitcoin GPU miners are a quite small subset of Bitcoin users, and they're probably not the least knowledgeable.
Re:Bitcoin trojan caught in the wild by jcoder on Friday June 17, 2011 @12:32AM (#2664328)
Maybe. Wasn't the victim of the recent 25k heist a miner?
Re:Bitcoin trojan caught in the wild by DavidSJ on Friday June 17, 2011 @03:29AM (#2664697)
Yeah, but from early 2010 when most miners were still using CPUs.
Re:Bitcoin trojan caught in the wild by shazow on Thursday June 16, 2011 @10:44PM (#2664130)
If there's a malicious keylogger on your computer, your Bitcoin wallet is probably the last of your worries.
Re:Bitcoin trojan caught in the wild by cageface on Thursday June 16, 2011 @10:47PM (#2664140)
Actually, if I have tens of thousands of dollars or more in Bitcoins it's likely to be the very first of my worries.
Re:Bitcoin trojan caught in the wild by stuhood on Friday June 17, 2011 @12:45AM (#2664351)
This would already be a problem for you if you have an online bank account.

An insecure computer means an insecure life.

Re:Bitcoin trojan caught in the wild by brigade on Friday June 17, 2011 @01:54AM (#2664500)
You're rather likely to get your money back from a compromised bank account.

Not so (by design) with a compromised bitcoin wallet.

Re:Bitcoin trojan caught in the wild by ScottBurson on Friday June 17, 2011 @02:33AM (#2664588)
> You're rather likely to get your money back from a compromised bank account.

That's not clear:

http://news.ycombinator.com/item?id=2633280

Re:Bitcoin trojan caught in the wild by cageface on Friday June 17, 2011 @01:51AM (#2664493)
I have to imagine it's a lot easier to write a program that looks for a wallet.dat on my machine and mails it somewhere than it is to follow my steps into my bank account and transfer money.
Re:Bitcoin trojan caught in the wild by dagw on Friday June 17, 2011 @04:26AM (#2664815)
Do US banks really let you do arbitrary online transactions with only a single password?
Re:Bitcoin trojan caught in the wild by shazow on Thursday June 16, 2011 @11:29PM (#2664221)
I suppose if I had tens of thousands of dollars or more in Linden Dollars, my Second Life password would be the first of my worries.

What about your passwords to your real-life bank accounts? Or logins to confidential company data? Or emails?

If you're the paranoid type and have two-factor auth for all these things, why not Bitcoin?

Re:Bitcoin trojan caught in the wild by krschultz on Friday June 17, 2011 @08:42AM (#2665273)
It's the difference between having cash stolen from under your mattress and someone stealing your credit card.

I had someone make a fake debit card matching my account number. It didn't have my PIN, the number on the back, or my name on it, but it had my 16 digit number. That is something you can just create randomly, from the perspective of the customer there is absolutely nothing you can do to protect yourself from that. I guess they generate a bunch and test them somehow, but since the thief had a card that matched an account, he went out and tried about 9 stores in an hour. He was able to buy about $1200 in merchandise from 2 stores, the rest either rejected him or by that point the bank had declined my account.

The bank called me and told me all of this within 20 minutes of it happening. I saw the money debited from my account, my bank balance was lower, etc. They sent me 2 forms to sign saying it wasn't me, and within 24 hours the money was back in my account. Since then the bank has dealt with the merchants who took the fake card, filed a fraud report, etc. I spent less than 20 minutes dealing with this overall, it was not a big deal for me.

Contrast that with someone stealing $1200 from my safe or $1200 of my bitcoins. I'm just screwed then. I have no recourse, no one dealing with this stuff for me, etc.

While keeping your login information secure is a good thing, ultimately the banks are the ones keeping things secure. They have plenty of intelligent systems that know your typical buying habits, and you are quickly red flagged when some unusual purchases happen.

I know that transferring money out of my bank accounts over the internet at my bank REQUIRES a phone call and a piece of paper the first time. After that, sure, you can transfer instantly. But if someone installs a keylogger on my machine and transfer all the money from my checking account to my savings account or my investments, I don't really care. I'll just transfer it back. He will not be able to transfer it to his own bank account very easily, not unless he breaks the banks system. And as shown by the debit card incidident, when the bank's security fails the customer is not liable.

Re:Bitcoin trojan caught in the wild by bradleyland on Friday June 17, 2011 @09:42AM (#2665452)
Well said! The ability to handle fraud in this manner has a big picture effect as well.

Banks are powerful. They can do things that you and I can't. If a bank transfers money as part of a fraudulent transfer, it can reverse that transfer electronically. This reversal traverses the banking system all the way back to the entity that accepted the payment.

This system diffuses the impact of fraudulent transfers and places the ultimate responsibility on those accepting payment, rather than those holding currency. I know that sounds harsh, but the person accepting the payment probably has the best chance of detecting a fraud. Without this check & balance, there's very little incentive for merchants to verify the validity of the funds being used.

Re:Bitcoin trojan caught in the wild by shazow on Friday June 17, 2011 @05:20PM (#2667125)
Are you saying that banks which provide the same security and insurance for Bitcoin are not possible? Why not?
Re:Bitcoin trojan caught in the wild by rmc on Friday June 17, 2011 @04:53AM (#2664876)
What about your passwords to your real-life bank accounts?

Your bank has ways to make that more secure. If someone logs into your account from a strange IP (e.g. different country from the bank and customer), if someone tries to transfer money online, you might need to enter another password (which they might not have), or it might be based on a fob that generates a code. If you do manage to transfer money to your account, they can now follow the money to find out where you are and arrest you.

BitCoin stealing doesn't have any of these drawbacks, so is probably a much more tempting target.

Re:Bitcoin trojan caught in the wild by furyg3 on Friday June 17, 2011 @04:42AM (#2664853)
There's a key difference here:

If I get hacked, I loose all my BitCoins.

If my bank gets hacked, sucks for them.

Re:Bitcoin trojan caught in the wild by shpxnvz on Friday June 17, 2011 @09:45AM (#2665462)
If my bank gets hacked, sucks for them.

Who do you thinks ends up paying for it? The cost will certainly be passed on to the banks customers.

Re:Bitcoin trojan caught in the wild by furyg3 on Friday June 17, 2011 @10:39AM (#2665652)
Exactly my point.

With a bank I'm insured against theft. With bitcoin I am not.

Re:Bitcoin trojan caught in the wild by drivebyacct2 on Thursday June 16, 2011 @11:54PM (#2664258)
If I might ask, and I'd be happy to take this discussion elsewhere... but why? For that much money and the risk associated, surely as an investment vehicle?
Re:Bitcoin trojan caught in the wild by pavel_lishin on Friday June 17, 2011 @12:18PM (#2666069)
> Wallet encryption isn't any help against keyloggers

Same can be said about bank accounts, unless you're using 2-factor auth with a dongle.

Re:Bitcoin trojan caught in the wild by gojomo on Friday June 17, 2011 @12:56PM (#2666212)
Bank accounts usually limit online transfer destinations and amounts. So password secrecy is not the sole defense, and even total ownership of an accountholder's computer is not quite 'game over' for their balances, as it is with a bitcoin wallet.
Re:Bitcoin trojan caught in the wild by rmc on Friday June 17, 2011 @05:16AM (#2664919)
(maybe even give you a bit of interest growth)

You can't really do interest with BitCoins, since it's a fixed amount. Deflation is built in, so in way just holding the BTC will make them 'grow' in value.

Re:Bitcoin trojan caught in the wild by creativeembassy on Thursday June 16, 2011 @10:21PM (#2664079)
Bitcoins are a digital currency without a bank. If you kept all your money in cash at your house, and failed to secure your house, then someone could steal it. Sure, you could try to catch them based on the evidence they leave behind (fingerprints for cash, logfiles for bitcoin wallets), but once they have the cash, it's nearly untraceable.

But if you have banks that store Bitcoins for you, then you're trusting their security processes, not your own. We don't have Bitcoin banks yet. For BC users, maybe that's worth looking into.

Re:Bitcoin trojan caught in the wild by ssharp on Thursday June 16, 2011 @10:48PM (#2664147)
I've read this real-life money / storing all your money at your house analogy a few times related to BitCoin. It seems disingenuous. There are just too many physical things that separate the dangers of BitCoin and hoarding money somewhere in your house.

- I don't have to worry about 6,500,000,000 people having access to my house. At most, there is a market of around a million or so who would live in close enough proximately to me.

- I don't have thousands of people across the world tapping on my windows to find out how easy they are to break into.

- I'd trust the chances of a local thief being caught more than a hacker across the globe stealing BitCoins being caught.

I could go on and on.

Right now, the BitCoin landscape is like the Wild West, probably even worse. Systems simply aren't in place to really protect people, and you have the potential to steal from anyone in the entire world.

In real currencies, we have systems in place to protect holders. In the U.S. we have the FDIC, which insures bank accounts up to a certain amount. This insurance incentives people to keep their money in banks instead of the house because it's safe (both physically safe from theft and safe from bank failure). My understanding is that there are BitCoin "banks" but there is nothing guaranteeing these deposits. There are also established systems in place to help prevent theft. Police departments, close physical proximity to others (neighbors being able to see odd activities), etc. to prevent thefts.

Re:Bitcoin trojan caught in the wild by cookiecaper on Thursday June 16, 2011 @10:31PM (#2664100)
It actually would not necessarily be difficult to trace the thief of your bitcoins. All btc transactions are logged publicly; a victim can watch the blockchain and record every address that receives his stolen coins, and this may produce good leads as to the thief's identity.
Re:Bitcoin trojan caught in the wild by kmfrk on Thursday June 16, 2011 @09:35PM (#2663976)
You just described PayPal.
Re:Bitcoin trojan caught in the wild by olivercameron on Thursday June 16, 2011 @09:45PM (#2663998)
Not at all. PayPal could not be more different than Bitcoin (centralised, insured etc.).

Edit: I'm not defending PayPal, I'm saying Bitcoin and PayPal are two different systems.

Re:Bitcoin trojan caught in the wild by burgerbrain on Thursday June 16, 2011 @09:59PM (#2664032)
Paypal regularly "freezes" peoples funds, and there is little legal recourse in those cases since Paypal cleverly has avoided making itself legally a bank in the US (even though it clearly preforms functions people usually receive from banks).
Re:Bitcoin trojan caught in the wild by rmc on Friday June 17, 2011 @05:08AM (#2664905)
AFAIK PayPal are a bank in the EU. I don't know if their behaviour is much different, but I suspect it isn't.
Re:Bitcoin trojan caught in the wild by ltamake on Thursday June 16, 2011 @09:50PM (#2664011)
Doesn't mean that PayPal is invincible. It's been hacked before, and being centralised and insured doesn't mean anything.
Re:Bitcoin trojan caught in the wild by ceejayoz on Thursday June 16, 2011 @10:07PM (#2664050)
> ... being ... insured doesn't mean anything.

Uh... it means there's minimal risk that users will lose their money if PayPal gets compromised. That's pretty significant.

Re:Bitcoin trojan caught in the wild by olivercameron on Thursday June 16, 2011 @09:58PM (#2664031)
I'm not saying its invincible at all, I'm saying comparing PayPal and Bitcoin isn't appropriate considering they're very different.
Re:Bitcoin trojan caught in the wild by nextparadigms on Friday June 17, 2011 @05:53AM (#2664986)
The technology is still in its beta period basically. Really, all this should've been expected, especially since we're talking about a currency and money. It was an early adopter risk, and I think most decided the risk was ok, because they could earn 10x,100x or even 1000x more money than they put in.

The only mistake was to believe Bitcoin was 100% safe. The technology will mature.

Re:Bitcoin trojan caught in the wild by mike_esspe on Friday June 17, 2011 @03:41AM (#2664724)
1) This is a problem. 2) It can be solved with the help of internet service. 3) It's easy to get started because you don't need a banking license.

My conclusion - we will see a lot of startups solving this problem.

Re:Bitcoin trojan caught in the wild by truthout on Thursday June 16, 2011 @09:33PM (#2663972)
Bitcoin would function as a backend and the payment would be done through processors like banks and credit card companies. What's the difference between bitcoin and dollars in that respect. The average person still has the ability to move coins trough the system but I'm sure processors will be regulated.
Re:Bitcoin trojan caught in the wild by codex on Thursday June 16, 2011 @08:49PM (#2663880)
Ah, Bitcoin: the new incentive to breach computer security. Why risk stealing credit card or bank information when you can steal Bitcoins safely and anonymously?
Re:Bitcoin trojan caught in the wild by weavejester on Friday June 17, 2011 @07:24AM (#2665103)
On the other hand, it's also a powerful incentive to improve computer security.
Re:Bitcoin trojan caught in the wild by rick888 on Friday June 17, 2011 @06:52PM (#2667403)
No matter how much you improve it, there will be a never ending supply of end users that won't install the proper updates.
Re:Bitcoin trojan caught in the wild by weavejester on Friday June 17, 2011 @10:37PM (#2667780)
Why give them the choice? You could automatically download and apply the updates in the background, given a sufficiently sophisticated updater. That's basically Google's plan with ChromeOS.
Re:Bitcoin trojan caught in the wild by haberman on Thursday June 16, 2011 @11:15PM (#2664195)
Don't worry, we've identified the thief! Put out an arrest warrant for: f7c956f566b11751c4d3f5ca077c0406

More seriously, it's interesting that the people who have been robbed from could observe in detail exactly where their stolen money is flowing to. So close, yet so far away.

Re:Bitcoin trojan caught in the wild by gasull on Thursday June 16, 2011 @09:35PM (#2663978)
A possible solution:

http://forum.bitcoin.org/index.php?topic=18141.0

tl;dr: Create a bitcoin address, backup wallet.dat, delete wallet.dat from your HD, and send your bitcoins to that address.

Re:Bitcoin trojan caught in the wild by gojomo on Thursday June 16, 2011 @10:43PM (#2664129)
Works until the malware scans the disk for keydata remnants from 'deleted' files (or even old swap pages).

And this guy was trying to implement this 'offline savings' strategy, but didn't completely understand the privacy lifecycle and transaction details — and thus last the keys to a $180K balance:

http://forum.bitcoin.org/index.php?topic=11104.0;all

Vanished in a poof of pure logic!

Re:Bitcoin trojan caught in the wild by gasull on Thursday June 16, 2011 @10:52PM (#2664154)
> Works until the malware scans the disk for keydata remnants from 'deleted' files

http://srm.sourceforge.net/

I don't use Windows but there's probably something similar for it.

Re:Bitcoin trojan caught in the wild by gojomo on Friday June 17, 2011 @02:33AM (#2664587)
Even 'srm' and similar tools might not work as expected on a solid-state drive with its own firmware and wear-leveling.

It's possible to protect your bitcoin keys from an arbitrarily-later malware incursion... but very hard, in ways even most power-users don't consider.

I like bitcoin. The current sharp edges and tragic mishaps are useful, for now, for learning about a new medium of exchange, which operates on a logic different from almost anything that we could easily analogize to.

If bitcoin or a successor takes off, I suspect carrying large balances will require specially hardened devices – secure VMs inside handhelds, perhaps?

And, a general desire for some recourse against instant irreversible fraudulent transfers might make the 'finalization' of certain transactions dependent on a remote secondary key approving (or failing to cancel) a payment, within a timeframe sufficient to deliver second-channel notification/confirmation.

Re:Bitcoin trojan caught in the wild by conductr on Thursday June 16, 2011 @11:34PM (#2664225)
Any one else find the FTP password amusing?
Re:Bitcoin trojan caught in the wild by andrewcooke on Friday June 17, 2011 @12:37AM (#2664336)
what's with the random number generation at the start? how does rand() + 3*rand() improve on just rand()?
Re:Bitcoin trojan caught in the wild by mootothemax on Friday June 17, 2011 @03:10AM (#2664652)
There's a great series of answers to this on StackOverflow:

http://stackoverflow.com/questions/3956478/understanding-ran...

In short: doing things like this actually reduces the randomness of the end result.

Re:Bitcoin trojan caught in the wild by simias on Friday June 17, 2011 @08:08AM (#2665189)
Mmh, the "underground code snippet" looks very fishy, unless I'm missing something:

  char * appdata = getenv("APPDATA");
  char * truepath = strcat(appdata, "\\Bitcoin\\wallet.dat");
Re:Bitcoin trojan caught in the wild by Groxx on Thursday June 16, 2011 @08:58PM (#2663900)
>it has one motive: to locate your Bitcoin wallet.dat file and email it to the attacker.

Craziness. They could just send the coins to a Bitcoin address, and it wouldn't identify them at all.

Re:Bitcoin trojan caught in the wild by illumin8 on Thursday June 16, 2011 @09:06PM (#2663918)
Stealing your wallet.dat is easier. With a copy of your private keys they can spend your coins from anywhere, without having to get remote access to your PC and send them locally.
Re:Bitcoin trojan caught in the wild by kinghajj on Thursday June 16, 2011 @09:02PM (#2663910)
Sending bitcoins is a more involved process than simply copying the wallet.dat file, though. If the author is smart, the email cannot be tied to him anyways.
Re:Bitcoin trojan caught in the wild by 27182818284 on Thursday June 16, 2011 @09:38PM (#2663985)
The BTC clients should encrypt the wallet too.
Re:Bitcoin trojan caught in the wild by olalonde on Thursday June 16, 2011 @09:49PM (#2664006)
Uh? Aren't Bitcoin wallets encrypted?
Re:Bitcoin trojan caught in the wild by gasull on Thursday June 16, 2011 @09:52PM (#2664014)
They will be in the coming version.
Re:Bitcoin trojan caught in the wild by maeon3 on Thursday June 16, 2011 @09:36PM (#2663980)
I have an idea that may fix this broken model of Bitcoin. Make sure each penny has a "history" on it on a public server. You can't spend the money unless it is posted for everyone to see. Each transfer of money is documented, and the reason for the transfer and other data. And in order to spend it, you have to validate and review each transfer of money before it. If there is anyone stealing money, it is just a matter of looking at the history of each penny and then tracking down the unique id to the offender who spent the money they didn't earn.

A safe online currency can be done, but if you champion this, the United States government are going to find you, and squish you like the insignificant bug you are. You would be circumventing the primary income stream of the united states with a global standardized currency.

Re:Bitcoin trojan caught in the wild by ghshephard on Thursday June 16, 2011 @09:41PM (#2663990)
Every bitcoin in existence has its history tracked back to it's origin on every single bitcoin node.

There is an optimization for some clients to to pare down that history, but, in general, when you start up a bitcoin node, you have the history of every bitcoin ever created and all of it's transactions that occurred after it.

This history, in fact, is how you can be confident that the bitcoin is authentic - unless you have greater than 50% of the computing power of the network, you can't substitute an alternative history which would result in the coin landing in your hands.

Re:Bitcoin trojan caught in the wild by vegai on Friday June 17, 2011 @02:46AM (#2664605)
That seems like a highly non-scalable solution.
Re:Bitcoin trojan caught in the wild by weavejester on Friday June 17, 2011 @07:22AM (#2665097)
It's not as bad as it seems. VISA only averages 2000 transactions per second, for instance, which isn't actually that much in terms of data.
Re:Bitcoin trojan caught in the wild by BasDirks on Friday June 17, 2011 @01:28AM (#2664449)
Problem with bitcoin: it's an eternal beta. Can't be solved either.
Re:Bitcoin trojan caught in the wild by ck2 on Thursday June 16, 2011 @09:39PM (#2663988)
This is why we can't have nice things.