Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

ค้นหา Network Security Key และ Encryption Type ผ่าน CMD บน Windows 8.1/10/11

คำสั่ง CMD สำหรับดู Wi-Fi Profile และ Security Key

1. ดูรายชื่อ Wi-Fi Profile ที่เคยเชื่อมต่อ

netsh wlan show profiles

2. ดูรายละเอียด Profile (รวม Security Key)

netsh wlan show profile name="Your_SSID" key=clear

👉 ดูที่บรรทัด Key Content = Network Security Key (รหัสผ่าน Wi-Fi)

3. ดู Encryption Type และ Authentication

netsh wlan show profile name="Your_SSID"

ดูบรรทัด:

  • Authentication: WPA2-Personal / WPA3-Personal / Open / WEP
  • Cipher: CCMP (AES) / GCMP / TKIP / WEP

ตาราง Encryption Types ที่พบบ่อย

🔧 คำสั่งเพิ่มเติมที่มีประโยชน์

netsh wlan show interfaces          # ดูสถานะ Interface, SSID, BSSID, Signal, Channel
netsh wlan show drivers             # ดู Driver Version, รองรับ Standards ไหน
netsh wlan delete profile name="SSID"  # ลบ Profile ที่บันทึกไว้
netsh wlan set hostednetwork mode=allow ssid=MyHotspot key=Password123  # สร้าง Hotspot
netsh wlan start hostednetwork      # เริ่ม Hotspot
netsh wlan stop hostednetwork       # หยุด Hotspot

⚠️ ข้อจำกัด

  • ต้องรัน CMD Run as Administrator
  • ดู Key ได้เฉพาะ Profile ที่เคยเชื่อมต่อและบันทึกไว้บนเครื่องนี้
  • ไม่สามารถดู Key ของเครือข่ายที่ไม่เคยเชื่อมต่อมาก่อน

🔍 วิธีเช็ค Encryption Type บนมือถือ (ไม่ต้อง Root)

  • Android: Settings > Wi-Fi > คลิกเครือข่าย > ดู Security Type (WPA2/WPA3/WEP)
  • iOS: Settings > Wi-Fi > (i) > ดู Security (WPA2/WPA3)

💡 Best Practice: ตั้งค่า Wi-Fi ให้ปลอดภัยที่สุด

  1. ใช้ WPA3-SAE (ถ้ารองรับ) หรือ WPA2-PSK (AES/CCMP)
  2. ปิด WPS (Wi-Fi Protected Setup) - มีช่องโหว่ Brute Force PIN
  3. ตั้ง Passphrase ยาว ≥ 12 ตัวอักษร ผสมพิมพ์ใหญ่/เล็ก/ตัวเลข/สัญลักษณ์
  4. เปิด Guest Network สำหรับ IoT/แขก
  5. อัปเดต Firmware เราเตอร์เป็นประจำ
AuthenticationCipher (Encryption)ความปลอดภัยหมายเหตุ
WPA3-PersonalGCMP-256 / CCMP-128🟢 สูงสุดรองรับอุปกรณ์ใหม่ (Wi-Fi 6/6E/7)
WPA2-PersonalCCMP (AES)🟢 สูงมาตรฐานปัจจุบัน ใช้ AES ไม่ใช่ TKIP
WPA2-PersonalTKIP🟡 กลางเก่า มีช่องโหว่ ไม่แนะนำ
WPA-PersonalTKIP/CCMP🟡 กลางWPA1 แก่
WEPWEP (RC4)🔴 ต่ำมากแฮกได้ง่าย ห้ามใช้
OpenNone🔴 ไม่มีPublic Wi-Fi ใช้ VPN