packetsquirrel-payloads/payloads/general/AirBridge/readme.md

37 lines
2.2 KiB
Markdown
Raw Permalink Normal View History

2024-07-30 10:05:38 +00:00
# AirBridge
#### Author: 0i41E
2024-07-30 11:05:39 +00:00
**AirBridge** is a payload designed for the [Packet Squirrel MK II](https://shop.hak5.org/products/packet-squirrel-mark-ii) in combination with Hak5's [MK7AC Module](https://shop.hak5.org/products/mk7ac-wifi-adapter), or similar WiFi adapters.
2024-07-30 10:05:38 +00:00
It is meant to help users to overcome a potential airgapped network, by utilizing the WiFi adapter to connect to a nearby Station.
2024-07-30 10:08:45 +00:00
![impr-Squirrel](https://github.com/user-attachments/assets/199aa81c-f0bf-4aaf-a209-e132230cfb02)
Since it'll start the SSH service, as well as the Web interface, users can then interact with the Squirrel as usual. C2 access or connection to a VPN are also possible afterwards.
2024-07-30 10:05:38 +00:00
## Preperation
Before deploying the Squirrel as also the payload, the user has to update the system and install `usb_modeswitch`, as without it, the WiFi adpater will be identified as storage. For this step, internet access is required.
`opkg update && opkg install usb-modeswitch`
Apart from this step, the payload needs to be configured.
Input the desired `SSID`, as well as its `PASSPHRASE`.
Optionally, the `EXTERNAL_HOST` may be changed from Googles DNS server to a different system. The users C2 instance may be a good alternative, if used. `NETMODE` can be configured to the users needs.
```
SSID="<SSID>" # Station SSID
PASSPHRASE="<Passphrase>" # Passphrase
EXTERNAL_HOST="8.8.8.8" # External Host to verify connection
```
The last step is obvious, but should be mentioned...
Prepare a Station, reachable by the AC Module.
## Usage
After saving the payload, put the switch into the correct position and power up the device.
After successfully booting, a blinking LED in the color magenta, will indicate the Squirrel being ready to proceed.
Plug in your WiFi adapter via USB-A and press the button. *This method was implemented intentionally, as during testing it caused problems to power up the device with the AC Module already attached.*
2024-07-30 10:08:45 +00:00
2024-07-30 10:05:38 +00:00
The LED will start blinking green.
A solid green LED will indicate the success. Otherwise, a red LED will appear.
If everything went well, you should now be able to access the Squirrel by whatever IP-Address your Station gave to the Squirrel.