doc IEEE 802 11 01610 r 02 802

  • Slides: 27
Download presentation
doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and 802. 11

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and 802. 11 key interactions Tim Moore Submission

doc. : IEEE 802. 11 -01/610 r 02 Topics • 802. 1 X key

doc. : IEEE 802. 11 -01/610 r 02 Topics • 802. 1 X key generation • 802. 1 X in small networks • 802. 1 X and VLANs Submission

doc. : IEEE 802. 11 -01/610 r 02 Requirements/Decisions • Security session Management –

doc. : IEEE 802. 11 -01/610 r 02 Requirements/Decisions • Security session Management – – • 802. 1 X owns the security session, decides when to authenticate and re-authenticate Encryption is offloaded to 802. 11 MAC but encryption decision is made during 802. 1 X authentication by the authentication server – whether it gives the master key to the authenticator Race Conditions – Synchronization done by always having a free Key. ID • • Roaming and key hand-off – Key messages must be in clear to allow roaming • • • Reuse EAPOL-Key from 802. 1 X Authenticator “owns” network so stations must obey key messages • • EAPOL-Key is acknowledged from receiver because it is a data message Authenticator is not told if station cannot obey the message Fast handoff via IAPP supported – • Reuse 802. 1 X EAPOL-Key message Implies that 802. 1 X must be unencrypted WEP “rapid rekeying” – – • Requires 2 Key. IDs for key mapping keys Fast handoff enabled by signature in re-association (562) Liveliness of station/AP via 802. 1 X authentication or re-associate signature Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X • 802. 1

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X • 802. 1 X consists of – Authentication • Includes option for always allowed or always denied • Station assumes authenticated if authenticator does not respond • Multiple authentication methods supported via EAP – Key distribution • Requires a master key known by supplicant and authenticator – Normally obtained from authentication but not required by 1 X • Supports updating keys but doesn’t give the policy i. e. have often to change keys, how to derive new keys, etc. Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X Key generation •

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X Key generation • EAPOL-Key is used to send keys between authenticator and supplicant – Sent as 802. 11 unicast data packets so message is acknowledged • Requires a master key known by authenticator and supplicant to sign and encrypt the keys being sent in the EAPOL-Key message – Normally master key generated by the authentication • Allows for the master key to be used as a key by sending no key in the EAPOL-Key message Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X re-keying • EAPOL-Key

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X re-keying • EAPOL-Key message can be sent anytime after authentication (but may be before EAP-Success) and may be sent multiple times – I. E. authenticator can update keys whenever it wants. • 802. 1 X re-authenticates to generate a new master key – Recommend re-authentication at intervals e. g. once at hour Submission

doc. : IEEE 802. 11 -01/610 r 02 EAPOL-Key interval • 802. 1 X

doc. : IEEE 802. 11 -01/610 r 02 EAPOL-Key interval • 802. 1 X can update the keys without re-authenticating • Update rate is dependent on – CPU load deriving new keys – CPU load to encrypt, sign and decrypt the keys – Waiting for last key update to be updated in hardware • Decrypting and validating key • Current testing shows this to be < 135 ms on a current systems Submission

doc. : IEEE 802. 11 -01/610 r 02 Key synchronization during updates • Doesn’t

