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

Network Security Key 長什麼樣子? รูปแบบ ความยาว และตัวอย่างตามประเภท

Network Security Key 长什么样? (รูปแบบและลักษณะ)

Network Security Key หรือ Wi-Fi Password ไม่มี "รูปลักษณ์" คงที่ เพราะขึ้นอยู่กับ Security Protocol (ประเภทความปลอดภัย) ที่ Router ตั้งค่าไว้ ลักษณะแตกต่างกันไปดังนี้:

รูปแบบ Network Security Key ตาม Security Protocol

Security Protocolชื่อเรียก Keyความยาวชุดอักขระ (Character Set)ตัวอย่าง
WEP-64 (40-bit)WEP Key10 ตัวอักษร Hex (5 bytes)0-9, A-F (ไม่สนใจพิมพ์ใหญ่/เล็ก)1A2B3C4D5E
WEP-128 (104-bit)WEP Key26 ตัวอักษร Hex (13 bytes)0-9, A-F1A2B3C4D5E6F7A8B9C0D1E2F3A
WEP (ASCII)WEP Key5 หรือ 13 ตัวอักษร ASCIIอักขระพิมพ์ได้ (Printable ASCII)hello / mysecretkey
WPA / WPA2-Personal (TKIP/AES)Passphrase / PSK8 - 63 ตัวอักษร ASCIIอักขระพิมพ์ได้ทั้งหมด (Space, สัญลักษณ์, พิมพ์ใหญ่/เล็ก) Case-sensitiveMyWifi@Home2024!
Correct-Horse-Battery-Staple
WPA3-Personal (SAE)SAE Password / Passphrase8 - 63 ตัวอักษร ASCIIเหมือน WPA2 แต่ใช้ SAE แทน PSKSecurePassphrase#2024
WPA2/WPA3-Enterprise (802.1X)ไม่ใช้ PSKN/AUsername + Password + Certificate (EAP-TLS, PEAP-MSCHAPv2, EAP-TTLS)user@corp.com + Cert/Password

รายละเอียดเทคนิค: Passphrase → Key Derivation

สำคัญ: คุณใส่ "Passphrase" (8-63 ASCII) แต่ระบบจะแปลงเป็น "PSK" (Pre-Shared Key) 256-bit / 64 Hex Characters เองโดยอัตโนมัติ

Passphrase (Input) → PBKDF2(HMAC-SHA1, 4096 iterations, SSID as Salt) → 256-bit PSK (64 Hex)
# ตัวอย่าง
Passphrase: "MySecretPassword123"
SSID: "MyHomeWiFi"
PSK (Hex): "a1b2c3d4e5f6... (64 hex chars)"

นั่นคือเหตุผลที่บางที่เห็น "WPA2 Key = 64 Hex Characters" แต่จริงๆ แล้ว User ใส่แค่ Passphrase ปกติ

ตัวอย่าง Network Security Key จริง (Pattern Examples)

Weak Keys (อ่อนแอ - ห้ามใช้)

  • password / 12345678 / admin123 / wifi1234
  • 00000000 / 11111111
  • thailand / bangkok / somchai
  • 123456789012 (12 digits only)

Medium Keys (ปานกลาง - ควรปรับปรุง)

  • MyWifi2024 (มีพิมพ์ใหญ่/เล็ก/ตัวเลข แต่สั้น/คาดเดาได้)
  • Home@Wifi1 (มีสัญลักษณ์ แต่รูปแบบพื้นฐาน)
  • TPLink_A1B2 (อิง SSID/Brand)

Strong Keys (แข็งแกร่ง - แนะนำ)

  • X7#kP9@mQ2$vL5!zR (Random 16 chars - ยากต่อการจดจำ)
  • Correct-Horse-Battery-Staple-2024! (Passphrase 4 คำ + สัญลักษณ์ - ง่ายต่อการจดจำ ยากต่อการ Brute Force)
  • Thai-Food-Is-Delicious-But-Spicy#1 (Long Passphrase > 20 chars)
  • My$ecureH0meN3tw0rk@2024!Bangkok (Complex + Long > 25 chars)

Network Security Key บน Router Sticker (สติ๊กเกอร์ตัวจริง)

มักพบข้อมูลในรูปแบบนี้:

