디컴파일이란 실행 가능한 프로그램 코드를 사람이 읽을 수 있는 고급 프로그래밍 언어로 변환하는 것을 말한다.
Tools
- APK Extractor
- Dex2Jar
- JD-GUI
APK Extractor
안드로이드 기기에 저장된 앱을 APK 형태로 추출해주는 어플
어플 실행 후 APK 추출할 어플을 선택하면 SD 카드에 저장된다.
Dex2Jar
앱의 .dex파일을 .jar 파일로 변환시켜 준다.
다운로드 경로 : https://github.com/pxb1988/dex2jar
pxb1988/dex2jar
Tools to work with android .dex and java .class files - pxb1988/dex2jar
github.com
JD-GUI
byte code 를 디컴파일 및 분석하기 위한 도구이다.
다운로드 경로 : http://java-decompiler.github.io/
Java Decompiler
The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions. JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files. You can browse the reco
java-decompiler.github.io
MAC 에서 JD-GUI 사용시 발생 이슈들
실행시 아래 팝업이 뜬다면, 환경설정에서 App Store 및 확인된 개발자 선택
아래 팝업이 뜬다면 universalJavaApplicationStub.sh 를 열어 아래의 문구를 추가해 줘야 한다.
References
- https://blog.yena.io/studynote/2020/02/10/Android-App-Decompile.html
'Reverse' 카테고리의 다른 글
DLL 파일 실행 (IDA) (0) | 2021.07.12 |
---|