wi fi technology & wap

43
Wi-Fi Technology Wi-Fi Technology Presented by: Divakar

Upload: divakar-triple-h

Post on 25-Jan-2017

302 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: Wi fi technology & wap

Wi-Fi TechnologyWi-Fi Technology

Presented by:Divakar

Page 2: Wi fi technology & wap

AbstractAbstract• IntroductionIntroduction• Wi-Fi TechnologiesWi-Fi Technologies• Wi-Fi ArchitectureWi-Fi Architecture• Wi-Fi Network ElementsWi-Fi Network Elements• How a Wi-Fi Network WorksHow a Wi-Fi Network Works• Wi-Fi Network TopologiesWi-Fi Network Topologies• Wi-Fi ConfigurationsWi-Fi Configurations• Applications of Wi-FiApplications of Wi-Fi• Wi-Fi SecurityWi-Fi Security• Advantages/ Disadvantages of Wi-FiAdvantages/ Disadvantages of Wi-Fi

Page 3: Wi fi technology & wap

REFERENCEREFERENCEwww.wi-fi.org..www.bluegiga.com..www.freescale.com..Wi-fi.com.Wi-fi.com.

Page 4: Wi fi technology & wap

IntroductionIntroduction• Wireless Technology is an alternative to Wired Wireless Technology is an alternative to Wired

Technology, which is commonly used, for Technology, which is commonly used, for connecting devices in wireless mode.connecting devices in wireless mode.

• Wi-Fi (Wireless Fidelity) is a generic term that Wi-Fi (Wireless Fidelity) is a generic term that refers to the IEEE 802.11 communications refers to the IEEE 802.11 communications standard for Wireless Local Area Networks standard for Wireless Local Area Networks (WLANs).(WLANs).

• Wi-Fi Network connect computers to each other, Wi-Fi Network connect computers to each other, to the internet and to the wired network.to the internet and to the wired network.

Page 5: Wi fi technology & wap

The Wi-Fi TechnologyThe Wi-Fi Technology

Wi-Fi Networks use Radio Technologies to Wi-Fi Networks use Radio Technologies to transmit & receive data at high speed:transmit & receive data at high speed:

• IEEE 802.11bIEEE 802.11b• IEEE 802.11aIEEE 802.11a• IEEE 802.11gIEEE 802.11g

Page 6: Wi fi technology & wap

IEEE 802.11bIEEE 802.11b

• Appear in late 1999Appear in late 1999• Operates at 2.4GHz radio spectrumOperates at 2.4GHz radio spectrum• 11 Mbps (theoretical speed) - within 30 m Range11 Mbps (theoretical speed) - within 30 m Range• 4-6 Mbps (actual speed)4-6 Mbps (actual speed)• 100 -150 feet range100 -150 feet range• Most popular, Least ExpensiveMost popular, Least Expensive• Interference from mobile phones and Bluetooth Interference from mobile phones and Bluetooth

devices which can reduce the transmission devices which can reduce the transmission speed.speed.

Page 7: Wi fi technology & wap

IEEE 802.11aIEEE 802.11a

• Introduced in 2001Introduced in 2001• Operates at 5 GHz (less popular) Operates at 5 GHz (less popular) • 54 Mbps (theoretical speed)54 Mbps (theoretical speed)• 15-20 Mbps (Actual speed)15-20 Mbps (Actual speed)• 50-75 feet range50-75 feet range• More expensiveMore expensive• Not compatible with 802.11bNot compatible with 802.11b

Page 8: Wi fi technology & wap

IEEE 802.11gIEEE 802.11g

• Introduced in 2003Introduced in 2003• Combine the feature of both standards Combine the feature of both standards

(a,b)(a,b)• 100-150 feet range100-150 feet range• 54 Mbps Speed54 Mbps Speed• 2.4 GHz radio frequencies2.4 GHz radio frequencies• Compatible with ‘b’Compatible with ‘b’

Page 9: Wi fi technology & wap

802.11 Physical Layer802.11 Physical Layer

There are three sublayers in physical layer:There are three sublayers in physical layer:

• Direct Sequence Spread Spectrum (DSSS)Direct Sequence Spread Spectrum (DSSS)• Frequency Hoping Spread Spectrum (FHSS)Frequency Hoping Spread Spectrum (FHSS)• Diffused Infrared (DFIR) - Wide angleDiffused Infrared (DFIR) - Wide angle

Page 10: Wi fi technology & wap

