<p><a href="https://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/" rel="nofollow">testnet-in-a-box</a> is a simple way to set up your own testnet network, separate from the main one.  That lets you mine your own blocks easily because the difficulty will stay low.  Then you can play around with double-spending your own coins to yourself without inconveniencing others, and without needing large amounts of hash power.</p>

CC BY-SA 3.0
2012-02-28T05:44:36.457Z
2012-02-28T05:44:36.457Z
Chris Moore
<p>There's a <a href="https://bitcointalk.org/index.php?topic=59985.0" rel="nofollow">fuzzing tool</a> written by Gavin to test the Bitcoin protocol for vulnerabilities.</p>

CC BY-SA 3.0
2012-02-27T20:25:16.347Z
2012-02-27T20:25:16.347Z
ripper234
<p>I'm currently in the process of working on my thesis about Bitcoin security and I'm wondering if there's any software available for testing of Bitcoin security? For example, are there any programs that will try launching double-spend attacks, simulate a 51% attack, or the like?</p>

CC BY-SA 3.0
2012-02-27T17:39:09.487Z
Just a bit of caution -- running attacks against the bitcoin network might be considered criminal acts in certain jurisdictions.

For instance, if you are attempting to double-spend against a merchant, you might want to first ensure that is done with that merchant's knowledge and permission.
Stephen Gornick
CC BY-SA 3.0
2012-02-27T19:52:02.420Z
I'm not aiming to run any attack on the main Bitcoin network against anyone. If anything I'd be running most of such tests on testnet, and limiting a double-spend attack to my own addresses on the mainnet. My goal is not to exploit the system, but to explore its strengths and weaknesses.
ThePiachu
<security><doublespend><majority-attack><testing><open-source>
Is there any software available for testing of Bitcoin security?
ThePiachu
# Is there any software available for testing of Bitcoin security?

(Asked by: username_0 on 2012-02-27)

I'm currently in the process of working on my thesis about Bitcoin security and I'm wondering if there's any software available for testing of Bitcoin security? For example, are there any programs that will try launching double-spend attacks, simulate a 51% attack, or the like?

**Tags:** security, doublespend, majority-attack, testing, open-source

> **Comments:**
> **username_1**: Just a bit of caution -- running attacks against the bitcoin network might be considered criminal acts in certain jurisdictions.  For instance, if you are attempting to double-spend against a merchant, you might want to first ensure that is done with that merchant's knowledge and permission.  
> **username_0**: I'm not aiming to run any attack on the main Bitcoin network against anyone. If anything I'd be running most of such tests on testnet, and limiting a double-spend attack to my own addresses on the mainnet. My goal is not to exploit the system, but to explore its strengths and weaknesses.  

---

## 2 answers

### Answer by username_2 on 2012-02-28. Score: 2

[testnet-in-a-box](https://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/) is a simple way to set up your own testnet network, separate from the main one. That lets you mine your own blocks easily because the difficulty will stay low. Then you can play around with double-spending your own coins to yourself without inconveniencing others, and without needing large amounts of hash power.


---

### Answer by username_3 on 2012-02-27. Score: 0

There's a [fuzzing tool](https://bitcointalk.org/index.php?topic=59985.0) written by Gavin to test the Bitcoin protocol for vulnerabilities.


---

