DIY WiFi Pineapple

Introduction

This guide will give you everything you need to build your own customizable wifi pineapple on a budget using the GL.iNet GL-AR150. The guide includes step by step pictures, alternative analysis, power metrics, and more!

What is WiFi Pineapple?

  • WiFi Pineapple is formally a product produced and sold by the company Hak5
  • The device is used as a pentest tool and can be used as a rogue access point in both passive and active attacks.
  • Check out the official documentation for more information: https://wiki.wifipineapple.com


  • This guide contains the following sections:

    1. Comparing Pineapples - Shows hardware differences of both products
    2. Materials Needed - List of materials you need to build an AR150 WiFi Pineapple
    3. Flashing Pineapple Firmware - Step by step guide to install the Pineapple firmware
    4. Hardware Modifications - A guide to integrate the USB hub into the case of the AR150

    For additional resources on my website click the links below:

    Comparing Pineapples


    Hardware Differences: None

    Nano AR150
    CPU Atheros9331, 400MHz SoC Atheros9331, 400MHz SoC
    Memory DDR2 64MB DDR2 64MB
    Storage Flash 16MB Flash 16MB
    Wireless 1 Atheros AR9331 (IEEE 802.11 b/g/n) Atheros AR9331 (IEEE 802.11 b/g/n)
    Wireless 2 Atheros AR9271 (IEEE 802.11 b/g/n) RT5370 USB WiFi Adapter (IEEE 802.11 b/g/n)
    Price $100 $35

    Materials Needed

    Basic (Total $35):

    Advanced Materials:

    Flash Pineapple Firmware


    Step 1:

    Download the WiFi Pineapple firmware that was modified for the AR150: gl-ar150-nano-<version>-optimized.bin

    Download on GitHub

    Step 2:

    Power on AR150 and connect a computer to the device's LAN by one of the following:

    Step 3:

    Navigate to http://192.168.1.1 in a web browser and perform initial setup:

    Step 4:

  • From the admin panel click on "More Settings" then click "Advanced"


  • Step 5:

  • Login with username "root" and your password created in step #2


  • Step 6:

  • Click on "System" then on "Backup / Flash Firmware"


  • Step 7:

  • Flash the optimized .bin file:
    • Under "Flash new firmware image" uncheck "Keep settings"
    • Choose File and select the .bin you downloaded in step 1
    • Click "Flash image"


  • Step 8:

  • Click "Proceed"


  • Step 9:

  • Wait about 5min for the flash to complete.
  • Join the new network:
    • The device will now have a different Wifi SSID and IP address range.
    • Follow the guide bellow to connect to the pineapple over Wifi or LAN...


  • Step 10:

    If on WiFi

    If on Ethernet LAN



    Step 11:

  • Pineapple Configuration:
    • Root Password
    • Time Zone
    • other
  • Hardware Modifications



    Step 1:

  • Remove the back cover


  • Step 2:

  • Dissasemble the USB Hub (A screwdriver and some prying should do the trick, don't damage the female usb ports)


  • Step 3:

  • Note the order of the wires, the wires should go in this order onto the AR150 board


  • Step 4:

  • Solder the wires with a fine soldering tip ("I" is recommended)


  • Step 5:

  • 3D print the case extender using the following settings (or Buy: )


  • Step 6:

  • Insert the USB hub and hot glue it in place for added support


  • Step 7:

  • Snap the pieces together making sure it is correctly aligned