⚠️ คำเตือนสำคัญ: การปิด Network Security = ความเสี่ยงสูงมาก
บทความนี้เพื่อ การศึกษา/ทดสอบใน Lab/환경ควบคุม เท่านั้น ห้ามปิด Security บน Production/บ้าน/สำนักงานจริง — จะโดนโจมตีภายในนาที
1. ปิด Windows Defender Firewall (Windows 10/11)
- Settings → Privacy & Security → Windows Security → Firewall & Network Protection
- เลือก Network Profile (Domain, Private, Public) → Toggle Microsoft Defender Firewall: Off
- หรือ PowerShell (Admin):
Set-NetFirewallProfile -All -Enabled False
แนะนำ: สร้าง Rule Allow Specific App/Port แทนการปิดทั้งหมด
2. ปิด Network Credentials Prompt (Password Protected Sharing)
- Control Panel → Network and Sharing Center → Change Advanced Sharing Settings
- All Networks → Turn off password protected sharing
- Save Changes
ทำให้ใครก็เข้าถึง Shared Folders ได้โดยไม่ต้อง Password — อันตรายมาก
3. ปิด Windows Security Center (Notifications/Monitoring)
- Group Policy: `gpedit.msc` → Computer Configuration → Administrative Templates → Windows Components → Windows Security → Turn off Windows Security: Enabled
- หรือ Registry: `HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Security` → `DisableAntiSpyware=1` (ไม่แนะนำ)
Windows Security Center เป็น Dashboard เท่านั้น — การปิดไม่ได้ปิด Defender AV/Firewall แต่จะไม่ได้รับแจ้งเตือน
4. ปิด Wi-Fi Security (Open Network) — บน Router
- Login Router Web UI (192.168.x.x)
- Wireless → Wireless Security
- Security Mode: None / Open System / Disabled
- Save/Apply
后果: ใครก็เชื่อมต่อได้, สนิฟแพ็กเก็ตได้, MITM ได้, ใช้ Bandwidth ฟรี, ทำผิดกฎหมายผ่าน IP ของคุณ — ห้ามทำจริง
5. ปิด Network Discovery (Windows)
- Advanced Sharing Settings → Private/Public → Turn off network discovery
- ทำให้คอมพิวเตอร์มองไม่เห็นอุปกรณ์อื่น และอุปกรณ์อื่นมองไม่เห็นคอมพิวเตอร์คุณ
6. ปิด Windows Hello PIN / Biometric (Sign-in Options)
- Settings → Accounts → Sign-in Options → Windows Hello PIN → Remove
- หรือ GPO: Computer Config → Admin Templates → System → Logon → Turn on Convenience PIN Sign-in: Disabled
7. ปิด Autologon (Auto Login ไม่ต้อง Password)
- Win+R → `netplwiz` → ยกเลิกติ๊ก Users must enter a user name and password to use this computer
- Apply → ใส่ Password ปัจจุบัน → OK
Security Risk: ใครก็เข้าถึง Desktop ได้ทันที
8. ปิด Ctrl+Alt+Del Requirement (Secure Attention Sequence)
- `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 Password | Reset Router / ดูจาก Device ที่เชื่อมต่ออยู่ / ใช้ QR Code Share |
Checklist ก่อนปิด Security ใดๆ (ถ้าจำเป็นต้องทำใน Lab)
- ☐ Isolated Lab Network (No Internet, No Production Access)
- ☐ Snapshot/Backup VM ก่อน
- ☐ Document ทุกอย่างที่ปิด
- ☐ Enable กลับทันทีหลังทดสอบเสร็จ
- ☐ ไม่เคยทำบนระบบจริง