Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: bensam12345 on March 29, 2015, 04:56:41 PM



Title: Can Bitcoin be hacked and what will be the result if it happens?
Post by: bensam12345 on March 29, 2015, 04:56:41 PM
Can someone find a way to hack Bitcoins or find a way to hack and get the private keys. If it might happen what will happen to Bitcoin? , Is it the worst nightmare a Bitcoin holder can have to wake up one day to see that someone hacked and found a way to extract all the private keys? All opinions and constructive answers are welcome  :D


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: CrackedLogic on March 29, 2015, 05:06:47 PM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Btcvilla on March 29, 2015, 05:15:19 PM
The Bitcoin network it self can be hacked with a 51% attack, which is highely unlikely.

If you ever see on the news "Bitcoin hacked" it likely means an exchange or online wallet was hacked, not Bitcoin it self.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: 1Referee on March 29, 2015, 05:15:58 PM
As described by CrackedLogic, brute forcing private keys is theoretically possible.

But I guess hackers or other tech geeks will need hundreds of years worth of patience. And then still, chances are high that there is not any progress made  :D

Perhaps that a huge botnet can get you a quicker brute force result, but again, it's not very likely. At this point our private keys are safe.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: bensam12345 on March 29, 2015, 05:19:44 PM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)

It is good to hear that Bitcoin will be safe and will take many supercomputers so many years to hack it, it is a good thing to not keep good quantity of bitcoin on online wallets, but rather store it offline in cold storage wallets  :D


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: bensam12345 on March 29, 2015, 05:21:14 PM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)

What if someone reverse engineers the Bitcoin source code and finds a loophole in the system itself? Is it possible?


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Amph on March 29, 2015, 05:44:05 PM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)

brute forcing a private key is only theorically possible, practically will never happen, even using all the supercomputer of the world it would require so much time, that the universe might collapse first, before you finish brute forcing your key


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Hazir on March 29, 2015, 06:16:42 PM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)

brute forcing a private key is only theorically possible, practically will never happen, even using all the supercomputer of the world it would require so much time, that the universe might collapse first, before you finish brute forcing your key
For now you are right. But look at computers and technology we had not so long ago. Do you know that computer on space shuttle NASA had in 70. was less powerful than today's smartphone? Brute forcing a private key may be closer than we think. But then again we should have upgraded code of bitcoin or bitcoin 2.0 by that time too.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: gentlemand on March 29, 2015, 06:36:51 PM
Can someone find a way to hack Bitcoins or find a way to hack and get the private keys. If it might happen what will happen to Bitcoin? , Is it the worst nightmare a Bitcoin holder can have to wake up one day to see that someone hacked and found a way to extract all the private keys? All opinions and constructive answers are welcome  :D

It happened properly once in 2010. 184 billion coins were created out of nowhere. They forked the blockchain and patched the issue. I can imagine if that happened today it would cause a teensy bit more alarm in the wider world.  

https://en.bitcoin.it/wiki/CVE-2010-5139

It seems to be semi forgotten these days but it was a tiny space back then.



Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Somekindabitcoin on March 29, 2015, 06:40:01 PM
Can someone find a way to hack Bitcoins or find a way to hack and get the private keys. If it might happen what will happen to Bitcoin? , Is it the worst nightmare a Bitcoin holder can have to wake up one day to see that someone hacked and found a way to extract all the private keys? All opinions and constructive answers are welcome  :D

It happened properly once in 2010. 184 billion coins were created out of nowhere. They forked the blockchain and patched the issue. I can imagine if that happened today it would cause a teensy bit more alarm in the wider world. 

https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures#CVE-2010-5139



If someone were to dump them and withdraw the money fast enough, they could make out with tons.

Also for the private key, you could generate trillions of random codes (2048 bit I think?) and maybe make a password list to try and brute force it.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: bensam12345 on March 29, 2015, 06:41:46 PM
Can someone find a way to hack Bitcoins or find a way to hack and get the private keys. If it might happen what will happen to Bitcoin? , Is it the worst nightmare a Bitcoin holder can have to wake up one day to see that someone hacked and found a way to extract all the private keys? All opinions and constructive answers are welcome  :D

