WEBVTT

00:00.000 --> 00:01.540
Good evening everybody.

00:02.580 --> 00:06.040
So how was the first day of DEF CON with you guys?

00:06.040 --> 00:07.440
You enjoyed it?

00:07.600 --> 00:08.900
Liked it?

00:09.900 --> 00:14.540
Everyone is pretty much very tired so that's DEF CON.

00:14.940 --> 00:20.280
So guys we have last talk of the day before we have contest briefing.

00:20.600 --> 00:27.880
So we have Mike and Ron and they will be presenting Cryptocurrency Security Standard, CCSS.

00:27.880 --> 00:29.660
So here we have Mike and Ron.

00:30.520 --> 00:31.580
Thanks Ajit.

00:33.000 --> 00:36.080
You know what they say, save the best for last, right?

00:37.100 --> 00:40.940
Thanks everyone for staying a little bit later for this talk.

00:40.940 --> 00:43.540
I promise it will not be very technical.

00:43.540 --> 00:45.180
We're not going to tax your brains.

00:46.200 --> 00:56.640
It's just an overview of what the CCSS is so that you're able to understand the goals of it and you can research it on your own time if you want to learn more.

00:58.240 --> 00:58.900
Yeah.

01:00.200 --> 01:01.440
So I'm Ron Stoner.

01:01.440 --> 01:07.780
I'm a security engineer at Shapeshift helping to keep everybody's accounts safe while you do your crypto.

01:08.300 --> 01:11.180
I'm also the curator of the CCSSA exam.

01:11.180 --> 01:13.260
So we're going to talk about the CCSS today.

01:13.380 --> 01:15.900
We have some exciting things also as a result of that.

01:16.020 --> 01:20.060
I run my own consulting firm and you can find me on Twitter at forward secrecy.

01:23.720 --> 01:25.520
And I'm Michael Perklin.

01:25.520 --> 01:28.220
I'm the chief information security officer at Shapeshift.

01:28.220 --> 01:29.400
I work with Ron.

01:29.540 --> 01:47.900
Also, I'm the president of C4, which is the nonprofit organization that spent all the time with a variety of companies to pull all the data together to create the CCSS and to publish it in an open way so that all of you are able to use it without any restrictions for your own work.

01:48.500 --> 01:55.160
I also run a contest here at DEF CON called Coin Droids, which is the world's first blockchain battle game.

01:55.600 --> 01:59.100
And it's been running here at DEF CON for five years now.

01:59.100 --> 02:00.780
And it's pretty interesting.

02:02.300 --> 02:06.160
So a quick note about C4.

02:06.160 --> 02:12.140
C4 is a nonprofit organization that deals with measurements and standards.

02:12.140 --> 02:19.380
Our first project was the CBP, Certified Bitcoin Professional, which is for people.

02:19.380 --> 02:24.420
And our second project was the CCSS, which I'll be talking about today, which is for systems.

02:26.340 --> 02:39.480
It's been running now for six years, and we've got some pretty good board members, including Vitalik Buterin, Andreas Antonopoulos, Pamela Morgan, and Joshua McDougall.

02:41.140 --> 02:49.640
The CBP, which is what I mentioned, is the world's first certification related to Bitcoin or blockchains.

02:50.280 --> 03:01.540
Basically, how this was formed was we recognized that there was a need in the industry for everybody who didn't know what Bitcoin was to be able to identify somebody who did know Bitcoin.

03:03.140 --> 03:20.400
When we started C4, we realized that while I know what Bitcoin is, if I'm interviewing somebody, I can ask them pointed questions and I can tell if they actually understand Bitcoin or if they're just repeating a news headline and they don't quite understand what a Bitcoin is.

03:21.240 --> 03:27.140
But I'm already knowledgeable about Bitcoin, so it's easy for me to identify knowledge in others.

03:27.140 --> 03:38.160
But there are so many hiring managers, presidents, CEOs who know that they need someone who understands Bitcoin on their team, but they don't know the first question to ask them in the interview.

03:38.160 --> 03:48.260
This problem has been solved many times before in a variety of industries, like in accounting, they have the Certified Professional Accountant designation, the CPA.

03:49.760 --> 03:57.340
So these types of certifications have meaning for HR just to make sure that they are interviewing the right candidates.

03:57.340 --> 04:03.200
And we realized that there was no such animal for Bitcoin, so we decided to make it.

04:03.300 --> 04:03.720
Yeah.

04:03.720 --> 04:05.660
Can you talk the talk and can you walk the walk?

04:08.920 --> 04:21.560
While the CBP was the first project we did, which is related to people measuring a person's knowledge to make sure that they meet the minimum bar for understanding how to use Bitcoin safely.

04:22.440 --> 04:25.080
The CCSS is much different.

04:25.460 --> 04:36.360
The CCSS is for information systems, for a vault that you've created for your enterprise or for any other system that ends up holding Bitcoin.

04:37.920 --> 04:38.620
Yeah.

04:38.620 --> 04:43.100
So when we're talking about the CCSS, we're talking about security standard.

04:43.100 --> 04:46.560
So we've seen a bunch of different security standards throughout industries over time.

04:46.560 --> 04:49.180
And in crypto, we have CCSS.

04:49.180 --> 04:51.000
It's providing clear security guidance.

04:51.000 --> 04:52.260
It's providing a framework.

04:52.260 --> 04:57.940
It's providing security controls that information systems can adapt into their system.

04:57.940 --> 04:59.860
And it's free for everybody to use.

05:01.640 --> 05:03.160
Why do we need it?

05:04.780 --> 05:11.220
We want to instill confidence in customers and people using these systems.

05:11.220 --> 05:13.440
There's a lot of fly by night operations in crypto.

05:13.440 --> 05:15.540
You guys have seen the news articles.

05:15.540 --> 05:17.160
You've seen funds go missing.

05:17.320 --> 05:19.460
Everybody's kind of doing it their own different way.

05:19.460 --> 05:21.960
And there's not really a good standardization for this.

05:22.040 --> 05:25.260
So we can see that with these different companies, Mt.

05:25.260 --> 05:34.720
Gox, Coinbase, a lot of these companies were wrapped up with hacks and loss of funds, unfortunately, because they weren't following proper security standard and procedures.

05:34.840 --> 05:40.500
Or they weren't hacked because they were following the proper procedures.