┌─────────────────────────────────────┐
│  TP-Link Archer AX50                │
│  SSID: TP-Link_5G_1234              │
│  Password: xYz9#AbC2@               │  ← Network Security Key
│  PIN: 12345670                      │  ← WPS PIN (แยกต่างหาก)
│  Admin: admin / admin               │
│  Web: tplinkwifi.net                │
└─────────────────────────────────────┘

Label ที่อาจเห็น (Synonyms)

  • Wireless Password / Wi-Fi Password
  • WPA Key / WPA2 Key / WPA3 Key
  • Passphrase / Pre-shared Key / PSK
  • Security Key / Network Key / Wireless Key
  • PIN (เฉพาะ WPS PIN - 8 ตัวเลข ใช้สำหรับ WPS PIN Method ไม่ใช่ Wi-Fi Password)

Network Security Key บนอุปกรณ์ต่างๆ (UI Display)

PlatformField Labelตัวอย่างการแสดง
Windows 10/11Network security key + ☑ Show characters
macOSPassword (Keychain Access)Show password: MyWifi@Home2024!
Android 10+Share → QR CodeQR contains: WIFI:T:WPA;S:MyWiFi;P:MyWifi@Home2024!;;)
iOSPasswords → Wi-Fi NameMyWifi@Home2024!
Router Web UIPassphrase / Pre-shared Key / WPA Key

คำถามที่พบบ่อย (FAQ)

Network Security Key ต้องเป็นตัวเลข 64 หลักจริงไหม?

ไม่ นัคือ PSK (Pre-Shared Key) แบบ Hex ที่ระบบคำนวณจาก Passphrase เอง ผู้ใช้ใส่แค่ Passphrase 8-63 ตัวอักษร ASCII ได้เลย

WPA2 Key และ WPA3 Key แตกต่างกันไหม?

รูปแบบ Passphrase เหมือนกัน (8-63 ASCII) แตกต่างที่ Protocol: WPA3 ใช้ SAE (Simultaneous Authentication of Equals) แทน 4-way Handshake ทำให้ทนต่อ Offline Dictionary Attack และมี Forward Secrecy

Default Key ของ Router ยอดนิยม

  • TP-Link: PIN 8 หลักบนสติ๊กเกอร์ (ใช้ WPS) หรือ "admin"
  • Netgear: "password" หรือ Random บนสติ๊กเกอร์
  • ASUS: Random บนสติ๊กเกอร์ (มัก 10-16 ตัวอักษร Alphanumeric)
  • D-Link: "admin" หรือเว้นว่าง หรือบนสติ๊กเกอร์
  • Huawei: Random บนสติ๊กเกอร์
  • Frontier/Verizon: WEP Key (10/26 Hex) บนสติ๊กเกอร์ - ควรเปลี่ยนเป็น WPA2 ทันที

ทำไม Key บนสติ๊กเกอร์ไม่ตรงกับที่ตั้งใน Router?

  • ผู้ใช้เปลี่ยน Password 去แล้ว (สติ๊กเกอร์เก่า)
  • ISP/Technician ตั้งค่าให้แล้ว
  • Router Reset แล้วแต่สติ๊กเกอร์เป็น Default

Best Practice: การจัดการ Network Security Key

  1. ใช้ Password Manager: Bitwarden, 1Password, KeePass, Apple/Google Password Manager - สร้าง Random Passphrase ให้อัตโนมัติ
  2. ตั้ง Passphrase ยาว 16+ ตัวอักษร: 4 คำสุ่ม + ปี + สัญลักษณ์
  3. แยก SSID 2.4GHz และ 5GHz: ตั้ง Password คนละอัน (Security Isolation)
  4. สร้าง Guest Network: Password แยก, แยก VLAN, Bandwidth Limit
  5. ปิด WPS: WPS PIN Vulnerable to Brute Force (Reaver, Pixie-Dust)
  6. อัปเดต Firmware Router: ปิดช่องโหว่ KRACK, FragAttacks, VPNFilter, ZuoRAT
  7. เปลี่ยน Password ทุก 6-12 เดือน: หรือเมื่อมีเหตุการณ์ (พนักงานออก, Breach, Device หาย)

สรุป

Network Security Key ไม่มีรูปแบบคงที่ ขึ้นอยู่กับ Protocol: WEP = 10/26 Hex, WPA/WPA2/WPA3-Personal = 8-63 ASCII Passphrase, Enterprise = Username/Password/Cert สิ่งสำคัญคือใช้ WPA2-AES หรือ WPA3 พร้อม Passphrase แข็งแกร่ง 16+ chars เก็บใน Password Manager และปิด WPS