Frida 후킹 환경 설치(필요 : mac, jailbroken iphone)

김원태·2023년 1월 18일
0

보안

목록 보기
1/1
  • (in mac) python3 설치 : pip3 install frida-tools

  • (in jailbroken iphone) : cydia → source → edit → add → build.frida.re → 패키지 설치 : frida(64-Bit) 또는 32bits devie(32-bit)

  • (in jailbroken iphone)frida-server 구동 확인

    • 자동으로 구동중일 것임. 구동 확인 : ps -ef |grep frida
    • 구동 커멘드 : frida-server &
      (& 은 백그라운드에서 실행 명령)
  • (in mac)연결확인

    • 연결된 기기 목록 확인 : frida-ls-devices
      ~ % frida-ls-devices
      Id                         Type    Name        
      -------------------------  ------  ------------
      local                      local   Local System
      00008020-000A4CD03AE9002E  usb     iPhone       // usb로 연결된 device
      socket                     remote  Local Socket
  • (in mac)연결. attach to target App

    • 연결된 기기의 구동중인 process 확인 : frida-ps -Ua
      ~ % frida-ps -Ua
      PID   Name               Identifier                          
      ---   -----------------  ------------------------------------
      921   NewTerm            ws.hbang.Terminal                   
      11401 sample_calculator  com.inka.AppSealingTestFlightTestApp // target app
    • frida -U {process id} → attatch
profile
암호 + 보안 + 개발 = ....??

0개의 댓글