05:41.120 --> 05:43.100
Everybody was sort of doing it their own way.

05:43.100 --> 05:43.700
Yeah.

05:45.740 --> 05:52.160
As we said before, when you're looking at things like doing business with people that are processing credit card companies, you look for PCI.

05:52.160 --> 05:55.900
When you're talking about your medical data, you want to see that HIPAA on it, right?

05:55.900 --> 05:59.880
And we know that that may not be the be all end all, but they're protecting your data.

05:59.880 --> 06:00.960
They're taking the steps.

06:00.960 --> 06:05.620
They're doing things correct within a standard to make sure that your information and your stuff is safe.

06:05.680 --> 06:09.300
We have things like ISO 27001.

06:09.520 --> 06:11.820
But when it comes to currency, what do we have?

06:11.980 --> 06:12.780
Cryptocurrency.

06:12.940 --> 06:16.660
So every industry has a standard and we're trying to fulfill that need.

06:18.160 --> 06:24.860
So now that you have an idea of what the CCSS is, let me reinforce what the CCSS is not.

06:24.860 --> 06:31.720
The CCSS is not a replacement for ISO 27001 or for traditional cybersecurity.

06:31.820 --> 06:34.600
You still have to worry about malware.

06:34.600 --> 06:36.520
You have to worry about insider threats.

06:36.520 --> 06:38.200
You have to worry about all that stuff.

06:38.240 --> 06:43.340
The CCSS focuses razor sharp on the keys themselves.

06:43.340 --> 06:45.020
How are the keys generated?

06:45.020 --> 06:46.180
How are they used?

06:46.180 --> 06:47.360
How are they stored?

06:47.360 --> 06:50.380
And how are they decommissioned after use?

06:50.380 --> 06:50.800
Right.

06:50.800 --> 06:52.380
Additionally, who's accessing them?

06:52.380 --> 06:53.380
What are they doing with them?

06:53.380 --> 06:54.460
Things like that.

06:58.820 --> 07:03.760
So when we get into CCSS, we know security isn't just tech.

07:03.780 --> 07:05.320
Security is all-encompassing, right?

07:05.320 --> 07:07.140
It's a whole bunch of different domains.

07:07.140 --> 07:09.260
It's a whole bunch of different systems within itself.

07:09.260 --> 07:14.860
If all you're doing is installing host intrusion detection and calling it a day, you're not doing it correctly, right?

07:14.860 --> 07:22.720
So when we get into information systems, we're talking about all these different domains with hardware, with software, with all of your procedures, with your policies.

07:22.960 --> 07:25.120
Are those things being cut up to date?

07:25.120 --> 07:26.700
Are they being tested?

07:26.760 --> 07:28.640
Who has awareness of those policies?

07:28.640 --> 07:33.280
Or if X employee leaves an information system, is that knowledge gone?

07:34.000 --> 07:38.980
And all five of these things, they work together like a chain.

07:38.980 --> 07:40.920
And you're only as strong as your weakest link.

07:40.920 --> 07:43.120
You can have the best hardware ever.

07:43.120 --> 07:45.280
You can have the most advanced software.

07:45.280 --> 07:47.060
You're totally patched with everything.

07:47.100 --> 07:57.020
But if your standard procedure is to write down a password and put it as a sticky note on your monitor, it doesn't matter how much tech you have or what encryption algorithms you're using.

07:57.140 --> 07:58.880
You're going to fuck it up.

07:59.460 --> 08:06.120
So the CCSS looks at an entire information system as a whole, which is all five of these areas all combined.

08:06.240 --> 08:08.580
Does anybody know where the weak chain is in this picture?

08:13.080 --> 08:14.520
Nice joke.

08:15.880 --> 08:22.720
So when we get into CCSS, we get into 10 overall aspects that we're talking about here.

08:22.720 --> 08:29.920
And as Michael said, it's very heavy on keys with usage, storage, how those keys are handed off, who has access to them.

08:29.920 --> 08:34.340
But then we get into other things that people may not be thinking about, like your data sanitization policy.

08:34.340 --> 08:39.960
So DSP is a big one where all the corporations say, you know, we've got these policies and we're doing all this stuff.

08:39.960 --> 08:43.640
But when you dumpster dive them, you find out that may not be the actual case.

08:44.540 --> 08:45.040
Yeah.

08:45.040 --> 08:50.660
And there are 33 separate controls that fit into these 10 different aspects.

08:50.660 --> 08:57.540
We're going to give an overview of each of these 10 aspects and what is covered in them.

08:57.540 --> 09:03.060
We're not going to get into too much detail because this is a fairly high level talk.

09:03.060 --> 09:08.260
If you do have any questions specifically about some of these, there's definitely going to be some time at the end.

09:08.260 --> 09:11.920
And of course, all this is published free open source online.

09:12.600 --> 09:17.440
The CCSS has three different levels and they are additive.

09:18.020 --> 09:20.960
There's level 1, level 2, and level 3.

09:20.960 --> 09:25.540
Whereas level 3 would be the highest, level 1 is the lowest.

09:25.960 --> 09:32.000
But where level 1 is the lowest, that doesn't mean that is poor security.

09:32.000 --> 09:34.660
It's actually great security.

09:34.880 --> 09:38.780
Level 2 is even better security and level 3 is paranoid.

09:39.760 --> 09:46.700
To my knowledge, no system out there meets level 3 security, but that's fine.

09:46.700 --> 09:48.060
They don't necessarily have to.

09:48.060 --> 09:50.900
I've said this many times before and I'll say it again.

09:50.900 --> 09:58.460
Any system that is certified level 2, I believe, would not be able to have the funds exfiltrated.

09:58.460 --> 10:00.780
I'm not saying that they won't be able to get hacked.

10:00.940 --> 10:09.140
They could still definitely get hacked, but a successful hack would not be able to pull any of the funds out of a system if it is level 2 compliant.

10:09.640 --> 10:13.920
We'll get into a little bit of the details of level 1, 2, and 3.

10:14.020 --> 10:20.780
But as a high level, the next slide shows the chain model.

10:20.780 --> 10:28.400
If you were to take a look at all 10 of these areas, now across the top, you can see level 1, 2, or 3.

10:29.320 --> 10:34.500
This is an example checklist for Acme Exchange Company.

10:34.520 --> 10:39.840
Now, if Acme Exchange Company, the way that they generate their seeds are compliant with level 1.

