Network Security Key trong Wi-Fi là gì?
Network Security Key = Mật khẩu Wi-Fi = Wireless Password = WPA/WPA2/WPA3 Passphrase = Pre-Shared Key (PSK).
Là chuỗi ký tự bí mật dùng trong giao thức xác thực WPA-Personal (WPA-PSK) để:
- Xác thực: Chứng minh thiết bị biết mật khẩu → được phép gia nhập mạng
- Mã hóa: Tạo khóa phiên (PTK - Pairwise Transient Key) mã hóa toàn bộ traffic không dây giữa client và AP (AES-CCMP cho WPA2, AES-GCMP cho WPA3)
Tại sao Wi-Fi yêu cầu Network Security Key?
- Ngăn chặn truy cập trái phép (Freeloading, bandwidth theft)
- Mã hóa dữ liệu truyền qua không gian (ngăn nghe lén - sniffing)
- Cơ chế trust: Chỉ ai biết pass mới vào được mạng nội bộ (LAN)
Cách tìm Network Security Key
1. Router/Modem - Nhãn dán (Mặc định)
- Mặt dưới/mặt sau: Wireless Security Key, Password, Passphrase, WPA/WPA2 Key
2. Windows 10/11 (Đã kết nối)
- Win+R →
ncpa.cpl→ Enter - Chuột phải Wi-Fi → Status → Wireless Properties → Security → Show characters
3. macOS (Keychain Access)
- Cmd+Space → Keychain Access → System/iCloud → Passwords → SSID → Show password
4. Android 10+
- Settings → Wi-Fi → Saved networks → Chọn SSID → Share → Xác thực → Xem pass
5. iOS 16+
- Settings → Wi-Fi → i → Password → FaceID/TouchID
6. Web UI Router (Mật khẩu hiện tại)
- Kết nối LAN →
192.168.1.1/192.168.0.1/192.168.100.1 - Login admin → Wireless → Wireless Security → Passphrase/PSK
Các chuẩn bảo mật Wi-Fi & Network Security Key
| Chuẩn | Năm | Mã hóa | Key Length | Trạng thái |
|---|---|---|---|---|
| WEP | 1997 | RC4 | 40/104-bit | ĐÃ VÔ HIỆU - Crack trong phút |
| WPA (TKIP) | 2003 | TKIP/RC4 | 256-bit | LỖI THỜI - Brainpool attack |
| WPA2-PSK (AES/CCMP) | 2004 | AES-CCMP | 256-bit | TIÊU CHUẨN HIỆN NAY - An toàn nếu pass mạnh |
| WPA3-Personal (SAE) | 2018 | AES-GCMP-256 | 256-bit | AN TOÀN NHẤT - SAE chống offline dictionary attack |
| WPA3-Enterprise | 2018 | AES-GCMP-256 + 192-bit | 384-bit | Doanh nghiệp, 802.1X/EAP-TLS |
Cách đổi Network Security Key (Đổi mật khẩu Wi-Fi)
- Truy cập Web UI Router (
192.168.1.1...) - Wireless → Wireless Security
- Security Mode: WPA2-PSK (AES) hoặc WPA2/WPA3-Personal
- Passphrase: Mật khẩu mới mạnh (≥12 ký tự,混合)
- Apply/Save → Kết nối lại tất cả thiết bị
Best Practice bảo mật Wi-Fi 2024
- WPA3 nếu mọi thiết bị hỗ trợ (Win 10 1903+, Android 10+, iOS 13+, macOS 10.15+)
- Passphrase ≥ 12 ký tự: Không dùng từ điển, tên, ngày sinh. Ví dụ:
Correct-Horse-Battery-Staple-2024!(passphrase 4 từ ngẫu nhiên) - Tắt WPS (PIN brute-force vulnerability)
- Tắt UPnP (Malware mở port tự động)
- Tắt Remote Management
- Guest Network cho khách/IoT (Enable AP Isolation)
- Đổi Admin Password router (khác Wi-Fi pass)
- Cập nhật Firmware định kỳ (vá CVE)
- MAC Filtering: Chỉ làm phiền attacker thấp cấp, không phải biện pháp chính
- 802.11w (PMF): Bật để chống deauth attack (WPA3 bắt buộc, WPA2 tùy chọn)
Lỗi "Network Security Key Mismatch" & Khắc phục
- Sai case-sensitive, 0/O, 1/I/l → Copy-paste từ nơi xem pass
- Forget network → Reconnect
- Update driver Wi-Fi (Intel/Realtek/MediaTek/Qualcomm website)
- Reset network stack:
netsh winsock reset && netsh int ip reset && ipconfig /flushdns→ Reboot - Tạm đổi router WPA2-AES → Kết nối → Bật lại WPA3
- Reboot router
Chia sẻ Wi-Fi an toàn (Không lộ pass)
- Android 10+: Saved networks → Share → QR Code
- iOS 11+: Wi-Fi → i → Password → Share Password (AirDrop đến thiết bị Apple gần đó)
- Windows 10/11: Không có QR built-in → Dùng QR generator online (format:
WIFI:T:WPA;S:SSID;P:PASSWORD;;) hoặc app "WiFi QR Code Scanner" - Router App: TP-Link Tether, ASUS Router, Nighthawk → Share QR