Güvenli Önyükleme ve Çalışma Zamanı Koruması İçin İki Katmanlı Yongada Sistem Mimarisi
Güvenli Önyükleme ve Çalışma Zamanı Koruması İçin İki Katmanlı Yongada Sistem Mimarisi
Yükleniyor...
Özet
Nesnelerin İnterneti (IoT) cihazlarının ve gömülü sistemlerin kritik altyapılarda artan kullanımı, donanım güvenliğini tasarımın en önemli parçalarından biri haline getirmiştir. Modern yongada sistem tasarımları, özellikle harici bellek arayüzlerine yapılan fiziksel saldırılara, veriyolu dinlemeye (bus snooping) ve bellek kalıntısı saldırılarına (cold boot attack) karşı savunmasız kalabilmektedir. Geleneksel güvenli önyükleme yöntemleri yazılımın kaynağını ve bütünlüğünü doğrulasa da yürütme sırasında verilerin harici bellekte düz metin olarak saklanması, fiziksel erişimi olan saldırganlar için açık bir saldırı yüzeyi oluşturmaktadır. Bu durum, hem aygıt yazılımı fikri mülkiyetinin korunması hem de gizli kullanıcı verilerinin güvence altına alınması açısından kritik bir güvenlik açığı olarak öne çıkmaktadır. Bu tez çalışmasında, aygıt yazılımının depolamadan yürütmeye kadar uçtan uca gizliliğini sağlayan, Linux uyumlu ve 32-bit RISC-V tabanlı bir güvenli yongada sistem mimarisi sunulmaktadır. Önerilen mimari, iki katmanlı hibrit bir kriptografik yaklaşım benimser. Birinci katman, değiştirilemez bir donanım güvenilir kökü (RoT) görevi gören sıfırıncı aşama önyükleyici (ZSBL) tarafından yönetilen ve harici depolamadan yapılan yüklemeleri AES-256 GCM algoritması ile koruyan güvenli önyükleme sürecidir. İkinci katman ise, PRINCE blok şifresini CTR modunda kullanan ve işlemci ile ana bellek arasındaki veri trafiğini çalışma zamanında anlık olarak şifreleyip çözen özel bir donanım akış şifreleme birimidir. Bu sayede, işlemci çekirdeği ve önbellekleri dışındaki hiçbir alanda veri düz metin olarak bulunmaz. Önerilen tasarım, simülasyonlarla doğrulanmış, Xilinx Zynq ZC706 FPGA platformu üzerinde çalıştırılmış ve TSMC 65nm teknolojisi kullanılarak ASIC fiziksel tasarım akışından geçirilmiştir. CoreMark testleri, Linux önyükleme senaryoları ve Linux üzerinde yürütülen MiBench kıyaslamaları; önerilen mimarinin gömülü (bare-metal) performans testlerinde %10 civarı performans kaybı oluşturduğunu, Linux altında ölçülen çalışma zamanı ek yükünün ise %1,3 gibi ihmal edilebilir bir seviyede kaldığını göstermektedir. ASIC sentez sonuçları, eklenen güvenlik modüllerinin silikon alanında yalnızca %0,3 artışa ve %26,1 güç tüketimi artışına neden olduğunu ortaya koymaktadır. Bu sonuçlar, AES-256 GCM ve PRINCE+CTR algoritmaları kullanılan platformun düşük alan ve güç maliyetiyle gerçekleştirilebilen pratik bir çözüm sunduğunu doğrulamaktadır. Geliştirilen platform, açık kaynaklı olarak https://github.com/celuk/secure-soc adresi üzerinden erişilebilir.
The increasing deployment of Internet of Things devices and embedded systems in critical infrastructures has made hardware security one of the most crucial aspects of system design. Modern System-on-Chip designs can remain vulnerable to physical attacks, particularly attacks on external memory interfaces, bus snooping, and data remanence attacks (cold boot attacks). While traditional secure boot mechanisms verify software origin and integrity, leaving runtime data stored as plaintext in external memory creates a clear attack surface for adversaries with physical access. This stands out as a critical vulnerability in terms of both protecting firmware intellectual property and securing confidential user data. This thesis presents a Linux-capable, 32-bit RISC-V based secure System-on-Chip architecture that provides end-to-end firmware confidentiality from storage to execution. The proposed architecture adopts a two-layer hybrid cryptographic approach. The first layer is a secure boot process managed by a Zero Stage Bootloader, which acts as an immutable hardware Root of Trust and protects firmware loaded from external storage using the AES-256 GCM algorithm. The second layer is a custom hardware stream cipher engine that encrypts and decrypts data traffic between the processor and main memory on-the-fly at runtime, utilizing the PRINCE block cipher in CTR mode. As a result, no plaintext data is exposed anywhere outside the processor core and its caches. The proposed design has been validated through simulations, executed on the Xilinx Zynq ZC706 FPGA platform, and passed through an ASIC physical design flow using TSMC 65nm technology. CoreMark benchmarks, Linux boot scenarios, and MiBench benchmarks running on Linux indicate that the proposed architecture introduces about 10% performance degradation in bare-metal performance tests, while the runtime overhead measured under Linux remains at a negligible 1.3%. ASIC synthesis results reveal that the added security modules cause only a 0.3% increase in silicon area and a 26.1% increase in power consumption. These results confirm that the platform, utilizing the AES-256 GCM and PRINCE+CTR algorithms, provides a practical solution with low area and power costs. The developed platform is accessible as an open-source project at https://github.com/celuk/secure-soc.
The increasing deployment of Internet of Things devices and embedded systems in critical infrastructures has made hardware security one of the most crucial aspects of system design. Modern System-on-Chip designs can remain vulnerable to physical attacks, particularly attacks on external memory interfaces, bus snooping, and data remanence attacks (cold boot attacks). While traditional secure boot mechanisms verify software origin and integrity, leaving runtime data stored as plaintext in external memory creates a clear attack surface for adversaries with physical access. This stands out as a critical vulnerability in terms of both protecting firmware intellectual property and securing confidential user data. This thesis presents a Linux-capable, 32-bit RISC-V based secure System-on-Chip architecture that provides end-to-end firmware confidentiality from storage to execution. The proposed architecture adopts a two-layer hybrid cryptographic approach. The first layer is a secure boot process managed by a Zero Stage Bootloader, which acts as an immutable hardware Root of Trust and protects firmware loaded from external storage using the AES-256 GCM algorithm. The second layer is a custom hardware stream cipher engine that encrypts and decrypts data traffic between the processor and main memory on-the-fly at runtime, utilizing the PRINCE block cipher in CTR mode. As a result, no plaintext data is exposed anywhere outside the processor core and its caches. The proposed design has been validated through simulations, executed on the Xilinx Zynq ZC706 FPGA platform, and passed through an ASIC physical design flow using TSMC 65nm technology. CoreMark benchmarks, Linux boot scenarios, and MiBench benchmarks running on Linux indicate that the proposed architecture introduces about 10% performance degradation in bare-metal performance tests, while the runtime overhead measured under Linux remains at a negligible 1.3%. ASIC synthesis results reveal that the added security modules cause only a 0.3% increase in silicon area and a 26.1% increase in power consumption. These results confirm that the platform, utilizing the AES-256 GCM and PRINCE+CTR algorithms, provides a practical solution with low area and power costs. The developed platform is accessible as an open-source project at https://github.com/celuk/secure-soc.
Açıklama
Anahtar kelimeler
Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrol, FPGA
Bilim Dalları
Alıntı
WoS Q
Scopus Q
Kaynak
Cilt
Sayı
Başlangıç Sayfası
Bitiş Sayfası
Koleksiyonlar
Yükleniyor...
