基于PPC460的硬核化安全防护技术
Hardware-Based Security Protection Technology Based on PPC460
摘要: 在高可靠、高安全的SOC及嵌入式系统的应用中,通常会由于外部复杂环境造成系统内存区出现代码段非法操作、内存非法访问、堆栈溢出、某一关键任务崩溃或者宕机等异常,造成系统运行的关键任务失效。为解决以上问题,本文以PPC460软核处理器为基础,设计了一种软硬件结合的安全防护技术,通过硬件限定内存的访问空间和权限,进而限定软件任务只能在特定的空间具有特定的操作权限,能够有效阻止系统内存和堆栈的非法访问。通过硬核化的关键任务快照与恢复技术对稳定态任务进行快照,当有关键任务受损后及时发现并恢复该任务的原始参数,来保障整个系统稳定的运行;同时辅以异常上传模块,可供软件进行异常分析。经实验验证本设计能够对内存保护区起到安全防护功能,同时通过注入故障,能够将原有稳定任务恢复并正常运行。
Abstract: In the application of highly reliable and secure SOC and embedded systems, it is common to encounter anomalies such as code segment illegal operations, memory illegal access, stack overflow, critical task crashes or crashes in the system memory area due to complex external environments, resulting in the failure of critical tasks during system operation. To solve the above problems, this article designs a security protection technology that combines software and hardware based on the PPC460 soft core processor. By limiting the access space and permissions of memory through hardware, software tasks can only have specific operation permissions in specific spaces, which can effectively prevent illegal access to system memory and stack. By using Hardware-based critical task snapshot and recovery techniques to snapshot stable tasks, when a critical task is damaged, the original parameters of the task can be detected and restored in a timely manner to ensure the stable operation of the entire system; At the same time, it is supplemented by an abnormal upload module, which can be used for software to conduct abnormal analysis. Through experimental verification, this design can provide security protection for the memory protection area, and by injecting faults, it can restore the original stable tasks and run them normally.
参考文献
|
[1]
|
IBM (2010) PowerPC 460-S Embedded Processor Core User’s Manual, 31-39. https://picture.iczhiku.com/resource/eetop/SHkequZYrYSUjcxn.pdf
|
|
[2]
|
张修瑞. 实时任务调度器硬件化的研究与实现[D]: [硕士学位论文]. 沈阳: 沈阳工业大学, 2023.
|
|
[3]
|
IBM (2012) Processor Local Bus Architecture Specifications, 35-51. https://picture.iczhiku.com/resource/eetop/wyIeQjzjkwqYEVXm.pdf
|
|
[4]
|
C*Core R&D Center (2013) PPC4601 Advance Information Revision 1.0, 5-16.
|
|
[5]
|
原义盈. 嵌入式软件堆栈溢出的静态测试方法研究[D]: [硕士学位论文]. 北京: 北京交通大学, 2011.
|
|
[6]
|
关沫, 张晓宇. 基于FPGA的μC/OS-II任务管理硬件设计[J]. 电子技术应用, 2010(2): 25-29.
|
|
[7]
|
Jean J. Labrosse. 嵌入式实时操作系统μC/OS-II原理及应用[M]. 邵贝贝, 等, 译. 北京: 北京航空航天大学出版社, 2009.
|
|
[8]
|
崔建华, 孙红胜, 王保进. 基于FPGA的实时操作系统调度器硬件化设计与实现[J]. 信息技术与网络安全, 2019(38): 83-89.
|
|
[9]
|
王简. 实时操作系统任务调度算法的硬件化研究[D]: [硕士学位论文]. 哈尔滨: 哈尔滨理工大学, 2016.
|
|
[10]
|
李震, 崔骁松, 孙晨旭, 等. 基于时间和任务重要度的系统弹性恢复研究[J]. 计算机与数字工程, 2021, 49(11): 2213-2217.
|
|
[11]
|
徐向权. 硬件实时操作系统中任务切换技术的研究[D]: [硕士学位论文]. 青岛: 青岛大学, 2018.
|
|
[12]
|
Xilinx (2017) HW-U1-VCU118_REV2_0_SCHEMATIC_7-14-2017, 2-75. https://docs.amd.com/v/u/en-US/VCU118-Schematics-XTP450
|
|
[13]
|
董巍, 马云. 基于ReWorks操作系统的实时多任务程序设计[J]. 中国新技术新产品, 2013(9): 53.
|
|
[14]
|
刘锐, 张江水, 方成. 基于ReWorks平台的多任务型嵌入式自主导航系统设计与实现[J]. 测绘与空间地理信息, 2015, 38(11): 53-55+65.
|