samyk / poisontap

Exploits locked/password protected computers over USB, drops persistent WebSocket-based backdoor, exposes internal router, and siphons cookies using Raspberry Pi Zero & Node.js.

Home Page:https://samy.pl/poisontap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is raspberry pi zero is necessary?

AlistairXX opened this issue · comments

Is raspberry pi zero only possible....can we not work with orange pi or any other pi

Works like a charm on my Pi 3 Model B. Just had to make some adjustments changing references in some places from 'usb0' to 'eth0' and using the ethernet port to connect to target PCs (as discussed in Issue #6).

How can we make changes?

@Cobchise Hey, did you follow the instructions in this reply, regarding the ethernet-to-usb adapter?

As I've not got a Raspberry Pi Zero, but a Raspberry Pi 2 (Model B) which doesn't work. However, I rather invest in getting a Raspberry Pi 3 (Model B) if it will work, as it's more useful rather than needing many adapters.

@harshil2105 I assume they mean you need to change wherever it says usb0 in the PoisonTap files to eth0.

Edit: I will be trying to get my Raspberry Pi 2 to work instead first, using an ethernet-to-usb adapter.

@harshil2105 From what @Cobchise is suggesting, he got the RPI3 working, with ethernet-to-USB adapters (though it's unclear, which is why I asked him), hence he changed usb0 to eth0.

It's worth mentioning @samyk has also said in 26dd781 that all Pi iterations (1/2/3) should work, if used with the ethernet dongle. Although you would need to power the Pi separately, rather than trying to connect the micro-usb-to-usb power cable to your laptop for example (which causes issues - stated here by someone who's tested it).

If this is the case, then I may be able to get this to work with the Pi 2 Model B as well. I've placed an order for a much needed ethernet-to-usb dongle.

@harshil2105 But that does not mean it will not work. The issue is not about being covert but rather whether these models will work or not. Clearly it has worked for @Cobchise using a RPI3 using the method suggested in the README.

In my viewpoint it's worth the effort, as although the Pi Zero is better at being covert and be that as it may, it does not provide a lot of flexibility for much else, needing many other adapters for peripherals. I rather try on my current hardware first, especially if it's worked for someone already without the Zero.

commented

USB gadget mode is also available on other RPIs other than the Zero, the orange may too support it depending on the firmware, look into that or use the real ethernet card as suggested above. Like everything in life, you must experience it for yourself by trying and error judgment & repeat.

@Cobchise could you please explain how you did this? I have a usb to Ethernet adapter and I believe I have changed all usb0 to eth0 but I still cannot get it to work on Pi 2b. Furthermore, now the usb and Ethernet ports on my pi do not work. I have been searching found anybody that described how they got it to work on their Pi 2/3. Thanks!

commented

the raspberry pi 2/3, etc. has a built-in usb hub in which the included network card is connected internally in-to... instead of using the usb connection per as otg, configure the dhcp service for the eth0....usb gadget mode otg with the pi 2/3 will not work....so eth0 is the only way..... configured the dhcp server for eth0 and the rpi eth0 manual IP network configuration to assign your own ip address... when connecting to the pi use the raspberrypi.local or xxxxxx.local , xxxxxx is the name of the raspberry pi hostname , you need apples mdns running on the machine you will be doing the ssh from.

Well who is still here ??
Long time no see!!!

commented

I’m around...

Yes,because it's small