Wireless Access Protocol Wireless Access Protocol (WAP) (WAP) - - PowerPoint PPT Presentation

wireless access protocol wireless access protocol wap wap
SMART_READER_LITE
LIVE PREVIEW

Wireless Access Protocol Wireless Access Protocol (WAP) (WAP) - - PowerPoint PPT Presentation

Wireless Access Protocol Wireless Access Protocol (WAP) (WAP) NiePin & Zhou & Zhou Hu Hu NiePin HUT HUT TML Latoratory Latoratory TML T- -110.456 110.456 T Agenda Agenda WAP Introduction WAP Introduction


slide-1
SLIDE 1

Wireless Access Protocol Wireless Access Protocol (WAP) (WAP)

NiePin NiePin & Zhou & Zhou Hu Hu HUT HUT TML TML Latoratory Latoratory T T-

  • 110.456

110.456

slide-2
SLIDE 2

Agenda Agenda

  • WAP Introduction

WAP Introduction

  • Environment and Limits

Environment and Limits

  • Protocol Stack Overview

Protocol Stack Overview

  • Specification

Specification

  • WAE

WAE

  • WTLS

WTLS

  • WTP

WTP

  • Applied Fields and Future of WAP

Applied Fields and Future of WAP

  • Conclusion

Conclusion

slide-3
SLIDE 3

WAP Introduction WAP Introduction

  • Goal: To bridge the gap between the mobile

Goal: To bridge the gap between the mobile network and Internet network and Internet

  • WAP is a global standard produced by WAP

WAP is a global standard produced by WAP forum founded in 1997 with the help of Nokia, forum founded in 1997 with the help of Nokia, Ericsson, Motorola and Unwired Planet. Ericsson, Motorola and Unwired Planet.

  • There are two different editions: WAP 1.x and

There are two different editions: WAP 1.x and WAP 2.x WAP 2.x

  • Generally, WAP related technologies are

Generally, WAP related technologies are referenced with counterparts in Internet model referenced with counterparts in Internet model with some changes suitable for mobile network with some changes suitable for mobile network

slide-4
SLIDE 4

Environment and Limits Environment and Limits

  • Environment

Environment

  • Narrowband (EDGE 80

Narrowband (EDGE 80-

  • 160kbps, HSCSD: Nokia6610i

160kbps, HSCSD: Nokia6610i-

  • 43.5kbps)

43.5kbps)

  • High latency

High latency

  • Typical burst errors

Typical burst errors

  • Limits

Limits

  • Week CPU (Intel PXA255 400MHz, bus 200MHz)

Week CPU (Intel PXA255 400MHz, bus 200MHz)

  • Little memory (Nokia7710

Little memory (Nokia7710-

  • 90MB internal memory

90MB internal memory 128MB MMC card; Nokia6822 128MB MMC card; Nokia6822---

  • --3.5MB internal

3.5MB internal memory ) memory )

  • Limited on electrical power (Nokia6822

Limited on electrical power (Nokia6822---

  • --Talk Time:

Talk Time: 3 3-

  • 8 hours)

8 hours)

  • Limited user I/O (no keyboard, mouse; few interfaces)

Limited user I/O (no keyboard, mouse; few interfaces)

slide-5
SLIDE 5

Protocol Stack (WAP 1.0) Protocol Stack (WAP 1.0)

HTML JavaScrip HTTP TLS-SSL TCP/IP

slide-6
SLIDE 6

WAP 1.x Communication Model WAP 1.x Communication Model

slide-7
SLIDE 7

WAP Gateway WAP Gateway

  • A main difference between WAP and WWW model. It is

A main difference between WAP and WWW model. It is a a logical logical component. component.

  • Main Tasks

Main Tasks

  • Conversion between WML/WAP

Conversion between WML/WAP protocol type and HTML/HTTP/IP type, protocol type and HTML/HTTP/IP type, i.e. Encoding and Decoding i.e. Encoding and Decoding

  • WMLScript

WMLScript Compiling Compiling

  • Data Compression for OTA transmission

Data Compression for OTA transmission

  • Support different trust models

Support different trust models

  • End

End-

  • user authentication system

user authentication system

  • Problems

Problems

  • Data is decrypted and again encrypted here

Data is decrypted and again encrypted here

  • No end

No end-

  • to

to-

  • end security

end security man man-

  • in

in-

  • the

the-

  • middle

