Latest / CyberSecurity Summary / Hands-On Cybersecurity with Blockchain: Implement DDoS protection, PKI-based identity, 2FA, and DNS security using Blockchain
Transcript
- 0:00Speaker 1: In twenty seventeen. It really didn't take some master hacker
- 0:04Speaker 1: to break into a global enterprise network and cause just
- 0:08Speaker 1: millions of dollars in damage. Right, It wasn't some movie
- 0:10Speaker 1: scene exactly, you know, it didn't take a team of
- 0:13Speaker 1: state sponsored spies typing furiously in a dark room. All
- 0:17Speaker 1: it took was like a ten dollars an hour rental
- 0:20Speaker 1: fee on the dark web and an automated.
- 0:22Speaker 2: Script, which is pretty terrifying when you think about it.
- 0:25Speaker 1: It is. Yeah, and the cybersecurity industry has spent the
- 0:27Speaker 1: last thirty years building higher, thicker walls around our data.
- 0:32Speaker 1: But well, what if the blueprint itself is the problem?
- 0:35Speaker 1: Welcome to the deep dive. We are looking at a
- 0:38Speaker 1: pretty mind bending premise for you today, We really are. Yeah,
- 0:41Speaker 1: what if the foundational architecture of the Internet is actually
- 0:43Speaker 1: the reason our digital events is keep failing and like
- 0:47Speaker 1: the only way to save it is to borrow the
- 0:49Speaker 1: underlying technology behind bitcoin.
- 0:50Speaker 2: What's fascinating here is that we are going to completely
- 0:53Speaker 2: strip away the usual noisy conversation around cryptocurrency.
- 0:56Speaker 1: Right, no crypto bros stuff today exactly.
- 0:59Speaker 2: Yeah, we are not talking about trading digital coins, market
- 1:04Speaker 2: caps or financial speculation. Today, we are looking at blockchain
- 1:10Speaker 2: purely as a structural reboot for global cybersecurity.
- 1:15Speaker 1: And we are pulling from some incredibly detailed source material
- 1:18Speaker 1: to do this. We've got excerpts from the book hands
- 1:21Speaker 1: on Cybersecurity with Blockchain by rajniz Gupta.
- 1:23Speaker 2: It's a great read, it really is.
- 1:25Speaker 1: And whether you are a total tech novice who I
- 1:28Speaker 1: don't know, just uses a smartphone for email, or you're
- 1:31Speaker 1: a seasoned IT professional managing complex enterprise networks, you're going
- 1:35Speaker 1: to walk away from this conversation with a completely new
- 1:38Speaker 1: lens on how digital defense actually works. That's the goal.
- 1:42Speaker 1: So our mission today is to figure out why the
- 1:44Speaker 1: current client server model is essentially sitting ducks for modern
- 1:47Speaker 1: attackers and how shifting to a decentralized ledger could well
- 1:52Speaker 1: change everything.
- 1:53Speaker 2: Yeah, and to really grasp why a completely new architecture
- 1:56Speaker 2: is necessary, we have to look at how the economics
- 1:58Speaker 2: of the modern cyber battlefield has shifted the economics, right, Yeah,
- 2:02Speaker 2: because the threat landscape hasn't just evolved technically, you know,
- 2:06Speaker 2: it has evolved commercially.
- 2:07Speaker 1: Okay, let's unpack this because the history of how we
- 2:10Speaker 1: got here is wild. Take ransomware. For instance. Oh yeah,
- 2:12Speaker 1: back in nineteen eighty nine, there was this primitive attack
- 2:15Speaker 1: called the PC cyborg trojan, and it basically hinde your folders,
- 2:19Speaker 1: encrypted your file names, and to get your data back
- 2:22Speaker 1: you had to physically mail a cashier's check for one
- 2:25Speaker 1: hundred and eighty nine dollars to a post office box in.
- 2:28Speaker 2: Panama, which is highly manual, incredibly slow, and ultimately it
- 2:33Speaker 2: leaves a physical paper trail that authorities can track down.
- 2:37Speaker 1: Right, you're literally mailing a check exactly.
- 2:39Speaker 2: It was essentially extortion in its infancy.
- 2:41Speaker 1: But contrast that Panama peo box with the modern beasts
- 2:45Speaker 1: we see today, Like in twenty seventeen, the WannaCry ransomware
- 2:49Speaker 1: infected over two hundred thousand systems across one hundred and
- 2:52Speaker 1: fifty countries in a matter of days.
- 2:54Speaker 2: It was unprecedented.
- 2:55Speaker 1: Yeah, it crippled the UK's National Health Service, halted FedEx operations,
- 2:59Speaker 1: and sh down Reno car factories. That wasn't a lone
- 3:02Speaker 1: individual waiting by a mailbox, No, it was this massive,
- 3:06Speaker 1: automated global takedown demanding untraceable digital currency.
- 3:10Speaker 2: And that escalation is entirely driven by the monetization and
- 3:13Speaker 2: commoditization of hacking. Commoditizing yeah, I mean hacking is no
- 3:17Speaker 2: longer a hobby for lone wolves proving their technical superiority.
- 3:21Speaker 2: It is a highly structured, scalable business model.
- 3:25Speaker 1: Now wow.
- 3:25Speaker 2: Cyber criminals basically realized they could make exponentially more money
- 3:29Speaker 2: by franchising their tools. They developed a model known as
- 3:33Speaker 2: ransomware as a service or raw.
- 3:37Speaker 1: So ransomware as a service it's like a typical software subscription,
- 3:40Speaker 1: but for extortion.
- 3:42Speaker 2: It operates exactly like one. These services are hosted on
- 3:45Speaker 2: the dark Web, specifically on dot onion.
- 3:48Speaker 1: Sites, which you need special browsers for.
- 3:50Speaker 2: Right, They require specialized privacy browsers like tor to access. So,
- 3:55Speaker 2: an elite group of malware developers creates the core ransomware code.
- 4:00Speaker 2: Then they leased that software out to script kitties.
- 4:02Speaker 1: Script kitties, I love that shit.
- 4:04Speaker 2: It's very accurate. Though. These are individuals with very little
- 4:07Speaker 2: technical skill but plenty of malicious intent. Okay, and the
- 4:10Speaker 2: original developers they just take a percentage of whatever ransom
- 4:13Speaker 2: the script kittie manages to extort.
- 4:15Speaker 1: That is crazyeah, And the reading points out it's not
- 4:18Speaker 1: just ransomware either you can rend a botnet, which is
- 4:22Speaker 1: a massive network of compromised computers to launch a distributed
- 4:26Speaker 1: denial of service or dido S attack. Yes, and you
- 4:29Speaker 1: can do it for as little as ten dollars an hour.
- 4:31Speaker 2: That ten dollars price point is what makes it so dangerous.
- 4:34Speaker 2: In October twenty sixteen, we saw the Mere botnet weaponized.
- 4:39Speaker 2: It was made up of over one hundred thousand compromised
- 4:42Speaker 2: Internet of Things.
- 4:43Speaker 1: Devices like smart coasters and stuff.
- 4:45Speaker 2: Basically yeah, poorly secured smart cameras, baby monitors, home routers.
- 4:49Speaker 2: The attackers pointed that massive digital army at Din's DNS.
- 4:53Speaker 1: Infrastructure, and that took down everything.
- 4:55Speaker 2: It really did. The resulting flood of traffic temporarily took
- 4:59Speaker 2: down major artery of the Internet, including Twitter, Netflix, and Reddit.
- 5:02Speaker 1: It's like going from a single physical burglar trying to
- 5:05Speaker 1: pick a lock to I don't know, franchising a global
- 5:08Speaker 1: burglory business model where literally anyone with ten bucks can
- 5:12Speaker 1: rent a crowbar and an army of henchmen by the hour.
- 5:15Speaker 2: That's a perfect analogy.
- 5:16Speaker 1: It's a terrifying shift in scale. But if attacks are
- 5:19Speaker 1: this cheap and this easy to launch, are the defenders
- 5:22Speaker 1: just completely outgunned, or are they looking at the problem
- 5:24Speaker 1: the wrong way?
- 5:25Speaker 2: Well, the problem is that the attackers stopped trying to
- 5:28Speaker 2: break down the walls. What do you mean they figured
- 5:30Speaker 2: out how to just walk through the front door using
- 5:32Speaker 2: the building's own features. The text gives a brilliant, chilling
- 5:36Speaker 2: example of a live attack using a dynamic data exchange
- 5:41Speaker 2: or dd exploit.
- 5:42Speaker 1: Oh Man, reading through this specific exploit completely changed my
- 5:46Speaker 1: understanding of how malware works. It's eye opening, right, it
- 5:50Speaker 1: really is. Usually we think of malware as a malicious
- 5:52Speaker 1: file you accidentally download, like a virus, an executable script,
- 5:57Speaker 1: or a macro hidden in a spreadsheet the standards exactly,
- 6:01Speaker 1: But this DDE attack uses a completely legitimate Microsoft Word
- 6:05Speaker 1: function against you.
- 6:07Speaker 2: Right, let's look at the mechanics of it. So, DDE
- 6:09Speaker 2: is a native, trusted function in Microsoft Office designed to
- 6:13Speaker 2: let documents update data from other files. For example, if
- 6:16Speaker 2: you want a word document to automatically pull the latest
- 6:19Speaker 2: quarterly numbers from an Excel spreadsheet, while DDE is the
- 6:23Speaker 2: protocol that handles that communication.
- 6:25Speaker 1: Right, So it's a feature, not a bug. But the
- 6:28Speaker 1: book explains how an attacker creates a blank word document,
- 6:32Speaker 1: goes to the insert tab, clicks quick parts, then field,
- 6:36Speaker 1: and selects the formula option.
- 6:38Speaker 2: Exactly.
- 6:38Speaker 1: They toggle the field codes, but instead of linking to
- 6:40Speaker 1: an Excel sheet, they insert a specific payload string.
- 6:44Speaker 2: And because it relies on a trusted application behaving the
- 6:47Speaker 2: way it was designed to, traditional defenses are completely blind
- 6:50Speaker 2: to it.
- 6:51Speaker 1: Oh wow. Yeah.
- 6:52Speaker 2: When the victim opens that document, they might get a
- 6:54Speaker 2: simple routine prompt asking if they want to update the
- 6:57Speaker 2: document's links.
- 6:58Speaker 1: Which everyone always clicks yes, of.
- 7:00Speaker 2: Course, and if they click yes, that legitimate DDE function
- 7:03Speaker 2: executes the attacker's payload. It reaches out to an external server,
- 7:08Speaker 2: downloads malicious code, and opens what is known as a
- 7:11Speaker 2: reverse shell.
- 7:12Speaker 1: Okay, wait, let me make sure I have this right.
- 7:14Speaker 1: A reverse shell means that instead of the hacker actively
- 7:16Speaker 1: breaking through the network's firewall from the outside, the word
- 7:20Speaker 1: document essentially opens a door from the inside and invites
- 7:24Speaker 1: the hacker in. That is a highly accurate way to
- 7:27Speaker 1: visualize it.
- 7:27Speaker 2: Yeah, the outbound traffic from the word document just looks
- 7:31Speaker 2: like normal Internet browsing.
- 7:33Speaker 1: To the firewall, so it just slips right past, exactly.
- 7:36Speaker 2: But once that reverse shell connects, the attacker has a
- 7:39Speaker 2: direct interactive pipeline to the victim's machine. They can exfiltrate
- 7:43Speaker 2: sensitive files, monitor running processes, and even take live screenshots
- 7:48Speaker 2: of the desktop.
- 7:49Speaker 1: That is wild. I mean if attackers don't even need
- 7:52Speaker 1: malicious code to bypass an outer firewall, if they can
- 7:55Speaker 1: just weaponize normal features, then the old model of just
- 7:58Speaker 1: building a strong perimeter is completely.
- 8:01Speaker 2: Obsolete, which is exactly why the cybersecurity industry rapidly shifted
- 8:04Speaker 2: to new philosophies, primarily the zero trust and assume breach models.
- 8:09Speaker 1: Yeah, I want to break those down because they sound
- 8:10Speaker 1: intense from my notes, zero trust basically means trust absolutely
- 8:15Speaker 1: nobody and nothing, not even the laptop sitting on your
- 8:17Speaker 1: own CEO's desk.
- 8:19Speaker 2: That is the core tenet. Yeah, it abandons the old
- 8:21Speaker 2: flat network idea.
- 8:23Speaker 1: What's a flat network?
- 8:24Speaker 2: Well, in a flat network, once you authenticate and get
- 8:26Speaker 2: past the outer firewall, you essentially have free reiin to
- 8:30Speaker 2: roam around the internal systems. Zero trust replaces that with
- 8:34Speaker 2: micro perimeters. It requires continuous monitoring and strict authentication for
- 8:39Speaker 2: every single user device and application. It's constantly verifying their
- 8:45Speaker 2: identity and access rates, regardless of whether they are sitting
- 8:48Speaker 2: in the headquarters or at a coffee shop.
- 8:51Speaker 1: Okay, and that pairs with the assume breach mentality where
- 8:54Speaker 1: the text talks about organizations actively conducting red team exercises.
- 8:59Speaker 2: Yes, red teaming is huge now.
- 9:01Speaker 1: They literally hire ethical hackers to constantly attack their own
- 9:05Speaker 1: internal systems to test their incident response because the baseline
- 9:09Speaker 1: assumption is that an attacker has already bypassed the perimeter exactly.
- 9:12Speaker 2: The red team acts as a stress test for the
- 9:14Speaker 2: zero trust architecture. But even with these advanced philosophies, we
- 9:18Speaker 2: are still dealing with a foundational vulnerability.
- 9:20Speaker 1: See this is exactly where I hit a logical wall
- 9:22Speaker 1: in the reading. Zero trust locks down the employee's laptop.
- 9:26Speaker 1: It stops the d DE exploit from executing a reverse
- 9:30Speaker 1: shell and an endpoint. Right, But what about the actual
- 9:33Speaker 1: data sitting on the back end servers. If the server
- 9:36Speaker 1: holding millions of credit card numbers is centralized, aren't we
- 9:39Speaker 1: just putting a really strong lock on a single fragile door.
- 9:43Speaker 2: You've identified the foundation layer issue. The entire Internet is
- 9:46Speaker 2: built on the TCPIP stack, which are the basic communication
- 9:50Speaker 2: protocols that connect networks, and that architecture inherently relies on
- 9:55Speaker 2: a centralized client server relationship. A client requests data, a
- 9:59Speaker 2: central server processes it and provides it, and an administrator
- 10:02Speaker 2: manages that server, meaning all.
- 10:04Speaker 1: The authority and more importantly, all the trust is localized
- 10:08Speaker 1: in one single place.
- 10:10Speaker 2: Precisely, if an attacker bypasses the perimeter, or worse, if
- 10:14Speaker 2: a system administrator's credentials are stolen or compromised, the entire
- 10:18Speaker 2: database is at their mercy.
- 10:19Speaker 1: It's game over totally.
- 10:21Speaker 2: That is the structural flaw, and it is exactly what
- 10:23Speaker 2: happened in the twenty seventeen Equifax breach.
- 10:25Speaker 1: Oh that was a disaster.
- 10:27Speaker 2: It was attackers exploited a web application vulnerability, gained access
- 10:31Speaker 2: to the centralized back end database, and just sat there
- 10:34Speaker 2: for months. They ultimately compromised the highly sensitive personal and
- 10:39Speaker 2: financial data of one hundred and forty three million people.
- 10:43Speaker 1: So the traditional client server model is like taking all
- 10:45Speaker 1: the world's valuables and putting them in one massive, heavily
- 10:49Speaker 1: guarded bank vault. Yeah, you can implement zero trust and
- 10:52Speaker 1: put one hundred guards out front, but if the headguard
- 10:55Speaker 1: is bribed, or if someone finds a tunnel underneath, everything
- 10:58Speaker 1: inside is gone.
- 10:59Speaker 2: And to take had a step Further, the blockchain alternative
- 11:02Speaker 2: fundamentally changes where the vault is located.
- 11:05Speaker 1: Right, So instead of one giant vault, blockchain is like
- 11:07Speaker 1: replacing that central bank with millions of transparent safe sitting
- 11:11Speaker 1: in everyone's living room.
- 11:12Speaker 2: That's a good way to look at it.
- 11:13Speaker 1: Because everyone has a full exact copy of every single
- 11:17Speaker 1: transaction that has ever happened. If a robber tries to
- 11:20Speaker 1: alter the money in one sas the millions of other
- 11:23Speaker 1: safs instantly spot the discrepancy, see that it doesn't match
- 11:26Speaker 1: the record and just reject it.
- 11:28Speaker 2: That is a much more accurate analogy than how people
- 11:31Speaker 2: usually describe it. You aren't distributing pieces of the ledger.
- 11:33Speaker 2: You are distributing the entire ledger to everyone.
- 11:36Speaker 1: Everyone has the whole thing exactly.
- 11:38Speaker 2: This concept was the major breakthrough in two thousand and
- 11:41Speaker 2: nine when an anonymous entity named Satoshi Nakamoto published the
- 11:45Speaker 2: White Paper for Bitcoin. Ah Saitoshi, Yeah, and the genius
- 11:49Speaker 2: wasn't just creating digital money. It was solving the double
- 11:52Speaker 2: spending problem without needing a central bank to verify the transaction, right.
- 11:56Speaker 2: Knakamotive solution was a decentralized, pure, pure ledger where the
- 12:01Speaker 2: network itself is the validator.
- 12:03Speaker 1: Okay, let's dig into the architecture because reading about how
- 12:07Speaker 1: a blockchain fundamentally differs from our current Internet is fascinating.
- 12:11Speaker 1: On the traditional Internet, data moves in IP package.
- 12:14Speaker 2: Yes, an IP packet is quite simple. It has a
- 12:17Speaker 2: header with routing information you know where it's coming from
- 12:20Speaker 2: and where it's going, and a payload, which is the
- 12:22Speaker 2: actual data being sent.
- 12:24Speaker 1: Gotcha.
- 12:24Speaker 2: In a blockchain architecture, data moves and is permanently stored
- 12:28Speaker 2: in blocks.
- 12:29Speaker 1: And the application layer changes too. Right. Traditional Internet uses
- 12:32Speaker 1: web apps, they relying on standard code like HTML and
- 12:35Speaker 1: CSS to talk to a centralized back end database through
- 12:38Speaker 1: an API. Correct, But blockchain uses d apps or decentralized applications.
- 12:44Speaker 1: The front end interface on your browser might look exactly
- 12:46Speaker 1: the same, but instead of calling a central server owned
- 12:49Speaker 1: by a corporation, it communicates with a smart contract running
- 12:53Speaker 1: across a decentralized network.
- 12:55Speaker 2: And to understand why that is so secure, we need
- 12:57Speaker 2: to look at the anatomy of the block itself. A
- 13:00Speaker 2: block is divided into two main components, the block body
- 13:04Speaker 2: and the blockheader.
- 13:05Speaker 1: The block body seems straightforward enough, it just contains the
- 13:08Speaker 1: actual data payload the raw transactions, the records of who
- 13:12Speaker 1: sent what to whom, or whatever data that app is processing. Right,
- 13:15Speaker 1: But the blockheader is where all the security mechanisms live.
- 13:18Speaker 2: Yes, the header acts as the cryptographic seal. It contains
- 13:21Speaker 2: crucial metadata. It records the software version being used. It
- 13:25Speaker 2: stamps a precise time stamp of when the block was created,
- 13:28Speaker 2: It includes a nonce, which is a random number used
- 13:31Speaker 2: by the network's validators, and most importantly, it contains the
- 13:34Speaker 2: hash of the previous block and the Merkel root.
- 13:37Speaker 1: It's interesting how different blockchains customize these blocks for their
- 13:40Speaker 1: specific needs too. The text highlights that Bitcoin blocks are
- 13:45Speaker 1: relatively large at one megabyte, and a new one is
- 13:48Speaker 1: generated roughly every ten minutes. But Ethereum blocks are tiny,
- 13:52Speaker 1: just two kilobytes, and they are generated incretically fast, every
- 13:56Speaker 1: twelve to fourteen seconds.
- 13:58Speaker 2: That discrepancy comes down to design and ten. Bitcoin was
- 14:01Speaker 2: engineered to be a highly secured, deliberate, and unchangeable financial ledger.
- 14:06Speaker 2: Speed wasn't the primary goal. Security was makes sense. Ethereum,
- 14:10Speaker 2: on the other hand, was designed to facilitate rapid decentralized
- 14:14Speaker 2: computing and execute complex programs quickly.
- 14:17Speaker 1: Okay, but this brings me to the biggest question I
- 14:19Speaker 1: had while reading What's that? Well? I understand the decentralized part.
- 14:22Speaker 1: The ledger is copied across millions of computers, which we
- 14:25Speaker 1: call nodes. But if I have a physical copy of
- 14:29Speaker 1: that transparent safe in my living room, what physically stops
- 14:32Speaker 1: me from just opening the code on my machine, altering
- 14:35Speaker 1: a transaction to say, someone transferred a million dollars to
- 14:38Speaker 1: my account, and broadcasting that edited version to the network.
- 14:41Speaker 2: The network rejects it because of two interlocking systems, cryptography
- 14:45Speaker 2: and consensus. Okay, let's start with cryptography specifically, the concept
- 14:49Speaker 2: of hashing. A hashing algorithm like the SAHA two fifty
- 14:53Speaker 2: six algorithm used in bitcoin is a one way mathematical function, right.
- 14:58Speaker 1: Hashing.
- 14:58Speaker 2: Yeah, It takes any the amount of input data. It
- 15:01Speaker 2: could be a single letter, a financial transaction, or literally
- 15:05Speaker 2: the entire text of the Encyclopedia Britannica and scrambles it
- 15:08Speaker 2: into a fixed two hundred and fifty six bit string
- 15:11Speaker 2: of characters.
- 15:12Speaker 1: So it basically generates a completely unique digital fingerprint for
- 15:15Speaker 1: that specific piece.
- 15:15Speaker 2: Of data exactly, and that fingerprint is incredibly sensitive to change.
- 15:19Speaker 2: The book provides a great illustration of this.
- 15:21Speaker 1: Yeah, the high example, right.
- 15:24Speaker 2: If you run the simple word high through SAHA two
- 15:26Speaker 2: fifty six, it outputs a specific long alphanumeric string that
- 15:30Speaker 2: starts with three six thirty nine. Okay, But if you
- 15:33Speaker 2: change the input to a full sentence like welcome to
- 15:36Speaker 2: the world of blockchain, the resulting hash is radically different,
- 15:40Speaker 2: starting with D six D nine.
- 15:42Speaker 1: Completely different. Yeah.
- 15:43Speaker 2: If you change one single letter, one space, or one
- 15:46Speaker 2: decimal point in a financial record, the entire hash changes
- 15:49Speaker 2: completely and unpredictably.
- 15:51Speaker 1: So if I try to alter my local copy of
- 15:54Speaker 1: the ledger to give myself that million dollars, the digital
- 15:57Speaker 1: fingerprint of the block I tampered with changes entirely.
- 16:01Speaker 2: Yes, and that is where the architecture traps the attacker.
- 16:04Speaker 2: Remember the blockheader, Yeah, every single block contains the hash
- 16:07Speaker 2: of the previous block. They are mathematically chained together in
- 16:10Speaker 2: sequential order, all the way back to the very first
- 16:13Speaker 2: block ever created, which is known as the genesis block.
- 16:16Speaker 1: So the domino effect. If I alter a transaction in
- 16:18Speaker 1: block fifty, the unique hash of block fifty changes. That
- 16:22Speaker 1: means block fifty one, which recorded the original hash of
- 16:25Speaker 1: block fifty, is suddenly pointing to a fingerprint that no
- 16:28Speaker 1: longer exists. Block fifty one becomes invalid, which makes block
- 16:33Speaker 1: fifty two invalid, and so on.
- 16:35Speaker 2: You break the entire chain. To successfully forge a transaction,
- 16:39Speaker 2: you would have to recalculate the hash of the tampered
- 16:41Speaker 2: block and the hash of every single subsequent block faster
- 16:46Speaker 2: than the rest of the global network is adding new legitimate.
- 16:49Speaker 1: Blocks, which is impossible from.
- 16:50Speaker 2: A computational standpoint. Yeah, it is virtually impossible.
- 16:53Speaker 1: And you mentioned the Merkle root and the header earlier
- 16:55Speaker 1: that plays it too. This too.
- 16:57Speaker 2: It's an efficiency mechanism. Basically, a block might contain thousands
- 17:01Speaker 2: of transactions. Instead of the network having to read every
- 17:03Speaker 2: single transaction to verify the block, a Merkle tree organizes
- 17:07Speaker 2: all those individual transaction hashes into a hierarchy.
- 17:10Speaker 1: Okay, so it groups them right.
- 17:12Speaker 2: Pairing them up and hashing them together until it boils
- 17:14Speaker 2: down to one single top level hash, the Merkele root.
- 17:18Speaker 2: If a single transaction at the bottom changes, the Merkele
- 17:21Speaker 2: root at the top changes, it allows nodes to verify
- 17:25Speaker 2: the integrity of thousands of records almost instantly.
- 17:28Speaker 1: Here's where it gets really interesting. You have this mathematically
- 17:31Speaker 1: chained data and it's cryptographically secure. But how does a
- 17:36Speaker 1: network of millions of anonymous, decentralized computers actually agree on
- 17:41Speaker 1: what the truth is?
- 17:42Speaker 2: Like?
- 17:42Speaker 1: Who gets to decide which block gets added next?
- 17:45Speaker 2: That is the role of consensus mechanisms. Without a central authority,
- 17:49Speaker 2: the network needs a protocol to prevent fraud and agree
- 17:53Speaker 2: on the state of the ledger. The original mechanism which
- 17:56Speaker 2: Bitcoin relies on is proof of work or powder by.
- 18:00Speaker 1: This is the cryptocurrency mining we're always hearing about in
- 18:03Speaker 1: the news.
- 18:04Speaker 2: In proof of work, nodes on the network, called miners,
- 18:06Speaker 2: compete against each other to solve a highly collex resource
- 18:09Speaker 2: intensive mathematical puzzle. They are essentially using sheer computing power
- 18:14Speaker 2: to guess that nons number we mentioned in the header
- 18:16Speaker 2: over and over millions of times a second until the
- 18:19Speaker 2: block's hash meets a specific target requirement.
- 18:22Speaker 1: Wow.
- 18:22Speaker 2: Yeah, And the first miner to solve the puzzle gets
- 18:24Speaker 2: the right to add the block to the chain, and
- 18:26Speaker 2: they are rewarded with newly minted cryptocurrency.
- 18:29Speaker 1: But the downside, as the text notes, is that this
- 18:31Speaker 1: requires massive amounts of electrical power, like the electricity consumed
- 18:36Speaker 1: by the Bitcoin network's mining operations is comparable to the
- 18:40Speaker 1: energy usage of the entire Republic of Ireland. It's staggering,
- 18:44Speaker 1: an environmental nightmare just to secure a protocol.
- 18:46Speaker 2: It is highly inefficient by design, which is why alternative
- 18:50Speaker 2: consensus mechanisms were developed, primarily proof of steak or pos
- 18:55Speaker 2: ethereum actually recently transitioned to proof of steak.
- 18:58Speaker 1: Okay, So how does that secure the network without burning
- 19:01Speaker 1: through all that electricity?
- 19:03Speaker 2: Well, in a proof of steak model, there are no
- 19:05Speaker 2: miners running massive server farms. Instead, there are forgers or validators.
- 19:10Speaker 2: To become a validator, you have to lock up or
- 19:13Speaker 2: stake a significant amount of your own cryptocurrency. In a smart.
- 19:16Speaker 1: Contract, you have to put your own money on the
- 19:18Speaker 1: line exactly.
- 19:19Speaker 2: The network uses an algorithm to randomly select a validator
- 19:23Speaker 2: to propose and verify the next block. If that validator
- 19:26Speaker 2: attempts to verify a fraudulent block, the network banalizes them
- 19:30Speaker 2: by slashing or destroying the cryptocurrency they staked.
- 19:33Speaker 1: Ah. So proof of work secures the network through sheer
- 19:37Speaker 1: electrical and computational cost, whereas proof of steak secures it
- 19:40Speaker 1: through direct financial penalty.
- 19:42Speaker 2: Exactly. The financial risk of cheating vastly outweighs any potential reward,
- 19:46Speaker 2: making it highly energy efficient while maintaining security.
- 19:49Speaker 1: That makes a lot of sense.
- 19:51Speaker 2: The text also mentions other variations tailored for specific.
- 19:54Speaker 1: Needs too, like DPOs.
- 19:56Speaker 2: Yeah, Delegated proof of steak or DPOs functions more like
- 19:59Speaker 2: a digital democracy where coin holders vote for a small
- 20:02Speaker 2: trusted group of delegates to validate blocks, allowing for much
- 20:06Speaker 2: faster transaction speeds and Practical Byzantine fault tolerance or PBFT
- 20:11Speaker 2: is a highly complex algorithm designed specifically to keep the
- 20:14Speaker 2: network running smoothly even if a certain percentage of the
- 20:17Speaker 2: nose are actively malicious or broadcasting conflicting information.
- 20:21Speaker 1: Okay, so we have this decentralized, mathematically chained, cryptographically secure
- 20:26Speaker 1: ledger that reaches consensus without a middleman. But how do
- 20:30Speaker 1: we idly use this for practical cybersecurity instead of just
- 20:34Speaker 1: recording financial transactions?
- 20:36Speaker 2: Well, this brings us to the true potential of ethereum.
- 20:39Speaker 2: While Bitcoin was created to disrupt traditional banking, Ethereum, which
- 20:43Speaker 2: was proposed by Vitalic Puterin in twenty thirteen, has a
- 20:46Speaker 2: much grander vision. It aims to decentralize computing itself by
- 20:51Speaker 2: introducing smart contracts.
- 20:53Speaker 1: For my reading, a smart contract isn't really a legal
- 20:55Speaker 1: contract at all, is it. It's more like a digital
- 20:57Speaker 1: vending machine. You put a specific input in and the
- 21:01Speaker 1: code automatically dispenses a specific output or executes an action
- 21:06Speaker 1: without any human middleman needing to approve it.
- 21:08Speaker 2: That's a great functional description. It is a self executing
- 21:11Speaker 2: piece of code that lives directly on the blockchain. Because
- 21:14Speaker 2: it is on the blockchain, it inherits all that security.
- 21:18Speaker 2: It is immutable, meaning the code cannot be altered once
- 21:20Speaker 2: it is deployed, and it is distributed across the entire network.
- 21:24Speaker 1: The book actually walks you through what it takes to
- 21:26Speaker 1: build a DAP using these smart contracts. They use a
- 21:30Speaker 1: programming language called Solidity, which looks a lot like JavaScript, Yes.
- 21:34Speaker 2: Very similar syntax.
- 21:35Speaker 1: It outlines this whole developer journey. You write the smart
- 21:38Speaker 1: contract code in a browser based compiler called a remix ide.
- 21:42Speaker 1: Then to safely test it without spending real money, you
- 21:46Speaker 1: use a tool called ganash, which basically spins up a
- 21:49Speaker 1: private simulated blockchain on your local machine.
- 21:52Speaker 2: Very handy tool.
- 21:53Speaker 1: Yeah, And then you use a platform like my either
- 21:55Speaker 1: wallet to actually deploy the finished contract onto the live network.
- 22:00Speaker 2: But deploying and running code across a global network of
- 22:02Speaker 2: millions of computers presents a massive logistical problem.
- 22:05Speaker 1: Right because making millions of computers to execute your code
- 22:09Speaker 1: simultaneously can't possibly be free.
- 22:12Speaker 2: If we connect this to the bigger picture, nothing is
- 22:14Speaker 2: free in decentralized architecture. Every time a smart contract is executed,
- 22:18Speaker 2: every single node in the Ethereum network has to process
- 22:22Speaker 2: that calculation.
- 22:23Speaker 1: It shikes power that.
- 22:24Speaker 2: Takes electrical energy and computational bandwidth. If it were free,
- 22:28Speaker 2: a malicious actor, or even just an incompetent developer, could
- 22:31Speaker 2: write a sloppy piece of code that runs in an
- 22:34Speaker 2: infinite loop, forcing the entire global network to grind to
- 22:37Speaker 2: a halt trying to process it.
- 22:39Speaker 1: So to prevent that kind of spam, Ethereum introduced the
- 22:42Speaker 1: concept of gas. You literally have to pay a toll
- 22:45Speaker 1: to run your code.
- 22:46Speaker 2: It acts as a built in financial penalty for inefficiency.
- 22:49Speaker 2: Every single low level operation or OPT code executed within
- 22:54Speaker 2: the Ethereum virtual machine costs a highly specific, predetermined amount
- 22:59Speaker 2: of gas. You have to pay for that gas using Ether,
- 23:02Speaker 2: the network's native cryptocurrency, So it.
- 23:05Speaker 1: Forces developers to write incredibly lean, highly efficient code. If
- 23:10Speaker 1: your code is sloppy and takes too many steps to execute,
- 23:12Speaker 1: it will literally drain your wallet exactly.
- 23:15Speaker 2: It uses basic economics to keep the network's computational load
- 23:18Speaker 2: lean and secure. But this brings up a crucial tension
- 23:22Speaker 2: for enterprise adoption.
- 23:23Speaker 1: Yeah, let's look at the flip side of this for
- 23:25Speaker 1: a business. If I am a Fortune five hundred company
- 23:27Speaker 1: and I want to use this incredibly secure architecture for
- 23:31Speaker 1: my supply chain or my customer data, do I really
- 23:34Speaker 1: want my sensitive corporate smart contracts running on a public
- 23:36Speaker 1: network like Ethereum. Probably not, right, a network where anonymous
- 23:40Speaker 1: people are validating my blocks and literally anyone can view
- 23:43Speaker 1: the underlying code.
- 23:44Speaker 2: Yeah, most corporations would say absolutely not. Public blockchains offer
- 23:49Speaker 2: incredible security through sheer scale, but they severely lack privacy
- 23:54Speaker 2: and they carry unique governance risks.
- 23:56Speaker 1: Okay, what kind of risks?
- 23:57Speaker 2: Well, the text highlights a famous cost and tail, the
- 24:01Speaker 2: twenty sixteen DAO hack. The DAO was a decentralized autonomous organization,
- 24:08Speaker 2: a massive investment fund built entirely on Ethereum.
- 24:11Speaker 1: Smart contracts, and it got drained right Yes.
- 24:14Speaker 2: To the tune of millions of dollars. But crucially, the
- 24:17Speaker 2: attacker didn't break the blockchain's cryptography.
- 24:19Speaker 1: They didn't know.
- 24:20Speaker 2: They found a logical loophole in the specific smart contract
- 24:24Speaker 2: code written for the DAO, and they exploited it. Because
- 24:27Speaker 2: the code is immutable, no one could just hit a
- 24:29Speaker 2: central stop button.
- 24:30Speaker 1: Oh Man.
- 24:31Speaker 2: The fallout was so severe that the Ethereum community couldn't
- 24:34Speaker 2: agree on how to fix the ledger. It resulted in
- 24:36Speaker 2: a hard fork, a literal split in the network's reality,
- 24:40Speaker 2: creating two competing blockchains, Ethereum and Ethereum Classic.
- 24:44Speaker 1: That is a nightmare scenario for a corporation. You cannot
- 24:46Speaker 1: have your enterprise infrastructure splitting into two different realities because
- 24:50Speaker 1: a community of anonymous nodes had a disagreement.
- 24:53Speaker 2: Which is exactly why the business reality is rapidly leaning
- 24:56Speaker 2: toward private or permissioned blockchains. Technologies like hyper ledger allow
- 25:01Speaker 2: organizations to build bespoke blockchain networks where every participant is
- 25:06Speaker 2: a known, legally vetted entity.
- 25:08Speaker 1: So a consortium of banks where global supply chain network
- 25:11Speaker 1: could set up their own nodes exactly. You still get
- 25:14Speaker 1: the immutability, the cryptographic hashing and the decentralized ledger to
- 25:18Speaker 1: prevent a single point of failure, but you maintain regulatory compliance, privacy,
- 25:23Speaker 1: and absolute control over who sees the data.
- 25:26Speaker 2: It provides the structural security of blockchain without the wild
- 25:30Speaker 2: West risks of a public cryptocurrency network.
- 25:33Speaker 1: So what does SAUL mean When we pull it together?
- 25:35Speaker 1: We start this deep dive looking at a pretty terrifying
- 25:38Speaker 1: modern reality. Automated ransomware as a service and cheap DDoS
- 25:41Speaker 1: attacks are easily obliterating traditional defenses because our centralized servers,
- 25:46Speaker 1: no matter how many Zertrice protocols we wrap around them,
- 25:48Speaker 1: are essentially sitting ducks.
- 25:49Speaker 2: They really are.
- 25:50Speaker 1: We spend decades trying to build thicker walls around a
- 25:53Speaker 1: single vault, but by utilizing blockchain architecture, breaking our data
- 25:58Speaker 1: into blocks, chaining them together with irreversible cryptographic hashes, and
- 26:03Speaker 1: using consensus protocols across a decentralized network, we can finally
- 26:07Speaker 1: create a tamper proof alternative to the fragile client server model.
- 26:11Speaker 2: This raises an important question, though, and it's something I
- 26:13Speaker 2: think everyone listening should really chew on as this technology matures.
- 26:17Speaker 1: What's that if.
- 26:18Speaker 2: Global businesses successfully shift their core infrastructures over to private
- 26:22Speaker 2: blockchains creating environments where data tampering is mathematically impossible and
- 26:26Speaker 2: there is no centralized database for a hacker to compromise.
- 26:30Speaker 2: Will the very concept of a catastrophic data breach eventually
- 26:34Speaker 2: become a relic of the past.
- 26:35Speaker 1: Wow?
- 26:36Speaker 2: And if so, does the multi billion dollar cybersecurity industry
- 26:40Speaker 2: as we know it today eventually become completely obsolete?
- 26:42Speaker 1: Wow? If the blueprint guarantees the front door can't be broken,
- 26:46Speaker 1: you don't need to keep buying stronger locks. Thank you
- 26:49Speaker 1: for joining us on this deep dive. Keep questioning the
- 26:52Speaker 1: architecture of the digital world around you, and we'll catch
- 26:55Speaker 1: it next time.