A methodology for determining the image base of ARM-based industrial control system firmware

作者:Zhu, Ruijin; Zhang, Baofeng; Mao, Junjie; Zhang, Quanxin; Tan, Yu-an*
来源:International Journal of Critical Infrastructure Protection, 2017, 16: 26-35.
DOI:10.1016/j.ijcip.2016.12.002

摘要

A common way to evaluate the security of an industrial control system is to reverse engineer its firmware; this is typically performed when the source code of the device is not available and the firmware is not trusted. However, many industrial control systems are based on the ARM architecture for which the firmware format is always unknown. Therefore, it is difficult to obtain the image base of firmware directly, which significantly complicates reverse engineering efforts. This paper describes a methodology for automatically determining the image base of firmware of ARM-based industrial control systems. Two algorithms, FIND String and FIND-LDR, are presented that obtain the offsets of strings in firmware and the string addresses loaded by LDR instructions, respectively. Additionally, the DBMSSL algorithm is presented that uses the outputs of the FIND-String and FIND-LDR algorithms to determine the image base of firmware. Experiments are performed with 10 samples of industrial control system firmware collected from the Internet. The experimental results demonstrate that the proposed methodology is effective at determining, the image bases of the majority of the firmware samples.