Back to Browse

Ethernaut CTF - Coin Flip (Level 3)

3.0K views
Feb 12, 2022
34:45

Get the free 30-day AI Mastery series 💌: https://insights.gradientlabs.co/ Work with me 💪: https://offerings.gradientlabs.co/ Next up! Level 3 - Coin Flip In this CTF series, we’re going to learn more about the practical side of smart contract auditing and security. If you’re interested in more/similar content, checkout my channel or website below. My digital dumping ground - dylandavis.net Additional Resources Ethernaut CTF - https://ethernaut.openzeppelin.com/ Web3 Blockchain Developer Ethernaut Series - https://youtu.be/VJZuLb1r1nQ Mastering Ethereum (Entropy Illusion) - https://github.com/ethereumbook/ethereumbook/blob/develop/09smart-contracts-security.asciidoc#entropy-illusion Entropy (Wiki) - https://en.wikipedia.org/wiki/Entropy#Information_theory What is entropy (TED Ed) - https://youtu.be/YM-uykVfq_E Deterministic Finite Automaton (DFA) - https://www.tutorialspoint.com/automata_theory/deterministic_finite_automaton.htm Global Available Variables - https://ethereum-solidity.readthedocs.io/en/latest/units-and-global-variables.html#special-variables-and-functions Problems with Randomness in ETH - https://youtu.be/Soy55Up4Bqc Predicting Random Numbers in Ethereum Smart Contracts (talk) - https://youtu.be/g6cGE8xV2H0 Predicting Random Numbers in Ethereum Smart Contracts (slides) - https://speakerdeck.com/raz0r/predicting-random-numbers-in-ethereum-smart-contracts?slide=29 Why Randomness is critical for Ethereum (Vitalik) - https://youtu.be/D_FJtr34vUU Cloudflare and lava lamps - https://www.cloudflare.com/learning/ssl/lava-lamp-encryption/ Timeline 00:00 - Intro to challenge 02:00 - Code Review (Target) 08:05 - Randomness problems in ETH 13:28 - Randomness (flawed approach) 15:34 - Code Review (Attacker) 19:32 - Contract deployment and Interaction 26:35 - Challenge Complete 27:35 - Randomness (modern approaches) 33:05 - Lava Lamp fun! 34:27 - Outro

Download

0 formats

No download links available.

Ethernaut CTF - Coin Flip (Level 3) | NatokHD