1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
|
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
helo=mx.sourceforge.net)
by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <mh.in.england@gmail.com>) id 1YHurc-0002Df-Hr
for bitcoin-development@lists.sourceforge.net;
Sun, 01 Feb 2015 13:47:00 +0000
Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com
designates 74.125.82.52 as permitted sender)
client-ip=74.125.82.52; envelope-from=mh.in.england@gmail.com;
helo=mail-wg0-f52.google.com;
Received: from mail-wg0-f52.google.com ([74.125.82.52])
by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1YHura-00063Y-On
for bitcoin-development@lists.sourceforge.net;
Sun, 01 Feb 2015 13:47:00 +0000
Received: by mail-wg0-f52.google.com with SMTP id y19so34338942wgg.11
for <bitcoin-development@lists.sourceforge.net>;
Sun, 01 Feb 2015 05:46:52 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.180.37.77 with SMTP id w13mr14687537wij.66.1422798412621;
Sun, 01 Feb 2015 05:46:52 -0800 (PST)
Sender: mh.in.england@gmail.com
Received: by 10.194.188.11 with HTTP; Sun, 1 Feb 2015 05:46:52 -0800 (PST)
In-Reply-To: <CALkkCJbiv3o-oGoKY6sQkiLSeaCUfKVKHj1wqZUjfprmf9M5BA@mail.gmail.com>
References: <27395C55-CF59-4E65-83CA-73F903272C5F@gmail.com>
<CAAt2M18kRgJeNGu9GeKabRpTKPX9rVeoYiKoanz99bmV2jaf4w@mail.gmail.com>
<1348028F-26F8-42CB-9859-C9CB751BF0C9@gmail.com>
<CAAt2M1_3BdKQTVxsN7Hc-W=q0_NWyhBg1UAuSwxRQ8BePDa-8g@mail.gmail.com>
<CAAt2M1-b7ByF0yVSmwD_nj3uUSo5GFOmH860n1k6oKX_sqvEkw@mail.gmail.com>
<88211D58-DE9D-4B4A-B3A5-2EEFDFC5E02B@gmail.com>
<CALkkCJbiv3o-oGoKY6sQkiLSeaCUfKVKHj1wqZUjfprmf9M5BA@mail.gmail.com>
Date: Sun, 1 Feb 2015 14:46:52 +0100
X-Google-Sender-Auth: 8gjYrmuFdgEaCut2Qq8sIrwJ4DU
Message-ID: <CANEZrP3Mo20di1nysTAtoSg_-Tb7iF=C8Lkz3EFm8DwntN-4Mw@mail.gmail.com>
From: Mike Hearn <mike@plan99.net>
To: =?UTF-8?Q?Martin_Habov=C5=A1tiak?= <martin.habovstiak@gmail.com>
Content-Type: multipart/alternative; boundary=e89a8f647021f8af3f050e07114b
X-Spam-Score: -0.5 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
sender-domain
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
(mh.in.england[at]gmail.com)
-0.0 SPF_PASS SPF: sender matches SPF record
1.0 HTML_MESSAGE BODY: HTML included in message
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1YHura-00063Y-On
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Proposal to address Bitcoin malware
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Sun, 01 Feb 2015 13:47:00 -0000
--e89a8f647021f8af3f050e07114b
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
TREZOR does not support BIP70. I think they planned to work on it after
multi-sig support, which is now done, so I'm hoping that it's next on their
roadmap.
The signing features of BIP70 have (fortunately!) been implemented by
payment processors quite early, before we really have the client side fully
figured out and implemented. Mobile wallets (Android, iOS) do implement it
and they are reasonably secure, for desktops we need TREZOR and we need the
Bitcoin Authenticator 2-factor wallet to support it. I think they do, but
can't remember exactly. Either they do, or it's on their roadmap.
On Sun, Feb 1, 2015 at 2:31 PM, Martin Habov=C5=A1tiak <
martin.habovstiak@gmail.com> wrote:
> BIP70 is quite safe agains MitB. If user copies URL belonging to other
> merchant, he would see the fact after entering it into his wallet
> application. The only problem is, attacker can buy from the same
> merchant with user's money. (sending him different URL) This can be
> mitigated by merchant setting "memo" to the description of the basket
> and some user info (e.g. address to which goods are sent).
>
> But if whole computer is compromised, you're already screwed. Trezor
> should help, but I'm not sure if it supports BIP70.
>
> 2015-02-01 14:49 GMT+02:00 Brian Erdelyi <brian.erdelyi@gmail.com>:
> >
> > In online banking, the banks generate account numbers. An attacker
> cannot
> > generate their own account number and the likelihood of an attacker
> having
> > the same account number that I am trying to transfer funds to is low an=
d
> > this is why OCRA is effective with online banking.
> >
> > With Bitcoin, the Bitcoin address is comparable to the recipient=E2=80=
=99s bank
> > account number. I now see how an an attacker can brute force the
> bitcoin
> > address with vanitygen. Is there any way to generate an 8 digit number
> from
> > the bitcoin address that can be used to verify transactions in such a w=
ay
> > (possibly with hashing?) that brute forcing a bitcoin address would tak=
e
> > longer than a reasonable period of time (say 60 seconds) so a system
> could
> > time out if a transaction was not completed in that time?
> >
> > I=E2=80=99ve also looked into BIP70 (Payment Protocol) that claims prot=
ection
> > against man-in-the-middle/man-in-the-browser (MitB) based attacks. A
> common
> > way to protect against this is with out-of-band transaction verificatio=
n
> > (
> http://en.wikipedia.org/wiki/Man-in-the-browser#Out-of-band_transaction_v=
erification
> ).
> > I see how BIP 70 verifies the payment request, however, is there any wa=
y
> to
> > verify that the transaction signed by the wallet matches the request
> before
> > it is sent to the blockchain (and how can this support out of band
> > verification)? Perhaps this is something that can only be supported wh=
en
> > sending money with web based wallets.
> >
> > Brian Erdelyi
> >
> >
> -------------------------------------------------------------------------=
-----
> > Dive into the World of Parallel Programming. The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Tak=
e
> a
> > look and join the conversation now. http://goparallel.sourceforge.net/
> > _______________________________________________
> > Bitcoin-development mailing list
> > Bitcoin-development@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bitcoin-development
> >
>
>
> -------------------------------------------------------------------------=
-----
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take =
a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
--e89a8f647021f8af3f050e07114b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">TREZOR does not support BIP70. I think they planned to wor=
k on it after multi-sig support, which is now done, so I'm hoping that =
it's next on their roadmap.=C2=A0<div><br></div><div>The signing featur=
es of BIP70 have (fortunately!) been implemented by payment processors quit=
e early, before we really have the client side fully figured out and implem=
ented. Mobile wallets (Android, iOS) do implement it and they are reasonabl=
y secure, for desktops we need TREZOR and we need the Bitcoin Authenticator=
2-factor wallet to support it. I think they do, but can't remember exa=
ctly. Either they do, or it's on their roadmap.</div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sun, Feb 1, 2015 at 2:31=
PM, Martin Habov=C5=A1tiak <span dir=3D"ltr"><<a href=3D"mailto:martin.=
habovstiak@gmail.com" target=3D"_blank">martin.habovstiak@gmail.com</a>>=
</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">BIP70 is quite safe agains=
MitB. If user copies URL belonging to other<br>
merchant, he would see the fact after entering it into his wallet<br>
application. The only problem is, attacker can buy from the same<br>
merchant with user's money. (sending him different URL) This can be<br>
mitigated by merchant setting "memo" to the description of the ba=
sket<br>
and some user info (e.g. address to which goods are sent).<br>
<br>
But if whole computer is compromised, you're already screwed. Trezor<br=
>
should help, but I'm not sure if it supports BIP70.<br>
<div><div class=3D"h5"><br>
2015-02-01 14:49 GMT+02:00 Brian Erdelyi <<a href=3D"mailto:brian.erdely=
i@gmail.com">brian.erdelyi@gmail.com</a>>:<br>
><br>
> In online banking, the banks generate account numbers.=C2=A0 An attack=
er cannot<br>
> generate their own account number and the likelihood of an attacker ha=
ving<br>
> the same account number that I am trying to transfer funds to is low a=
nd<br>
> this is why OCRA is effective with online banking.<br>
><br>
> With Bitcoin, the Bitcoin address is comparable to the recipient=E2=80=
=99s bank<br>
> account number.=C2=A0 =C2=A0I now see how an an attacker can brute for=
ce the bitcoin<br>
> address with vanitygen.=C2=A0 Is there any way to generate an 8 digit =
number from<br>
> the bitcoin address that can be used to verify transactions in such a =
way<br>
> (possibly with hashing?) that brute forcing a bitcoin address would ta=
ke<br>
> longer than a reasonable period of time (say 60 seconds) so a system c=
ould<br>
> time out if a transaction was not completed in that time?<br>
><br>
> I=E2=80=99ve also looked into BIP70 (Payment Protocol) that claims pro=
tection<br>
> against man-in-the-middle/man-in-the-browser (MitB) based attacks.=C2=
=A0 A common<br>
> way to protect against this is with out-of-band transaction verificati=
on<br>
> (<a href=3D"http://en.wikipedia.org/wiki/Man-in-the-browser#Out-of-ban=
d_transaction_verification" target=3D"_blank">http://en.wikipedia.org/wiki/=
Man-in-the-browser#Out-of-band_transaction_verification</a>).<br>
> I see how BIP 70 verifies the payment request, however, is there any w=
ay to<br>
> verify that the transaction signed by the wallet matches the request b=
efore<br>
> it is sent to the blockchain (and how can this support out of band<br>
> verification)?=C2=A0 Perhaps this is something that can only be suppor=
ted when<br>
> sending money with web based wallets.<br>
><br>
> Brian Erdelyi<br>
><br>
</div></div>> ----------------------------------------------------------=
--------------------<br>
> Dive into the World of Parallel Programming. The Go Parallel Website,<=
br>
> sponsored by Intel and developed in partnership with Slashdot Media, i=
s your<br>
> hub for all things parallel software development, from weekly thought<=
br>
> leadership blogs to news, videos, case studies, tutorials and more. Ta=
ke a<br>
> look and join the conversation now. <a href=3D"http://goparallel.sourc=
eforge.net/" target=3D"_blank">http://goparallel.sourceforge.net/</a><br>
> _______________________________________________<br>
> Bitcoin-development mailing list<br>
> <a href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-d=
evelopment@lists.sourceforge.net</a><br>
> <a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-develo=
pment" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitco=
in-development</a><br>
><br>
<br>
---------------------------------------------------------------------------=
---<br>
Dive into the World of Parallel Programming. The Go Parallel Website,<br>
sponsored by Intel and developed in partnership with Slashdot Media, is you=
r<br>
hub for all things parallel software development, from weekly thought<br>
leadership blogs to news, videos, case studies, tutorials and more. Take a<=
br>
look and join the conversation now. <a href=3D"http://goparallel.sourceforg=
e.net/" target=3D"_blank">http://goparallel.sourceforge.net/</a><br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-develo=
pment@lists.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-development=
" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-de=
velopment</a><br>
</blockquote></div><br></div>
--e89a8f647021f8af3f050e07114b--
|