TY - JOUR
T1 - Determining the Image Base of ARM Firmware by Matching Function Addresses
AU - Zhu, Ruijin
AU - Zhang, Baofeng
AU - Tan, Yu An
AU - Wan, Yueliang
AU - Wang, Jinmiao
N1 - Publisher Copyright:
© 2021 Ruijin Zhu et al.
PY - 2021
Y1 - 2021
N2 - Firmware is software embedded in a device and acts as the most fundamental work of a system. Disassembly is a necessary step to understand the operational mechanism or detect the vulnerabilities of the firmware. When disassembling a firmware, it should first obtain the processor type of running environment and the image base of firmware. In general, the processor type can be obtained by tearing down the device or consulting the product manual. However, at present, there is still no automated tool that can be used to obtain the image base of all types of firmware. In this paper, we focus on firmware in ARM and propose an automated method to determine the image base address. Firstly, by studying the storage rule and loading mode of the function address, we can obtain the function offset and the function address loaded by LDR instruction, respectively. Then, with this information, we propose an algorithm, named Determining image Base by Matching Function Addresses (DBMFA), to determine the image base. The experimental results indicate that the proposed method can successfully determine the image base of firmware which uses LDR instruction to load function address.
AB - Firmware is software embedded in a device and acts as the most fundamental work of a system. Disassembly is a necessary step to understand the operational mechanism or detect the vulnerabilities of the firmware. When disassembling a firmware, it should first obtain the processor type of running environment and the image base of firmware. In general, the processor type can be obtained by tearing down the device or consulting the product manual. However, at present, there is still no automated tool that can be used to obtain the image base of all types of firmware. In this paper, we focus on firmware in ARM and propose an automated method to determine the image base address. Firstly, by studying the storage rule and loading mode of the function address, we can obtain the function offset and the function address loaded by LDR instruction, respectively. Then, with this information, we propose an algorithm, named Determining image Base by Matching Function Addresses (DBMFA), to determine the image base. The experimental results indicate that the proposed method can successfully determine the image base of firmware which uses LDR instruction to load function address.
UR - http://www.scopus.com/inward/record.url?scp=85120532673&partnerID=8YFLogxK
U2 - 10.1155/2021/4664882
DO - 10.1155/2021/4664882
M3 - Article
AN - SCOPUS:85120532673
SN - 1530-8669
VL - 2021
JO - Wireless Communications and Mobile Computing
JF - Wireless Communications and Mobile Computing
M1 - 4664882
ER -