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
- Settings → Network & Internet → Wi-Fi → Hardware Properties
- ดู Security type: จะแสดง "WEP" หากใช้อยู่
macOS
- Option + Click Wi-Fi Icon → ดู Security: WEP
Android/iOS
- Settings → Wi-Fi → รายละเอียดเครือข่าย → Security: WEP
Router Web Interface
- 192.168.1.1 → Wireless → Security → Security Mode: WEP
📊 WEP vs WPA vs WPA2 vs WPA3
| Standard | Year | Encryption | Key Length | Status |
|---|---|---|---|---|
| WEP | 1997 | RC4 | 40/104-bit | 💀 Broken |
| WPA (TKIP) | 2003 | TKIP/RC4 | 256-bit | ⚠️ Deprecated |
| WPA2 (AES/CCMP) | 2004 | AES-CCMP | 256-bit | ✅ Standard |
| WPA3 (SAE/GCMP) | 2018 | AES-GCMP | 256/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
- Router Web Interface (192.168.1.1)
- Wireless → Wireless Security
- Security Mode: WPA2-PSK (AES) หรือ WPA3-SAE
- Passphrase: 8-63 ตัวอักษร (แนะนำ 12+)
- Save → Reboot Router
- Reconnect ทุกอุปกรณ์ด้วย Password ใหม่
⚠️ อุปกรณ์เก่าที่รองรับแค่ WEP
- อุปกรณ์ก่อน 2003-2005
- IoT Legacy: Printers เก่า, Scanners, Industrial Equipment
- 💡 แก้ไข: แยก SSID (IoT_Legacy_WEP) + Isolate VLAN + Firewall Rules หรือทิ้งซื้อใหม่
🎯 Best Practice สำหรับ Wi-Fi Security
- ✅ ใช้ WPA2-PSK (AES) ขั้นต่ำ
- ✅ ยกระดับเป็น WPA3-SAE ถ้าอุปกรณ์รองรับ
- ✅ Password ≥ 12 chars, Complex
- ✅ ปิด WPS (Wi-Fi Protected Setup)
- ✅ Update Firmware Router เป็นประจำ
- ✅ แยก Guest Network / IoT Network
- ✅ Enterprise: ใช้ 802.1X (RADIUS) แทน PSK