summaryrefslogtreecommitdiff
path: root/61/a8b0950b9d9b2241e7df421e821a019e305a08
blob: d21c2090715e06f4d5c92e20ec53dc2414edf9eb (plain)
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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
Delivery-date: Sat, 12 Oct 2024 00:34:26 -0700
Received: from mail-yb1-f190.google.com ([209.85.219.190])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBC3PT7FYWAMRB56MVC4AMGQEUZ6XXLQ@googlegroups.com>)
	id 1szWds-0004ax-Ln
	for bitcoindev@gnusha.org; Sat, 12 Oct 2024 00:34:25 -0700
Received: by mail-yb1-f190.google.com with SMTP id 3f1490d57ef6-e28ef71f0d8sf4453649276.0
        for <bitcoindev@gnusha.org>; Sat, 12 Oct 2024 00:34:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1728718458; x=1729323258; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:references:in-reply-to:message-id:to:from:date:sender:from
         :to:cc:subject:date:message-id:reply-to;
        bh=6EgMoN9OKkKqvgE+fBtyCQSQzd4+q3vnCBvVLGHcVCI=;
        b=ZpBhgM0T+vDqsaha/Dwzbq9zR+dCkyfBMhmo2oJe6Ltey/j+rDyun9KYXamqh673+7
         aN/207Gq3UTwoJR7d4bHrzcUD8r1HfLzez7Q/vb7V6+ONm3B63NglYruB+721oITekFf
         W28pTpNLIqnYWXoPviQ1bLlBd4vIEZFKGQjnwNF0aluzGybENXNtHCBiNqKb4gTijgIl
         Zb1+HEJ4wLGxm6thbb4uHtQ4rJnHfn8+64ky+wBq5ZWrAhCttj260u4+qPLX7+f8+mmm
         UpmW9PfLOsI7BsmBzaHoVoX+z9mVSukHpAteuv4reoJ9Duj3qLH3+nR3K5t0xuwv45c1
         ep3A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1728718458; x=1729323258; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:references:in-reply-to:message-id:to:from:date:from:to:cc
         :subject:date:message-id:reply-to;
        bh=6EgMoN9OKkKqvgE+fBtyCQSQzd4+q3vnCBvVLGHcVCI=;
        b=ScWLwSRPp7JWstK3KLv9iXvLxHQBoD5698ZoeDXidOiei2ly6S3JOf2lmtmttWq+FB
         srM8ZhJmCQlJib34G6rn5ePflzXlzVUOR/QCVHIuU0RKsHrpWj/8T/sYVzvfHPG0Tslz
         oVJPDXsAfwwr9yKrBgBYgd5xl3GzklPoZjo3C54ewXNIqkAOfbhszzcyaovNt+16eo/2
         9znNPvwRqrBCaNctmsbwm7d0TFuH/eLF32JQCWI0U51e/QyZt3dlV9Z2Qz88ra9Em1Zd
         o2h0vKUzYKPK6/6A86EXF7rGvE31Zaw/CHBvhp1kQsBom7AW1tv36CqMDIlmdMys6IbH
         vwCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1728718458; x=1729323258;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:references:in-reply-to:message-id:to:from:date:x-beenthere
         :x-gm-message-state:sender:from:to:cc:subject:date:message-id
         :reply-to;
        bh=6EgMoN9OKkKqvgE+fBtyCQSQzd4+q3vnCBvVLGHcVCI=;
        b=GRQOAxyi0LygzebjWDTW9os4FEJajxFRYpg7obt37PvDWPP7ar8yiORDhk1rBUysfk
         P5Xpm6z2E/oSJfSWlfRJpqeQjhBvo1ol6p9kJFi0C+k+fWRtfh0XmKALUC+2WkmksW9X
         BXJMAetNwmG07ij1/1sEuumdwzsnp2l+ODgKP1VEaGVymh8bYB6O+9ercx9KZqvGUL1N
         31HAE06yAYDF/SKhmK64eoZLEq24g21NtdpNz0pQnuW8pxKTzsAA9dp26k9kDDm17/Yi
         eH/h++b/UfSfze1sA9hNz7DoyfoYXt5hPIDnaFC+ag94Fx6ua9CiU55Vw9NcNUbQI8F+
         dfSA==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCWv1dMpXP+0tCWiZSl4yUYemzK8XULr/1nFt5h7yyhawcbuCNQMBuOxPAO7y5fTRI7aKqWJ6DlIxDu9@gnusha.org
