So, I'm going to introduce Olivia and Nicholas for their live demo of White Rabbit, which is combining threat intelligence, public blockchain data, and machine learning to go down the dirty money rabbit hole. Thank you. Hi, I'm Olivia. I'm an engineer at TrueStar, and this is Nick, my partner for the tour. I'm the lead data scientist at TrueStar. So, we became interested in doing this research and building this tool since every day we work on how, on finding better ways for security teams and analysts to make use of the information. So, with the rise of cryptocurrency in general, but also in the security context in these last few years, we decided to, investigate that further in our tool. So, as you all probably know, ransomware campaigns have been evolving their payment methods from prepaid debit cards to cryptocurrencies such as Bitcoin and Monero in recent years. And there's plenty of reasons for why Bitcoin, which we're specifically looking at in our demo, could be appealing to these attackers. So, first of all, it's decentralized and pseudo-anonymous, which allows for a lot of security. For them, for attackers to easily hide their tracks, and, for them to easily be able to launder their funds through Bitcoin mixers or tumblers, once they've received those funds. But thankfully, for Defenders, and specifically for us, as we're going through this tool, it's also an immutable public ledger, which allows us to, as you'll see in the next few slides, to use a few Bitcoin addresses associated with this illicit, activity to trace all transactions that were related to it to pretty confidently create a cluster that we identify as a ransomware campaign attackers wallet and that brings us to one of the points of our tool and research is that Bitcoin balances can be predictors of ransomware campaigns ramping back up we've tried to incorporate this this idea into what we built as an early warning system which we do by monitoring Bitcoin wallets and their balances and seeing if any kinds of anomalous activity or any patterns that we can find from there are indicators of activity happening out off the blockchain and if we can map that back to other sorts of observable patterns that we can find from there are indicators of activity happening off the blockchain and if we can map that back to other sorts of observable such as IPs or hashes and we do this by using a four-step workflow and we start off by harvesting seeds which are which is what we identify as Bitcoin addresses that victims have paid the ransom to in a couple of crypto ransomware campaigns that have used Bitcoin as a form of payment and from these addresses we form clusters that can be used as a form of payment and from these addresses we form clusters that can be used as a form of payment and from these addresses we form clusters that can be used as a form of payment and from these addresses we form and we monitor these clusters for cyber teams and analysts to then use to actively defend so just going back to what we were first saying we use seeds to begin the cluster and an idea of a seed could be the address you see in the top right in this screenshot from WannaCry where the attackers asking for $600 worth of Bitcoin to be sent to that address and so most of time these addresses are randomly generated and once the funds are sent to the attacker decryption key is sent back and we were able to find these seed addresses from about two or three dozen open sources so we then take that address which alone is really just a random data point and we expand this data set using what we call a multi input or co-spend here to expand this data set we actually use an open source blockchain Explorer called BlockSci so here we start off with a seed address and recursively look for all addresses that shared inputs in transactions with that original seed address to where we have this final cluster which is what we identify as the attacker's wallet so Nick is going to go into our specific demo that looks into the Crypto Locker campaign so yeah as olivia said um we're gonna do like a deep dive into how the crypto locker campaign evolved crypto locker was a ransomware that first appeared in september 2013 and then it evolved there was a couple of releases after that of crypto locker which basically leveraged that initial version and built on top of it the second one was crypto defense which was a release around february 2014 and it was short-lived and then afterwards cram uh crypto wall with all its version one through four uh the interesting thing is that you can basically track that evolution of that specific ransomware by looking at blockchain data and connecting some of the cluster of bitcoin addresses exactly they map out to the releases of these different tools so i'm gonna go to the tool now so what basically uh the tool allows the user to do is to like to look at the different malware families that that we were tracking uh the latest one actually was a was something that was observed a couple of weeks ago uh it's called crypto wallet hijacker uh it was a tool that was uh changing the bitcoin address that was receiving the funds and so if it would uh let's say but olivia wants to send funds to me crypto wallet hijacker would uh flip the bitcoin addresses and put the attacker's uh wallet address to it uh but going back to crypto locker so if you click on one of the malware families the the thing that we showcase to the user is uh the 黑ール of data on the blockchain with events outside the blockchain. So, for example, we know that the first release of CryptoLocker, as I said on the previous slide, was in September. And it ended, and that campaign ended, or CryptoDefense was released around March. So you would expect that CryptoLockers, that they would stop receiving funds between these two dates. And indeed, if you look at the results from that cluster and the balances, you see that that cluster of Bitcoin addresses started receiving funds around September 7th of 2013. So two days after, technically, that software was released. And then you can see that the balance really evolved September through the end of 2015. And you have a peak here of where the attackers, who had around $140,000 in that specific wallet. Then that campaign started ramping down around February until these guys exfiltrated all their money out of this wallet. Then after this was dying down, CryptoLocker was dying down, what was interesting is when you start looking at the CryptoDefense blockchain data. So here, starting with, I think, one seed from CryptoDefense, we were able to reconstruct two clusters. So basically two wallets associated with CryptoDefense. What was interesting in that particular release is that it didn't make a lot of money as much. So it didn't make as much money as CryptoLocker did in the beginning. So it wasn't a successful campaign for these guys. And one of the reasons that we were able to identify is that it had a cryptographic bug. So these guys, so the victims were able to eat the CryptoDefense. They were able to easily decrypt the data that these attackers tried to encrypt. And compared to a peak of $140,000 for CryptoLocker, CryptoDefense really didn't make enough revenues. Which brings us to the third release, which was CryptoWall. CryptoWall was actually particularly tenacious. In terms of how much revenue these guys collected, I think I estimated around $4,000,000. And we were able to identify around, I think, 13 clusters of Bitcoin addresses associated with CryptoWall. And these clusters or wallets, I mean, there's two hypotheses as to why there were so many clusters or so many different wallets. One hypothesis that I can think of was that there were different minor releases which were associated, of that software, which were associated to CryptoWall. The other hypothesis is that there were, as ransomware was evolving as a ransomware as a service type of industry, probably there could be other attackers that were leveraging that code and also releasing campaigns. And what is interesting is that, like, some campaigns were relatively way more successful than others. So, like, there could be some intelligence outside the blockchain. As to why that specific campaign was more. Maybe, like, their phishing emails or whatever were more targeted. Or, like, there has to be something to make it more successful. But, also, the other thing is that the ransomware becomes more successful if the cryptography is strong. So, CryptoWall was the first software to implement really strong, like, rigorous RSA cryptography. Which was hard to break. And, which is why, if you look closer at the balance data, there were a bunch of these wallets cluster which made a lot of money. And one of them, around the end, like around August 2015, had a balance of around $180,000. And then, basically, as I said, CryptoWall came in right after CryptoDefense and they were able to patch that cryptographic bug and implement rigorous cryptography. And if you look closely, one of these clusters, the orange cluster, made three times more money than the CryptoDefense. And then, what we offer in this tool is, like, your ability to... Dig deeper into each one of these. So, like, as I said, CryptoWall version one started around, I think it was released around April 2014. And you start seeing that first wallet making money around May 2014. And, at some point, they made around 60 Bitcoin. The most interesting wallet or version that made a lot of money was CryptoWall 3. Which, at some point, was able to collect... Like, you can see here, 800 Bitcoin at one specific point in time. So, if these guys huddled, as they say in the crypto community, they kept their Bitcoin, they're probably millionaires right now. But, going back... The other thing is, I want to tell you guys is that we open source that code. So, like, it's easily downloadable from our own... GitHub repository. At truestar, truestar, white rabbit. What you need for that code to operate is running instance that contains block side, which is our analytical tool. To allow us to explore the blockchain and do some of the analytics and the clustering that is necessary for us to reconstruct the clusters. So, what you would need to do is, let's say you want to run one of the example... The example notebook that we released as part of this. You would need to spin up a node having, like, a block side node, which allows you to pull in the latest blockchain data. And, from our experience, it required a large AWS instance because the blockchain data right now, I think, is around... At least for Bitcoin, is around 140 gigabytes. So, it's a lot of data. Anyway, coming back to, like... Let's say the example. There's a couple of utility functions that we built that's wrapped around that tool. But I'll go quickly as to, like, what are the steps for you to reconstruct these clusters. So, the first thing is you need to... Basically, what you would do is initialize the blockchain. Then, afterwards, you could set the heuristics for you to perform the clustering. So, by heuristics, as Olivia explained... In this case, we used the co-spending heuristics, which allow you to determine which Bitcoin addresses spend together towards a certain transaction. And this is basically that allows you to stipulate that the cluster that you were able to obtain is associated to one wallet, one user's wallet. For the CryptoLocker case, we were able to identify two main seed addresses. And the seed addresses, as I said... There are the Bitcoin addresses that were the receivers of the funds from the victims. From that, the seed addresses, you basically create that address object that BlockSight allows you to build. And then, you want to find the specific cluster that is associated with that Bitcoin address. So, you would obtain the... In this case, the heuristic was... Removed a heuristic that is called a change heuristic, but I'm not going to go into it. And then, for CryptoLocker, what I'm printing out... The result that I'm printing out here is the number of Bitcoin addresses that were associated to that wallet. So, for CryptoLocker specifically, we were able to reconstruct 968 Bitcoin addresses associated to the wallet of CryptoLocker. And then, from it... From that cluster that you find... What BlockSight allows you is to obtain all the transactions that transacted with that specific cluster that you reconstructed. And basically, that allows you to compute things such as the volume of money that went or flowed into that cluster or into that wallet. So, for CryptoLocker, the first version... The volume of money that transacted with that cluster... Was around $11.8 million. And then, we also build a utility function... Which allows you to rebuild these balances associated to that specific cluster. So, from it... For example, in this function... You're able to obtain the block heights at which the transactions happen. And then, for these block heights, you can obtain the balances. And, of course, you can plot it at the end. It's true that, for example, in this graph... So, this is the graph that I was showing in the tool that is hosted already. It shows you data from September 2013, which was the start of CryptoLocker, till the end of 2017. But the reason is that these end dates were so large... There's a lot of researchers out there that performed these micropayments... In order to be able to reconstruct the clusters and determine if, like... Reconstruct the wallets. So, the reason they do it is... If there's no payment or money flowing through these Bitcoin addresses... It wouldn't be possible to reconstruct the cluster. So, that was, I thought, interesting. Even though the actual campaign for the first version of CryptoLocker ended around February 2014. Which brings us, actually... Now that I've discussed a little bit... What we did and showed the tool... To a final proposition that we'd like to make as part of this release. So, I think as security threat intel analysts... We have to think about how we can leverage data on the blockchain... And how we can leverage Bitcoin addresses and add it as part of an indicator to the pyramid of pain. And I'm gonna explain... I mean, this is debatable, of course. It's not final. So, Bitcoin addresses have, like, some interesting characteristics. The first characteristic is more similar to hashes. As in, you can easily use a Bitcoin address in, like, some link analysis... And compare events to each other. And the links are as accurate as a hash. The other thing is that they're also kind of... I mean, they're easy to generate, right? Like, hashes are easy to generate. You change one bit in the code and you have a different hash. Bitcoin addresses also, in some ways, share that attribute as... In the sense that attackers or anyone really can use any open source tool... Or, like, whatever, like, a service... Commercial service to generate a wallet. Or to obtain a wallet. And generate new Bitcoin addresses in a public private key pair. So, in a way, that's the easy part. But the cool part, the other characteristic of Bitcoin is that... They, in some ways, share some form of TTP about the attackers. In the sense that, because blockchain data is immutable... Researcher and forensic experts or even government agencies... Can look at the blockchain data and investigate the behavior forever. It's something that is always gonna be there. And it's always available. And the attackers can't do anything about it. And once you investigate on the public blockchain... You can easily... If you're, I don't know, an offensive person... You can easily disrupt the payment system of the attackers. So, that could be really... A really painful attack that you can perform on these attackers. So, in some way, that's why I consider it as, like... A characteristic that is similar to TTPs. In the sense that it's very painful... If you disrupt that payment system. And... On average, I consider adding it, basically, to right in the middle... Being an in-between TTPs, maybe, and hashes. There's, of course, a lot of future work that we'd like to perform. One problem we identified... Is a lot of the time, you're heavily reliant on... This... These seed addresses that are the start of the clustering methodology. If you don't have enough intelligence... If you don't have malware samples... You're not able to reconstruct, basically, all of these clusters... Based on this methodology. So, you wouldn't be able to track the campaigns as efficiently. One potential solution to make this more usable by everybody... Is to have, like, a common repository, maybe, for seed addresses. Where, like, if someone... Detonated a malware sample and collected a Bitcoin address... It's important to share it and link it... And associate it to a specific ransomware family... So that defenders are able to track balances... Of that specific, particular wallet. The other aspect of it is that there's a lot of missing labeled data. Particularly around whitelists. So, it's... Basically... It's very hard to determine... Or, not very hard, but, like... Sometimes, the heuristics that we showcase... In terms of reconstructing the clusters... Could get contaminated by something called a coin-join transaction. Which is a transaction that launders money... That was made by these attackers. And... It's very... Its behavior is, in some ways, similar to the cospending heuristic... That is used to build these clusters. And if you encounter one of these... You might be able to... To build a cluster that is associated to, like... Maybe a mixing service... Or even a... An exchange... So you can end up getting thousands... Or hundreds of thousands of Bitcoin addresses... That are associated to an exchange. So, in some way... If there's an ability for... Exchanges and... Other tools to provide, maybe... Defenders with whitelisted Bitcoin addresses... That could be super helpful. The other aspect is the computational complexity. Sometimes... It is very slow to... Compute clusters for some of these addresses. The other thing is that, like... If you want to, let's say, leverage... Things like ML... There's... I think right now... There's around 140 million different clusters... If you perform the clusters on the whole blockchain... So that gives you a sense about the scale of the problem. So there's 140 million clusters. And if you want to compute... Some form of... Let's say I... Computed at some... I did some time series analysis about... How these wallets associated to bad actors behave. And I want to compare it to other clusters... That are unlabeled on the blockchain. It's a highly computationally complex problem. The final problem is, of course... A matter of ethics and privacy, right? Like... This tool can be used also by bad guys... For surveillance and monitoring of transactions. That data is public. Anybody can use it. You can link any off-the-chain data... To blockchain transaction and try to... Determine who transacted and what were they doing. So you can do a lot of... Surveillance that is... Could be... Challenging morally. And you can also... Have arbitrary discrimination. And the sounds are like... Let's say you start building these heuristics and clusters... And identify, like, different... Risks associated to Bitcoin addresses... Some people could... Leverage these stuff to discriminate against... Specific people and not allow them... Payments. So as a community... Like... I think we need more engagement from good actors... To be able to resolve... Some of these... Some of these... Issues. And... Again, thank you... For listening in. And... Basically, as I said, this tool is... Is open source. And if you have any questions... For me or Olivia... Please, like... Share this question with us. And, like, we're ready... Happy to take... Questions right now. Yeah. ... ... It's... Actually a very good question. And we were, like... Playing around with it for a while. So in terms of... Of a warning system, it's... If you were not... The victim. Maybe you're... It's more about, like... If you're a security operator... and you know that specific ransomware is ramping up or ramping back up, this is where it allows you to defend if you haven't been hit. This is what I mean by a warning system. It's not really in terms of a system for crypto exchanges for them to block these transactions or something like that. Did I understand your question correctly? Yeah, I think so. Yeah. Could you expand upon this idea? I think so, but it requires more ML-based approach in the sense where you directly identify something as bad. But this requires, of course, much more investment and computing power. And yeah, it's... Any more questions? Yeah. Okay, if there's no more questions, thank you very much. Thank you. Thank you.