10:39.840 --> 10:43.780
They don't do a compliant level 2 or level 3, but they are still secure with level 1.

10:43.780 --> 10:47.320
But the way that they create their wallets actually does reach level 3.

10:47.320 --> 10:50.420
You can see some of the differences here.

10:50.420 --> 10:55.900
This system would be graded as level 1 because that is the one commonality.

10:56.280 --> 11:02.560
All of these boxes would have to be in level 2 in order for the system to be compliant with level 2 and similar for level 3.

11:04.340 --> 11:13.820
It's important to look at the system as a whole to understand how all of these things are individually graded in order to apply a grade to the overall system.

11:13.820 --> 11:18.560
And that overall grade is the lowest common denominator out of everything.

11:20.060 --> 11:23.940
And as Michael said, even with level 1, some people think level 1 is bad.

11:23.940 --> 11:33.800
But if I was looking to do business or move my funds to an information system that was level 1 certified, I know that they're checking off all those boxes or level 1 compliant.

11:33.800 --> 11:35.340
I know they're checking off those boxes.

11:35.340 --> 11:37.460
They've done proper procedures with their keys.

11:37.460 --> 11:42.820
I can more trust that information system that's not compliant with any of these controls.

11:43.060 --> 11:50.940
And actually, before we jump into each of these in a little bit more detail, one thing I want to say is how the CCSS was compiled.

11:51.380 --> 12:02.280
So in 2012 and 2013, C4 contacted as many exchanges as we could to understand more details of any of the hacks that occurred.

12:02.360 --> 12:07.400
And we gathered a whole bunch of data from security professionals all over the world.

12:07.400 --> 12:09.020
And then we started organizing it.

12:09.020 --> 12:10.380
Why was this exchange hacked here?

12:10.380 --> 12:11.780
Why was that exchange hacked here?

12:11.780 --> 12:13.180
Why is this exchange not hacked?

12:13.180 --> 12:18.620
And we identified the commonalities, which allowed us to group them together into these 10 aspects.

12:18.620 --> 12:29.260
So it was through a lot of data analysis that the volunteers at C4 and the companies that submitted data, we all worked together to pull them together like this.

12:29.620 --> 12:35.880
And with no further ado, let's jump into each of these 10 aspects in a little bit more detail.

12:37.120 --> 12:43.680
So the first one we're going to tackle is key seed generation, and probably one of the most important parts of a cryptocurrency information system.

12:43.880 --> 12:50.960
You can have everything secure, but if the person that generated your keys has a copy of that private key or seed at home, you're screwed at that point.

12:50.960 --> 12:57.280
So when we get into key seed generation, we're talking about things like, was the key and seed issued by another actor?

12:57.920 --> 13:02.980
Was it created with a compliant DRBG, deterministic random bit generator?

13:02.980 --> 13:10.600
So when you get into the very fine technical details of randomness and pseudo-randomness, that can have some far-reaching effects on your business, right?

13:10.600 --> 13:15.040
And your information system, depending on how those keys were rolled and what they were rolled with.

13:16.680 --> 13:19.380
We also talk about things like wallet creation.

13:19.680 --> 13:22.360
What was being used when that wallet was created?

13:22.360 --> 13:28.000
Were unique addresses being used for the ultra-paranoid level three side of security?

13:28.240 --> 13:36.020
As you can see, level one doesn't have any controls here listed for wallet creation, but level two and three does.

13:36.020 --> 13:49.260
So if you were looking at a compliant level one system, you would know that they may not, or may have done some things with this control, but depending on how they've done it, they can certify different levels, one, two, or three, based off of how those wallets were created.

13:49.600 --> 14:05.800
And for those of you who were here in the previous talk, where Mila went through the various algorithms that make up Bitcoin, that's denoted here, where Bitcoin is quantum safe as long as you are always using a brand new address.

14:05.860 --> 14:15.340
Now, you can still use Bitcoin while reusing an address and keeping to... pardon me.

14:16.000 --> 14:25.740
While you can still use Bitcoin safely while reusing an address, the ultra-paranoid people will always make sure they're always using a new address just to make sure that they're quantum safe.

14:25.740 --> 14:33.260
There is no known attack today that can reverse a private key from the public key.

14:33.260 --> 14:37.240
However, if you want to be paranoid, you should always be using unique addresses.

14:37.240 --> 14:39.880
And that's why that's a level three control.

14:43.030 --> 14:47.650
When we're talking about keys, we're also talking about the geographic distribution of the keys.

14:47.710 --> 14:49.170
Where do those keys live?

14:49.170 --> 14:51.430
Is it in single location, multiple locations?

14:51.430 --> 14:59.850
When we get into this, we're talking about things we're looking at business continuity and disaster recovery, or if a key is lost or access to a wallet is lost.

14:59.850 --> 15:06.690
Is it in another location that you can get access to and either get access to those funds or do what you need to do in those times?

15:08.770 --> 15:13.890
So we've got generated keys and we're generating them securely, but how are we storing them?

15:14.810 --> 15:18.530
So we've got different controls here for things like backup keys.

15:18.650 --> 15:22.430
One that people don't really think about is, are you storing your keys encrypted?

15:22.590 --> 15:31.930
So everybody might have their backup of their key in their safe or in their desk drawer, but when somebody gets access to it, do they have another step that they have to take to get access to that key material?

15:31.930 --> 15:36.050
Or do they just then have raw keys that they can take and start using at that point?

15:39.380 --> 15:43.540
We also look for things like, does the backup key have a tamper evidence seal?

15:43.980 --> 15:46.300
However you want to achieve that, that's fine.

15:46.300 --> 15:53.320
As long as there's some evidence to say this key has been accessed or somebody else has had access to this in the last time that I've had that.

15:53.600 --> 16:03.080
And as you can see, when we get to one to three, those controls get a little bit more paranoid with backing them up with access controls, even encrypting backup keys, which people don't think about.

16:03.080 --> 16:14.160
They always think about encrypting the primary key after they see the information on the previous slide, but they never think about their backups or, you know, different copies of those keys they have in other locations.

16:16.120 --> 16:21.600
Continuing on the life cycle of a key, we went through how the key was created and then how the key was stored.

16:21.600 --> 16:23.720
Let's jump into how the key is used.

16:23.860 --> 16:32.220
So there are a variety of controls in this section, including how many factors are required to access the key.