It happened properly once in 2010. 184 billion coins were created out of nowhere. They forked the blockchain and patched the issue. I can imagine if that happened today it would cause a teensy bit more alarm in the wider world.  

https://en.bitcoin.it/wiki/CVE-2010-5139

It seems to be semi forgotten these days but it was a tiny space back then.



Yeah, it is buried in history, people are ready to find any small loophole the system might have  :D


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Minerjoe on March 29, 2015, 06:51:59 PM
The wallet of each particular user can be hacked, it theory. BTC, as a system. no way.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: bensam12345 on March 29, 2015, 06:53:41 PM
The wallet of each particular user can be hacked, it theory. BTC, as a system. no way.

So Bitcoin system can be called as the triumph of maths and cryptography?


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: gentlemand on March 29, 2015, 07:54:37 PM
The wallet of each particular user can be hacked, it theory. BTC, as a system. no way.

So Bitcoin system can be called as the triumph of maths and cryptography?

Not far off. I'm sure thousands of hackers have been trying to bust it wide open for years on end. They've failed miserably apart from that one hiccup. I assume those who've chucked their time and big bucks in researched it ruthlessly before taking the plunge. 


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: redsn0w on March 29, 2015, 07:58:54 PM
It was happened also this thing :

Hello,

there has been a lot of reused R values in the signatures on the blockchain, recently.  This exposed many private keys.  After googleing the addresses, I think it is related to Counterparty (XCP).  Here is a list of the exposed addresses in alphabetic order.  Most keys were exposed very recently, i.e., in the last week.

If you own one of the following addresses, you should transfer the money to a fresh address (before someone else does it for you).  Also figure out, which client has the bug that revealed the private key by reusing R values.  Then notify the author of that tool.
....


It "was not related" with the bitcoin code itselft but with a bad generation of the private key (and address).

This is an interesting article (about that situation) :

Upon running the script last Monday morning, he said he recognized immediately that it had found something. The script, which had discovered only about 500 such 'broken' keys in the bitcoin blockchain's five-year history, had suddenly unveiled 500 more in a single day. A second script he wrote scanned the public ledger to see if any funds had been sent to those addresses, and was startled to see the amount. "I had prepared some scripts to assist finding and spending the money from the broken addresses, but I hadn't prepared it for this scale." He sorted the transactions, starting with the most valuable ones and sweeping the funds from the broken addresses into one he controlled. The scripts prepared and signed the transactions, double-checking for correctness and transaction fees, about one every two or three minutes. Some, such as freshly mined bitcoins that can only be spent after 100 confirmations, took longer.


http://www.coindesk.com/good-samaritan-blockchain-hacker-returned-255-btc-speaks/


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: dothebeats on March 29, 2015, 08:05:18 PM
Can someone find a way to hack Bitcoins or find a way to hack and get the private keys. If it might happen what will happen to Bitcoin? , Is it the worst nightmare a Bitcoin holder can have to wake up one day to see that someone hacked and found a way to extract all the private keys? All opinions and constructive answers are welcome  :D

Apparently, Bitcoin can be hacked theoretically, and brute-forcing, that is. There is no easy way to achieve brute-forcing. It requires a massive amount of computing power before being able to achieve such a feat. And by that, it means that even the supercomputers in existence wouldn't be able to solve it in a short span of time.

Going back to the question, yes it can, theoretically, but in the current times, it is highly improbable.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: odolvlobo on March 29, 2015, 08:23:29 PM
What if someone reverse engineers the Bitcoin source code and finds a loophole in the system itself? Is it possible?

It would be more effective for you to do more research before asking questions like this.

First of all, there is no "the Bitcoin source code". Originally, people used the original Bitcoin client written by Satoshi, and then they wrote their own software derived from Satoshi's source code. These days there are several completely independent sets of what you call "Bitcoin source code".

Now to answer your question: There is no need to reverse engineer anything. Nothing about Bitcoin is secret. It is 100% transparent. Notice that I used the word "derived" above. That's right. Anyone that wants to look at or use Satoshi's (et al.) "Bitcoin source code" can. It is right here: https://github.com/bitcoin/bitcoin


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: jonald_fyookball on March 29, 2015, 08:28:33 PM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)