DSSSDSSS• Direct sequence signaling technique divides the 2.4 GHz band into Direct sequence signaling technique divides the 2.4 GHz band into

11 22-MHz channels. Adjacent channels overlap one another 22-MHz channels. Adjacent channels overlap one another partially, with three of the 11 being completely non-overlapping. partially, with three of the 11 being completely non-overlapping. Data is sent across one of these 22 MHz channels without hopping Data is sent across one of these 22 MHz channels without hopping to other channels.to other channels.

Page 11: Wi fi technology & wap

IEEE 802.11 Data Link LayerIEEE 802.11 Data Link Layer

The data link layer consists of two sublayers : The data link layer consists of two sublayers :

• Logical Link Control (LLC) Logical Link Control (LLC) • Media Access Control (MAC).Media Access Control (MAC).

802.11 uses the same 802.2 LLC and 48-bit addressing as other 802.11 uses the same 802.2 LLC and 48-bit addressing as other 802 LANs, allowing for very simple bridging from wireless to 802 LANs, allowing for very simple bridging from wireless to IEEE wired networks, but the MAC is unique to WLANs.IEEE wired networks, but the MAC is unique to WLANs.

Page 12: Wi fi technology & wap

802.11 Media Access Control802.11 Media Access Control• Carrier Sense Medium Access with collision Carrier Sense Medium Access with collision

avoidance protocol (CSMA/CA)avoidance protocol (CSMA/CA)• Listen before talkingListen before talking• Avoid collision by explicit Acknowledgement (ACK)Avoid collision by explicit Acknowledgement (ACK)• Problem: additional overhead of ACK packets, so slow Problem: additional overhead of ACK packets, so slow

performance performance • Request to Send/Clear to Send (RTS/CTS) Request to Send/Clear to Send (RTS/CTS)

protocolprotocol• Solution for “hidden node” problemSolution for “hidden node” problem• Problem: Adds additional overhead by temporarily Problem: Adds additional overhead by temporarily

reserving the medium, so used for large size packets only reserving the medium, so used for large size packets only retransmission would be expensiveretransmission would be expensive

Page 13: Wi fi technology & wap

802.11 Media Access 802.11 Media Access Control(cont.)Control(cont.)

• Power ManagementPower Management• MAC supports power conservation to extend the battery life of MAC supports power conservation to extend the battery life of

portable devicesportable devices• Power utilization modesPower utilization modes

• Continuous Aware ModeContinuous Aware Mode• Radio is always on and drawing powerRadio is always on and drawing power

• Power Save Polling ModePower Save Polling Mode• Radio is “dozing” with access point queuing any data for itRadio is “dozing” with access point queuing any data for it• The client radio will wake up periodically in time to receive The client radio will wake up periodically in time to receive

regular regular beaconbeacon signals from the access point. signals from the access point.• The beacon includes information regarding which stations have The beacon includes information regarding which stations have

traffic waiting for themtraffic waiting for them• The client awake on beacon notification and receive its dataThe client awake on beacon notification and receive its data

Page 14: Wi fi technology & wap

802.11 Media Access 802.11 Media Access Control(cont.)Control(cont.)

• FragmentationFragmentation• CRC checksumCRC checksum

• Each pkt has a CRC checksum calculated Each pkt has a CRC checksum calculated and attached to ensure that the data was not and attached to ensure that the data was not corrupted in transitcorrupted in transit

• Association & RoamingAssociation & Roaming

Page 15: Wi fi technology & wap

Elements of a WI-FI NetworkElements of a WI-FI Network

• Access Point (AP) - Access Point (AP) - The AP is a wireless LAN The AP is a wireless LAN transceiver or “base station” that can connect one or many transceiver or “base station” that can connect one or many wireless devices simultaneously to the Internet. wireless devices simultaneously to the Internet.

• Wi-Fi cards - Wi-Fi cards - They accept the wireless signal and relay They accept the wireless signal and relay information.They can be internal and external.(e.g PCMCIA information.They can be internal and external.(e.g PCMCIA Card for Laptop and PCI Card for Desktop PC)Card for Laptop and PCI Card for Desktop PC)

• Safeguards - Safeguards - Firewalls and anti-virus software protect Firewalls and anti-virus software protect networks from uninvited users and keep information secure.networks from uninvited users and keep information secure.

Page 16: Wi fi technology & wap

How a Wi-Fi Network WorksHow a Wi-Fi Network Works• Basic concept is same as Walkie talkies.Basic concept is same as Walkie talkies.• A Wi-Fi hotspot is created by installing an access point A Wi-Fi hotspot is created by installing an access point