X-Gm-Message-State: AOJu0YwBuxZVinJgMot9V82JsTux4XQnLwEd2aHXz3CygZBMeCwYSeQZ
	fbZthxcflkM/4+1Xb2tgMuzJJQ0YaLue9OSAZEMCpCaC4wFRufOj
X-Google-Smtp-Source: AGHT+IHjKMeV3cuW99EqEw1FXdlQCZS/i9tCmmTcwxB5cewkV20JzEgjgyG2eP5xL8u6PvyQcO9hWw==
X-Received: by 2002:a05:6902:170a:b0:e28:f0e5:37fc with SMTP id 3f1490d57ef6-e2931b0faf1mr1292136276.4.1728718457939;
        Sat, 12 Oct 2024 00:34:17 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a05:6902:70b:b0:e22:6000:7f32 with SMTP id
 3f1490d57ef6-e290bb8c341ls1335442276.1.-pod-prod-08-us; Sat, 12 Oct 2024
 00:34:15 -0700 (PDT)
X-Received: by 2002:a05:690c:89:b0:6e3:b8f:59d1 with SMTP id 00721157ae682-6e347c660d0mr42030217b3.31.1728718455641;
        Sat, 12 Oct 2024 00:34:15 -0700 (PDT)
Received: by 2002:a05:690c:7303:b0:6e3:65a1:402f with SMTP id 00721157ae682-6e365a15796ms7b3;
        Fri, 11 Oct 2024 21:46:46 -0700 (PDT)
X-Received: by 2002:a05:690c:f8c:b0:6e3:21a9:d3c9 with SMTP id 00721157ae682-6e3477be223mr43047327b3.9.1728708405825;
        Fri, 11 Oct 2024 21:46:45 -0700 (PDT)
Date: Fri, 11 Oct 2024 21:46:45 -0700 (PDT)
From: Antoine Riard <antoine.riard@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <2cf86d38-848c-4ead-a3a2-bc219d241f64n@googlegroups.com>
In-Reply-To: <9682d905-886c-4deb-924c-6461f4b67537n@googlegroups.com>
References: <a647a2e2-2742-4b0e-ae84-6f84b018136fn@googlegroups.com>
 <ZtcIDJkfQp7uh+Kj@petertodd.org>
 <CALZpt+EM1ysYErpGneuP_d+MjhQcaG7d2_EtRm2WYGFfLYuBsA@mail.gmail.com>
 <51ac4b01-f2d3-4932-9d00-1c9be0875f96n@googlegroups.com>
 <9682d905-886c-4deb-924c-6461f4b67537n@googlegroups.com>
Subject: Re: [bitcoindev] Demonstrating Pinning Attacks under Real-World Conditions
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_157840_753997707.1728708405613"
X-Original-Sender: antoine.riard@gmail.com
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.4 (/)

------=_Part_157840_753997707.1728708405613
Content-Type: multipart/alternative; 
	boundary="----=_Part_157841_1969144025.1728708405613"

------=_Part_157841_1969144025.1728708405613
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi waxwing,

Thanks for the idea of writing some gist, yes it's worthy to explain=20
step-by-step if there are volunteers.
We did at least once such "blackbox" testing of attacks affecting lightning=
=20
implementation for the dust
outputs inflation vuln, and since then the few skilled devs who knows how=
=20
to set correctly lightning+bitcoind
nodes are usually very busy.

Yes, usually for Core it's sticking to the transaction-relay / mempool=20
defaults, as it's how the lightning specs
are mostly written.

For the other questions:
amount in channel - does not really matter as long as you can do few non=20
dust outputs (i.e above `GetDustThreshold`)
how many channels - only two are necessary for all the pinning kind of=20
stuff, maybe one more to rebalance the liquidty accordingly
should volunteers have channels with each other? is there any aspect of=20
topology you require? - no, for the simple scenario it's only a routing=20
node setup
network connectivity - no Tor connections doesn't play to test the easy=20
scenarios.

