• Aucun résultat trouvé

Deanonymization and linkability of cryptocurrency transactions based on network analysis

N/A
N/A
Protected

Academic year: 2021

Partager "Deanonymization and linkability of cryptocurrency transactions based on network analysis"

Copied!
39
0
0

Texte intégral

(1)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

1/39

Deanonymization and linkability of

cryptocurrency transactions based on

network analysis

Alex Biryukov, Sergei Tikhomirov University of Luxembourg

(2)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Outline

Introduction Transaction clustering Parallel connections

Weighting timestamp vectors Correlation matrix

Measuring anonymity Experimental results

Estimating the source IP Discussion

(3)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion 3/39

Outline

Introduction Transaction clustering Parallel connections

Weighting timestamp vectors Correlation matrix

Measuring anonymity

Experimental results

Estimating the source IP

(4)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Bitcoin

(5)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

5/39

Privacy in Bitcoin

(6)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Taint analysis heuristics

I All transaction inputs probably belong to the sender I One output probably also belongs to the sender

(7)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

7/39

Privacy coins hinder blockchain analysis...

I Dash: mixing by masternodes

I Monero: ring signatures

(8)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

...but what about network analysis?

(9)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

9/39

Our contributions

I We introduce a new transaction clustering method based on weighted vectors of IP addresses

(10)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Outline

Introduction Transaction clustering Parallel connections

Weighting timestamp vectors Correlation matrix

Measuring anonymity

Experimental results

Estimating the source IP

(11)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

11/39

Message propagation in Bitcoin

(12)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Broadcast randomization in Bitcoin and forks

(13)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

13/39

Intuition

(14)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Outline of our clustering method

(15)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

15/39

Parallel connections

I Default connections: 8 outgoing + up to 117 incoming I We are unlikely to get a new tx quickly with only one

connection per node

(16)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

(17)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

17/39

(18)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Weighting timing vectors

IP addresses pi announce a new tx to us at times ti. We assign exponentially decreasing weights to pi:

w (pi) = e−(ti/k)

2

where the median IP gets weight 0.5: k = tmedian

(19)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

19/39

Weighting timing vectors: example

High values indicate higher probability of an IP to be the sender or one of its entry nodes.

(20)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Clustering the correlation matrix

I For each pairwise correlations of weight vectors of txs I Hypothesis: correlation matrix has a block-diagonal

structure

(21)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

21/39

Heatmap visualization

I Display correlations between weight vectors as matrix I Darker color means higher correlation

(22)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments Estimating the source IP Discussion Conclusion

Measuring anonymity

We use anonymity degree proposed by D´ıaz et al.1: d = −

PN

i =1pilog2(pi) log2(N)

where pi is the probability of the i -th tx to originate from the given source.

I d = 1: users are equally likely to be the senders of a given message

(23)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments Estimating the source IP Discussion Conclusion

23/39

Putting the pieces together

I Connect to many nodes from servers on 3 continents I Log transaction announcements

I Assign weights to vectors of timestamps

I Calculate pairwise correlations between weight vectors I Apply the spectral co-clustering algorithm 2

I Calculate anonymity degree for our txs as ground truth I Ethical considerations: mostly testnet, our own txs

2

(24)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

Outline

Introduction Transaction clustering Parallel connections

Weighting timestamp vectors Correlation matrix

Measuring anonymity

Experimental results

Estimating the source IP

(25)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

25/39

(26)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

(27)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

27/39

(28)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

(29)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion

29/39

Dash

(30)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP

Discussion Conclusion

Estimating the source IP from ADDR messages

I A new node advertises its IP in ADDR messages I We intersect the announced IPs from ADDRs with the

highest-weighted IPs in tx clusters (Bitcoin testnet) I In most experiments, the source IP appeared among

(31)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP

Discussion Conclusion 31/39

Outline

Introduction Transaction clustering Parallel connections

Weighting timestamp vectors Correlation matrix

Measuring anonymity

Experimental results

Estimating the source IP

Discussion

(32)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP

Discussion

Conclusion

Cost of attack

I Feasible for a moderately resourceful attacker I Main cost components are bandwidth and storage I We estimate the cost of a full-scale attack on Bitcoin

(33)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP

Discussion

Conclusion

33/39

Countermeasures

I Don’t issue many txs in the same session

(34)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP

Discussion

Conclusion

Countermeasures (contd): new relay protocols

I Dandelion++: two-stage propagation for better anonymity. Only outgoing connections for first phase. Hard to force a remote node to connect to us

(35)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion Conclusion 35/39

Outline

Introduction Transaction clustering Parallel connections

Weighting timestamp vectors Correlation matrix

Measuring anonymity

Experimental results

Estimating the source IP

Discussion

(36)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion

Conclusion

Conclusion

(37)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion

Conclusion

37/39

Future work: mobile wallets

(38)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion

Conclusion

Questions?

I

cryptolux.org

(we are hiring postdocs)

(39)

Deanonymization and linkability of cryptocurrency transactions based on network analysis Biryukov, Tikhomirov Introduction Tx clustering Parallel connections Weighting timestamp vectors Correlation matrix Measuring anonymity Experiments

Estimating the source IP Discussion

Conclusion

39/39

Image credits

I Transaction structure: Andreas Antonopoulos. https://bit.ly/2MPDpba

Références

Documents relatifs

Tiling In order to construct a fiber from an oligomer, a new interface needs to be made accessible and the result- ing repetitive unit needs to be compatible with a one-

On the other hand, if an attacker starts with a payout transaction from a different mining pool, the resulting set of transactions will be disjoint, if the parameters are set

5: Bitcoin testnet (combined).. TABLE I: Experiments on Bitcoin testnet and Zcash. Looking at propagation of ADDR messages, the intuition is that an ADDR message relayed by a set of

Furthermore, the graph-based analysis of Bitcoin transactions can help discern suspicious transaction behaviors and currency flows involving Bitcoin users.. Future work will focus

Identification of causal signature using omics data integration and network reasoning-based analysis.. Méline Wery, Emmanuelle Becker, Franck Auge, Charles Bettembourg, Olivier

For a time series T with 100 data points the Matrix Profile for all subsequences of length 10, would consist of a 90 by 90 matrix.. A common metric used is the z-normalized

and "sell", the nodes of the graph reflect the number of interactions on certain dates. The analysis of work in educational payment system was carried out in the period from

Then, combining the empirical cross-correlation matrix with the Random Matrix Theory, we mainly examine the statistical properties of cross-correlation coefficients, the