& Jasager Pineapple Setup
All credit for this HowTo go's to taiyed14
I just made this HowTo page for the Hak5 forums and commented/tidied up the shell scrip & added the sslstrip stuff
---------------------------------------
When you get to setting the IP address in the Webif and the /etc/config/dhcp
Set then to the IP address I have in there
i.e. 10.110.0.2 for the pineapple and stuff
---------------------------------------
- On Pineapple -
IP address = 10.110.0.2
Ethernet Interface = ETH0
WiFi Interface = WiFi
- On laptop -
Ethernet Interface - Pineapple GW IP address = 10.110.0.1
Internet Facing Interface & Wireless Interface = wlan0
Pineapple Facing Interface & Ethernet Interface = eth0
This is how it will all work in the end.
[Internet+DNS > ("DHCP"GW > wlan0) > (eth0 > "DHCP"ETH0 > WiFi)]
----------------------------------------------
If you have a FON La Fonera NOT a la Fonera+
Then you can just use this scrip to set up your pineapple for use with the Pineapple.sh script below
And then skip to section - 2 -
Otherwise just keep on reading the HowTo. It is simple anyway.
Follow the README file inside
Uploaded at these two sites
pineapple-setup-0.1
http://rapidshare.co...etup-0.1.tar.gz
http://www.filefacto...etup-0_1_tar_gz
sha1-sum = 096eba367c6d570685f623ae84ba5288aef0e08e
md5-sum = 11a48e9a7e73c7729daeb32b5cee06bd
----------------------------------------------
( Section - 1 - )
First lets set up the Jasager-Pineapple
Connect to the Jasager-Pineapple and SSH into it
Now you need to edit the /etc/config/dhcp Configuration file. So, it looks like this.
option 'domainneeded' '1'
option 'boguspriv' '1'
option 'filterwin2k' '0'
option 'localise_queries' '1'
option 'local' '/lan/'
option 'domain' 'lan'
option 'expandhosts' '1'
option 'nonegcache' '0'
option 'authoritative' '1'
option 'readethers' '1'
option 'leasefile' '/tmp/dhcp.leases'
option 'resolvfile' '/tmp/resolv.conf.auto'
config 'dhcp' 'lan'
option 'interface' 'lan'
option 'start' '100'
option 'limit' '150'
option 'leasetime' '720m'
option 'ignore' '0'
list 'dhcp_option' '3,10.110.0.1' # This is the IP address of . .
#. . The Host Laptop's Net-Interface acting as GW
list 'dhcp_option' '6,10.110.0.2,8.8.8.8' # This is Option 6 define the DNS server, . .
# . . Then IP of Pineapple, Then Googles DNS IP
config 'dhcp' 'wan'
option 'interface' 'wan'
option 'ignore' '1'
option 'start' '100'
option 'limit' '150'
option 'leasetime' '720m'
! Don't Reboot Yet !
Now, Navigate to the Webif Admin Web Page of Network/Networks i.e.
http://<IP ADDRESS OF YOUR PINEAPPLE AT THIS TIME>/cgi-bin/webif/network.sh
OK Now, Fill in the input fields with this information. . .
Type = Bridged
IP Address = 10.110.0.2
Netmask = 255.255.255.0
Default Gateway = 10.110.0.1
Lan DNS servers = Leave Blank Or Set To 10.110.0.2
NOTE: Make sure there is not 10.110.0.1 in the DNS box or Anything ells It will mess things up.
Now, hit the "Save Changes" Button then Apply Changes at the bottom.
It probably will not reconnect so just let it sit for like 5min's then Power Cycle
------------------------------------------------
OK Jasager Powered Pineapple is all setup
------------------------------------------------
( Section - 2 - )
Now connect to the Internet through a Wireless Router with your Host Laptop's Wireless Interface "wlan0"
You can download this script pineapple-0.9.1 from this link.
Extract the tar.gz file. Navigate into it and run the installer as root
NEW PINEAPPLE-0.9.1 Support for BackTrack4 included in the installer!
http://rapidshare.co...le-0.9.1.tar.gz
md5sum = 317f6e9fd878d0e062950b435d22f6e9
sha1sum = e2f982e6f9bebfd7fee2b5c02065a5fd75456ac0
OLD PINEAPPLE-0.9
http://rapidshare.co...pple-0.9.tar.gz
md5sum = d904beabab441a8990d6423d7a02e9fb
sha1sum = b29583126a3ad4e8dc65ea219b56f293d46a8bd9
OLD PINEAPPLE-0.8
http://rapidshare.co...pple-0.8.tar.gz
md5sum = d6db93a2befab50a23a92785934a9289
sha1sum = b4f04d06e99361c7dbeb48cfeacd810182710d22
===========================
OLD PINEAPPLE-0.6
http://rapidshare.co...pple-0.6.tar.gz
md5sum = aedec7f15ff5f37f0ceaa6ddbe740232
sha1sum = 4f641e61455eac36af2bb036812e10770d44d084
OLD PINAPPLE-0.4
http://rapidshare.co...pple-0.4.tar.gz
----------------------------------
All Right then
----------------------------------
Now you can just connect to a Wireless Router with the Wireless Interface on the Host Laptop
Then run this command after install with root privileges
Then Plug in the Pineapple
----------------------------------------------------------------------
Navigate to the Jasager Admin Webpage and turn Karma ON.
Make sure you add Your Fon Routers essid of "pineapple" or "OpenWrt" to the "Black List" - Every Time you Reboot the router ! ! !
Now Start up Wireshark on your Host Laptop and listen on interface "eth0" and get your packet sniffing on.
Check out the dsniff tools too.
Maybe Run an Attacker WebPage with all the latest Exploits & redirect victims there.
Maybe inject Javascrip or Flash and take control of the users WebCam
Also, If you deauth victims and maybe run a DOS on there AP they will connect to your Pineapple.
Maybe have an open WiFi LAN with an essid of "Free Public WiFi" and victims will connect on purpose.
--------------------------
The possibilities are endless.
SOOO much better then attacking one network at a time.
================================================
To Kill all of this just Run these commands with Root privileges
iptables -F
/etc/init.d/iptables stop
================================================
If you have problems with Pineapples Clients not being able to connect to the internet.
Ping your way out... Watch Wireshark and find out where the brake is.
Start up a VirtualBox. Give it it's own Wireless NIC Via USB Pass Through
Open a Shell and . . .
ping 10.110.0.1
ping (The wlan0 IP address)
ping (The GW address)
ping 8.8.8.8
ping google.com
Edited by echoblack, 30 May 2010 - 06:21 AM.
















