bf762e5fa10ff1d5f639a0c6dee4ca2f84c8425d
[lectures/dfb-slides.git] / wlan2 / wlan2.xml
1 <?xml version='1.0' encoding='iso-8859-1'?>
2 <slides bgcolor="#222266" fgcolor="#9999ff" 
3         face="../ttf/decker.ttf" size="15"
4         bullet="../img/bullet.png"
5         screen_width="1024" screen_height="768">
6 <slide>
7 <header size="20" fgcolor="#22FF22">1 802.11b Aufbau</header>
8 <text></text>
9 <text></text>
10 <text></text>
11 <text></text>
12 <text></text>
13 <text></text>
14 <text></text>
15 <text></text>
16 <text></text>
17 <text></text>
18 </slide>
19
20 <slide>
21 <header size="20" fgcolor="#22FF22"> 1.1 Frame Aufbau</header>
22 <text></text>
23 <text></text>
24 <listitem fgcolor="#ff00cc" size="20">   Frame Control (FC)</listitem>
25 <text></text>
26 <listitem size="20">    Frametyp (Type und Subtype)</listitem>
27 <text></text>
28 <listitem size="20">    From oder To DS</listitem>
29 <text></text>
30 <listitem size="20">    WEP ja/nein</listitem>
31 <text></text>
32 <listitem fgcolor="#ff00cc" size="20">   MAC Adresse(n)</listitem>
33 </slide>
34
35 <slide>
36 <header size="20" fgcolor="#22FF22"> 1.2 Die wichtigsten Frametypen</header>
37 <text></text>
38 <text></text>
39 <listitem fgcolor="#ff00cc" size="20">   Management Frames</listitem>
40 <text></text>
41 <listitem size="20">    Beacon Frames (alle 100ms)</listitem>
42 <text>     AP announced sich und seine Capabilities</text>
43 <text>     STAs ermitteln aus Beacon Frames die Signalstaerke </text>
44 <text>     </text>
45 <text></text>
46 <listitem size="20">    Probe Request/Response</listitem>
47 <text>     Req: STA sendet Request, dieser enthaelt SSID und unterstuetzte Datenraten</text>
48 <text>     Res: SSID, Capabilities</text>
49 <text></text>
50 <listitem size="20">    Authentication</listitem>
51 <text>     Es gibt Open System und Shared Key</text>
52 <text>     OS:</text>
53 <text>     1: STA schickt Auth an AP</text>
54 <text>     2: AP schickt Bestaetigung an STA</text>
55 <text>     SK:</text>
56 <text>     1: STA schickt Auth an AP</text>
57 <text>     2: AP schickt Challenge Text an STA</text>
58 <text>     3: STA schickt encrypted Challenge Text zurueck an AP</text>
59 <text>     4: AP schickt Bestaetigung zurueck</text>
60 <text></text>
61 <listitem size="20">    Association Request/Response</listitem>
62 <text>     Req: STA sendet Capabilities, SSID, unterstuetzte Datenraten</text>
63 <text>     Res: AP antwortet u.a. mit Status und Association ID</text>
64 <text>     Nun ist die STA an dem AP angemeldet</text>
65 <text>     (Ausserdem gibt es noch Re/Dis Association)</text>
66 <text></text>
67 <listitem fgcolor="#ff00cc" size="20">   Control Frames</listitem>
68 <text></text>
69 <listitem size="20">    Request/Clear To Send (RTS/CTS)</listitem>
70 <text>     Anfrage/Bestaetugung zum Senden von Data/Management Frames</text>
71 <text></text>
72 <listitem size="20">    Acknowledgement (ACK)</listitem>
73 <text>     Empfangsbestaetigung von Daten und Management Frames</text>
74 <text>    Es gibt noch weitere Control Frames, diese sind aber ziemlich langweilig</text>
75 <text></text>
76 <listitem fgcolor="#ff00cc" size="20">   Data Frames (alle wieder aufwachen ;)</listitem>
77 <text>    4 Typen:</text>
78 <text>    Wireless -&gt; Wireless (  )</text>
79 <text>    Ethernet -&gt; Wireless (F )</text>
80 <text>    Wireless -&gt; Ethernet ( T)</text>
81 </slide>
82
83 <slide>
84 <header size="20" fgcolor="#22FF22"> 2.1 Ad-Hoc</header>
85 <text></text>
86 <text></text>
87 <listitem fgcolor="#ff00cc" size="20">   Jede STA sendet Beacons</listitem>
88 <text>  </text>
89 <text></text>
90 <listitem fgcolor="#ff00cc" size="20">   keine Authentications oder Associations</listitem>
91 </slide>
92
93 <slide>
94 <header size="20" fgcolor="#22FF22"> 2.2 Managed</header>
95 <text></text>
96 <text>  1: Client erkennt AP via Probe Request / Response</text>
97 <text>  2: Client authenticatet sich am AP</text>
98 <text>  3: Client associated sich am AP</text>
99 </slide>
100
101 <slide>
102 <header size="20" fgcolor="#22FF22"> 2.3 Wireless Distribution Systems (WDS)</header>
103 <text></text>
104 <text></text>
105 <listitem fgcolor="#ff00cc" size="20">   keine Management Frames noetig</listitem>
106 <text></text>
107 <listitem fgcolor="#ff00cc" size="20">   nur Datenframes</listitem>
108 <text></text>
109 <listitem fgcolor="#ff00cc" size="20">   verbindet 2 Ethernetsegmente:</listitem>
110 <text>    FromDS und ToDS im FC gesetzt (4 MAC Addressen)</text>
111 </slide>
112
113 <slide>
114 <header size="20" fgcolor="#22FF22"> 3.1 Wardriven im Monitoring Mode</header>
115 <text></text>
116 <text></text>
117 <listitem fgcolor="#ff00cc" size="20">   Karte wird in passiven Modus geschaltet</listitem>
118 <text></text>
119 <listitem fgcolor="#ff00cc" size="20">   sie bucht sich nicht mehr ein, etc. </listitem>
120 </slide>
121
122 <slide>
123 <header size="20" fgcolor="#22FF22"> 3.2 Hidden SSIDs</header>
124 <text></text>
125 <text></text>
126 <listitem fgcolor="#ff00cc" size="20">   APs antworten nicht auf Probes mit leerer SSID</listitem>
127 <text></text>
128 <listitem fgcolor="#ff00cc" size="20">   SSID wird in Beacon nichtt mitgesendet</listitem>
129 <text></text>
130 <listitem fgcolor="#ff00cc" size="20">   STAs muessen richtige SSID in Probe Requests setzen</listitem>
131 <text>   Gegenmassnahmen:</text>
132 <text></text>
133 <listitem fgcolor="#ff00cc" size="20">   Probes oder (Re)Association sniffen</listitem>
134 </slide>
135
136 <slide>
137 <header size="20" fgcolor="#22FF22"> 3.3 Access Control Lists (ACLs)</header>
138 <text></text>
139 <text></text>
140 <listitem fgcolor="#ff00cc" size="20">   AP laesst nur STAs mit bekannter MAC einbuchen</listitem>
141 <text>   Gegenmassnahme:</text>
142 </slide>
143
144 <slide>
145 <header size="20" fgcolor="#22FF22"> 3.4 WEP (RC4)</header>
146 <text></text>
147 <text></text>
148 <listitem fgcolor="#ff00cc" size="20">   RC4: Symmetrischer Streamcypher der auf einen PRNG beruht, mit dem der Stream per XOR verknuepft wird</listitem>
149 <text>    Symmetrische Stromchiffrierung mit variabler Schluessellaenge</text>
150 <text>    von Ron Rivest fuer RSA Data Security 1987 entwickelt und patentiert</text>
151 <text>    7 Jahre lang geheim, dann wurde der Algo publik.</text>
152 <text></text>
153 <listitem fgcolor="#ff00cc" size="20">   128 bzw. 64 Bit Keys - davon 24 Bit InitVektor, bei jedem Paket um eins erhoeht</listitem>
154 <text></text>
155 <listitem fgcolor="#ff00cc" size="20">   40 Bit: in ~2 Tagen mit ~10 Computern gebruteforced</listitem>
156 <text>    (1 GHz P3: ~450k Keys/sec)</text>
157 <text></text>
158 <listitem fgcolor="#ff00cc" size="20">   104 Bit</listitem>
159 <text></text>
160 <listitem size="20">    Bestimmte IVs lassen Rueckschluesse auf Key zu</listitem>
161 <text>     (neuere Firmwares ueberspringen diese IVs)</text>
162 <text></text>
163 <listitem size="20">    Manipulation der verschluesselten Payload moeglich</listitem>
164 <text>     (wegen Linearitaet von RC4 und CRC32 siehe http://cryptolabs.org/wep/)</text>
165 <text></text>
166 <listitem size="20">    Bei Kenntniss einer Klartext Payload, lassen sich alle weiteren Pakete des selben IVs berechnen</listitem>
167 </slide>
168
169 </slides>