start	end	text
0	6420	Okay, so good morning and thank you for coming to, taking your time to come and see us today.
6420	15260	My name is Rod Soto and I am here with Victor Phan from Radiant Chain. I'm a security researcher.
16880	21180	I co-founded Hack Miami and the Pacific Hackers on the West Coast.
21580	26840	Some of the companies I work for, Akamai,
27360	35720	Canon, Toshiba, Splunk, and one that is quite related to the crypto scene, Prolexic.
35960	42100	I was actually part of the team that protected Mt. Goth. Remember Mt. Goth? They were a pain in the
42100	47400	ass. If you actually go on Twitter, you'll see how they would tweet like, we're down because
47400	53680	of Prolexic. Like, they weren't an easy client and we don't know what happened afterwards.
53680	64100	But I come from the crypto, like 2009, 2010, we were actually buying whoppers for 20 bitcoins.
64640	71760	So what we're going to talk today is about smart security, smart contract security. And I'm just
71760	79380	going to go quick on an introduction on some of the blockchain security aspects, which obviously
79380	85000	this is what this village is. This is an effort to bring security into the blockchain
86780	91460	scene. And it's a good effort. Do you want to...
92220	99100	Just a quick intro of myself. I am Victor Fang. So I used to work at FireMendian and the company
99100	104700	I founded last year. Oh, who's from Mendian? Oh, cool. Hey, we should talk. Okay. And by the way,
104700	112460	that's my face, as you realize. And so we graduated from the UC Berkeley, the Blockchain
112460	118500	Accelerator. And yeah, it's very proud to be here presenting, sharing some of our research.
119000	124000	All right. So we're a little short, so I may go a little faster than this. Some background
124000	131760	on the blockchain, basically implemented around, effectively implemented around 2008,
132420	138020	believed to be immutable, public ledger. It's like a DV technology that you can check,
138020	144880	it's exposed, it's public. Full tolerant for the most part. It has been popularized by
144880	150420	cryptocurrencies. There are some interesting implementations right now on financial video
150420	157100	games, web video content, social media. And some countries are actually doing it in agriculture.
158000	164000	The most successful of all the cryptocurrencies, and you can check it right now, is obviously VTC.
164420	172360	It was close to 12,000 yesterday. And according to John McAfee, we hit 500,000. I hope he's right,
172360	184820	at least on that. I know John, by the way. Obviously, we have a development of blockchain
186440	196520	frameworks. And I would say the second most popular is Ethereum, and it's highly traded.
197220	205340	And with Ethereum, the concept of a smart contract was introduced. So what is a smart contract? A
205340	209840	smart contract is basically a framework that facilitates negotiation without the need of
209840	218420	third parties. So what this does is aims to reduce transaction costs and enforces the contract
218920	225680	under the blockchain framework. The transactions are trackable and irreversible. And I put that
225680	230080	in quotation marks because we're going to see some sort of an example of how this irreversible,
230080	236480	sort of like a flexible term, has been implemented in several cryptocurrencies, including
236480	246520	blockchain and Ethereum. The most popular standard right now is ERC20. So at one point,
246520	250640	you saw a bunch of people selling you the framework to create a new cryptocurrency.
250640	258020	Basically what it is, they copy the Ethereum blockchain, use ERC20, and then they'll sell
258020	266180	it to you for $250,000. So you just had to name a new currency. As we all know, at this point,
266180	272200	smart contracts can be exploited. So we had BAO, that was $3.6 million of either.
273040	279840	And the amount of losses was so huge that it was basically easier to hard fork,
279840	285840	continue with that. So that's an example of how smart contracts can be hacked. And today,
285840	293020	you're going to see actual examples of how that happens and how to audit smart contracts.
294200	303700	They are a powerful tool. And in my opinion, the smart contract is the bridge that can enable
303700	311920	blockchain to widespread in many other areas. I think it's important to see blockchain,
311920	317860	it's just not only crypto. Crypto has driven it. But there are other areas that we can definitely
317860	325440	implement this and doesn't have to scare the banks and the powers that be, which is usually
325440	333260	my opinion why crypto has been held back. And among other reasons, but basically,
333600	342160	things such as the smart contracts and several new standards will help to advance the cost of
342160	349600	implementing blockchain technologies. And we can use smart contracts for, like I said before,
349600	355220	we can use it for records, supply chain, digital identities, mortgage, insurance.
356740	362140	So here's one of the main problems of the blockchain scene, right? So which is the
362140	369460	hacking history is displayed with fraud, fraudsters, and people that, for some reason,
369460	376440	can explain mysterious hacks. So we have some of the relevant hacks here, the Mt. Gox one.
377120	383780	Again, I had experience with Mt. Gox, because we protected Mt. Gox. And Mt. Gox was basically
384020	388980	a trading site for cards. And then they turn it into a cryptocurrency exchange. And they will get
388980	396260	hit all the time with DDoS, all the time. So in case you wonder if we knew how the Bitcoins were
396260	402940	lost, we didn't. Because we were only protecting the actual perimeter. So basically, they will get
403040	410500	a lot of UDP floods, or TCP floods, or even Layer 7 attacks. So basically, we protected their
410500	420820	perimeter. They lost 750 BTC. Then we had the DAO, which I just talked about. It's around $50
420820	428300	million in Ether. Then we had a coin check hack in 2018, $130 million. And then we have some of
428300	438620	the exchanges that were compromised around the world, $1.5 billion in losses. So here's a number
438620	447060	that I want you to see before you see this number. It's 2019, you have compromises at Binance,
447060	455380	Cryptopia, DragonX, GateHub, BitDom and CoinMana. And here's a number that is very shocking.
456700	461160	Around $1,800 in average were stolen per minute
463380	468180	in 2018. If that is not enough to drive a security
470340	474000	industry within the blockchain, I don't know what else it is.
474000	481100	Right? So that was the average, $1,800 per minute stolen in cryptocurrency.
481840	491760	So before I switch it to Victor, one of our messages is we had to come up with security
491760	499060	standards. Openness and exposure does not mean security. The fact that you can see it and it's
499060	507420	out there somehow. And I remember this from the beginning, from 2009, 2010. We believe that
507420	511680	basically by having the ledger exposed and seeing what everybody was doing and then protecting
515180	522000	the identities by just looking at anonymized addresses was going to be enough. And we had
522000	530800	this libertarian dream of eliminating fiat and self-regulating by basically being open and
530800	535640	transparent. We now know that's not possible. I mean, if that number doesn't prove it, I don't
535640	543700	know what else. It's hard to balance at times, basically, the anonymity with the transaction
543700	551120	levels. So at one point there will be a regulation. I know many people would not like to hear that,
551580	555520	yes, we had to come up with standards and eventually regulation.
557420	566080	And then sometimes when we put all our X into one basket, we just saw an example, a major
566660	574000	exchange was attacked and breached. They got in. Hopefully nothing else happened. But my coins are
574000	580300	there. So I'm looking at this and I'm thinking, oh, wait, my coins are there. If they got to my
580300	587580	wallet, that's it. So when we put our stuff at one exchange, then this is sort of like a single
587580	594320	point of attack. And one of the points that Victor's going to touch on, how these attacks
594320	600940	have affected a majority of sites, including exchanges. And of course, the cryptocurrency,
600940	608600	because of the regulated environment and the level of anonymity is solved by organized crime
608600	615700	in Asian states. So I'm not sure if you heard about the whole wave of ransomware that's happening,
615700	621100	at least in Florida. I mean, one city is OK, two cities, three cities, four cities. I mean,
621100	626840	at one point you had to wonder, are they targeting all the schools, all these municipalities,
626840	632960	low budget, outdated systems? And then where is the payment being sought? It's cryptocurrency.
632960	637820	It's hard. Then they go and launder it. And that's another point that he's going to touch on.
638600	644520	Smart contracts with flaws are immutable. And once they're deployed in the blockchain, well,
644520	650840	the immutability helps the exploitability. And that's one of the things that he's going to
650840	658880	touch on today. So again, before I pass it to Victor, we need to come up with some
658880	665900	Infosec standards, just like we apply. We have PCI, we have SOX, many of all these standards.
665900	671140	A compliance is sometimes not worth much, but at least it's an attempt to get somewhere
671140	679020	instead of just thinking, no, this by itself will regulate. So here's something that may happen to
679020	689020	you. So we have some adult site that got spanked. And I bring this up because they didn't audit
689020	699780	the smart contract and they lost almost $40,000 in one day. So with that, I'm going to bring it
699780	709800	to Victor. Thank you. Thank you. And yeah, right before this talk, I had a chance to talk to two
709800	717180	very smart gentlemen, also from San Francisco, me and Phil. I asked them, have you heard about
717180	722460	blockchain APD? They said, what? There's an APD on blockchain? I'm very proud to be here sharing
722460	728380	something new today. So, and this is the original title was how to pound smart contract and make
728380	734540	$4 million in weeks. To give a feeling, how much money is it? That's about $4 million.
735100	741220	But we're not talking about cash, okay? We're talking about exeriums. It's also like a silver
741220	750140	of the cryptos, okay? And this is the latest MIT tech review article on blockchain security.
750140	755020	The title is sort of sad, right? Once held as unhackable, blockchains are now getting hacked,
755020	759340	right? And it's very proud that our company HAI was mentioned three times.
759920	766640	And so APD, how many of you heard about APD? That's great. Right place, guys. And just a little
766640	772040	bit warning, I have some source code here and the slides. So for those of you who like
772040	778400	smart contract or JavaScript, there's a puzzle there for you, okay? So what's APD, right? It's
778400	783480	basically the worst nightmare of cybersecurity and the definition, stealthy and continuous
783480	790100	computer hacking process orchestrated by person targeting a specific entities, okay?
790100	796060	And I'm very proud that we work as part of the team that are mainly fine, mainly who are defining
796060	801380	all these APD groups. And I will also contribute some of the research, how to use machine learning
801380	808580	to actually detect those, like PowerShell in APD32. Okay, let's talk about the target, okay?
809740	815040	How many of you heard about FOMO3D? Okay, what does FOMO mean?
815540	816100	Fear of missing out.
816100	819620	Fear of missing out, exactly. So you guys are not missing out today. I'm talking about
819620	824940	something serious. This guy's $10 million worth of crypto assets sitting there,
824940	830900	it's a website, it looks funny, but the money is real, okay? How do you play this? It's basically
830900	837920	like a Ponzi scheme game, but people just play it, okay? And the nice thing about it is, okay,
837920	843780	this Ponzi scheme game is actually a piece of code executed on the blockchain, so there's no
843780	848940	centralized governance and all that, okay? Everything is mandated by a piece of code,
848940	853240	2,000 lines only, okay? And how you play, right? So you buy the key, and by the way,
853240	858800	there's a screenshot of how I participate in this, you buy a key there, so the last guy who bought
858800	864500	the key, when the clock hits zero, he will win the jackpot, which is usually millions of dollars,
864500	870200	worth of Ethereum, okay? And the developers, right, the very smart developers at FOMO3D,
870200	875760	right, they actually, to increase the interactivity, right, they add a little lottery
875760	881920	mechanism. Whenever you participate, you buy a key, you have a small chance of winning a lottery,
881920	887940	otherwise, this game, if you think about it, right, just simulate it, when the clock goes to zero,
887940	892380	what's going to happen? When the clock almost hits zero, what's going to happen?
893220	899740	Yeah, exactly, right, so this game should never stop, right, theoretically, right, if it
899740	904800	operates right, but, well, it actually stopped, so, but that's not something we're going to talk
904800	910840	about. I'm going to talk about how the blockchain APT hacker group would identify, actually, how
910840	919400	they exploit that lottery bug. Okay, here's a piece of code. So, actually, yeah, it's pretty
919400	926320	hard to see, so there's really, like, the first section of the code, okay, and it's actually a
926320	933260	function called isHuman. What does that do? Why do you put this human function in a smart contract?
934880	941180	Yeah, make sure it's a human interacting that. Unfortunately, it's written by human,
941360	949180	a bug, and then that can lead to the second, which is that airdrop, a random airdrop,
949180	956040	and it says, do we have a winner in the comment? And what does that function do?
957060	962760	Generating a random number, right, and that's the piece of code, and again,
962760	967820	it's all transparent. It's sitting there on the blockchain, right there, and how much time
967820	974920	would it take to run all those whole bunch of addition hashes on your computer? Take a guess.
975700	986020	What? How many milliseconds? Usually, like, 15 milliseconds or so, right? But for those of you,
986020	992520	it's Xenium, right? How long does it take to set our transaction? Usually, like, 10 seconds and
992520	998460	stuff like that. So keep that numbers in mind, okay? So if you are going to exploit stuff like
998460	1003400	this, what you can do, right? Yeah, hold it. I think you got the answer already. But now, yeah,
1003400	1010620	again, $10 million on this 2,000 lines of code. Okay, so based on our research, right, we actually
1010620	1018080	kind of detected the lucky hackers, okay? They only contributed to, like, half of the only 10%
1018700	1024640	of the transactions, okay? But this guy took half of the entire airdrop pool.
1025800	1033500	Super lucky, right? Yeah, this should actually be here in casinos. And if you look deeper,
1033500	1038120	right, into the exact transaction, that's another nice thing that Rob mentioned about, right? All
1038120	1044800	the transaction, no matter good or bad, right, is recorded in the ledger on the public blockchain.
1044900	1050420	And this is the exact transaction, one of the many, right? And yeah, just look at, I mean,
1050420	1054840	it's kind of, there's a lot of, like, sub-function calls, smart contract calls out there. But really,
1055460	1062800	this function, right, this transaction recorded, like, 0.1 is in, and how much they get out of it?
1062800	1070180	0.19, right? So they get, they make 90% of ROI, okay? And this is, again, one of the many
1071000	1077900	transactions they're doing, okay? And just to demystify, right? So actually using our
1078420	1086120	engines and all that, right? So the target is on the top, okay? That $10 million asset sitting
1086120	1091240	right there, big target, everybody can see it. And the guy, there's a little guy down there,
1091240	1097820	we call it a captain. I want to showcase why we call it a captain. And then in the middle of them,
1097820	1104980	right, there's about, like, 50,000 smart contracts or addresses that are interacting
1104980	1111500	with that guy. Okay, just think, remember the code I just showed you? What's the problem with this?
1112160	1118580	If you see a graph like that, what's the problem? Connected to the source code I just showed you.
1121180	1124360	You remember the first function, right? Yeah, I'm sorry.
1124780	1134420	All bots, yes. So that actually means that his human function was bypassed, totally. And that's
1134420	1139860	why this guy can launch a huge campaign of bots to actually interact with that. And each of them
1140660	1149880	gonna win, okay? Because what this guy ended up doing is, they took that piece of code,
1149880	1154160	right, that random number generator, it's transparent there, they simulate it in their
1154160	1160920	smart contract, and they only play with this poor little target up there when they are going to win,
1160920	1167620	when they know they're going to win. That's why they're always hitting, like, 90% profits, right?
1168220	1174640	And when we look at it, like, last August, right, this guy already made, like, $150,000 sitting there
1174640	1181600	in their wallet. And, yeah, and advanced persistence threat, right, in terms of advance,
1181600	1190300	what happened to this guy when they run the transaction? Self-destruct. So they don't leave
1190300	1197100	any bytecode on the blockchain. So, but the transaction will still be there. But the bytecode
1197100	1204240	that they use to attack that smart contract is removed, self-destruct. And why is that?
1204240	1210680	Why do you do that? You don't want to share your profit with some other hackers, right?
1212220	1220260	And, yeah, and so this is what led to our, like, definition of blockchain APT, right? So it's
1220260	1225220	basically a very similar tactics and all that, right? So very similar to what Mendian has been
1225220	1231520	defining, right? The only difference is now this whole attack hacker group actually is running on
1231520	1236960	decentralized world, which is actually, in our mind, is actually harder to defend than even
1236960	1242640	cloud security. This whole thing, you don't even know where, which miner, in which country is
1242640	1251140	running that smart contract bytecode to verify and then reach the consensus. And to give you the
1251140	1256900	full visual, right, this is all the millions of addresses being interacting with that little guy
1256900	1262480	sitting there, the $10 million target. And to prove that we actually know this,
1262480	1266620	some of the address, we have highlighted some of the address, and this guy sitting in the middle,
1266620	1272520	right, is the target and the captain and all that sitting there, that actually only converged to
1272520	1279160	five addresses, wallets, the real wallets. But this guy launched hundreds of thousands of smart
1279160	1286240	contracts to drain money from the pool. Is that the end? Of course not. We actually found there's
1286240	1293460	very funny app in China that is actually a copycat of Formos 3D. And it runs on Android,
1293460	1299180	by the way. And see the pool they're showing is like, what, 100,000 externum? That's a lot of
1299180	1305000	money. And this guy actually ranked the top five, the app, in the externum last summer.
1305140	1313700	And this guy also has $9 million of jackpot pool, right? And yeah, when we look at it, right,
1313700	1321760	it's actually like very similar byte codes. And including the bugs, they just copy everything
1321760	1330420	from the Formos 3D. The only thing that probably changed is the dividend, the account that received
1330420	1335160	the dividends, the developers account. That's probably the only thing that changed, right?
1335160	1339640	You don't want to send money to the Formos 3D team. You want to take the money, right?
1339640	1345520	But they just take everything because Formos 3D is basically open source. It's on GitHub, right?
1346100	1351600	And yeah, so it doesn't, the hackers never sleep, especially in the blockchain world.
1352420	1358080	And so the Qt chain, let's talk, let's dig a little bit deeper into what's going on here,
1358080	1363040	right? So to recap, I mean, some of you may have already taken the Mendian training or whatever,
1363040	1369740	APT training, right? This is the attack life cycle, right? Usually initial compromise,
1369740	1376640	establish full hold and prevarious escalation, right? Internal recon, complete them and then
1376640	1383480	move laterally, right? And then maintain presence until they hit the jackpot, complete the mission.
1383520	1389600	And just to highlight a little bit, right? Most of the APT, what's the goal of most of the APT attack?
1389600	1397520	Is to? Yeah, no, that's it. All hackers want to do that. But what exactly is that? What was the
1397520	1407440	step before that? Probably steal data, right? Steal data, right? Breaches. That's like why
1407440	1413640	these guys are so patient, right? The average time that they can stay in the enterprise without
1413640	1419580	detecting is like, what, 200 days? Yeah, what's the latest number? We have a Mendian guy on the
1419580	1426720	audience. Is that 150 days now? The rest during the days? Have you read the latest M-chain report?
1428260	1436600	All right, let me send a copy to you. So anyways, so but this blockchain ABD Q-chain, right? It's
1436600	1443040	actually a very similar kind of Q-chain, right? So similar steps. The only difference is the
1443040	1447340	actual tactics, right? Now, again, right? You are not targeting the enterprise. You are not
1447340	1452920	targeting a cloud security vendor, right? You are targeting something that is a clear target
1452920	1458700	sitting there in the decentralized blockchain, right? So usually they do a recon using like
1458700	1464140	Web3, the Web3.js, right? To kind of scan what's going on there, right? And then when they found
1464140	1470140	the vulnerability, right? This actually, we have the entire life cycle of that, those,
1470140	1474920	that captains and those few accounts, right? So actually, they're super hardworking. They
1474920	1480720	actually have been doing like days and nights and trying to exploit that smart contract, right?
1480760	1484020	And then when they found a bug, found a vulnerability like that one, it's a random
1484020	1488580	number generator problem, right? And then there's a is human function can be bypassed, right? When
1488580	1494340	they figure out those, they start building weaponized smart contract that can interact
1494340	1499620	with it, right? And then they're actually like that smart contract I told you, that transaction,
1499620	1506220	actually that transaction interact with 10 other smart contracts, right? Like a vault and all that,
1506220	1513440	right? And then they start probing, right? What are the interacting smart contract, right?
1513440	1519660	And then they try to exploit those. It's actually quite easy to find a vault, right? There's a vault
1519660	1525820	taking money in, right? Of course, you don't want to put your hot wallet or the dApp smart contract
1525820	1530060	storing that much money. You probably want to move money into the vault, right?
1530120	1533480	And then, yeah, and then when they found it, right, they're going to launch those
1534080	1541740	automatic bug armies, right? To kind of drain money in an automatic way, not like by a human
1542340	1546680	running the script, right? And at the end, like we just showed you, this guy actually made
1546680	1552540	$2 million from the foremost 3D. And then they make another $2 million from the copycat.
1552540	1557620	Let's keep going. This guy make a few million dollars from each of those smart contracts.
1558180	1564980	And that's actually, they sold the persistencies of this APD hacker group, right?
1565040	1571160	That smart contract launched in July last year, okay? And what's the first box about?
1572380	1575560	There's three red boxes there. What's the first box about?
1575660	1581580	The recon, exactly. Yeah, he's listening. That's great. I'll give you a sticker.
1582540	1590500	And what happened in the middle? Yeah, he found it, man. He found it, and then now he weaponized
1590500	1596080	all the bug armies and launched like 100,000 smart contracts to actually hack it. And that's
1596080	1602440	probably one of the reasons that why the entire Xenium was jammed, okay? This guy paid a lot of
1602440	1611260	money, but they make a lot more profit out of it. And then why did they stop? Why did they stop at
1611260	1628120	the end? What? Because the money is gone, they drain it. It's gone, right? And to kind of like
1628120	1633200	summarize a little bit, right? So yeah, I mean, really, this is a very tough game in the blockchain.
1633200	1638440	Blockchain security is opening up a new dimension of complexity, right? So in our mind, right,
1638440	1645480	three internal themes for this emerging blockchain security industry. First one is the transaction,
1645480	1651540	right? How we dig into all this massive number of transactions? How do we identify those suspicious
1651540	1657200	accounts? How do we find out the tactics? How do they attack the smart contract and all that, right?
1657200	1665920	Based on the transaction sitting on the ledger. Another angle is the cold security, right? So
1665920	1671900	you're putting that piece of smart contract, which is a piece of like a source code, a JavaScript
1671900	1678980	like kind of source code, like Ethereum. And yeah, but that one is actually operating on a totally
1678980	1685380	open and transparent platform, right? And if you have a vulnerability in that smart contract, I
1685380	1692100	just told you what's the consequence, right? And each of those are representation of crypto assets.
1692100	1701600	They're money in those, right? They're not like a dump of a database in the hospitals and all that,
1701600	1707400	right? So those you're dealing with directly currencies, okay? And the next one is infrastructure
1707400	1715200	security. The blockchain right now, like Bitcoin, how old is Bitcoin? How old? 10 years, exactly.
1715200	1724340	How old is Ethereum? Only four years, right? And it takes the internet, right? About 20 or 30 years
1724340	1732260	to evolve, to get to the maturity that we're seeing today. But again, you're still seeing this
1732260	1740080	entire cybersecurity industry, right? So the hacker never stop innovating, right? And so in terms of
1740080	1746700	the blockchain, infrastructure is still very early, right? So there's a lot of opportunities
1746700	1752960	there that we can put our talents into this field, right? To make it grow and make it more secure.
1755160	1761820	And yeah, some of our latest research, right? We feel like we need more transparency into all
1761820	1767860	these different blockchain ecosystem. Now we have those Bitcoin, Ethereum, EOS, Trunks and all that,
1767860	1774460	but like this research you just published in Coindesk, right? Actually, half of the EOS
1774460	1781260	accounts are actually run, operated by bots. And they look like this, okay? Could that be a human?
1781260	1792040	No, right? And there's economics reasons behind those, right? And yeah, so I mean, we are
1792040	1797640	publishing a book, right? So we're in the process of publishing a book on the blockchain
1798160	1803420	apps. I'm contributing a chapter on smart contract security and best practice, right? So
1803420	1809020	we are talking to the publisher house, right? We want to make this chapter, at least this chapter,
1809020	1814800	free on our website. So yeah, so follow our Twitter. It's going to go out this year, right?
1814800	1821840	So yeah, to get your free copy of the chapter and we're hiring. So yeah, that's the end of the show
1821840	1829330	and questions. Yeah, go ahead.
1839120	1844640	When do they know when they win? When they receive their money, they know they win.
1845040	1849800	Simple. And it's money. It's not a piece of data that you have to
1849800	1855180	spend more effort on dark web to sell it. You are getting the crypto. Yeah, go ahead.
1855180	1860440	So I had a question regarding the attack. I'm guessing that the attack is not based on,
1860440	1865260	it's based on the lottery part as well, right? And this is only one of them. Yes,
1865260	1868580	but there's another one targeting on the jackpot. That's another research.
1868680	1872060	But this one we're talking about is... The only airdrop, yeah, the lottery, exactly.
1872060	1875920	Is that the part of the game where it's like, so there's two parts of the game. The first part is
1875920	1879220	that if you're the last person standing, you get the jackpot, but there's also this other lottery
1879220	1883080	system where... Yeah, and this is the airdrop. The one we're talking about is the airdrop
1883080	1888860	mechanism. So whenever you buy a ticket, you have a small chance. It's one out of 1,000 or
1888860	1895420	less than that. Then you can win a small chance. You win a proportion of that. Like this guy was
1895420	1901640	making 90%, right? But it varies. So that's the vulnerability this hacker group exploited.
1901660	1905560	Oh, I see. So the fact that he basically took the random generated seed...
1905560	1906100	Yes.
1906100	1910080	And then calculated and made sure it was matching the same one as the same one.
1910080	1915400	Exactly. And isn't this a smart idea? They only play with the casino when they know they're going
1915400	1917800	to win. Will you do that here?
1919640	1922040	I don't think you'll last long playing.
1922360	1925280	You just keep playing. Yeah, you may be blacklisted if you do it here.
1925300	1925400	Yeah.
1925660	1929460	This is a quick one. So this seed that was part of that airdrop,
1929460	1933160	was that something that was set by the XR contract?
1933860	1934600	Yes.
1935160	1941140	It's right here. It's right here. That 15 lines of code. That defines exactly how we
1941140	1947600	will win the lottery. And that's why people love smart contracts. Because the house is
1947600	1953120	open to you. It's transparent. All the policy, how they dispute their funds,
1953120	1959300	is written in a smart contract. Isn't that amazing? It's totally transparent. Yeah, go ahead.
1959300	1962540	It seems like this would have been easy to detect. There was nobody watching.
1962540	1964720	It happened over the course of weeks.
1965940	1972480	Actually, yes. But we're the first one detecting those. So you see that timeline that we find out.
1972480	1977540	We actually start watching them when they start experimenting. It took them actually
1977540	1982460	two weeks to figure out their vulnerabilities. About two weeks.
1982640	1985860	So it was noticed. Why wasn't some action taken?
1985860	1993440	Aha. That's what you talk about. In Xerion, there's literally no way. I mean, it's very hard
1993440	2001060	to change your bytecode unless you do those upgradables and whatever, those fancy stuff.
2001480	2007040	But that's exactly why people trust Xerion and those blockchains. Because that piece of code
2007620	2014500	is your promise to the public, right? All your logic is recorded there. You're not supposed to
2015060	2019780	change it. That's the immutability of the blockchain smart contract.
2021160	2026980	But then there's a new version of it. You can actually upgrade the bytecode and all that.
2026980	2032880	But actually that brings in a new attack surface, if you think about it. This problem comes.
2032880	2037000	And that's why we feel like this field is fascinating. It's always evolving.
2037000	2042140	Yeah? Yeah?
2042140	2044880	Well, this is like a bigger problem in software engineering.
2045000	2050120	Even off the blockchain, the code we write every day is inherently vulnerable.
2050120	2058900	Like, our field is nascent, and we kind of suck at it. How do we... I mean, is there work
2058900	2065480	in software engineering or in the application of blockchain to create proof systems or provably
2065480	2068840	correct code? If we're going to do smart contract...
2071140	2075400	Yeah, so actually, yeah, that's part of the mission we're doing. We have a free smart
2075400	2081260	contract auditing sandbox out there that all developers can just go and submit their code
2081260	2086180	there and run it. We're going to scan for about 30 vulnerabilities. That's already known,
2086180	2092100	right? But your question actually touches a very good point of what's going on in this
2092100	2097320	blockchain, emerging blockchain security, because literally, there's no standard,
2097320	2101800	like you just mentioned, there's no standard. So right now, Nchain Air is actively participating
2101800	2109340	in OWASP. So we're adding, we're helping the company defining the blockchain standards and
2109340	2114620	all that, right? I mean, and this is going to be a community effort, right? We love this technology,
2114620	2119160	it's totally transparent. We feel like this is going to be the future of all the software
2119160	2124340	that you're going to like, like public facing kind of software, right? You have to put your
2124340	2130920	source code and all that in a decentralized and totally trustable platform. But now we are
2130920	2135900	suffering from those vulnerabilities. Some of them are in the source code they write, right?
2135900	2141300	Because they don't have the right auditing code and like we have in this software industry,
2141300	2146980	right? The other one is the infrastructure, right? It's super immature. Like one of the
2146980	2153020	vulnerability we found last year in EOS blockchain was actually called the callback or the rollback
2154040	2159720	vulnerability. That means if you know how the EOS supernodes are dealing with the transaction
2159720	2164880	producing the blocks, you can actually exploit that to make sure your transaction won't be
2164880	2170480	recorded in the blockchain. But they fixed it in December. They're very quick. They fixed it
2170480	2176960	in two weeks. But I mean, that is kind of like a zero day for EOS blockchain, right? But yeah,
2176960	2182880	it takes a community effort, right? And this is a very new field, right? It awaits a lot of
2182880	2187580	standards and bodies and all that. And the good news is like, as you guys are following, right?
2187680	2193280	Like JP Morgan Chase, right? They have those stable coins rolling out in February. Facebook
2193280	2198640	Libra, they are launching a new blockchain, right? The Libra blockchain, right? So when these big
2198640	2202780	guys from the internet industry or the banking, right, they come in, they're going to help this
2202780	2209640	industry grow. But right now, it's like still very premature. That means a lot of opportunities,
2210170	2212840	right? Yeah.
2212840	2220010	Very quick point for you. There are companies that will do things like Ocam to do that.
2221490	2227490	Yeah, question for you. You mentioned JPMC, you mentioned Facebook, whatever.
2228250	2231330	One of the common features with them and everybody else running things that are not
2231330	2237350	bullshit Ponzi scheme games on the internet is that they have trust structures, governance and
2237350	2243110	off-chain components. So what do you see in leaping out to old-fashioned governance,
2243110	2247370	key shares and backroom boards versus actually trying to solve this problem?
2247990	2255030	Yeah, so really, his question is about what do we think about this emerging enterprise
2255030	2261170	blockchain, right? Like the stuff I just talked about, JP Morgan Chase and Fidelity and Facebook,
2261170	2266210	right? They are launching their chain. Most blockchain is probably falling to the private
2266210	2272550	blockchain or the consortium blockchain. It's not totally open to everybody. Like the JPMorgan Chase
2272550	2278350	blockchain, they're only open to the banks that interact with the inside the JPMorgan Chase
2278350	2285710	banking ecosystem, right? So that's actually, if you think about it, isn't that like the intranet?
2286370	2291190	Isn't it? 2000, right? Isn't that? But that's just our take, right? I mean,
2291190	2295330	with that consortium blockchain, yeah, definitely it's more secure because you have
2295930	2302090	a much smaller risk exposure than the stuff we're talking about here, right?
2302090	2309150	But I mean, I feel like, yeah, I mean, eventually this should be an open system, right? So that's
2309150	2314430	our take. I think about the intranet and internet, right? At the end, nobody's using intranet,
2314430	2320450	right? Maybe only a few of you may remember the term, if you are as old as me, but yeah,
2320450	2330660	that's what we believe. Any other questions? All right. Thank you very much. Thank you.