16:32.320 --> 16:33.500
Can anybody just get it?

16:33.500 --> 16:40.420
Or do I need to have a username and a password and maybe a 2FA code in order to use the key?

16:40.720 --> 16:42.800
Are the keys used in a trusted environment?

16:42.800 --> 16:49.380
Or are you signing something in a Starbucks off of an unsecure Wi-Fi?

16:49.960 --> 16:51.880
Who gets to use those keys?

16:51.880 --> 16:53.980
And what checks do you do on them?

16:53.980 --> 17:01.440
Whoever is going to be interacting with your keys has an opportunity to make a copy of the key and use it in an unauthorized way.

17:01.440 --> 17:09.560
So before you give them access to your key, what checks are you doing to make sure that you want them to have access to your keys?

17:09.560 --> 17:12.380
And are they even the right person?

17:12.460 --> 17:16.260
Maybe they started at your company with a fake name or something like that.

17:16.260 --> 17:21.840
So I mean, these are small checks, but they're definitely important before you give access to these people.

17:22.380 --> 17:24.980
A few more for key usage.

17:25.460 --> 17:26.880
Background checks.

17:26.880 --> 17:31.000
Do they have a history of credit risk?

17:31.200 --> 17:45.600
While their personal finances have nothing to do with your business, if they're constantly in debt and they're constantly having a difficulty making their own ends meet, they're more likely to find money another way.

17:45.720 --> 17:49.640
Whereas the opposite is true if they're not.

17:50.560 --> 17:58.100
Now when the key is used to sign something, what kind of double checks are you doing to make sure you're sending to the right destination address?

17:58.100 --> 18:00.360
And are you sending the right amount?

18:03.480 --> 18:14.100
If it's a multi-sig system, are those multiple keys brought together on a single device or are the multiple keys used independently on separate devices?

18:14.100 --> 18:28.220
There have been a number of hacks of a multi -sig system where a Trojan made its way onto the final signing system, the system where multiple separate keys from multiple separate key holders are brought together.

18:28.320 --> 18:30.820
That's not the safest way to do it.

18:30.820 --> 18:33.900
Making sure that each key is kept separate is important.

18:34.380 --> 18:45.220
And as part of every digital signature, I believe Mila also talked about this in her last talk, as part of every single digital signature, there is a random number that is used.

18:45.220 --> 18:47.560
How is that random number derived?

18:48.080 --> 18:57.480
There have been cases where the same number has been used for multiple signatures which can allow someone to recompute the original private key.

19:01.160 --> 19:06.680
And staying with keys, we're going to get into how they're granted and revoked because this is an important part of the process itself.

19:06.720 --> 19:13.240
So we have controls in place for is there actual grant and revocation procedures created?

19:14.100 --> 19:16.420
Who's knowledgeable on the staff with those procedures?

19:16.620 --> 19:28.600
Or does it just sit in a document repository somewhere that they've checked off the box saying this policy has been created but nobody ever looks at it, nobody ever uses it, and nobody knows how to enact it when the time comes.

19:29.100 --> 19:34.240
We also look for things like authenticated requests over authenticated communication channels.

19:34.720 --> 19:49.120
So this gets interesting because we get into the concept of strong authentication and making sure that you know who you're speaking with, verifying them over different ways, not just getting a Slack message or an SMS message and trusting that this person has said yes,

19:49.120 --> 19:52.960
sign this transaction and send 10,000 Bitcoin to this address, right?

19:53.060 --> 19:55.720
We're going to verify that before we do that.

19:56.260 --> 20:01.720
And then looking for things like audit trails with employee sign-offs for all of these actions.

20:01.720 --> 20:12.100
So not only are the steps being taken and are they being followed, but are we taking down audit trails so that if there is an issue, we can go back and find out where there was a problem or where something went wrong.

20:13.820 --> 20:18.600
This is one of my favorite ones as a security engineer, the key compromise protocol, KCP.

20:18.920 --> 20:22.320
So the shit hits the fan and we need to do something.

20:23.100 --> 20:27.380
We want to see that a key compromise protocol exists, number one.

20:27.380 --> 20:28.740
Have people thought about this?

20:28.740 --> 20:32.360
Have they built a system to take care of this or a policy or procedure?

20:32.500 --> 20:37.800
Do they have staff that are knowledgeable with key compromise policies?

20:37.900 --> 20:46.620
Are they comfortable running that type of procedure if they need to go in and revoke keys that control X amount of dollars or X amount of funds?

20:46.700 --> 20:56.820
And for those who don't know what we mean by a key compromise protocol, it's basically a script of what you would do the moment you believe maybe a key might be compromised.

20:56.920 --> 21:05.820
By spending the time to think about all this beforehand, when you're in a rush situation, you don't need to worry about making mistakes because you just follow the script.

21:05.820 --> 21:09.900
Step one, step two, step three, and now all the keys are properly replaced.

21:11.700 --> 21:15.880
Moving on, there are only a few more aspects and then we'll open up to questions.

21:16.000 --> 21:16.940
Security audits.

21:16.940 --> 21:23.320
The CCSS defines a couple of requirements for security audits, namely that they are done regularly.

21:25.040 --> 21:27.860
It's not really much more to say about this one.

21:28.220 --> 21:28.680
There are...

21:32.180 --> 21:38.600
One thing that we haven't really talked about that's important to see on this slide is the uncertified status.

21:38.800 --> 21:43.260
So you can see here in red, no proof of security for security audits.

21:43.360 --> 21:49.240
I think we all know of places that claim they're secure, but when it comes down to it and you want to see the audit information, there's nothing there, right?

21:49.240 --> 21:50.320
They've never done a pen test.

21:50.320 --> 21:53.160
They've never done vulnerability scans or code review.

21:53.400 --> 21:57.400
With that uncertified status, you could be level three across the board on everything else.

21:57.400 --> 22:04.660
And if you're uncertified on one of these controls, you're not going to be compliant with the CCSS because as Michael said, you're only as strong as your weakest link.

22:04.660 --> 22:08.100
And in this example, this would be the weakest link.

22:11.960 --> 22:13.660
Approaching the end now.

22:13.680 --> 22:16.180
The data sanitization policy.

22:16.200 --> 22:30.040
Keys have to be stored somewhere when they are in use, likely on a hard drive of some kind of a server, or maybe they're on a cold storage device, some laptop that has been air gapped.

