Bitcoin Forum
May 13, 2024, 02:02:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 »  All
  Print  
Author Topic: [TRC] [DISCLOSURE] Terracoin Difficulty Collapse Exploit  (Read 10114 times)
wmikrut
Hero Member
*****
Offline Offline

Activity: 631
Merit: 501



View Profile WWW
April 12, 2013, 01:00:19 AM
 #41

Ok... I redirected my ~7Gh into TRC P2Pool:
http://www.wmikrut.com:9322/static/

That's all I have.


I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715565731
Hero Member
*
Offline Offline

Posts: 1715565731

View Profile Personal Message (Offline)

Ignore
1715565731
Reply with quote  #2

1715565731
Report to moderator
1715565731
Hero Member
*
Offline Offline

Posts: 1715565731

View Profile Personal Message (Offline)

Ignore
1715565731
Reply with quote  #2

1715565731
Report to moderator
1715565731
Hero Member
*
Offline Offline

Posts: 1715565731

View Profile Personal Message (Offline)

Ignore
1715565731
Reply with quote  #2

1715565731
Report to moderator
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
April 12, 2013, 01:12:20 AM
 #42

I read the description of OP at least 50 times, but I dun' get it.

Quote
The way the attack works is that a miner collusion
I assume you mean that you need more than one node for this?

Quote
attempts to artificially inflates the time span of each retarget section
And this "group" of miners does this how? Inflation means to increase, increase means it will take longer than 2 minutes to create a block. Not sure how you'd do it. It's possible due to less nodes?

Quote
When the collusion gains momentum theoretically for terracoin I think the difficulty will collapse and block spacing drops close to 0
And again, how do you prevent people from finding blocks? Bear with me, I am thinking as I type, so basically miners will increase the difficulty, then stop till the retarget code decides it needs to go down? And when it goes down it gets exploited by the miners with the most hashpower again?

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Nolo
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


Whoa, there are a lot of cats in this wall.


View Profile
April 12, 2013, 02:02:22 AM
 #43

I've moved 6GH/s to TRC.  We need an "Altcoin Rapid Response Team"  (ARRT) to fight off jackasses like this.   

Charlie Kelly: I'm pleading the 5th.  The Attorney: I would advise you do that.  Charlie Kelly: I'll take that advice under cooperation, alright? Now, let's say you and I go toe-to-toe on bird law and see who comes out the victor?  The Attorney: You know, I don't think I'm going to do anything close to that and I can clearly see you know nothing about the law.
19GpqFsNGP8jS941YYZZjmCSrHwvX3QjiC
celkaris
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
April 12, 2013, 02:07:17 AM
 #44

i personally moved my miners away from p2pool for now, it really looks broken, nearly every found block gets orphaned and stale rate is incredible, i gave a try to multipool.

I'd suggest you check your own p2pool stats (& graphs) page and maybe logs, it can still be coming from my setup.

i'll check my stats tomorrow and then decide if i try solomining or not.
Nolo
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


Whoa, there are a lot of cats in this wall.


View Profile
April 12, 2013, 02:26:34 AM
 #45

i personally moved my miners away from p2pool for now, it really looks broken, nearly every found block gets orphaned and stale rate is incredible, i gave a try to multipool.

I'd suggest you check your own p2pool stats (& graphs) page and maybe logs, it can still be coming from my setup.

i'll check my stats tomorrow and then decide if i try solomining or not.

I'm having a good bit of success solo mining.  Sure I'm getting some orphans, but that's to be expected. 

Charlie Kelly: I'm pleading the 5th.  The Attorney: I would advise you do that.  Charlie Kelly: I'll take that advice under cooperation, alright? Now, let's say you and I go toe-to-toe on bird law and see who comes out the victor?  The Attorney: You know, I don't think I'm going to do anything close to that and I can clearly see you know nothing about the law.
19GpqFsNGP8jS941YYZZjmCSrHwvX3QjiC
wmikrut
Hero Member
*****
Offline Offline

Activity: 631
Merit: 501



View Profile WWW
April 12, 2013, 02:31:05 AM
 #46

Yeah, things look a little messed up in P2Pool --- and tbh I don't know if I am contributing to a problem by using it.
I just wanted visibility that I was throwing what I had at it.

I'll switch out to straight solo mining.

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
Syke
Legendary
*
Offline Offline

Activity: 3878
Merit: 1193


View Profile
April 12, 2013, 02:36:28 AM
 #47

Bear with me, I am thinking as I type, so basically miners will increase the difficulty, then stop till the retarget code decides it needs to go down? And when it goes down it gets exploited by the miners with the most hashpower again?

The main problem is the code allows the difficulty to drop by 90%. This is highly exploitable. This isn't the first time an alt-coin made the mistake of asymmetric difficulty adjustment problems.

