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 là gì và tìm nó ở đâu?

Network Security Key (Khóa bảo mật mạng) - Khái niệm & Cách tìm kiếm

Network Security Key (Khóa bảo mật mạng) là thuật ngữ kỹ thuật chỉ **Mật khẩu Wi-Fi (Wi-Fi Password / Passphrase / WPA Key / WPA2 Key / WPA3 Key)**. Đây là chuỗi ký tự bí mật được dùng trong giao thức xác thực và mã hóa (WPA2/WPA3) để:

  1. Xác thực (Authentication): Chứng minh thiết bị được phép truy cập mạng.
  2. Mã hóa (Encryption): Sinh ra khóa phiên (Session Key - PTK/GTK) để mã hóa dữ liệu truyền qua không khí, ngăn chặn nghe lén (Sniffing/Eavesdropping).

Về bản chất: Network Security Key = Wi-Fi Password. Hai thuật ngữ dùng thay thế cho nhau.

Tìm Network Security Key ở đâu? (5 Nguồn chính)

1. Trên chính Router / Modem / Gateway (Nguồn gốc - Luôn đúng)

  • Nhãn dán vật lý (Default): Đáy, mặt sau, hoặc bên cạnh thiết bị. Tìm dòng: Wireless Password, Wi-Fi Password, WPA Key, WPA2 Key, Passphrase, Security Key, Network Key, PIN.
  • Giao diện Web Admin (Current): Truy cập IP Gateway (192.168.1.1, 192.168.0.1, 10.0.0.1, tplinkwifi.net, router.asus.com, miwifi.com...). Đăng nhập admin → **Wireless / Wi-Fi Settings → Wireless Security / Password**.
  • App di động của hãng: TP-Link Tether, ASUS Router, Netgear Nighthawk, Google Home, Linksys, Deco, Eero, Xiaomi Mi Home, Tenda WiFi...

2. Trên máy tính đã kết nối (Windows / macOS / Linux)

  • Windows 10/11: Settings → Network & Internet → Advanced network settings → More network adapter options → Chuột phải Wi-Fi → Status → Wireless Properties → Security → **Show characters**.
  • Windows (CMD - Nhanh): `netsh wlan show profile name="TenWiFi" key=clear` → Xem dòng **Key Content**.
  • macOS: Keychain Access (Cmd+Space) → System/Login → Tìm SSID → Double-click → **Show password** (nhập pass Mac).
  • Linux (NetworkManager): `nmcli -s -g 802-11-wireless-security.psk connection show "TenWiFi"` hoặc file `/etc/NetworkManager/system-connections/TenWiFi.nmconnection`.

3. Trên điện thoại Di động (Android / iOS)

  • Android 10+: Settings → Network & internet → Internet → Saved networks → Chọn SSID → **Share** (Xác thực sinh trắc học) → Mật khẩu hiện dưới QR Code.
  • iOS 16+: Settings → Wi-Fi → Chọn **(i)** cạnh mạng → **Password** (FaceID/TouchID) → Hiện & Copy.
  • Android Root / iOS Jailbreak: Xem file cấu hình hệ thống (`/data/misc/wifi/...`, Keychain).

4. Trên thiết bị di động làm Hotspot (Phone Hotspot)

  • Android: Settings → Network & internet → Hotspot & tethering → Wi-Fi hotspot → **Hotspot password**.
  • iOS: Settings → Personal Hotspot → **Wi-Fi Password**.

5. Khi quên hoàn toàn / Thiết bị mới / Reset Router

  1. Xem **nhãn dán dưới Router/Modem** (Mật khẩu mặc định gốc).
  2. **Reset Router:** Nhấn giữ nút Reset (lỗ nhỏ) 10-15 giây → Khởi động lại → Dùng mật khẩu trên nhãn dán.
  3. **Gọi ISP (Nhà cung cấp Internet):** Viettel, VNPT, FPT, CMC, Starlink... Hỗ trợ đọc pass mặc định hoặc reset từ trung tâm.
  4. Kiểm tra **hộp đựng / Giấy bảo hành / Hướng dẫn nhanh** đi kèm router.
  5. Phân loại Network Security Key (Theo chuẩn IEEE 802.11i / Wi-Fi Alliance)

    ChuẩnTên gọi KeyĐộ dài / Định dạngMã hóaTrạng thái
    WEPWEP Key (10/26 Hex chars hoặc 5/13 ASCII)40/104-bitRC4CẤM DÙNG (Crack < 1 phút)
    WPA-PersonalWPA Passphrase / PSK8-63 ký tự ASCIITKIP/RC4Cũ, Yếu (TKIP deprecated)
    WPA2-Personal (AES)WPA2 Passphrase / PSK8-63 ký tự ASCIICCMP/AESTiêu chuẩn phổ biến
    WPA3-Personal (SAE)WPA3 Passphrase / SAE Password8-63 ký tự ASCIISAE / AES-GCMP-256Tiêu chuẩn mới, An toàn nhất (Chống offline attack, Forward Secrecy)
    WPA2/WPA3-EnterpriseKhông dùng PSK. Dùng Credential (User/Pass/Cert) + RADIUS (802.1X/EAP)N/AAES-GCMP-256Doanh nghiệp, Trường học, Chính phủ

    Khuyến nghị thực hành tốt nhất (Best Practices)

    1. Đổi mật khẩu mặc định ngay khi cài đặt router mới.
    2. Dùng Passphrase dài (≥12-15 ký tự) thay vì password ngắn phức tạp. VD: `Sunset-Over-Mountain-River-2024!` (Dễ nhớ, entropy cao).
    3. Bật WPA3-Personal (SAE) nếu Router & Client hỗ trợ. Fallback WPA2-AES.
    4. Tạo Guest Network tách biệt cho Khách, IoT (Camera, Smart bulb, TV...).
    5. Tắt WPS (Wi-Fi Protected Setup) - Lỗ hổng bảo mật nghiêm trọng (PIN brute-force).
    6. Cập nhật Firmware Router định kỳ (tự động nếu có).
    7. Lưu trữ an toàn: Password Manager (Bitwarden, 1Password, KeePass, Apple/Google Password Manager). Không ghi giấy, không lưu file text thường.

    Tóm lại: Network Security Key = **Mật khẩu Wi-Fi**. Tìm nhanh nhất: **Nhãn dán Router** hoặc **App quản lý Router**. Trên thiết bị đã kết nối: **Windows (netsh), Mac (Keychain), Android 10+ (Share QR), iOS 16+ (Settings)**. Luôn tùy chỉnh mạnh, bật WPA3, tắt WPS, dùng Guest Network.