22:31.220 --> 22:42.020
Having a data sanitization policy that details how you're going to scrub the data from those devices when those devices reach end of life is mandatory.

22:42.020 --> 22:49.860
Otherwise, anybody who finds your old laptop hard drive in a dumpster somewhere, they could, in theory, get your keys back.

22:50.700 --> 22:52.780
Yeah, this man loves dumpster diving.

22:53.340 --> 23:02.880
And it's also important to have an audit trail of what has been sanitized and when, although that is more of a paranoid level control.

23:04.500 --> 23:06.260
Next is proof of reserve.

23:06.260 --> 23:16.260
There are a variety of ways that companies implement proof of reserves, oftentimes just publishing a report saying, hey, here's all the crypto we have.

23:16.260 --> 23:23.920
The controls mostly mandate that there is some way to prove a control.

23:23.920 --> 23:30.960
However, the best way is when the blockchain itself can prove it for you.

23:30.960 --> 23:40.320
By publishing all the addresses that your system uses to the users of your system, now your users are able to independently validate that those coins really are there at those addresses.

23:40.320 --> 23:46.400
Instead of trusting the entity that just says, we have a thousand Bitcoin here.

23:46.400 --> 23:50.080
Oh, but no, we're not going to give you the specific addresses of where all those are held.

23:50.080 --> 23:51.560
It removes all trust.

23:52.600 --> 23:59.320
And if we look at level three, the question may come up of what happens with information systems that don't hold funds anymore?

23:59.560 --> 24:02.920
Non-custodial exchanges, which I happen to be a big fan of.

24:02.920 --> 24:07.900
In those instances, they would comply with level three because there's no funds stored.

24:07.900 --> 24:14.800
There's no need to actually list the proof of reserve because they're not holding anything on behalf of customers or systems at that point.

24:18.000 --> 24:19.740
And then we get into audit logging.

24:19.740 --> 24:21.080
So we've talked about keys.

24:21.080 --> 24:22.760
We've talked about key holders.

24:22.760 --> 24:29.280
We've talked about verifying identities and making sure people can be trusted and are following the proper policies and procedures.

24:29.340 --> 24:33.900
But we need to make sure that, again, audit logs exist for all these actions in the system.

24:34.200 --> 24:36.720
Level one, we're logging some actions.

24:36.720 --> 24:40.180
Level two, we're logging everything for user and admin controls.

24:40.180 --> 24:41.700
And the same for level three.

24:41.700 --> 24:46.180
So as you can see, some level two controls are good enough to meet level three requirements.

24:46.520 --> 24:55.140
Outside of a full audit trail existing for user and admin actions, I don't know what else you could add in there for audit logging to make it more secure.

24:56.080 --> 24:58.760
And then we also want to see backups of our audit logs.

24:58.780 --> 25:05.080
So it's great if you're running your server and everything's fine, but then somebody goes in and wipes it, or you have a disaster event.

25:05.080 --> 25:06.860
Are you keeping your logs offsite?

25:06.860 --> 25:13.700
Do you have BCDR policies and procedures in place, business continuity for audit logging information?

25:14.700 --> 25:17.660
So that is the CCSS in a nutshell.

25:17.660 --> 25:24.280
There are 36 individual controls that are spread across 10 different aspects or 10 different categories.

25:24.700 --> 25:29.040
And all of them need to be graded individually.

25:29.040 --> 25:34.440
And the lowest common denominator will be the overall rank of that information system.

25:34.600 --> 25:43.520
As far as using the CCSS, the standard is published online for free for anybody to use without need for royalties.

25:43.520 --> 25:46.980
And the source for the standard is published on GitHub.

25:47.020 --> 25:52.560
If you're interested in reading about it, I encourage you to visit cryptoconsortium.org.

25:52.560 --> 25:59.140
And if you are passionate about security, like Ron and I are, we encourage you to get involved.

25:59.260 --> 26:04.580
We have a handy empty matrix, just like that Acme checklist.

26:04.580 --> 26:08.520
You can grab that checklist off of the C4 website.

26:08.520 --> 26:10.760
And I encourage you to try to assess yourself.

26:10.760 --> 26:16.100
Think critically about each of the different controls and see where your system falls.

26:16.100 --> 26:26.420
What's great about measuring your system like this is once it's done, you'll see exactly where you have an opportunity to improve the security of your system.

26:27.420 --> 26:39.740
We are always looking for people to submit feedback on the standard, either posting comments on GitHub or posting issues or posting pull requests.

26:39.740 --> 26:43.260
If you feel that you could improve it, we'd love to hear from you.

26:43.660 --> 26:51.600
C4 is a volunteer run organization, and if you want to volunteer your time and your security knowledge, we'd be happy to take it.

26:52.480 --> 26:57.380
As well as becoming a part of an ever-growing compliance standard in cryptocurrency.

27:00.390 --> 27:05.770
Last thing I'll talk about is the upcoming Blockchain Training Conference.

27:05.770 --> 27:12.570
Now, the coupon code you see on screen will save you 10% off the ticket price.

27:12.570 --> 27:22.050
And if you visit the CoinDroids booth in the contest area, you can get another coupon code for another 10% off, giving you a combined 20% off of the ticket price.

27:22.050 --> 27:36.130
At the Blockchain Training Conference, this is the first time C4 is going to be having a full-day workshop on the CCSS to train you or anybody that you'd like to send on your behalf on how to use the CCSS in real-world scenarios.

27:36.130 --> 27:42.150
It's taught by Ron right here, who also wrote the CCSSA exam.

27:42.150 --> 27:52.530
The goal of this bootcamp is to prepare the next generation of auditors on using these standards to assess a system and to guide their clients on improving their security.

27:53.910 --> 27:56.470
With that, let's open it up to questions.

27:56.470 --> 28:00.790
I've got some swag for some good questions, if you have them.

28:00.790 --> 28:03.930
You, sir, had your first question.

28:09.030 --> 28:15.130
The question was, how do you detect that a key has become compromised or might be compromised?

28:15.130 --> 28:16.370
That's a great question.

28:16.370 --> 28:19.650
And there, unfortunately, is no silver bullet.

28:19.650 --> 28:23.130
Like everything in security, there is no silver bullet that can solve that.

28:23.870 --> 28:39.630
There are a variety of ways that you could try to detect things, such as canary payments or canary addresses, putting small amounts of funds on certain keys that are available on servers and watching for when those funds move.

