Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. For anyone else capturing #USB on #macOS on Apple Silicon:It does work, you just have to disable SIP entirely first (individual flags don't work, need csrutil disable)You need to manually set the correct interface up, e.g. sudo ifconfig XHC2 up

For anyone else capturing #USB on #macOS on Apple Silicon:It does work, you just have to disable SIP entirely first (individual flags don't work, need csrutil disable)You need to manually set the correct interface up, e.g. sudo ifconfig XHC2 up

Scheduled Pinned Locked Moved Uncategorized
usbmacos
2 Posts 1 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jjtech@infosec.exchangeJ This user is from outside of this forum
    jjtech@infosec.exchangeJ This user is from outside of this forum
    jjtech@infosec.exchange
    wrote last edited by
    #1

    For anyone else capturing #USB on #macOS on Apple Silicon:
    It does work, you just have to disable SIP entirely first (individual flags don't work, need csrutil disable)
    You need to manually set the correct interface up, e.g. sudo ifconfig XHC2 up

    For identifying a specific device, the easiest way is to correlate with IORegistryExplorer.
    For example:

    iPhone@02100000
    ^
    XHC interface

    Once you start the capture in Wireshark, you can filter to just that device using

    usb.darwin.location_id == 0x02100000
    jjtech@infosec.exchangeJ 1 Reply Last reply
    0
    • jjtech@infosec.exchangeJ jjtech@infosec.exchange

      For anyone else capturing #USB on #macOS on Apple Silicon:
      It does work, you just have to disable SIP entirely first (individual flags don't work, need csrutil disable)
      You need to manually set the correct interface up, e.g. sudo ifconfig XHC2 up

      For identifying a specific device, the easiest way is to correlate with IORegistryExplorer.
      For example:

      iPhone@02100000
      ^
      XHC interface

      Once you start the capture in Wireshark, you can filter to just that device using

      usb.darwin.location_id == 0x02100000
      jjtech@infosec.exchangeJ This user is from outside of this forum
      jjtech@infosec.exchangeJ This user is from outside of this forum
      jjtech@infosec.exchange
      wrote last edited by
      #2

      I wanted to use this to decrypt connections made using MobileDevice.framework over lockdownd, so I created the following:

      Custom #Wireshark dissector for the usbmuxd TCP encapsulation:
      https://gist.github.com/JJTech0130/da77af43269076f6ea78f69471d1df6e
      SSL keylog for the version of LibreSSL it links (using #Frida)
      https://gist.github.com/JJTech0130/e238798e66fe70abc16f1c6dc6c28ab3

      Thanks @nicolas17 for the help!

      Link Preview Image
      1 Reply Last reply
      1
      0
      • R relay@relay.infosec.exchange shared this topic
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups