1. Trang chủ
  2. » Công Nghệ Thông Tin

Wireless networks - Lecture 29: Security in IEEE 802.11

26 4 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 26
Dung lượng 398,11 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Wireless networks - Lecture 29: Security in IEEE 802.11. The main topics covered in this chapter include: types of attack; goals of 802.11 security; WEP protocol; WEP authentication; security flaws in original 802.11; 802.1x security; IBSS security model;...

Trang 1

Wireless Networks

Lecture 29 Security in IEEE 802.11

Dr Ghalib A Shah

Trang 2

► AKM Operations with AS

► AKM operations with PSK

 IBSS Security model

Trang 3

Last Lecture

 Introduction

► What is Ad hoc networks?

► Characteristic (Heterogeneous, Self-creating, self-organizing,

self-adminstrating, on-the-fly)

► Ad hoc vs cellular networks

► Challenges (Spectrum allocation, Self-configuration, Medium

access control (MAC), Energy efficiency, TCP Performance, Mobility management, Security & privacy, Routing protocols, Multicasting, QoS, Service Location, Provision, Access)

 Routing Protocol

► Expected Properties of Ad-hoc Routing Protocols

► A taxonomy for routing protocols in Mobile ad

► Some common protocols (DSDV, AODV, DSR, ZRP, TORA)

Trang 4

Types of Attacks

 Passive attacks

► to decrypt traffic based on statistical analysis

 Active attacks

► To inject new traffic from authorized mobile stations,

based on known plaintext

 Active attacks

► To decrypt traffic, based on tricking the access point

 Dictionary building attacks

► Allows real-time automated decryption of all traffic

Trang 5

 802.11 security consists of two subsystems

► A data encapsulation technique called Wired

Equivalent Privacy (WEP)

► An authentication algorithm called Shared Key

Authentication

Trang 6

 Wireless connections has important security

issues to keep the intruders from accessing,

reading and modifying the network traffic.

 But mobile systems need to be connected.

 We need an algorithm which provides the same

level of security that physical wire does.

 WEP is used to

► Protect wireles s  communication from 

eaves dropping.

► Prevent unauthorized acces s  to wireles s  network 

(feature of WEP, but not an explicit goal in the 802.11 standard)

Trang 7

 WEP relies on a s ecret key which is shared between

the sender and the receiver.

► SENDER: Mobile station (e.g Labtop with a wireless ethernet

card)

► RECEIVER: Access Point (eg base station)

 Secret Key is used to encrypt packets before they are

transmitted

 Integrity Check is used to ensure packets are not

modified in transit.

► The standard does not discuss how shared key is established

► In practice, most installations use a s ingle key which is shared

between all mobile stations and access points

Trang 8

WEP Protocol

 To send a message M:

► Compute a checksum c(M) (is not depend on secret key k)

► Pick an IV v and generate a keystream RC4(v,k)

► XOR <M, c(M)> with the keystream to get the ciphertext

► Transmit v and ciphertext over a radio link

 When received a message M

► Use transmitted v and the shared key k to generate the

Trang 10

Defense of WEP

 Integrity Check(IC) field

► Used to ensure that packet has not been modified in

transit

 Initialization Vector(IV)

► Used to avoid encrypting two ciphertexts with the

same key stream

► Used to argument the shared key and produce a

different RC4 key for each packet to avoid statistical attacks

Trang 13

Security Flaws

 Physical threat: user loses 802.11 NIC, doesn’t

report it

► Attacker with physical possession of NIC may be

capable of accessing the network

 Impersonation: User Identification

► 802.11 does not identify users, only NICs

► Problems

• MAC may represent more than one user

• Multi-user machines becoming common; which user is logged on with which MAC?

• Users may move between machines

• Machine may allow logins by other users within the domain

Trang 14

 Mutual Authentication

► 802.11 shared authentication not mutual

• Client authenticates to Access Point but Access Point does not authenticate to client

• Enables rogue access points

• Denial of service attacks possible

► Solution

• Mutual authentication: Require both sides to demonstrate knowledge of key

 Known Plaintext Attack

► WEP supports per-packet encryption, integrity, but not per-packet

authentication

► Given a known packet (ARP, DHCP, TCP ACK, etc.), possible to

recover RC4 stream

► Enables spoofing of packets until IV changes

► Can insert a packet, calculate ICV, encrypt with known RC4 stream

► Solution

• Add a keyed message integrity check

