Research/Bitcoin Dev Archive / lightning-dev list
Faking LN transactions to road block chain analysis? Does it make any sense?
5 messages, Dec 20, 2019. Started by Piotr Włodarek.
ZmnSCPxj (2), Esteban Ordano (2), Piotr Włodarek
We do know for a fact that chain analysis software stops tracing backwards when found a compliant exchange address (good), gambling site address (bad), etc.
Theoretically, LN channel closure transaction should stop chain analysis software from analysing the chain further, as it is an exit gateway from another world, correct?
Not saying this is already implemented by surveillance companies but one would expect that in the future.
If so, we could envision faking LN like transactions to road block the analysis.
That would entail: 1) channel funding tx, 2) reasonable delay, 3) channel closure tx with amount split (and not merged) so it looks natural.
Advantages over using the actual LN I believe are obvious: no liquidity problem, no data exchange with LN public nodes, simplicity, etc.
Obviously, this assumes LN usage itself is not blacklisted by surveillance companies.
Does it make sense?
Or am I missing something?
Good morning Piotr,
Quoted text (26 lines)
> We do know for a fact that chain analysis software stops tracing > backwards when found a compliant exchange address (good), gambling site > address (bad), etc. > > Theoretically, LN channel closure transaction should stop chain analysis > software from analysing the chain further, as it is an exit gateway from > another world, correct? > > Not saying this is already implemented by surveillance companies but one > would expect that in the future. > > If so, we could envision faking LN like transactions to road block the > analysis. > > That would entail: 1) channel funding tx, 2) reasonable delay, 3) > channel closure tx with amount split (and not merged) so it looks natural. > > Advantages over using the actual LN I believe are obvious: no liquidity > problem, no data exchange with LN public nodes, simplicity, etc. > > Obviously, this assumes LN usage itself is not blacklisted by > surveillance companies. > > Does it make sense? > > Or am I missing something?
Current Lightning Network mutual closes are spends of 2-of-2 outputs. Given that most people will use either 1-of-1 or 2-of-3 ("never go to sea with two chronometers, take one or three"), they stand out and it is reasonable to assume that any 2-of-2 will be Lightning.
Now while this can be a "blockage" of some sort, we can observe as well that the upcoming BIP-Schnorr will allow the use of MuSig, which lets all n-of-n (including Lightning 2-of-2) to hide in the same anonymity set as 1-of-1. This helps break this kind of analysis as well, as Lightning channel closes are now indistinguishable from simple single-owner spends that are expected to be a good part of foreseeable future. Some work is also being done on verifiable secret splitting, which would allow k-of-n to hide in the same anonymity set as n-of-n, thus bringing the 2-of-3 users into this as well, and becoming a serious pain to chain analysis. It is this uncertainty which will force chain analysis (and offchain analysis as well, as Lightning grows) to start considering fuzzy logic (i.e. probabilistic analysis models, such as Bayesian nets).
You might also be interested in CoinSwapper as well: https://www.learnbitcoin.com/archive/lists/lightning-dev/t/2019/thoughts-on-coinswap-privacy-relative-to-lightning#m-28b44072 This somewhat inverts things, in that a method of mixing coins is possible by passing them through the Lightning Network (and it is arguable that this method of mixing will be just as efficient as onchain-only CoinSwap, though not as efficient as CoinJoin still).
Regards, ZmnSCPxj
On Fri, Dec 20, 2019 at 12:59 PM ZmnSCPxj via Lightning-dev < lightning-dev at lists.linuxfoundation.org> wrote:
Quoted text (5 lines)
> Current Lightning Network mutual closes are spends of 2-of-2 outputs.
> Given that most people will use either 1-of-1 or 2-of-3 ("never go to sea
> with two chronometers, take one or three"), they stand out and it is
> reasonable to assume that any 2-of-2 will be Lightning.
>Interesting... alternatively, one could explore modifying the current 2-of-2 closing outputs to make them undistinguishable from 2-of-3 outputs by negotiating a random third public key with a nonexistent private key (like XORing random values provided by each channel participant).
Good morning Esteban,
Quoted text (6 lines)
> On Fri, Dec 20, 2019 at 12:59 PM ZmnSCPxj via Lightning-dev <lightning-dev at lists.linuxfoundation.org> wrote:
>
> > Current Lightning Network mutual closes are spends of 2-of-2 outputs.
> > Given that most people will use either 1-of-1 or 2-of-3 ("never go to sea with two chronometers, take one or three"), they stand out and it is reasonable to assume that any 2-of-2 will be Lightning.
>
> Interesting... alternatively, one could explore modifying the current 2-of-2 closing outputs to make them undistinguishable from 2-of-3 outputs by negotiating a random third public key with a nonexistent private key (like XORing random values provided by each channel participant).It has the drawback of requiring three public keys in the resulting revealed SCRIPT rather than two. Further, *hopefully* the incoming BIP-Schnorr, with *hopefully* upcoming improvements in the verifiable secret splitting thing, will allow "normal" MuSig 2-of-2 to be indistinguishable from 2-of-3 as well.
It would be best to have a standardized NUMS point, then have both participants add their own one-time points to that point, precommitting hashes of those points first, then providing the points, then generating the sum of standard NUMS plus their random points.
Regards, ZmnSCPxj
Indeed, please excuse the brevity of my proposed mechanism and my basic cryptographic toolkit. Thank you for building on it!
The additional cost in the closing transaction would be an interesting trade-off for the privacy it provides. It could be negotiated on channel opening alongside the fee structure. I brought it up because it would be interesting to discuss this privacy improvement because it can be implemented today, and phased out when viable.
I am worried that it might open the door for an entropy exhaustion attack on negotiation, yet that might be easy to prevent.
E
On Fri, 20 Dec 2019 at 13:40 ZmnSCPxj <ZmnSCPxj at protonmail.com> wrote:
Quoted text (29 lines)
> Good morning Esteban,
>
> > On Fri, Dec 20, 2019 at 12:59 PM ZmnSCPxj via Lightning-dev <
> lightning-dev at lists.linuxfoundation.org> wrote:
> >
> > > Current Lightning Network mutual closes are spends of 2-of-2 outputs.
> > > Given that most people will use either 1-of-1 or 2-of-3 ("never go to
> sea with two chronometers, take one or three"), they stand out and it is
> reasonable to assume that any 2-of-2 will be Lightning.
> >
> > Interesting... alternatively, one could explore modifying the current
> 2-of-2 closing outputs to make them undistinguishable from 2-of-3 outputs
> by negotiating a random third public key with a nonexistent private key
> (like XORing random values provided by each channel participant).
>
> It has the drawback of requiring three public keys in the resulting
> revealed SCRIPT rather than two.
> Further, *hopefully* the incoming BIP-Schnorr, with *hopefully* upcoming
> improvements in the verifiable secret splitting thing, will allow "normal"
> MuSig 2-of-2 to be indistinguishable from 2-of-3 as well.
>
> It would be best to have a standardized NUMS point, then have both
> participants add their own one-time points to that point, precommitting
> hashes of those points first, then providing the points, then generating
> the sum of standard NUMS plus their random points.
>
> Regards,
> ZmnSCPxj
>