Difference between revisions of "Pineapple Setup"
Jump to navigation
Jump to search
CSchleritzko (talk | contribs) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
* Operating system: Ubuntu 18.04 bionic amd64 | * Operating system: Ubuntu 18.04 bionic amd64 | ||
* Operating system: Windows 10 | |||
Line 16: | Line 17: | ||
=== Provision Linux === | |||
* Use lusb to verify that pineapple ASIX Electronics is recognized by your laptop | * Use lusb to verify that pineapple ASIX Electronics is recognized by your laptop | ||
Line 35: | Line 37: | ||
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | ||
=== Setup Windows/Linux === | |||
* Browse to the determined IP address 172.16.42.1:1471 | * Browse to the determined IP address 172.16.42.1:1471 | ||
The Web interface should appear. | The Web interface should appear. | ||
The interface then appearing is the main User Interface (UI) where the user is able to work with the WiFi Pineapple Nano. This UI is further described in: https://wiki.elvis.science/index.php?title=Wifi_Pineapple_Nano | The interface then appearing is the main User Interface (UI) where the user is able to work with the WiFi Pineapple Nano. This UI is further described in: https://wiki.elvis.science/index.php?title=Wifi_Pineapple_Nano | ||
=== Internet connection Linux === | |||
* Download wp6 script | |||
wget wifipinapple.com/wp6.sh | |||
... | |||
2015-12-22 20:09:43 (4.69 MB/s) - 'wp6.sh' saved [6112] | |||
* Make it executable | |||
chmod +x wp6.sh | |||
* Execute it to set up connection. The predefined settings might work without alteration, if not, the settings are easily changed by answering some questions. | |||
sudo ./wp6.sh | |||
=== Internet connection Windows === | |||
[[File:Nano_Adapter.png|200px|thumb|left|Rename the adapter, so it's easier to find it.]] | |||
* Got to network connections via the change adapter settings. A new ASIX USB Fast Ethernet adapter should have appeared here, which is the pineapple interface. | |||
[[File:Eigenschaften Netzwerk Adapter.png|200px|thumb|left| Select the WiFi Pineapple Nano Adapter]] | |||
* In the settings of the interface that is responsible for the Internet connection, in the sharing tab, allow other users to connect through this computer's internet connection. Also use the drop down menu to select the interface of the Pineapple Nano and click OK. | |||
* In the settings of the Pineapple Nano Interface, select the settings of the Internet Protocol Version 4. There you change the IP address to '172.16.42.42' and confirm with OK. | |||
[[File:IP address WiFi Nano.png|200px|thumb|left| Give the WiFi Pineapple Nano the static IP: 172.16.42.42]] | |||
=== User Interface === | === User Interface === | ||
Line 60: | Line 87: | ||
=== Upgrade to newest firmware version 2. | === Upgrade to newest firmware version 2.7.0 [optional] === | ||
* Download newest firmware from https://www.wifipineapple.com/downloads and verify shasum: | * Download newest firmware from https://www.wifipineapple.com/downloads and verify shasum: | ||
sha256sum upgrade-2. | sha256sum upgrade-2.7.0.bin | ||
c69629ef90c715600e09f22ef12732c593f886db3b0ed145f549de551c48f79d upgrade-2.7.0.bin | |||
* Select file with newest firmware upgrade-2. | * Select file with newest firmware upgrade-2.7.0.bin in the Web interface | ||
** press reset button | ** press reset button | ||
** wait until firmware upgrade successfully verified appears | ** wait until firmware upgrade successfully verified appears | ||
Line 78: | Line 105: | ||
** check Hide Management AP | ** check Hide Management AP | ||
* Open AP Setup | * Open AP Setup | ||
is used for the target to connect to: f.e. **netlab** | is used for the target to connect to: f.e. **netlab** | ||
* | === Troubleshooting === | ||
Error when trying to start module e.g. tcpdump: | |||
*Start a ssh connection to the Wifi Pineapple | |||
*Enter the commands | |||
**opkg update | |||
**opkg install libpcap | |||
No internet connection from the PC when plugging in the WIFI Pineapple on Linux | |||
*Ip route | |||
*Ip route del default via 172.16.42.1 | |||
=== Factory reset === | |||
*Unplug the WiFi Pineapple completely from all power sources. | |||
*Begin holding the RESET button on the device. | |||
*With the RESET button held, power on the device. | |||
*Continue holding the RESET button for 10 seconds, then release. | |||
*NANO: The blue LED will remain solid | |||
*Connect the host PC to the WiFi Pineapple via the USB Ethernet Port | |||
*NANO: The male USB A plug | |||
*From the host PC, configure a static IP address on the WiFi Pineapple facing Ethernet interface to 192.168.1.2 with netmask 255.255.255.0 | |||
*For example, in Linux run ifconfig eth1 192.168.1.2 netmask 255.255.255.0 up (where eth1 is the interface name of the WiFi Pineapple). | |||
*From the host PC, browse to http://192.168.1.1 | |||
*Click Choose File and select the factory firmware image downloaded above. | |||
*Click Update Firmware. | |||
*This process will take several minutes. Do not interrupt the power supply while the firmware is updating. Once complete, the WiFi Pineapple will restart. | |||
*Reset the WiFi Pineapple facing USB Ethernet interface back to DHCP or 172.16.42.42 with netmask 255.255.255.0 | |||
== Used Hardware == | == Used Hardware == | ||
Line 99: | Line 151: | ||
* https://docs.hak5.org/hc/en-us/articles/360010555313-Setup-Basics | * https://docs.hak5.org/hc/en-us/articles/360010555313-Setup-Basics | ||
* https://www.youtube.com/watch?v=CrHbEZd4t00 | * https://www.youtube.com/watch?v=CrHbEZd4t00 | ||
* https://0x00sec.org/t/solved-wifi-pineapple-nano-client-issues/4609 | |||
[[Category:Documentation]] | [[Category:Documentation]] |
Latest revision as of 21:17, 8 January 2024
Summary
Setup and Firmware upgrade [optional] of Wifi Pineapple Nano
Requirements
- Operating system: Ubuntu 18.04 bionic amd64
- Operating system: Windows 10
Description
Basic setup
- Connect antennas and USB Y cable, WiFi Pineapple NANO needs a stable USB power supply capable of providing 9W for initial setup. Therefore plug both USB Ports of USB Y cable into the Laptop. After that he blue led should have solid light.
Provision Linux
- Use lusb to verify that pineapple ASIX Electronics is recognized by your laptop
lsusb ... Bus 001 Device 004: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet ...
- Check networking interface and ip address
sudo ifconfig enx00c0ca91b581: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.16.42.107 netmask 255.255.255.0 broadcast 172.16.42.255 inet6 fe80::d2b0:568c:b39b:4c44 prefixlen 64 scopeid 0x20<link> ether 00:c0:ca:91:b5:81 txqueuelen 1000 (Ethernet) RX packets 15 bytes 1589 (1.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 40 bytes 5589 (5.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Setup Windows/Linux
- Browse to the determined IP address 172.16.42.1:1471
The Web interface should appear. The interface then appearing is the main User Interface (UI) where the user is able to work with the WiFi Pineapple Nano. This UI is further described in: https://wiki.elvis.science/index.php?title=Wifi_Pineapple_Nano
Internet connection Linux
- Download wp6 script
wget wifipinapple.com/wp6.sh ... 2015-12-22 20:09:43 (4.69 MB/s) - 'wp6.sh' saved [6112]
- Make it executable
chmod +x wp6.sh
- Execute it to set up connection. The predefined settings might work without alteration, if not, the settings are easily changed by answering some questions.
sudo ./wp6.sh
Internet connection Windows
- Got to network connections via the change adapter settings. A new ASIX USB Fast Ethernet adapter should have appeared here, which is the pineapple interface.
- In the settings of the interface that is responsible for the Internet connection, in the sharing tab, allow other users to connect through this computer's internet connection. Also use the drop down menu to select the interface of the Pineapple Nano and click OK.
- In the settings of the Pineapple Nano Interface, select the settings of the Internet Protocol Version 4. There you change the IP address to '172.16.42.42' and confirm with OK.
User Interface
After connecting the Pineapple Nano to your device correctly as can be seen above, a User Interface (UI) opens under the IP address 172.16.42.1:1471
The User Interface is the main working space for the penetration tester. The UI includes:
- Dashboard - shows the uptime of the device, the clients connected and the SSIDs in the pool
- Recon - scanning the Network
- Clients - List of Clients connected
- Tracking
- Modules - List of downloadable Modules
- Filters - Filtering Clients and connections
- PineAP - Main part of creating a new WiFi where youc an see the SSID pool, add and remove them and start it in order for the SSIDs to be public
- Logging
- Reporting
- Networking
- Configuration
- Advances
- Notes
- Help
Upgrade to newest firmware version 2.7.0 [optional]
- Download newest firmware from https://www.wifipineapple.com/downloads and verify shasum:
sha256sum upgrade-2.7.0.bin c69629ef90c715600e09f22ef12732c593f886db3b0ed145f549de551c48f79d upgrade-2.7.0.bin
- Select file with newest firmware upgrade-2.7.0.bin in the Web interface
- press reset button
- wait until firmware upgrade successfully verified appears
- After upgrade connect again to 172.16.42.107:1471 and get into Device Configuration
- Set root password for ssh and web interface access
- pwd: <ask for>
- Management AP Setup
- Management SSID:
- WPA2 pwd: <ask for>
- check Hide Management AP
- Open AP Setup
is used for the target to connect to: f.e. **netlab**
Troubleshooting
Error when trying to start module e.g. tcpdump:
- Start a ssh connection to the Wifi Pineapple
- Enter the commands
- opkg update
- opkg install libpcap
No internet connection from the PC when plugging in the WIFI Pineapple on Linux
- Ip route
- Ip route del default via 172.16.42.1
Factory reset
- Unplug the WiFi Pineapple completely from all power sources.
- Begin holding the RESET button on the device.
- With the RESET button held, power on the device.
- Continue holding the RESET button for 10 seconds, then release.
- NANO: The blue LED will remain solid
- Connect the host PC to the WiFi Pineapple via the USB Ethernet Port
- NANO: The male USB A plug
- From the host PC, configure a static IP address on the WiFi Pineapple facing Ethernet interface to 192.168.1.2 with netmask 255.255.255.0
- For example, in Linux run ifconfig eth1 192.168.1.2 netmask 255.255.255.0 up (where eth1 is the interface name of the WiFi Pineapple).
- From the host PC, browse to http://192.168.1.1
- Click Choose File and select the factory firmware image downloaded above.
- Click Update Firmware.
- This process will take several minutes. Do not interrupt the power supply while the firmware is updating. Once complete, the WiFi Pineapple will restart.
- Reset the WiFi Pineapple facing USB Ethernet interface back to DHCP or 172.16.42.42 with netmask 255.255.255.0
Used Hardware
Courses
- Campus Cyber Security Team WiFi Hacking 21.06.2019