What if someone reverse engineers the Bitcoin source code and finds a loophole in the system itself? Is it possible?

It is theoretically possible to find a loophole in any system.

But so far in 6 years no one has hacked the Bitcoin system as such.
The most viable attack vector is the 51% attack.



Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: bensam12345 on March 29, 2015, 08:29:47 PM
What if someone reverse engineers the Bitcoin source code and finds a loophole in the system itself? Is it possible?

It would be more effective for you to do more research before asking questions like this.

First of all, there is no "the Bitcoin source code". Originally, people used the original Bitcoin client written by Satoshi, and then they wrote their own apps derived from the Satoshi's source code. These days there are several completely independent sets of "Bitcoin source code".

Now to answer your question: There is no need to reverse engineer anything. Nothing about Bitcoin is secret. It is 100% transparent. Notice that I used the word "derived" above. That's right. Anyone that wants to look at or use the original "Bitcoin source code" can. It is right here: https://github.com/bitcoin/bitcoin


Ok thanks for letting me know, I am relatively new to Bitcoins and I am very much interested in the inner workings of the Bitcoins, so it is a group effort to over write the original source code from Satoshi, does someone verifies the integrity of new codes added or someone can manipulate as it was done earlier by creating false Bitcoins? Thanks and I'm just curious about all this as i think it will be the future of money  :D


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: MicroGuy on March 29, 2015, 11:31:36 PM
Ok thanks for letting me know, I am relatively new to Bitcoins and I am very much interested in the inner workings of the Bitcoins, so it is a group effort to over write the original source code from Satoshi, does someone verifies the integrity of new codes added or someone can manipulate as it was done earlier by creating false Bitcoins? Thanks and I'm just curious about all this as i think it will be the future of money  :D

I think there needs to be tighter constraints over how the bitcoin core is updated. At the moment, the power is concentrated in a tiny group of developers that can pretty much take liberties as they choose. Most likely, the solution will be to spread the world's wealth across multiple blockchains.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: PolarPoint on March 29, 2015, 11:53:00 PM
I think bitcoin can be hacked in the future when computing power escalates. When the devs see SHA256 is starting to be weak, they will change to SHA512 and so on. The bitcoin protocol is not fixed, it can be changed when the community agree on it.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: fonenumba on March 30, 2015, 04:58:59 AM
Can someone find a way to hack Bitcoins or find a way to hack and get the private keys. If it might happen what will happen to Bitcoin? , Is it the worst nightmare a Bitcoin holder can have to wake up one day to see that someone hacked and found a way to extract all the private keys? All opinions and constructive answers are welcome  :D
Sure anything is possible. Someone could, in theory figure out a way to reverse calculate the epileptic curve, however I doubt that this is actually possible.

If someone wanted to steal bitcoin from people, a more efficient way would probably be to do so via either social engineering, malware or some other weakness in someone's security.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: LandofBitcoins on March 30, 2015, 05:04:22 AM


Bitcoin has grown past the point of being hacked by any person or group of people...

This video will explain it all>>>> http://landofbitcoin.science/understand-bitcoin-better/   ;)



Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: lucasjkr on March 30, 2015, 05:06:11 AM
On a protocol level, private keys appear safe from people attacking or analyzing the block chain; of the private key fur any address can be extracted, that will be it for Bitcoin. But if that happens, lots of other things far more valuable will fall apart as well.

But ln the individual level, the threat of Any one persons key getting stolen can be substantial if they aren't taking adequate steps to protect themselves.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: gadman2 on March 30, 2015, 07:17:16 AM
Can bitcoin be hacked: Yes
The Result: At least 1 fork and a whole lot of fixes/improvements.

Answer solved. No need for thread to continue.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: kelsey on March 30, 2015, 07:33:54 AM
I think there needs to be tighter constraints over how the bitcoin core is updated. At the moment, the power is concentrated in a tiny group of developers that can pretty much take liberties as they choose. Most likely, the solution will be to spread the world's wealth across multiple blockchains.

wow I actually agree with microguy on something, especially when Andresen openly admits he only has to convince 5 people in order to change anything on bitcoin.