middle-

  • attack

attack

slide-8
SLIDE 8

Protocol Structure (WAP 2.0) Protocol Structure (WAP 2.0)

slide-9
SLIDE 9

WAP 2.x Communication Model WAP 2.x Communication Model

  • WAP proxy support for TLS tunneling

WAP proxy support for TLS tunneling

slide-10
SLIDE 10

WAP 2.x Communication Model WAP 2.x Communication Model

  • Direct Access

Direct Access

slide-11
SLIDE 11

WAP Proxy WAP Proxy

  • An

An optional

  • ptional enhancement

enhancement “ “WAP gateway WAP gateway” ”

  • Main tasks

Main tasks

  • Protocol gateway translation (backward compatible to

Protocol gateway translation (backward compatible to WAP 1.0) WAP 1.0)

  • Content encoding

Content encoding and decoding (Compact and decoding (Compact and Binary format) and Binary format)

  • WP

WP-

  • TCP and User

TCP and User agent profile management agent profile management

  • Feature enhancement

Feature enhancement (e.g. location, privacy) (e.g. location, privacy)

  • Relation with

Relation with WAP Gateway WAP Gateway

slide-12
SLIDE 12

Specification WAE Specification WAE

  • A general runtime environment for providing service,

A general runtime environment for providing service, instead of a protocol instead of a protocol

  • Aim: To enable operators, manufacturers, and content

Aim: To enable operators, manufacturers, and content developers to develop advanced differentiating services developers to develop advanced differentiating services and applications (e.g. and applications (e.g. microbrowser microbrowser, email) , email)

  • Two basic components

Two basic components---

  • --In logical, can be integrated

In logical, can be integrated together depending on specific architectures and together depending on specific architectures and environment. environment.

  • Microbrowser

Microbrowser---

  • --facilitates browsing of WAP content

facilitates browsing of WAP content

  • WTA (Wireless Telephony Application)

WTA (Wireless Telephony Application)---

  • --an interface to

an interface to telephony application (call control, phonebook) telephony application (call control, phonebook)

  • Examples

Examples

  • SIM toolkit

SIM toolkit---

  • --build applications into smart card

build applications into smart card

  • WinCE

WinCE

  • JavaPhone

JavaPhone

slide-13
SLIDE 13

Microbrowser Microbrowser

  • A variation of standard browser that

A variation of standard browser that makes minimal demands on hardware, makes minimal demands on hardware, memory and CPU memory and CPU

  • It can display information written in WML

It can display information written in WML and interpret and interpret WMLScript WMLScript files files

  • Crippleware

Crippleware, by desktop standards , by desktop standards

  • Not support cookies

Not support cookies

  • Not support HTML above version 3.2

Not support HTML above version 3.2

  • Not support frames

Not support frames

slide-14
SLIDE 14

WML WML

  • Based on XML, stricter than HTML (e.g.

Based on XML, stricter than HTML (e.g. case sensitive) case sensitive)

  • The flow of building WML file: Edit

The flow of building WML file: Edit-

  • >validate

>validate-

  • >

>compile+test compile+test-

  • >publish

>publish

  • A WML document have multiple pages

A WML document have multiple pages called called card card and this page is named and this page is named deck deck

  • Reason: Can retrieve the decks at the same

Reason: Can retrieve the decks at the same time, i.e. Each request (a dial time, i.e. Each request (a dial-

  • up session) for

up session) for a deck a deck

  • A deck is embraced by <xml>

A deck is embraced by <xml>… …</xml> </xml>

  • A card is embraced by <card>

A card is embraced by <card>… …</card> </card>

slide-15
SLIDE 15

WMLScript WMLScript

  • Based on

Based on ECMAScript ECMAScript, similar to , similar to JavaScript JavaScript

  • Need to be compiled into byte code on

Need to be compiled into byte code on server server-

  • side before running in

side before running in Microbrowser Microbrowser

  • Not embedded in the WML decks, but only

Not embedded in the WML decks, but only the references to script URLs the references to script URLs

  • It can access the UML state model as well

It can access the UML state model as well as the WML variables as the WML variables

slide-16
SLIDE 16

Benefits of WAE Benefits of WAE

  • pen standard, vendor independent
  • pen standard, vendor independent
  • network

network-

  • standard independent

standard independent

  • transport mechanism

transport mechanism– –optimized for

  • ptimized for

