<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Wlan_4_Wege_Handshake_Technischer</id>
	<title>Wlan 4 Wege Handshake Technischer - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Wlan_4_Wege_Handshake_Technischer"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Wlan_4_Wege_Handshake_Technischer&amp;action=history"/>
	<updated>2026-05-15T15:18:16Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Wlan_4_Wege_Handshake_Technischer&amp;diff=65380&amp;oldid=prev</id>
		<title>Thomas.will: Thomas.will verschob die Seite Wlan 4 Wege Handshake Neu technischer nach Wlan 4 Wege Handshake Technischer</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Wlan_4_Wege_Handshake_Technischer&amp;diff=65380&amp;oldid=prev"/>
		<updated>2025-11-06T12:05:45Z</updated>

		<summary type="html">&lt;p&gt;Thomas.will verschob die Seite &lt;a href=&quot;/index.php/Wlan_4_Wege_Handshake_Neu_technischer&quot; class=&quot;mw-redirect&quot; title=&quot;Wlan 4 Wege Handshake Neu technischer&quot;&gt;Wlan 4 Wege Handshake Neu technischer&lt;/a&gt; nach &lt;a href=&quot;/index.php/Wlan_4_Wege_Handshake_Technischer&quot; title=&quot;Wlan 4 Wege Handshake Technischer&quot;&gt;Wlan 4 Wege Handshake Technischer&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 6. November 2025, 12:05 Uhr&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff::1.12:old-65375:rev-65380 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Wlan_4_Wege_Handshake_Technischer&amp;diff=65375&amp;oldid=prev</id>
		<title>Thomas.will: Thomas.will verschob die Seite Wlan 4 Wege Handshake Neu nach Wlan 4 Wege Handshake Neu technischer</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Wlan_4_Wege_Handshake_Technischer&amp;diff=65375&amp;oldid=prev"/>
		<updated>2025-11-06T12:04:43Z</updated>

		<summary type="html">&lt;p&gt;Thomas.will verschob die Seite &lt;a href=&quot;/index.php/Wlan_4_Wege_Handshake_Neu&quot; class=&quot;mw-redirect&quot; title=&quot;Wlan 4 Wege Handshake Neu&quot;&gt;Wlan 4 Wege Handshake Neu&lt;/a&gt; nach &lt;a href=&quot;/index.php/Wlan_4_Wege_Handshake_Neu_technischer&quot; class=&quot;mw-redirect&quot; title=&quot;Wlan 4 Wege Handshake Neu technischer&quot;&gt;Wlan 4 Wege Handshake Neu technischer&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 6. November 2025, 12:04 Uhr&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff::1.12:old-65374:rev-65375 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Wlan_4_Wege_Handshake_Technischer&amp;diff=65374&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „ =Begriffe= ==MAC== * MAC-Adresse : Hardware-Adresse ==SSID== * Service Set Identifier : Name des WLAN-Netzwerks ==Supplicant== * WPA-Supplicant : Client (Bitt…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Wlan_4_Wege_Handshake_Technischer&amp;diff=65374&amp;oldid=prev"/>
		<updated>2025-11-06T12:01:26Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „ =Begriffe= ==MAC== * MAC-Adresse : Hardware-Adresse ==SSID== * Service Set Identifier : Name des WLAN-Netzwerks ==Supplicant== * WPA-Supplicant : Client (Bitt…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=Begriffe=&lt;br /&gt;
==MAC==&lt;br /&gt;
* MAC-Adresse : Hardware-Adresse&lt;br /&gt;
==SSID==&lt;br /&gt;
* Service Set Identifier : Name des WLAN-Netzwerks&lt;br /&gt;
==Supplicant==&lt;br /&gt;
* WPA-Supplicant : Client (Bittsteller)&lt;br /&gt;
==WLAN-Access-Point==&lt;br /&gt;
* WLAN Access Point : drahtloser Zugangspunkt&lt;br /&gt;
==Nonce==&lt;br /&gt;
* Number Used Once : Ein einmaliger Zufallswert (ANonce = AP, SNonce = Station)&lt;br /&gt;
&lt;br /&gt;
==PSK==&lt;br /&gt;
* Pre-Shared Key : gemeinsame Passphrase&lt;br /&gt;
==PMK==&lt;br /&gt;
* Pairwise Master Key : Im PSK-Modus aus PSK + SSID abgeleitet mittels PBKDF2-HMAC-SHA1&lt;br /&gt;
* PMK = PBKDF2(HMAC-SHA1, PSK, SSID, 4096, 256)  ; Ergebnis 256 Bit&lt;br /&gt;
==PTK==&lt;br /&gt;
* Pairwise Transient Key : abgeleitet aus PMK, Nonces und MAC-Adressen mittels PRF (Pairwise key expansion)&lt;br /&gt;
* PTK wird in Teilschlüssel aufgeteilt:&lt;br /&gt;
** KCK (Key Confirmation Key) – zur Berechnung/Überprüfung der MIC auf EAPOL-Frames&lt;br /&gt;
** KEK (Key Encryption Key) – zum Schutz bestimmter EAPOL-Felder&lt;br /&gt;
** TK  (Temporal Key) – für die Verschlüsselung/Entschlüsselung von Unicast-Daten&lt;br /&gt;
** (bei TKIP: zusätzliche MIC-Subkeys / bei CCMP: TK entsprechend für AES-CCMP)&lt;br /&gt;
* Beispielaufteilung (typisch für CCMP):&lt;br /&gt;
** KCK = 128 Bit&lt;br /&gt;
** KEK = 128 Bit&lt;br /&gt;
** TK  = 128 Bit&lt;br /&gt;
** (bei TKIP kann die PTK-Länge und Aufteilung abweichen, z. B. insgesamt 512 Bit mit zusätzlichen Teilschlüsseln)&lt;br /&gt;
&lt;br /&gt;
=Vier-Wege-Handshake=&lt;br /&gt;
{{#drawio:vier-wege-1}}&lt;br /&gt;
&lt;br /&gt;
=Ziel=&lt;br /&gt;
;Wir wollen durch Iteration (Wörterbuch/Bruteforce) herausfinden, welches Passwort (PSK) die im Mitschnitt beobachteten EAPOL-MICs erzeugt. Passt die berechnete MIC zur auf dem Mitschnitt, ist das Passwort bestätigt.&lt;br /&gt;
&lt;br /&gt;
=Benötigte Werte aus dem Mitschnitt=&lt;br /&gt;
==Zum Bilden des PTK==&lt;br /&gt;
* Kanal (Channel) ; Kontextinformation&lt;br /&gt;
* MAC Client (STA) ; aus Beacon/Framekopf&lt;br /&gt;
* BSSID / MAC Access Point (AP) ; aus Beacon/Framekopf&lt;br /&gt;
* ANonce (Nonce vom AP) ; aus EAPOL-Frame (Message 1 / 3)&lt;br /&gt;
* SNonce (Nonce vom Client) ; aus EAPOL-Frame (Message 2)&lt;br /&gt;
&lt;br /&gt;
==Zum Vergleichen / Validierung==&lt;br /&gt;
* MIC (in EAPOL-Frame) ; aus Message 2 oder Message 3 (je nach Richtung)&lt;br /&gt;
* EAPOL-Payload (teilweise) ; die genauen Bytes, die zur MIC-Berechnung verwendet werden müssen&lt;br /&gt;
&lt;br /&gt;
=Berechnung / Ablauf (konzeptuell)=&lt;br /&gt;
* Für jedes Passwort aus einer Wortliste:&lt;br /&gt;
** Berechne PMK = PBKDF2(HMAC-SHA1, Passwort, SSID, 4096, 256).&lt;br /&gt;
** Leite PTK = PRF(PMK, &amp;quot;Pairwise key expansion&amp;quot;, Min(AP_MAC,STA_MAC) || Max(AP_MAC,STA_MAC) || Min(ANonce,SNonce) || Max(ANonce,SNonce)) ab.&lt;br /&gt;
** Extrahiere KCK aus PTK und berechne die erwartete MIC über den EAPOL-Frame (genauer Payload wie im Mitschnitt).&lt;br /&gt;
** Vergleiche die berechnete MIC mit der im Mitschnitt vorhandenen MIC. Stimmen sie überein, ist das Passwort korrekt.&lt;br /&gt;
&lt;br /&gt;
=Wichtige Hinweise / Fallstricke=&lt;br /&gt;
* Verwende die **exakte** SSID (Groß-/Kleinschreibung) als Salt bei PBKDF2 – schon ein anderes Byte erzeugt komplett andere Werte.&lt;br /&gt;
* Die exakten Längen und die Aufteilung der PTK hängen vom verwendeten Cipher ab (AES-CCMP vs TKIP). Für WPA2 mit AES-CCMP ist die PTK-Aufteilung wie oben typischerweise 128/128/128 Bit für KCK/KEK/TK.&lt;br /&gt;
* Praktisch benötigen Cracking-Tools (aircrack-ng, hashcat, etc.) korrekt extrahierte Felder (ANonce, SNonce, MACs, EAPOL-Frame, MIC). Die Tools übernehmen die korrekte PBKDF2- und PRF-Berechnung.&lt;br /&gt;
* Für reproduzierbare Versuche nutze isolierte Lab-VMs und nur Netze, für die du Autorisierung hast.&lt;br /&gt;
&lt;br /&gt;
=Kurze Formelhinweise (konzeptuell)=&lt;br /&gt;
* PMK = PBKDF2(HMAC-SHA1, PSK, SSID, 4096, 256)&lt;br /&gt;
* PTK = PRF(PMK, &amp;quot;Pairwise key expansion&amp;quot;, MACs || Nonces) ; Ausgabe: Teilschlüssel (KCK|KEK|TK|...)&lt;br /&gt;
* MIC = HMAC(KCK, EAPOL-Payload)  ; Vergleich zwischen berechnetem MIC und Mitschnitt-MIC&lt;br /&gt;
&lt;br /&gt;
=Quellen / Weiterführende Links=&lt;br /&gt;
* https://www.kryptowissen.de/wpa2.php&lt;br /&gt;
* https://www.ins1gn1a.com/understanding-wpa-psk-cracking/&lt;br /&gt;
* https://xinux.net/index.php/WPA/WPA2_Pre-Shared-Key-Cracking_verstehen&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>