Ethereum/EVM Smart Contract Reverse Engineering & Disassembly – Blockchain Security #3

📥 Download the slides: https://academy.fuzzinglabs.com/introduction-to-ethereum-security?coupon=youtube

Today I’m showing how EVM disassembly works and how to reconstruct the control flow graph (CFG) of an Ethereum smart contract when you only have access to the bytecode (closed-source). It’s really useful when you’re looking to analyze in-depth a contract at the EVM assembly level.

#Reversing #Ethereum #EVM

00:00 Introduction
02:04 Introduction to EVM reversing
05:08 Bytecode disassembly
07:26 Control Flow Graph (CFG) reconstruction
13:26 Fonctions identification
16:55 Functions name recovery
19:54 Example with the Bored Ape (BAYC) contract
22:46 Why use reverse engineering on Ethereum smart contract?
24:46 Bytecode optimization
27:25 Smart contract Post-mortem analysis
28:46 Conclusion

Links:

Introduction to Ethereum: https://academy.fuzzinglabs.com/introduction-to-ethereum-security?coupon=YOUTUBE
Video Devcon4: https://archive.devcon.org/archive/watch/4/reversing-ethereum-smart-contracts-to-find-out-whats-behind-evm-bytecode/?playlist=Devcon%204&tab=YouTube
Bored Ape (BAYC) contract: https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#code
Ethereum Signature Database: https://www.4byte.directory/
https://ethervm.io/decompile/0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D#0175

==== 💻 FuzzingLabs Training ====

C/C++ Whitebox Fuzzing: https://academy.fuzzinglabs.com/c-whitebox-fuzzing?coupon=youtube
Rust Security Audit and Fuzzing: https://academy.fuzzinglabs.com/rust-security-audit-and-fuzzing-training?coupon=youtube
WebAssembly Reversing and Dynamic Analysis: https://academy.fuzzinglabs.com/wasm-security-reversing-dynamic-analysis?coupon=youtube
Go Security Audit and Fuzzing: https://academy.fuzzinglabs.com/go-security-audit-and-fuzzing?coupon=youtube

==== 🦄 Join the community ====

https://academy.fuzzinglabs.com/fuzzing-labs-community

==== 📡 Socials ====

Twitter: https://twitter.com/FuzzingLabs
Telegram: https://t.me/fuzzinglabs

Keywords: Reversing, Reverse Engineering, EVM, Ethereum Smart contract, Solidity, Disassembly, Decompilation, EVM bytecode, opcode
Link to this video: https://youtu.be/I6VDBvX9Pkw

(Visited 102 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,764431 12,27%
aave
Aave (AAVE) 84,62 0,35%
the-graph
The Graph (GRT) 0,250723 0,44%
kusama
Kusama (KSM) 27,66 0,66%
waves
Waves (WAVES) 2,25 0,97%
dash
Dash (DASH) 28,54 1,03%
bitcoin
Bitcoin (BTC) 60.220,69 0,09%
ethereum
Ethereum (ETH) 2.945,41 0,22%
cardano
Cardano (ADA) 0,440421 1,03%
tether
Tether (USDT) 0,934625 0,07%
xrp
XRP (XRP) 0,492904 0,14%
solana
Solana (SOL) 134,47 1,97%
polkadot
Polkadot (DOT) 6,39 1,95%
usd-coin
USDC (USDC) 0,934052 0,16%
dogecoin
Dogecoin (DOGE) 0,140678 0,72%
uniswap
Uniswap (UNI) 7,34 1,18%
terra-luna
Terra Luna Classic (LUNC) 0,000101 3,59%
litecoin
Litecoin (LTC) 79,48 1,95%
chainlink
Chainlink (LINK) 13,69 0,04%
bitcoin-cash
Bitcoin Cash (BCH) 445,20 0,78%
algorand
Algorand (ALGO) 0,185835 2,15%
matic-network
Polygon (MATIC) 0,676788 1,51%
stellar
Stellar (XLM) 0,106412 0,47%
cosmos
Cosmos Hub (ATOM) 7,79 1,94%
filecoin
Filecoin (FIL) 5,55 1,62%
tron
TRON (TRX) 0,109726 2,69%
ethereum-classic
Ethereum Classic (ETC) 24,79 0,84%
dai
Dai (DAI) 0,934359 0,02%
tezos
Tezos (XTZ) 0,942102 0,36%
monero
Monero (XMR) 112,60 1,45%