Latest / Crypto Coin Show / Does ZK technology improve blockchain security? How active are hackers | Blockchain Interviews
Transcript
- 0:00I'm Ashton Addison from the Crypto Coin Show and today on Blockchain Interviews with Andrew
- 0:05we see co founder and CTO of chain Light, Andrew, Welcome to the
- 0:09show and thank you for taking the time. Thank you for having me here.
- 0:13Very welcome. I'm excited to dive into cybersecurity in crypto, the latest
- 0:19technologies, the latest hacks. How safe are we becoming. I'm sure I'm
- 0:24hoping it's getting safe for each and every year, or each and every day
- 0:28with the help of chain Light as well. We'd love to dive into your
- 0:30insights today, but I would love to start our conversation off just hearing a
- 0:34high level on what you and the team are working on at chain Light and
- 0:38what does the company sort of encompass in terms of cybersecurity in crypto and maybe
- 0:44out of crypto, and then we'll dive into all the details. Yeah,
- 0:48thank you. So we found a chain Light in twenty sixteen. We started
- 0:54with more of the traditional security working with a lot of commercial and government customers,
- 1:00and then over a couple of years we then moved into sort of the
- 1:02web three and blockchain space, and so what we really try and bring is
- 1:07bring together experts so we're based from the CTF community. We've won a lot
- 1:12of competitions there. We try and hire from inside that community and then we
- 1:19try and bring everyone together into one team that can help our customers. Okay,
- 1:23and what is the CTF community? So Capture the Flag competitions are basically
- 1:30where you have security experts who are going against each other in order to see
- 1:36who is better at knowing their knowledge of cybersecurity. Really, so it's just
- 1:41sort of like a fun exercises sort of war games, is how you can
- 1:44think of it. And by doing that, we sort of found some of
- 1:47the best talent in the world for cybersecurity. Nice. That's always great to
- 1:52have sort of a gamification, you know. And when there's so many hackathons
- 1:57in crypto that I see, and when you can do it in a positive
- 2:01way you're a white hat hacker or you're protective people's funds and you're having fun
- 2:06while doing it, that always makes for a good time. Yeah, definitely,
- 2:09Like hackathons are great for developers, and the cts are sort of the
- 2:14equivalent for cybersecurity, and there's some of them in the blockchain world as well
- 2:19that we've done very well at. But they're always fun competitions. Now,
- 2:24can you talk about cybersecurity in crypto year over year, trying to keep up
- 2:31with the new developments, the protection of them, and then new attack factors
- 2:37that are coming in as new technologies come out as well. I'm guessing it's
- 2:39a bit of an uphill battle. Yeah. So there's a couple of different
- 2:44reasons for that, right. So one of the reasons is that the technology
- 2:47itself has become more complex. If you look at the sort of the origination
- 2:53of blockchain with bitcoin, at the time, it was sort of a very
- 2:58simple protocol. There wasn't much that attacker would be able to do with it.
- 3:00Once we got into ethereum smart contracts, all of a sudden, there's
- 3:06a lot more ways for an attacker to steal funds because people could now write
- 3:12these complex systems that were run in a decentralized way that anyone could assss.
- 3:19And these systems had to be full proof, they had to be bulletproof,
- 3:23because any small chink in their armor an attacker is going to take advantage of
- 3:28and potentially steal a lot of money. So I think as we see the
- 3:32technology progress, we're seeing a lot more For instance, zero knowledge systems out
- 3:38there. Those are even more complex than what Ethereum was, and so we're
- 3:44going to continue to see the attacks evolve. We get better each year at
- 3:49protecting against the sort of known attacks, but each year new attacks come out,
- 3:54and those we need to learn how to protect against as well. And
- 4:00I want to dive into the ZK tech, which is a bit newer in
- 4:02crypto implementation, at least in a little bit later in the conversation. I'm
- 4:06curious on the you know, some of the contracts that I've seen in on
- 4:14ethereum, for example, if there's a dex where there's like a D five
- 4:17platform, some of them just have like a simple smart contract, which of
- 4:23course all the code for that is public and you can see it. And
- 4:28from what I understand, you know, a smart contract is only as secure
- 4:30as as you think it is until it gets attacked. You know, it's
- 4:34you might have not noticed, a hacker might notice a flaw in a contract,
- 4:39and although everyone can see it when it's launched, you don't really know
- 4:42how secure it is until it gets attacked. And some of these smart contracts
- 4:46have one hundred million dollars in it or a few hundred million, and they
- 4:49probably need a few hundred million dollars worth of security to be backing that simple
- 4:56contract to ensure that it's not an attack factor for hackers. That's exactly right,
- 5:00and that's sort of one of the challenges I think for users of these
- 5:04smart contracts is how do users judge how secure a project is. Experts like
- 5:13us still have a hard time of figuring out whether code is secure or not.
- 5:17It's going to be almost impossible for normal users who are non technical to
- 5:25do that assessment themselves. So, yes, the code is public, but
- 5:28that's only useful if you have experts of looking at the code in order to
- 5:31find these problems. And when you do an audit of a smart contract,
- 5:41there's only I'm guessing there's like a checklist of like the basic things. But
- 5:46then sometimes as these contracts get more complex, there's new variables that come in
- 5:51that either they haven't been thought of, or you know, a semi colon
- 5:56is missing here or there or something, and that allows for the hackers to
- 5:59come in. Yeah, so there's always there's been several known issues in ethereum
- 6:06or solidity smart contracts, for instance, but as an example of sort of
- 6:12new attacks, that have come to bear price oracle manipulation attacks, for instance,
- 6:18several years ago that wasn't even on the radar, but then once one
- 6:24of those was found in the wild when someone actually exploited a contract with the
- 6:29oracle manipulation, all of a sudden, this isn't something now that we have
- 6:32to look for in every single contract that has an external oracle. As an
- 6:39example, recently, rounding attacks are the same thing. So in computers,
- 6:46you can't precisely measure a value necessarily, so when you do a division,
- 6:53there's going to be some rounding error, and so that's something else that you
- 6:56have to sort of now take account for when you look through all this very
- 7:00very interesting, and I'm guessing you have some of the industry insights for twenty
- 7:08twenty three. You know, it was pretty good here for bitcoin and for
- 7:12layer two is becoming more known and more used. What are the numbers for
- 7:19the amount of exploits that happened compared to you know, twenty twenty twenty one,
- 7:25twenty two, twenty three, are we seeing a major decrease in overall
- 7:30the amount of one hundreds of millions that have been exploited and the percentages are
- 7:33going down or so what is you know, what is the direction that and
- 7:38how efficient is it becoming with chain like making protective measures over the smart contracts
- 7:45and crypto overall. Yeah, so we are seeing the numbers grow, but
- 7:50part of that is because the amount of money that is in crypto is also
- 7:55growing. So because of that is going to be the case that these attacks
- 7:59are going to get larger. So I wouldn't necessarily see that as a bad
- 8:05thing. It's not necessarily good, but it's just because the market itself is
- 8:11larger. One of our customers is blast we've done not for them recently,
- 8:18They've been very proactive about, Okay, we now have one point three billion
- 8:22dollars a lot of value. Let's make sure we keep that secure because you
- 8:28know that would be a that's a very juicy targe different attacker. So we're
- 8:33definitely working on that. We can't protect everything, so we protect our customers
- 8:41by looking at their code and helping them with that. But that's not necessarily
- 8:45the entire attack surface. We've seen other folks get attacked in ways where it
- 8:50wasn't through the smart contract code that they got hacked, but because someone was
- 8:56able to hack into their servers get their key and such, and that's something
- 9:01that we can't really protect against, but those are still sort of included in
- 9:05the whole blockchain security space. Yeah. No, that's a great point.
- 9:09And you know I mentioned about different layer twos. There's a lot of air
- 9:15drop incentives going on right now. With all these layer twos that have raised
- 9:18hundreds of millions of dollars have yet to come out with a token, there's
- 9:20a lot of incentive for people to move their ethereum over to new networks and
- 9:28also explore with new applications that you might not all be safe or there might
- 9:33be phishing attacks. I very well know there are some fishing attacks or disguised
- 9:37contracts to you know, whenever there's free money, so to say, on
- 9:41the line, people sort of get excited and take risks with their capital.
- 9:46And I know one of the top air drops that's supposed to be coming out
- 9:50in the future is the ZK sync Layer two network. I believe there was
- 9:54an exploit of some sort that chain Light helped with to protec some of the
- 10:00capital and zk Sinc. Maybe could talk about that story and what exactly happened
- 10:03there. Yeah, So zk sync is like many ZK roll ups, they
- 10:11have a stereo knowledge circuits, which are equivalent to think of as code that
- 10:18they use in order to prove that transactions are doing what they're supposed to do,
- 10:26proving that they follow the rules of the network. And so we found
- 10:30a way where the circuit had a bug, and so a malicious prover could
- 10:37change the behavior of a transaction. So, you know, it's one of
- 10:39the important things to know is that right now with all of these ZK roll
- 10:43ups, there is generally a centralized prover. There's only one person who's allowed
- 10:48to actually put these proofs onto their main chain, be the Ethereum. And
- 10:56so while we found a bug in these circuits, only a malicious proofer would
- 11:01be able to one to actually exploit it. And at the moment that's all
- 11:05that control is centralized into matter labs, and they're the only ones that we
- 11:11can run a prover. But their goal, and the goal is of every
- 11:15other l to roll up out there, is to decentralize that role to allow
- 11:20anyone to push out these proofs. And so that's where this bug would have
- 11:24became very dangerous, is that if anyone can push a proof and there's a
- 11:28bug in the circuit, then anyone would be able to manipulate the system and
- 11:35potentially steal all the funds. Oh my gosh. And yeah, I was
- 11:39reading that the numbers were almost totally two billion dollars. Yeah, that's roughly
- 11:43how much money has been flowing through ZK sink Era before and after that we
- 11:50found that bug, so it's fixed now, thankfully. Also, ZK sink
- 11:54Era has been very proactive about going and gaining audits and finding more issues.
- 12:01So we participated in one of their eyds recently where we found a couple more
- 12:07similar issues in their version to others c Case and CARA, And so they're
- 12:13being proactive about getting audits done and making sure that these vulnerabilities are found and
- 12:18fixed. M Yeah, no, that's good to note, especially when there
- 12:24are new protocols like this and you're not and the hackers are looking and they're
- 12:28not just looking at one smart contract, perhaps they're looking at a new attack
- 12:33vector for the whole blockchain. Then you're looking at you know, billions of
- 12:37dollars, as you're saying, not just hundreds of millions. So you really
- 12:41have to be proactive about the security. And because the ZK technology is new
- 12:46and I don't understand the computer programming expertise behind it. But from one I
- 12:52understand being zero knowledge, there's parts that are you know, you can carify
- 13:00things without having information about it, and that might have some information asymmetry on
- 13:05different aspects. Do you know what are some of the advantages and disadvantages of
- 13:11introducing ZK technology into not just ZK sync, but any blockchain and smart contracts?
- 13:18How does that affect the security of it? Adding in ZK Generally speaking,
- 13:26it doesn't greatly affect the security. What it really does affect, though,
- 13:31is the scalability or privacy of the system. So if you you can
- 13:39use zero knowledge in order to scale more because you need to send less data
- 13:45to every network participant, or you can use ZK to introduce privacy because you
- 13:50can hide information. Now where's security comes into play is that right now there
- 13:56are fewer people who know and are able to use audit ZK circuits and the
- 14:03code that interacts with K circuits. So because there's fewer experts, it means
- 14:09that it's a lot more expensive for projects to get their code audited. That
- 14:13decreases the chances for them naturally get those audits done because every time you push
- 14:18out new code, every time you have a new feature, you really want
- 14:22to audit all that code and all those features. But if there's just not
- 14:26anyone around that has the expertise to do this audit, that becomes very difficult.
- 14:33Yeah, sort of the downside of innovative technology, and that if you're
- 14:37the first one to make something new, who's going to audit it to determine
- 14:39whether it's secure or not? Moving forward exactly, and there's this other challenge
- 14:46where right now the zero knowledge systems are kind of distinct. We have three
- 14:52or four different ZK roll ups that are deployed with maynets in each of them
- 14:58having different code base and so they're all based on zero knowledge. But as
- 15:05an expert who wants to go and look at their code to make sure working
- 15:09correctly, we need to now learn a completely new code base for each of
- 15:13those and it's we're talking about hundreds of thousands of lines of code, and
- 15:18so it's a substantial time investment. And do you think with the introduction of
- 15:26these layer twos that have all these advantages with ZK, do you think the
- 15:31technology is going to be sort of a standard practice moving forward as more blockchains
- 15:39will adopt it, and all new blockchains in the future will introduce part or
- 15:45a whole part of ZK in the technology. Just as a standard, is
- 15:48it that good of technology, it's that good of a technology. For scalability
- 15:54and Ethereum as an example, there's been a lot of issues scalability and they've
- 16:00always been looking for solutions for how to get more transactions per second or how
- 16:08to get more data onto the network. So the new Ethereum upgrade that's coming
- 16:15hopefully the screen introduces PROTODYNK charding, which in some ways is an example of
- 16:22zero knowledge because you have this data that's going to be on the network,
- 16:26it's going to be verified, and then it's going to be thrown away,
- 16:30and all future nodes in the network just sort of rely on these zero knowledge
- 16:36proofs instead of actually having the original data. That's good to know. And
- 16:44when a hacker is looking at attacking a different blockchain, is there an incentive
- 16:49for them to go after a ZK blockchain in that if they find an exploit,
- 16:55maybe there's more privacy around them exploiting the funds and not being able to
- 17:00get caught, or does the privacy functions inside of the blockchain not really affect
- 17:04them in that specific instance. We only see attackers utilize privacy technologies in order
- 17:12to sort of hide their tracks. And that happens whether it's a private network
- 17:18or not. So on ethereum we have Tornado cash. Tornado cash is used
- 17:23in many many attacks just because it sort of hides the source of the original
- 17:29funds and allows the attacker to then get their funds back out without associating it
- 17:36with the hack. So we see that, and I think you'll see attackers
- 17:40use more private networks as they come out, potentially just for their as a
- 17:45way to mix the funds, not necessarily targeting those networks specifically, but just
- 17:52using them to sort of attack any network because the attackers don't really what they're
- 17:59looking for is where's the juice? Is partt where is the most money that
- 18:02I can easily get? And then they'll use a bridge, they'll use a
- 18:07swap, web swapping website, whatever they need to in order to get it
- 18:11to either Tornado cash or some other privacy Okay, yeah, no, that's
- 18:18good to know. And with chain light, what are some of the focuses
- 18:23for twenty twenty four Big Year here, a lot of new institutions, new
- 18:27players coming into crypto, more holding Bitcoin, and probably that will trickle down
- 18:33into other more innovative blockchains and zk as well. And as you said,
- 18:38there's more being exploited because there's a lot of capital coming in and I'm sure
- 18:45the future hackers are probably excited that there's lots of new billions coming in into
- 18:49new technologies. Hopefully that will keep you guys busy as well to protect all
- 18:55this capital. What are some of the focuses for you and your team for
- 18:57twenty twenty four in what you think might happen in the industry and where your
- 19:02focus is to protect capital and protect people and projects. Yeah, there's a
- 19:07couple of ways that we're sort of positioning our company. The first is that
- 19:12we recognize that there are going to be a lot of projects and a lot
- 19:18of developers that need audits, and so we're looking at ways to be able
- 19:22to help more of them. We're limited in the industry in our company with
- 19:27how many people we have that can actually look at these audits line by line
- 19:33and then write a report, So we're looking at ways of automating those with
- 19:37static analysis tools. Maybe automating some of the report generation as well, using
- 19:44generative AI, any of the tools that we can use to make our auditors
- 19:48time more effective. So that's definitely one way that we're positioning ourselves and where
- 19:55we're looking to grow in twenty twenty four. The other way is through zero
- 19:59knowledge. So since it is such a new technology, it's a space where
- 20:03we are trying to build up the skills ourselves as well as find customers that
- 20:08we can help that need these audits done and make sure that we can review
- 20:12their code and find any of the issues. So we started that a bit
- 20:17last year with working with c casing Era, and we're hoping to expand that
- 20:22to other Z capables as well. Very cool. I appreciate your insights into
- 20:27the industry and it's good to know that you guys are staying on top of
- 20:32the new technologies make sure that these smart contracts and people that are just getting
- 20:37into crypto can have a safer experience and not get burned right away. Sort
- 20:41of puts a black mark on what they think crypto is. You know,
- 20:45I think the exploits are a very small percentage of what all the total innovation
- 20:52of what's happening in blockchain, and I know chain lay it's helping keep that
- 20:56percentage very low. So thank you guys for for what you're doing and for
- 21:00your insights into the industry. All the best in twenty twenty four and moving
- 21:03forward here and let's definitely follow up in the in your future. Yeah,
- 21:07thank you Ashton. It's a pleasure.