If you wish to catch-up a bit on all those attacks, see that years-old gist=
=20
of mine which was
documenting a bit transaction-relay jamming:=20
https://gist.github.com/ariard/7e509bf2c81ea8049fd0c67978c521af

After browsing it again, a lot of the stuff is still actual, the only big=
=20
thing missing is
the replacement cycling attack. That one I still have remorses towards the=
=20
whole bitcoin community
to not have caught it back at the time in 2020, and that it took me 2 more=
=20
years to find it.

Best,
Antoine
ots hash: fbbc40b46cdf7c2877b5e2720519fd3dcaa99dbd1ac96ac5cbd0c08f0c3e94e5
Le vendredi 11 octobre 2024 =C3=A0 16:23:47 UTC+1, waxwing/ AdamISZ a =C3=
=A9crit :

> Antoine,
>
> Perhaps it would be an idea to write a gist or some other public facing=
=20
> page with what you need from volunteers, so it's kind of step by step?
> Unlike Peter in this thread, I think most people would want/have to set u=
p=20
> new nodes to do this.
>
> You have said: Current and default installs of Core/btcd + lnd/cln/ldk . =
I=20
> know that e.g. Core has some pretty non-trivial choices but I guess we ca=
n=20
> stick religiously to whatever is default.
>
> But other details like:
> amount in channels - does it matter?
> How many channels? Channels of specific types (thinking e.g. unannounced)
> Should volunteers have channels with each other? is there any aspect of=
=20
> topology you require?
> Network connectivity - I guess it's not important, but just in case worth=
=20
> mentioning, e.g. should/should not use Tor etc.
>
> Forgive me if some of the questions are ignorant, I have not paid a ton o=
f=20
> attention to the discussion around these attacks.
>
> waxwing/AdamISZ
> On Thursday, October 10, 2024 at 6:29:02=E2=80=AFPM UTC-6 Antoine Riard w=
rote:
>
>> Hi all,
>>
>> > If you have an on-chain donation address on the OTS website (?), I'll=
=20
>> make a
>> > $100 donation now, it's a nice tool. And for the justice=20
>> transaction...well
>> > for some scenarios you can use the latest valid commitment state to pi=
n=20
>> no risk
>> > of being slashed by a justice transaction.
>>
>> Been late on demonstrating a real-world pinning attack against a=20
>> production lightning
>> node. But I swear it's real sport having to jungle with more than one=20
>> category of
>> exploit to soundly test.
>>
>> OTS is a great project. I'll make a donation to it of 1 gram of gold or=
=20
>> the equivalent
>> in fiats or satoshis at settlement (as $100 sounds to be almost equal to=
=20
>> 1 gram of gold,
>> i.e $84.66 those days) for each month late on doing a demonstrationg of=
=20
>> real-world pinning
>> attack, as a lateness penalty.
>>
>> Beyond it's a great tool to make notarization of any kind of digital=20
>> info, inside the
>> chain where for every block there are probably two-digit terawatt hours=
=20
>> burnt, which
>> starts to be a f*cking lot of hydro power plants.
>>
>> More generally, I called since late 2020 at least for making real-world=
=20
>> demonstration
>> of pinning attacks against lightning nodes, among others types of=20
>> cross-layers attacks,
>> At the exception of 2 ligthning protocol devs if my memory is correct,=
=20
>> all the others
>> ones since then have shunned away from participating in a real-world=20
>> demo, and Peter
>> Todd was the first one to consent and make available a lightning node=20
>> available for
>> real-world demos in a "black box" fashion (indeed, it's far easier to=20
>> execute exploits
>> on testing envs fully set by the researcher...).
>>
>> In the future, I believe it can only be great if bitcoin security=20
>> exploits are gauged
>> more or less on the lines of artifacts available, evaluated and=20
>> reproduced, as done=20
>> usually by major infosec confs.
>>
>> Best,
>> Antoine
>> ots hash: 9d227f7832154c4c8bce9fce260ac84537489c1bc8c4b8c2ba990ceb197c84=
fc
>> Le mardi 3 septembre 2024 =C3=A0 21:13:46 UTC+1, Antoine Riard a =C3=A9c=
rit :
>>
>>> > That also happens to be my Alice OpenTimestamps calendar, in=20
>>> production, so
>>> > please don't do anything you expect to be CPU or RAM intensive. But i=
f=20
>>> you
>>> > accidentally take down the server, not the end of the world: OTS is a=
=20
>>> very
>>> > redundant protocol and one calendar going down for a few hours is=20
>>> unlikely to
>>> > do any harm.
>>> >=20
>>> > It has about $400 of outgoing capacity at the moment, and $2000=20
>>> inbound. It
>>> > gets hardly any donations at the moment, so if you manage to knock LN=
D=20
>>> offline
>>> > that's no big deal.
>>> >=20
>>> > That's not my money - it's donations to the OTS calendars that I have=
=20
>>> no right
>>> > to spend - so I'll ask you to pay for any expenses incurred by it=20
>>> during
>>> > testing, and make a $100 net donation when you're done testing to mak=
e=20
>>> it
>>> > worthwhile for the OTS community. If you manage to lose more than tha=
t=20
>>> on
>>> > justice transactions, I'll consider that a donation. :)
>>>
>>> Many thanks Peter for that.
>>>
>>> No worries, I won't play with CPU or RAM, it's just all the=20
>>> transaction-relay
>>> and mempool logic that one can interfere with. I'll make you whole of=
=20
>>> the $2400
>>> if the LND node goes down too hard, though I'm just looking for a node=
=20
>>> running
>>> on mainnet, for a pinning the attacker has two open to channels and=20
>>> re-balance
>>> the liquidity at its advantage a bit. I'll provide the liquidity by=20
>>> myself.
>>>
>>> If you have an on-chain donation address on the OTS website (?), I'll=
=20
>>> make a
>>> $100 donation now, it's a nice tool. And for the justice=20
>>> transaction...well
>>> for some scenarios you can use the latest valid commitment state to pin=
=20
>>> no risk
>>> of being slashed by a justice transaction.
>>>
>>> Best,
>>> Antoine
>>> ots hash:=20
>>> 19d9b61ed5238e2922205a0a0194e0830b260a691f45b4189b1d145f72c9e031
>>>
>>> Le mar. 3 sept. 2024 =C3=A0 13:58, Peter Todd <pe...@petertodd.org> a =
=C3=A9crit :
>>>
>>>> On Tue, Aug 27, 2024 at 02:10:15PM -0700, Antoine Riard wrote:
>>>> > My utmost pleasure to demonstrate some pinning attacks on nodes unde=
r=20
>>>> > real-world conditions.
>>>>
>>>> Antoine Riard: until Oct 1st, you have permission to test your attacks=
=20
>>>> against
>>>> my Lightning node running at:
>>>>
>>>>     023345274dd80a01c0e80ec4892818878...@alice.opentimestamps.org:9735=
=20
>>>> <http://023345274dd80a01c0e80ec48928188783f9bc5281be8f5057c050492f1071=
1a5b@alice.opentimestamps.org:9735>
>>>>
>>>> That also happens to be my Alice OpenTimestamps calendar, in=20
>>>> production, so
>>>> please don't do anything you expect to be CPU or RAM intensive. But if=
=20
>>>> you
>>>> accidentally take down the server, not the end of the world: OTS is a=
=20
>>>> very
>>>> redundant protocol and one calendar going down for a few hours is=20
>>>> unlikely to
>>>> do any harm.
>>>>
>>>> It has about $400 of outgoing capacity at the moment, and $2000=20
>>>> inbound. It
>>>> gets hardly any donations at the moment, so if you manage to knock LND=
=20
>>>> offline
>>>> that's no big deal.
>>>>
>>>> That's not my money - it's donations to the OTS calendars that I have=
=20
>>>> no right
>>>> to spend - so I'll ask you to pay for any expenses incurred by it duri=
ng
>>>> testing, and make a $100 net donation when you're done testing to make=
=20
>>>> it
>>>> worthwhile for the OTS community. If you manage to lose more than that=
=20
>>>> on
>>>> justice transactions, I'll consider that a donation. :)
>>>>
>>>> --=20
>>>> https://petertodd.org 'peter'[:-1]@petertodd.org
>>>>
>>>