28:39.630 --> 28:42.490
During your normal course of business, those funds should never move.

28:42.490 --> 28:46.130
But the moment that they have moved, it could indicate compromise of that system.

28:47.290 --> 28:56.010
Also, the key compromise protocol that we talked about doesn't only cover known compromise.

28:56.010 --> 28:58.630
It also covers suspected compromise.

28:58.630 --> 29:10.990
If one of the key holders suddenly becomes unavailable for 24 hours and all attempts of contacting them have failed, their family doesn't know where they are either, it's possible that they could have been kidnapped.

29:10.990 --> 29:16.690
It's possible that, God forbid, they may no longer be around.

29:16.850 --> 29:27.850
In any of these cases, if you suspect that either the key or the key holder may be compromised, the key compromise protocol should be enacted as if they were compromised either way.

29:27.850 --> 29:39.270
It's always better to proactively move all the funds to new keys when you think there might be a problem than to hope it doesn't work out.

29:45.850 --> 29:51.530
The question was, does the CCSS have a standard for detection?

29:51.650 --> 30:01.870
No, but because every information system is different, the way that you would detect an actual compromise or a possible compromise would be different for every standard.

30:02.810 --> 30:16.430
If you have a good way of writing an aspect that could cover that for a variety of different information systems, I'd love to add something like that to the CCSS if you want to visit GitHub and submit that.

30:16.630 --> 30:17.710
Do you want to take the next question, Ron?

30:29.210 --> 30:41.850
So the question was, when you're looking at reviewing things like the random number generator, the DRBG, the deterministic random bit generator, how far do you go when you're looking at that control?

30:41.850 --> 30:43.550
Are you looking at things like source code?

30:43.550 --> 30:46.130
And I think it really depends on the implementation.

30:46.130 --> 30:58.090
So there's a variety of ways to do entropy in RNG, where people could be rolling dice and cards and inputting that into a script and spitting out some keys based off of calculations.

30:58.130 --> 31:02.870
They could be using a hardware device that's measuring the difference in electronic current.

31:02.870 --> 31:05.250
So it really depends on the implementation.

31:05.250 --> 31:09.710
I think when you get into that aspect, you do look at how did you roll them?

31:09.710 --> 31:10.750
What did you use?

31:10.750 --> 31:11.850
Did you use your own code?

31:11.850 --> 31:13.550
Did you use something you pulled off GitHub?

31:13.550 --> 31:14.790
Did you use a device?

31:15.010 --> 31:21.990
And at that point, it's a lot easier to drill down and determine where does this fit level one, level two, level three, or uncertified.

31:22.810 --> 31:32.450
And to add to Ron's answer, the CCSS requires DRBGs to be compliant with a variety of well-known and globally accepted standards.

31:32.450 --> 31:36.730
Specifically, NIST800A.

31:38.170 --> 31:40.190
It's written on here somewhere.

31:42.630 --> 31:43.810
He'll pop it up.

31:43.810 --> 31:55.530
But if the DRBG is compliant with the NIST, there it is, SP890A, then it would be a compliant DRBG.

31:55.570 --> 32:11.350
If you're using, let's say, Electrum to generate your keys, the source code of Electrum should be looked at to make sure that it's not using its own method of random generation, and it is calling a well-known PRNG.

32:11.350 --> 32:14.350
And then it should also look at how that PRNG is being seeded.

32:14.350 --> 32:21.890
Once we know that Electrum is using a well-known PRNG that is compliant, then we know that that one would be certified.

32:21.890 --> 32:23.030
Does that answer your question?

32:23.330 --> 32:24.230
Perfect.

32:27.950 --> 32:32.210
I'm sorry, could you ask that question again?

32:45.090 --> 32:50.970
The comment was that even NIST-compliant DRBGs have been known to be compromised.

32:50.970 --> 32:53.770
And you know security is always evolving.

32:54.190 --> 33:00.270
As long as we're doing our best to be up-to-date with the current best practices, then we know that we're doing our best.

33:00.270 --> 33:06.210
But we can't protect against unknowns that haven't even been invented yet.

33:06.470 --> 33:08.850
Let's go with RedShirt.

33:18.960 --> 33:23.980
How useful is the CCSS to non-custodial wallets, was the question.

33:23.980 --> 33:25.400
It's a great question.

33:25.760 --> 33:38.720
So a non-custodial system, let's say a DEX, a decentralized exchange, the exchange itself doesn't store funds on their own.

33:38.960 --> 33:44.120
DEX is matchmake, someone who is selling one token and somebody who is selling another token.

33:44.120 --> 33:52.140
So the DEX itself actually can't be certified by the CCSS because that system doesn't actually store funds.

33:52.140 --> 33:59.200
Each user, each participant of the system would be required to safeguard their own keys for their own funds on that side.

33:59.360 --> 34:00.600
Does that answer your question?

34:01.620 --> 34:02.420
Perfect.

34:02.740 --> 34:03.980
Miss in the back.

34:20.600 --> 34:34.600
So the question was, and that was a long one, but please correct me if I get the question incorrect, but how would risk managers use the CCSS to, actually I'm sorry, could you repeat the question?

34:46.510 --> 34:46.930
Gotcha.

34:49.110 --> 34:54.890
So how does the CCSS map to other standards or other systems of control?

34:55.530 --> 35:00.490
My answer would be, again, that it is a separate set.

35:00.490 --> 35:05.510
Most of the existing standards that are out there relate to one aspect or another.

35:05.510 --> 35:12.090
For example, the PCI compliance relates to storing of credit card information, but only credit card information.

35:12.270 --> 35:15.250
HIPAA relates to storing of healthcare information.

35:15.250 --> 35:19.230
The CCSS is razor focused only on the storing of private keys.

35:19.230 --> 35:26.910
Now, because both PCI and HIPAA have been around for so long, it's common knowledge for board members to say, oh, are you HIPAA compliant?

35:26.910 --> 35:27.130
Yes.

35:27.130 --> 35:29.870
Are you PCI compliant?

35:29.870 --> 35:40.850
It's our hope that through the development of the standard and the regular curation of the standard, that being CCSS compliant tomorrow will be as common knowledge as being PCI compliant is today.