oddly enough at the same time many of the powers to be within bitcoin what sidechains to replace and eliminate alternatives..............................................................dange rous path.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Kprawn on March 30, 2015, 08:07:57 AM
Watch this video https://www.youtube.com/watch?v=ZloHVKk7DHk and tell me if you still think it's possible to brute force a private key?

If that happens, everything will collapse around Bitcoin until SHA512 is implemented and they will have to start over again.

This is not a real issue in my opinion... be more worried about 3rd party software being hacked that is built on top of the protocol.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: abyrnes81 on March 30, 2015, 09:14:09 AM
Private key could be hacked if you have billion of quantum supercomputer & some patience ::)
But, bitcoin network could be hacked if someone could hack every nodes & miners in bitcoin network (if anyone can do it :P)

No, it is impossible to find (bruteforce) a number = 10^48 .... Have you seen how it is big that number or not? You need 100 years of time and maybe you can find only one bitcoin private key (converted in binary code). It is not so simple as you think, come one mate... this is math!


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Snail2 on March 30, 2015, 09:33:49 AM
There are no 100% secure system. However hacking bitcoin needs munch more effort then the value you can get in return.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Agestorzrxx on March 30, 2015, 10:38:10 AM
Lots of service depends on SHA256 algorithm, if it was hacked, the effect is not only for bitcoin.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Q7 on March 30, 2015, 10:53:36 AM
There is no way for you to find out the private key just by knowing the public key but you can certainly brute force. However the probability using this method to find a private key that actually holds bitcoin is low. To hack the network you will need considerable hash rate to do so, thus overall in general very much unlikely.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Lauda on March 30, 2015, 11:02:37 AM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)
This is a serious understatement. Are you trying to do this on purpose or is it the lack knowledge?
https://i.imgur.com/fYFBsqp.jpg

Can bitcoin be hacked: Yes
The Result: At least 1 fork and a whole lot of fixes/improvements.
Exactly. Everything can be hacked. If we stood united during/after the hack we would easily recover. The development would definitely speed up.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: redsn0w on March 30, 2015, 11:06:43 AM
Lots of service depends on SHA256 algorithm, if it was hacked, the effect is not only for bitcoin.

Yes of course, if someone will break the sha256 algorithm I am sure the first target will be the bank system and not the bitcoin. Most people will think that the actual banks are safe but they are wrong.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Morenod on March 30, 2015, 11:15:39 AM
The bitcoin code is hacked every day and the result is some new shitcoin. Yes, it can be hacked and is hacked all the time but there is no successful exploit.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: DarkHyudrA on March 30, 2015, 01:18:11 PM
Ok thanks for letting me know, I am relatively new to Bitcoins and I am very much interested in the inner workings of the Bitcoins, so it is a group effort to over write the original source code from Satoshi, does someone verifies the integrity of new codes added or someone can manipulate as it was done earlier by creating false Bitcoins? Thanks and I'm just curious about all this as i think it will be the future of money  :D

I think there needs to be tighter constraints over how the bitcoin core is updated. At the moment, the power is concentrated in a tiny group of developers that can pretty much take liberties as they choose. Most likely, the solution will be to spread the world's wealth across multiple blockchains.

If the actual developers take the wrong path that nobody accepts, we can fork Bitcoin.
Remember that its the people that chooses or not to upgrade their clients and daemons to the new release.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: SebastianJu on March 30, 2015, 01:26:41 PM
You shouldnt care so much about bitcoin hacked but about your smartphone or notebook hacked. It contains your wallet most probably and if a hacker could get into your computer then he might be able to steal from you. Thats why solutions like armory exist where you can hold your wallet away from internet.

If you have your coins in an online wallet website then you have risks of they stealing it or hackers stealing from the website.

While im at it... make backups of your wallet. You dont want to wake up, finding that your harddisc is broken and that you lost your coins on the way.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: bensam12345 on March 30, 2015, 02:22:53 PM
Lots of service depends on SHA256 algorithm, if it was hacked, the effect is not only for bitcoin.

Yes of course, if someone will break the sha256 algorithm I am sure the first target will be the bank system and not the bitcoin. Most people will think that the actual banks are safe but they are wrong.