--=20
You received this message because you are subscribed to the Google Groups "=
Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/=
bitcoindev/2cf86d38-848c-4ead-a3a2-bc219d241f64n%40googlegroups.com.

------=_Part_157841_1969144025.1728708405613
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi waxwing,<br /><br />Thanks for the idea of writing some gist, yes it's w=
orthy to explain step-by-step if there are volunteers.<br />We did at least=
 once such "blackbox" testing of attacks affecting lightning implementation=
 for the dust<br />outputs inflation vuln, and since then the few skilled d=
evs who knows how to set correctly lightning+bitcoind<br />nodes are usuall=
y very busy.<br /><br />Yes, usually for Core it's sticking to the transact=
ion-relay / mempool defaults, as it's how the lightning specs<br />are most=
ly written.<br /><br />For the other questions:<br />amount in channel - do=
es not really matter as long as you can do few non dust outputs (i.e above =
`GetDustThreshold`)<br />how many channels - only two are necessary for all=
 the pinning kind of stuff, maybe one more to rebalance the liquidty accord=
ingly<br />should volunteers have channels with each other? is there any as=
pect of topology you require? - no, for the simple scenario it's only a rou=
ting node setup<br />network connectivity - no Tor connections doesn't play=
 to test the easy scenarios.<br /><br />If you wish to catch-up a bit on al=
