Computer >> Hướng Dẫn Máy Tính >  >> Kết Nối Mạng >> An Ninh Mạng

Khóa bảo mật mạng (Network Security Key) trong Wi-Fi là gì? Cách tìm, đổi và bảo mật

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) để:

  1. Xác thực: Chứng minh thiết bị biết mật khẩu → được phép gia nhập mạng
  2. 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)

  1. Win+R → ncpa.cpl → Enter
  2. Chuột phải Wi-Fi → Status → Wireless Properties → Security → Show characters

3. macOS (Keychain Access)

  1. Cmd+Space → Keychain Access → System/iCloud → Passwords → SSID → Show password

4. Android 10+

  1. Settings → Wi-Fi → Saved networks → Chọn SSID → Share → Xác thực → Xem pass

5. iOS 16+

  1. Settings → Wi-Fi → i → Password → FaceID/TouchID

6. Web UI Router (Mật khẩu hiện tại)

  1. Kết nối LAN → 192.168.1.1 / 192.168.0.1 / 192.168.100.1
  2. Login admin → Wireless → Wireless Security → Passphrase/PSK

Các chuẩn bảo mật Wi-Fi & Network Security Key

ChuẩnNămMã hóaKey LengthTrạng thái
WEP1997RC440/104-bitĐÃ VÔ HIỆU - Crack trong phút
WPA (TKIP)2003TKIP/RC4256-bitLỖI THỜI - Brainpool attack
WPA2-PSK (AES/CCMP)2004AES-CCMP256-bitTIÊU CHUẨN HIỆN NAY - An toàn nếu pass mạnh
WPA3-Personal (SAE)2018AES-GCMP-256256-bitAN TOÀN NHẤT - SAE chống offline dictionary attack
WPA3-Enterprise2018AES-GCMP-256 + 192-bit384-bitDoanh nghiệp, 802.1X/EAP-TLS

Cách đổi Network Security Key (Đổi mật khẩu Wi-Fi)

  1. Truy cập Web UI Router (192.168.1.1...)
  2. Wireless → Wireless Security
  3. Security Mode: WPA2-PSK (AES) hoặc WPA2/WPA3-Personal
  4. Passphrase: Mật khẩu mới mạnh (≥12 ký tự,混合)
  5. 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