Vogls: a Fast Interactive Full-timing Simulator for Pre-silicon Power Side-Channel Analysis
The paper introduces Vogls, an open-source Verilog simulator that combines compiled-code performance with full-timing simulation and fine-grained state control to efficiently generate large trace collections for pre-silicon power side-channel analysis, significantly outperforming existing tools in speed and accuracy.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a master lockmaker, but instead of building locks for doors, you are building digital vaults to protect secrets like passwords and encryption keys. For years, the only way to test if your vault was truly secure was to build a physical prototype, hand it to a team of expert thieves, and see if they could pick it. If they succeeded, you'd have to tear it down, redesign it, and build a new one. This process is incredibly expensive, slow, and frustrating.
In the world of computer chips, this "physical prototype" is the actual silicon chip. But before engineers pour molten silicon into molds, they create a digital blueprint. The big question is: Can we test these blueprints for "side-channel" leaks without building the real thing? A side-channel leak is like a vault that doesn't just get picked; it gives away its secrets by humming a tune, glowing a certain color, or using a specific amount of electricity when it works. If a hacker can measure these tiny physical clues, they can figure out the secret code inside. To stop this, researchers need a way to simulate the chip's behavior on a computer, watching every tiny electrical twitch to see if it's leaking. The problem is that current computer tools are either too slow to run the millions of tests needed, or they are too simple to catch the subtle, fast glitches where the secrets hide.
This is where a new tool called Vogls comes in. Think of Vogls as a super-powered, time-traveling video game engine designed specifically for security researchers. In their paper, the authors introduce Vogls as a fast, interactive simulator that can run a digital chip design with extreme precision. Unlike older simulators that are like watching a movie in slow motion, Vogls is built to run at high speed, allowing researchers to collect massive amounts of data quickly.
The paper's main finding is that Vogls is a game-changer for "pre-silicon" analysis, which means testing chips before they are physically built. The researchers showed that Vogls can simulate a complex, timing-annotated chip design 5.9 times faster than a popular open-source tool called Icarus Verilog. While it is about 30% slower than another tool called Verilator on a specific design, Vogls offers something Verilator cannot: it can simulate the tiny, split-second timing glitches that often cause security leaks.
The most magical feature of Vogls, however, is its ability to "fork" the simulation. Imagine you are playing a video game where you have to walk through a long, boring hallway (the setup phase) to get to a treasure chest (the part you want to study). In old simulators, you had to walk the whole hallway again every time you wanted to try a different key. With Vogls, you can walk the hallway once, then hit a "save point" right before the chest. You can then create a clone of your game state, try a different key, and instantly see what happens, without ever walking the hallway again. This allows researchers to run thousands of tests in a fraction of the time.
The authors tested Vogls by using it to perform a "Differential Power Analysis" attack on a digital lock (an AES encryption design). They successfully used the simulator to recover the secret key at three different levels of detail: from the high-level blueprint (RTL), to the gate-level map (GTL), and finally to the full-timing map that includes every tiny delay. The results showed that while more detailed models required more data to crack the code, Vogls could handle all of them efficiently.
The paper explicitly argues against the idea that we must wait until chips are built to test for these leaks. It also highlights that current tools are ill-suited for the massive number of short, varied tests needed for security analysis. The authors are confident in their results based on these simulations, showing that Vogls makes previously impossible security checks practical. They note, however, that Vogls is still a new tool compared to mature industry standards, and it currently focuses on specific features needed for security rather than every single feature of the Verilog language. By making Vogls open-source, the authors hope to invite others to help build better tools for keeping our digital vaults secure before a single chip is ever made.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.