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">
7 <header size="20" fgcolor="#22FF22">1 802.11b Aufbau</header>
21 <header size="20" fgcolor="#22FF22"> 1.1 Frame Aufbau</header>
24 <listitem fgcolor="#ff00cc" size="20"> Frame Control (FC)</listitem>
26 <listitem size="20"> Frametyp (Type und Subtype)</listitem>
28 <listitem size="20"> From oder To DS</listitem>
30 <listitem size="20"> WEP ja/nein</listitem>
32 <listitem fgcolor="#ff00cc" size="20"> MAC Adresse(n)</listitem>
36 <header size="20" fgcolor="#22FF22"> 1.2 Die wichtigsten Frametypen</header>
39 <listitem fgcolor="#ff00cc" size="20"> Management Frames</listitem>
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>
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>
50 <listitem size="20"> Authentication</listitem>
51 <text> Es gibt Open System und Shared Key</text>
53 <text> 1: STA schickt Auth an AP</text>
54 <text> 2: AP schickt Bestaetigung an STA</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>
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>
67 <listitem fgcolor="#ff00cc" size="20"> Control Frames</listitem>
69 <listitem size="20"> Request/Clear To Send (RTS/CTS)</listitem>
70 <text> Anfrage/Bestaetugung zum Senden von Data/Management Frames</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>
76 <listitem fgcolor="#ff00cc" size="20"> Data Frames (alle wieder aufwachen ;)</listitem>
77 <text> 4 Typen:</text>
78 <text> Wireless -> Wireless ( )</text>
79 <text> Ethernet -> Wireless (F )</text>
80 <text> Wireless -> Ethernet ( T)</text>
84 <header size="20" fgcolor="#22FF22"> 2.1 Ad-Hoc</header>
87 <listitem fgcolor="#ff00cc" size="20"> Jede STA sendet Beacons</listitem>
90 <listitem fgcolor="#ff00cc" size="20"> keine Authentications oder Associations</listitem>
94 <header size="20" fgcolor="#22FF22"> 2.2 Managed</header>
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>
102 <header size="20" fgcolor="#22FF22"> 2.3 Wireless Distribution Systems (WDS)</header>
105 <listitem fgcolor="#ff00cc" size="20"> keine Management Frames noetig</listitem>
107 <listitem fgcolor="#ff00cc" size="20"> nur Datenframes</listitem>
109 <listitem fgcolor="#ff00cc" size="20"> verbindet 2 Ethernetsegmente:</listitem>
110 <text> FromDS und ToDS im FC gesetzt (4 MAC Addressen)</text>
114 <header size="20" fgcolor="#22FF22"> 3.1 Wardriven im Monitoring Mode</header>
117 <listitem fgcolor="#ff00cc" size="20"> Karte wird in passiven Modus geschaltet</listitem>
119 <listitem fgcolor="#ff00cc" size="20"> sie bucht sich nicht mehr ein, etc. </listitem>
123 <header size="20" fgcolor="#22FF22"> 3.2 Hidden SSIDs</header>
126 <listitem fgcolor="#ff00cc" size="20"> APs antworten nicht auf Probes mit leerer SSID</listitem>
128 <listitem fgcolor="#ff00cc" size="20"> SSID wird in Beacon nichtt mitgesendet</listitem>
130 <listitem fgcolor="#ff00cc" size="20"> STAs muessen richtige SSID in Probe Requests setzen</listitem>
131 <text> Gegenmassnahmen:</text>
133 <listitem fgcolor="#ff00cc" size="20"> Probes oder (Re)Association sniffen</listitem>
137 <header size="20" fgcolor="#22FF22"> 3.3 Access Control Lists (ACLs)</header>
140 <listitem fgcolor="#ff00cc" size="20"> AP laesst nur STAs mit bekannter MAC einbuchen</listitem>
141 <text> Gegenmassnahme:</text>
145 <header size="20" fgcolor="#22FF22"> 3.4 WEP (RC4)</header>
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>
153 <listitem fgcolor="#ff00cc" size="20"> 128 bzw. 64 Bit Keys - davon 24 Bit InitVektor, bei jedem Paket um eins erhoeht</listitem>
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>
158 <listitem fgcolor="#ff00cc" size="20"> 104 Bit</listitem>
160 <listitem size="20"> Bestimmte IVs lassen Rueckschluesse auf Key zu</listitem>
161 <text> (neuere Firmwares ueberspringen diese IVs)</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>
166 <listitem size="20"> Bei Kenntniss einer Klartext Payload, lassen sich alle weiteren Pakete des selben IVs berechnen</listitem>