Vogls:用于硅前功耗侧信道分析的快速交互式全时序模拟器 Vogls: a Fast Interactive Full-timing Simulator for Pre-silicon Power Side-Channel Analysis 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-17
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
Vogls是一个开源的Verilog模拟器,专为侧信道分析设计。它比现有模拟器更快,支持全时序模拟,并允许用户暂停、分支、检查和修改模拟状态。在AES门级设计上,它比Icarus Verilog快5.9倍,在PicoRV32 RTL设计上比Verilator慢30%,但提供更精确的时序模型。通过Python接口,用户可以在感兴趣点进行分支,无需重新模拟。案例研究展示了在RTL、GTL和全时序GTL级别成功进行差分功耗分析攻击。
领域硬件安全、侧信道分析、EDA工具
适合谁读需要一定专业背景(硬件安全、数字电路设计、仿真工具)
核心贡献["首次将编译代码性能、全时序模拟和细粒度状态控制结合的开源Verilog模拟器", "提供Python接口支持模拟的分支、检查和修改,无需修改硬件设计即可保留时序和泄漏特征"]
关键数据在时序标注的门级AES设计上比Icarus Verilog快5.9倍,在PicoRV32 RTL设计上比Verilator慢30%但时序模型更精确
推荐理由如果你做硬件侧信道分析,Vogls能让你在流片前快速收集大量功耗轨迹,值得一试!
关键词["侧信道分析", "硅前验证", "硬件安全", "Verilog模拟器", "差分功耗分析", "全时序模拟"]

原文摘要

查看英文原文摘要

Designing hardware circuits resistant to side-channel attacks increasingly relies on simulation to predict device leakage before fabrication. Current functional verification simulators are designed for extended correctness-checking runs and are ill-suited for producing large numbers of short trace collections with slight input variants needed for side-channel analysis. We present Vogls: an open-source Verilog simulator built for side-channel analysis, that is the first simulator to combine compiled-code performance, full-timing simulation, and fine-grained control over the simulation state. Vogls simulates a timing annotated gate-level AES design 5.9 times faster than Icarus Verilog and is only 30% slower than Verilator on a PicoRV32 RTL design while also offering a more accurate timing model. Vogls provides a Python interface that allows simulations to be paused, forked, inspected, and mutated around points-of-interest without modifying the hardware design and thereby preserving timing and leakage characteristics. Furthermore, a trace-collection workflow runs setup code once and forks at the point-of-interest, eliminating the need to re-simulate from reset for every trace. A case study demonstrates Vogls on a differential power analysis attack that successfully recovers the key at RTL, GTL and full-timing GTL abstraction levels.

📚 参考文献 (37 条)

