video thumbnail 2:38:42
What Ethereum Smart Contract Hacking Looks Like

2021-09-12

[public] 48.4K views, 6.90K likes, 23.0 dislikes audio only

channel thumbLiveOverflow

In this video you can see me working over 10h on hacking an Ethereum smart contract. The attack was done on a private chain, so no actual Ethereum users have been affected.

This was a challenge called `Montagy` from the Real World CTF 2019 competition.

Even though this was part of a competition, the methodology and technologies used are the tools used in real-life Ethereum hacking as well.

More Ethereum hacking:

- Ethereum Smart Contract Hacking #1 - Real World CTF 2018: /youtube/video/ozqOlUVKL1s

- Jump Oriented Programming: Ethereum Smart Contract #2 - Real World CTF 2018: /youtube/video/RfL3FcnVbJg

- Ethereum Smart Contract Backdoored Using Malicious Constructor:

/youtube/video/WP-EnGhIYEc

00:00:00 - Backstory

00:03:58 - Smart Contract Challenge Overview

00:20:17 - Blockchain Transaction Investigation

00:22:13 - Rough Plan & Research Setup

00:34:27 - Looking more into the Contracts

00:41:18 - Debugging with remix

01:08:43 - What we learned so far

01:09:31 - Researching custom hash

01:34:26 - Breaking hash algorithm with z3

02:02:37 - Realizing winning condition is different...

02:03:20 - Developing exploit pwn.js

02:15:10 - Exploit doesn't work... debugging.

02:31:30 - Exploit finally works

02:33:55 - Sending Exploit to the Team in China

02:35:05 - The Flag

02:36:10 - Opinion and Conclusion

-=[ ā¤ļø Support ]=-

→ per Video: https://www.patreon.com/join/liveoverflow

→ per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join

-=[ šŸ• Social ]=-

→ Twitter: https://twitter.com/LiveOverflow/

→ Website: https://liveoverflow.com/

→ Subreddit: https://www.reddit.com/r/LiveOverflow/

→ Facebook: https://www.facebook.com/LiveOverflow/


Going to Chinese Hacking Competition - Real World CTF Finals by LiveOverflow
/youtube/video/2S_TXaGYD8E
Ethereum Smart Contract Hacking - Real World CTF 2018 by LiveOverflow
/youtube/video/ozqOlUVKL1s
Backstory
/youtube/video/P8LXLoTUJ5g?t=0
Smart Contract Challenge Overview
/youtube/video/P8LXLoTUJ5g?t=238
Blockchain Transaction Investigation
/youtube/video/P8LXLoTUJ5g?t=1217
Rough Plan & Research Setup
/youtube/video/P8LXLoTUJ5g?t=1333
Looking more into the Contracts
/youtube/video/P8LXLoTUJ5g?t=2067
Debugging with remix
/youtube/video/P8LXLoTUJ5g?t=2478
What we learned so far
/youtube/video/P8LXLoTUJ5g?t=4123
Researching custom hash
/youtube/video/P8LXLoTUJ5g?t=4171
Breaking hash algorithm with z3
/youtube/video/P8LXLoTUJ5g?t=5666
Realizing winning condition is different...
/youtube/video/P8LXLoTUJ5g?t=7357
Developing exploit pwn.js
/youtube/video/P8LXLoTUJ5g?t=7400
Exploit doesn't work... debugging.
/youtube/video/P8LXLoTUJ5g?t=8110
Exploit finally works
/youtube/video/P8LXLoTUJ5g?t=9090
Sending Exploit to the Team in China
/youtube/video/P8LXLoTUJ5g?t=9235
The Flag
/youtube/video/P8LXLoTUJ5g?t=9305
Opinion and Conclusion
/youtube/video/P8LXLoTUJ5g?t=9370
I’m moving, no videos sorry 17,545 views
/youtube/video/9CS3q0uG1LI
Support liveoverflow.com
https://liveoverflow.com/support
Running Out Of Hacking Video Ideas 52,177 views
/youtube/video/LMFY3NvNITY