RootKit0xCE (@RacingWheels17) header
RootKit0xCE (@RacingWheels17) profile picture

🔥 web3 security researcher🔥

Joined April 2022
Photo by RootKit0xCE (@RacingWheels17)
On May 14, 2024, @SonneFinance, a non-custodial DEX on @Optimism, suffered a $20M exploit. Thanks to the @_SEAL_Org contributors, a quick response helped save $6.5 million. 🔏Key Takeaway: Timelock Misalignment Creates Opportunity The attacker exploited a timing discrepancy in Sonne Finance's timelock implementation, similar to the "donation attack" method used against Compound v2 forks. Critical transactions, like c-factor adjustments, were scheduled to execute after the timelock period, allowing manipulation before proper safeguards were in place. 📰 Our latest Medium article dives deep into the "donation attack" method, the timeline of the events, and the critical lessons learned to enhance DeFi security. Here's your Monday read. 🫡 olympixai.medium.com/sonne-f…
4
6
392
RootKit0xCE retweeted
🚨🚨🚨🚨 📺 | الحلقة الثانية من مسلسل The Ones Who Live (مترجمة) : - arabseed.show/?p=587931 - الحلقة مسرّبة قبل موعدها الأصلي ولكنها بجودة عالية (720p + 1080p) مشاهدة ممتعة ❤️ #TheOnesWhoLive
39
46
28
787
141,836
Welcome to the largest competition in history with... @Blast_L2 🪐 💰 $1,200,000 USDC 🗓️ January 30th, 3:00 PM EST / 20:00 PM UTC 📍 cantina.xyz/competitions Invite only. Don't have one? Details below:
229
282
262
424
176,514
RootKit0xCE retweeted
Q: How do you understand a codebase then how do you go from understanding to finding bugs? A: Firstly before approaching the code I have done a bit of research looking at the project's website/twitter & reading high-level documentation. While reading their docs I'm making notes about different participants, contracts, features etc to build some initial context about what the protocol is trying to achieve and different participants within the protocol. Then I read the code once, not getting bogged down in extreme details but reading it to build a mental model of how the protocol hangs together, especially focusing on where value is stored and how value flows through the protocol. As I'm reading the code I annotate it with @audit comments asking questions; in a separate text document I keep a list of pending questions which I'll need to answer later. During this first pass-through I always get some low/med/gas findings and sometimes even a high. I write up the findings as I find them; for me I am like a hungry shark smelling blood, creating the findings makes them real and gets me excited about finding more things. After the first pass is completed I use @SoloditOfficial to read previous findings from similar protocols. Then I begin the second read-through of the code where I go much slower seeking far greater understanding; during this pass I'm seeking to answer the questions I raised from the first pass and often I'll raise and answer more questions. Here is where I can find more highs and criticals. After this I'll read the test suite; I'm looking for areas where the test suite is weak, where integration testing between components is weak or non-existent, where there are gaps that might not show up just from the coverage report alone. This can often lead me to more findings by focusing on weak areas in the test suite. During the second/third pass I use many different types of mental approaches. For example, I: * closely track all the paths that value can flow through the protocol, especially the paths which can be initiated by permissionless actors * viewing the protocol as a finite state machine: how does it transition from one state to another? are there any unhandled state transitions? which functions modify which storage locations and is there asymmetry where there should be symmetry, can I cause storage locations to become corrupted or out of sync with others etc? * think of invariants that should apply to different contracts and how I could break them * challenge developer assumptions (sometimes they are even in the comments) seeking to break them * look for ways by which I can "guide" execution (for example by input parameters I can control which may not be properly validated) * assuming a hack "end state" has been accomplished then try to work backwards to how it was done; either I'll find a way to do it or convince myself it can't be done * applying various heuristics I've learned from my research * put myself in the shoes of different actors within the system, view the system from their point of view, and see how I can wreck havoc if I were in their place How do I find bugs & exploits? Once I've built up a mental model of the system and as I'm reading the code and testing suite, my brain continuously generates attack ideas in the form of "what if" questions - all of my best high/crit findings have come from me answering questions that my brain generated without me doing anything but reading the code. My current understanding for why this happens: 1) I am by nature an independent, critical & contrarian thinker; it turns out that while in the real world this character trait can cause you to be ostracized from society for asking the wrong questions, it can also make you rather successful in our tiny corner of the Internet 2) I've spent hundreds of hours researching previous exploits, findings & audit reports, which has helped me to build up a considerable mental arsenal of offensive attack paths and heuristics that my brain can effortlessly cycle through while reading code and especially more-so once I've built up a mental model of how the protocol works 3) Have also spent hundreds of hours employing 2) - it isn't just theory but I've actually weaponized that knowledge over and over again by putting it into practice - practice makes perfect! 4) I am very content in other aspects of my life, very comfortable & don't have any worries, in a very "zen" place of mind - this allows me the mental freedom to pursue interests with no other worries 5) Finally this a lot of fun for me; I have a great time doing this "job". This isn't really work for me, I'm mainly having fun and having a great time. Please take note that I am answering this question from my perspective; what works for me may not work for you. Ultimately you need to figure out what works for you; feel free to take as little or as much from this as best fits you! You are a unique individual and must find your own method to success - good luck!
15
20
2
94
7,394
It's hunting time 🔫 Let's see if you can #FindTheBug 🪲and share the solutions below 👇
1
2
1
9
702
RootKit0xCE retweeted
Ready for the newest #spotthebugchallenge?
9
7
1
41
13,600
9 Projects You Can Do to Become a Web3 and Blockchain Master - Ethereum Wallet - Decentralized Blog - Time lock Wallet - NFT collection - Transparent Charity System - NFT Music Application - Peer To Peer Carpooling - Blockchain-Based Voting App - Web Hosting App
5
10
74
5,510
Blockchain good text-format tutorials: · FreeCodeCamp: web3.freecodecamp.org/solana · Alchemy University: university.alchemy.com · Speedrun Ethereum: speedrunethereum.com · Chainlink: docs.chain.link/docs/data-fe… · Nodeguardians: nodeguardians.io · Cryptozombies: cryptozombies.io · LearnWeb3: learnweb3.io
10
30
1
156
25,737
RootKit0xCE retweeted
🔐🧑‍💻Crucial topics that every Web3 Security Auditor or Developer should master: 🧵✅👇 -Reentrancy - Unsafe Delegatecalls - Oracle Manipulation - Frontrunning - Denial of Service - Signature Replay -Sandwich Attacks - Malicious Honeypot - Absent modifiers - Insecure Randomness
10
30
129
11,717