Tuesday, April 25, 2017

NETSH WLAN Cheat Sheet

netsh wlan show interface
(Shows BSSID, Authentication Type, Encryption, Channel, Transmit/Receive rate, etc.)

netsh wlan show profiles
(Shows wlan profiles settings)

netsh wlan show networks mode=BSSID
(Shows all BSSIDs with Channel info and received signal strength)



Thursday, April 13, 2017

Cisco AP Associated to Controller, but no clients connected

Ensure that "Admin Status" is set to Enabled.
Ensure radios are Enabled.

Ensure it is in local mode (not monitor mode).

Verify the country code is set correctly (some APs may be in UX or Universal mode).

Verify it is in the correct AP Group

Tuesday, April 11, 2017

How to Update Kali Sources List

Edit the /etc/apt/sources.list file
vi /etc/apt/sources.list

Type i to enter INSERT mode


Add the Kali Rolling Repository
deb http://http.kali.org/kali kali-rolling main contrib non-free

Hit ESC to exit INSERT mode
Type :wq to write changes and quit

Then update apt-get to have the new repository take effect.
apt-get update

Tuesday, April 4, 2017

How to Configure FreeRadius on Kali for 802.1X Authentication

Install FreeRadius on Linux
apt-get install Freeradius*

Define a Client (Wireless Controller)
vi /etc/freeradius/3.0/clients.conf

Type i to enter INSERT mode

client name {
ipaddr = <ip address>
secret = secret-password
}

Hit ESC to exit INSERT mode

Type :wq to save changes and exit

Define a User and Password

vi /etc/freeradius/3.0/users

username Cleartext-Password := "password"

Save changes and exit

Start the Radius Server in debugging mode
freeradius -X

Test the configuration
radtest username password localhost 0 testing123

*testing123 is the default password for "localhost"


To Enable PEAP:
Edit /etc/freeradius/3.0/mods-enabled/eap
vi /etc/freeradius/3.0/mods-enabled/eap
Set the default eap type to peap

Configure MSChapv2
vi /etc/freeradius/3.0/mods-enabled/mschap
Set "use_mppe" to yes
Set "require_encryption" to yes
Set "require_strong" to yes

Restart freeradius to have changes take effect
killall freeradius
freeradius -X