안드로이드 덱스클래스로더 실행흐름 변경을 통한 원본 앱 노출 방지 기법
A Hiding Original App Method by Altering Android DexClassLoader Execution Flow
1
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
런타임 실행 압축 기술을 이용하는 안드로이드 패커(packer) 서비스는 덱스클래스로더(DexClassLoader)를 이용하여 원본 어리이션으로 환한다. 하지만 덱스클래스로더의 API 인터페이스는 로드할 덱스(Dalvik EXcutable)의 경로와 컴일 된 일의 경로를 입력 받으므로 원본이 일시스템에 드러나는 문제이 있다. 따라 서 해당 API를 패커 서비스에 그로 사용하는 것은 안하지 않다. 본 논문에서는 이 문제를 해결하기 해 덱스 클래스로더 API의 컴일 흐름과 로드 흐름을 변경하여 해결하다. 이 변경된 실행 흐름으로 인해 컴일 된 일 을 암호화하여 일 시스템에 두거나 메모리에만 존재하도록 하고, 이후 로드할 때 복호화 는 치환을 하여 원본 앱 환을 가능하게 한다. 제안하는 기법을 통해 원본 일이 일시스템에 노출되지 않음으로써 패커의 안정성이 올라갈 것이라 상한다.
Abstract
The android packer service using runtime execution compression technology switches to the original application using DexClassLoader. However the API interface of the DexClassLoader receives the path of the loaded DEX(Dalvik EXcutable) and the path of the compiled file. So there is a problem that the original file is exposed to the file system. Therefore, it is not safe to use the API for the packer service. In this paper, we solve this problem by changing the compile and load flow of the DexClassLoader API. Due to this changed execution flow, the complied file can be encrypted and stored in the file system or only in the memory and it can be decrypted or substituted at the time of subsequent loading to enable the original application conversion. we expected that the stability of the packer will increase beacause the proposed method does not expose the original file to the file system.
참고문헌 (12)
- R. Yu, "Android packers : facing the challenges", building solutions, in Proceeding of the 24th Virus Bulletin International conference (2014)
- W Enck, "A study of android application security", Proceedings of the 20th USENIX Security Symposium (2011)
- Jongsu Lim, "Structural analysis of packing schemes for extracting hidden codes in mobile malware", EURASIP Jorunal of Wireless Communications and Networking (2016)
- Yeongung Park, "We can still crack you!general unpacking method for android packer(no root)", BlackHat Asia 2015, ~ (2015)
- Paul Sabanal, "Hiding Behind Android Runtime(ART)", BlackHat Asia 2015, ~ (2015)