35:41.730 --> 35:55.050
And to just add on to that, I think for anybody that's trying to make a play to a board or anything like that, all you have to do is link them and show them all the different hacks and loss of funds and cryptocurrency information systems that have happened even within the past few months.

35:56.050 --> 36:01.850
They like dollar figures and showing them dollar figures and making it real world, I think always brings it full circle.

36:02.470 --> 36:04.770
And one other thing I'll add to that is

36:07.790 --> 36:16.050
a variety of exchanges already list their voluntary compliance with the CCSS standard if you dig into their frequently asked questions.

36:16.430 --> 36:35.030
So a lot of exchanges are already using this, and there have been a number of regulations from a few different jurisdictions that have already referenced the CCSS in the laws, most notably in Bermuda.

36:35.050 --> 36:53.090
They recently passed a... I don't know if it's an act or... I apologize, I'm not a lawyer, but it was referenced in their laws that any company that is going to be operating in the cryptocurrency space should be compliant with at least CCSS level one.

36:53.090 --> 36:59.890
Also in Wyoming, right here in the United States, the CCSS was referenced in the recent blockchain laws there as well.

36:59.890 --> 37:04.890
So the standard is already starting to be adopted by lawmakers worldwide.

37:05.050 --> 37:15.450
And anything that we can do to help these people who don't understand tech to at least get a nice little checkbox, I think it's a win for all of us.

37:16.950 --> 37:17.530
Mr.

37:17.530 --> 37:18.490
in the black shirt.

38:05.310 --> 38:22.450
So a summary of the question, please correct me if I get it wrong, is how do you actually ensure that people are using the standard, the thorough standard, and they're not just, I guess, making a bunch of check marks without doing it?

38:22.450 --> 38:23.610
And you know what?

38:23.770 --> 38:26.390
I don't know of any way that you can.

38:27.310 --> 38:33.910
If an auditor goes in and just issues a report and they sign their name on it and it says, hey, everything's perfect.

38:34.090 --> 38:42.710
If they want to put their reputation on the line to make a lie, there's nothing that I don't think anybody can do to stop that.

38:44.010 --> 38:48.150
Maybe having two independent auditors perform the same checks.

38:48.150 --> 38:53.810
And if you see any inconsistencies between the two, that might make some progress in doing that.

38:53.810 --> 39:01.190
But even still, just as easily as one person could lie on a report, two people could lie on a report.

39:01.190 --> 39:12.770
If you can think of any way to enforce, I guess, the integrity of these people's reputation, I'm all ears.

39:13.970 --> 39:19.870
I think too, it comes down to if a business says they're HIPAA compliant, right?

39:19.870 --> 39:27.190
And they've checked off all those boxes and then they have a breach and your medical data gets out there, everyone's going to look at that and say, well, you weren't actually HIPAA compliant, right?

39:27.190 --> 39:29.690
You weren't following those standards and procedures.

39:29.690 --> 39:33.190
You fleece the auditor, just check the box off to check the box off.

39:33.190 --> 39:35.130
And I think at that point, that's on the business, right?

39:35.130 --> 39:38.630
From a litigation standpoint and everything and a reputation standpoint.

39:38.850 --> 39:48.810
So we would hope that businesses wouldn't do that, but having the auditors in the pipeline definitely helps with the process to validate some of those controls and say, well, no, your KCP is two lines on a Word document.

39:48.810 --> 39:52.970
It's not an actual procedure that anybody can follow, you know, step A to Z.

39:54.790 --> 39:56.190
Any other questions?

39:56.750 --> 39:57.570
Gray shirt.

39:57.570 --> 39:57.910
Have

40:01.870 --> 40:04.670
third party audits been completed?

40:04.670 --> 40:05.570
Yes.

40:05.610 --> 40:14.530
I'm aware of at least three consulting firms that have used the CCSS when grading the security of their client's work.

40:14.530 --> 40:28.510
I only know of this because C4 was reached out to by these firms, just double checking some minutia in the standard to they're using it correctly.

40:28.930 --> 40:50.350
And now that C4 is planning on launching the auditor certification later this year, these auditors who are already doing this type of work to see if a system is compliant, these auditors can become certified and they'll be able to say that not only do I believe this to be compliant,

40:50.350 --> 40:54.130
I am bestowing the certification on that system.

40:54.210 --> 41:04.550
Right now, because it's an open system, the best anybody can say is, I believe I'm compliant with it, or I believe he is compliant with it.

41:04.550 --> 41:09.690
But no, there are no exchanges, there are no systems that are certified compliant.

41:09.690 --> 41:19.570
Once we have the auditors that are properly trained, and we know that they understand the standard thoroughly, their word will be their bond.

41:20.270 --> 41:21.110
Yeah.

41:26.370 --> 41:29.190
Sure, the Acme slide.

41:30.070 --> 41:32.090
Yeah, it's a little bit farther.

41:34.030 --> 41:36.350
Oh, that's doing the build.

41:39.450 --> 41:40.270
Patience.

41:40.270 --> 41:41.410
One more or two more.

41:41.410 --> 41:42.870
There we go.

41:46.430 --> 41:48.250
Oh, yeah, the 10 are listed here.

41:54.090 --> 41:58.950
Okay, some are proceeded where you have to like, where you have by asking.

42:02.200 --> 42:12.680
So, yeah, that's the way I mean, for few of those, you can have tools rather than you can put the evidence of the tools output and then you can get a compliance.

42:13.740 --> 42:14.780
Yep.

42:16.620 --> 42:18.240
Any other questions?

42:18.400 --> 42:35.800
Is there any plans to expand on the intent or the function of it being an audit focus to more of a qualitative assessment, maybe range of efficacy in each area as far as maturity levels, any plans for expanding in that way?

42:35.800 --> 42:44.580
So the question was, are there any plans to expand this from an auditor focused thing to more of a qualitative focused standard?

42:45.440 --> 42:50.900
It's my belief that in order for any auditor to be effective, they have to do a qualitative assessment.

42:50.900 --> 42:58.260
Sure, there are some quantitative pieces to it, making sure that this is done, enumerating how many keys are in the system.

42:58.260 --> 43:04.340
Some of those will be quantitative, but those numbers don't really mean anything unless you put them in context.

43:04.340 --> 43:09.500
Just because there's a multi-sig system that is three of five doesn't suddenly mean that it is good.

43:09.680 --> 43:17.120
Like the picture of the chain, it's everything around the ecosystem of those keys that make it a secure system.

