Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: ThePiachu on February 27, 2012, 08:05:03 PM



Title: Are there any tools for simulating attacks on Bitcoin network?
Post by: ThePiachu on February 27, 2012, 08:05:03 PM
I'm working on my thesis about Bitcoin security, and I'm wondering if there is any software available for simulating various attacks on Bitcoin network / testnet?


Title: Re: Are there any tools for simulating attacks on Bitcoin network?
Post by: marked on February 27, 2012, 08:39:56 PM
I'm working on my thesis about Bitcoin security, and I'm wondering if there is any software available for simulating various attacks on Bitcoin network / testnet?

Doesn't gavinandresen have a protocol fuzzer?

marked


Title: Re: Are there any tools for simulating attacks on Bitcoin network?
Post by: Gavin Andresen on February 28, 2012, 04:15:18 PM
Doesn't gavinandresen have a protocol fuzzer?

https://github.com/gavinandresen/bitcoin-git/tree/fuzzer

... but it is pretty narrowly targeted at stress-testing the transaction validity code.

Last year at the NYC conference I mentioned that I would really like to see somebody who knows a lot more about network simulation than I do develop tools to help test proposed protocol changes, simulate Sybil or DoS attacks, etc.

I'd still really like to see that...


Title: Re: Are there any tools for simulating attacks on Bitcoin network?
Post by: Matthew N. Wright on February 28, 2012, 04:16:58 PM
Doesn't gavinandresen have a protocol fuzzer?

https://github.com/gavinandresen/bitcoin-git/tree/fuzzer

... but it is pretty narrowly targeted at stress-testing the transaction validity code.

Last year at the NYC conference I mentioned that I would really like to see somebody who knows a lot more about network simulation than I do develop tools to help test proposed protocol changes, simulate Sybil or DoS attacks, etc.

I'd still really like to see that...
You got it!


Title: Re: Are there any tools for simulating attacks on Bitcoin network?
Post by: nibor on February 29, 2012, 11:19:37 PM
I created this...
https://github.com/n1bor/bitcoin-simulation

Was just to simulate how Address messages propagated.

Also simulates how transactions/blocks get sent.

Could easily adapt to see what happens if someone tries to dos the network.


Title: Re: Are there any tools for simulating attacks on Bitcoin network?
Post by: Disposition on March 01, 2012, 07:51:50 PM
Doesn't gavinandresen have a protocol fuzzer?

https://github.com/gavinandresen/bitcoin-git/tree/fuzzer

... but it is pretty narrowly targeted at stress-testing the transaction validity code.

Last year at the NYC conference I mentioned that I would really like to see somebody who knows a lot more about network simulation than I do develop tools to help test proposed protocol changes, simulate Sybil or DoS attacks, etc.

I'd still really like to see that...

afiak Yifu from BitSyncom is to plan to test-execute a Finny Attack with Sybil elements on the prod-network after they get back from GDC, and documenting how hard is actually to pull off, and how it is generally a no-issue to accept 0 confirmation tx and talk about how to minimize risk.