8000 [Windows] USB transport regression in Frida 17.24.x · Issue #3815 · frida/frida · GitHub
[go: up one dir, main page]

Skip to content

[Windows] USB transport regression in Frida 17.24.x #3815

Open

Description

@Neo1102

Description

USB process enumeration on Windows works with Frida 17.23.3 but fails with Frida 17.24.3.

The issue can be reproduced using two clean Python virtual environments with the same Python version and frida-tools version. The only difference is the Frida Core version.

This appears to be a Windows USB transport regression introduced in Frida 17.24.0.

Environment

  • OS: Windows 11 x64
  • Python: 3.15.2
  • frida-tools: 14.11.0
  • iOS device: iPhone XS Max
  • iOS version: 14.8
  • Jailbreak: unc0ver
  • Frida Server: 17.24.3
  • Apple Mobile Device USB Driver: 538.0.0.0

Reproduction Steps

Two separate Python virtual environments were created.

Test A: Frida 17.23.3

Installation:

py -3 -m venv $Venv
python -m pip install "frida==17.23.3" "frida-tools==14.11.0"

Version:

17.23.3

Command:

frida-ps.exe -U

Result: SUCCESS

 PID  Name
----  --------------------------------------------------------
 605  1.1.1.1.worker

Test B: Frida 17.24.3

Installation:

py -3 -m venv $Venv
python -m pip install "frida==17.24.3" "frida-tools==14.11.0"

Version:

17.24.3

Command:

frida-ps.exe -U

Result: FAILED

Failed to enumerate processes: failed to open USB device: Input/Output Error

Expected Behavior

Frida should enumerate processes over USB on Windows, as it does with Frida 17.23.3.

Actual Behavior

Starting with Frida 17.24.3, USB process enumeration fails with:

failed to open USB device: Input/Output Error

Additional Findings

  • Both tests used the same Windows machine and iOS device.
  • Both tests used Python 3.15.2.
  • Both tests used frida-tools 14.11.0.
  • The iOS Frida Server remained at version 17.24.3.
  • Network-based connections work:
    frida-ps -H <DEVICE_IP>
  • Luma can enumerate processes over USB on the same Windows machine using Frida 17.24.3.
  • A fresh Python virtual environment does not resolve the issue.

Analysis and troubleshooting assistance provided by Claude AI.