Buy & Hold
Nolo
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


Whoa, there are a lot of cats in this wall.


View Profile
April 12, 2013, 02:41:38 AM
 #48

Bear with me, I am thinking as I type, so basically miners will increase the difficulty, then stop till the retarget code decides it needs to go down? And when it goes down it gets exploited by the miners with the most hashpower again?

The main problem is the code allows the difficulty to drop by 90%. This is highly exploitable. This isn't the first time an alt-coin made the mistake of asymmetric difficulty adjustment problems.

For now the temporary solution is for those of us who support this coin, to keep mining it regardless of difficulty or profitability.  Let the dev's work on a more permanent fix, but in the meantime we can protect it by consistently pushing high hash power onto it, to minimize ASIC jackassery. 

Charlie Kelly: I'm pleading the 5th.  The Attorney: I would advise you do that.  Charlie Kelly: I'll take that advice under cooperation, alright? Now, let's say you and I go toe-to-toe on bird law and see who comes out the victor?  The Attorney: You know, I don't think I'm going to do anything close to that and I can clearly see you know nothing about the law.
19GpqFsNGP8jS941YYZZjmCSrHwvX3QjiC
pyra-proxy
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500



View Profile
April 12, 2013, 04:02:28 AM
 #49

The way it seems, their solution is working very well given you don't have a stalled network like some other chains being borked with right now... with that said I only see a couple solutions to this kind of attack off the top of my head...

1) Implement merge mining and coordinate with a larger merge mine pool or two to pick you up right away to get a much higher base hash rate making this attack less profitable thus less desirable (but still not impossible and potentially not worth it given other attack vectors scummy players have taken by abusing the merge mining capability)

2) Change some mining parameter around so that ASICS are completely broken on this chain, I would think something even as simple as changing the hash algo to use SHA512 instead of 256 should do it no?  There are also the next gen hash algo's that could be looked at and there is a "fall back" to try scrypt or a scrypt merge mine.... asics are not very friendly to change given their nature so the change to break them would be easy.  Collude with any exchanges to halt trading and you could even 51% them back by breaking them and mining at a point before they started jacking with the chain and overwrite their blocks with newly fairly generated blocks.

Nolo
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


Whoa, there are a lot of cats in this wall.


View Profile
April 12, 2013, 04:46:04 AM
 #50

The way it seems, their solution is working very well given you don't have a stalled network like some other chains being borked with right now... with that said I only see a couple solutions to this kind of attack off the top of my head...

1) Implement merge mining and coordinate with a larger merge mine pool or two to pick you up right away to get a much higher base hash rate making this attack less profitable thus less desirable (but still not impossible and potentially not worth it given other attack vectors scummy players have taken by abusing the merge mining capability)

2) Change some mining parameter around so that ASICS are completely broken on this chain, I would think something even as simple as changing the hash algo to use SHA512 instead of 256 should do it no?  There are also the next gen hash algo's that could be looked at and there is a "fall back" to try scrypt or a scrypt merge mine.... asics are not very friendly to change given their nature so the change to break them would be easy.  Collude with any exchanges to halt trading and you could even 51% them back by breaking them and mining at a point before they started jacking with the chain and overwrite their blocks with newly fairly generated blocks.

Can the hash algorithm be changed without jacking up the current blockchain though?  Would that require a hard fork? 

Charlie Kelly: I'm pleading the 5th.  The Attorney: I would advise you do that.  Charlie Kelly: I'll take that advice under cooperation, alright? Now, let's say you and I go toe-to-toe on bird law and see who comes out the victor?  The Attorney: You know, I don't think I'm going to do anything close to that and I can clearly see you know nothing about the law.
19GpqFsNGP8jS941YYZZjmCSrHwvX3QjiC
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
April 12, 2013, 05:37:04 AM
Last edit: April 12, 2013, 12:16:07 PM by dreamwatcher
 #51

The way it seems, their solution is working very well given you don't have a stalled network like some other chains being borked with right now... with that said I only see a couple solutions to this kind of attack off the top of my head...

1) Implement merge mining and coordinate with a larger merge mine pool or two to pick you up right away to get a much higher base hash rate making this attack less profitable thus less desirable (but still not impossible and potentially not worth it given other attack vectors scummy players have taken by abusing the merge mining capability)

2) Change some mining parameter around so that ASICS are completely broken on this chain, I would think something even as simple as changing the hash algo to use SHA512 instead of 256 should do it no?  There are also the next gen hash algo's that could be looked at and there is a "fall back" to try scrypt or a scrypt merge mine.... asics are not very friendly to change given their nature so the change to break them would be easy.  Collude with any exchanges to halt trading and you could even 51% them back by breaking them and mining at a point before they started jacking with the chain and overwrite their blocks with newly fairly generated blocks.

