提出一种微控制器指令逆向恢复方法.根据微控制器内执行的指令与功耗、电磁等旁路信号之间的相关性,为不同指令分别构建旁路模板,将未知指令的旁路轨迹与模板进行匹配来恢复指令.为解决旁路轨迹中样本点数量较大,导致的模板构建与匹配效率较低的问题,利用主成分分析(PCA)的方法从功耗轨迹中提取旁路信号主成分.实验结果显示,在约400个样本点中选取约30个分量的相同条件下,PCA方法获得的匹配正确率比人工选取有效点方法提高近50%.
An method of instruction retrieve is proposed for microcontroller,which can takes the advantage of the relationship between instructions executed in microcontroller and the side channel leakages such as power consumption and electromagnetic emissions,builds side channel templates for instructions and matches the side channel trace from an unknown instruction to retrieve the operation.However,there are usually so many points in a side channel trace that the compute efficiency is very low.An interest component selection method with principle components analysis(PCA) is proposed to select interest components from side channel trace.With about 30 components selected from about 400 sample points,the correct matching ratio gained by PCA is about 50% higher than that by selecting points artificially.