Welcome everybody. Welcome Philip. I hope you enjoy the talk. After the talk, if you have any questions, that's when everyone is kind of available to answer anything you have Monero related or Coinbase related or cryptocurrency related, I guess, as well. And blockchain related, right? They're all kind of related in some way. Okay, so enjoy the talk and hopefully talk to you soon. Hey, look at that. Computer worked. I'm going to apologize in advance for my voice. It's not keeping up super well this weekend. But with the amplification, hopefully it'll go okay, along with some water as well. Good morning. Good morning. Good morning, Monero. Got a good group of hecklers here today. That's going to be a good time. Thanks for coming out at 10 o'clock in the morning. I'm sure some of you just stayed awake until 10 o'clock in the morning. So more power to you. You can go to bed soon. As I said, my name is Philip. For the last two and a half years, I've led security at Coinbase. Normally, this is the point where I ask the question, who's heard of Coinbase? But I'm pretty sure that's an obvious question here. How many of you guys are customers? Nice. That's a half-ish. Really cool. Thank you. So I'll skip the sort of what is Coinbase. So the other way I describe what we do is we run the world's largest CTF with the highest stakes sort of outcome. So we store somewhere on the order of $10 to $15 billion of cryptocurrency, which is not something that anyone wants to lose. Before we get into all that stuff, I'll tell you a little bit about what we do. We do a lot of stuff. We do a lot of stuff. So I'll just want to talk about the elephant in the room for a second. I'm the first talk of the day. Half of you are asleep. Half of you are drunk from last night. But so I appreciate you came out. And I think what I want to sort of give you back for your attention here is a bit of insight into what it takes to protect a modern cryptocurrency exchange. We'll get into why that's hard in my point of view, as well as some sort of viewpoints into where I think we as an industry need to get better and need to get better in order to get better. So I'll just want to talk about some of the things that we do in order to push crypto, actually push crypto to the masses, not just, you know, a very small boardroom or a very small room in the middle of DEF CON. So I've personally been doing this thing for a while. I try to work with a very simple lens. It's where can I find the most interesting attackers? And that's led me to a bunch of different places over my career. But I will say cryptocurrency is I think takes the cake so far in terms of interesting and really in terms of doing things that no one's ever done before in this context, which has been pretty cool. I would be remiss if I didn't say Coinbase is hiring. Coinbase is always hiring for security specifically, but really across the board. If what I'm talking about is interesting to you, you want to learn more, come grab me. Happy to chat. So bottom line, what are we going to talk about today? Number one, we're going to talk about a little bit the industry at large. Give some context on why cryptocurrency is actually a hard or being an exchange is actually a pretty hard problem. We're going to talk about a bit about how Coinbase looks at the problem. I'm not going to go through our Coinbase's entire security program because we'd be here way longer than an hour. But I am going to hit on a few sort of areas that I think are interesting and how we execute security against in this environment. And then we're going to talk a little bit about the industry as a whole and where I think we can improve and do better and actually push ourselves out there and become the kind of industry that my mom is okay investing in. And I think to that, I need a few little bit of information. The first is I agree with what I'm saying. It's really my bar when I think about this stuff is I think about my mom. If she could interact with, with whatever will be building the same way that she would interact with Citibank or Wells Fargo or anything else that has to do with money, then I right direction. So, that's a big number. That number is the total losses in cryptocurrency 2011 to 2018 across the industry. It's compiled by a nonprofit called CryptoAware. CryptoAware.com. They're actually a really cool little non-profit. They're focused on user security and advocacy in cryptocurrency. Actually, my opinion is they're under-reporting that number. That number doesn't really include the retail scams, social media stuff, tech support scams. That number is probably actually significantly larger than we can track in terms of exchange compromises and major scams. But I'll give you a slightly scarier number. So of that almost $3 billion that's been lost in 2011-2018, 1.7 was lost year-to-date in 2018. That is the wrong slope for that curve. We want that curve, that slope, the other direction. We want that going down. We want less losses over time. And so that begs the question, and this is really what sort of starts our approach to a security program at Coinbase. Why is this? Why is this so hard? What is so hard about protecting crypto? Another way we break down this industry is in terms of causes of loss. So this is a graph from the blockchain graveyard. If you guys are not familiar with it, it's an outstanding resource maintained by a guy named Ryan McGee and Magoo. He basically crawls whatever public information there is out there about a breach at a given organization. He tries to find a root cause or tries to sort the wheat from the chaff and puts it on his GitHub repo. And then over time, he charged that. I think he's tracking breaches from 2011 to 2018. Really great summary of each one. If you're interested, you have time, I highly recommend if you're in the industry, you go read it. Because it is a list of lessons learned in our industry. Or put it another way, a list of things to avoid. In our industry. That's really, really important. Blockchain graveyard. Just Google blockchain graveyard. It's the first result. Kind of a unique term. So this is total he's tracking in their 59 breaches since 2011. That's an average, by the way, to save you guys the math, of eight breaches a year in this space. Incredibly high number. Higher than basically any other industry I can really think of. Besides maybe the payment card industry, but that's such a huge industry, the numbers don't really quite compare. So we ask the question again, when we ask the question again, why is this so hard, this starts to give us some answers. Give us some insight into how are we losing. And the interesting thing to me is, by and large, we are not losing because of esoteric cryptocurrency vulnerabilities as an industry. We're losing because of bread and butter, server vulns, app vulns. You know. Not enough customer auth. We're losing because of scams. We're losing because of security problems that we as an industry have been working on for decades at this point. What does it say down here? Protocol cold. I think there are, what is that, four breaches of the 49 that he can actually point at a protocol level vuln or something like really, really deep in the cryptocurrency world. So the, do we go back again to sort of why is this so hard? If server breaches are the cause, like why haven't we solved this problem yet, right? Can anyone tell me what movie that's from? Die Hard. Yes. Outstanding. Give that man a cookie. Which Die Hard? First one. Yeah, there you go. Knock him up. Knock him up, yep. So those are bear bots. Yes. Those are $100,000 bear bots, right? And when I think about sort of the security model analog for cryptocurrency, what I think of is digital bear bots. A lot of people say cash. I don't like the cash analogy because if you've ever tried to move $10 million of cash, it's actually not really easy. It's very heavy and bulky and not easy to move around. Bear bots are super easy, right? That stack right there is, if it was real, which obviously it's not. But is easy. Easily hundreds of millions of dollars. Yes, sir? You want to go give him something? Yeah. Give him something. That was awesome. I expected no one to get it. Woo. Good job. I may throw more of these out there now. Should have gotten more screenshots. Fail. Sorry. So why is it like a bear bot? So I'll quote you from Wikipedia. The bear bot differs. From the more common types of investment securities and that is unregistered. No records are kept of the owner, the transactions or ownership. Whoever physically holds the paper owns the bond. Does that sound familiar to anybody? That sounds a lot like cryptocurrency to me in terms of the threat model for theft. So what we're trying to do is protect an asset that's globally valuable. A Bitcoin is a Bitcoin, no matter where you are in the world. That's digitally transferable, which is actually fairly unique. And it's irrevocable. If we set up to design an asset that people would want to steal, I'm not quite sure we could have made a better one. I don't know what we'd add to that to make it more attractive to attackers. So that's why it's hard. We're trying to do and protect a new asset, a new thing. I'm going to leave some at the end, if you don't mind. What a slide. So, like I said, we're protecting really what is a new class of asset that has fundamentally different risks from previous assets. In a really interesting way, we're doing that in the context of an online service. It's not like this thing is in a vault somewhere necessarily. Most of us in the industry who are building these systems are building them in a way that users are interacting with them on a website, on an exchange, on a wallet, on whatever. And because we're protecting a brand new asset class, we as an industry are sort of learning as we go to some extent here. What works, what doesn't work, and how it works. Especially around the areas of protecting these assets that don't quite fit the mold of anything else in the world. So we're sort of inheriting. We've got a threat model as an organization in this space of sort of part maybe social media company, part bank, and part something else that's not yet defined. So we're trying to fit solutions and controls into a framework that is new. And we're naturally having teething pains doing that as an industry. So no wonder this is such a hard place to exist. So great, it's hard. Shock. I'm sure all of you are shocked to find out that defending cryptocurrency is hard. So what does it look like for us to defend this stuff? So like I said at the beginning, I'm not going to go over Coinbase's entire security program. We'd be here for a week. But I think there's some stuff to talk about that is interesting. And unique. And how we approach this problem. And the first thing, and actually I'll talk through a few of these interesting things. We actually open sourced a fair bit of this stuff already. And the stuff that's not open sourced, most of it is moving that direction over the next six or nine months. I'll highlight sort of what bits are open sourced, what bits are coming, and what bits. You can learn more about it in other talks. The other thing, one of our sort of foundational ideas here is that trust should, should be created through transparency, not through blind faith. So if I'm asking you, hey, trust me with your money, I should be backing that up with a, and here's why. And here's what we're going to do to protect it and make it safe and keep it safe. So we spend a lot of time talking at conferences and events about sort of the tools, the techniques, about what and why and how and where we do it. And our attempt is to continue and do it even more. So the first and most important thing to think about when you think about Coinbase's security program is the people, right? So today Coinbase is, call it 500 people. Security at Coinbase is 30 people. That's 6% of the company is focused on security, which is an insane ratio for most organizations, most industries, right? And I think especially when we're talking about an asset like cryptocurrency, right, where there is a ton of innovation. We build a lot of our own tools. We're really forward-looking. You have to start with the people because they're the ones that are going to innovate, that are going to find the new ways of thinking about securing this stuff, that are going to actually be the ones solving the problems. I can't look at a vendor for this. There are no vendors that look at protecting, well, there are probably some, but there are no vendors that say, you know what, I'm going to protect your cryptocurrency and you put it here and we're going to make it safe and make it easy. So go ahead. It goes back to the people. And I'll just say once again, I'll sit out there. We're hiring. Just saying. Some people over there you can talk to if that's interesting. So this is a pretty picture of what we're not actually going to talk about. But it's very pretty. It's the high-level architecture of Coinbase. Very, very high-level. So high-level that it's not actually useful. But it's pretty, which is why I have it. So if we go back to that blockchain graveyard slide for a second, number one leading cause of these tracked breaches or these tracked sort of losses is server breach. So when we think about our security program, we walk through why is this hard, one of the answers is, you know what, attackers are walking through the front door. So let's talk a little bit about how we close and lock the front door in this kind of environment. We got, Coinbase and cryptocurrency in general, I think we're actually super lucky because we don't have legacy to deal with for the most part. We get to build this stuff from the ground up. And we get to build it, and I see this as lucky. Others will disagree. We get to build it under constant pressure from attackers. My philosophy, and this is one of the reasons that when I look for places to go, I look for places that have great attackers. No one teaches you like an attacker. You never innovate as well as you do when you have a clear and present threat or danger to innovate against. It motivates you. It focuses you. It helps you do your best. So we get to build this ground up new technology under pressure, under focused attack. What better place could we go to build something? Other people look at this and say, wow, it's super stressful. And it is. But it's also amazing. So what have we built here? So Coinbase is a fully containerized, every single service in Coinbase is deployed in a container. Virtualized, we're an AWS. Continually and immutably deployed service. So let me break that down for a little bit. First of all, this is all based on a custom orchestrator we built internally called CodeFlow, which are open sourcing piece by piece. We open sourced the actual deployer itself called Odin, I don't know, three months ago. It's a thing that takes a description of a deployment, it's a JSON file, and actually makes it happen in AWS. And it's like the rest of Coinbase, it's a service-oriented architecture, so we're open sourcing piece by piece of CodeFlow as we, quite honestly, as the development teams are happy with it and want to actually get it out in the world. So CodeFlow handles code from PR to deploy and prod. Right? Right. It handles the entire path and manages everything from consensus requirements on code submission, which we'll talk about more in depth, to security scanning, to CICD, to build, to consensus on, or to secrets management, to deployment. It's all in sort of one long CICD path. What that means is that we can make a lot of this stuff transparent to our developers, build a real... really overall very, very safe and secure CICD pipeline, which I'll get into a little bit deeper a little bit later. So let's dive into the rest of that. So containerized, right? Like I said, every single service in Coinbase is in a container. Some of you were probably shuddering when I said containers because you have some sort of container fear. Containers can be the best thing in the world or the worst thing in the world when it comes to software management and deployment. It can be the worst thing in the world when you back into it, right? As you discover six months after the fact that your dev team is using containers. It can be the best thing in the world if you walk into it eyes wide open and say, you know what, we're going to be able to use containers. But, you know what, we're going to make it easy for you guys to use containers. We're going to manage a bunch of it for you. So at Coinbase, the infrastructure team manages a base container that all containers in Coinbase must descend from. We're not pulling stuff off of Docker Hub. It just won't work in our environment. Developers, development teams, then base their services from that set of base containers. So that we control the underlying layers. We control the patching. We control what tools are installed. Whole nine yards, right? The developers are defining service-specific Docker files. As those of you who have some container exposure know, you can do a lot of damage in a Docker file. As if you, you know, the most obvious and consistent example is, you know, a beautiful base layer that then has, you know, like a curl OpenSSL 0.9 directly on the file system's library, right? That's not great. And it's very, very difficult to detect that in a lot of cases. So what do we do? We actually run our Docker files through a linter and say, hey, development team, you can't actually do that. You can't use run and wget in the same line. We're not going to let you do that, right? We're not going to let you shoot yourself in the foot. But instead, here, go through this paved road, this other way of doing this. We'll get you the packages you need that are up to date, that we can track and update and make better, right? And that not only takes load off of our developers, but it means that we control our environment in a way that's really hard to do outside of that kind of setup. We control every single package, every deployment, every line of code, every version. We know where it is, when it rolled out, where it rolled out, how it rolled out, right? That's awesome from my perspective. So you might ask, okay, containerized and virtualized, like, what? What? Right? Why do both? What's going on? So there's... Sounds like a train is driving outside here. So there's two reasons for that. One is we... When we think through sort of the threat model on cryptocurrencies, one of the things you quickly come up with, with this, again, this digitally transferable, non-revocable, will-be-valuable currency, is that this is one of the relatively few, in my opinion, industries where dropping and burning an ODA actually might make sense, right? Most of the time, it probably economically doesn't work out in terms of, like, risk of loss versus risk of gain. Here, it might. So one of the foundational things we looked at is we should always... This is sort of a common platter, right? We should always layer our security. So how we do this is we... When we... This is also one of the reasons we built CodeFlow, because nothing else could do this. When we deploy, right, we group containers on verts that are mutually trusting, right? Where if you popped one, you're probably going to get to those anyway, because there are credentials sitting on that one, or otherwise, it's highly likely you're going to be able to pivot. We then ensure that containers that don't have a mutual trust relationship never exist on the same virtual machine. Right? So that means, in order to hide, not from a front-end web service to a back-end payment service, right? You're not going to do that through a side channel on the vert or through popping the, you know, a Notre Dame Prevesc in the Linux kernel. You're actually going to have to do the hard work of moving through my environment and pivoting where I can see you, right? Not trying to do it in memory on a Linux system. The other way I think about, and we think about defense a lot, is, you know, there's the common... Defenders have to always be right. Attackers have to, you know, be right once. Which is true as far as it goes. The other way of thinking that, about this sort of setup, is that attackers have to play on my playground. They have to come to me and exist in my environment. So then my mission, then, is to make my environment as inhospitable as possible to anyone who's going to come and try to take my crypto. Right? And if I do my job well, I can make that actually quite frustrating. Let's see. So... Oop, that was the wrong thing. So, at the end, let's talk about that that continuously deployed immutable bit. Right? So, we deploy, on average, we've published some blog posts about this so you can actually look at the data something like 20 times a day. We deploy a lot. Every time we deploy, we are rebuilding that service from the ground up with no overlap. New verts, new containers, new security group, new ASG, whole nine yards, there's not even any network connectivity between the two services. If we're deploying 20 times a day with that kind of rebuild sort of structure built in, that means, on average, I think our average lifetime is something like 1.5 hours for a service running in prod. That's a fairly frustrating environment for an attacker to live in. And really what it does, and this is why I particularly like it, is it makes the attacker re-exploit every single time. Exploits are inherently unstable, especially remote exploits you're trying to land on some random AWS virtual machine in the cloud. You're maybe not sure what actual operating system is underneath there. You're going to crash stuff if you're re-exploiting at that frequency. And when you crash stuff, even if the rest of your exploit was completely stealth, I'm going to know because it's going to crash. And we track that. So then I can come back and figure out what crashed, why, what's going on. And respond. This goes back to, as an attacker has to live in my playground, that means I get to set the rules. Let's talk about AppSec for a second. We do a bunch, this is one, I think, of the focuses in our program. Again, walking back to this fun graph. So right after server breach, ignoring unknown, because unknown is unknown, we have application vulnerability. So we spend a lot of effort on making sure that the systems and services we deploy are safe, are defensible, are tested, are documented, are threat modeled, and that fundamentally we understand what we are running, not just so that we can defend it, but so that we can act to prevent any kind of threat. So that we can prevent anything from happening in the organization. So one of the things, I'll walk down this overall thing. The first one I'll start with is Salus. So this is on track to open source. I would guess before the end of the year. So Salus is our stack analysis framework. So what we did early on was looking around. We had the realization, of course, that hey, you know what, setting aside the server breach thing, right, attackers are to come in through the app, by and large. So how do we make sure that as we're shipping, and we're shipping very fast, right, 20 times a day, as we're shipping these updates, how do we make sure it's safe? So one of the answers to that is through automated analysis of code before it hits prod, in a way that gives engineers immediate feedback as to why, assuming we flag something, why we flagged it, what's wrong with it, what they can do to fix it, and hopefully not do it again, and in a way that aggregates those stats over our entire base of developers so that we can look for hot spots, we can look for issues, we can look for teams that need a little bit more engagement, right? So that's Salus. What's Salus? Now, one method we could have done here is let's build a static analyzer, right? But that doesn't make sense to me because there are a lot of great stack analyzers out there already. What's missing is the ability to point them at what they're best at, and normalize their results in a way that we can then use downstream to say, hey, the problem exists here, this is what the problem is. So that's what Salus is. Salus is essentially a framework for interacting with stack analysis tools that can pick and route based on the language it detects for a given project, pick the analyzers that are relevant for that language in that project, take the results back in whatever format we get from the random analysis framework we chose to use for that language or that problem, put it into a common format across the board, and then use that to interact with the original pull request. And say, hey, line 15, this trip to this rule from this analyzer, hey developer, please resolve this before you're allowed to deploy. And then Salus will say, and by the way, you can't merge this change until this is resolved. All right? No humans, no humans in the loop, no human interaction, but our development teams get security scanning, they get instant feedback. They get feedback in line in a way they would have gotten it in a code review. And we protect Coinbase itself from whatever that change may have been. It's a really, really cool little tool. I'll be really happy when we get it out in the world. The second thing we focused on, again, was this idea of the CI-CD pipeline. Right? And if we're integrating security into an organization that's moving as fast as Coinbase, we have to be as close to zero touch as we can possibly be. So this mirrors a little bit of what I talked about for the infrastructure side of things, about that we want to integrate with development practices seamlessly. We want to be there as part of the CI pipeline. We want developers to find it easy to write security unit tests. Part of following up on any incident is how to make sure this doesn't happen again. So we want to be there to help them say, you know what, let's put in a security unit test in this CI pipeline. We want that deployment pipeline to be easy and straightforward and have developers not have to worry about managing their systems, because we can manage that for them. Consensus requirements on code merge. This is actually, I think, a pretty nifty thing that we do. So to put this in a code merge, we want to make sure that we're able to push any code change out in Coinbase requires sign off from multiple engineers. So you want to push a change to Coinbase, you're going to have to do, you yourself as your submitter, are going to have to go get, call it, three other people to say, you know what, this is a good idea. Those three people can't have added code to the actual PR. The question has to be two, three totally independent people. As you do that, plus one, it's just a plus one in line with the pull request, it's two-factor authed. So you get that nice push to your phone that says, hey, you just said that we should deploy from service x, commit hash y, was that you? Did you mean to do that? And assuming the answer is yes, then great. Everything merges, it all gets deployed. Assuming the answer is no, that kicks off a sort of a minus one process, where we can actually say, you know what, you actually need more. This is super terrible, you should require four or five or six reviewers, depending on how many minuses the pull request is getting. This lets us ensure that no one individual, this is another sort of core concept we shoot for, no one individual, no single person can do a thing that impacts Coinbase or the PII, the fiat or the cryptocurrency that we have. We have stored. It should always require a conspiracy, because conspiracies are fragile, and they're scary, and they're really high risk for the conspirator. Again, the attacker, in this case, has to play on our playground. We want to make that playground rule as hard as possible for that attacker. Concierge AppSec program. So this is one of the reasons the AppSec team is probably my biggest team at Coinbase, is because we want AppSec not not to be the guys that sort of parachute at the end and say, no, everything's terrible. Go home. This is crap. You can't deploy it. That's not productive for anybody. Instead, we want our AppSec team to be in the stand-ups of these development teams, to be wedded at the hip, to have all the same incentives, to get what they're trying to do so that as that team is writing code, is making changes, that AppSec team member knows exactly what's going on across the board and can render sort of that independent third party, oh, hey, that's actually pretty risky. You may not have known. Let's engage. Let's help out. And let's make this change. Again, this is sort of the app level volume for an exchange, especially, is one of the most worrying things that we deal with. We want to make sure that we're providing that expertise and we're providing it in a way that developers want to use it, that want to get engaged. The last thing I'll highlight here that I think is quite cool that we're getting much, much more into recently is blockchain monitoring. So if you imagine a world where there's, you don't have to imagine it, it's today. 1,800 or so assets, somewhere in that vein, in that vicinity. 1,800 or so crypto assets in the world today. As we think about looking at it, we're looking at assets to add. You guys saw we just added ETC. We've talked very publicly about the desire to add more. One of the things we want to be sure of is, as we add those assets, that we're proactively looking at those blockchains to say, is this asset still safe? Do we know what's going on with this asset? Is there a 51% attack happening? Is there a contract indication of a function in a token that should never be invoked? So that we can take immediate protective action. Right? On our systems, so that we're protecting to the extent we can with whatever the vulnerability is, are our assets or our customers' assets more appropriately. This is also an area that we're pushing pretty hard in and that I hope we'll open source some tools in as we get that stuff built and rolled out. Because like I said, at the end of the day, trust should be based on transparency. You guys shouldn't have to wonder how I'm protecting your crypto. You should know. Let's talk about detection response, right? Because at the end of the day, you can't win them. You need to have the ability to detect when things go wrong. And you need to have the ability to respond safely. Right? So that goes to the heart of this first one. This is my favorite name of all of our projects, Dexter. He's our friendly forensics assistant. A few Dexter fans in the audience I can see. Outstanding. The rest of you can Google it later, and you'll laugh when you do it. So what's Dexter? Why do we build it? Go back to what I said earlier. No one person should have the ability to impact or steal Coinbase, crypto, PII, fiat, et cetera. But when we think about incident response, that's one of those areas where the response is frequently, oh, we'll just throw all that shit out the window, and we'll just go ahead and respond as an individual. Right? That, to us, is extremely dangerous and worrying. We don't want that. But at the same time, we want to be able to respond to incidents quickly and very agilely. So how do we square that circle? What Dexter does is two core things. Number one, it provides a consensus-based approach to executing forensic commands. So something happens. Some instance is doing a weird thing in production. And maybe it's an instance that's actually dealing with crypto. I don't want an incident responder hopping on there. But the incident responder can spin up Dexter, start an investigation, and say, this is weird. Give me a process listing. Give me basic live response processes, LSOF, maybe some stuff from PROC, depending on what the actual problem was. And that investigation spins up. And then it sits there and waits for a plus one from another. It's a response engineer. Depending on the commands you're executing via Dexter, the number of required reviewers changes. So maybe process listing, LSOF, not a big deal. It's just a plus one. Maybe he then says, you know what, I actually need a memory dump because I don't know what's going on here. I need to really get deep into this. That's going to require a lot more consensus. Maybe it requires a plus two, plus three. Maybe it requires sign off from me. Maybe it requires sign off from legal. Right? Right. But it lets us very flexibly define who and how can execute sensitive commands, even in a fast-moving, highly critical incident response situation. We never want to be back to that place where one person can do a thing. It's also built to be sort of, there's a bunch of other cool things about it around, in our environment, it's highly segmented. So hosts normally can't talk to each other. There's no place on our network where you can go talk to everybody to do incident response, right? So it's S3 based, so we're pushing into a queue. The hosts are monitoring. They're pulling down and saying, is this for me? Is this for me? Yes, no, maybe. It's all backed by DPG signatures, right? So we're actually basing this stuff in crypto, not on a software counter that says, oh, yeah, you plus one me enough. I'm good to go. This is actually, so the guy who wrote this is open sourcing it at DerbyCon this year. Just got his talk accepted, I don't know, two, three weeks ago. If you're at DerbyCon, you should really go to the talk, because it'll be awesome. So the second thing I'll talk about here is, again, another derivation of that container based stuff. So I do another talk, which you can go find from ShakaCon, I think was the last place I did it. It's incident response in Dockerized and containerized environments, where I talk through sort of what's unique and special about containerization. When it comes to incident response and detection, it's a really cool and interesting environment. But the thing I'll highlight here is that because we've Dockerized everything, everything's in a Docker container, everything is running isolated, that means we can very easily pull specific behavioral information about a given service, right? So the reason that this stuff doesn't work well across the board normally is because there are just so many signals to deal with, right? There's system mobile signals, there's, if you try to do this on laptops, God help you, because that's even worse. But even on server environment, right, it's really, really hard. In our environment, we can constrain it down to a Docker container and say, how is this Docker container behaving? How is this single process acting, and is it acting different than its peers, right? And then based on that, we can do things like, you know, using core basic tools, AuditD, eBPF. Look at that and say, how is this acting at a system level differently? And then it's peers, right? Is this behaving in a way that's indicative of an attacker being on this environment? And if so, we go back to Dextre and we can actually respond very, very flexibly to that area, figure out what's going on, and sort of figure out what we need to do next. The last thing I'll talk about that we do that's cool and special is we log everything. When I say everything, I mean everything. We do this for a couple of reasons. Number one, we go back to Docker. We do everything. If we're deploying 20 times a day, average lifetime is like one and a half hours. What happens if there was an incident and we discover eight hours later? The container's gone? What am I going to do with it? So the answer to that is we log and, most importantly, enrich everything immediately. So when that container is gone, I can still walk back and pull all the logs that were issued by that container, tagged with that container's name and version number, tagged with, you know, the processes, the resolved process names, whole nine yards. Most of the stuff I would get from a live response, I can regenerate from logs that we maintain of these instances. And I can get it quickly, I can get it searchably, right? The most important thing, I think the most important and different thing we do here is metadata, metadata, just all the metadata. Anything that might possibly be useful in the future, we'll tack on a log. Uptime, we tackle logs. So that as we roll into this, any future investigation, there's never any, to the extent we can, any ambiguity. There's never any question that we have the data we need to make a determination as to what happened. So we got about, I don't know, seven or so minutes left before I'll open it up for questions. But before we do that I want to talk a little bit about just what we can do better as a community. I think there's three, there's three specific points I want to, I want to drive home, right? One is today, I just, there we go, there's not enough threat intelligence staring in the crypto community. There just isn't. We're fragmented ideologically, we're fragmented commercially and we do not talk to each other enough even though we share the same opponents. The same attack we're coming after. after me. It's coming after Jim and I. It's coming after anybody else here who's running an exchange or a currency. We share opponents. Why wouldn't we share threat intelligence about those opponents to make us all stronger? So the one concrete thing here I'll flag really quick is we recently, working with some other exchanges and some other traditional financial folks, started an FSI stack working group. If you don't know what FSI stack is, it's Financial Services Information Sharing Analysis Center. It's been sort of a cornerstone of what traditional finance, how traditional finance has done this for decades, right? This is sort of a nonpartisan, not owned by any one company, way to interact and share with peer organizations. So we started this working group, and we're reaching out now to anyone and everybody who is involved in the crypto space to say, come, join, help us establish. This sort of basic level of security, trust, and cooperation so that we can all get better. Number two, and this is actually also related to FSI stack, we're not really good at standards in the community. There are a few out there, right? The CCSS is one that's been out for a while and gotten some traction. But when you go back and you look at sort of how the traditional finance evolved over time, I'll give an analogy that I like, and see if you guys like it too. If you were in the 1800s, 1850s, right? Walking around looking for a bank to deposit your money. You walk into town, walk into the bank, this is nice, this is a place, this is great. One of the questions you're probably going to ask is, tell me about your vault, right? How are you going to secure my money? Because bank robbery was much more common, there were a lot more risks, everything was more fragmented, and as an informed consumer, you needed to ask that. Today, let me ask, let me just pull the room, has anyone ever walked into a bank and said, before I deposit my money, I need to see your vault? Has anyone ever asked that? No. You know why? Because that industry grew up, it built standards, it built, and through those standards, it built trust with people, right? It's a more complicated story, there's insurance involved, there's regulation, right? I'm simplifying it. But through the use of standards, we can build trust, trust with customers. Trust with regulators, right? So that the question shifts from where it is today for crypto, I'm going to deposit my crypto, tell me about your security, to where it needs to be. Tell me about your services. Tell me about how you deliver better service than whoever else. Tell me about why I should put my money here, because I'm going to get these other benefits, right? So then the ask is, either under the auspices of the FSISAC working group, or via an organization like the CCSS, or whatever, we as an industry need to invest in standards. We need to invest in not just creating standards, but coming together around standards, to driving ourselves as a community, holding ourselves to that standard, so that we can be worthy of that trust. Last, and this is obviously a self-interested point. Really not enough folks in the security community are looking at crypto and saying, like, you know what? That's a great place to do security. Right? You know, we see some of it. It's starting to change. Certainly over the past year, I've seen a change. But I don't think we as a community are doing enough to talk to the rest of the security community, not just about how cool crypto is, because it is really cool, and that's, but about how, what an interesting problem. Right? How interesting is it to secure a thing that's never been secured before? To write the book on protecting an asset in this adversarial environment? Right? People should be knocking down the doors of cryptocurrency companies to say, wow, that's a great challenge. Like, why wouldn't I want to engage there? And I think they're not, because we as a community, again, we're not doing the outreach. We're not talking to the rest of the community. We're talking to the rest of the community about the interesting security implications of this space. We're talking about how cool crypto is. Right? This is also a pitch to say, if you want to work for Coinbase, come talk to me. But, you know. And with that, what are your questions? I'll let you pick who gets first. So, going back to your comparison to pair mods, I'm splitting that you are making that comparison because anyone who has access to a private key can immediately gain access to the funds. So, the question is, how does that differ from... Possession of just a password to a bank account? Because there are other controls there. Right? So, a bank would have the ability to do fraud detection on transactions. The bank would have the ability to do geodetermination. You're in the U.S. and there's a login from Ukraine. Like, maybe we should do something about that. Right? There are other steps you can take in the middle there. As opposed to possession of private key, possession of a bear bond. That's it. Game over. Done. But it's like a debit card, for example. Anyone who extracts the money can just run away with it. Sure. But depending on how they do it and where they do it, right? If you have a debit card, that debit card is connected to a bank account and there are controls on the interaction between that debit card and that bank account. The debit card doesn't necessarily mean I get all the money in the bank account. Right? Because there's a control environment between the two. There are daily limits. There's the ability of the bank to say, this is an odd transaction. I'm going to freeze this debit card. Right? The core of the comparison, I think, is once you have a bear bond, once you have a private key, there is nothing anyone else can do to limit or protect from the loss of that value. Thank you. Yeah. Hi. I have a couple of questions about custody. To have a, like, a compliant custody solution, number one, is it necessary to provision identification of the security over the account so that you know exactly who they are? Secondly, for custody, is centralization essential to secure custody? And thirdly, when it comes to the regulatory regimes that make the, I guess, create the most work for you, I mean, is it going to be the OCC or is it going to be the NYDFS? Like, where does most of your, as far as compliance regulations, who's the toughest regulator? Mm-hmm. So the first question, I'm going to ask you, is it necessary to provision identification of the security over the account? Yeah, absolutely. So the first question is really a question about sort of BSA, right, and AMO practices. And in general, yes. We have to, for U.S. consumers, we have to walk through BSA requirements. We have to do KYC on customers before we're dealing with their assets. For the second question on, what was it, centralization on security? Yeah, exactly. I don't necessarily, it's a hard question to answer in general in the abstract. I think, I think, it's a hard question to answer in general in the abstract, right? Because it's, security is, can be defined relatively, right? So certainly, an individual can invest in a level of security that's good for their needs and their threat model without ever having to put assets anywhere, right? And a lot of folks do, especially in the crypto land. I think the other side of that coin is people choose to use a centralized service because we can invest in a centralized security, or they don't want to spend the time and effort to build what to them as an acceptable sort of security arrangement for their crypto. So for example, like Coinbase, your custody solution is central, correct? Yeah. I mean, we're a centralized service. Right, right. And then the third one about regulators, you know, I really, I see this space as the regulation is evolving and working with regulators. Especially coming from a company like Coinbase who has always been very sort of regulation forward. It's, what we always want to do is work with them and educate them around how this space should be regulated, in our opinions. I think, you know, calling out anyone regulator as hard, besides being unwise, just generally, also doesn't make sense to me because all the regulators I've worked with have come to the table with an open mind about crypto and wanting not just to make us go through a check the box exercise, but actually wanting to go back and forth about a new asset and how the old framework should apply to this new kind of asset. Yeah. Well, I mean, I just read that the NYDFS, particularly the cybersecurity rule and the new AML transaction monitoring and filtering rule, that that's becoming a big cost center for financial institutions. I think, you know, to the extent that it impacts everyone else, obviously it impacts us because we're operating like a financial institution. You talked about the missed, yeah, I think it works. Yeah, you talked about the missed model security and detection, like you mentioned containerized. How would you separate containerized security versus, you know, secondary security? Networks. Versus what? Segmented networks. So the difference is in the layer of granularity, right? So containerized workloads, the security boundary is at sort of the process, the workload layer, as opposed to network segmentation, right, where you're segmenting at the server or at the host or group of hosts layer. Like the layer level of visibility is different, as well as, you know, the actions you can take are different. Right. I mean, so it's, to me, I personally prefer the segmentation on both, but if I had to pick one, I would pick host, because you get a much richer data set out of a host-based detection than you get out of a network-based detection. I don't think that mic is working anymore, so if you have a question, just speak up and I'll take it. Sure. From a standpoint of security and privacy, who has access to user trade data? Do you have any controls on that? No. We pretty much all just... Yes. Yes. So user trade data is actually one of the most important things that we look at. We think, you know, the last thing we want to do is expose user trading activities, both in terms of individuals. We take individual privacy extremely seriously in that sense, as well as, like, folks that are active traders with specific strategies they're executing. The last thing we want to do is be in a position where we're leaking data on those strategies in a way that could be taken advantage of by others. So we did... Thinking about... Sorry. Thinking about that environment a little bit, control of any sensitive data like that is really predicated on making sure you know who is accessing it, for what reason, when, and why, and having the ability to flag deviations from any sort of normal patterns there, which is, at a high level, the approach we take, right? With very restricted access, lots of monitoring on interactions with those kinds of data sources, and sort of active oversight by the security team on that kind of activity. High level. Sorry. I'll just start calling people now since we have no longer mics. You and then the gentleman in front of you. Okay. So as you were talking about, you compare it to AWS. Is there anything that you would like to add to that? Yeah. So we do use dedicated instances in areas where we think the workload security or the workload sensitivity merits it. The second piece there, and I've had discussions with folks about this in both directions, but because we move so rapidly in the environment, it's sort of a side effect of our deployment strategy. It's actually... It's fairly hard to end up on a host with one of our systems reliably, right? So, like, the setup for that attack is pretty significant. The gentleman in the white shirt and then black. Someone talked about custody and regulation earlier, and one thing I wanted to ask you is that many centralized exchanges are in the process or have launched 0x-like exchanges, like with on-chain custody. What's your... What's the house you... Yeah. So we acquired a company called Paradex, what was it, three years, months ago, that's operating as a 0x-based relay, right? So, yeah. And from a regulatory standpoint, do you have any remark on that or not really? I'll say that it's coming back outside of the U.S. first. Yeah. The gentleman here. My question is, have you considered taking advantage of some of the multi-signature features in the greatest blockchains? And is there a way that we can enhance the security overall by sharing some of those codes with the actual customer? Yeah. So that's an interesting question. We actually offered a multi-sig wallet for a long time. Had an extremely low uptake rate from customers, right? Yeah. So low that it was... When we did the evaluation on should we keep this feature or not, the code we could simplify by taking it out was a better trade-off than keeping a feature that almost nobody used, right? So I think if the customer demand is there, sure. But we just don't see it. Hi. Thanks for coming and giving the talk. What do you think... What needs to be done for Coinbase to be able to accept Monero and other similar strong privacy coins that are out there? Fair enough. I actually am surprised that question took that long. Look, I think we've seen some really promising moves from regulators and from the privacy coin space. Jim and I in particular have made great progress with Zcoin. We've done a lot of work with Zcash and getting regulators comfortable with privacy coins. I think for us, right, there's... The primary thing that we want is to make sure that customers on our platforms are getting access to the assets that they want and that they want to use. So I think that we look at this primarily in terms of, A, in terms of our digital asset framework that we've published and said, hey, here's how we look at digital assets, but also in terms of what's actually going to be most useful for our customers and what do they want the most. And then we figure out, take a look at, like, how can we do that. Yes? Yeah, just a follow-up comment on that. The reason that the die-hard bonds were valuable was that they're fungible. Also, I had a question on your pretty slide, which makes it look like the hot wallets. You guys named that cluster Knox. Uh-huh. Is that actually true? It seems a bit obvious. Yeah. Yeah? Okay. Is that a comment on our poor naming schema? We like simple names. Short names. Dexter. Knox. In the corner there, I think. So one of the things you talked about was the various things that you talked about. One of the things that you've built internally and are now in the process of open sourcing. So sort of in the build versus buy open source world. It seems like the period immediately after open sourcing an internal product is sort of the most dangerous period. Like, you don't have... You've yet to get people fixing things externally, but, you know, the code's out there now. Uh-huh. So what are you doing to defend yourselves from sort of the potential zero days in your own software kind of a scenario? Yeah. Your own internal vulnerability scanning for those types of systems. Yeah. That's one of those very broad questions we could be here a week to answer. But we don't treat internal software any different than external software in terms of our overall AppSec program. Right? So CodeFlow is going through the same... Which is the... An example I'll use. It's going through the same scanning tools, the same AppSec process, the same testing, the same everything as a public-facing service that's part of our system. So it's going through the same things that we're doing in our overall Coinbase services. Probably the second part of your question is interesting. It's like the risk trade-off between exposing source code and not exposing source code. I think it's a really interesting and sort of nuanced trade-off to make between the sort of principle that, like, trust should be transparent and risks we have around... You know, releasing code that might have issues in it. We, in particular, when we open source components like Odin, which we did several months ago, we spend a lot of time and effort looking at that before the release. We tend to release small pieces of code as opposed to, like, here's a 100,000 line behemoth. We want to release, here's a 5,000 line tool. Right? Because we can much... We can... We can't work with that much more effectively in terms of AppSec. Right. As a comment, basically, I'm mostly thinking of a dexter. Yeah. Just, you know... So... It can connect to anything. It can connect to S3 and then the endpoints pull S3 for information. Right? So it's not... It can't connect to anything. It could just talk to an S3 bucket. Cool. I think we... We might have time for one more question if there's another one. There's a bit more time if you have time yourself. We have nothing scheduled for 11 o'clock, so if you want to ask... I'm not going to stay up here for an hour, just to be clear. Yeah, yeah. Totally. But if you want to do a couple more, that's okay. There's supposed to be a lot. But if you don't, that's fine, too. Okay. I'll do a couple more and then get out of here. You mentioned intelligence sharing and FSISAC as a working group. I'm curious about, like, how valuable that data is for you as, like, probably your tech stack is completely different from Wells Fargo. Sure. And that's why I think this is... So there's two pieces. Right? One is the financial actor sharing. And one is, like, sharing with individuals. I think crypto. So two answers to that question. One is, yes, my tech stack is probably totally different. Attacker behavior is probably not that different. Right? How they... The kinds of things that they target, how they move internally, how they act, things like that. That's... I don't really care about IPs and hashes. Right? That's good. But it's not what I really want. What I really want are attacker behaviors. Because that then feeds into my roadmap. Right? Attackers want to do this. How can I make that hard, frustrating, annoying, prone to failure? Yep. There's nothing else. I'm going to call it. Done. .