From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id CCF59BC9 for ; Wed, 15 Jul 2015 17:01:57 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0047A15B for ; Wed, 15 Jul 2015 17:01:56 +0000 (UTC) Received: by qget71 with SMTP id t71so20998472qge.2 for ; Wed, 15 Jul 2015 10:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coinbase.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2O6k8GZHcyvbrMCKz4NwLttLEE8zbuhaIPJK7GOFsZs=; b=LHGycJYiEmfqqqUypqq94mfNaxNPAe6P31e9cI+STBs1K5L9lXLkG0EZj8uKaAC7HZ Kw5+/tiiSxqhZL2Ald6LS2TIAy2eIeevafRWhFPhuBaNkM3jY84Li9uTEHO4XMXAsskN 9olAM8/Bwsr7K++lZa71xa+ZbZWH2p9XJaqdI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2O6k8GZHcyvbrMCKz4NwLttLEE8zbuhaIPJK7GOFsZs=; b=M2/jSdbzPrbRtiLuYQIBXRoCOyx/weW8fQWJqw6QoYm/DSICvYKO2CkS9QpKmm3NQE vHJDrcHfgamC7bH//JMN5CxBtSIoe8Bv5p+mHGgcvWqK6thXP377cgm00fqgfIadC2S2 u+YT7Z/9zLCQJyCUQBGzUEAUE2F0ARtDtVsMHccav+aDL9UkYCRU3RQzfE+Mpw4y18eR WkeSkbBJG6cn1kzrW/1wjC3vvjgte1zBGENueL4q9iUGXgtd+s9l3+Y9bcPrR4nQ2Wck 1NEqAMZaCKXTKBNYKC0pMNur/XQoF14X2LDl5OoY+rblen7zn3iQza21bDbLWPowsKBt FycA== X-Gm-Message-State: ALoCoQmbG+AwflbqBv9Fc8GekFtYwdK4MJZWw/u2XmahpAN7EPN3ruFqBqAdV6u6iD7/Rl/9tb5t MIME-Version: 1.0 X-Received: by 10.140.234.1 with SMTP id f1mr3185099qhc.48.1436979716131; Wed, 15 Jul 2015 10:01:56 -0700 (PDT) Received: by 10.96.48.164 with HTTP; Wed, 15 Jul 2015 10:01:56 -0700 (PDT) In-Reply-To: <24662b038abc45da7f3990e12a649b8a@airmail.cc> References: <24662b038abc45da7f3990e12a649b8a@airmail.cc> Date: Wed, 15 Jul 2015 10:01:56 -0700 Message-ID: From: Adrian Macneil To: simongreen@airmail.cc Content-Type: multipart/alternative; boundary=001a11353af687a318051aece9e6 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: bitcoin-dev@lists.linuxfoundation.org Subject: Re: [bitcoin-dev] Significant losses by double-spending unconfirmed transactions X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2015 17:01:57 -0000 --001a11353af687a318051aece9e6 Content-Type: text/plain; charset=UTF-8 > With my white hat on > Shapeshift.io lost ~3 BTC this week in multiple txs I assume as a self proclaimed "white hat", you contacted the relevant companies and returned their funds? Theft is still theft, regardless of whether you are doing it for research or not. On Tue, Jul 14, 2015 at 8:29 PM, simongreen--- via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > With my black hat on I recently performed numerous profitable double-spend > attacks against zeroconf accepting fools. With my white hat on, I'm warning > everyone. The strategy is simple: > > tx1: To merchant, but dust/low-fee/reused-address/large-size/etc. anything > that miners don't always accept. > > tx2: After merchant gives up valuable thing in return, normal tx without > triggering spam protections. (loltasticly a Mike Hearn Bitcoin XT node was > used to relay the double-spends) > > Example success story: tx1 paying Shapeshift.io with 6uBTC output is not > dust under post-Hearn-relay-drop rules, but is dust under > pre-Hearn-relay-drop rules, followed by tx2 w/o the output and not paying > Shapeshift.io. F2Pool/Eligius/BTCChina/AntPool etc. are all miners who have > reverted Hearn's 10x relay fee drop as recommended by v0.11.0 release notes > and accept these double-spends. Shapeshift.io lost ~3 BTC this week in > multiple txs. (they're no longer accepting zeroconf) > > Example success story #2: tx1 with post-Hearn-relay drop fee, followed by > tx2 with higher fee. Such stupidly low fee txs just don't get mined, so > wait for a miner to mine tx2. Bought a silly amount of reddit gold off > Coinbase this way among other things. I'm surprised that reddit didn't > cancel the "fools-gold" after tx reversal. (did Coinbase guarantee those > txs?) Also found multiple Bitcoin ATMs vulnerable to this attack. (but > simulated attack with tx2s still paying ATM because didn't want to go to > trouble of good phys opsec) > > Shoutouts to BitPay who did things right and notified merchant properly > when tx was reversed. > > In summary, every target depending on zeroconf vulnerable and lost > significant sums of money to totally trivial attacks with high probability. > No need for RBF to do this, just normal variations in miner policy. > Shapeshift claims to use Super Sophisticated Network Sybil Attacking > Monitoring from Blockcypher, but relay nodes != miner policy. > > Consider yourself warned! My hat is whiter than most, and my skills not > particularly good. > > What to do? Users: Listen to the experts and stop relying on zeroconf. > Black hats: Profit! > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > > --001a11353af687a318051aece9e6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
>=C2= =A0With my white hat on=