wireless data bearers wireless data bearers

  • application downloaded from the server,

application downloaded from the server, enabling fast service creation and enabling fast service creation and introduction, as opposed to embedded introduction, as opposed to embedded software (e.g. Java Applet) software (e.g. Java Applet)

slide-17
SLIDE 17

WTLS WTLS

  • An optional security layer with encryption

An optional security layer with encryption facilities to provide the secure transport facilities to provide the secure transport service service

  • Symmetric cryptography

Symmetric cryptography---

  • --Privacy

Privacy

  • Certificate

Certificate---

  • --Authentication

Authentication

  • MAC

MAC---

  • --Integrity

Integrity

  • Based on TLS 1.0, modifications are

Based on TLS 1.0, modifications are

  • Adding datagram support

Adding datagram support

  • Optimizing data size

Optimizing data size

  • Select fast algorithms

Select fast algorithms

slide-18
SLIDE 18

WTLS WTLS

  • WTLS Internal Architecture

WTLS Internal Architecture

  • Handshake protocol: To agree on the protocol

Handshake protocol: To agree on the protocol

  • ptions to be used
  • ptions to be used
  • Alert protocol: Contains the severity (3 types)

Alert protocol: Contains the severity (3 types)

  • f the message and an alert description
  • f the message and an alert description
  • Application protocol: Contains the data that is

Application protocol: Contains the data that is exchanged between the two parties exchanged between the two parties

  • Change Cipher Protocol: To signal transitions

Change Cipher Protocol: To signal transitions in ciphering strategies in ciphering strategies

slide-19
SLIDE 19

WTLS WTLS

  • Problems

Problems

  • Week encryption, anonymous authentication

Week encryption, anonymous authentication allowed allowed

  • Possible attacks

Possible attacks

  • A chosen plaintext recovery attack

A chosen plaintext recovery attack

  • A datagram truncation attack

A datagram truncation attack

  • A message forgery attack

A message forgery attack

  • Key

Key-

  • search shortcut for some exportable key

search shortcut for some exportable key

  • Main reasons

Main reasons

  • Key size too small (e.g. RSA key 35 bits)

Key size too small (e.g. RSA key 35 bits)

  • Unreliable datagram could be lost, duplicated or

Unreliable datagram could be lost, duplicated or reordered reordered

slide-20
SLIDE 20

Other WAP Security Components Other WAP Security Components

  • WIM

WIM---

  • --WAP Identification Module, can be

WAP Identification Module, can be implemented in SIM card implemented in SIM card

  • WMLScript

WMLScript Crypto API Crypto API (Non (Non-

  • repudiation)

repudiation)

  • WML

WML Access Control Access Control

  • WPKI

WPKI---

  • WAP Public

WAP Public Key Key Infrastruture Infrastruture

slide-21
SLIDE 21

References References

  • Books

Books

  • WAP Tutorial: Ericsson Website

WAP Tutorial: Ericsson Website

  • WPKI:

WPKI: www.wapforum.org www.wapforum.org

  • WAP Architecture:

WAP Architecture: www.wapforum.org www.wapforum.org

  • WAP Security: HUT S

WAP Security: HUT S-

  • 38.153

38.153

  • WAP Gateway:

WAP Gateway: http:// http://www.palowireless.com/wap/forums.asp www.palowireless.com/wap/forums.asp

  • Attacks against WTLS,

Attacks against WTLS, Mr.Markku Mr.Markku-

  • Juhani

Juhani Saarinen Saarinen

  • Content Networking In The Mobile Internet,

Content Networking In The Mobile Internet, Mr.Sudhir Mr.Sudhir Dixit Dixit and and Mr.Tao Mr.Tao Wu Wu

  • Links

Links

  • http://www.w3schools.com/wap/wap_basic.asp

http://www.w3schools.com/wap/wap_basic.asp

  • http://www.palowireless.com/wap/forums.asp

http://www.palowireless.com/wap/forums.asp

  • http://www.iec.org/online/tutorials/wap/topic05.html

http://www.iec.org/online/tutorials/wap/topic05.html

  • http://www.visualtron.com/wap_topic05.htm

http://www.visualtron.com/wap_topic05.htm

  • http://www.mobileinfo.com/WAP/future_outlook.htm

http://www.mobileinfo.com/WAP/future_outlook.htm

slide-22
SLIDE 22

Game Over Game Over