ดู Ports ที่ถูก Block บน Network อย่างไร?
- เปิด Command Prompt
- รัน
netstat -a -n - ถ้า Port อยู่ในรายการ = Server กำลัง Listen
Ports ที่ควร Block เพื่อความปลอดภัย
| Port | Protocol | Service | หมายเหตุ |
|---|---|---|---|
| 135 | TCP/UDP | MS RPC | Block |
| 137-139 | TCP/UDP | NetBIOS/IP | Block |
| 445 | TCP | SMB/IP | Block |
| 69 | UDP | TFTP | Block |
| 514 | UDP | Syslog | Block |
| Port | Service | Risk |
|---|---|---|
| 20,21 | FTP | เก่า ไม่มี Encryption |
| 22 | SSH | Brute Force Risk |
| 23 | Telnet | Plaintext |
| 25 | SMTP | Spam/Relay |
| 53 | DNS | Amplification Attacks |
| 139 | NetBIOS | Info Disclosure |
| 80,443 | HTTP/HTTPS | Web Attacks |
| 445 | SMB | EternalBlue, Ransomware |
ควร Block Port 80 ไหม?
Port 80 เปิดไม่เสี่ยงโดยตรง เสี่ยงก็ต่อเมื่อ Web Server Serve Sensitive Data ผ่าน Unencrypted Connection Redirect 301 บน Port 80 ปลอดภัย
Firewall Block Port ได้ไหม?
ได้ Windows Firewall Block/Open Ports ได้ ตั้งค่าผิดอาจ Block ต้องการโดยไม่ได้ตั้งใจ
Unblock Port บน Firewall
- Control Panel -> System and Security -> Windows Firewall
- Advanced Settings -> Inbound Rules -> New Rule -> Port
เช็ค Port เปิดอยู่ไหม?
- Command Prompt (Admin) ->
netstat -ab - หา Port Number -> State: LISTENING = เปิดอยู่
Port Blocking ทำอะไร?
ปิด Port ไม่ให้ใช้งาน Ports ที่โจมตีเครือข่ายมักใช้ -> เพิ่มความปลอดภัยลูกค้า
Firewall Port Blocking คืออะไร?
ควบคุม Network Traffic ไป/มา Application หรือ TCP/IP Port บน Windows ควบคุม User และจำกัด Network Access
Port Blocking with LAN
LAN Strategy ป้องกัน Data ผ่าน Physical Ports: USB, Removable Devices, DVD/CD, Windows Mobile, Smartphones, FireWire, PCMCIA, WiFi, Bluetooth
NBN Port Blocking
ป้องกัน Virus/Spam: Block Port 80 (HTTP) และ Port 25 (SMTP) บ่อย ถ้า Block Port 80 -> Web Server ต้องใช้ Port อื่น