Jump to content

USB ID


aaaaaaaa
 Share

Recommended Posts

Has anybody been able to get USB host vendor and id from the device the bash bunny is connected to? All of the usual lsusb and cat’ing the device tree don’t seem to show the host id because the device is not in host mode.

Link to comment
Share on other sites

You have to explain that further. What are you trying to do? Do you want the Bunny to identify what it is connected to? What would the source of that information be in that case? Describe the scenario more in detail.

Link to comment
Share on other sites

Say I have a Toshiba laptop, and I plug in the bash bunny. I want to get the vendor and product id from the laptop’s USB port. In UUSB host mode, you can simply do a lsusb -tv. However, devices do not show up as connected in the linux device tree when a device (the bash bunny) is not in host mode.

Link to comment
Share on other sites

I don't know how that would be possible taking into account the "roles" that the different devices has in this scenario. The Bunny won't act in that role since there's not such attackmode. You don't attach devices *to* the Bunny. You attach the Bunny to other devices (that are acting as host).

Link to comment
Share on other sites

I only want to execute a payload if the target USB device matches a specified id. If I plug a phone into the laptop, the phone knows the laptop’s vid and pid. The phone is not in host mode and is drawing power from the laptop. I am assuming I will have to write a custom kernel extension, and may be better off using a pi zero since the bunny firmware is not available.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...