frida-ps

  • frida-ps
    • frida-tools中一个常用的工具
    • 作用:显示系统进程列表
      • 类似于ps
      • 支持显示当前(Mac等)PC端的进程和(iPhone等)移动端中的进程
    • 官网文档

用法

  • 显示当前PC端进程:不加参数
    frida-ps
    
  • 显示USB连接的(iPhone等)移动端的(默认显示)所有进程,进程:-U
    frida-ps -U
    
  • 显示USB连接的(iPhone等)移动端正在运行应用程序的进程:-Ua = USB + only (running) applications
    frida-ps -Ua
    
  • 显示USB连接的(iPhone等)移动端应用程序已安装的全部(正在运行没有运行)的应用程序的进程:-Uai = USB + only (running) applications + (not runnning but) installed
    frida-ps -Uai
    

另外:

  • 可以加grep去搜索特定app
    • 举例
      ➜ frida-ps -Ua | grep -i preferences
      46847  设置              com.apple.Preferences
      

举例

frida-ps

➜  ~ frida-ps
PID  Name
---  ------------------------------------------------------------
...
 1205      weatherd
  639      wifianalyticsd
  612      wifip2pd
  913      wifivelocityd
11153      wine64-preloader
...
11120      wineserver
  633      writeconfig
17438      xpcroleaccountd
...
94172      zsh

frida-ps -U

crifan@licrifandeMacBook-Pro  ~/dev/dev_tool/reverse_security/iOS/palera1n  frida-ps -U
PID  Name
---  ------------------------------------------------------------
262
      App Store
328
      Filza
260
      GTA Car Tracker
261
      Safari浏览器
291
      Shadowrocket
350
      Sileo
265
      TrollStore
316
      palera1n
234
      微信
315
      截屏
312
      搜索
264
      播客
263
      设置
100      ACCHWComponentAuthService
339      ASPCarryLog
230      AppPredictionIntentsHelperService
252      AppSSODaemon
 81      AppleCredentialManagerDaemon
140      BlueTool
219      CAReportingService
335      CMFSyncAgent
276      CacheDeleteAppContainerCaches
285      CacheDeleteExtension
307      CategoriesService
237      CategoriesService
214      CategoriesService
187      CategoriesService
119      CloudKeychainProxy
 91      CommCenter
185      CommCenterMobileHelper
188      ContextService
322      EnforcementService
...

frida_ps_usb_all

frida-ps -Ua

➜  ~ frida-ps -Ua
  PID  Name       Identifier
5  ---------  -----------------------
27692   Sileo  org.coolstar.SileoStore
23650   微信     com.tencent.xin
11941   日历     com.apple.mobilecal
19641   设置     com.apple.Preferences

frida-ps -Uai

➜  ~ frida-ps -Uai
  PID  Name                 Identifier
5  -------------------  -------------------------------------
27692   Sileo            org.coolstar.SileoStore
23650   微信               com.tencent.xin
11941   日历               com.apple.mobilecal
19641   设置               com.apple.Preferences
    -   App Store        com.apple.AppStore
    -   Apple Store      com.apple.store.Jolly
    -   CocoaTop         ru.domo.cocoatop64
    -   FaceTime通话       com.apple.facetime
    -   Filza            com.tigisoftware.Filza
    -   GTA Car Tracker  com.icraze.gtatracker
    -   Safari浏览器        com.apple.mobilesafari
    -   Shadowrocket     com.liguangming.Shadowrocket
    -   ShowSystemInfo   com.crifan.ShowSystemInfo
    -   Substitute       com.ex.substitute.settings
    -   TrollStore       com.opa334.TrollStore
    -   Watch            com.apple.Bridge
    -   iTunes Store     com.apple.MobileStore
    -   palera1n         com.llsc12.palera1nLoader
    -   信息               com.apple.MobileSMS
    -   健康               com.apple.Health
    -   反馈               com.apple.appleseed.FeedbackAssistant
    -   图书               com.apple.iBooks
    -   地图               com.apple.Maps
    -   备忘录              com.apple.mobilenotes
    -   天气               com.apple.weather
    -   家庭               com.apple.Home
    -   快捷指令             com.apple.shortcuts
    -   指南针              com.apple.compass
    -   提示               com.apple.tips
    -   提醒事项             com.apple.reminders
    -   播客               com.apple.podcasts
    -   放大器              com.apple.Magnifier
    -   文件               com.apple.DocumentsApp
    -   时钟               com.apple.mobiletimer
    -   查找               com.apple.findmy
    -   测距仪              com.apple.measure
    -   照片               com.apple.mobileslideshow
    -   爱思全能版            com.ownbook.notes
    -   电话               com.apple.mobilephone
    -   相机               com.apple.camera
    -   翻译               com.apple.Translate
    -   股市               com.apple.stocks
    -   视频               com.apple.tv
    -   计算器              com.apple.calculator
    -   语音备忘录            com.apple.VoiceMemos
    -   通讯录              com.apple.MobileAddressBook
    -   邮件               com.apple.mobilemail
    -   钱包               com.apple.Passbook
    -   音乐               com.apple.Music

frida_ps_uia_result

语法help

➜  ~ frida-ps --help
usage: frida-ps [options]

options:
  -h, --help            show this help message and exit
  -D ID, --device ID    connect to device with the given ID
  -U, --usb             connect to USB device
  -R, --remote          connect to remote frida-server
  -H HOST, --host HOST  connect to remote frida-server on HOST
  --certificate CERTIFICATE
                        speak TLS with HOST, expecting CERTIFICATE
  --origin ORIGIN       connect to remote server with “Origin” header set to ORIGIN
  --token TOKEN         authenticate with HOST using TOKEN
  --keepalive-interval INTERVAL
                        set keepalive interval in seconds, or 0 to disable (defaults to -1 to auto-
                        select based on transport)
  --p2p                 establish a peer-to-peer connection with target
  --stun-server ADDRESS
                        set STUN server ADDRESS to use with --p2p
  --relay address,username,password,turn-{udp,tcp,tls}
                        add relay to use with --p2p
  -O FILE, --options-file FILE
                        text file containing additional command line options
  --version             show program's version number and exit
  -a, --applications    list only applications
  -i, --installed       include all installed applications
  -j, --json            output results as JSON

results matching ""

    No results matching ""