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

Network Security Type WEP คืออะไร? อันตราย ไม่ควรใช้ และวิธีเช็ค/เปลี่ยน

WEP (Wired Equivalent Privacy) คืออะไร?

WEP เป็นมาตรฐานความปลอดภัย Wi-Fi รุ่นแรก (IEEE 802.11, 1997) ตั้งใจให้มีความปลอดภัยเทียบเท่า Wired LAN แต่ มีช่องโหว่ร้ายแรง ถูกแฮกได้ภายในนาที โดย Laptop ธรรมดา + Software ฟรี (Aircrack-ng)

❌ ทำไม WEP จึงไม่ปลอดภัย?

  • Key Space เล็ก (40-bit / 104-bit) → Brute Force ง่าย
  • IV (Initialization Vector) แค่ 24-bit → ซ้ำกันเร็ว → Statistical Attack
  • RC4 Stream Cipher ใช้ผิดวิธี → Key Recovery Attacks (FMS, KoreK, PTW)
  • ไม่มี Message Integrity Check (MIC) ที่แข็งแกร่ง
  • ไม่มี Key Management / Rotation Mechanism

🔍 วิธีเช็คว่าใช้ WEP อยู่หรือไม่

Windows 10/11

  1. Settings → Network & Internet → Wi-Fi → Hardware Properties
  2. ดู Security type: จะแสดง "WEP" หากใช้อยู่

macOS

  1. Option + Click Wi-Fi Icon → ดู Security: WEP

Android/iOS

  1. Settings → Wi-Fi → รายละเอียดเครือข่าย → Security: WEP

Router Web Interface

  1. 192.168.1.1 → Wireless → Security → Security Mode: WEP

📊 WEP vs WPA vs WPA2 vs WPA3

StandardYearEncryptionKey LengthStatus
WEP1997RC440/104-bit💀 Broken
WPA (TKIP)2003TKIP/RC4256-bit⚠️ Deprecated
WPA2 (AES/CCMP)2004AES-CCMP256-bit✅ Standard
WPA3 (SAE/GCMP)2018AES-GCMP256/384-bit🏆 Best

🔑 WEP Key Format

  • 64-bit WEP: 10 Hex chars (0-9, A-F) หรือ 5 ASCII chars
  • 128-bit WEP: 26 Hex chars หรือ 13 ASCII chars
  • 256-bit WEP: 58 Hex chars (หายาก)

🔄 วิธีเปลี่ยน WEP → WPA2/WPA3

  1. Router Web Interface (192.168.1.1)
  2. Wireless → Wireless Security
  3. Security Mode: WPA2-PSK (AES) หรือ WPA3-SAE
  4. Passphrase: 8-63 ตัวอักษร (แนะนำ 12+)
  5. Save → Reboot Router
  6. Reconnect ทุกอุปกรณ์ด้วย Password ใหม่

⚠️ อุปกรณ์เก่าที่รองรับแค่ WEP

  • อุปกรณ์ก่อน 2003-2005
  • IoT Legacy: Printers เก่า, Scanners, Industrial Equipment
  • 💡 แก้ไข: แยก SSID (IoT_Legacy_WEP) + Isolate VLAN + Firewall Rules หรือทิ้งซื้อใหม่

🎯 Best Practice สำหรับ Wi-Fi Security

  1. ✅ ใช้ WPA2-PSK (AES) ขั้นต่ำ
  2. ✅ ยกระดับเป็น WPA3-SAE ถ้าอุปกรณ์รองรับ
  3. ✅ Password ≥ 12 chars, Complex
  4. ✅ ปิด WPS (Wi-Fi Protected Setup)
  5. ✅ Update Firmware Router เป็นประจำ
  6. ✅ แยก Guest Network / IoT Network
  7. ✅ Enterprise: ใช้ 802.1X (RADIUS) แทน PSK