查看全部 37 条
  1. [1] P. Kocher, J. Jaffe, and B. Jun, “Differential Power Analysis,” in Advances in Cryptology — CRYPTO’ 99, M. Wiener, Ed., Berlin, Hei­ delberg: Springer, 1999, pp. 388–397. doi: 10.1007/3-540-48405-1_25.
  2. [2] K. Gandolfi, C. Mourtel, and F. Olivier, “Electromagnetic Analysis: Concrete Results,” in Cryptographic Hardware and Embedded Systems — CHES 2001, Ç. K. Koç, D. Naccache, and C. Paar, Eds., Berlin, Hei­ delberg: Springer, 2001, pp. 251–261. doi: 10.1007/3-540-44709-1_21.
  3. [3] P. C. Kocher, “Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems,” in Advances in Cryptology — CRYPTO ’96, N. Koblitz, Ed., Berlin, Heidelberg: Springer, 1996, pp. 104–113. doi: 10.1007/3-540-68697-5_9.
  4. [4] T. Roche, “EUCLEAK.” [Online]. Available: https://eprint.iacr.org/ 2024/1380
  5. [5] Federal Office for Information Security (BSI), “Side-Channel Resis­ tance.” Accessed: Apr. 20, 2026. [Online]. Available: https://www.bsi. bund.de/EN/Themen/Unternehmen-und-Organisationen/Informationen- und-Empfehlungen/Kryptografie/Seitenkanalresistenz/seitenkanalresiste nz.html?nn=916726
  6. [6] B. J. Gilbert Goodwill, J. Jaffe, P. Rohatgi, and others, “A testing methodology for side-channel resistance validation,” in NIST non- invasive attack testing workshop, 2011, pp. 115–136.
  7. [7] B. Gigerl, V. Hadzic, R. Primas, S. Mangard, and R. Bloem, “Coco: Co- Design and Co-Verification of Masked Software Implementations on CPUs,” presented at the 30th USENIX Security Symposium (USENIX Security 21), 2021, pp. 1469–1468. Accessed: Dec. 03, 2025. [On­ line]. Available: https://www.usenix.org/conference/usenixsecurity21/ presentation/gigerl
  8. [8] Y. Yao, T. Kathuria, B. Ege, and P. Schaumont, “Architecture Corre­ lation Analysis (ACA): Identifying the Source of Side-channel Leakage at Gate-level.” Accessed: Dec. 02, 2025. [Online]. Available: https:// eprint.iacr.org/2020/1192
  9. [9] V. Samadi Bokharaie and A. Jahanian, “Power side-channel leakage assessment and locating the exact sources of leakage at the early stages of ASIC design process,” The Journal of Supercomputing, vol. 78, no. 2, pp. 2219–2244, Feb. 2022, doi: 10.1007/s11227-021-03927-w.
  10. [10] I. S. Association and others, “IEEE standard for Verilog hardware description language (IEEE 1364-2005),” http://standards. ieee. org/, 2006.
  11. [11] “IEEE Standard for Design and Verification of Low-Power Inte­ grated Circuits.” Accessed: Apr. 14, 2026. [Online]. Available: http:// ieeexplore.ieee.org/document/6521327/
  12. [12] T. Hutt, “FST Format Specification.” [Online]. Available: https://blog. timhutt.co.uk/fst_spec/
  13. [13] Y. Nasser, J. Lorandel, J.-C. Prévotet, and M. Hélard, “RTL to transistor level power modeling and estimation techniques for FPGA and ASIC: A survey,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 40, no. 3, pp. 479–493, 2020.
  14. [14] Z. Liu, A. Malnicof, A. Roy, and P. Schaumont, “Telescope: Top-Down Hierarchical Pre-silicon Side-channel Leakage Assessment in System- on-Chip Design,” in Proceedings of the 20th ACM Asia Conference on Computer and Communications Security, in ASIA CCS '25. New York, NY, USA: Association for Computing Machinery, Aug. 2025, pp. 1280–1293. doi: 10.1145/3708821.3736216.
  15. [15] S. Mangard, N. Pramstaller, and E. Oswald, “Successfully attacking masked AES hardware implementations,” in Proceedings of the 7th international conference on Cryptographic hardware and embedded systems, in CHES'05. Berlin, Heidelberg: Springer-Verlag, Aug. 2005, pp. 157–171. doi: 10.1007/11545262_12.
  16. [16] S. Williams and M. Baxter, “Icarus verilog: open-source verilog more than a year later,” Linux Journal, vol. 2002, no. 99, 2002, Accessed: Mar. 12, 2026. [Online]. Available: https://dl.acm.org/doi/10.5555/ 513581.513584
  17. [17] W. Snyder, P. Wasson, D. Galbi, G. Lore, and et al, “Verilator.” Ac­ cessed: Mar. 11, 2026. [Online]. Available: https://github.com/verilator/ verilator
  18. [18] B. Rosser, “Cocotb: a Python-based digital logic verification frame­ work.”
  19. [19] L. Batina, Ł. Chmielewski, L. Papachristodoulou, P. Schwabe, and M. Tunstall, “Online template attacks,” Journal of Cryptographic Engineering, vol. 9, no. 1, pp. 21–36, Apr. 2019, doi: 10.1007/ s13389-017-0171-8.
  20. [20] S. Meyer, “CVC Verilog Compiler – Fast Complex Language Compilers Can be Simple.” Accessed: Mar. 12, 2026. [Online]. Available: http:// arxiv.org/abs/1603.08059
  21. [21] C. Wolf and J. Glaser, “Yosys - A Free Verilog Synthesis Suite.”
  22. [22] T. Ajayi and D. Blaauw, “Openroad: Toward a self-driving, open-source digital layout implementation tool chain,” in Proceedings of Govern­ ment Microcircuit Applications and Critical Technology Conference, 2019.
  23. [23] F. Skarman, L. Klemmer, D. Große, O. Gustafsson, and K. Laeufer, “Surfer — An Extensible Waveform Viewer,” in Computer Aided Verification, R. Piskac and Z. Rakamarić, Eds., Cham: Springer Nature Switzerland, 2025, pp. 392–404. doi: 10.1007/978-3-031-98685-7_19.
  24. [24] C. Lattner et al., “MLIR: Scaling Compiler Infrastructure for Domain Specific Computation,” in 2021 IEEE/ACM International Symposium on Code Generation and Optimization (CGO), Feb. 2021, pp. 2–14. doi: 10.1109/CGO51591.2021.9370308.
  25. [25] C. Lattner and V. Adve, “LLVM: a compilation framework for lifelong program analysis & transformation,” in International Symposium on Code Generation and Optimization, 2004. CGO 2004., Mar. 2004, pp. 75–86. doi: 10.1109/CGO.2004.1281665.
  26. [26] A. Izraelevitz et al., “Reusability is FIRRTL ground: Hardware con­ struction languages, compiler frameworks, and transformations,” in 2017 IEEE/ACM International Conference on Computer-Aided Design (ICCAD), Nov. 2017, pp. 209–216. doi: 10.1109/ICCAD.2017.8203780.
  27. [27] F. Schuiki, A. Kurth, T. Grosser, and L. Benini, “LLHD: a multi- level intermediate representation for hardware description languages,” in Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation, in PLDI 2020. New York, NY, USA: Association for Computing Machinery, Jun. 2020, pp. 258–271. doi: 10.1145/3385412.3386024.
  28. [28] “IEEE Standard for Standard Delay Format (SDF) for the Electronic Design Process.” Accessed: Apr. 14, 2026. [Online]. Available: https:// ieeexplore.ieee.org/document/972829/
  29. [29] S. A. Huss, M. Stöttinger, and M. Zohner, “AMASIVE: An Adapt­ able and Modular Autonomous Side-Channel Vulnerability Evaluation Framework,” in Number Theory and Cryptography: Papers in Honor of Johannes Buchmann on the Occasion of His 60th Birthday, M. Fischlin and S. Katzenbeisser, Eds., Berlin, Heidelberg: Springer, 2013, pp. 151– 165. doi: 10.1007/978-3-642-42001-6_12.
  30. [30] M. He, J. Park, A. Nahiyan, A. Vassilev, Y. Jin, and M. Tehranipoor, “RTL-PSC: Automated Power Side-Channel Leakage Assessment at Register-Transfer Level,” in 2019 IEEE 37th VLSI Test Symposium (VTS), Apr. 2019, pp. 1–6. doi: 10.1109/VTS.2019.8758600.
  31. [31] I. Buhan, L. Batina, Y. Yarom, and P. Schaumont, “SoK: Design Tools for Side-Channel-Aware Implementations,” in Proceedings of the 2022 ACM on Asia Conference on Computer and Communications Security, in ASIA CCS '22. New York, NY, USA: Association for Computing Machinery, May 2022, pp. 756–770. doi: 10.1145/3488932.3517415.
  32. [32] “YosysHQ/picorv32.” Accessed: Apr. 21, 2026. [Online]. Available: https://github.com/YosysHQ/picorv32
  33. [33] D. Canright and L. Batina, “A Very Compact "Perfectly Masked" S-Box for AES (corrected).” Accessed: Dec. 04, 2025. [Online]. Available: https://eprint.iacr.org/2009/011
  34. [34] Tohoku University ECSIS Laboratory, “Cryptographic IP cores.”
  35. [Online]. Available: https://github.com/ECSIS-lab/Cryptographic- Hardware-IPs
  36. [35] A. V. Lakshmy, C. Rebeiro, and S. Bhunia, “FORTIFY: Analytical Pre- Silicon Side-Channel Characterization of Digital Designs,” in 2022 27th Asia and South Pacific Design Automation Conference (ASP-DAC), Jan. 2022, pp. 660–665. doi: 10.1109/ASP-DAC52403.2022.9712551.
  37. [36] L. Batina, B. Gierlichs, E. Prouff, M. Rivain, F.-X. Standaert, and N. Veyrat-Charvillon, “Mutual Information Analysis: a Comprehensive Study,” Journal of Cryptology, vol. 24, no. 2, pp. 269–291, Apr. 2011, doi: 10.1007/s00145-010-9084-8.