Questions tagged [wpa]

Wi-Fi Protected Access - security protocol and security certification program to secure wireless computer networks.

Wi-Fi Protected Access - security protocol and security certification program to secure wireless computer networks.

135 questions
1
vote
1 answer

Unable to find traffic for specific device w/ Wireshark (over Wi-Fi)

I have a device communicating with a TCP server running on my machine. My machine is normally connected to the network via ethernet, however I also have a wireless adapter that I can use to connect to my router. The device (TCP client) is connected…
user3693406
  • 101
  • 8
1
vote
0 answers

force Hostapd to make connection with wrong password

hi i'm trying to make a penetration testing platform and i need to edit hostapd application to make connection with wrong password. my try : i changed wpa_auth.c : if (!ok) { wpa_auth_logger(sm->wpa_auth, sm->addr, LOGGER_DEBUG, …
user3001228
  • 343
  • 3
  • 13
1
vote
0 answers

Hostapd - print wpa passphrase

It's possible to print wpa passphrase in hostapd (by editing the code)? This is the conf of hostapd (we use TKIP)…
1
vote
0 answers

WiFi connection to WPA2 PSK

I am struggling through one issue that is- I am trying to connect with a SSID which is WPA2 PSK by below code: WifiConfiguration conf = new WifiConfiguration(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)…
Subhalaxmi
  • 5,687
  • 3
  • 26
  • 42
1
vote
1 answer

If I know the password of a WPA2 access point, can I passively eavesdrop to communications?

Suppose there's a WPA2 hotspot with a few stations connected to it, and suppose I know the passphrase to connect to this hotspot. Will it be possible to decrypt everyone's communication by being completely passive? (i.e. just sniffing the packets…
greenmind
  • 175
  • 1
  • 2
  • 14
1
vote
1 answer

Make Android hotspot use WPA2 PSK

My app configures and activates an access point: // Expose the required method WifiManager wifimanager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE); Method setWifiApEnabled = wifiManager.getClass().getMethod("setWifiApEnabled",…
Mark Smith
  • 880
  • 1
  • 8
  • 25
1
vote
1 answer

C++ Determine security type (WEP or WPA) using linux library iwlib?

I need to create wpa_supplicant.conf for different type of encryption(WEP, WPA and NONE). I'm scanning for available AP using iwlib and wireless events. Problem is that i can't find security type in scanning result. How to do that? Thank you for…
wallrite
  • 21
  • 6
1
vote
0 answers

Python 802.11 parser from raw socket

Working on a 802.11 parser from raw socket. The purpose of the parser is determine how much of the packet to keep for further processing. Only layer 2 is being saved, all layer 3 and above are stripped. All is well until the security portion. WEP…
WraithWireless
  • 634
  • 9
  • 21
1
vote
0 answers

WPA supplicant ERROR WPA: 4-Way Handshake failed in WiFi Direct setup

I am trying to set up WiFi Direct between two linux machines. I am using Atheros 9k cards to set up the connections. We have a problem in the process which I hope you guys can help me. When I run WPA Supplicant in both of the parts, I get…
user283511
  • 11
  • 1
  • 2
1
vote
1 answer

Connecting to WPA2 private with pre-shared keys

I have a problem connecting to using AES only. I can successfully connect using WPA2 (TKIP) but not (CCMP). If I comment out the two TKIP lines at the end I can't connect any longer. I wonder if CCMP is implemented in Android at all? private…
Ben
  • 3,012
  • 1
  • 21
  • 25
1
vote
0 answers

How to calculate PTK from PMK (WPA simulation)

Im writing a WPA simulation but I cant figure out the transform for the PTK from PMK. I calculated the PMK = PBKDF2_HMAC_SHA1(passphrase,essid,strlen(essid),4096,32) using openssl library. The PTK is something like…
tozhan
  • 413
  • 1
  • 7
  • 18
1
vote
1 answer

Wireshark doesn't capture 802.11 data packets

Lately I have been trying to analyze wifi traffic over my own test router. I looked on the wireshark website on how to do this and setup my own testing network. my network: -dd-wrt router with WPA2 personal mixed security using tkip+aes. -kali linux…
user1474685
1
vote
1 answer

Authenticating Client to fake WPA AP without valid PMK?

So I've been looking through the WPA and 4-way handshake mechanisms trying to brainstorm the possibilities for creating a fake AP with WPA encryption, an option which seems to be missing from airbase-ng. Here are my thoughts so far: I create a fake…
Ahmad Hazimeh
  • 106
  • 1
  • 8
1
vote
1 answer

How to programatically validate WPA passphrase on Linux?

I'm trying to validate the user's input of SSID and WPA Passphrase for a WPA connection. My program is a Python program running on an embedded Linux platform. I can validate an Access Point with SSID exists by parsing the output of a iwlist scan…
doughgle
  • 827
  • 1
  • 9
  • 18
1
vote
1 answer

How to serialize Wi-Fi config object to wpa_supplicant.conf

there Here is an example of wpa_supplicant.conf # allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel # # home network; allow all valid ciphers network={ ssid="home" …
Mac Lee
  • 326
  • 1
  • 2
  • 12
1 2 3
8 9