l those attacks, see that years-old gist of mine which was<br />documenting=
 a bit transaction-relay jamming: https://gist.github.com/ariard/7e509bf2c8=
1ea8049fd0c67978c521af<br /><br />After browsing it again, a lot of the stu=
ff is still actual, the only big thing missing is<br />the replacement cycl=
ing attack. That one I still have remorses towards the whole bitcoin commun=
ity<br />to not have caught it back at the time in 2020, and that it took m=
e 2 more years to find it.<br /><br />Best,<br />Antoine<br />ots hash: fbb=
c40b46cdf7c2877b5e2720519fd3dcaa99dbd1ac96ac5cbd0c08f0c3e94e5<br /><div cla=
ss=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">Le vendredi 11 oc=
tobre 2024 =C3=A0 16:23:47 UTC+1, waxwing/ AdamISZ a =C3=A9crit=C2=A0:<br/>=
</div><blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Antoine,</di=
v><div><br></div><div>Perhaps it would be an idea to write a gist or some o=
ther public facing page with what you need from volunteers, so it&#39;s kin=
d of step by step?</div><div>Unlike Peter in this thread, I think most peop=
le would want/have to set up new nodes to do this.<br></div><div><br></div>=
<div>You have said: Current and default installs of Core/btcd + lnd/cln/ldk=
 . I know that e.g. Core has some pretty non-trivial choices but I guess we=
 can stick religiously to whatever is default.<br></div><div><br></div><div=
>But other details like:</div><div>amount in channels - does it matter?</di=
v><div>How many channels? Channels of specific types (thinking e.g. unannou=
nced)</div><div>Should volunteers have channels with each other? is there a=
ny aspect of topology you require?</div><div>Network connectivity - I guess=
 it&#39;s not important, but just in case worth mentioning, e.g. should/sho=
