วิธีตรวจสอบ Network Security Settings ใน Windows
Windows 10/11 (GUI)
- Win + I → Network & Internet → Advanced network settings
- More network adapter options (หรือ Control Panel → Network and Sharing Center)
- คลิกขวา Wi-Fi Adapter → Status → Wireless Properties
- แท็บ Security:
- Security type: WPA2-Personal, WPA3-Personal, WPA2-Enterprise, etc.
- Encryption type: AES, TKIP, GCMP
- Network security key: ติ๊ก Show characters เพื่อดูรหัส
- Choose a network authentication method: Microsoft: Protected EAP (PEAP), Smart Card, etc.
Windows (Command Line - เร็วกว่า)
rem แสดงโปรไฟล์ Wi-Fi ทั้งหมด
netsh wlan show profiles
rem แสดงรายละเอียดรวมรหัสผ่านของโปรไฟล์เฉพาะ
netsh wlan show profile name="Your_SSID" key=clear
rem แสดง Interface และ Driver
netsh wlan show interfaces
netsh wlan show drivers
PowerShell (Advanced)
# ดูโปรไฟล์ Wi-Fi ทั้งหมดพร้อมรหัสผ่าน
Get-NetProfile | Where-Object {$_.InterfaceAlias -eq 'Wi-Fi'} | ForEach-Object {
$profile = $_
$xml = (netsh wlan show profile name="$($profile.Name)" key=clear) -join "`n"
if ($xml -match 'Key Content\s+:\s+(.+)') {
[PSCustomObject]@{
SSID = $profile.Name
Password = $matches[1].Trim()
Auth = $profile.SecuritySettings
}
}
}
🔍 วิธีเช็คว่าใช้ WEP / WPA / WPA2 / WPA3?
| Security Type | Encryption | Key Length/Format | สถานะ |
|---|---|---|---|
| WEP | RC4 | 10 หรือ 26 Hex chars / 5 หรือ 13 ASCII | ❌ Deprecated ไม่ปลอดภัย |
| WPA-Personal (TKIP) | TKIP/RC4 | 8-63 ASCII | ❌ Deprecated |
| WPA2-Personal (AES/CCMP) | AES-CCMP | 8-63 ASCII | ✅ มาตรฐานปัจจุบัน (ขั้นต่ำ) |
| WPA3-Personal (SAE) | AES-GCMP-256 | 8-63 ASCII | ✅ ระดับสูงสุด (แนะนำ) |
| WPA2/WPA3-Enterprise | AES-CCMP/GCMP | 802.1X/EAP (Username/Password/Cert) | ✅ Enterprise Standard |
📡 ตรวจสอบ Security Settings บน Router/Access Point
- เข้า Web UI Router (192.168.1.1, 192.168.0.1...)
- เมนู: Wireless / Wi-Fi / WLAN → Security / Wireless Security
- ตรวจสอบ:
- Security Mode: WPA2-PSK (AES) / WPA3-PSK / WPA2/WPA3 Mixed
- Encryption: AES / CCMP / GCMP (ไม่ใช่ TKIP, Auto)
- WPS: Disabled (ปิด)
- PMF (802.11w): Required / Optional (เปิด)
- Group Key Renewal: 3600 วินาที (1 ชม.)
📱 ตรวจสอบบนมือถือ (Android/iOS)
- Android: Settings → Wi-Fi → กด SSID → Details → Security: WPA2/WPA3
- iOS: Settings → Wi-Fi → กด (i) ข้าง SSID → Security: WPA2/WPA3
🛡️ ตรวจสอบ Access Point Security (Enterprise)
- Browser → AP IP / Controller Dashboard
- Login Admin
- WLAN/SSID Profile → Security:
- WPA2/WPA3-Enterprise (802.1X)
- EAP Type: EAP-TLS (Cert), PEAP-MSCHAPv2, EAP-TTLS
- RADIUS Server: Primary/Backup IP, Shared Secret
- Accounting: RADIUS Accounting On/Off
- Fast Roaming: 802.11r (FT), OKC, PMK Caching
⚙️ ตรวจสอบ Wireless Security บนคอมพิวเตอร์ (Windows)
- คลิกขวาไอคอน Wi-Fi → Open Network & Internet settings
- Wi-Fi → Hardware properties (ด้านล่าง)
- ดู: Security type, Encryption type, Network band (2.4/5/6 GHz)
- หรือ: Win + X → Terminal (Admin) →
netsh wlan show interfaces
✅ Checklist: Network Security Settings ที่ควรเป็น
- [ ] Security Mode: WPA2-AES หรือ WPA3 (ไม่ใช่ WEP, TKIP, WPA-TKIP)
- [ ] Password: ≥ 12 ชาร ผสมทุกประเภท
- [ ] WPS: Disabled
- [ ] PMF (802.11w): Enabled
- [ ] Admin Password: เปลี่ยนจาก Default แล้ว
- [ ] Firmware: Latest
- [ ] Guest Network: Enabled + Isolated
- [ ] IoT Network: แยก VLAN/SSID แยก
- [ ] Logging: Enabled ส่งไป Syslog/SIEM
- [ ] Rogue AP Detection: Enabled
สรุป
ตรวจสอบ Network Security Settings: Windows (GUI/netsh/PowerShell) → Security Type ต้องเป็น WPA2-AES/WPA3 Router/AP: Web UI → Wireless Security → WPA2/WPA3, AES, WPS Off, PMF On ใช้ Checklist ข้างต้นเป็นเกณฑ์