Wifi

40
Wi-Fi Technology Wi-Fi Technology

Transcript of Wifi

Page 1: Wifi

Wi-Fi TechnologyWi-Fi Technology

Page 2: Wifi
Page 3: Wifi

AgendaAgendaIntroductionIntroduction

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 4: Wifi

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: Wifi

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: Wifi

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: Wifi

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: Wifi

Access point

Adapters

Components of Wi-Fi

Page 9: Wifi

Wi-Fi Antenna

Wi-Fi Bridge

Page 10: Wifi

PCI cards that accept wireless PC cards

External USB wireless NICs

Page 11: Wifi

How a Wi-Fi Network Works How 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 12: Wifi

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 13: Wifi

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 14: Wifi

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 15: Wifi

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 16: Wifi

Wi-Fi ConfigurationsWi-Fi Configurations

Page 17: Wifi

Wi-Fi ConfigurationsWi-Fi Configurations

Page 18: Wifi

Wi-Fi ConfigurationsWi-Fi Configurations

Page 19: Wifi

Wi-Fi communication

Page 20: Wifi

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 21: Wifi

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 22: Wifi

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 23: Wifi

MITM AttackMITM Attack

1.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 24: Wifi

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 25: Wifi

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 26: Wifi

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 27: Wifi

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 28: Wifi

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 29: Wifi

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 30: Wifi

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 31: Wifi

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 32: Wifi

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 33: Wifi

802.1x Access Control802.1x Access Control

Page 34: Wifi

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 35: Wifi

Wireless Protected Access (WPA)(cont.)Wireless Protected Access (WPA)(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 36: Wifi

WPA and SecurityWPA and Security

• 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 37: Wifi

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 38: Wifi

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 39: Wifi

LimitationsLimitations

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

Page 40: Wifi