Can the hash algorithm be changed without jacking up the current blockchain though?  Would that require a hard fork?  

Any change that would be meaningful would most likely require a hard fork, that is a bit more difficult with TRC. TRC is now on a major exchange and if the TRC developers decide to hard fork, there will need to be some communication between the developers and the exchange, to lessen the chance of the exchange dropping TRC.

I have been thinking about this particular problem with ASIC manipulating Alt-coins. I have been trying to think of a tweak of some sort short of the complete scrypt parameter difficulty I have already proposed.

How about this:

Keep difficulty adjustment the same or relativity the same, and run the SHA-256 block hash through scrypt a limited number of times. LTC/NVC use a scrypt 1024:1:1 tuning, roughly this means that the data is run through the scrypt algo 1024x.

What if any of the SHA-256 coins, put a completed SHA 256 hash through a scrypt algo 2x, 10x, or 100x , whatever it takes to cripple the ASICs' efficiency. With the final result, of course, having to meet the difficulty requirement to solve the block. This is subject to the reality of how many times it would take before the coin becomes another LTC like coin. We still want the coin to be GPU friendly, just ASIC hostile.

Downside: mining software developers would have to get involved, or a community patch to a miner to run the SHA-256 hash through the scrypt algo.

Just throwing the idea out there...good or bad  Grin





pyra-proxy
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500



View Profile
April 12, 2013, 12:08:11 PM
 #52

Basics are very very specialized so the change required to break them could be very simple.

wmikrut
Hero Member
*****
Offline Offline

Activity: 631
Merit: 501



View Profile WWW
April 12, 2013, 12:35:20 PM
 #53

Wouldn't that break FPGA's too?

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
celkaris
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
April 12, 2013, 12:38:06 PM
 #54

Wouldn't that break FPGA's too?


people holding ASICs probably still have GPU-based farms, maybe not reaching 60+Gh/s but currently, 20Gh/s may just be enough to disrupt the chain ; those type of rigs aren't that rare Sad

This is probably what some of them decided to use their non-ASIC rigs for ; messing around with altcoins (benefiting from market?)
pyra-proxy
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500



View Profile
April 12, 2013, 01:40:48 PM
 #55

Wouldn't that break FPGA's too?


Yes but if the change is not too extensive and only dealing with things FPGA's can adjust for (as they are less specialized) then they may be fine, possibly just needing a firmware update.  And remember FPGA difference of power vs. GPU is considerably less of an impact than ASICs who are many fold more powerful.  So if this style of solution is used consider that....

gambit
Newbie
*
Offline Offline

Activity: 32
Merit: 0



View Profile
April 12, 2013, 02:03:32 PM
 #56

I updated my terracoin wallet to 0.1.3 version. Is everything ok now? Can I trade my coins safely?  Tongue
Milan77
Full Member
***
Offline Offline

Activity: 202
Merit: 100



View Profile
April 12, 2013, 02:14:21 PM
 #57

I do solo 16Ghash from last night, only orphans!
Yes, I have up-to-date wallet. This is bullshit. I will give up TRC and giveaway all of 10K TRC coins...
wmikrut
Hero Member
*****
Offline Offline

Activity: 631
Merit: 501



View Profile WWW
April 12, 2013, 02:16:03 PM
 #58

Wouldn't that break FPGA's too?


Yes but if the change is not too extensive and only dealing with things FPGA's can adjust for (as they are less specialized) then they may be fine, possibly just needing a firmware update.  And remember FPGA difference of power vs. GPU is considerably less of an impact than ASICs who are many fold more powerful.  So if this style of solution is used consider that....

I would hate to lose the use of my FPGAs on the chain... but if it would secure the coin, so be it.
I still have plenty of GPUs  Grin

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
Milan77
Full Member
***
Offline Offline

Activity: 202
Merit: 100



View Profile
April 12, 2013, 05:40:06 PM
 #59

Regular vs orphan ratio is 1:10 currently for me.

Please, if you think to keep ppl on TRC do something in Gods sake.
aysyr
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
April 12, 2013, 06:12:52 PM
 #60

I do solo 16Ghash from last night, only orphans!
Yes, I have up-to-date wallet. This is bullshit. I will give up TRC and giveaway all of 10K TRC coins...

I'll take some! Haha, I'm supporting TRC all the way so I would welcome it Smiley Now only if I could finally get my BFL ASIC I would keep that on the chain to increase our permanent network hashrate, but who knows if I'll even ever get it -.- But yea, even getting rid of ASIC miners would work for me since I have decent GPU power, and ASIC just lets those with more get more.

16daYGpJeUnvC9NDSEUPtj5P5SoafPJ2ri

Trade at C-Cex, my favorite exchange!          Aysyr Reputation Thread
Pages: « 1 2 [3] 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!