So it is safe with sha256 algorithm, good, but I'm sure many people are working towards trying to hack it, many things what people thought impossible when later people achieved by finding simple solutions, I think it is just a matter of when and I think it will rarely ever happen during our life times  :D


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: lucasjkr on March 30, 2015, 04:05:23 PM
Private key could be hacked if you have billion of quantum supercomputer & some patience ::)
But, bitcoin network could be hacked if someone could hack every nodes & miners in bitcoin network (if anyone can do it :P)

No, it is impossible to find (bruteforce) a number = 10^48 .... Have you seen how it is big that number or not? You need 100 years of time and maybe you can find only one bitcoin private key (converted in binary code). It is not so simple as you think, come one mate... this is math!


For attacking any given key, you needs far far far more time than 100 years. If it was just 100 years, with moores law doubling power every 2, Youd probably only be looking at 10 or 12 years tops (I know the math isn't difficult, I'm just on my phone not bothering to look it up).

I've been curious about the effort to attack a private key that was generated in a controlled environment that you can recreate; say if a key was generated in a VM, if one recreated that VM in its entirety, platform, OS, any serial numbers, MAC address, system time, etc, would that shorten the time taken to attack a private key? Like, what sources does a VM have or use for generating random numbers, since everything, even hardware RNGs is then virtualized.

Can anyone give insight on that?


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: TheGr33k on March 30, 2015, 04:13:28 PM
The Private keys can be brute forced. But I don't think you're going to find the correct combination if you do so very easily or soon. It will take some of the world's super computers years to do that, millions.
However, if you're keeping your bitcoin on a Online wallet just consider your bitcoins lost/hacked already ;)
Is the 51% attack where someone gains control over most of the network? How would that work


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: redsn0w on March 30, 2015, 04:14:17 PM
Private key could be hacked if you have billion of quantum supercomputer & some patience ::)
But, bitcoin network could be hacked if someone could hack every nodes & miners in bitcoin network (if anyone can do it :P)

No, it is impossible to find (bruteforce) a number = 10^48 .... Have you seen how it is big that number or not? You need 100 years of time and maybe you can find only one bitcoin private key (converted in binary code). It is not so simple as you think, come one mate... this is math!


For attacking any given key, you needs far far far more time than 100 years. If it was just 100 years, with moores law doubling power every 2, Youd probably only be looking at 10 or 12 years tops (I know the math isn't difficult, I'm just on my phone not bothering to look it up).

I've been curious about the effort to attack a private key that was generated in a controlled environment that you can recreate; say if a key was generated in a VM, if one recreated that VM in its entirety, platform, OS, any serial numbers, MAC address, system time, etc, would that shorten the time taken to attack a private key? Like, what sources does a VM have or use for generating random numbers, since everything, even hardware RNGs is then virtualized.

Can anyone give insight on that?

The generation of a private key is not related with the "machine" itself, so also if you can recrete that exact instance you will not be able to get that "key" a second time. I hope you have seen this video :

- https://www.youtube.com/watch?v=ZloHVKk7DHk

I think you will understand a lot of things.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: jabo38 on March 31, 2015, 02:01:15 AM
the protocol itself is pretty safe

all the third parties running on it, not so much


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Btcvilla on March 31, 2015, 02:06:56 AM
the protocol itself is pretty safe

all the third parties running on it, not so much
Thats why I always say to trust only your self with your Bitcoin, its only a matter of time till Coinbase or Circle gets hacked.


Title: Thread: Can Bitcoin be hacked and what will be the result if it happens?
Post by: ZeroTheGreat on March 31, 2015, 02:09:25 AM
So Bitcoin system can be called as the triumph of maths and cryptography?
Nope. Cryptocurrencies can. Bitcoin — just first and so far most popular and "big" product of technology with its own strengths and weaknesses


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: lucasjkr on March 31, 2015, 04:31:58 PM
I understand a lot of things. Like that public key encryption depends on random number generators. And that random number generators can either be hardware or in software. A VM, without a paravirtualized driver to access a hardware RNG, needs to depend on a software RNG. And entropy can be a real issue for virtual machines.

Your video explains how secure bitcoin can be by virtue of the large keyspace, where a random number generator helps you generate a key from anywhere within that keyspace. But it doesn't address my question, where keys are generated on a platform that might not have access to true random numbers.