Activity

  1. Neo1102 commented on Oct 30, 2026

    @Neo1102
    Author

    CLI Log:

    PS C:\> $Venv = "$env:TEMP\frida-17.23.3-test"
    PS C:\>
    PS C:\> py -3 -m venv $Venv
    PS C:\> & "$Venv\Scripts\python.exe" -m pip install --upgrade pip
    Requirement already satisfied: pip in .\Users\user\AppData\Local\Temp\frida-17.23.3-test\Lib\site-packages (26.2.2)
    PS C:\> & "$Venv\Scripts\python.exe" -m pip install "frida==17.23.3" "frida-tools==14.11.0"
    Collecting frida==17.23.3
      Using cached frida-17.23.3-cp37-abi3-win_amd64.whl.metadata (2.3 kB)
    Collecting frida-tools==14.11.0
      Using cached frida_tools-14.11.0-py3-none-any.whl
    Collecting colorama<1.0.0,>=0.2.7 (from frida-tools==14.11.0)
      Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
    Collecting prompt-toolkit<4.0.0,>=2.0.0 (from frida-tools==14.11.0)
      Using cached prompt_toolkit-3.0.53-py3-none-any.whl.metadata (6.4 kB)
    Collecting pygments<3.0.0,>=2.0.2 (from frida-tools==14.11.0)
      Using cached pygments-2.21.0-py3-none-any.whl.metadata (2.5 kB)
    Collecting websockets<14.0.0,>=13.0.0 (from frida-tools==14.11.0)
      Using cached websockets-13.1-py3-none-any.whl.metadata (6.8 kB)
    Collecting wcwidth>=0.1.4 (from prompt-toolkit<4.0.0,>=2.0.0->frida-tools==14.11.0)
      Using cached wcwidth-0.9.4-cp310-abi3-win_amd64.whl.metadata (24 kB)
    Using cached frida-17.23.3-cp37-abi3-win_amd64.whl (50.7 MB)
    Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
    Using cached prompt_toolkit-3.0.53-py3-none-any.whl (392 kB)
    Using cached pygments-2.21.0-py3-none-any.whl (1.3 MB)
    Using cached websockets-13.1-py3-none-any.whl (152 kB)
    Using cached wcwidth-0.9.4-cp310-abi3-win_amd64.whl (597 kB)
    Installing collected packages: websockets, wcwidth, pygments, frida, colorama, prompt-toolkit, frida-tools
    Successfully installed colorama-0.4.6 frida-17.23.3 frida-tools-14.11.0 prompt-toolkit-3.0.53 pygments-2.21.0 wcwidth-0.9.4 websockets-13.1
    PS C:\>
    PS C:\> & "$Venv\Scripts\frida.exe" --version
    17.23.3
    PS C:\> $Output = & "$Venv\Scripts\frida-ps.exe" -U
    PS C:\> $Output | Select-Object -First 3
     PID  Name
    ----  --------------------------------------------------------
     605  1.1.1.1.worker
    PS C:\>
    PS C:\> $Venv = "$env:TEMP\frida-17.24.3-test"
    PS C:\>
    PS C:\> py -3 -m venv $Venv
    PS C:\> & "$Venv\Scripts\python.exe" -m pip install --upgrade pip
    Requirement already satisfied: pip in .\Users\user\AppData\Local\Temp\frida-17.24.3-test\Lib\site-packages (26.2.2)
    PS C:\> & "$Venv\Scripts\python.exe" -m pip install "frida==17.24.3" "frida-tools==14.11.0"
    Collecting frida==17.24.3
      Using cached frida-17.24.3-cp37-abi3-win_amd64.whl.metadata (2.3 kB)
    Collecting frida-tools==14.11.0
      Using cached frida_tools-14.11.0-py3-none-any.whl
    Collecting colorama<1.0.0,>=0.2.7 (from frida-tools==14.11.0)
      Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
    Collecting prompt-toolkit<4.0.0,>=2.0.0 (from frida-tools==14.11.0)
      Using cached prompt_toolkit-3.0.53-py3-none-any.whl.metadata (6.4 kB)
    Collecting pygments<3.0.0,>=2.0.2 (from frida-tools==14.11.0)
      Using cached pygments-2.21.0-py3-none-any.whl.metadata (2.5 kB)
    Collecting websockets<14.0.0,>=13.0.0 (from frida-tools==14.11.0)
      Using cached websockets-13.1-py3-none-any.whl.metadata (6.8 kB)
    Collecting wcwidth>=0.1.4 (from prompt-toolkit<4.0.0,>=2.0.0->frida-tools==14.11.0)
      Using cached wcwidth-0.9.4-cp310-abi3-win_amd64.whl.metadata (24 kB)
    Using cached frida-17.24.3-cp37-abi3-win_amd64.whl (58.0 MB)
    Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
    Using cached prompt_toolkit-3.0.53-py3-none-any.whl (392 kB)
    Using cached pygments-2.21.0-py3-none-any.whl (1.3 MB)
    Using cached websockets-13.1-py3-none-any.whl (152 kB)
    Using cached wcwidth-0.9.4-cp310-abi3-win_amd64.whl (597 kB)
    Installing collected packages: websockets, wcwidth, pygments, frida, colorama, prompt-toolkit, frida-tools
    Successfully installed colorama-0.4.6 frida-17.24.3 frida-tools-14.11.0 prompt-toolkit-3.0.53 pygments-2.21.0 wcwidth-0.9.4 websockets-13.1
    PS C:\>
    PS C:\> & "$Venv\Scripts\frida.exe" --version
    17.24.3
    PS C:\>
    PS C:\> $Output = & "$Venv\Scripts\frida-ps.exe" -U
    PS C:\> $Output | Select-Object -First 3
    Failed to enumerate processes: failed to open USB device: Input/Output Error
    PS C:\>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0