리버싱/Android
how to bypass proxy detection in Android
즉흥
2022. 2. 16. 16:09
728x90
반응형
모바일 앱을 검수하다보면 종종 프록시 탐지 기능을 우회해야할 경우가 생긴다.
프록시 탐지 함수를 후킹하여 우회하거나 iptables를 설정하는 방식으로 쉽게 프록시 탐지 기능을 우회할 수 있다.
1. iptables 룰 등록
iptables -t nat -A OUTPUT -p tcp -j DNAT --to-destination 192.168.79.8:8080
2. iptables 룰 확인
iptables -t nat -L
3. 검수 종료 후 iptables 룰 제거
iptables -t nat -D OUTPUT 1
이때 버프슈트를 이용할 경우 "Support invisible porxying" 기능을 ON 해야하는데 이 옵션은 "Proxy > Options > Proxy Liseners > Edit or Add > Request handling" 에서 찾을 수 있다.
728x90
반응형