uld not use Tor etc.</div><div><br></div><div>Forgive me if some of the que=
stions are ignorant, I have not paid a ton of attention to the discussion a=
round these attacks.<br></div><div><br></div>waxwing/AdamISZ<br><div class=
=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Thursday, Octobe=
r 10, 2024 at 6:29:02=E2=80=AFPM UTC-6 Antoine Riard wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 0.8ex;border-left:1px sol=
id rgb(204,204,204);padding-left:1ex">Hi all,<br><br>&gt; If you have an on=
-chain donation address on the OTS website (?), I&#39;ll make a<br>&gt; $10=
0 donation now, it&#39;s a nice tool. And for the justice transaction...wel=
l<br>&gt; for some scenarios you can use the latest valid commitment state =
to pin no risk<br>&gt; of being slashed by a justice transaction.<br><br>Be=
en late on demonstrating a real-world pinning attack against a production l=
ightning<br>node. But I swear it&#39;s real sport having to jungle with mor=
e than one category of<br>exploit to soundly test.<br><br>OTS is a great pr=
oject. I&#39;ll make a donation to it of 1 gram of gold or the equivalent<b=
r>in fiats or satoshis at settlement (as $100 sounds to be almost equal to =
1 gram of gold,<br>i.e $84.66 those days) for each month late on doing a de=
monstrationg of real-world pinning<br>attack, as a lateness penalty.<br><br=
>Beyond it&#39;s a great tool to make notarization of any kind of digital i=
nfo, inside the<br>chain where for every block there are probably two-digit=
 terawatt hours burnt, which<br>starts to be a f*cking lot of hydro power p=
lants.<br><br>More generally, I called since late 2020 at least for making =
real-world demonstration<br>of pinning attacks against lightning nodes, amo=
ng others types of cross-layers attacks,<br>At the exception of 2 ligthning=
 protocol devs if my memory is correct, all the others<br>ones since then h=
ave shunned away from participating in a real-world demo, and Peter<br>Todd=
 was the first one to consent and make available a lightning node available=
 for<br>real-world demos in a &quot;black box&quot; fashion (indeed, it&#39=
;s far easier to execute exploits<br>on testing envs fully set by the resea=
rcher...).<br><br>In the future, I believe it can only be great if bitcoin =
security exploits are gauged<br>more or less on the lines of artifacts avai=
lable, evaluated and reproduced, as done <br>usually by major infosec confs=
.<br><br>Best,<br>Antoine<br>ots hash: 9d227f7832154c4c8bce9fce260ac8453748=
9c1bc8c4b8c2ba990ceb197c84fc<br><div class=3D"gmail_quote"><div dir=3D"auto=
" class=3D"gmail_attr">Le mardi 3 septembre 2024 =C3=A0 21:13:46 UTC+1, Ant=
oine Riard a =C3=A9crit=C2=A0:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-l=
eft:1ex"><div dir=3D"ltr">&gt; That also happens to be my Alice OpenTimesta=
mps calendar, in production, so<br>&gt; please don&#39;t do anything you ex=
pect to be CPU or RAM intensive. But if you<br>&gt; accidentally take down =
the server, not the end of the world: OTS is a very<br>&gt; redundant proto=
col and one calendar going down for a few hours is unlikely to<br>&gt; do a=
ny harm.<br>&gt; <br>&gt; It has about $400 of outgoing capacity at the mom=
ent, and $2000 inbound. It<br>&gt; gets hardly any donations at the moment,=
 so if you manage to knock LND offline<br>&gt; that&#39;s no big deal.<br>&=
gt; <br>&gt; That&#39;s not my money - it&#39;s donations to the OTS calend=
ars that I have no right<br>&gt; to spend - so I&#39;ll ask you to pay for =
any expenses incurred by it during<br>&gt; testing, and make a $100 net don=
ation when you&#39;re done testing to make it<br>&gt; worthwhile for the OT=
S community. If you manage to lose more than that on<br>&gt; justice transa=
ctions, I&#39;ll consider that a donation. :)<br><br></div><div dir=3D"ltr"=
>Many thanks Peter for that.<br><br>No worries, I won&#39;t play with CPU o=
r RAM, it&#39;s just all the transaction-relay<br>and mempool logic that on=
e can interfere with. I&#39;ll make you whole of the $2400<br>if the LND no=
de goes down too hard, though I&#39;m just looking for a node running<br>on=
 mainnet, for a pinning the attacker has two open to channels and re-balanc=
e<br>the liquidity at its advantage a bit. I&#39;ll provide the liquidity b=
y myself.<br><br>If you have an on-chain donation address on the OTS websit=
e (?), I&#39;ll make a<br>$100 donation now, it&#39;s a nice tool. And for =
the justice transaction...well<br>for some scenarios you can use the latest=
 valid commitment state to pin no risk<br>of being slashed by a justice tra=
