{"id":700,"date":"2026-06-10T19:24:47","date_gmt":"2026-06-10T19:24:47","guid":{"rendered":"https:\/\/blog.positionhire.com\/index.php\/2026\/06\/10\/mit-researchers-develop-custom-operating-system-to-study-chip-functionality\/"},"modified":"2026-06-10T19:24:47","modified_gmt":"2026-06-10T19:24:47","slug":"mit-researchers-develop-custom-operating-system-to-study-chip-functionality","status":"publish","type":"post","link":"https:\/\/blog.positionhire.com\/index.php\/2026\/06\/10\/mit-researchers-develop-custom-operating-system-to-study-chip-functionality\/","title":{"rendered":"MIT Researchers Develop Custom Operating System to Study Chip Functionality"},"content":{"rendered":"<p>Researchers at MIT have developed a new kernel named Fractal, which provides a clearer understanding of processor activities. This kernel has already revealed previously unknown behaviors in Apple&#8217;s M1 chip. Traditionally, security researchers seeking to investigate processor functions modify existing operating systems like macOS or Linux, a method that is unstable and difficult to replicate, especially on Apple platforms due for deprecation.<\/p>\n<p>The team from MIT&#8217;s Computer Science and Artificial Intelligence Laboratory (CSAIL) created Fractal to study hardware directly. This new operating system kernel is designed from scratch to examine branch predictors, which help CPUs choose what code to run next. Using Fractal, researchers discovered that a speculative attack called &#8220;Phantom&#8221; affects Apple Silicon, a finding missed in prior studies.<\/p>\n<p>Joseph Ravichandran, the MIT PhD student leading the project, likened Fractal to an electron microscope for operating systems, allowing unprecedented insight into hardware mechanisms. Fractal addresses a longstanding challenge by allowing researchers to study processor structures like branch predictors and caches across user and kernel code boundaries without interference from the operating system&#8217;s activities.<\/p>\n<p>Fractal runs directly on hardware without other software, offering tools that enable experiments to switch privilege levels while executing in the same address space. This approach, called multi-privilege concurrency, introduces the outer kernel thread, which operates with kernel privileges within a user process&#8217;s memory.<\/p>\n<p>Using Fractal, the MIT team confirmed the ARM specification CSV2 on the M1, which prevents user-mode programs from influencing kernel speculation. However, they found the CPU still pre-fetches targets into the instruction cache, creating a side channel that allows user code to affect kernel cache contents. This behavior also occurs between processes with different address space identifiers.<\/p>\n<p>The team also provided evidence of Phantom speculation on Apple Silicon, where instructions can be misinterpreted as branches, triggering unintended speculative execution. Fractal&#8217;s experiments revealed no privilege isolation in the M1&#8217;s conditional branch predictor, contradicting earlier findings due to macOS thread migrations.<\/p>\n<p>Fractal supports x86_64, ARM64, and RISC-V architectures, consisting of over 31,000 lines of code. It is designed as a research infrastructure with familiar system calls and tools to facilitate the transition of existing experimental code. The MIT team shared their findings with Apple&#8217;s security team, who also examined Fractal.<\/p>\n<p>Ravichandran aims for Fractal to become essential infrastructure for microarchitecture research, akin to tools like QEMU and FFmpeg in their fields. The goal is to enhance the reliability and accuracy of research results by minimizing software noise and ensuring precise control across privilege boundaries.<\/p>\n<p>Fractal&#8217;s development was supported by the National Science Foundation, the U.S. Air Force Office of Scientific Research, and ACE, part of a DARPA-sponsored program. The research was presented at the IEEE Symposium on Security and Privacy in San Francisco, California.<\/p>\n<p class=\"ainap-source\"><strong>Original Source:<\/strong> <a href=\"https:\/\/news.mit.edu\/2026\/to-study-how-chips-really-work-mit-researchers-built-their-own-operating-system-0610\" target=\"_blank\" rel=\"noopener noreferrer\">news.mit.edu<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Researchers at MIT have developed a new kernel named Fractal, which provides a clearer understanding of processor activities. This kernel has already revealed previously unknown behaviors in Apple&#8217;s M1 chip. Traditionally, security researchers seeking to investigate processor functions modify existing operating systems like macOS or Linux, a method that is unstable and difficult to replicate,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":701,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-700","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-posts"],"_links":{"self":[{"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/posts\/700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/comments?post=700"}],"version-history":[{"count":0,"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/posts\/700\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/media\/701"}],"wp:attachment":[{"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/media?parent=700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/categories?post=700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.positionhire.com\/index.php\/wp-json\/wp\/v2\/tags?post=700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}