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) trên Laptop là gì?

Network Security Key trên Laptop – Bản chất & Cách tìm

Network Security Key chính là mật khẩu Wi-Fi (WPA/WPA2/WPA3 Passphrase) dùng để xác thực và mã hóa kết nối giữa laptop và Access Point/Router.

1. Tìm khóa trên Windows 10/11 (Đã kết nối mạng)

Cách 1: Settings (Giao diện mới)

  1. Win+I > Network & Internet > Advanced network settings > Network and Sharing Center.
  2. Nhấp tên Wi-Fi (ví dụ: Wi-Fi (MyNetwork)) > Wireless Properties.
  3. Tab Security > tích Show characters > xem Network security key.

Cách 2: Command Prompt (Nhanh nhất)

# Liệt kê profile
netsh wlan show profiles

# Xem mật khẩu 1 profile
netsh wlan show profile name="TÊN_WIFI_CHÍNH_XÁC" key=clear
# Xem dòng: Key Content = MẬT_KHẨU

Cách 3: PowerShell

(netsh wlan show profile name="TÊN_WIFI" key=clear) -match "Key Content\s+:\s+(.+)" | ForEach-Object { $matches[1] }

2. Tìm khóa trên macOS

  1. Mở Keychain Access (Cmd+Space gõ Keychain).
  2. Category: System hoặc login > Kind: AirPort network password.
  3. Tìm tên Wi-Fi > nhấp đúp > tích Show password > nhập mật khẩu admin Mac.

3. Tìm khóa trên Linux (NetworkManager)

# Xem file kết nối đã lưu
ls /etc/NetworkManager/system-connections/
# Xem chi tiết (cần sudo)
sudo cat /etc/NetworkManager/system-connections/TEN_WIFI.nmconnection
# Tìm phần [wifi-security] > psk=mật_khẩu

4. Nếu quên khóa – Khôi phục từ Router

  • Xem nhãn router: Default WPA/WPA2 Key.
  • Đăng nhập router admin (192.168.1.1) > Wireless Settings > Security Key.
  • Reset router (nút Reset 10-30s) > về mặc định nhãn > cấu hình lại.

5. Khái niệm liên quan

  • SSID: Tên mạng (Service Set Identifier) – tên hiển thị khi quét Wi-Fi.
  • WPA2-PSK (AES): Tiêu chuẩn bảo mật phổ biến nhất hiện nay (Personal – mật khẩu chung).
  • WPA3-SAE: Tiêu chuẩn mới, an toàn hơn (chống offline dictionary attack, bắt buộc PMF).
  • Enterprise (802.1X): Dùng RADIUS, user/pass/cert riêng cho mỗi người – không dùng PSK chung.

6. Best Practice cho Laptop

  • Chỉ kết nối Wi-Fi WPA2/WPA3 – tránh Open, WEP, WPA-TKIP.
  • Dùng VPN công ty/riêng khi trên Wi-Fi công cộng.
  • Tắt "Connect automatically" cho mạng không tin cậy.
  • Xóa profile Wi-Fi không dùng nữa (netsh wlan delete profile).
  • Cập nhật driver Wi-Fi & OS thường xuyên.
  • Lưu mật khẩu vào Password Manager (Bitwarden, 1Password, KeePass).

Tóm lại: Network Security Key trên laptop = Mật khẩu Wi-Fi. Tìm trong Wireless Properties (GUI) hoặc netsh wlan (CLI). Quên thì xem router/reset router.