From: http://log.amitshah.net/2013/01/about-random-numbers-and-virtual-machines/

Quote
On a system without any special hardware, Linux seeds its entropy pool from sources like keyboard and mouse input, disk IO, network IO, and any other sources whose kernel modules indicate they are capable of adding to the kernel’s entropy pool.

For servers, keyboard and mouse inputs are rare (most don’t even have a keyboard / mouse connected).  This makes getting true random numbers difficult: applications requesting random numbers from /dev/random have to wait for indefinite periods to get the randomness they desire (like creating ssh keys, typically during firstboot.).
...
Virtual machines are similar to server setups: there is very little going on in a VM’s environment for the guest kernel to source random data.  A server that hosts several VMs may still have a lot of disk and network IO happening as a result of all the VMs it hosts, but a single VM may not be doing much to itself generate enough entropy for its applications.  One solution, therefore, to sourcing random numbers in VMs is to ask the host for a portion of the randomness it has collected, and feed them into the guest’s entropy pool.  A paravirtualized hardware random number generator exists for KVM VMs.  The device is called virtio-rng, and as the name suggests, the device sits on top of the virtio PV framework.  The Linux kernel gained support for virtio-rng devices in kernel 2.6.26 (released in 2008).  The QEMU-side device was added in the recent 1.3 release.

Weak random numbers were the cause of the thefts from Android generated wallets a couple of years ago. And it sounds like there are still issue with generating random numbers in virtual machines.

My question is still open.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: BillyBobZorton on March 31, 2015, 05:54:40 PM
Bitcoin within itself cannot be hacked, theoretically yes, practically no. What can be hacked tho, is people's computer if they don't take care of it. That's how Bitcoins get stolen. The system itself is bulletproof.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: Klestin on March 31, 2015, 07:53:14 PM
Weak random numbers were the cause of the thefts from Android generated wallets a couple of years ago. And it sounds like there are still issue with generating random numbers in virtual machines.
My question is still open.

Cryptographically secure random numbers are used in a wide variety of computer security systems.  It really isn't rocket science to do it correctly.  The developers in question simply didn't do their job correctly.  If you'd like to be even more stringent, there are several deterministic wallet solutions that use real-world (physical) entropy for the random seed.  


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: galbros on April 01, 2015, 12:04:45 AM
the protocol itself is pretty safe

all the third parties running on it, not so much

I think this is a pretty good summary.  Sites like directory.io, which creep me out even though it has been discredited, suggests there's some potential issues that we haven't seen yet.  But overall Bitcoin is pretty solid.


Title: Re: Can Bitcoin be hacked and what will be the result if it happens?
Post by: lucasjkr on April 01, 2015, 12:49:31 AM
Weak random numbers were the cause of the thefts from Android generated wallets a couple of years ago. And it sounds like there are still issue with generating random numbers in virtual machines.
My question is still open.

Cryptographically secure random numbers are used in a wide variety of computer security systems.  It really isn't rocket science to do it correctly.  The developers in question simply didn't do their job correctly.  If you'd like to be even more stringent, there are several deterministic wallet solutions that use real-world (physical) entropy for the random seed.  

Yea. Wee still passing the buck, though. "Developed weren't strungent". YaDa yada yada. Point being that random numbers are only as random as the computer has random inputs; virtual machines are terrible entropy wise.

Yes, implemented correctly, Bitcoin is very strong. But an attaxker wnt attack the strongest point, they'll attack the weakest; I'd wager that any implementation running on a VM is going to have a lot more potential vulnerabilities, whether it's memory dumps or recreating the pool of entropy sources in order to "back into" the private keys.

That goes for services running in VM's, VMs that people create as pseudo cold storage devices or even (and ill have to read up more) keys generated on Tails live Cd's now that electrum is included.

It's easy to look at the reference white papers and say "implemented correctly, Bitcoin is as close to 100% secure as is possible", but know that no attacker will attack the strongest point. We need to review examine and discuss all of the weakest links and see how vulnerable those point are, and bring those to peoples attention so they know to avoid those.

The android RNG flaw for example; everyone assumed that Googke wouldn't release shoddy code like that, so android was trusted, people only looked above that later, it was inly after a lot of coins went missing that people realized that the platform itself was the problem.