nsaction.<br><br>Best,<br>Antoine<br>ots hash: 19d9b61ed5238e2922205a0a0194=
e0830b260a691f45b4189b1d145f72c9e031<br></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">Le=C2=A0mar. 3 sept. 2024 =C3=A0=C2=
=A013:58, Peter Todd &lt;<a rel=3D"nofollow">pe...@petertodd.org</a>&gt; a =
=C3=A9crit=C2=A0:<br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-le=
ft-color:rgb(204,204,204);padding-left:1ex">On Tue, Aug 27, 2024 at 02:10:1=
5PM -0700, Antoine Riard wrote:<br>
&gt; My utmost pleasure to demonstrate some pinning attacks on nodes under =
<br>
&gt; real-world conditions.<br>
<br>
Antoine Riard: until Oct 1st, you have permission to test your attacks agai=
nst<br>
my Lightning node running at:<br>
<br>
=C2=A0 =C2=A0 <a href=3D"http://023345274dd80a01c0e80ec48928188783f9bc5281b=
e8f5057c050492f10711a5b@alice.opentimestamps.org:9735" rel=3D"noreferrer no=
follow" target=3D"_blank" data-saferedirecturl=3D"https://www.google.com/ur=
l?hl=3Dfr&amp;q=3Dhttp://023345274dd80a01c0e80ec48928188783f9bc5281be8f5057=
c050492f10711a5b@alice.opentimestamps.org:9735&amp;source=3Dgmail&amp;ust=
=3D1728794588055000&amp;usg=3DAOvVaw2MQcjR74DBfFaMUtjEzYWQ">023345274dd80a0=
1c0e80ec4892818878...@alice.opentimestamps.org:9735</a><br>
<br>
That also happens to be my Alice OpenTimestamps calendar, in production, so=
<br>
please don&#39;t do anything you expect to be CPU or RAM intensive. But if =
you<br>
accidentally take down the server, not the end of the world: OTS is a very<=
br>
redundant protocol and one calendar going down for a few hours is unlikely =
to<br>
do any harm.<br>
<br>
It has about $400 of outgoing capacity at the moment, and $2000 inbound. It=
<br>
gets hardly any donations at the moment, so if you manage to knock LND offl=
ine<br>
that&#39;s no big deal.<br>
<br>
That&#39;s not my money - it&#39;s donations to the OTS calendars that I ha=
ve no right<br>
to spend - so I&#39;ll ask you to pay for any expenses incurred by it durin=
g<br>
testing, and make a $100 net donation when you&#39;re done testing to make =
it<br>
worthwhile for the OTS community. If you manage to lose more than that on<b=
r>
justice transactions, I&#39;ll consider that a donation. :)<br>
<br>
-- <br>
<a href=3D"https://petertodd.org" rel=3D"noreferrer nofollow" target=3D"_bl=
ank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dfr&amp;q=3Dhtt=
ps://petertodd.org&amp;source=3Dgmail&amp;ust=3D1728794588055000&amp;usg=3D=
AOvVaw33YKuHk44i85Lin7-0jOo1">https://petertodd.org</a> &#39;peter&#39;[:-1=
]@<a href=3D"http://petertodd.org" rel=3D"noreferrer nofollow" target=3D"_b=
lank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dfr&amp;q=3Dht=
tp://petertodd.org&amp;source=3Dgmail&amp;ust=3D1728794588055000&amp;usg=3D=
AOvVaw0sfXblJXIrB6YClNwAjUR8">petertodd.org</a><br>
</blockquote></div>
</blockquote></div></blockquote></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/bitcoindev/2cf86d38-848c-4ead-a3a2-bc219d241f64n%40googlegroups.=
com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msg=
id/bitcoindev/2cf86d38-848c-4ead-a3a2-bc219d241f64n%40googlegroups.com</a>.=
<br />

------=_Part_157841_1969144025.1728708405613--

------=_Part_157840_753997707.1728708405613--