Pineapple Cloning Tutorial, Pt. 1: Hardware and Firmware

New series on Pineapple Cloning!

A Year of Pwnagotchi, and Now… Pineapple Cloning!

Nearly a year ago, I started my Pwnagotchi series. While you can still expect a Top 10 Pwnagotchi Plugins video and continuing coverage, today I’m starting a brand new series on Pineapple Cloning!


Why Pineapple Clone?

A Pineapple Clone is:

  • Cheaper
  • More versatile
  • More powerful than a Pwnagotchi

Plus, if you attach googly eyes to it, it can be just as kawaii!


What We’ll Cover:

In this video, we’ll cover:

  • Preferred hardware
  • Where to find OpenWRT and Pineapple clone firmware
  • Installation steps
  • Important considerations

About the Hak5 Pineapple

The Hak5 Pineapple is a powerful tool for network security professionals. Originally created as a compact Wi-Fi auditing device, it supports:

  • Man-in-the-middle attacks
  • Rogue access points
  • Network reconnaissance

The Pineapple Termidor Project by xschwarze clones the functionalities of the Pineapple NANO and TETRA onto commercially available routers that support mips or mipsel architectures, using OpenWRT.


Preferred Hardware

xschwarze recommends:

  • GL.iNet GL-AR150 or GL-AR750S
  • USB 2-port hub
  • RT5370 or MT7612U Wi-Fi adapter (for devices without dual Wi-Fi adapters)

I recommend the GL.iNet GL-MT300N-V2 for its:

  • Affordability
  • Availability
  • Hackability

The GL-MT300N-V2 (Mango) and GL-AR750S (Slate) both come with pre-installed OpenWRT and can be powered by a battery bank. The Slate supports 2G and 5G and has a slot for a microSD card. The Mango is more affordable but lacks these features.


Process Overview:

Flashing the wrong OpenWRT version can brick your router. Here’s the correct process:

  1. Download OpenWRT v19.07.7 firmware and Pineapple clone firmware specific to your router.
  2. Flash the OpenWRT 19.07.7 firmware.
  3. Flash the Pineapple clone firmware.

Important Considerations:

  1. The GL.iNet OpenWRT GUI is accessible at 192.168.8.1.
  2. After flashing, 192.168.8.1 will update with the new OpenWRT firmware.
  3. After the second flash, the Pineapple clone GUI will be available at 172.16.42.1:1471.

Unboxing Time:

Mango: Plastic wrap, paper, and cables—check! Slate: Same deal, but with a slip saying, “Bricking the router is your inescapable destiny.” Fun.


Firmware Selection Tips:

Go to firmware-selector.openwrt.org, select v19.07.7, and search for your router model. If the search doesn’t work, tweak your search terms.

Then, head over to gitlab.com/xchwarze/wifi-pineapple-cloner-builds to download the Pineapple clone firmware for your specific router.


Flashing the Firmware:

Here’s the simplified process:

  1. Go to 192.168.8.1 and create a password.
  2. Navigate to Upgrade > Local Upgrade, select your OpenWRT firmware, and flash it.
  3. After it updates, go to System > Backup/Flash Firmware, select your Pineapple clone firmware, and flash it.
  4. Open a new tab at 172.16.42.1:1471 and refresh until you see the Pineapple interface.

Oops! I Bricked It…

I bricked two Slate routers after flashing the wrong firmware. Lesson learned! Next episode, we’ll cover unbricking with a USB-to-TTL adapter. It’s finally here!: https://youtu.be/-0q9BgFu9nQ


What’s Next?

In upcoming episodes, we’ll mod a Mango case and antenna, explore the Pineapple interface, and dive into advanced hacks. Stay tuned!

P.S. If Hak5 licensed their firmware for a small fee and supported xschwarze, it’d be a win for everyone. Until then, please support them in other ways!

10 Comments

  1. Roberto Ramos

    Reply

    Hey there! Great article. Quick question: if the Mango doesn’t have a microSD slot, where does the Pineapple clone store its stuff? I mean, OpenWrt only needs 2GB. Also, where do the Pineapple modules and stuff get installed? Sorry for all the questions, but I just got a Mango v2 and can’t wait to set it up with Pineapple. Thanks!

    • Reply

      Hi, thanks! The mango has limited onboard memory but enough to flash firmware and save some modules. Also, you can save stuff to a USB drive, it has one port. Next video will include a case mod to accommodate a USB port expansion mod. The Mango is pretty easy to do the initial setup with but just in case: https://youtu.be/-0q9BgFu9nQ

  2. Reply

    Pineapple not bricked my TP-Link TL-WR1043ND v4 (blue) wifipineapple clone! It was like this: Openwrt-19.07.7-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade does not want to be installed from the standard tp-link page I started installing lede-17.01.4-ar71xx-generic-tl-wr1043nd-v4-squashfs-factory.bin (my mistake) Then in lede I started to eliminate tl-wr1043nd-v4-universal-sysupgrade.bin (pineapple) the address http://172.16.42.1/ of the admin page was registered, but pineapple itself was not there, it loaded for a long time but nothing happened (~10 minutes). I turned off the router, I realized that I was finished) that the firmware on the other openwrt— “leda” did not work, I brought it back to life with the tftpd64.exe program (maybe it will be useful to someone) with an increase in firmware from (17.01.04 to 17.01.06) lede-17.01.6-ar71xx-generic-tl-wr1043nd-v4-squashfs-factory.bin and oh God it was installed so not all was lost) I’m happy! And now it’s just a stone’s throw back to the tplink firmware. Pineapple will not brick your device, I think, I thought that 192.168.1.1 (openwrt) would never return from 172.16.42.1/ (pineapple). Openwrt-19.07.7 does not want to be installed ((( That’s how it is)

  3. Notorious_squirrel

    Reply

    I’ve managed to flash everything am getting it all running, I just can’t seem to get the thing to connect to the internet so I can download modules. Pls can you help.

  4. clones

    Reply

    anyone has this software its not on website any more

    9.7.7 WRT is no longer on the OpenWRT website…

Leave Comment

Your email address will not be published. Required fields are marked *