to an internet connection.to an internet connection.• An access point acts as a base station. An access point acts as a base station. • When Wi-Fi enabled device encounters a hotspot the When Wi-Fi enabled device encounters a hotspot the

device can then connect to that network wirelessly.device can then connect to that network wirelessly.• A single access point can support up to 30 users and A single access point can support up to 30 users and

can function within a range of 100 – 150 feet indoors and can function within a range of 100 – 150 feet indoors and up to 300 feet outdoors.up to 300 feet outdoors.

• Many access points can be connected to each other via Many access points can be connected to each other via Ethernet cables to create a single large network.Ethernet cables to create a single large network.

Page 17: Wi fi technology & wap

Wi-Fi Network TopologiesWi-Fi Network Topologies• AP-based topology (Infrastructure Mode)AP-based topology (Infrastructure Mode)

• Peer-to-peer topology (Ad-hoc Mode)Peer-to-peer topology (Ad-hoc Mode)

• Point-to-multipoint bridge topologyPoint-to-multipoint bridge topology

Page 18: Wi fi technology & wap

AP-based topologyAP-based topology• The client communicate through Access Point. The client communicate through Access Point. • BSA-RF coverage provided by an AP.BSA-RF coverage provided by an AP.• ESA-It consists of 2 or more BSA.ESA-It consists of 2 or more BSA.• ESA cell includes 10-15% overlap to allow ESA cell includes 10-15% overlap to allow

roaming.roaming.

Page 19: Wi fi technology & wap

Peer-to-peer topologyPeer-to-peer topology• AP is not required.AP is not required.• Client devices within Client devices within

a cell can a cell can communicate directly communicate directly with each other.with each other.

• It is useful for setting It is useful for setting up of a wireless up of a wireless network quickly and network quickly and easily.easily.

Page 20: Wi fi technology & wap

Point-to-multipoint bridge topologyPoint-to-multipoint bridge topologyThis is used to connect a LAN in one building to a LANs This is used to connect a LAN in one building to a LANs in other buildings even if the buildings are miles in other buildings even if the buildings are miles apart.These conditions receive a clear line of sight apart.These conditions receive a clear line of sight between buildings. The line-of-sight range varies based between buildings. The line-of-sight range varies based on the type of wireless bridge and antenna used as well on the type of wireless bridge and antenna used as well as the environmental conditions.as the environmental conditions.

Page 21: Wi fi technology & wap

Wi-Fi ConfigurationsWi-Fi Configurations

Page 22: Wi fi technology & wap

Wi-Fi ConfigurationsWi-Fi Configurations

Page 23: Wi fi technology & wap

Wi-Fi ConfigurationsWi-Fi Configurations

Page 24: Wi fi technology & wap

Wi-Fi ApplicationsWi-Fi Applications

• HomeHome• Small Businesses or SOHOSmall Businesses or SOHO• Large Corporations & CampusesLarge Corporations & Campuses• Health CareHealth Care• Wireless ISP (WISP)Wireless ISP (WISP)• TravellersTravellers

Page 25: Wi fi technology & wap

Wi-Fi Security ThreatsWi-Fi Security Threats

• Wireless technology doesn’t remove any Wireless technology doesn’t remove any old security issues, but introduces new old security issues, but introduces new onesones• EavesdroppingEavesdropping• Man-in-the-middle attacksMan-in-the-middle attacks• Denial of ServiceDenial of Service

Page 26: Wi fi technology & wap

EavesdroppingEavesdropping• Easy to perform, almost impossible to detectEasy to perform, almost impossible to detect• By default, everything is transmitted in clear textBy default, everything is transmitted in clear text

• Usernames, passwords, content ...Usernames, passwords, content ...• No security offered by the transmission mediumNo security offered by the transmission medium

• Different tools available on the internetDifferent tools available on the internet• Network sniffers, protocol analysers . . .Network sniffers, protocol analysers . . .• Password collectorsPassword collectors

• With the right equipment, it’s possible to With the right equipment, it’s possible to eavesdrop traffic from few kilometers awayeavesdrop traffic from few kilometers away

Page 27: Wi fi technology & wap

MITM AttackMITM Attack1.1. Attacker spoofes a Attacker spoofes a

disassociate message disassociate message from the victimfrom the victim

2.2. The victim starts to The victim starts to look for a new access look for a new access point, and the attacker point, and the attacker advertises his own AP advertises his own AP on a different channel, on a different channel, using the real AP’s using the real AP’s MAC addressMAC address

