Author

Topic: Does bitcoin make 0day vulnerabilities alot more valuable (Read 747 times)

legendary
Activity: 1358
Merit: 1000
 Use virtual LANs (IPsec) to protect the contents of individual transmissions.
 Deploy an intrusion detection system (stateful firewall.
 Introduce network access control to prevent rogue machines from gaining access to the wire.
 Lock down wireless access points and use a security scheme like Wi-Fi Protected Access or WPA2 for maximum protection against wireless-based attacks.

http://www.eweek.com/security/slideshows/10-ways-to-protect-yourself-from-the-zero-day-ie-exploit.html/

http://techblog.avira.com/2014/04/30/how-to-protect-yourself-against-the-zero-day-exploit-for-internet-explorer-6-to-11/en/

http://www.fireeye.com/platform/why-fireeye.html
sr. member
Activity: 448
Merit: 250
But then again you only need enough security to make circumventing it unprofitable.

I agree, so that limits how much money one should keep in bitcoin.
at Pwn2Own 2014 VUPEN used 11 distinct 0day vulnerabilities to compromise fully updated Internet Explorer 11, Adobe Reader XI, Google Chrome, Adobe Flash, and Mozilla Firefox on a 64-bit version of Windows 8.1 for a reward of 400,000$.
https://en.wikipedia.org/wiki/Pwn2Own#Contest_2014

I'd say developing vulnerabilities to compromise all of that should be at least as expensive as developing 2-3 0days to compromise bitstamp for example.
so as a rule of thumb I'd say anyone who has more than 400,000$ in bitcoin and uses the usual hot-cold pc cold sotrage method is a profitable target.
legendary
Activity: 1734
Merit: 1015
Also it isn't necessary to use the USB stick at all. You can just type in the whole Tx Hex while reading it from the device (might take a few tries but it would definitely work). You can always be sure nothing has been leaked by just examining the data you are about to carry over from the device to an online computer before you feed them to the online computer - not the hardest of things to do.

what if the private key has been leaked in the signature itself, you won't know its been leaked unless you compute the signature yourself first using pen and paper and then compare it to the output of the signed transaction.

i bet no one at bitstamp or any other big exchange works like this anyway, the only hardware wallet (that at least i know of) that exists today is trezor and it actually connects to a pc using usb so there are alot of attack vectors there just by exploiting the usb code.
and unless the big exchanges pre-ordered a trezor they probably don't even use a hardware wallet so in practice their cold storage is most likely a Linux/windows pc that signs the cold storage transactions.


It could be encoded in the signed Tx which is why you'd have to examine everything (you could use an additional device checking it, but then again this one could be compromised as well). All in all there will never be a 100% secure method of storing bitcoins but thats the case with everything digital - nothing is 100% secure.
There are however things that can be done to increase security. I agree that the big exchanges probably don't do all that and I agree that trezor offers way too many attack vectors. I wouldn't ever use such a thing and I think it doesn't have a future either.

Bitcoin security is really tricky and I love brainstorming about it but theres always a way around all that security that I can either come up with, or someone else can, or future technologies can.
But then again you only need enough security to make circumventing it unprofitable.
legendary
Activity: 1734
Merit: 1015

if you have a hardware wallet that makes its own private key away from windows/linux and the internet. a person funds it through the public key,

and all the hardware wallet has is a camera(read QR code for destination) and a numeric keypad (type in amount).

then a hardware wallet will only ever ask for initial balance update (typed in), how much to spend (typed in), destination(scan QR code). and display a signed transaction as a easy to display QR code.(on screen)

it would not need to go to the internet to check balance. it would send the 'change' back to address it owns.

the only information in would be destination and amounts. and the only information coming out is a signed TX

.. oh and the sourcecode never gets updated, so no worries of trojaned firmware updates.

.. now thats how i perceive a true hardware wallet.

What do you mean by "initial balance update"? If you mean you tell the device how much money are on the address (addresses?), then that won't work. In order to create a transaction you do not need to know the balance of an address. The only thing you need to know is the output of the transaction that has send the money to the address because this is what has to be referenced in a transaction in order for it to be valid. So what you'd need to make the device know is what unspent outputs are on the addresses it uses.
Theres an easy way to do this... by just using SPV data which is very small and therefore can be easily fed to the device.

imagine today you deposited 3btc.
even without the hardware wallet needing to know how much is already there.. its a user friendly 'benifit' just for estimating balance before and after each tx, purely so the user can on different days get a rough idea of how much is left or the wallet prompt that funds are getting low, to ensure the transaction occurs based on a basic balance total calculator.

there is no point someone wasting a few seconds either checking the blockchain with their eyes before then using the hardware wallet. there is no point making a signed tx without atleast the person knowing for sure that there are funds remaining. thus typing in an initial figure now and again atleast allows a guestimate balance to be displayed (more of a benefit then a required function)


I can see how it's good for an estimate of how much money is on the device. However, I think it would be preferred to have the exact balance plus the ability to produce transactions by simply feeding it SPV data now and then. Unfortunately, no hardware wallet I am aware of offers this option as of today (and certainly not the portable ones which often require you to carry a tracking device [Smartphone?] in order to produce transactions)
sr. member
Activity: 448
Merit: 250
Also it isn't necessary to use the USB stick at all. You can just type in the whole Tx Hex while reading it from the device (might take a few tries but it would definitely work). You can always be sure nothing has been leaked by just examining the data you are about to carry over from the device to an online computer before you feed them to the online computer - not the hardest of things to do.

what if the private key has been leaked in the signature itself, you won't know its been leaked unless you compute the signature yourself first using pen and paper and then compare it to the output of the signed transaction.

i bet no one at bitstamp or any other big exchange works like this anyway, the only hardware wallet (that at least i know of) that exists today is trezor and it actually connects to a pc using usb so there are alot of attack vectors there just by exploiting the usb code.
and unless the big exchanges pre-ordered a trezor they probably don't even use a hardware wallet so in practice their cold storage is most likely a Linux/windows pc that signs the cold storage transactions.
and so basically its very possible that tens of millions are at the mercy of the security of common Linux/windows computers.

legendary
Activity: 4410
Merit: 4766

if you have a hardware wallet that makes its own private key away from windows/linux and the internet. a person funds it through the public key,

and all the hardware wallet has is a camera(read QR code for destination) and a numeric keypad (type in amount).

then a hardware wallet will only ever ask for initial balance update (typed in), how much to spend (typed in), destination(scan QR code). and display a signed transaction as a easy to display QR code.(on screen)

it would not need to go to the internet to check balance. it would send the 'change' back to address it owns.

the only information in would be destination and amounts. and the only information coming out is a signed TX

.. oh and the sourcecode never gets updated, so no worries of trojaned firmware updates.

.. now thats how i perceive a true hardware wallet.

What do you mean by "initial balance update"? If you mean you tell the device how much money are on the address (addresses?), then that won't work. In order to create a transaction you do not need to know the balance of an address. The only thing you need to know is the output of the transaction that has send the money to the address because this is what has to be referenced in a transaction in order for it to be valid. So what you'd need to make the device know is what unspent outputs are on the addresses it uses.
Theres an easy way to do this... by just using SPV data which is very small and therefore can be easily fed to the device.

imagine today you deposited 3btc.
even without the hardware wallet needing to know how much is already there.. its a user friendly 'benifit' just for estimating balance before and after each tx, purely so the user can on different days get a rough idea of how much is left or the wallet prompt that funds are getting low, to ensure the transaction occurs based on a basic balance total calculator.

there is no point someone wasting a few seconds either checking the blockchain with their eyes before then using the hardware wallet. there is no point making a signed tx without atleast the person knowing for sure that there are funds remaining. thus typing in an initial figure now and again atleast allows a guestimate balance to be displayed (more of a benefit then a required function)
legendary
Activity: 1734
Merit: 1015
before bitcoin having a 0day in windows/Linux meant you could steal information, which wasn't all the profitable as you probably had to find someone willing to buy it.
today having a 0day in windows/Linux means you can anonymously rob a bitcoin exchange/whale and instantly become a millionaire.
sure you could say hackers could always steal banking credentials and steal money that way.
but banks usually call their customers when they attempt to make large wire transfers, no such luck with bitcoin.


Exchanges / Whales have the private keys to most of their bitcoins on devices that have never been connected to the internet.
It's more like they can rob a few people that are to ignorant to secure their coins.

even if the device isn't connected to the internet transactions have to go in and out of it to be signed.
if there is a vulnerability in the code that does the signing a hacker could steal the private keys from the signing device.

But that doesn't have anything to do with 0day Windows/Linux vulnerabilities, which is what you asked for. It's rather a problem of the wallet software used on the device, but thats a general problem which is unrelated to Windows/Linux vulnerabilities.

Also, transactions do not necessarily have to go in to be signed. It is possible to feed the device the necessary information about previous outputs without connecting it to the internet. This allows the device to create and sign transactions in one go. They can then be put on an unused USB stick and taken to an Internet connected computer to be broadcast.

if you feed the device any information its possible, some would even say probable, that the code that parses this information has a vulnerability somewhere which would allow an attacker to take control of the signing device and leak the private keys into the USB stick.
obviously exploiting custom embedded systems takes more effort than commonly used windows or linux machines, but it can be done and considering the reward seems even probable.

The probability that any code has a vulnerability is always there. Again thats nothing specific to a Windows/Linux vulnerability or any vulnerability of any code that runs on specific device.
Of course you are right that such a vulnerability could result in a loss of coins but thats a vulnerability of software specifically made for a device specifically made for keeps your coins secure. It's not a general 0 day Windows/Linux vulnerability.

In your example one simply shouldn't connect the USB stick to a device connected to the Internet before deleting the additional information that has been leaked on the USB stick. It's not like you can hide it so there shouldn't be a problem just deleting it. This can add an additional level of security.

Also it isn't necessary to use the USB stick at all. You can just type in the whole Tx Hex while reading it from the device (might take a few tries but it would definitely work). You can always be sure nothing has been leaked by just examining the data you are about to carry over from the device to an online computer before you feed them to the online computer - not the hardest of things to do.



if you have a hardware wallet that makes its own private key away from windows/linux and the internet. a person funds it through the public key,

and all the hardware wallet has is a camera(read QR code for destination) and a numeric keypad (type in amount).

then a hardware wallet will only ever ask for initial balance update (typed in), how much to spend (typed in), destination(scan QR code). and display a signed transaction as a easy to display QR code.(on screen)

it would not need to go to the internet to check balance. it would send the 'change' back to address it owns.

the only information in would be destination and amounts. and the only information coming out is a signed TX

.. oh and the sourcecode never gets updated, so no worries of trojaned firmware updates.

.. now thats how i perceive a true hardware wallet.

What do you mean by "initial balance update"? If you mean you tell the device how much money are on the address (addresses?), then that won't work. In order to create a transaction you do not need to know the balance of an address. The only thing you need to know is the output of the transaction that has send the money to the address because this is what has to be referenced in a transaction in order for it to be valid. So what you'd need to make the device know is what unspent outputs are on the addresses it uses.
Theres an easy way to do this... by just using SPV data which is very small and therefore can be easily fed to the device.
legendary
Activity: 4410
Merit: 4766
if you have a hardware wallet that makes its own private key away from windows/linux and the internet. a person funds it through the public key,

and all the hardware wallet has is a camera(read QR code for destination) and a numeric keypad (type in amount).

then a hardware wallet will only ever ask for initial balance update (typed in), how much to spend (typed in), destination(scan QR code). and display a signed transaction as a easy to display QR code.(on screen)

it would not need to go to the internet to check balance. it would send the 'change' back to address it owns.

the only information in would be destination and amounts. and the only information coming out is a signed TX

.. oh and the sourcecode never gets updated, so no worries of trojaned firmware updates.

.. now thats how i perceive a true hardware wallet.
sr. member
Activity: 448
Merit: 250
before bitcoin having a 0day in windows/Linux meant you could steal information, which wasn't all the profitable as you probably had to find someone willing to buy it.
today having a 0day in windows/Linux means you can anonymously rob a bitcoin exchange/whale and instantly become a millionaire.
sure you could say hackers could always steal banking credentials and steal money that way.
but banks usually call their customers when they attempt to make large wire transfers, no such luck with bitcoin.


Exchanges / Whales have the private keys to most of their bitcoins on devices that have never been connected to the internet.
It's more like they can rob a few people that are to ignorant to secure their coins.

even if the device isn't connected to the internet transactions have to go in and out of it to be signed.
if there is a vulnerability in the code that does the signing a hacker could steal the private keys from the signing device.

But that doesn't have anything to do with 0day Windows/Linux vulnerabilities, which is what you asked for. It's rather a problem of the wallet software used on the device, but thats a general problem which is unrelated to Windows/Linux vulnerabilities.

Also, transactions do not necessarily have to go in to be signed. It is possible to feed the device the necessary information about previous outputs without connecting it to the internet. This allows the device to create and sign transactions in one go. They can then be put on an unused USB stick and taken to an Internet connected computer to be broadcast.

if you feed the device any information its possible, some would even say probable, that the code that parses this information has a vulnerability somewhere which would allow an attacker to take control of the signing device and leak the private keys into the USB stick.
obviously exploiting custom embedded systems takes more effort than commonly used windows or linux machines, but it can be done and considering the reward seems even probable.
legendary
Activity: 1734
Merit: 1015
before bitcoin having a 0day in windows/Linux meant you could steal information, which wasn't all the profitable as you probably had to find someone willing to buy it.
today having a 0day in windows/Linux means you can anonymously rob a bitcoin exchange/whale and instantly become a millionaire.
sure you could say hackers could always steal banking credentials and steal money that way.
but banks usually call their customers when they attempt to make large wire transfers, no such luck with bitcoin.


Exchanges / Whales have the private keys to most of their bitcoins on devices that have never been connected to the internet.
It's more like they can rob a few people that are to ignorant to secure their coins.

even if the device isn't connected to the internet transactions have to go in and out of it to be signed.
if there is a vulnerability in the code that does the signing a hacker could steal the private keys from the signing device.

But that doesn't have anything to do with 0day Windows/Linux vulnerabilities, which is what you asked for. It's rather a problem of the wallet software used on the device, but thats a general problem which is unrelated to Windows/Linux vulnerabilities.

Also, transactions do not necessarily have to go in to be signed. It is possible to feed the device the necessary information about previous outputs without connecting it to the internet. This allows the device to create and sign transactions in one go. They can then be put on an unused USB stick and taken to an Internet connected computer to be broadcast.
sr. member
Activity: 448
Merit: 250
before bitcoin having a 0day in windows/Linux meant you could steal information, which wasn't all the profitable as you probably had to find someone willing to buy it.
today having a 0day in windows/Linux means you can anonymously rob a bitcoin exchange/whale and instantly become a millionaire.
sure you could say hackers could always steal banking credentials and steal money that way.
but banks usually call their customers when they attempt to make large wire transfers, no such luck with bitcoin.


Exchanges / Whales have the private keys to most of their bitcoins on devices that have never been connected to the internet.
It's more like they can rob a few people that are to ignorant to secure their coins.

even if the device isn't connected to the internet transactions have to go in and out of it to be signed.
if there is a vulnerability in the code that does the signing a hacker could steal the private keys from the signing device.
legendary
Activity: 1734
Merit: 1015
before bitcoin having a 0day in windows/Linux meant you could steal information, which wasn't all the profitable as you probably had to find someone willing to buy it.
today having a 0day in windows/Linux means you can anonymously rob a bitcoin exchange/whale and instantly become a millionaire.
sure you could say hackers could always steal banking credentials and steal money that way.
but banks usually call their customers when they attempt to make large wire transfers, no such luck with bitcoin.


Exchanges / Whales have the private keys to most of their bitcoins on devices that have never been connected to the internet.
It's more like they can rob a few people that are too ignorant to secure their coins.
sr. member
Activity: 448
Merit: 250
before bitcoin having a 0day in windows/Linux meant you could steal information, which wasn't all the profitable as you probably had to find someone willing to buy it.
today having a 0day in windows/Linux means you can anonymously rob a bitcoin exchange/whale and instantly become a millionaire.
sure you could say hackers could always steal banking credentials and steal money that way.
but banks usually call their customers when they attempt to make large wire transfers, no such luck with bitcoin.
Jump to: