sensepost / mana

*DEPRECATED* mana toolkit for wifi rogue AP attacks and MitM
https://w1f1.net/
Other
1.09k stars 275 forks source link

Connecting #37

Open Maxtest opened 9 years ago

Maxtest commented 9 years ago

I have a problem with the Mana-Toolkit on multiple laptops. When I launch the application it broadcasts the SSIDS for the devices. But I have to manually start the connection. The devices (iPhone, iPad, androids, laptops) do not start the connection automatically. For example, I have a wifi called 'School' which my iPhone automatically connects. So Mana reacts on the beacon frames and starts a SSID 'School'. The iPhone do not starts the connection automatically, I have to start the connection manually by clicking on the SSID on the iPhone. A few years ago I had a Pineapple who automatically starts the connection, if the wifi is on, without any user interaction. Is this a limitation from the Mana-Toolkit or am I missing something?

singe commented 9 years ago

Without much more detail I'd guess that if it isn't connecting automatically you've likely not matched the security settings. eg if School was an WPA2 PSK network and mana is advertising it as an open network devices will see that as a different network.

It's not a limitation, the point of mana is to get auto connections.

On 07 Jul 2015, at 11:35 AM, Maxtest notifications@github.com wrote:

I have a problem with the Mana-Toolkit on multiple laptops. When I launch the application it broadcasts the SSIDS for the devices. But I have to manually start the connection. The devices (iPhone, iPad, androids, laptops) do not start the connection automatically. For example, I have a wifi called 'School' which my iPhone automatically connects. So Mana reacts on the beacon frames and starts a SSID 'School'. The iPhone do not starts the connection automatically, I have to start the connection manually by clicking on the SSID on the iPhone. A few years ago I had a Pineapple who automatically starts the connection, if the wifi is on, without any user interaction. Is this a limitation from the Mana-Toolkit or am I missing something?

— Reply to this email directly or view it on GitHub.

Maxtest commented 9 years ago

Even with the open networks which my iPhone have "remembered" didn't start the connection automatically. Mana starts broadcasting the SSID but didn't make any auto connection. I can make the connection manually. I thought it was a misconfiguration but I didn't change anything from the config file since the installation. Even when I put the loud setting it didn't work.

keenhon commented 9 years ago

I am facing the same problem here. My setup on raspberry using kali rpi. Connected to a usb powered hub and WN722N. I just get a bunch of ... MANA - BROADCAST RESPONSE : 2a0498 (6) for STA 88:9f:fa:92:d8:4c MANA - GENERATED SSID response for 2a0498 (len 6) :) ... Only connect when I manually connect my devices.

keenhon commented 9 years ago

tried on a virtualbox machine on my laptop. Still the same. Nothing is auto connecting

singe commented 9 years ago

To try debug this, can you give me the details of:

Otherwise all I can do is say "sorry, it works when I try" on Windows 8.1, OSX Mavericks and Yosemite, iOS 7.x-8.x and Android KitKat & Lolipop.

On 12 Jul 2015, at 7:26 AM, keenhon notifications@github.com wrote:

tried on a virtualbox machine on my laptop. Still the same. Nothing is auto connecting

— Reply to this email directly or view it on GitHub.

keenhon commented 9 years ago

The devices I have on my network at the moment are

  1. iPhone 6 latest OS
  2. iPhone 6+ latest OS
  3. iPhone 5c latest OS
  4. Windows 8.1, Asus x205ta, Broadcom 802.11abgn wireless sdio adapter Haven't got my android device yet, left it in office.

The network connected by the devices are WPA2 with SSID:NERV. Other networks are all encrypted. The IOS devices have connected to open networks before.

How do I capture the management packets? I tried airmon-ng start wlan0 which change the interface to wlan0mon. When I run mana on that interface, it doesn't work.

On 12 Jul 2015, at 8:38 pm, Dominic White notifications@github.com wrote:

To try debug this, can you give me the details of:

  • the client devices (hardware, wifi card if possible, OS version)
  • the network (open/encrypted, present at the same time) If possible actual packet captures of the management frames.

Otherwise all I can do is say "sorry, it works when I try" on Windows 8.1, OSX Mavericks and Yosemite, iOS 7.x-8.x and Android KitKat & Lolipop.

On 12 Jul 2015, at 7:26 AM, keenhon notifications@github.com wrote:

tried on a virtualbox machine on my laptop. Still the same. Nothing is auto connecting

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.

singe commented 8 years ago

I've done pretty extensive testing with iOS, so I'm surprised that doesn't work.

You mention the NERV network uses WPA2, have you configure the same WPA2 PSK for that network in hostapd's conf? mana doesn't support WPA handshake capture/cracking/auto-add because it isn't particularly fast and existing tools can do it.

As for the iOS devices, the open networks aren't always probed for immediately, you may need to wait some time. Also try deauthing them off their existing network to force them to re-scan. A quick-er test may be to manually "seed" that network by probing for it with another device when loud mode is on, and see if they connect.