3.3. The attacker connects The attacker connects to the real AP using to the real AP using victim’s MAC addressvictim’s MAC address

Page 28: Wi fi technology & wap

Denial of ServiceDenial of Service• Attack on transmission frequecy usedAttack on transmission frequecy used

• Frequency jammingFrequency jamming• Not very technical, but worksNot very technical, but works

• Attack on MAC layerAttack on MAC layer• Spoofed deauthentication / disassociation messagesSpoofed deauthentication / disassociation messages• can target one specific usercan target one specific user

• Attacks on higher layer protocol (TCP/IP protocol)Attacks on higher layer protocol (TCP/IP protocol)• SYN FloodingSYN Flooding

Page 29: Wi fi technology & wap

Wi-Fi Security Wi-Fi Security

The requirements for Wi-Fi network The requirements for Wi-Fi network security can be broken down into two security can be broken down into two primary components:primary components:

• AuthenticationAuthentication User AuthenticationUser Authentication Server AuthenticationServer Authentication

• PrivacyPrivacy

Page 30: Wi fi technology & wap

AuthenticationAuthentication• Keeping unauthorized users off the networkKeeping unauthorized users off the network• User AuthenticationUser Authentication

• Authentication Server is usedAuthentication Server is used• Username and password Username and password • Risk: Risk:

• Data (username & password) send before secure channel Data (username & password) send before secure channel establishedestablished

• Prone to passive eavesdropping by attackerProne to passive eavesdropping by attacker• SolutionSolution

• Establishing a encrypted channel before sending username Establishing a encrypted channel before sending username and passwordand password

Page 31: Wi fi technology & wap

Authentication (cont..)Authentication (cont..)

• Server AuthenticationServer Authentication• Digital Certificate is usedDigital Certificate is used• Validation of digital certificate occurs Validation of digital certificate occurs

automatically within client softwareautomatically within client software

Page 32: Wi fi technology & wap

Wi-Fi Security TechniquesWi-Fi Security Techniques• Service Set Identifier (SSID)Service Set Identifier (SSID)

• Wired Equivalent Privacy (WEP)Wired Equivalent Privacy (WEP)

• 802.1X Access Control802.1X Access Control

• Wireless Protected Access (WPA)Wireless Protected Access (WPA)

• IEEE 802.11iIEEE 802.11i

Page 33: Wi fi technology & wap

Service Set Identifier (SSID)Service Set Identifier (SSID)

• SSID is used to identify an 802.11 networkSSID is used to identify an 802.11 network• It can be pre-configured or advertised in It can be pre-configured or advertised in

beacon broadcastbeacon broadcast• It is transmitted in clear textIt is transmitted in clear text

• Provide very little securityProvide very little security

Page 34: Wi fi technology & wap

Wired Equivalent Privacy (WEP)Wired Equivalent Privacy (WEP)• Provide same level of security as by wired networkProvide same level of security as by wired network• Original security solution offered by the IEEE 802.11 Original security solution offered by the IEEE 802.11

standardstandard• Uses RC4 encryption with pre-shared keys and 24 bit Uses RC4 encryption with pre-shared keys and 24 bit

initialization vectors (IV)initialization vectors (IV)• key schedule is generated by concatenating the shared key schedule is generated by concatenating the shared

secret key with a random generated 24-bit IVsecret key with a random generated 24-bit IV• 32 bit ICV (Integrity check value)32 bit ICV (Integrity check value)• No. of bits in keyschedule is equal to sum of length of No. of bits in keyschedule is equal to sum of length of

the plaintext and ICVthe plaintext and ICV

Page 35: Wi fi technology & wap

Wired Equivalent Privacy (WEP) Wired Equivalent Privacy (WEP) (cont.)(cont.)

• 64 bit preshared key-WEP64 bit preshared key-WEP• 128 bit preshared key-WEP2128 bit preshared key-WEP2• Encrypt data only between 802.11 stations.once it enters Encrypt data only between 802.11 stations.once it enters

the wired side of the network (between access point) the wired side of the network (between access point) WEP is no longer validWEP is no longer valid

• Security Issue with WEPSecurity Issue with WEP• Short IVShort IV• Static keyStatic key

• Offers very little security at allOffers very little security at all

Page 36: Wi fi technology & wap

802.1x Access Control802.1x Access Control• Designed as a general purpose network access control mechanismDesigned as a general purpose network access control mechanism

