반응형
1. 서론
IOS 진단을 위해서 "frida-ps -Uai"명령어를 입력했는데 다음과 같은 에러가 발생하였다.
해당 오류를 검색했을 때 명확한 답을 못 찾아가지고 꽤 오랜 시간동안 헤맸었었다.
해당 에러를 계속 검색하던 도중
https://github.com/frida/frida/issues/3269
Failed to enumerate applications: failed to open USB device: Access denied (insufficient permissions) · Issue #3269 · frida/fr
Hello, I have install Frida 16.5.6 on a iphone X with iOS 16.7.10. When I want to try to communicate with the server, i have an error like this : ❯ frida-ps -Uai Failed to enumerate applications: f...
github.com
사이트에서 해결 방법을 알려주었다.
2. 해결방법
1. 패키지 매니저(sileo, zebra, cydia)에서 깔려있는 최신 버전의 frida 패키지 삭제
2. frida_16.5.2_iphoneos-arm.deb 다운로드 및 설치
(다운로드 URL : https://github.com/frida/frida/releases/tag/16.5.2)
- arm, arm64 버전은 본인 iphone에 맞는 버전에 맞춰서 다운로드 되는데, iphone 5s 이상부터는 arm64를 사용한다고 한다.
- 다운로드 페이지에서 다운로드 된 파일 클릭 시 자동으로 패키지 매니저로 이동시켜줌
3. PC 버전을 frida 버전에 맞게 설치
// frida가 기 설치되어 있는 경우 삭제
pip uninstall frida
// frida 16.2.5 버전 설치
pip install frida==16.2.5
4. springboard 재시작
그 후 frida 명령어 실행 시 정상적으로 동작하는 걸 확인할 수 있다.
해당 취약점은 ios 15이상에서 간헐적으로 발생한다고 하니 나와 같은 사람들에게 도움이 되었으면 좋겠다.
반응형
'APP > IOS' 카테고리의 다른 글
frida 사용 시 "unexpected error while probing dyId of target proccess"발생 에러 해결방법 (2) | 2024.05.31 |
---|---|
DVIA-v2 - Jailbreak Test1,2 (0) | 2023.02.14 |
CrackerXI+를 통해 App 추출하기 (0) | 2023.02.09 |
ios burp 연결하기 (0) | 2023.01.11 |