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 56 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,531948 € 3,11%
aave
Aave (AAVE) 58,53 € 0,21%
the-graph
The Graph (GRT) 0,082270 € 0,16%
kusama
Kusama (KSM) 17,67 € 0,07%
waves
Waves (WAVES) 1,44 € 1,50%
dash
Dash (DASH) 25,14 € 0,35%
bitcoin
Bitcoin (BTC) 24.548,44 € 1,69%
ethereum
Ethereum (ETH) 1.478,81 € 1,24%
cardano
Cardano (ADA) 0,229561 € 0,40%
tether
Tether (USDT) 0,938754 € 0,05%
xrp
XRP (XRP) 0,466777 € 2,66%
solana
Solana (SOL) 18,38 € 0,28%
polkadot
Polkadot (DOT) 3,80 € 0,20%
usd-coin
USDC (USDC) 0,938971 € 0,02%
dogecoin
Dogecoin (DOGE) 0,057138 € 1,18%
uniswap
Uniswap (UNI) 3,99 € 0,61%
terra-luna
Terra Luna Classic (LUNC) 0,000057 € 1,43%
litecoin
Litecoin (LTC) 60,41 € 0,59%
chainlink
Chainlink (LINK) 6,80 € 1,81%
bitcoin-cash
Bitcoin Cash (BCH) 195,77 € 0,21%
algorand
Algorand (ALGO) 0,094150 € 1,31%
matic-network
Polygon (MATIC) 0,482655 € 1,63%
stellar
Stellar (XLM) 0,104957 € 1,42%
cosmos
Cosmos Hub (ATOM) 6,55 € 1,13%
filecoin
Filecoin (FIL) 3,01 € 1,43%
tron
TRON (TRX) 0,078918 € 0,23%
ethereum-classic
Ethereum Classic (ETC) 14,26 € 0,48%
dai
Dai (DAI) 0,938692 € 0,03%
tezos
Tezos (XTZ) 0,611995 € 1,63%
monero
Monero (XMR) 134,76 € 0,31%