start	end	text
0	7440	Good evening everybody. So how was the first day of DEF CON with you guys? You enjoyed it?
7600	16860	Liked it? Everyone is pretty much very tired so that's DEF CON. So guys we have last talk of the
16860	24200	day before we have contest briefing. So we have Mike and Ron and they will be presenting
25200	29660	Cryptocurrency Security Standard, CCSS. So here we have Mike and Ron.
30520	36080	Thanks Ajit. You know what they say, save the best for last, right?
37100	42940	Thanks everyone for staying a little bit later for this talk. I promise it will not be very
42940	49520	technical. We're not going to tax your brains. It's just an overview of what the CCSS is so that
49520	55800	you're able to understand the goals of it and you can research it on your own time if you want to
55800	64020	learn more. Yeah. So I'm Ron Stoner. I'm a security engineer at Shapeshift helping to keep
64020	71180	everybody's accounts safe while you do your crypto. I'm also the curator of the CCSSA exam.
71180	75540	So we're going to talk about the CCSS today. We have some exciting things also as a result of
75540	80060	that. I run my own consulting firm and you can find me on Twitter at forward secrecy.
83720	89400	And I'm Michael Perklin. I'm the chief information security officer at Shapeshift. I work with Ron.
89540	95580	Also, I'm the president of C4, which is the nonprofit organization that spent all the time
95580	102160	with a variety of companies to pull all the data together to create the CCSS and to publish it in
102160	107900	an open way so that all of you are able to use it without any restrictions for your own work.
108500	113860	I also run a contest here at DEF CON called Coin Droids, which is the world's first blockchain
113860	120780	battle game. And it's been running here at DEF CON for five years now. And it's pretty interesting.
122300	131140	So a quick note about C4. C4 is a nonprofit organization that deals with measurements and
131140	137660	standards. Our first project was the CBP, Certified Bitcoin Professional, which is for
138500	142980	people. And our second project was the CCSS, which I'll be talking about today, which is for
142980	153220	systems. It's been running now for six years, and we've got some pretty good board members,
153220	159480	including Vitalik Buterin, Andreas Antonopoulos, Pamela Morgan, and Joshua McDougall.
161140	168200	The CBP, which is what I mentioned, is the world's first certification related to Bitcoin
168200	175360	or blockchains. Basically, how this was formed was we recognized that there was a need in the
175360	179980	industry for everybody who didn't know what Bitcoin was to be able to identify somebody
179980	189580	who did know Bitcoin. When we started C4, we realized that while I know what Bitcoin is,
189580	193960	if I'm interviewing somebody, I can ask them pointed questions and I can tell if they actually
193960	199020	understand Bitcoin or if they're just repeating a news headline and they don't quite understand
199020	206160	what a Bitcoin is. But I'm already knowledgeable about Bitcoin, so it's easy for me to identify
206160	211120	knowledge in others. But there are so many hiring managers, presidents, CEOs who know that they need
211120	215680	someone who understands Bitcoin on their team, but they don't know the first question to ask them
215680	222140	in the interview. This problem has been solved many times before in a variety of industries,
222140	228260	like in accounting, they have the Certified Professional Accountant designation, the CPA.
229760	236240	So these types of certifications have meaning for HR just to make sure that they are interviewing
236240	241180	the right candidates. And we realized that there was no such animal for Bitcoin,
241180	245660	so we decided to make it. Yeah. Can you talk the talk and can you walk the walk?
248920	256420	While the CBP was the first project we did, which is related to people measuring a person's
256420	261560	knowledge to make sure that they meet the minimum bar for understanding how to use Bitcoin safely.
262440	270340	The CCSS is much different. The CCSS is for information systems, for a vault that you've
270340	276360	created for your enterprise or for any other system that ends up holding Bitcoin.
277920	283100	Yeah. So when we're talking about the CCSS, we're talking about security standard.
283100	286560	So we've seen a bunch of different security standards throughout industries over time.
286560	292260	And in crypto, we have CCSS. It's providing clear security guidance. It's providing a framework.
292260	298380	It's providing security controls that information systems can adapt into their system. And it's
298380	309600	free for everybody to use. Why do we need it? We want to instill confidence in customers and
309600	314080	people using these systems. There's a lot of fly by night operations in crypto. You guys have seen
314080	319000	the news articles. You've seen funds go missing. Everybody's kind of doing it their own different
319000	324480	way. And there's not really a good standardization for this. So we can see that with these different
324480	329640	companies, Mt. Gox, Coinbase, a lot of these companies were wrapped up with hacks and loss
329640	334720	of funds, unfortunately, because they weren't following proper security standard and procedures.
334840	341600	Or they weren't hacked because they were following the proper procedures. Everybody
341600	347980	was sort of doing it their own way. Yeah. As we said before, when you're looking at things like
348460	352260	doing business with people that are processing credit card companies, you look for PCI. When
352260	356880	you're talking about your medical data, you want to see that HIPAA on it, right? And we know that
356880	360960	that may not be the be all end all, but they're protecting your data. They're taking the steps.
360960	364820	They're doing things correct within a standard to make sure that your information and your stuff is
364820	372780	safe. We have things like ISO 27001. But when it comes to currency, what do we have? Cryptocurrency.
372940	376660	So every industry has a standard and we're trying to fulfill that need.
378160	384860	So now that you have an idea of what the CCSS is, let me reinforce what the CCSS is not.
384860	392780	The CCSS is not a replacement for ISO 27001 or for traditional cybersecurity. You still have to
392780	398200	worry about malware. You have to worry about insider threats. You have to worry about all that stuff.
398240	405220	The CCSS focuses razor sharp on the keys themselves. How are the keys generated? How
405220	410380	are they used? How are they stored? And how are they decommissioned after use?
410380	414460	Right. Additionally, who's accessing them? What are they doing with them? Things like that.
418820	425140	So when we get into CCSS, we know security isn't just tech. Security is all-encompassing,
425140	428460	right? It's a whole bunch of different domains. It's a whole bunch of different systems within
428460	432840	itself. If all you're doing is installing host intrusion detection and calling it a day,
432840	436500	you're not doing it correctly, right? So when we get into information systems,
436500	440180	we're talking about all these different domains with hardware, with software,
440180	445400	with all of your procedures, with your policies. Are those things being cut up to date? Are they
445400	451540	being tested? Who has awareness of those policies? Or if X employee leaves an information system,
451540	455820	is that knowledge gone? And all five of these things,
455820	461660	they work together like a chain. And you're only as strong as your weakest link. You can have the
461660	466180	best hardware ever. You can have the most advanced software. You're totally patched with
466180	471940	everything. But if your standard procedure is to write down a password and put it as a sticky note
471940	476380	on your monitor, it doesn't matter how much tech you have or what encryption algorithms you're
476380	483180	using. You're going to fuck it up. So the CCSS looks at an entire information system as a whole,
483180	487700	which is all five of these areas all combined. Does anybody know where the weak chain is in
487700	501600	this picture? Nice joke. So when we get into CCSS, we get into 10 overall aspects that we're
501600	507660	talking about here. And as Michael said, it's very heavy on keys with usage, storage, how those keys
507660	511820	are handed off, who has access to them. But then we get into other things that people may not be
511820	516640	thinking about, like your data sanitization policy. So DSP is a big one where all the
516640	520180	corporations say, you know, we've got these policies and we're doing all this stuff. But
520180	523640	when you dumpster dive them, you find out that may not be the actual case.
524540	531180	Yeah. And there are 33 separate controls that fit into these 10 different aspects. We're going to
531180	538180	give an overview of each of these 10 aspects and what is covered in them. We're not going to get
538180	544300	into too much detail because this is a fairly high level talk. If you do have any questions
544300	548260	specifically about some of these, there's definitely going to be some time at the end.
548260	555040	And of course, all this is published free open source online. The CCSS has three different
555040	561920	levels and they are additive. There's level 1, level 2, and level 3. Whereas level 3 would be
561920	570280	the highest, level 1 is the lowest. But where level 1 is the lowest, that doesn't mean that
570280	577540	is poor security. It's actually great security. Level 2 is even better security and level 3 is
577540	586780	paranoid. To my knowledge, no system out there meets level 3 security, but that's fine. They
586780	591720	don't necessarily have to. I've said this many times before and I'll say it again. Any system
591720	598460	that is certified level 2, I believe, would not be able to have the funds exfiltrated.
598460	602420	I'm not saying that they won't be able to get hacked. They could still definitely get hacked,
602420	607700	but a successful hack would not be able to pull any of the funds out of a system if it
607700	613920	is level 2 compliant. We'll get into a little bit of the details of level 1, 2, and 3.
614020	621940	But as a high level, the next slide shows the chain model. If you were to take a look at all
621940	632200	10 of these areas, now across the top, you can see level 1, 2, or 3. This is an example checklist
632200	638140	for Acme Exchange Company. Now, if Acme Exchange Company, the way that they generate their seeds
638140	642120	are compliant with level 1. They don't do a compliant level 2 or level 3, but they are
642120	647320	still secure with level 1. But the way that they create their wallets actually does reach level 3.
647320	653800	You can see some of the differences here. This system would be graded as level 1 because that
653800	659640	is the one commonality. All of these boxes would have to be in level 2 in order for the system to
659640	667400	be compliant with level 2 and similar for level 3. It's important to look at the system as a whole
667400	672280	to understand how all of these things are individually graded in order to apply a grade
672280	678560	to the overall system. And that overall grade is the lowest common denominator out of everything.
680060	684760	And as Michael said, even with level 1, some people think level 1 is bad. But if I was looking
684760	690640	to do business or move my funds to an information system that was level 1 certified, I know that
690640	694900	they're checking off all those boxes or level 1 compliant. I know they're checking off those
694900	699740	boxes. They've done proper procedures with their keys. I can more trust that information system
699740	705860	that's not compliant with any of these controls. And actually, before we jump into each of these
705860	713060	in a little bit more detail, one thing I want to say is how the CCSS was compiled. So in 2012 and
713060	721440	2013, C4 contacted as many exchanges as we could to understand more details of any of the hacks
721440	726860	that occurred. And we gathered a whole bunch of data from security professionals all over the
726860	730780	world. And then we started organizing it. Why was this exchange hacked here? Why was that
730780	734940	exchange hacked here? Why is this exchange not hacked? And we identified the commonalities,
734940	740600	which allowed us to group them together into these 10 aspects. So it was through a lot of
740600	745960	data analysis that the volunteers at C4 and the companies that submitted data, we all worked
745960	753340	together to pull them together like this. And with no further ado, let's jump into each of
753340	759020	these 10 aspects in a little bit more detail. So the first one we're going to tackle is key seed
759020	763680	generation, and probably one of the most important parts of a cryptocurrency information system.
763880	768040	You can have everything secure, but if the person that generated your keys has a copy of that
768040	772520	private key or seed at home, you're screwed at that point. So when we get into key seed generation,
772520	778980	we're talking about things like, was the key and seed issued by another actor? Was it created with
779080	784400	a compliant DRBG, deterministic random bit generator? So when you get into the very fine
784400	789160	technical details of randomness and pseudo-randomness, that can have some far-reaching
789160	792880	effects on your business, right? And your information system, depending on how those
792880	799380	keys were rolled and what they were rolled with. We also talk about things like wallet creation.
799680	804540	What was being used when that wallet was created? Were unique addresses being used for the
804540	810600	ultra-paranoid level three side of security? As you can see, level one doesn't have any
810600	816920	controls here listed for wallet creation, but level two and three does. So if you were looking
816920	820780	at a compliant level one system, you would know that they may not, or may have done some things
820780	826680	with this control, but depending on how they've done it, they can certify different levels,
826680	830600	one, two, or three, based off of how those wallets were created. And for those of you who
830600	835280	were here in the previous talk, where Mila went through the various algorithms that make up
835280	844440	Bitcoin, that's denoted here, where Bitcoin is quantum safe as long as you are always using a
844440	854540	brand new address. Now, you can still use Bitcoin while reusing an address and keeping to...
854540	860460	pardon me. While you can still use Bitcoin safely while reusing an address, the ultra-paranoid
860460	864900	people will always make sure they're always using a new address just to make sure that they're
864900	873260	quantum safe. There is no known attack today that can reverse a private key from the public key.
873260	877580	However, if you want to be paranoid, you should always be using unique addresses. And that's why
877580	885250	that's a level three control. When we're talking about keys, we're also talking about the geographic
885890	891430	distribution of the keys. Where do those keys live? Is it in single location, multiple locations?
891430	894490	When we get into this, we're talking about things we're looking at business continuity
894490	900770	and disaster recovery, or if a key is lost or access to a wallet is lost. Is it in another
900770	905130	location that you can get access to and either get access to those funds or do what you need to do
905130	912590	in those times? So we've got generated keys and we're generating them securely, but how are we
912590	919350	storing them? So we've got different controls here for things like backup keys. One that people don't
919350	924530	really think about is, are you storing your keys encrypted? So everybody might have their backup of
924530	929150	their key in their safe or in their desk drawer, but when somebody gets access to it, do they have
929150	933210	another step that they have to take to get access to that key material? Or do they just then have
933210	941080	raw keys that they can take and start using at that point? We also look for things like, does
941080	946740	the backup key have a tamper evidence seal? However you want to achieve that, that's fine. As long as
946740	951380	there's some evidence to say this key has been accessed or somebody else has had access to this
951380	956340	in the last time that I've had that. And as you can see, when we get to one to three, those controls
956340	961660	get a little bit more paranoid with backing them up with access controls, even encrypting backup
961660	966780	keys, which people don't think about. They always think about encrypting the primary key after they
966780	971520	see the information on the previous slide, but they never think about their backups or, you know,
971520	977960	different copies of those keys they have in other locations. Continuing on the life cycle of a key,
977960	982700	we went through how the key was created and then how the key was stored. Let's jump into how the key
982700	989960	is used. So there are a variety of controls in this section, including how many factors are
989960	996280	required to access the key. Can anybody just get it? Or do I need to have a username and a password
996280	1003620	and maybe a 2FA code in order to use the key? Are the keys used in a trusted environment? Or are you
1005040	1011880	signing something in a Starbucks off of an unsecure Wi-Fi? Who gets to use those keys?
1011880	1016780	And what checks do you do on them? Whoever is going to be interacting with your keys has an opportunity
1016780	1022680	to make a copy of the key and use it in an unauthorized way. So before you give them access
1022680	1028760	to your key, what checks are you doing to make sure that you want them to have access to your
1028760	1034980	keys? And are they even the right person? Maybe they started at your company with a fake name or
1034980	1039640	something like that. So I mean, these are small checks, but they're definitely important before
1039640	1047800	you give access to these people. A few more for key usage. Background checks. Do they have a
1047800	1055120	history of credit risk? While their personal finances have nothing to do with your business,
1055120	1059400	if they're constantly in debt and they're constantly having a difficulty
1060000	1066240	making their own ends meet, they're more likely to find money another way. Whereas
1067180	1073860	the opposite is true if they're not. Now when the key is used to sign something, what kind of
1073860	1078100	double checks are you doing to make sure you're sending to the right destination address?
1078100	1080360	And are you sending the right amount?
1083480	1091180	If it's a multi-sig system, are those multiple keys brought together on a single device or are
1091180	1096240	the multiple keys used independently on separate devices? There have been a number of hacks of a
1096240	1104660	multi-sig system where a Trojan made its way onto the final signing system, the system where multiple
1104660	1110040	separate keys from multiple separate key holders are brought together. That's not the safest way
1110040	1116800	to do it. Making sure that each key is kept separate is important. And as part of every
1116800	1122140	digital signature, I believe Mila also talked about this in her last talk, as part of every
1122140	1127560	single digital signature, there is a random number that is used. How is that random number derived?
1128080	1133460	There have been cases where the same number has been used for multiple signatures which can allow
1133460	1142520	someone to recompute the original private key. And staying with keys, we're going to get into
1142520	1146680	how they're granted and revoked because this is an important part of the process itself.
1146720	1154620	So we have controls in place for is there actual grant and revocation procedures created? Who's
1154620	1159800	knowledgeable on the staff with those procedures? Or does it just sit in a document repository
1159800	1164300	somewhere that they've checked off the box saying this policy has been created but nobody ever looks
1164300	1169960	at it, nobody ever uses it, and nobody knows how to enact it when the time comes. We also look for
1169960	1175340	things like authenticated requests over authenticated communication channels. So this gets
1175340	1180740	interesting because we get into the concept of strong authentication and making sure that you
1180740	1185240	know who you're speaking with, verifying them over different ways, not just getting a Slack message
1185240	1191200	or an SMS message and trusting that this person has said yes, sign this transaction and send 10,000
1191200	1197340	Bitcoin to this address, right? We're going to verify that before we do that. And then looking
1197340	1202300	for things like audit trails with employee sign-offs for all of these actions. So not only
1202300	1206780	are the steps being taken and are they being followed, but are we taking down audit trails
1206780	1210620	so that if there is an issue, we can go back and find out where there was a problem or where
1210620	1216920	something went wrong. This is one of my favorite ones as a security engineer, the key compromise
1216920	1224560	protocol, KCP. So the shit hits the fan and we need to do something. We want to see that a key
1225160	1230020	compromise protocol exists, number one. Have people thought about this? Have they built a system to
1230020	1235660	take care of this or a policy or procedure? Do they have staff that are knowledgeable with key
1235660	1242040	compromise policies? Are they comfortable running that type of procedure if they need to go in and
1242040	1247620	revoke keys that control X amount of dollars or X amount of funds? And for those who don't know
1247620	1253920	what we mean by a key compromise protocol, it's basically a script of what you would do the moment
1253920	1259660	you believe maybe a key might be compromised. By spending the time to think about all this
1259660	1264780	beforehand, when you're in a rush situation, you don't need to worry about making mistakes because
1264780	1268940	you just follow the script. Step one, step two, step three, and now all the keys are properly
1268940	1275880	replaced. Moving on, there are only a few more aspects and then we'll open up to questions.
1276000	1281400	Security audits. The CCSS defines a couple of requirements for security audits, namely that they
1281400	1288680	are done regularly. It's not really much more to say about this one. There are...
1292180	1295980	One thing that we haven't really talked about that's important to see on this slide
1295980	1303260	is the uncertified status. So you can see here in red, no proof of security for security audits.
1303360	1307340	I think we all know of places that claim they're secure, but when it comes down to it and you want
1307340	1310600	to see the audit information, there's nothing there, right? They've never done a pen test. They've never
1310600	1315860	done vulnerability scans or code review. With that uncertified status, you could be level three
1315860	1320060	across the board on everything else. And if you're uncertified on one of these controls, you're not
1320060	1324180	going to be compliant with the CCSS because as Michael said, you're only as strong as your weakest
1324180	1334420	link. And in this example, this would be the weakest link. Approaching the end now. The data
1334420	1340740	sanitization policy. Keys have to be stored somewhere when they are in use, likely on a
1340740	1348420	hard drive of some kind of a server, or maybe they're on a cold storage device, some laptop
1348420	1356820	that has been air gapped. Having a data sanitization policy that details how you're
1356820	1362020	going to scrub the data from those devices when those devices reach end of life is mandatory.
1362020	1367820	Otherwise, anybody who finds your old laptop hard drive in a dumpster somewhere, they could,
1367820	1374540	in theory, get your keys back. Yeah, this man loves dumpster diving. And it's also important
1374540	1381000	to have an audit trail of what has been sanitized and when, although that is more of a paranoid
1381000	1388800	level control. Next is proof of reserve. There are a variety of ways that companies implement
1388800	1396260	proof of reserves, oftentimes just publishing a report saying, hey, here's all the crypto we have.
1396260	1406360	The controls mostly mandate that there is some way to prove a control. However, the best way
1406360	1412760	is when the blockchain itself can prove it for you. By publishing all the addresses that your
1412760	1417800	system uses to the users of your system, now your users are able to independently validate that
1417800	1424520	those coins really are there at those addresses. Instead of trusting the entity that just says,
1424520	1428020	we have a thousand Bitcoin here. Oh, but no, we're not going to give you the specific
1428020	1431560	addresses of where all those are held. It removes all trust.
1432600	1437680	And if we look at level three, the question may come up of what happens with information systems
1437680	1442920	that don't hold funds anymore? Non-custodial exchanges, which I happen to be a big fan of.
1442920	1447900	In those instances, they would comply with level three because there's no funds stored.
1447900	1451420	There's no need to actually list the proof of reserve because they're not holding anything
1451420	1460140	on behalf of customers or systems at that point. And then we get into audit logging. So we've
1460140	1464660	talked about keys. We've talked about key holders. We've talked about verifying identities and making
1464660	1470120	sure people can be trusted and are following the proper policies and procedures. But we need to
1470120	1475180	make sure that, again, audit logs exist for all these actions in the system. Level one, we're
1475180	1480620	logging some actions. Level two, we're logging everything for user and admin controls. And the
1480620	1484740	same for level three. So as you can see, some level two controls are good enough to meet level
1484740	1490800	three requirements. Outside of a full audit trail existing for user and admin actions, I don't know
1490800	1496840	what else you could add in there for audit logging to make it more secure. And then we also want to
1496840	1501780	see backups of our audit logs. So it's great if you're running your server and everything's fine,
1501780	1506160	but then somebody goes in and wipes it, or you have a disaster event. Are you keeping your logs
1506160	1512460	offsite? Do you have BCDR policies and procedures in place, business continuity for audit logging
1512460	1520560	information? So that is the CCSS in a nutshell. There are 36 individual controls that are spread
1520560	1528500	across 10 different aspects or 10 different categories. And all of them need to be graded
1528500	1533440	individually. And the lowest common denominator will be the overall rank of that information
1533440	1540500	system. As far as using the CCSS, the standard is published online for free for anybody to use
1541280	1547840	without need for royalties. And the source for the standard is published on GitHub. If you're
1547840	1554060	interested in reading about it, I encourage you to visit cryptoconsortium.org. And if you are
1554060	1560740	passionate about security, like Ron and I are, we encourage you to get involved. We have a handy
1560740	1568520	empty matrix, just like that Acme checklist. You can grab that checklist off of the C4 website.
1568520	1572900	And I encourage you to try to assess yourself. Think critically about each of the different
1572900	1579380	controls and see where your system falls. What's great about measuring your system like this is
1580200	1584960	once it's done, you'll see exactly where you have an opportunity to improve the security
1584960	1593540	of your system. We are always looking for people to submit feedback on the standard,
1593540	1600100	either posting comments on GitHub or posting issues or posting pull requests. If you feel
1600100	1605820	that you could improve it, we'd love to hear from you. C4 is a volunteer run organization,
1605820	1611600	and if you want to volunteer your time and your security knowledge, we'd be happy to take it.
1612480	1617380	As well as becoming a part of an ever-growing compliance standard in cryptocurrency.
1620390	1627110	Last thing I'll talk about is the upcoming Blockchain Training Conference. Now,
1627110	1633190	the coupon code you see on screen will save you 10% off the ticket price. And if you visit the
1633190	1638030	CoinDroids booth in the contest area, you can get another coupon code for another 10% off,
1638030	1643330	giving you a combined 20% off of the ticket price. At the Blockchain Training Conference,
1643330	1649970	this is the first time C4 is going to be having a full-day workshop on the CCSS to train you or
1649970	1656130	anybody that you'd like to send on your behalf on how to use the CCSS in real-world scenarios.
1656130	1663490	It's taught by Ron right here, who also wrote the CCSSA exam. The goal of this bootcamp is to
1663490	1669290	prepare the next generation of auditors on using these standards to assess a system and to guide
1669290	1676950	their clients on improving their security. With that, let's open it up to questions. I've got some
1676950	1683930	swag for some good questions, if you have them. You, sir, had your first question.
1689030	1692710	The question was, how do you detect that a key has become compromised
1693510	1698310	or might be compromised? That's a great question. And there, unfortunately, is no
1698310	1703130	silver bullet. Like everything in security, there is no silver bullet that can solve that.
1703870	1712930	There are a variety of ways that you could try to detect things, such as canary payments or canary
1712930	1717490	addresses, putting small amounts of funds on certain keys that are available on servers and
1717490	1721830	watching for when those funds move. During your normal course of business, those funds should
1721830	1726130	never move. But the moment that they have moved, it could indicate compromise of that system.
1727290	1736450	Also, the key compromise protocol that we talked about doesn't only cover known compromise. It also
1736450	1743550	covers suspected compromise. If one of the key holders suddenly becomes unavailable for 24 hours
1743550	1748190	and all attempts of contacting them have failed, their family doesn't know where they are either,
1748190	1753950	it's possible that they could have been kidnapped. It's possible that, God forbid, they
1753950	1761150	may no longer be around. In any of these cases, if you suspect that either the key or the key
1761150	1766250	holder may be compromised, the key compromise protocol should be enacted as if they were
1766250	1773010	compromised either way. It's always better to proactively move all the funds to new keys when
1773010	1779270	you think there might be a problem than to hope it doesn't work out.
1785850	1794470	The question was, does the CCSS have a standard for detection? No, but because every information
1794470	1799830	system is different, the way that you would detect an actual compromise or a possible compromise
1799830	1807270	would be different for every standard. If you have a good way of writing an aspect that could
1807270	1811930	cover that for a variety of different information systems, I'd love to add something like that to
1811930	1817710	the CCSS if you want to visit GitHub and submit that. Do you want to take the next question, Ron?
1829210	1834550	So the question was, when you're looking at reviewing things like the random number generator,
1834550	1841350	the DRBG, the deterministic random bit generator, how far do you go when you're looking at that
1841350	1845330	control? Are you looking at things like source code? And I think it really depends on the
1845330	1852370	implementation. So there's a variety of ways to do entropy in RNG, where people could be rolling
1852370	1858090	dice and cards and inputting that into a script and spitting out some keys based off of calculations.
1858130	1862870	They could be using a hardware device that's measuring the difference in electronic current.
1862870	1867970	So it really depends on the implementation. I think when you get into that aspect, you do look
1867970	1872610	at how did you roll them? What did you use? Did you use your own code? Did you use something you
1872610	1876970	pulled off GitHub? Did you use a device? And at that point, it's a lot easier to drill down and
1876970	1881990	determine where does this fit level one, level two, level three, or uncertified.
1882810	1889630	And to add to Ron's answer, the CCSS requires DRBGs to be compliant with a variety of
1889630	1899270	well-known and globally accepted standards. Specifically, NIST800A. It's written on here
1899270	1911150	somewhere. He'll pop it up. But if the DRBG is compliant with the NIST, there it is, SP890A,
1912030	1919330	then it would be a compliant DRBG. If you're using, let's say, Electrum to generate your keys,
1921930	1926670	the source code of Electrum should be looked at to make sure that it's not using its own method
1926670	1932410	of random generation, and it is calling a well-known PRNG. And then it should also look
1932410	1937370	at how that PRNG is being seeded. Once we know that Electrum is using a well-known PRNG that
1937370	1943030	is compliant, then we know that that one would be certified. Does that answer your question?
1943330	1952210	Perfect. I'm sorry, could you ask that question again?
1965090	1971410	The comment was that even NIST-compliant DRBGs have been known to be compromised. And you know
1971410	1977770	security is always evolving. As long as we're doing our best to be up-to-date with the current
1977770	1983390	best practices, then we know that we're doing our best. But we can't protect against unknowns
1983390	2001440	that haven't even been invented yet. Let's go with RedShirt. How useful is the CCSS to
2001440	2008740	non-custodial wallets, was the question. It's a great question. So a non-custodial system,
2008740	2018720	let's say a DEX, a decentralized exchange, the exchange itself doesn't store funds on their own.
2018960	2024120	DEX is matchmake, someone who is selling one token and somebody who is selling another token.
2024120	2030960	So the DEX itself actually can't be certified by the CCSS because that system doesn't actually
2030960	2036900	store funds. Each user, each participant of the system would be required to safeguard their own
2036900	2043980	keys for their own funds on that side. Does that answer your question? Perfect. Miss in the back.
2060600	2065220	So the question was, and that was a long one, but please correct me if I get the question
2066180	2073440	incorrect, but how would risk managers use the CCSS to, actually I'm sorry,
2073440	2092710	could you repeat the question? Gotcha. So how does the CCSS map to other standards or other
2093330	2101390	systems of control? My answer would be, again, that it is a separate set. Most of the existing
2101390	2107970	standards that are out there relate to one aspect or another. For example, the PCI compliance
2107970	2113130	relates to storing of credit card information, but only credit card information. HIPAA relates
2113130	2118450	to storing of healthcare information. The CCSS is razor focused only on the storing of private
2118450	2124750	keys. Now, because both PCI and HIPAA have been around for so long, it's common knowledge for
2124750	2130930	board members to say, oh, are you HIPAA compliant? Yes. Are you PCI compliant? It's our hope that
2130930	2135990	through the development of the standard and the regular curation of the standard, that being CCSS
2135990	2143010	compliant tomorrow will be as common knowledge as being PCI compliant is today. And to just add
2143010	2147130	on to that, I think for anybody that's trying to make a play to a board or anything like that,
2147130	2150950	all you have to do is link them and show them all the different hacks and loss of funds and
2150950	2155050	cryptocurrency information systems that have happened even within the past few months.
2156050	2159990	They like dollar figures and showing them dollar figures and making it real world,
2159990	2164770	I think always brings it full circle. And one other thing I'll add to that is
2167790	2173410	a variety of exchanges already list their voluntary compliance with the CCSS standard
2173410	2178870	if you dig into their frequently asked questions. So a lot of exchanges are already using this,
2178870	2188350	and there have been a number of regulations from a few different jurisdictions that have
2188350	2196610	already referenced the CCSS in the laws, most notably in Bermuda. They recently passed
2197870	2204450	a... I don't know if it's an act or... I apologize, I'm not a lawyer, but it was referenced in their
2205910	2210530	laws that any company that is going to be operating in the cryptocurrency space should
2210530	2215970	be compliant with at least CCSS level one. Also in Wyoming, right here in the United States,
2215970	2221790	the CCSS was referenced in the recent blockchain laws there as well. So the standard is already
2221790	2228890	starting to be adopted by lawmakers worldwide. And anything that we can do to help these people
2228890	2235450	who don't understand tech to at least get a nice little checkbox, I think it's a win for all of us.
2236950	2289630	Mr. in the black shirt. So a summary of the question, please correct me if I get it wrong,
2289630	2295510	is how do you actually ensure that people are using the standard, the thorough standard,
2295510	2303610	and they're not just, I guess, making a bunch of check marks without doing it? And you know what?
2303770	2310570	I don't know of any way that you can. If an auditor goes in and just issues a report and
2310570	2316150	they sign their name on it and it says, hey, everything's perfect. If they want to put their
2316150	2321650	reputation on the line to make a lie, there's nothing that I don't think anybody can do to
2321650	2328850	stop that. Maybe having two independent auditors perform the same checks. And if you see any
2328850	2335730	inconsistencies between the two, that might make some progress in doing that. But even still,
2335730	2341190	just as easily as one person could lie on a report, two people could lie on a report.
2341190	2351650	If you can think of any way to enforce, I guess, the integrity of these people's reputation,
2351650	2359670	I'm all ears. I think too, it comes down to if a business says they're HIPAA compliant,
2359670	2362970	right? And they've checked off all those boxes and then they have a breach and your medical data
2362970	2366430	gets out there, everyone's going to look at that and say, well, you weren't actually HIPAA
2366430	2371110	compliant, right? You weren't following those standards and procedures. You fleece the auditor,
2371110	2374970	just check the box off to check the box off. And I think at that point, that's on the business,
2374970	2378630	right? From a litigation standpoint and everything and a reputation standpoint.
2378850	2382310	So we would hope that businesses wouldn't do that, but having the auditors in the pipeline
2382310	2386430	definitely helps with the process to validate some of those controls and say, well, no,
2386430	2391330	your KCP is two lines on a Word document. It's not an actual procedure that anybody can follow,
2391330	2392970	you know, step A to Z.
2394790	2397570	Any other questions? Gray shirt.
2397570	2409030	Have third party audits been completed? Yes. I'm aware of at least three consulting firms
2409030	2415330	that have used the CCSS when grading the security of their client's work. I only know of this
2415330	2426130	because C4 was reached out to by these firms, just double checking some minutia in the standard to
2426130	2434030	they're using it correctly. And now that C4 is planning on launching the auditor certification
2434690	2442930	later this year, these auditors who are already doing this type of work to see if a system is
2442930	2448750	compliant, these auditors can become certified and they'll be able to say that not only do I
2448750	2455670	believe this to be compliant, I am bestowing the certification on that system. Right now,
2455670	2462810	because it's an open system, the best anybody can say is, I believe I'm compliant with it,
2462810	2467630	or I believe he is compliant with it. But no, there are no exchanges, there are no systems
2467630	2473550	that are certified compliant. Once we have the auditors that are properly trained, and we know
2473550	2481110	that they understand the standard thoroughly, their word will be their bond. Yeah.
2486370	2492090	Sure, the Acme slide. Yeah, it's a little bit farther.
2494030	2496350	Oh, that's doing the build.
2499450	2502870	Patience. One more or two more. There we go.
2506430	2508250	Oh, yeah, the 10 are listed here.
2514090	2523280	Okay, some are proceeded where you have to like, where you have by asking. So, yeah,
2523280	2528600	that's the way I mean, for few of those, you can have tools rather than you can put the
2528600	2532680	evidence of the tools output and then you can get a compliance.
2533740	2538240	Yep. Any other questions?
2538400	2544380	Is there any plans to expand on the intent or the function of it being an audit
2544940	2552440	focus to more of a qualitative assessment, maybe range of efficacy in each area as far as
2552440	2555800	maturity levels, any plans for expanding in that way?
2555800	2560560	So the question was, are there any plans to expand this from an auditor focused thing to
2560560	2567860	more of a qualitative focused standard? It's my belief that in order for any auditor to be
2567860	2573640	effective, they have to do a qualitative assessment. Sure, there are some quantitative
2573640	2578260	pieces to it, making sure that this is done, enumerating how many keys are in the system.
2578260	2583280	Some of those will be quantitative, but those numbers don't really mean anything unless you
2583280	2587800	put them in context. Just because there's a multi-sig system that is three of five doesn't
2587800	2594100	suddenly mean that it is good. Like the picture of the chain, it's everything around the ecosystem
2594100	2600340	of those keys that make it a secure system. Auditors need to make sure that they look at
2600340	2605860	all aspects of the information system, not just the quantitative part, in order to make
2605860	2632560	an accurate assessment. Ajit? Depending on the level that you're going for, so some people may
2632560	2640160	say we can never be level two or level three, or I think, let me see, in the instance where,
2640160	2643840	yeah, so for level one, you do need to have backup keys, right? So we want to see that for
2643840	2649700	BTDR. We want to protect it from environmental damage. And then we want that primary key to be
2649700	2654980	stored with strong encryption across the board. Now, when you get into backup keys, we're starting
2654980	2660060	to get one to the more paranoid levels of security, right? Really, really tight, secure systems,
2660060	2665960	where, as Michael said, level two, we shouldn't see any loss of funds or anything like that.
2666820	2670460	But at that point, you're starting to get to the paranoid level of security. Now,
2670460	2673900	your question was about backup keys of the backup keys.
2678820	2687840	Yes, only for level three. So every system that I've ever worked with, I always recommend that
2687840	2693520	you do not encrypt the backup key, because of that exact problem. Where do you store the
2693520	2700080	decryption key for the backups? However, there are some companies that feel more comfortable
2700080	2706780	knowing that even their backups are encrypted. I would advise those people to make sure that those
2707620	2713180	decryption keys are stored equally secure. But somebody said turtles all the way down. And
2713180	2717600	I definitely think that that applies here, which is one of the reasons why I personally
2719360	2724140	don't like systems that encrypt the backup keys. Because if the person who knows where that
2724140	2731980	decryption key is, dies or passes away, how do the surviving operators of the system get that?
2733760	2739480	I said earlier that I believe a system that is level two compliant, can never have the funds
2739480	2753390	stolen, even if they are hacked. And I stick by that. Yes. The question is, how do you feel about
2753390	2757190	social key recovery? Do you want to take this one or should I? What do you mean by social?
2765050	2771890	Yes, so social key recovery involves sharding a key into, let's say, three or five. And then you
2771890	2776910	give each of these five pieces to five people that you know and trust. If something ever happens to
2776910	2783470	you, any three of these five friends or family members can get together to reconstitute the key.
2784110	2791050	In my opinion, that's just a backup mechanism. Whether you you etch the key on steel and put it
2791050	2799890	in a safe, or you shard the key and you divide it amongst key custodians, either way you're
2799890	2805270	backing up the key. I definitely would think that that would be compliant with the CCSS.
2808520	2836800	Yes, sir. The question was, at what quantity of funds would you recommend a certain level
2836800	2842580	of compliance with the CCSS? And my answer would be, I can't answer that for you. Every business
2842580	2848360	is different. Does $10 million represent a fraction of your daily volume? Or does $10
2848360	2855320	million represent the cumulative sum of years worth of work? To your business, $10 million
2855880	2861420	could mean something totally different than to somebody else's business. My advice would be,
2862100	2866000	take a look at your use case, take a look at the funds that need to be secured,
2866000	2871620	and use your best judgment on how to secure that. Yeah, I don't think there's like X number to say
2871620	2874840	at this value, you want to be doing business with a level two company or anything like that. It's
2874840	2878700	all based more off of your own personal risk profile and what you're comfortable with.
2880560	2894800	Yeah, I believe you could. Yeah, yeah. If you're doing proper development processes,
2894800	2897960	and you're going through this checklist and checking off each of those boxes and getting
2897960	2902220	into the controls in depth, three person team could definitely be level one compliant. They just
2906020	2909100	so we have a level two. Yeah, that's for level two. And we're getting into things
2909100	2913060	like multi multi signatures and stuff like that. To go back to your original question,
2913060	2918040	with the 10 million, let's say you have X amount. And we're talking about cryptocurrency, right? So
2918040	2922800	we're storing crypto on these information systems or processing crypto. 10 million today could be
2922800	2928200	100 million tomorrow. So if you're comfortable with X money on that at level one, you know,
2928200	2931960	what's it going to be a level two when we're at the moon?
2932160	2937960	Level one requires or doesn't have any requirement for multi sake. Level one is a secure system with
2937960	2945600	single signatures. That would apply more to Ethereum style systems where there's only one
2945600	2955400	key for that contract. Multi sake is level two and above. So you don't need to be level two.
2955400	2958300	I'm sorry, you don't need to have multi sake in order to be compliant. You can absolutely be
2958300	2964640	compliant with love level or with one key. That is all the time we have. If you do have any more
2964640	2970140	questions, maybe we can walk and talk back to the rest of the conference area. But thank you very
2970140	2977020	much, Coinbase for sponsoring this blockchain village. Thank you very much, Ajit and all the
2977020	2982480	volunteers that work with you for putting this together. I think it's great that we have a
2982480	2988200	blockchain focused village at DEF CON and I'm thrilled to be here. Thank you. Thank you, everybody.