• Not Wi-Fi specificNot Wi-Fi specific• Authenticate each client connected to AP (for WLAN) or switch port Authenticate each client connected to AP (for WLAN) or switch port

(for Ethernet) (for Ethernet) • Authentication is done with the RADIUS server, which ”tells” the Authentication is done with the RADIUS server, which ”tells” the

access point whether access to controlled ports should be allowed access point whether access to controlled ports should be allowed or notor not

• AP forces the user into an unauthorized state AP forces the user into an unauthorized state • user send an EAP start messageuser send an EAP start message• AP return an EAP message requesting the user’s identityAP return an EAP message requesting the user’s identity• Identity send by user is then forwared to the authentication server by APIdentity send by user is then forwared to the authentication server by AP• Authentication server authenticate user and return an accept or reject Authentication server authenticate user and return an accept or reject

message back to the APmessage back to the AP• If accept message is return, the AP changes the client’s state to If accept message is return, the AP changes the client’s state to

authorized and normal traffic flowsauthorized and normal traffic flows

Page 37: Wi fi technology & wap

802.1x Access Control802.1x Access Control

Page 38: Wi fi technology & wap

Wireless Protected Access (WPA)Wireless Protected Access (WPA)• WPA WPA is a specification of standard based, interoperable security is a specification of standard based, interoperable security

enhancements that strongly increase the level of data protection and enhancements that strongly increase the level of data protection and access control for existing and future wireless LAN system.access control for existing and future wireless LAN system.

• User AuthenticationUser Authentication• 802.1x 802.1x • EAPEAP

• TKIP (Temporal Key Integrity Protocol) encryptionTKIP (Temporal Key Integrity Protocol) encryption• RC4, dynamic encryption keys (session based)RC4, dynamic encryption keys (session based)

• 48 bit IV48 bit IV• per packet key mixing functionper packet key mixing function

• Fixes all issues found from WEPFixes all issues found from WEP• Uses Message Integrity Code (MIC) MichaelUses Message Integrity Code (MIC) Michael

• Ensures data integrityEnsures data integrity• Old hardware should be upgradeable to WPAOld hardware should be upgradeable to WPA

Page 39: Wi fi technology & wap

Wireless Protected Access (WPA)Wireless Protected Access (WPA)(cont.)(cont.)

• WPA comes in two flavorsWPA comes in two flavors• WPA-PSK WPA-PSK

• use pre-shared keyuse pre-shared key• For SOHO environmentsFor SOHO environments• Single master key used for all usersSingle master key used for all users

• WPA EnterpriseWPA Enterprise• For large organisationFor large organisation• Most secure methodMost secure method• Unique keys for each userUnique keys for each user• Separate username & password for each userSeparate username & password for each user

Page 40: Wi fi technology & wap

WPA and Security ThreatsWPA and Security Threats

• Data is encryptedData is encrypted• Protection against eavesdropping and man-in-the-Protection against eavesdropping and man-in-the-

middle attacksmiddle attacks

• Denial of ServiceDenial of Service• Attack based on fake massages can not be used.Attack based on fake massages can not be used.• As a security precaution, if WPA equipment sees As a security precaution, if WPA equipment sees

two packets with invalid MICs within a second, it two packets with invalid MICs within a second, it disassociates all its clients, and stops all activity for disassociates all its clients, and stops all activity for a minutea minute

• Only two packets a minute enough to completely Only two packets a minute enough to completely stop a wireless networkstop a wireless network

Page 41: Wi fi technology & wap

802.11i802.11i• Provides standard for WLAN securityProvides standard for WLAN security• AuthenticationAuthentication

• 802.1x802.1x• Data encryptionData encryption

• AES protocol is usedAES protocol is used• Secure fast handoff-This allow roaming Secure fast handoff-This allow roaming

between APs without requiring client to between APs without requiring client to fully reauthenticate to every AP.fully reauthenticate to every AP.

• Will require new hardwareWill require new hardware

Page 42: Wi fi technology & wap

AdvantagesAdvantages• MobilityMobility• Ease of InstallationEase of Installation• FlexibilityFlexibility• CostCost• ReliabilityReliability• SecuritySecurity• Use unlicensed part of the radio spectrumUse unlicensed part of the radio spectrum• RoamingRoaming• SpeedSpeed

Page 43: Wi fi technology & wap

LimitationsLimitations

• InterferenceInterference• Degradation in performanceDegradation in performance• High power consumptionHigh power consumption• Limited rangeLimited range