43:17.960 --> 43:27.180
Auditors need to make sure that they look at all aspects of the information system, not just the quantitative part, in order to make an accurate assessment.

43:29.420 --> 43:30.300
Ajit?

43:46.180 --> 44:03.020
Depending on the level that you're going for, so some people may say we can never be level two or level three, or I think, let me see, in the instance where, yeah, so for level one, you do need to have backup keys, right?

44:03.020 --> 44:04.880
So we want to see that for BTDR.

44:05.540 --> 44:08.160
We want to protect it from environmental damage.

44:08.240 --> 44:11.260
And then we want that primary key to be stored with strong encryption across the board.

44:11.260 --> 44:17.720
Now, when you get into backup keys, we're starting to get one to the more paranoid levels of security, right?

44:17.720 --> 44:25.960
Really, really tight, secure systems, where, as Michael said, level two, we shouldn't see any loss of funds or anything like that.

44:26.820 --> 44:29.900
But at that point, you're starting to get to the paranoid level of security.

44:29.900 --> 44:33.900
Now, your question was about backup keys of the backup keys.

44:38.820 --> 44:41.120
Yes, only for level three.

44:42.760 --> 44:52.440
So every system that I've ever worked with, I always recommend that you do not encrypt the backup key, because of that exact problem.

44:52.440 --> 44:55.640
Where do you store the decryption key for the backups?

44:56.760 --> 45:02.460
However, there are some companies that feel more comfortable knowing that even their backups are encrypted.

45:03.260 --> 45:10.900
I would advise those people to make sure that those decryption keys are stored equally secure.

45:10.900 --> 45:13.060
But somebody said turtles all the way down.

45:13.060 --> 45:22.180
And I definitely think that that applies here, which is one of the reasons why I personally don't like systems that encrypt the backup keys.

45:22.180 --> 45:31.980
Because if the person who knows where that decryption key is, dies or passes away, how do the surviving operators of the system get that?

45:33.760 --> 45:41.740
I said earlier that I believe a system that is level two compliant, can never have the funds stolen, even if they are hacked.

45:41.940 --> 45:44.880
And I stick by that.

45:48.140 --> 45:49.180
Yes.

45:51.910 --> 45:54.530
The question is, how do you feel about social key recovery?

45:54.530 --> 45:55.830
Do you want to take this one or should I?

45:55.830 --> 45:57.190
What do you mean by social?

46:05.050 --> 46:11.450
Yes, so social key recovery involves sharding a key into, let's say, three or five.

46:11.450 --> 46:15.610
And then you give each of these five pieces to five people that you know and trust.

46:15.670 --> 46:23.470
If something ever happens to you, any three of these five friends or family members can get together to reconstitute the key.

46:24.110 --> 46:28.130
In my opinion, that's just a backup mechanism.

46:28.130 --> 46:41.230
Whether you you etch the key on steel and put it in a safe, or you shard the key and you divide it amongst key custodians, either way you're backing up the key.

46:41.310 --> 46:45.270
I definitely would think that that would be compliant with the CCSS.

46:48.520 --> 46:49.340
Yes, sir.

47:08.000 --> 47:19.340
The question was, at what quantity of funds would you recommend a certain level of compliance with the CCSS?

47:19.480 --> 47:22.060
And my answer would be, I can't answer that for you.

47:22.060 --> 47:23.540
Every business is different.

47:23.540 --> 47:27.840
Does $10 million represent a fraction of your daily volume?

47:27.840 --> 47:33.900
Or does $10 million represent the cumulative sum of years worth of work?

47:33.900 --> 47:39.340
To your business, $10 million could mean something totally different than to somebody else's business.

47:39.780 --> 47:48.840
My advice would be, take a look at your use case, take a look at the funds that need to be secured, and use your best judgment on how to secure that.

47:49.180 --> 47:54.740
Yeah, I don't think there's like X number to say at this value, you want to be doing business with a level two company or anything like that.

47:54.740 --> 47:58.700
It's all based more off of your own personal risk profile and what you're comfortable with.

48:00.560 --> 48:01.260
Yeah,

48:10.220 --> 48:12.800
I believe you could.

48:12.800 --> 48:13.260
Yeah, yeah.

48:13.260 --> 48:22.020
If you're doing proper development processes, and you're going through this checklist and checking off each of those boxes and getting into the controls in depth, three person team could definitely be level one compliant.

48:22.020 --> 48:22.220
They just

48:26.020 --> 48:27.360
so we have a level two.

48:27.360 --> 48:28.360
Yeah, that's for level two.

48:28.360 --> 48:31.700
And we're getting into things like multi multi signatures and stuff like that.

48:31.700 --> 48:36.380
To go back to your original question, with the 10 million, let's say you have X amount.

48:36.380 --> 48:37.920
And we're talking about cryptocurrency, right?

48:37.920 --> 48:41.440
So we're storing crypto on these information systems or processing crypto.

48:41.460 --> 48:44.100
10 million today could be 100 million tomorrow.

48:44.100 --> 48:51.960
So if you're comfortable with X money on that at level one, you know, what's it going to be a level two when we're at the moon?

48:52.160 --> 48:56.220
Level one requires or doesn't have any requirement for multi sake.

48:56.220 --> 48:59.360
Level one is a secure system with single signatures.

48:59.560 --> 49:08.000
That would apply more to Ethereum style systems where there's only one key for that contract.

49:09.000 --> 49:11.600
Multi sake is level two and above.

49:12.500 --> 49:15.400
So you don't need to be level two.

49:15.400 --> 49:17.660
I'm sorry, you don't need to have multi sake in order to be compliant.

49:17.660 --> 49:20.520
You can absolutely be compliant with love level or with one key.

49:21.060 --> 49:23.260
That is all the time we have.

49:23.500 --> 49:29.380
If you do have any more questions, maybe we can walk and talk back to the rest of the conference area.

49:29.380 --> 49:34.820
But thank you very much, Coinbase for sponsoring this blockchain village.

49:34.820 --> 49:39.660
Thank you very much, Ajit and all the volunteers that work with you for putting this together.

49:39.660 --> 49:46.260
I think it's great that we have a blockchain focused village at DEF CON and I'm thrilled to be here.

49:46.260 --> 49:47.060
Thank you.

49:47.060 --> 49:48.200
Thank you, everybody.

