Close Encounters of the Third Web
Dean Pierce
ISACA June 2019
Who let this guy in the building?
In the news
Where are we at?
BLOCKCHAIN!
What is Web3?
What is Web3?
Web3 is a new model for building web applications where data and business logic are stored in a globally distributed ledger rather than on any particular server.
What's all this then?
A Stupid Example
A Stupid Example
A Stupid Example
A Stupid Example
A Stupid Example
A Stupid Example
A Stupid Example
A Stupid Example
HTTP://STUPID.SITE
OMG JAVASCRIPT
What about hacking?
If you can get a contract to send ETH to an arbitrary address, you may be able to create a malicious contract with a "fallback function" that reaches back into the vulnerable contract, and does nasty things.
"Stop hitting yourself"
WTF Remix?
Yay Reentrancy!
Yay Reentrancy!
Malicious Smart Contracts
Malicious Smart Contracts
Pure Pwnage
Defense against the Dark Arts
Hacking is hard, what about tools?
pip3 install mythril
myth -x target.sol
pip3 install manticore
manticore --detect-all target.sol
pip3 install slither-analyzer
slither target.sol
Fuzzing
Honeypot Contracts
Frontrunning
Learn you a haxing!
For the next couple hours, we will be playing with
https://capturetheether.com
sweet prizes for people who get 500 points first!