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

วิธีตรวจสอบการตั้งค่าความปลอดภัยเครือข่าย (Network Security Settings)

วิธีตรวจสอบ Network Security Settings ใน Windows

Windows 10/11 (GUI)

  1. Win + I → Network & Internet → Advanced network settings
  2. More network adapter options (หรือ Control Panel → Network and Sharing Center)
  3. คลิกขวา Wi-Fi Adapter → Status → Wireless Properties
  4. แท็บ 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 TypeEncryptionKey Length/Formatสถานะ
WEPRC410 หรือ 26 Hex chars / 5 หรือ 13 ASCII❌ Deprecated ไม่ปลอดภัย
WPA-Personal (TKIP)TKIP/RC48-63 ASCII❌ Deprecated
WPA2-Personal (AES/CCMP)AES-CCMP8-63 ASCII✅ มาตรฐานปัจจุบัน (ขั้นต่ำ)
WPA3-Personal (SAE)AES-GCMP-2568-63 ASCII✅ ระดับสูงสุด (แนะนำ)
WPA2/WPA3-EnterpriseAES-CCMP/GCMP802.1X/EAP (Username/Password/Cert)✅ Enterprise Standard

📡 ตรวจสอบ Security Settings บน Router/Access Point

  1. เข้า Web UI Router (192.168.1.1, 192.168.0.1...)
  2. เมนู: Wireless / Wi-Fi / WLAN → Security / Wireless Security
  3. ตรวจสอบ:
    • 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)

  1. Browser → AP IP / Controller Dashboard
  2. Login Admin
  3. 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)

  1. คลิกขวาไอคอน Wi-Fi → Open Network & Internet settings
  2. Wi-Fi → Hardware properties (ด้านล่าง)
  3. ดู: Security type, Encryption type, Network band (2.4/5/6 GHz)
  4. หรือ: 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 ข้างต้นเป็นเกณฑ์