doc. : IEEE 802. 11 -01/610 r 02 Key synchronization during updates • Doesn’t use time synchronization – Very difficult to synchronize and not lose packets – Note: There is a time stamp in EAPOL-Key messages that can be used to attempt to synchronize the setting of the keys if required • Currently used as replay protection • Use two key indexes – – • Use one index while updating another index EAPOL-Key sender always updates its own table before sending message Receiver should start using new key as soon as it receives the key Sender can wait until see new index being used by all required receivers before sending with the new key Allow multiple keys for key mapping table – Currently with key mapping there is a time hole because there is only one key – Note: Already need to support two keys per station for transmit and receive keys – Recommendation: Allow multiple keys for key mapping table Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X/Set. Key interaction •

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X/Set. Key interaction • 802. 1 X should use Set. Keys to update the encryption key – – Call Set. Key before sending an EAPOL-Key message Call Set. Key after receiving an EAPOL-Key message EAPOL-Keys should not use the master key as an encryption key Stations must be able to derive encryption keys and use EAPOL-Key message to send updates at intervals – EAPOL-Key message should alternate between two key indexes – Two key indexes should be available for each send and receive key • Including Key mapping table – The EAPOL-Key message sender should update keys in the following sequence • Update local receive key • Send the Senders Transmit key • Send the Senders Receive key – Sender should check receive messages for new index being used and start using new key for transmit when all receives indicate they are using new transmit key index. • Update local transmit key Submission

doc. : IEEE 802. 11 -01/610 r 02 Roaming between APs • No IAPP

doc. : IEEE 802. 11 -01/610 r 02 Roaming between APs • No IAPP – 802. 1 X does re-authentication • Maybe NULL authentication or a fast re-auth (e. g. TLS resume) • Get new master key • EAPOL-Key messages to send new encryption keys to station • IAPP – – Client authenticates to new AP via signature in re-associate message Via IAPP, New AP sends signature to old AP for validation Old AP validates signature, sends master key to new AP If session-timeout attribute in IAPP RADIUS context is 0 and termination-action = RADIUS, then • Set 802. 1 X state to FORCE_AUTH – Else • Set 802. 1 X port. Status to Authorized • Set 802. 1 X state to AUTHENTICATED – EAPOL-Key messages used to send new encryption keys to station Submission

doc. : IEEE 802. 11 -01/610 r 02 801. X and WEP • 802.

doc. : IEEE 802. 11 -01/610 r 02 801. X and WEP • 802. 1 X must be unencrypted • Otherwise on roaming 802. 1 X is encrypted and the new AP cannot decrypt unless IAPP is supported • Recommendation: Data frames of Ethertype 802. 1 X (888 E) bypass encryption Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and IBSS •

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and IBSS • 802. 1 X works with IBSS – Each station should authenticate who is allowed to communicate to it – Requires 802. 1 X supplicant and authenticator on each station, see later for simple way to do this – Stations need to learn whether another station needs 802. 1 X from probe • Need this to decide which encryption key to configure: the master key or a derived key • Need a way to decide who generates the keys – 802. 1 X doesn’t specify this Submission

doc. : IEEE 802. 11 -01/610 r 02 IBSS and encryption keys • If

doc. : IEEE 802. 11 -01/610 r 02 IBSS and encryption keys • If different receive/transmit keys are required – Authenticator sends transmit key • If single transmit/receive key is supported – If sending EAPOL-Key dest MAC address < own MAC address • Do not use key as encryption key and use key received in EAPOL-Key messages – Else • Do use in sending EAPOL-Key message and ignore EAPOL-Key messages received Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X in small networks

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X in small networks Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X in small networks

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X in small networks • May want to use shared network password – How to do this with 802. 1 X? • May want to have individual user authentication but with simple UI – How to do this with 802. 1 X? Submission

doc. : IEEE 802. 11 -01/610 r 02 Shared Password • Use shared password

doc. : IEEE 802. 11 -01/610 r 02 Shared Password • Use shared password as master key for EAPOL-Key message • Works with Infrastructure and IBSS • Access Point ignores all 802. 1 X messages from station – No authentication using EAP – Using key distribution and update support in 802. 1 X – Send EAPOL-Key messages with default and key-mapping encryption keys, the message is signed and encrypted using the shared password – Only supplicants with the shared password can get the encryption keys Submission

doc. : IEEE 802. 11 -01/610 r 02 Shared Password implementation • Authenticator state

doc. : IEEE 802. 11 -01/610 r 02 Shared Password implementation • Authenticator state machine, authentication server and Radius client not required – Access Point should ignore received 802. 1 X messages • Supplicant state machine – Need DISCONNECTED, CONNECTING and AUTHENTICATED states (3 out of 7 states) Submission

