Jump to content

2.3.1 & Android


Recommended Posts

***Awesome device, thanks for all the hard work!

I have updated to 2.3.1 and all seems to look clean. When USB tethering to my Android phone, the device has Internet connectivity, but the PWN'd device(s) through Karma do not. DNS spoofing is not on. I have been looking through to find anything and cannot seem to figure out the cause. Any help?

Link to comment
Share on other sites

To add more color to the issue, on an PWN'd host (running WinXP), NSLOOKUP returns:

pineapple.lan as my DNS server

and

it does properly resolve the public IP addresses of names sent.

Those addresses do not work in a browser, just like the FQDN does not.

Link to comment
Share on other sites

To add more color to the issue, on an PWN'd host (running WinXP), NSLOOKUP returns:

pineapple.lan as my DNS server

and

it does properly resolve the public IP addresses of names sent.

Those addresses do not work in a browser, just like the FQDN does not.

NAT/PAT issue. You need to adjust where the device is routing and add masquerade.

You know this is needed when you can get to the Internet from the Device, but not from devices attached to it.

The WAN port Wiki has the commands, just need to adjust the interfaces to match what your connected with (USB Tether)

WAN Port

Link to comment
Share on other sites

also the original thread should shed light on what you should also check,

http://forums.hak5.org/index.php?showtopic=26601

I think darren hinted at something in the ui to configure all the ways to get connected to internet, maybe It's still planned?

It may be possible that the IPtables have messed up.

I will look into it and fix it asap.

Best,

Sebkinne

Link to comment
Share on other sites

On my Galaxy S2 while tethered it shows the gateway as being usb0,

But the default gateway is showing up as 192.168.42.129 on the pineapple, but as 172.16.42.129

on my phone earlier today and now as “not available” as I retried this tonight.

Dns Resolution works from clients connected through Karma but no internet connection.

From Pineapple itself I can ping and download packages through phone so that’s working correctly.

Hope this is of some help, or just a verification of issues.

Edited by BagOfNarcissism
Link to comment
Share on other sites

Sorry for not ploughing through the forums a bit more,

this was anwsered by Wiregr in another thread,

iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o usb0 -j MASQUERADE

iptables -A FORWARD -s 172.16.42.0/24 -o usb0 -j ACCEPT

iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i usb0 -j ACCEPT

Worked a charm,

Bag.

Edited by BagOfNarcissism
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.

 Share

  • Recently Browsing   0 members

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