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

วิธีปิด Network Security (Windows, Router, Wi-Fi) — คู่มือและคำเตือน

⚠️ คำเตือนสำคัญ: การปิด Network Security = ความเสี่ยงสูงมาก

บทความนี้เพื่อ การศึกษา/ทดสอบใน Lab/환경ควบคุม เท่านั้น ห้ามปิด Security บน Production/บ้าน/สำนักงานจริง — จะโดนโจมตีภายในนาที

1. ปิด Windows Defender Firewall (Windows 10/11)

  1. Settings → Privacy & Security → Windows Security → Firewall & Network Protection
  2. เลือก Network Profile (Domain, Private, Public) → Toggle Microsoft Defender Firewall: Off
  3. หรือ PowerShell (Admin): Set-NetFirewallProfile -All -Enabled False
แนะนำ: สร้าง Rule Allow Specific App/Port แทนการปิดทั้งหมด

2. ปิด Network Credentials Prompt (Password Protected Sharing)

  1. Control Panel → Network and Sharing Center → Change Advanced Sharing Settings
  2. All Networks → Turn off password protected sharing
  3. Save Changes
ทำให้ใครก็เข้าถึง Shared Folders ได้โดยไม่ต้อง Password — อันตรายมาก

3. ปิด Windows Security Center (Notifications/Monitoring)

  1. Group Policy: `gpedit.msc` → Computer Configuration → Administrative Templates → Windows Components → Windows Security → Turn off Windows Security: Enabled
  2. หรือ Registry: `HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Security` → `DisableAntiSpyware=1` (ไม่แนะนำ)
Windows Security Center เป็น Dashboard เท่านั้น — การปิดไม่ได้ปิด Defender AV/Firewall แต่จะไม่ได้รับแจ้งเตือน

4. ปิด Wi-Fi Security (Open Network) — บน Router

  1. Login Router Web UI (192.168.x.x)
  2. Wireless → Wireless Security
  3. Security Mode: None / Open System / Disabled
  4. Save/Apply
后果: ใครก็เชื่อมต่อได้, สนิฟแพ็กเก็ตได้, MITM ได้, ใช้ Bandwidth ฟรี, ทำผิดกฎหมายผ่าน IP ของคุณ — ห้ามทำจริง

5. ปิด Network Discovery (Windows)

  1. Advanced Sharing Settings → Private/Public → Turn off network discovery
  2. ทำให้คอมพิวเตอร์มองไม่เห็นอุปกรณ์อื่น และอุปกรณ์อื่นมองไม่เห็นคอมพิวเตอร์คุณ

6. ปิด Windows Hello PIN / Biometric (Sign-in Options)

  1. Settings → Accounts → Sign-in Options → Windows Hello PIN → Remove
  2. หรือ GPO: Computer Config → Admin Templates → System → Logon → Turn on Convenience PIN Sign-in: Disabled

7. ปิด Autologon (Auto Login ไม่ต้อง Password)

  1. Win+R → `netplwiz` → ยกเลิกติ๊ก Users must enter a user name and password to use this computer
  2. Apply → ใส่ Password ปัจจุบัน → OK
Security Risk: ใครก็เข้าถึง Desktop ได้ทันที

8. ปิด Ctrl+Alt+Del Requirement (Secure Attention Sequence)

  1. `netplwiz` หรือ `control userpasswords2` → Advanced Tab → Require users to press Ctrl+Alt+Delete: Uncheck

สรุป: สิ่งที่ควรทำแทนการ "ปิด Security"

เป้าหมายวิธีที่ปลอดภัยกว่า
App ติดไฟร์วอลล์สร้าง Inbound/Outbound Rule Allow Specific App/Port
Share ไฟล์ง่ายขึ้นสร้าง Local Account เฉพาะ Sharing + ให้ Permission บน Folder เฉพาะ
ทดสอบ Malware/Network Toolใช้ VM Isolated (Hyper-V, VirtualBox, VMware) + Host-only/NAT Network
IoT Device ไม่รองรับ WPA2แยก Guest Network (WPA2) + Client Isolation + Firewall Rule Block Internet/Intranet
ลืม Wi-Fi PasswordReset Router / ดูจาก Device ที่เชื่อมต่ออยู่ / ใช้ QR Code Share

Checklist ก่อนปิด Security ใดๆ (ถ้าจำเป็นต้องทำใน Lab)

  • ☐ Isolated Lab Network (No Internet, No Production Access)
  • ☐ Snapshot/Backup VM ก่อน
  • ☐ Document ทุกอย่างที่ปิด
  • ☐ Enable กลับทันทีหลังทดสอบเสร็จ
  • ☐ ไม่เคยทำบนระบบจริง