>=C2=A0Shapeshift.io lost ~3 BTC this week in multiple txs
=
I assume a= s a self proclaimed "white hat", you contacted the relevant compa= nies and returned their funds? Theft is still theft, regardless of whether = you are doing it for research or not.

On Tue, Jul 14, 2015 at 8:29 P= M, simongreen--- via bitcoin-dev <bitcoin-dev@lists.li= nuxfoundation.org> wrote:
W= ith my black hat on I recently performed numerous profitable double-spend a= ttacks against zeroconf accepting fools. With my white hat on, I'm warn= ing everyone. The strategy is simple:

tx1: To merchant, but dust/low-fee/reused-address/large-size/etc. anything = that miners don't always accept.

tx2: After merchant gives up valuable thing in return, normal tx without tr= iggering spam protections. (loltasticly a Mike Hearn Bitcoin XT node was us= ed to relay the double-spends)

Example success story: tx1 paying Shapeshift.io with 6uBTC output is not du= st under post-Hearn-relay-drop rules, but is dust under pre-Hearn-relay-dro= p rules, followed by tx2 w/o the output and not paying Shapeshift.io. F2Poo= l/Eligius/BTCChina/AntPool etc. are all miners who have reverted Hearn'= s 10x relay fee drop as recommended by v0.11.0 release notes and accept the= se double-spends. Shapeshift.io lost ~3 BTC this week in multiple txs. (the= y're no longer accepting zeroconf)

Example success story #2: tx1 with post-Hearn-relay drop fee, followed by t= x2 with higher fee. Such stupidly low fee txs just don't get mined, so = wait for a miner to mine tx2. Bought a silly amount of reddit gold off Coin= base this way among other things. I'm surprised that reddit didn't = cancel the "fools-gold" after tx reversal. (did Coinbase guarante= e those txs?) Also found multiple Bitcoin ATMs vulnerable to this attack. (= but simulated attack with tx2s still paying ATM because didn't want to = go to trouble of good phys opsec)

Shoutouts to BitPay who did things right and notified merchant properly whe= n tx was reversed.

In summary, every target depending on zeroconf vulnerable and lost signific= ant sums of money to totally trivial attacks with high probability. No need= for RBF to do this, just normal variations in miner policy. Shapeshift cla= ims to use Super Sophisticated Network Sybil Attacking Monitoring from Bloc= kcypher, but relay nodes !=3D miner policy.

Consider yourself warned! My hat is whiter than most, and my skills not par= ticularly good.

What to do? Users: Listen to the experts and stop relying on zeroconf. Blac= k hats: Profit!

_______________________________________________
bitcoin-dev mailing list
= bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev


--001a11353af687a318051aece9e6--