doc. : IEEE 802. 11 -01/610 r 02 Supplicant machine Intializestate || !port. Enabled

doc. : IEEE 802. 11 -01/610 r 02 Supplicant machine Intializestate || !port. Enabled DISCONNECTED eap. Success = FALSE eap. Fail = FALSE start. Count = 0 logoff. Send = FALSE Prevousid = 256 supp. Status = Unauthorized UCT eap. Success && !(initialize || !port. Enabled) && !user. Logoff && !log. Sent CONNECTING AUTHENTICATED start. When = start. Period eap. Success = FALSE start. Count = start. Count + 1 eap. Fail = FALSE req. Id = FALSE supp. Status = Authorized tx. Start (start. When == 0) && (start. Count < max. Start) Submission (start. When == 0) && (start. Count >= max. Start)

doc. : IEEE 802. 11 -01/610 r 02 Individual user authentication An example •

doc. : IEEE 802. 11 -01/610 r 02 Individual user authentication An example • Requires full implementation of 802. 1 X for supplicant, authenticator and authentication server – Doesn’t require RADIUS • Each station has a self-signed certificate. • Access Point has authenticator and authentication server built in – No radius implementation since both on the same machine • Authentication server and supplicant implements EAP-TLS Submission

doc. : IEEE 802. 11 -01/610 r 02 Supplicant • Standard EAP-TLS – No

doc. : IEEE 802. 11 -01/610 r 02 Supplicant • Standard EAP-TLS – No difference from talking to an AP that uses RADIUS to the authentication server Submission

doc. : IEEE 802. 11 -01/610 r 02 Authentication server authenticating user • Check

doc. : IEEE 802. 11 -01/610 r 02 Authentication server authenticating user • Check internal table for username – If not allowed, send EAP-failure – Else validate certificate • If valid – If user allowed then • If certificate matches certificate in table then send EAP-success • Else send EAP-Failure – Else display message to admin with username – If admin allows user • Add user and certificate to table with allowed – Else • Add user to table with disallowed – Endif • Else – Send EAP-failure • Endif • Display could be a web page with a list of users requesting for access – Admin can select users to allow/disallow access Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and VLANs Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and VLANs Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and VLANs •

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and VLANs • 802. 1 X suggests the use of VLANs or VPNs to isolate different user groups – Access Point is a level 2 device so VLANs are the obvious way to do this • Need to be able to separate broadcast traffic in 802. 11 – Broadcast messages from different ‘networks’ so not duplicating traffic – Use different broadcast keys for each VLAN – Need 2 keys per VLAN to allow the keys to be changed Submission

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and default key

doc. : IEEE 802. 11 -01/610 r 02 802. 1 X and default key table • Allow the default key table to be increased from 4 keys to 256 keys – Half the keys for transmit and half for receive – Enable the spare bits to be used as part of the keyid – Add attribute to association request containing size of default key table Submission

doc. : IEEE 802. 11 -01/610 r 02 Motion • To instruct editor to

doc. : IEEE 802. 11 -01/610 r 02 Motion • To instruct editor to modify the key mapping table to allow 2 keys per station for ESNs and to use the Key. ID to select which key is used Submission

doc. : IEEE 802. 11 -01/610 r 02 Motion • To instruct editor to

doc. : IEEE 802. 11 -01/610 r 02 Motion • To instruct editor to add text to 8. 2. 4 so 802. 1 X data packets are not encrypted Submission

doc. : IEEE 802. 11 -01/610 r 02 Motion • Request 1 aa to

doc. : IEEE 802. 11 -01/610 r 02 Motion • Request 1 aa to add to EAPOL-Key message section – If key management is used and supplicant and authenticator is available at both ends then the lower MAC address owns the key management – Enable the EAPOL-Key carry a Nonce rather than the key material Submission