Skip to main content
Challenges Wi-Fi handshake — simplified model
Digital forensics Expert Wi-Fi handshake Solves: 8

Wi-Fi handshake — simplified model

Author: CyberSamSU
Points
150

When a device connects to a WPA2 network, a 4-way handshake takes place. During this process, the PMK (Pairwise Master Key) is derived from the network password (PSK):

PMK = PBKDF2-HMAC-SHA1(password, salt=SSID, 4096 iterations, 32 bytes)

The PBKDF2 computation with 4096 iterations makes WPA2 password brute-force attacks slower by increasing the computational cost of testing each password candidate.

This challenge is not based on a real PCAP file. Instead, it uses a simplified, plaintext, theoretical model of the WPA2 handshake mechanism. In this challenge, the MIC (Message Integrity Code) is calculated using the following algorithm:

import hashlib
import hmac

PMK = hashlib.pbkdf2_hmac(
    'sha1',
    password.encode(),
    SSID.encode(),
    4096,
    dklen=32
)

KCK = hmac.new(
    PMK,
    b'KCK-soddalashtirilgan',
    hashlib.sha1
).digest()[:16]

MIC = hmac.new(
    KCK,
    b'EAPOL-FRAME-PLACEHOLDER',
    hashlib.sha1
).digest()[:16]

Network parameters:

  • Network name (SSID): SamSU_WiFi
  • Number of iterations: 4096
  • PMK length: 32 bytes
  • KCK length: 16 bytes
  • MIC length: 16 bytes

Captured theoretical MIC value (HEX):

71ad0997c0ee3e3f3f4eb852e632633c

The attached file parollar_royxati.txt contains 8 possible password candidates. Your task is to calculate the PMK, KCK, and MIC for each candidate using the algorithm provided above, and compare the resulting MIC values with the given target value.

Main objective: Identify the single password candidate whose calculated MIC exactly matches the provided MIC value.

Flag format:

BAYROQ{F0R3N_WIFI_<discovered_password>}

Once you identify the correct password, append it after the F0R3N_WIFI_ prefix to construct the complete flag.

Example: If the discovered password is example123, the expected answer should be:

BAYROQ{F0R3N_WIFI_example123}

Note: Submit the complete flag, not just the discovered password. Make sure to preserve the correct capitalization, underscores, and curly braces.

Attached files
parollar_royxati.txt Log in to download
SHA-256 checksums
parollar_royxati.txt: 457afb588540d718fa3bdb0558c81ed9c4ce979d5a212e937cd266335b107de3
Theory: learn the topic
Learning paths: Network Security
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −15 pts Log in
Hint 2 −30 pts Log in
Hint 3 −45 pts Log in
To submit a flag, log in.

First solvers

1. 11111tttt 09.10.2026
2. B.E.O.Otabek 09.11.2026
3. Odam 09.11.2026
4. amyr 11.11.2026
5. pentester_uz 12.11.2026
6. Mirjaxon Qaxxarov 25.11.2026
7. Asmaa Mottery 25.11.2026
8. AGENT X 26.11.2026