Posts

Installing TFTP server in Linux

Installing and Testing TFTPD Server in Ubuntu You will find many instances where you need to install TFTP server in your Test bed Machines and this guide would come in great handy. Just set up a TFTP server and thats it, no hassles of searching for Pen drives etc. 1. Install following packages. $ sudo apt-get install xinetd tftpd tftp 2. Create /etc/xinetd.d/tftp and put this entry service tftp { protocol        = udp port            = 69 socket_type     = dgram wait            = yes user            = nobody server          = /usr/sbin/in.tftpd server_args     = /tftpboot disable         = no } 3. Create a folder /tftpboot  this should match whatever you gave in server_args. mostly it will be tftpboot $ sudo mkdir /tftpboot $ sudo chmod -R 777 /tftpboot $ sudo chown -R nobody /tf...

Start with Wifi Basics - Part 3: 4-way Handshake

Before we understand the 4-way key hand shake let us understand few definitions: PMKSA The Pairwise Master Key Security Association (PMKSA) is created after a successful 802.1x negotiation as part of EAP, or when a Preshared Key (PSK) is configured. It ties the PMK to a lifetime, the authenticator MAC address, and other authorization information.  PTKSA The Pairwise Transient Key Security Association (PTKSA) is created after the 4-way handshake completes. It is dependent on the PMKSA and is stored for as long as the PMKSA is valid or until the station is deauthenticated. The PTKSA includes the supplicant and authenticator MAC addresses, the pairwise cipher suite selected, and the PTK itself. GTKSA The Group Transient Key Security Association (GTKSA) is created during the 4-way handshake or updated during a group key handshake. It stores the GTK, the broadcast/multicast cipher suites, and for which direction the GTK is good. GTK is used for Broadcast/Multicast traffic...

Start with Wifi Basics - Part 2: Types of Network and Association

Image
Using the method of Scanning we have found the available network, now its time to connect to them. There are Broadly two kinds of networks: 1. Open - Not Encrypted, No Authentication required, available to everyone and NOT recommended 2. Secured - Encrypted, Authentication required ( PSK or dot1x )     i. WEP based - WEP stands for Wired Equivaled Privacy. When the 802.11 standard was                  developed this was the only security network, but this network was not very much secured and was soon Broken. This kind of security is not used nowadays. This security was based on Password/ Dot1x Credentials shared by Network administrator. You really dont have to go in the details of this as this is DEAD.    ii. WPA - Soon after WEP was broken, there was an immediate need to have a secured network in Wireless LAN and thus Wifi Alliance came up with WPA (Wifi Protected Access) standard. WPA Standard used TKIP as an...

Start with Wifi Basics - Part 1: Scanning

Let us start with the basics of Wifi: Well if you want to connect to a Wifi Network, the first thing would be that your device finds it. The device finds the available Wifi networks in its vicinity by a process called "Scanning". Scanning is a process that a wifi station/client does to search the available networks around it. This can be done in two ways: Active Scanning Passive Scanning Active Scanning : In this, the Wifi Station (your Laptop, your mobile phone etc) sends out a packet called Probe Request  in each of the available channels and then waits to listen to a response from the Access Point ( A device that serves Wifi, usually seen hanging on the ceiling in offices) called a Probe Response. This packet contains the information like the SSID ( name of the network ), security Info ( what kind of security is required to connect to this network), Country Info, Channel info, Data rates etc. Passive Scanning:   In this, the Wifi Station just listens for Be...

About Me

Hi Everyone, Welcome to My First Blog Wifi Grow. I have started this Blog to share my Experience in learning, Testing Wifi Devices like Android Phones/Tables, Cisco Controllers and Access points. I have also great hands on experience dealing with Attenuators, RF boxes, Spectrum Analyzer. I would be using this blog to share my Wifi learning and sharing some interesting Wifi Stuff along with that I will also be giving few tips and tricks to use Automation in testing Wifi using Python. I hope I will keep myself very active for this Blog and keep updating new stuff. I am very excited to start this and I hope I will help others to grow their Wifi learning with me. I started my Career with Motorola Solution as a Software associate Engineer to test Wifi Stack on Windows Ce6.0 Enterprise class devices. I had absolutely no clue of automation or even what a script is. Thanks to Nagababu Parsi who helped me to start of with Perl Language and encouraged me to write small scripts. After wh...