Trang 15

 Denial of Service: Disassociation Attacks

► 802.11 associate/disassociate messages

unencrypted and unauthenticated

• Enables forging of disassociation messages

• Creates vulnerability to denial of service attacks

 Dictionary Attacks

► WEP keys are derived from passwords that makes it

much easier to break keys by brute force

► Attacker uses a large list of words to try to guess a

password and derive the key

Trang 16

How to address these issues

 Addition of new 802.11 authentication methods

► Hardware changes needed for each new method

• Creates incentive to limit number of authentication methods supported, make new methods optional

► Result: No upgrade path to extended authentication

► “Hard coding” authentication methods makes it

difficult to respond to security vulnerabilities

 The solution: a flexible security framework

► Implement security framework in upper layers

► Enable plug-in of new authentication, key

management methods without changing NIC or Access Point

Trang 17

How 802.1x Address Security Issues of 802.11

 EAP Framework

 User Identification & Strong authentication

 Dynamic key derivation

 Mutual authentication

 Per-packet authentication

 Dictionary attack precautions

Trang 18

 system setup and operation of an RSN, in two

cases: when an IEEE 802.1X AS is used and when a PSK is used

 For an ESS, the AP includes an Authenticator,

and each associated STA includes a

Supplicant.

Trang 19

IEEE 802.1X Terminology

Controlled port

Uncontrolled port Supplicant Authenticator Authentication Server

802.1X

• created to control access to any 802 LAN

• used as a transport for Extensible Authentication Protocol 

(EAP, RFC 2284)

Trang 20

AKM Operation with AS

 Prior to any use of IEEE 802.1X, IEEE 802.11 assumes

that the Authenticator and AS have established a

secure channel.

 A STA discovers the AP’s security policy through

passively monitoring Beacon frames or through active probing

► If IEEE 802.1X authentication is used, the EAP authentication

process starts when the AP’s Authenticator sends the Request or the STA’s Supplicant sends the EAPOL-Start message

EAP-► EAP authentication frames pass between the Supplicant and

AS via the Authenticator and Supplicant’s Uncontrolled Ports

► The Supplicant and AS authenticate each other and generate a

PMK The PMK is sent from the AS to the Authenticator over the secure channel

Trang 22

 A 4-Way Handshake utilizing EAPOL-Key frames is

initiated by the Authenticator to do the following:

► Confirm that a live peer holds the PMK

► Confirm that the PMK is current

► Derive a fresh pairwise transient key (PTK) from the PMK

► Install the pairwise encryption and integrity keys into IEEE

802.11

► Transport the group temporal key (GTK) and GTK sequence

number from Authenticator to Supplicant and install the GTK and GTK sequence number in the STA and, if not already installed, in the AP

► Confirm the cipher suite selection

Trang 23

authenticated each other;

and the IEEE 802.1X

Controlled Ports are

unblocked to permit general

data traffic.

Trang 24

Operation of AKM with PSM

 The following AKM operations are carried out

when the PMK is a PSK:

► A STA discovers the AP’s security policy through

passively monitoring Beacon frames or through active probing A STA associates with an AP and negotiates a security policy.

► The PMK is the PSK.

► The 4-Way Handshake using EAPOL-Key frames is

used just as with IEEE 802.1X authentication, when

an AS is present

► The GTK and GTK sequence number are sent from

the Authenticator to the Supplicant just as in the AS case

Trang 25

IBSS Key usage Model

 In an IBSS, the unicast data frames between two STAs

are protected with a pairwise key The key is part of the PTK, which is derived during a 4-Way Handshake.

 In an IBSS, the broadcast/multicast data frames are

protected by a key, e.g., named B1, that is generated

by the STA transmitting the broadcast/multicast frame

 To allow other STAs to decrypt broadcast/multicast

frames, B1 must be sent to all the other STAs in the

IBSS.

► B1 is sent in an EAPOL-Key frame, encrypted under the

EAPOL-Key encryption key (KEK) portion of the PTK,

► and protected from modification by the EAPOL-Key

confirmation key (KCK) portion of the PTK

 In an IBSS, a STA’s SME responds to Deauthentication

frames from a STA by deleting the PTK SA associated with that STA.

Trang 26

► AKM Operations with AS

► AKM operations with PSK

 IBSS Security model

 Next Lecture

► QoS in WLAN and Mobile IP

Ngày đăng: 05/07/2022, 13:18