$gp 레지스터 주소값과 페이지 입상도를 활용한 MIPS 아키텍처 기반 펌웨어 베이스 주소 탐색기법
A firmware base address search technique based on MIPS architecture using $gp register address value and page granularity
0
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
본 논문에서는 MIPS 아키택처 기반 펌웨어의 정적분석 환경을 구축하기 위한 방법으로, $gp 레지스터와 페이지 입상도를 활용한 베이스 주소 후보군 선정 방식을 제안한다. 해당 연구는 기존연구의 귀납적 추론을 통한 베이스 주소 후보군 선정 방식의 단점인 베이스 주소 탐색 시간 단축을 위한 방법으로 기존 베이스 주소 후보군 선정방식 내 $gp 레지스터를 탐색의 기준점을 바탕으로 페이지 단위의 탐색을 수행하는 방법을 제시한다. 이후, 제시된 방법을 바탕으로 베이스 주소탐색 도구를 구현 및 정적분석 환경구축을 통해 대상 도구의 타당성을 증명하고자 한다. 본 논문에서 제시된 방법은 기존 귀납적 추론을 통한 후보군 선정 방안보다 속도 면에서 더 우수함을 나타낸다.
Abstract
In this paper, we propose a base address candidate selection method using the $gp register and page granularity as a way to build a static analysis environment for firmware based on MIPS architecture. As a way to shorten the base address search time, which is a disadvantage of the base address candidate selection method through inductive reasoning in existing studies, this study proposes a method to perform page-level search based on the $gp register in the existing base address candidate selection method as a reference point for search. Then, based on the proposed method, a base address search tool is implemented and a static analysis environment is constructed to prove the validity of the target tool. The results show that the proposed method is faster than the existing candidate selection method through inductive reasoning.
참고문헌 (13)
- "State of IoT 2022: Number of connected IoT devices growing 18% to 14.4 billion globally" (2022)[URL]
- "Mid-Year Update: 2022 SonicWall Cyber Threat Report" (2022)[URL]
- "Binwalk - Firmware Analysis Tool" (2022)[URL]
- Xiaodong Zhu, "Determining the base address of MIPS firmware based on absolute address statistics and string reference matching", Computers & Security, 88, pp.101504~ (2020), Elsevier BV[DOI]
- S. Mun, "Automated extraction of MIPS firmware image base using page-granularity", The Korea Society of Computer and Information Winter Conference, 31(1), pp.5~6 (2023), Daejeon University
- "MIPS Reference Guide" (2018)[URL]
- "Executable and Linkable Format (ELF)"[URL]
- "PE Format" (2022)[URL]
- "machine-dependent things"[URL]
- Skochinsky, Igor., "Intro to embedded reverse engineering for PC reversers", REcon conference (2010)
- 강지훈, "ARM 아키텍처 기반 바이너리 정적 분석을 위한 기준 주소 분석 도구", 정보보호학회논문지, 26(5), pp.1185~1189 (2016), 한국정보보호학회[DOI]
- R. Zhu, "Determining image base of firmware for ARM devices by matching literal pools", Digital Investigation, 16, pp.19~28 (2016), Elsevier BV
- CHEN, Daming D., "Towards automated dynamic analysis for linux-based embedded firmware", NDSS, pp.1.1~8.1 (2016)
