r/programming • • Aug 19 '19

Sushi Roll: A CPU research kernel with minimal noise for cycle-by-cycle micro-architectural introspection

https://gamozolabs.github.io/metrology/2019/08/19/sushi_roll.html
283 Upvotes

24 comments sorted by

View all comments

Show parent comments

32

u/gamozolabs Aug 19 '19 edited Aug 19 '19

This kernel has been actively used to find 0-day in software and hardware for about 2 years (and still references non-public and un-patched vulnerabilities). It contains emulators and hypervisors successfully used for fuzzing, and IPC mechanisms to manage fuzzing and sharing results and inputs between the whole system.

Since it's a personal project that I never intended to make public, there are references to specific bugs, fuzzers, generators, exploits, etc which live all over the code base and it's not a trivial task to remove all of these features for release.

I have made Sushi Roll available to certain researchers who I trust the tech with, and who I know will use responsible disclosures if they were to come across some CPU vulnerability.

It would honestly be less work for me to start with a new kernel (like my https://github.com/gamozolabs/orange_slice kernel, which is a stripped down version of sushi roll) and add this tech to it, than clean up what I have now.

Would make for a good 2 hour live stream. Wouldn't be too hard to get this performance counting tech into it.

10

u/dimitriye98 Aug 19 '19 edited Nov 05 '25

yard path soft thus cool alan ph ict

7

u/gamozolabs Aug 19 '19

No problem! I'll try to see if I can fit a stream in my schedule this week. That'd get this functionality out there for the public to use :)