Frida | 프리다 이해하기
·
안드로이드 취약점 진단
implementation을 이용해 함수의 동작을 수정할 수 있다.> 첫 기준(if)이 되는 함수를 implementation 하면, 이후 과정을 생각하기 쉽다.> 즉, 그것이 일어나기 전 일어나야 할 모든 사건을 동일하게 전처리 해야한다. overload를 통해 함수로 전달되는 파라미터의 형식을 지정할 수 있다.> 생성자의 경우 $init을 앞에 붙인 후 overload를 사용해야 한다.> 생성자가 경우에도 overload를 사용할 경우 overload를 사용해야 한다.> 만약 입력값의 경우의 수가 1개 뿐일 경우라면 overload를 사용하지 않을 수 있다. value를 이용해 Android 앱에서 사용된 변수에 값을 지정할 수 있다.> Constants.word.value = word; Java.a..
Frida Lab | 8. Change 'check' button's text value to 'Confirm'
·
안드로이드 취약점 진단
1. 실습 환경Frida Lab: https://rossmarks.uk/blog/fridalab/ FridaLabI was struggling with a recent test using frida, knowing it could do what I want but unsure how. After lots of googling and trial and error I eventually got it working. So I decidedrossmarks.uk 2. 문제● jadx를 통해 Firda Lab 분석 진행 ● uk.rossmarks.fridalab.MainActivity 클래스 내 chall08 함수가 선언되어 있음● ((String) ((Button) findViewById(R.id.check..
Uncrackable | Level2
·
안드로이드 취약점 진단
1. IDA IDA(리버스 엔지니어링을 위한 디버거): https://hex-rays.com/ida-free IDA Free: Disassembler & Decompiler at No CostFree disassembler and decompiler to learn reverse engineering. Core IDA features at no cost for students and non-commercial use. Download and start today.hex-rays.com 2. 루팅(Rooting) 탐지 우회Uncrackable Level1 참고: https://realagin.tistory.com/117 Uncrackable Level011. 환경 소개Uncrackable : https:..
Frida Lab | 7. Bruteforce check07Pin() then confirm with chall07()
·
안드로이드 취약점 진단
1. 실습 환경Frida Lab: https://rossmarks.uk/blog/fridalab/ FridaLabI was struggling with a recent test using frida, knowing it could do what I want but unsure how. After lots of googling and trial and error I eventually got it working. So I decidedrossmarks.uk 2. 문제● jadx를 통해 Firda Lab 분석 진행 ● uk.rossmarks.fridalab.MainActivity 클래스 내 chall0 함수가 선언되어 있음● check07Pin 함수의 반환값이 true일 경우 해결될 것으로 판단됨 ● c..
Frida Lab | 6. Run chall06() after 10 seconds with correct value
·
안드로이드 취약점 진단
1. 실습 환경Frida Lab: https://rossmarks.uk/blog/fridalab/ FridaLabI was struggling with a recent test using frida, knowing it could do what I want but unsure how. After lots of googling and trial and error I eventually got it working. So I decidedrossmarks.uk 2. 문제● jadx를 통해 Firda Lab 분석 진행 ● uk.rossmarks.fridalab.MainActivity 클래스 내 chall06 함수가 선언되어 있음● if을 이용해 challenge_06 클래스 내 confirmChall06 함..
Frida Lab | 5. Always send "frida" to chall05()
·
안드로이드 취약점 진단
1. 실습 환경Frida Lab: https://rossmarks.uk/blog/fridalab/ FridaLabI was struggling with a recent test using frida, knowing it could do what I want but unsure how. After lots of googling and trial and error I eventually got it working. So I decidedrossmarks.uk 2. 문제● jadx를 통해 Firda Lab 분석 진행 ● uk.rossmarks.fridalab.MainActivity 클래스 내 chall05 함수가 선언되어 있음● chall05 함수 실행 시 인자로 'frida' 문자열이 전달될 경우 해결될..
Frida Lab | 4. Send "frida" to chall04()
·
안드로이드 취약점 진단
1. 실습 환경Frida Lab: https://rossmarks.uk/blog/fridalab/ FridaLabI was struggling with a recent test using frida, knowing it could do what I want but unsure how. After lots of googling and trial and error I eventually got it working. So I decidedrossmarks.uk 2. 문제● jadx를 통해 Firda Lab 분석 진행 ● uk.rossmarks.fridalab.MainActivity 클래스 내 chall04 함수가 선언되어 있음● chall04 함수 실행 시 인자로 'frida' 문자열이 전달될 경우 해결될..