Jump to content

Pineapple + Raspberry Setup


Neworld

Recommended Posts

Alright guys here's my Pineapple + Raspberry setup. I'm running pwnpi on my raspberry and going to setup ics to the pineapple. Here's what I have:

post-40252-0-18926100-1345359141_thumb.j

Pictures:

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

http://www.flickr.co.../in/photostream

Where I got the parts:

mini wifi adapter-

http://www.amazon.co...-Bit Compatible

(still looking for good sd card)

sd card-

http://www.amazon.co...eywords=sd card

Faster sd card- (I haven't tested, might work or may not)

http://www.amazon.co... 10 Extreme Pro

Alfa for deauth-

http://www.amazon.co... NEWEST VERSION

Usb for hub power-

http://www.amazon.co... Connector Tips

Replacement pigtail (in case you have low range)-

http://www.amazon.co... Mini PCIe Wifi

Anker battery-

http://www.amazon.co...Astro3 10000mAh

Usb hub-

http://www.bestbuy.c...2&skuId=2389094

Pineapple mark 4-

http://hakshop.mysho.../wifi-pineapple

Raspberry Pi-

http://www.element14...ps/raspberry-pi

The other cords came with the Anker battery.

I WILL BE POSTING VIDEOS SHORTLY ON SSHing TO THE PINEAPPLE THEN TO THE RASPBERRY, THEN DOING A VNC OVER SSH.

(glad to finally contribute back to the community) :D

Edited by Neworld
Link to comment
Share on other sites

This looks interesting and I'm looking forward to your movies. B)

Although I'm wondering what's the point in using a raspberry? I mean, do you get some extra sauce or what? Would the extra power draw be justified in the extra abilities that the pi has?

Actually it would be great if you could show us a nice little trick or feature that you would need the pi to accomplish.

(sorry for my lack of knowledge regarding the pi and pwnpi. I have a pi lying around, but didn't find it interesting anymore when i got the Pineapple :D)

Link to comment
Share on other sites

This looks interesting and I'm looking forward to your movies. B)

Although I'm wondering what's the point in using a raspberry? I mean, do you get some extra sauce or what? Would the extra power draw be justified in the extra abilities that the pi has?

Actually it would be great if you could show us a nice little trick or feature that you would need the pi to accomplish.

(sorry for my lack of knowledge regarding the pi and pwnpi. I have a pi lying around, but didn't find it interesting anymore when i got the Pineapple :D)

One thing that you will find more and more as you start to add stuff (modules, etc etc) to your pineapple is that the MK4 runs out of CPU pretty quick. From my experience when the pineapple is out of CPU it just sits there until it can catch up, or in some cases reboots. This is a pain because unless your pineapple boots up and does everything you want starts up with no user interaction your screwed. (think hidden pineapple and it reboots and then you lose tcpdump or something!)

The Pi is just a great way to offload some functions that don't necessarily need to be run from the pineapple allowing the pineapple to do what it does best, Karma!

Link to comment
Share on other sites

What is your pineapple doing when it runs out of CPU and reboots? Ultimately the pineapple should be able to "do the thing" every time, reliably. I am intrigued by your Pi setup. Wonder if it would all fit in a Pelican Micro 1050.

Not a 100% success rate for a reboot but if I run tcpdump, sslstrip, deauth on external wifi card, and 3G or 4G modem sharing a USB hub with storage depending on the amount of users it will peg the cpu.

Again its not always a problem but if I am going to shall we say leave it in a "special" place I cant have it go down.

Link to comment
Share on other sites

@itsm0ld - I agree with you, the pineapple is unstable, it has low cpu and modules that weigh heavily on it. I've also had a lot of issues with the pineapple restarting.

@Darren - If you need to reproduce a pineapple restart, just start the pineapple, eighter plugged to a battery or a wall plug (doesn't matter), then start Karma, SSLStrip and Jammer (this obviously also requires a powered hub, usb memory stick and an adapter), then wait 5-10 minutes. (this may or may not be influenced by the number of access points in your area, a higher number of ap's will probably make the jammer use more cpu)

@Neworld - I have all of the gear that you have there, never hooked up the pi (that I just use as a media center) to the mk4, can't imagine it will do any good, and as a person with expirience with the mk4 and the pi, if you take what you have there on the road with you, you'll probably end up with a reboot festival. The mk4 and the pi are both unstable hardware in my opinion and will probably restart for one reason or another, you're just doubling the chances of unexpected problems to pop up, and if you'll place the pi in a small container with other devices that heat up it will surely end in a reboot from reaching it's max heat, as specially if you overclocked the pour thing.

All in all, what I really want to ask you is if you managed to get the AWUS036NHR working with the mk4 or pi. The last time I attempted to use that exact adapter there wore no drivers for it patched for injection and it used to load a driver for a different chip by default (specifically from the compat-wireless pack of drivers), that was patched for injection, but had a lot of issues with this device, eighter monitor or injection wouldn't work properly or at all.

Edited by Jaruba
Link to comment
Share on other sites

Alright guys so I'm having difficulty with the particular sd card I have right now... I can show how to setup ssh to the raspberry pi, but vnc will be quite slow.

If you have a raspberry pi, can you recommend me to a sd card that is known to be working well with pwnpi?

Thanks :D

Link to comment
Share on other sites

I doubt that pwnpi is the issue, but I do remember seeing posts of people buying sd cards that don't work with the rpi. (i've read that sandisk sd cards don't work, don't know about any other companies)

I have 2 micro sd cards with adapters, both from kingston that work flawlessly with the rpi.

Link to comment
Share on other sites

I doubt that pwnpi is the issue, but I do remember seeing posts of people buying sd cards that don't work with the rpi. (i've read that sandisk sd cards don't work, don't know about any other companies)

I have 2 micro sd cards with adapters, both from kingston that work flawlessly with the rpi.

May I ask you try booting pwnpi on either of them and report the results?

Here are some issues I can show visually.

DSC01306

DSC01305

Looks like an effect of sd read/write speed. (wasn't sure about the side bar)

Link to comment
Share on other sites

You have some serious errors there, I currently have the debian installation of the rpi os on one and openelec for the media center on the other, I should recieve 2 x Class 10 SD Cards from Kingston eighter today or tomorrow (already ordered), and will have an answer for you then. (was planning to put pwnpi on one anyway)

Link to comment
Share on other sites

I use the media link with the raspberry pi, and not with the pineapple... I'll look for a driver tonight to have it work with the pineapple, but I can't guarantee I'll find it.

If your looking for a wifi dongle that is known to work, I would recommend the Alfa AWUS036H... Also, in the next update, the Alfa AWUS036NHA should work.

Here is a link to the one that is guaranteed working (Alfa AWUS036H):

http://hakshop.myshopify.com/products/black-usb-wifi-adapter-with-5dbi-antenna-realtek-8187l-chipset

Link to comment
Share on other sites

New world, is there any need for the pineapple in your setup? Wouldn't it be cleaner to have your pi pump out the hotspot and do away with the pineapple. pwnstar is a great script to start up the access point and sniffers/ssl strip all from the rasberrypi.

Link to comment
Share on other sites

New world, is there any need for the pineapple in your setup? Wouldn't it be cleaner to have your pi pump out the hotspot and do away with the pineapple. pwnstar is a great script to start up the access point and sniffers/ssl strip all from the rasberrypi.

Hmmm.... I've never thought of it that way before. I always visioned the Pi as a deauth tool and a vnc server. It's main intentions were to share the load of the pineapple.

It would be interesting though to see if you could run the whole process from the Raspberry Pi..... I wouldn't know where to start though, nor do I have the time anymore since college is back in session.

Do you have a Raspberry pi of your own to experiment with this idea?

Link to comment
Share on other sites

  • 3 weeks later...

New world, is there any need for the pineapple in your setup? Wouldn't it be cleaner to have your pi pump out the hotspot and do away with the pineapple. pwnstar is a great script to start up the access point and sniffers/ssl strip all from the rasberrypi.

I actually have a Raspberry Pi coming tomorrow (Hopefully) and I plan to do almost the same setup. Though I agree that alot can be done with the Rasperry Pi, both it and the Pineapple have some hardware limitations. Also in combining them you don't eliminate a single point of failure but you do give yourself multiple means of access so you can diag if needbe.

Again, I haven't yet received my Pi and my opinion may change after it is setup.

Link to comment
Share on other sites

  • 2 weeks later...

I actually have a Raspberry Pi coming tomorrow (Hopefully) and I plan to do almost the same setup. Though I agree that alot can be done with the Rasperry Pi, both it and the Pineapple have some hardware limitations. Also in combining them you don't eliminate a single point of failure but you do give yourself multiple means of access so you can diag if needbe.

Again, I haven't yet received my Pi and my opinion may change after it is setup.

Report back your thoughts.

Link to comment
Share on other sites

Been working on something like this as well.

So far I got: (all split from a single jack powered by a 5vdc regulated wall wart)

[horent-ub] <------(rj45)-------> [Raspberry Pi] <-------(usb cable spliced into the 5vdc power suply)-----> [AWUS036NHA]

Would love to put an ubertoothone in there[the rather small project box] as well (just the naked chips atm so dont take up much room at all) but the practicality[for this build] vs the price of it at this point is kinda meh.

Basic idea, pineapple gets the "players" and if they open any webpage they find themselves presented with a "You are currently in a war game... would you like to opt out?" If they select yes, black list em, if no give them the details to ssh into the raspberry pi, there give them a bunch of fun tools like metasploit running etc. Fun thing about this you can ssh into it with your smart phone if you liked, check out all the other "players" and attempt to compromise one another. The alfa card is there for any number of reasons, it will undoubtedly come in handy. The pineapple also gives the ability to redirect and host the payload sites you may need... although anyone "playing" should be too silly to fall for that.

So yeah war game in a project box... put it somewhere public and people can "play" till their hearts content. could build one of these without the alfa for about $100 so this is a fairly cheep price for fun.

Multiplayer yay!

(Anyone else doing this I recommend getting a rev 2 pi as the usb 2 is actually to spec on the new ones and you don't need to splice cables and/or short the polyfuses. Also the mounting holes make life much easier. If you are really keen you could set it up connected to the hornet to flash it again from the raspi but you would naturally have to connect via the alfa... remote unbricking ftw!)

Edited by Wookiee
Link to comment
Share on other sites

Here is what it looks like all up and running (arch on the Pi) automaticly sets its ip to 42.42 on start up and the wireless is currently configured to my home network and then it forwards that on to the pineapple. ssh works pinapple side aircrack works metasploit works (although its a bit of a hog for the wee thing) no gui on it but then you wouldent need one, thinking about putting nesus on there as well. nmap etc hell I got 8 gig to play with I can remotely put on what I need.

Future mods to the thing, fan in the back (as you can see tons of room) ubertooth one... because I can. Power light so I can tell at a glance.and maybe extend the hornets 2 buttons to the project box. Then to paint it up put pvc over the antena put a sign on the front, (something to the ilk of "Monetering/Relay/Audit station warning low voltage." in one of those white signs with red writing) find a wall with a cealing to mount it to with a power point near by. Kind of like a junction box or something.

As it is the thing works perfectly well stand alone and once installed I am sure some one would let me use their wifi to access the internet to keep metasploit up to date and give all the "players" free internets

If I made another one I would probably take the jacks off the pcbs (usb, ethernet, power, etc) get em thin then sandwitch them together with minimum gap and just connect them directly. Could probably fit all of them into a standard pineapple case let alone the pelican hardcase. As it is all limitations were overcome with creative wireing no changes to the existing hardware. If I wanted to make this perminent I think I would try and go as small as a smartphone.

post-40915-0-42744400-1349861120_thumb.j

post-40915-0-70815600-1349861202_thumb.j

Edited by Wookiee
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...